@reltio/remotes 1.4.924

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/720.js ADDED
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 720.js.LICENSE.txt */
2
+ (self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[720],{98989:(e,t,n)=>{"use strict";var o=n(14859);t.Z=void 0;var i=o(n(24328)),r=(0,o(n(50175)).default)(i.default.createElement(i.default.Fragment,null,i.default.createElement("path",{d:"M10 17l5-5-5-5v10z"}),i.default.createElement("path",{fill:"none",d:"M0 24V0h24v24H0z"})),"ArrowRight");t.Z=r},43525:(e,t,n)=>{"use strict";var o=n(14859);t.Z=void 0;var i=o(n(24328)),r=(0,o(n(50175)).default)(i.default.createElement("path",{d:"M16.01 11H4v2h12.01v3L20 12l-3.99-4z"}),"ArrowRightAlt");t.Z=r},80079:(e,t,n)=>{"use strict";var o=n(14859);t.Z=void 0;var i=o(n(24328)),r=(0,o(n(50175)).default)(i.default.createElement(i.default.Fragment,null,i.default.createElement("path",{fill:"none",d:"M0 0h24v24H0zm0 0h24v24H0zm21 19c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h14c1.1 0 2 .9 2 2"}),i.default.createElement("path",{d:"M21 5v6.59l-3-3.01-4 4.01-4-4-4 4-3-3.01V5c0-1.1.9-2 2-2h14c1.1 0 2 .9 2 2zm-3 6.42l3 3.01V19c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2v-6.58l3 2.99 4-4 4 4 4-3.99z"})),"BrokenImage");t.Z=r},81556:(e,t,n)=>{"use strict";var o=n(14859);t.Z=void 0;var i=o(n(24328)),r=(0,o(n(50175)).default)(i.default.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckCircle");t.Z=r},33375:(e,t,n)=>{"use strict";var o=n(14859);t.Z=void 0;var i=o(n(24328)),r=(0,o(n(50175)).default)(i.default.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear");t.Z=r},61932:(e,t,n)=>{"use strict";var o=n(14859);t.Z=void 0;var i=o(n(24328)),r=(0,o(n(50175)).default)(i.default.createElement("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM17 13l-5 5-5-5h3V9h4v4h3z"}),"CloudDownload");t.Z=r},94438:(e,t,n)=>{"use strict";var o=n(14859);t.Z=void 0;var i=o(n(24328)),r=(0,o(n(50175)).default)(i.default.createElement("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z"}),"CloudUpload");t.Z=r},22983:(e,t,n)=>{"use strict";var o=n(14859);t.Z=void 0;var i=o(n(24328)),r=(0,o(n(50175)).default)(i.default.createElement("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"}),"Delete");t.Z=r},27291:(e,t,n)=>{"use strict";var o=n(14859);t.Z=void 0;var i=o(n(24328)),r=(0,o(n(50175)).default)(i.default.createElement("path",{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}),"Done");t.Z=r},27604:(e,t,n)=>{"use strict";var o=n(14859);t.Z=void 0;var i=o(n(24328)),r=(0,o(n(50175)).default)(i.default.createElement("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 00-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),"Edit");t.Z=r},99144:(e,t,n)=>{"use strict";var o=n(14859);t.Z=void 0;var i=o(n(24328)),r=(0,o(n(50175)).default)(i.default.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}),"Info");t.Z=r},4426:(e,t,n)=>{"use strict";var o=n(14859);t.Z=void 0;var i=o(n(24328)),r=(0,o(n(50175)).default)(i.default.createElement("path",{d:"M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"}),"KeyboardArrowDown");t.Z=r},67766:(e,t,n)=>{"use strict";var o=n(14859);t.Z=void 0;var i=o(n(24328)),r=(0,o(n(50175)).default)(i.default.createElement("path",{d:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"KeyboardArrowLeft");t.Z=r},42767:(e,t,n)=>{"use strict";var o=n(14859);t.Z=void 0;var i=o(n(24328)),r=(0,o(n(50175)).default)(i.default.createElement("path",{d:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"KeyboardArrowRight");t.Z=r},96971:(e,t,n)=>{"use strict";var o=n(14859);t.Z=void 0;var i=o(n(24328)),r=(0,o(n(50175)).default)(i.default.createElement("path",{d:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"}),"KeyboardArrowUp");t.Z=r},35292:(e,t,n)=>{"use strict";var o=n(14859);t.Z=void 0;var i=o(n(24328)),r=(0,o(n(50175)).default)(i.default.createElement("path",{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"}),"Link");t.Z=r},20404:(e,t,n)=>{"use strict";var o=n(14859);t.Z=void 0;var i=o(n(24328)),r=(0,o(n(50175)).default)(i.default.createElement("path",{d:"M21.41 11.58l-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58.55 0 1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41 0-.55-.23-1.06-.59-1.42zM5.5 7C4.67 7 4 6.33 4 5.5S4.67 4 5.5 4 7 4.67 7 5.5 6.33 7 5.5 7z"}),"LocalOffer");t.Z=r},45203:(e,t,n)=>{"use strict";var o=n(14859);t.Z=void 0;var i=o(n(24328)),r=(0,o(n(50175)).default)(i.default.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore");t.Z=r},15762:(e,t,n)=>{"use strict";var o=n(14859);t.Z=void 0;var i=o(n(24328)),r=(0,o(n(50175)).default)(i.default.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext");t.Z=r},98685:(e,t,n)=>{"use strict";var o=n(14859);t.Z=void 0;var i=o(n(24328)),r=(0,o(n(50175)).default)(i.default.createElement("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");t.Z=r},52669:(e,t,n)=>{"use strict";var o=n(14859);t.Z=void 0;var i=o(n(24328)),r=(0,o(n(50175)).default)(i.default.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked");t.Z=r},21853:(e,t,n)=>{"use strict";var o=n(14859);t.Z=void 0;var i=o(n(24328)),r=(0,o(n(50175)).default)(i.default.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search");t.Z=r},94842:(e,t,n)=>{"use strict";var o=n(14859);t.Z=void 0;var i=o(n(24328)),r=(0,o(n(50175)).default)(i.default.createElement("path",{d:"M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"}),"Send");t.Z=r},73115:(e,t,n)=>{"use strict";var o=n(14859);t.Z=void 0;var i=o(n(24328)),r=(0,o(n(50175)).default)(i.default.createElement("path",{d:"M3 9h4V5H3v4zm0 5h4v-4H3v4zm5 0h4v-4H8v4zm5 0h4v-4h-4v4zM8 9h4V5H8v4zm5-4v4h4V5h-4zm5 9h4v-4h-4v4zM3 19h4v-4H3v4zm5 0h4v-4H8v4zm5 0h4v-4h-4v4zm5 0h4v-4h-4v4zm0-14v4h4V5h-4z"}),"ViewComfy");t.Z=r},72753:(e,t,n)=>{"use strict";var o=n(14859);t.Z=void 0;var i=o(n(24328)),r=(0,o(n(50175)).default)(i.default.createElement("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility");t.Z=r},45767:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(24328),i=n.n(o),r=n(7560),s=n(72379);const a=(l=i().createElement("path",{d:"M7 10l5 5 5-5z"}),(u=i().memo(i().forwardRef((function(e,t){return i().createElement(s.Z,(0,r.Z)({ref:t},e),l)})))).muiName=s.Z.muiName,u);var l,u},17871:(e,t,n)=>{"use strict";n.d(t,{j_:()=>W,b6:()=>h,vD:()=>X,Jx:()=>F,XL:()=>q,mg:()=>he,Ji:()=>E});var o=n(24328),i=n(75047),r=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self&&self,function(e,t,n,o,i,r,s,a){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,o,i,r,s,a],c=0;(l=new Error(t.replace(/%s/g,(function(){return u[c++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}});const s=(0,o.createContext)(null);function a(e){google.maps.event.removeListener(e)}function l(e=[]){e.forEach(a)}function u({updaterMap:e,eventMap:t,prevProps:n,nextProps:o,instance:i}){const r=function(e,t,n){const o=(i=n,r=function(n,o,i){return"function"==typeof e[i]&&n.push(google.maps.event.addListener(t,o,e[i])),n},s=[],Object.keys(i).reduce((function(e,t){return r(e,i[t],t)}),s));var i,r,s;return o}(o,i,t);return((e,t,n,o)=>{const i={};var r,s;r=e,s=(e,r)=>{const s=n[r];s!==t[r]&&(i[r]=s,e(o,s))},Object.keys(r).forEach((function(e){return s(r[e],e)}))})(e,n,o,i),r}const c={onDblClick:"dblclick",onDragEnd:"dragend",onDragStart:"dragstart",onMapTypeIdChanged:"maptypeid_changed",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseDown:"mousedown",onMouseUp:"mouseup",onRightClick:"rightclick",onTilesLoaded:"tilesloaded",onBoundsChanged:"bounds_changed",onCenterChanged:"center_changed",onClick:"click",onDrag:"drag",onHeadingChanged:"heading_changed",onIdle:"idle",onProjectionChanged:"projection_changed",onResize:"resize",onTiltChanged:"tilt_changed",onZoomChanged:"zoom_changed"},d={extraMapTypes(e,t){t.forEach((function(t,n){e.mapTypes.set(String(n),t)}))},center(e,t){e.setCenter(t)},clickableIcons(e,t){e.setClickableIcons(t)},heading(e,t){e.setHeading(t)},mapTypeId(e,t){e.setMapTypeId(t)},options(e,t){e.setOptions(t)},streetView(e,t){e.setStreetView(t)},tilt(e,t){e.setTilt(t)},zoom(e,t){e.setZoom(t)}};class h extends o.PureComponent{constructor(){super(...arguments),this.state={map:null},this.registeredEvents=[],this.mapRef=null,this.getInstance=()=>null===this.mapRef?null:new google.maps.Map(this.mapRef,this.props.options),this.panTo=e=>{const t=this.getInstance();t&&t.panTo(e)},this.setMapCallback=()=>{null!==this.state.map&&this.props.onLoad&&this.props.onLoad(this.state.map)},this.getRef=e=>{this.mapRef=e}}componentDidMount(){const e=this.getInstance();this.registeredEvents=u({updaterMap:d,eventMap:c,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{map:e}}),this.setMapCallback)}componentDidUpdate(e){null!==this.state.map&&(l(this.registeredEvents),this.registeredEvents=u({updaterMap:d,eventMap:c,prevProps:e,nextProps:this.props,instance:this.state.map}))}componentWillUnmount(){null!==this.state.map&&(this.props.onUnmount&&this.props.onUnmount(this.state.map),l(this.registeredEvents))}render(){return o.createElement("div",{id:this.props.id,ref:this.getRef,style:this.props.mapContainerStyle,className:this.props.mapContainerClassName},o.createElement(s.Provider,{value:this.state.map},null!==this.state.map?this.props.children:o.createElement(o.Fragment,null)))}}function p(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]])}return n}const f="undefined"!=typeof document,g=({url:e,id:t,nonce:n})=>f?new Promise((function(o,i){const r=document.getElementById(t),s=window;if(r){const n=r.getAttribute("data-state");if(r.src===e&&"error"!==n){if("ready"===n)return o(t);{const e=s.initMap,n=r.onerror;return s.initMap=function(){e&&e(),o(t)},void(r.onerror=function(e){n&&n(e),i(e)})}}r.remove()}const a=document.createElement("script");a.type="text/javascript",a.src=e,a.id=t,a.async=!0,a.nonce=n,a.onerror=function(e){a.setAttribute("data-state","error"),i(e)},s.initMap=function(){a.setAttribute("data-state","ready"),o(t)},document.head.appendChild(a)})).catch((e=>{throw console.error("injectScript error: ",e),e})):Promise.reject(new Error("document is undefined")),m=e=>!((!e.href||0!==e.href.indexOf("https://fonts.googleapis.com/css?family=Roboto"))&&("style"===e.tagName.toLowerCase()&&e.styleSheet&&e.styleSheet.cssText&&0===e.styleSheet.cssText.replace("\r\n","").indexOf(".gm-style")?(e.styleSheet.cssText="",0):"style"===e.tagName.toLowerCase()&&e.innerHTML&&0===e.innerHTML.replace("\r\n","").indexOf(".gm-style")?(e.innerHTML="",0):"style"!==e.tagName.toLowerCase()||e.styleSheet||e.innerHTML)),v=()=>{const e=document.getElementsByTagName("head")[0],t=e.insertBefore.bind(e);e.insertBefore=function(n,o){m(n)||Reflect.apply(t,e,[n,o])};const n=e.appendChild.bind(e);e.appendChild=function(t){m(t)||Reflect.apply(n,e,[t])}};function y({googleMapsApiKey:e,googleMapsClientId:t,version:n="weekly",language:o,region:i,libraries:s,channel:a,mapIds:l}){const u=[];return r(e&&t||!(e&&t),"You need to specify either googleMapsApiKey or googleMapsClientId for @react-google-maps/api load script to work. You cannot use both at the same time."),e?u.push(`key=${e}`):t&&u.push(`client=${t}`),n&&u.push(`v=${n}`),o&&u.push(`language=${o}`),i&&u.push(`region=${i}`),s&&s.length&&u.push(`libraries=${s.sort().join(",")}`),a&&u.push(`channel=${a}`),l&&l.length&&u.push(`map_ids=${l.join(",")}`),u.push("callback=initMap"),`https://maps.googleapis.com/maps/api/js?${u.join("&")}`}let S=!1;function b(){return o.createElement("div",null,"Loading...")}const C={id:"script-loader",version:"weekly"};class M extends o.PureComponent{constructor(){super(...arguments),this.check=o.createRef(),this.state={loaded:!1},this.cleanupCallback=()=>{delete window.google.maps,this.injectScript()},this.isCleaningUp=()=>{return e=this,t=void 0,o=function*(){return new Promise((function(e){if(S){if(f){const t=window.setInterval((function(){S||(window.clearInterval(t),e())}),1)}}else e()}))},new((n=void 0)||(n=Promise))((function(i,r){function s(e){try{l(o.next(e))}catch(e){r(e)}}function a(e){try{l(o.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((o=o.apply(e,t||[])).next())}));var e,t,n,o},this.cleanup=()=>{S=!0;const e=document.getElementById(this.props.id);e&&e.parentNode&&e.parentNode.removeChild(e),Array.prototype.slice.call(document.getElementsByTagName("script")).filter((function(e){return"string"==typeof e.src&&e.src.includes("maps.googleapis")})).forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)})),Array.prototype.slice.call(document.getElementsByTagName("link")).filter((function(e){return"https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Google+Sans"===e.href})).forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)})),Array.prototype.slice.call(document.getElementsByTagName("style")).filter((function(e){return void 0!==e.innerText&&e.innerText.length>0&&e.innerText.includes(".gm-")})).forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))},this.injectScript=()=>{this.props.preventGoogleFontsLoading&&v(),r(!!this.props.id,'LoadScript requires "id" prop to be a string: %s',this.props.id);const e={id:this.props.id,nonce:this.props.nonce,url:y(this.props)};g(e).then((()=>{this.props.onLoad&&this.props.onLoad(),this.setState((function(){return{loaded:!0}}))})).catch((e=>{this.props.onError&&this.props.onError(e),console.error(`\n There has been an Error with loading Google Maps API script, please check that you provided correct google API key (${this.props.googleMapsApiKey||"-"}) or Client ID (${this.props.googleMapsClientId||"-"}) to <LoadScript />\n Otherwise it is a Network issue.\n `)}))}}componentDidMount(){if(f){if(window.google&&window.google.maps&&!S)return void console.error("google api is already presented");this.isCleaningUp().then(this.injectScript).catch((function(e){console.error("Error at injecting script after cleaning up: ",e)}))}}componentDidUpdate(e){this.props.libraries!==e.libraries&&console.warn("Performance warning! LoadScript has been reloaded unintentionally! You should not pass `libraries` prop as new array. Please keep an array of libraries as static class property for Components and PureComponents, or just a const variable outside of component, or somewhere in config files or ENV variables"),f&&e.language!==this.props.language&&(this.cleanup(),this.setState((function(){return{loaded:!1}}),this.cleanupCallback))}componentWillUnmount(){if(f){this.cleanup();const e=()=>{this.check.current||(delete window.google,S=!1)};window.setTimeout(e,1),this.props.onUnmount&&this.props.onUnmount()}}render(){return o.createElement(o.Fragment,null,o.createElement("div",{ref:this.check}),this.state.loaded?this.props.children:this.props.loadingElement||o.createElement(b,null))}}let x;M.defaultProps=C;const w=o.createElement(b,null);o.memo((function(e){var{loadingElement:t,onLoad:n,onError:i,onUnmount:s,children:a}=e,l=p(e,["loadingElement","onLoad","onError","onUnmount","children"]);const{isLoaded:u,loadError:c}=function({id:e=C.id,version:t=C.version,nonce:n,googleMapsApiKey:i,googleMapsClientId:s,language:a,region:l,libraries:u,preventGoogleFontsLoading:c,channel:d,mapIds:h}){const p=o.useRef(!1),[m,S]=o.useState(!1),[b,M]=o.useState(void 0);o.useEffect((function(){return p.current=!0,()=>{p.current=!1}}),[]),o.useEffect((function(){f&&c&&v()}),[c]),o.useEffect((function(){m&&r(!!window.google,"useLoadScript was marked as loaded, but window.google is not present. Something went wrong.")}),[m]);const w=y({version:t,googleMapsApiKey:i,googleMapsClientId:s,language:a,region:l,libraries:u,channel:d,mapIds:h});o.useEffect((function(){function t(){p.current&&(S(!0),x=w)}f&&(window.google&&window.google.maps&&x===w?t():g({id:e,url:w,nonce:n}).then(t).catch((function(e){p.current&&M(e),console.warn(`\n There has been an Error with loading Google Maps API script, please check that you provided correct google API key (${i||"-"}) or Client ID (${s||"-"})\n Otherwise it is a Network issue.\n `),console.error(e)})))}),[e,w,n]);const _=o.useRef();return o.useEffect((function(){_.current&&u!==_.current&&console.warn("Performance warning! LoadScript has been reloaded unintentionally! You should not pass `libraries` prop as new array. Please keep an array of libraries as static class property for Components and PureComponents, or just a const variable outside of component, or somewhere in config files or ENV variables"),_.current=u}),[u]),{isLoaded:m,loadError:b,url:w}}(l);return o.useEffect((function(){u&&"function"==typeof n&&n()}),[u,n]),o.useEffect((function(){c&&"function"==typeof i&&i(c)}),[c,i]),o.useEffect((function(){return()=>{s&&s()}}),[s]),u?a:t||w}));var _=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var o,i,r;if(Array.isArray(t)){if((o=t.length)!=n.length)return!1;for(i=o;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((o=(r=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=o;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,r[i]))return!1;for(i=o;0!=i--;){var s=r[i];if(!e(t[s],n[s]))return!1}return!0}return t!=t&&n!=n};const k="__googleMapsScriptId";class O{constructor({apiKey:e,channel:t,client:n,id:o=k,libraries:i=[],language:r,region:s,version:a,mapIds:l,nonce:u,retries:c=3,url:d="https://maps.googleapis.com/maps/api/js"}){if(this.CALLBACK="__googleMapsCallback",this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.version=a,this.apiKey=e,this.channel=t,this.client=n,this.id=o||k,this.libraries=i,this.language=r,this.region=s,this.mapIds=l,this.nonce=u,this.retries=c,this.url=d,O.instance){if(!_(this.options,O.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(O.instance.options)}`);return O.instance}O.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url}}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let e=this.url;return e+=`?callback=${this.CALLBACK}`,this.apiKey&&(e+=`&key=${this.apiKey}`),this.channel&&(e+=`&channel=${this.channel}`),this.client&&(e+=`&client=${this.client}`),this.libraries.length>0&&(e+=`&libraries=${this.libraries.join(",")}`),this.language&&(e+=`&language=${this.language}`),this.region&&(e+=`&region=${this.region}`),this.version&&(e+=`&v=${this.version}`),this.mapIds&&(e+=`&map_ids=${this.mapIds.join(",")}`),e}deleteScript(){const e=document.getElementById(this.id);e&&e.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise(((e,t)=>{this.loadCallback((n=>{n?t(n.error):e(window.google)}))}))}loadCallback(e){this.callbacks.push(e),this.execute()}setScript(){if(document.getElementById(this.id))return void this.callback();const e=this.createUrl(),t=document.createElement("script");t.id=this.id,t.type="text/javascript",t.src=e,t.onerror=this.loadErrorCallback.bind(this),t.defer=!0,t.async=!0,this.nonce&&(t.nonce=this.nonce),document.head.appendChild(t)}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(e){if(this.errors.push(e),this.errors.length<=this.retries){const e=this.errors.length*Math.pow(2,this.errors.length);console.log(`Failed to load Google Maps script, retrying in ${e} ms.`),setTimeout((()=>{this.deleteScript(),this.setScript()}),e)}else this.onerrorEvent=e,this.callback()}setCallback(){window.__googleMapsCallback=this.callback.bind(this)}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach((e=>{e(this.onerrorEvent)})),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version)return console.warn("Google Maps already loaded outside @googlemaps/js-api-loader.This may result in undesirable behavior as options and script parameters may not match."),void this.callback();this.loading||(this.loading=!0,this.setCallback(),this.setScript())}}}function E({id:e=C.id,version:t=C.version,nonce:n,googleMapsApiKey:i,language:r,region:s,libraries:a,preventGoogleFontsLoading:l,mapIds:u}){const c=o.useRef(!1),[d,h]=o.useState(!1),[p,g]=o.useState(void 0);o.useEffect((function(){return c.current=!0,()=>{c.current=!1}}),[]);const m=o.useMemo((function(){return new O({id:e,apiKey:i,version:t,libraries:a,language:r,region:s,mapIds:u,nonce:n})}),[e,i,t,a,r,s,u,n]);o.useEffect((function(){d||m.load().then((function(){c.current&&h(!0)})).catch((function(e){g(e)}))}),[]),o.useEffect((function(){f&&l&&v()}),[l]);const y=o.useRef();return o.useEffect((function(){y.current&&a!==y.current&&console.warn("Performance warning! LoadScript has been reloaded unintentionally! You should not pass `libraries` prop as new array. Please keep an array of libraries as static class property for Components and PureComponents, or just a const variable outside of component, or somewhere in config files or ENV variables"),y.current=a}),[a]),{isLoaded:d,loadError:p}}const z={},T={options(e,t){e.setOptions(t)}};class P extends o.PureComponent{constructor(){super(...arguments),this.state={trafficLayer:null},this.setTrafficLayerCallback=()=>{null!==this.state.trafficLayer&&this.props.onLoad&&this.props.onLoad(this.state.trafficLayer)},this.registeredEvents=[]}componentDidMount(){const e=new google.maps.TrafficLayer(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=u({updaterMap:T,eventMap:z,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{trafficLayer:e}}),this.setTrafficLayerCallback)}componentDidUpdate(e){null!==this.state.trafficLayer&&(l(this.registeredEvents),this.registeredEvents=u({updaterMap:T,eventMap:z,prevProps:e,nextProps:this.props,instance:this.state.trafficLayer}))}componentWillUnmount(){null!==this.state.trafficLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.trafficLayer),l(this.registeredEvents),this.state.trafficLayer.setMap(null))}render(){return null}}P.contextType=s;class R extends o.PureComponent{constructor(){super(...arguments),this.state={bicyclingLayer:null},this.setBicyclingLayerCallback=()=>{null!==this.state.bicyclingLayer&&(this.state.bicyclingLayer.setMap(this.context),this.props.onLoad&&this.props.onLoad(this.state.bicyclingLayer))}}componentDidMount(){const e=new google.maps.BicyclingLayer;this.setState((function(){return{bicyclingLayer:e}}),this.setBicyclingLayerCallback)}componentWillUnmount(){null!==this.state.bicyclingLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.bicyclingLayer),this.state.bicyclingLayer.setMap(null))}render(){return null}}R.contextType=s;class I extends o.PureComponent{constructor(){super(...arguments),this.state={transitLayer:null},this.setTransitLayerCallback=()=>{null!==this.state.transitLayer&&(this.state.transitLayer.setMap(this.context),this.props.onLoad&&this.props.onLoad(this.state.transitLayer))}}componentDidMount(){const e=new google.maps.TransitLayer;this.setState((function(){return{transitLayer:e}}),this.setTransitLayerCallback)}componentWillUnmount(){null!==this.state.transitLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.transitLayer),this.state.transitLayer.setMap(null))}render(){return null}}I.contextType=s;const L={onCircleComplete:"circlecomplete",onMarkerComplete:"markercomplete",onOverlayComplete:"overlaycomplete",onPolygonComplete:"polygoncomplete",onPolylineComplete:"polylinecomplete",onRectangleComplete:"rectanglecomplete"},B={drawingMode(e,t){e.setDrawingMode(t)},options(e,t){e.setOptions(t)}};class W extends o.PureComponent{constructor(e){super(e),this.registeredEvents=[],this.state={drawingManager:null},this.setDrawingManagerCallback=()=>{null!==this.state.drawingManager&&this.props.onLoad&&this.props.onLoad(this.state.drawingManager)},r(!!google.maps.drawing,"Did you include prop libraries={['drawing']} in the URL? %s",google.maps.drawing)}componentDidMount(){const e=new google.maps.drawing.DrawingManager(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=u({updaterMap:B,eventMap:L,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{drawingManager:e}}),this.setDrawingManagerCallback)}componentDidUpdate(e){null!==this.state.drawingManager&&(l(this.registeredEvents),this.registeredEvents=u({updaterMap:B,eventMap:L,prevProps:e,nextProps:this.props,instance:this.state.drawingManager}))}componentWillUnmount(){null!==this.state.drawingManager&&(this.props.onUnmount&&this.props.onUnmount(this.state.drawingManager),l(this.registeredEvents),this.state.drawingManager.setMap(null))}render(){return o.createElement(o.Fragment,null)}}W.contextType=s;const A={onAnimationChanged:"animation_changed",onClick:"click",onClickableChanged:"clickable_changed",onCursorChanged:"cursor_changed",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDraggableChanged:"draggable_changed",onDragStart:"dragstart",onFlatChanged:"flat_changed",onIconChanged:"icon_changed",onMouseDown:"mousedown",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onPositionChanged:"position_changed",onRightClick:"rightclick",onShapeChanged:"shape_changed",onTitleChanged:"title_changed",onVisibleChanged:"visible_changed",onZindexChanged:"zindex_changed"},D={animation(e,t){e.setAnimation(t)},clickable(e,t){e.setClickable(t)},cursor(e,t){e.setCursor(t)},draggable(e,t){e.setDraggable(t)},icon(e,t){e.setIcon(t)},label(e,t){e.setLabel(t)},map(e,t){e.setMap(t)},opacity(e,t){e.setOpacity(t)},options(e,t){e.setOptions(t)},position(e,t){e.setPosition(t)},shape(e,t){e.setShape(t)},title(e,t){e.setTitle(t)},visible(e,t){e.setVisible(t)},zIndex(e,t){e.setZIndex(t)}};class F extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[]}componentDidMount(){const e=Object.assign(Object.assign(Object.assign({},this.props.options||{}),this.props.clusterer?{}:{map:this.context}),{position:this.props.position});this.marker=new google.maps.Marker(e),this.props.clusterer?this.props.clusterer.addMarker(this.marker,!!this.props.noClustererRedraw):this.marker.setMap(this.context),this.registeredEvents=u({updaterMap:D,eventMap:A,prevProps:{},nextProps:this.props,instance:this.marker}),this.props.onLoad&&this.props.onLoad(this.marker)}componentDidUpdate(e){this.marker&&(l(this.registeredEvents),this.registeredEvents=u({updaterMap:D,eventMap:A,prevProps:e,nextProps:this.props,instance:this.marker}))}componentWillUnmount(){this.marker&&(this.props.onUnmount&&this.props.onUnmount(this.marker),l(this.registeredEvents),this.props.clusterer?this.props.clusterer.removeMarker(this.marker,!!this.props.noClustererRedraw):this.marker&&this.marker.setMap(null))}render(){let e=null;return this.props.children&&(e=o.Children.map(this.props.children,(e=>{if(!o.isValidElement(e))return e;let t=e;return o.cloneElement(t,{anchor:this.marker})}))),e||null}}F.contextType=s;var j=function(){function e(t,n){t.getClusterer().extend(e,google.maps.OverlayView),this.cluster=t,this.clusterClassName=this.cluster.getClusterer().getClusterClass(),this.className=this.clusterClassName,this.styles=n,this.center=void 0,this.div=null,this.sums=null,this.visible=!1,this.boundsChangedListener=null,this.url="",this.height=0,this.width=0,this.anchorText=[0,0],this.anchorIcon=[0,0],this.textColor="black",this.textSize=11,this.textDecoration="none",this.fontWeight="bold",this.fontStyle="normal",this.fontFamily="Arial,sans-serif",this.backgroundPosition="0 0",this.setMap(t.getMap())}return e.prototype.onAdd=function(){var e,t,n=this;this.div=document.createElement("div"),this.div.className=this.className,this.visible&&this.show(),this.getPanes().overlayMouseTarget.appendChild(this.div),this.boundsChangedListener=google.maps.event.addListener(this.getMap(),"boundschanged",(function(){t=e})),google.maps.event.addDomListener(this.div,"mousedown",(function(){e=!0,t=!1})),google.maps.event.addDomListener(this.div,"click",(function(o){if(e=!1,!t){var i=n.cluster.getClusterer();if(google.maps.event.trigger(i,"click",n.cluster),google.maps.event.trigger(i,"clusterclick",n.cluster),i.getZoomOnClick()){var r=i.getMaxZoom(),s=n.cluster.getBounds();i.getMap().fitBounds(s),setTimeout((function(){i.getMap().fitBounds(s),null!==r&&i.getMap().getZoom()>r&&i.getMap().setZoom(r+1)}),100)}o.cancelBubble=!0,o.stopPropagation&&o.stopPropagation()}})),google.maps.event.addDomListener(this.div,"mouseover",(function(){google.maps.event.trigger(n.cluster.getClusterer(),"mouseover",n.cluster)})),google.maps.event.addDomListener(this.div,"mouseout",(function(){google.maps.event.trigger(n.cluster.getClusterer(),"mouseout",n.cluster)}))},e.prototype.onRemove=function(){this.div&&this.div.parentNode&&(this.hide(),null!==this.boundsChangedListener&&google.maps.event.removeListener(this.boundsChangedListener),google.maps.event.clearInstanceListeners(this.div),this.div.parentNode.removeChild(this.div),this.div=null)},e.prototype.draw=function(){if(this.visible&&null!==this.div&&this.center){var e=this.getPosFromLatLng(this.center),t=e.x,n=e.y;this.div.style.top=n+"px",this.div.style.left=t+"px"}},e.prototype.hide=function(){this.div&&(this.div.style.display="none"),this.visible=!1},e.prototype.show=function(){if(this.div&&this.center){var e,t="",n=this.backgroundPosition.split(" "),o=parseInt(n[0].replace(/^\s+|\s+$/g,""),10),i=parseInt(n[1].replace(/^\s+|\s+$/g,""),10),r=this.getPosFromLatLng(this.center);e=null===this.sums||void 0===this.sums.title||""===this.sums.title?this.cluster.getClusterer().getTitle():this.sums.title,this.div.style.cssText=this.createCss(r),t="<img alt='"+e+"' src='"+this.url+"' style='position: absolute; top: "+i+"px; left: "+o+"px; ",this.cluster.getClusterer().enableRetinaIcons||(t+="clip: rect("+-1*i+"px, "+(-1*o+this.width)+"px, "+(-1*i+this.height)+"px, "+-1*o+"px);"),t+="'>",this.div.innerHTML=t+"<div style='position: absolute;top: "+this.anchorText[0]+"px;left: "+this.anchorText[1]+"px;color: "+this.textColor+";font-size: "+this.textSize+"px;font-family: "+this.fontFamily+";font-weight: "+this.fontWeight+";font-style: "+this.fontStyle+";text-decoration: "+this.textDecoration+";text-align: center;width: "+this.width+"px;line-height:"+this.height+"px;'>"+this.sums.text+"</div>",this.div.title=e,this.div.style.display=""}this.visible=!0},e.prototype.useStyle=function(e){this.sums=e;var t=this.cluster.getClusterer().getStyles(),n=t[Math.min(t.length-1,Math.max(0,e.index-1))];this.url=n.url,this.height=n.height,this.width=n.width,n.className&&(this.className=this.clusterClassName+" "+n.className),this.anchorText=n.anchorText||[0,0],this.anchorIcon=n.anchorIcon||[this.height/2,this.width/2],this.textColor=n.textColor||"black",this.textSize=n.textSize||11,this.textDecoration=n.textDecoration||"none",this.fontWeight=n.fontWeight||"bold",this.fontStyle=n.fontStyle||"normal",this.fontFamily=n.fontFamily||"Arial,sans-serif",this.backgroundPosition=n.backgroundPosition||"0 0"},e.prototype.setCenter=function(e){this.center=e},e.prototype.createCss=function(e){var t=[];return t.push("cursor: pointer;"),t.push("position: absolute; top: "+e.y+"px; left: "+e.x+"px;"),t.push("width: "+this.width+"px; height: "+this.height+"px;"),t.join("")},e.prototype.getPosFromLatLng=function(e){var t=this.getProjection().fromLatLngToDivPixel(e);return t.x-=this.anchorIcon[1],t.y-=this.anchorIcon[0],t},e}(),G=function(){function e(e){this.markerClusterer=e,this.map=this.markerClusterer.getMap(),this.gridSize=this.markerClusterer.getGridSize(),this.minClusterSize=this.markerClusterer.getMinimumClusterSize(),this.averageCenter=this.markerClusterer.getAverageCenter(),this.markers=[],this.center=void 0,this.bounds=null,this.clusterIcon=new j(this,this.markerClusterer.getStyles())}return e.prototype.getSize=function(){return this.markers.length},e.prototype.getMarkers=function(){return this.markers},e.prototype.getCenter=function(){return this.center},e.prototype.getMap=function(){return this.map},e.prototype.getClusterer=function(){return this.markerClusterer},e.prototype.getBounds=function(){for(var e=new google.maps.LatLngBounds(this.center,this.center),t=this.getMarkers(),n=0;n<t.length;n++){var o=t[n].getPosition();o&&e.extend(o)}return e},e.prototype.remove=function(){this.clusterIcon.setMap(null),this.markers=[],delete this.markers},e.prototype.addMarker=function(e){if(this.isMarkerAlreadyAdded(e))return!1;var t;if(this.center){if(this.averageCenter&&(t=e.getPosition())){var n=this.markers.length+1;this.center=new google.maps.LatLng((this.center.lat()*(n-1)+t.lat())/n,(this.center.lng()*(n-1)+t.lng())/n),this.calculateBounds()}}else(t=e.getPosition())&&(this.center=t,this.calculateBounds());e.isAdded=!0,this.markers.push(e);var o=this.markers.length,i=this.markerClusterer.getMaxZoom(),r=this.map.getZoom();if(null!==i&&void 0!==r&&r>i)e.getMap()!==this.map&&e.setMap(this.map);else if(o<this.minClusterSize)e.getMap()!==this.map&&e.setMap(this.map);else if(o===this.minClusterSize)for(var s=0;s<o;s++)this.markers[s].setMap(null);else e.setMap(null);return!0},e.prototype.isMarkerInClusterBounds=function(e){if(null!==this.bounds){var t=e.getPosition();if(t)return this.bounds.contains(t)}return!1},e.prototype.calculateBounds=function(){this.bounds=this.markerClusterer.getExtendedBounds(new google.maps.LatLngBounds(this.center,this.center))},e.prototype.updateIcon=function(){var e=this.markers.length,t=this.markerClusterer.getMaxZoom(),n=this.map.getZoom();null!==t&&void 0!==n&&n>t||e<this.minClusterSize?this.clusterIcon.hide():(this.center&&this.clusterIcon.setCenter(this.center),this.clusterIcon.useStyle(this.markerClusterer.getCalculator()(this.markers,this.markerClusterer.getStyles().length)),this.clusterIcon.show())},e.prototype.isMarkerAlreadyAdded=function(e){if(this.markers.includes)return this.markers.includes(e);for(var t=0;t<this.markers.length;t++)if(e===this.markers[t])return!0;return!1},e}(),H=function(e,t){var n=e.length,o=n.toString().length,i=Math.min(o,t);return{text:n.toString(),index:i,title:""}},N=[53,56,66,78,90],U=function(){function e(t,n,o){void 0===n&&(n=[]),void 0===o&&(o={}),this.extend(e,google.maps.OverlayView),this.markers=[],this.clusters=[],this.listeners=[],this.activeMap=null,this.ready=!1,this.gridSize=o.gridSize||60,this.minClusterSize=o.minimumClusterSize||2,this.maxZoom=o.maxZoom||null,this.styles=o.styles||[],this.title=o.title||"",this.zoomOnClick=!0,void 0!==o.zoomOnClick&&(this.zoomOnClick=o.zoomOnClick),this.averageCenter=!1,void 0!==o.averageCenter&&(this.averageCenter=o.averageCenter),this.ignoreHidden=!1,void 0!==o.ignoreHidden&&(this.ignoreHidden=o.ignoreHidden),this.enableRetinaIcons=!1,void 0!==o.enableRetinaIcons&&(this.enableRetinaIcons=o.enableRetinaIcons),this.imagePath=o.imagePath||"https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/m",this.imageExtension=o.imageExtension||"png",this.imageSizes=o.imageSizes||N,this.calculator=o.calculator||H,this.batchSize=o.batchSize||2e3,this.batchSizeIE=o.batchSizeIE||500,this.clusterClass=o.clusterClass||"cluster",-1!==navigator.userAgent.toLowerCase().indexOf("msie")&&(this.batchSize=this.batchSizeIE),this.timerRefStatic=null,this.setupStyles(),this.addMarkers(n,!0),this.setMap(t)}return e.prototype.onAdd=function(){var e=this;this.activeMap=this.getMap(),this.ready=!0,this.repaint(),this.listeners=[google.maps.event.addListener(this.getMap(),"zoom_changed",(function(){e.resetViewport(!1),e.getMap().getZoom()!==(e.get("minZoom")||0)&&e.getMap().getZoom()!==e.get("maxZoom")||google.maps.event.trigger(e,"idle")})),google.maps.event.addListener(this.getMap(),"idle",(function(){e.redraw()}))]},e.prototype.onRemove=function(){for(var e=0;e<this.markers.length;e++)this.markers[e].getMap()!==this.activeMap&&this.markers[e].setMap(this.activeMap);for(e=0;e<this.clusters.length;e++)this.clusters[e].remove();for(this.clusters=[],e=0;e<this.listeners.length;e++)google.maps.event.removeListener(this.listeners[e]);this.listeners=[],this.activeMap=null,this.ready=!1},e.prototype.draw=function(){},e.prototype.setupStyles=function(){if(!(this.styles.length>0))for(var e=0;e<this.imageSizes.length;e++)this.styles.push({url:this.imagePath+(e+1)+"."+this.imageExtension,height:this.imageSizes[e],width:this.imageSizes[e]})},e.prototype.fitMapToMarkers=function(){for(var e=this.getMarkers(),t=new google.maps.LatLngBounds,n=0;n<e.length;n++){var o=e[n].getPosition();o&&t.extend(o)}this.getMap().fitBounds(t)},e.prototype.getGridSize=function(){return this.gridSize},e.prototype.setGridSize=function(e){this.gridSize=e},e.prototype.getMinimumClusterSize=function(){return this.minClusterSize},e.prototype.setMinimumClusterSize=function(e){this.minClusterSize=e},e.prototype.getMaxZoom=function(){return this.maxZoom},e.prototype.setMaxZoom=function(e){this.maxZoom=e},e.prototype.getStyles=function(){return this.styles},e.prototype.setStyles=function(e){this.styles=e},e.prototype.getTitle=function(){return this.title},e.prototype.setTitle=function(e){this.title=e},e.prototype.getZoomOnClick=function(){return this.zoomOnClick},e.prototype.setZoomOnClick=function(e){this.zoomOnClick=e},e.prototype.getAverageCenter=function(){return this.averageCenter},e.prototype.setAverageCenter=function(e){this.averageCenter=e},e.prototype.getIgnoreHidden=function(){return this.ignoreHidden},e.prototype.setIgnoreHidden=function(e){this.ignoreHidden=e},e.prototype.getEnableRetinaIcons=function(){return this.enableRetinaIcons},e.prototype.setEnableRetinaIcons=function(e){this.enableRetinaIcons=e},e.prototype.getImageExtension=function(){return this.imageExtension},e.prototype.setImageExtension=function(e){this.imageExtension=e},e.prototype.getImagePath=function(){return this.imagePath},e.prototype.setImagePath=function(e){this.imagePath=e},e.prototype.getImageSizes=function(){return this.imageSizes},e.prototype.setImageSizes=function(e){this.imageSizes=e},e.prototype.getCalculator=function(){return this.calculator},e.prototype.setCalculator=function(e){this.calculator=e},e.prototype.getBatchSizeIE=function(){return this.batchSizeIE},e.prototype.setBatchSizeIE=function(e){this.batchSizeIE=e},e.prototype.getClusterClass=function(){return this.clusterClass},e.prototype.setClusterClass=function(e){this.clusterClass=e},e.prototype.getMarkers=function(){return this.markers},e.prototype.getTotalMarkers=function(){return this.markers.length},e.prototype.getClusters=function(){return this.clusters},e.prototype.getTotalClusters=function(){return this.clusters.length},e.prototype.addMarker=function(e,t){this.pushMarkerTo(e),t||this.redraw()},e.prototype.addMarkers=function(e,t){for(var n in e)e.hasOwnProperty(n)&&this.pushMarkerTo(e[n]);t||this.redraw()},e.prototype.pushMarkerTo=function(e){var t=this;e.getDraggable()&&google.maps.event.addListener(e,"dragend",(function(){t.ready&&(e.isAdded=!1,t.repaint())})),e.isAdded=!1,this.markers.push(e)},e.prototype.removeMarker_=function(e){var t=-1;if(this.markers.indexOf)t=this.markers.indexOf(e);else for(var n=0;n<this.markers.length;n++)if(e===this.markers[n]){t=n;break}return-1!==t&&(e.setMap(null),this.markers.splice(t,1),!0)},e.prototype.removeMarker=function(e,t){var n=this.removeMarker_(e);return!t&&n&&this.repaint(),n},e.prototype.removeMarkers=function(e,t){for(var n=!1,o=0;o<e.length;o++)n=n||this.removeMarker_(e[o]);return!t&&n&&this.repaint(),n},e.prototype.clearMarkers=function(){this.resetViewport(!0),this.markers=[]},e.prototype.repaint=function(){var e=this.clusters.slice();this.clusters=[],this.resetViewport(!1),this.redraw(),setTimeout((function(){for(var t=0;t<e.length;t++)e[t].remove()}),0)},e.prototype.getExtendedBounds=function(e){var t=this.getProjection(),n=t.fromLatLngToDivPixel(new google.maps.LatLng(e.getNorthEast().lat(),e.getNorthEast().lng()));n.x+=this.gridSize,n.y-=this.gridSize;var o=t.fromLatLngToDivPixel(new google.maps.LatLng(e.getSouthWest().lat(),e.getSouthWest().lng()));return o.x-=this.gridSize,o.y+=this.gridSize,e.extend(t.fromDivPixelToLatLng(n)),e.extend(t.fromDivPixelToLatLng(o)),e},e.prototype.redraw=function(){this.createClusters(0)},e.prototype.resetViewport=function(e){for(var t=0;t<this.clusters.length;t++)this.clusters[t].remove();for(this.clusters=[],t=0;t<this.markers.length;t++){var n=this.markers[t];n.isAdded=!1,e&&n.setMap(null)}},e.prototype.distanceBetweenPoints=function(e,t){var n=(t.lat()-e.lat())*Math.PI/180,o=(t.lng()-e.lng())*Math.PI/180,i=Math.sin(n/2)*Math.sin(n/2)+Math.cos(e.lat()*Math.PI/180)*Math.cos(t.lat()*Math.PI/180)*Math.sin(o/2)*Math.sin(o/2);return 2*Math.atan2(Math.sqrt(i),Math.sqrt(1-i))*6371},e.prototype.isMarkerInBounds=function(e,t){var n=e.getPosition();return!!n&&t.contains(n)},e.prototype.addToClosestCluster=function(e){for(var t,n=4e4,o=null,i=0;i<this.clusters.length;i++){var r=(t=this.clusters[i]).getCenter(),s=e.getPosition();if(r&&s){var a=this.distanceBetweenPoints(r,s);a<n&&(n=a,o=t)}}o&&o.isMarkerInClusterBounds(e)?o.addMarker(e):((t=new G(this)).addMarker(e),this.clusters.push(t))},e.prototype.createClusters=function(e){var t=this;if(this.ready){0===e&&(google.maps.event.trigger(this,"clusteringbegin",this),null!==this.timerRefStatic&&(window.clearTimeout(this.timerRefStatic),delete this.timerRefStatic));for(var n=this.getMap().getZoom()>3?new google.maps.LatLngBounds(this.getMap().getBounds().getSouthWest(),this.getMap().getBounds().getNorthEast()):new google.maps.LatLngBounds(new google.maps.LatLng(85.02070771743472,-178.48388434375),new google.maps.LatLng(-85.08136444384544,178.00048865625)),o=this.getExtendedBounds(n),i=Math.min(e+this.batchSize,this.markers.length),r=e;r<i;r++){var s=this.markers[r];!s.isAdded&&this.isMarkerInBounds(s,o)&&(!this.ignoreHidden||this.ignoreHidden&&s.getVisible())&&this.addToClosestCluster(s)}if(i<this.markers.length)this.timerRefStatic=window.setTimeout((function(){t.createClusters(i)}),0);else for(this.timerRefStatic=null,google.maps.event.trigger(this,"clusteringend",this),r=0;r<this.clusters.length;r++)this.clusters[r].updateIcon()}},e.prototype.extend=function(e,t){return function(e){for(var t in e.prototype)this.prototype[t]=e.prototype[t];return this}.apply(e,[t])},e}();const V={onClick:"click",onClusteringBegin:"clusteringbegin",onClusteringEnd:"clusteringend",onMouseOut:"mouseout",onMouseOver:"mouseover"},Z={averageCenter(e,t){e.setAverageCenter(t)},batchSizeIE(e,t){e.setBatchSizeIE(t)},calculator(e,t){e.setCalculator(t)},clusterClass(e,t){e.setClusterClass(t)},enableRetinaIcons(e,t){e.setEnableRetinaIcons(t)},gridSize(e,t){e.setGridSize(t)},ignoreHidden(e,t){e.setIgnoreHidden(t)},imageExtension(e,t){e.setImageExtension(t)},imagePath(e,t){e.setImagePath(t)},imageSizes(e,t){e.setImageSizes(t)},maxZoom(e,t){e.setMaxZoom(t)},minimumClusterSize(e,t){e.setMinimumClusterSize(t)},styles(e,t){e.setStyles(t)},title(e,t){e.setTitle(t)},zoomOnClick(e,t){e.setZoomOnClick(t)}};class q extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={markerClusterer:null},this.setClustererCallback=()=>{null!==this.state.markerClusterer&&this.props.onLoad&&this.props.onLoad(this.state.markerClusterer)}}componentDidMount(){if(this.context){const e=new U(this.context,[],this.props.options);this.registeredEvents=u({updaterMap:Z,eventMap:V,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{markerClusterer:e}}),this.setClustererCallback)}}componentDidUpdate(e){this.state.markerClusterer&&(l(this.registeredEvents),this.registeredEvents=u({updaterMap:Z,eventMap:V,prevProps:e,nextProps:this.props,instance:this.state.markerClusterer}))}componentWillUnmount(){null!==this.state.markerClusterer&&(this.props.onUnmount&&this.props.onUnmount(this.state.markerClusterer),l(this.registeredEvents),this.state.markerClusterer.setMap(null))}render(){return null!==this.state.markerClusterer?this.props.children(this.state.markerClusterer):null}}q.contextType=s;var $=function(){function e(t){void 0===t&&(t={}),this.extend(e,google.maps.OverlayView),this.content=t.content||"",this.disableAutoPan=t.disableAutoPan||!1,this.maxWidth=t.maxWidth||0,this.pixelOffset=t.pixelOffset||new google.maps.Size(0,0),this.position=t.position||new google.maps.LatLng(0,0),this.zIndex=t.zIndex||null,this.boxClass=t.boxClass||"infoBox",this.boxStyle=t.boxStyle||{},this.closeBoxMargin=t.closeBoxMargin||"2px",this.closeBoxURL=t.closeBoxURL||"http://www.google.com/intl/en_us/mapfiles/close.gif",""===t.closeBoxURL&&(this.closeBoxURL=""),this.infoBoxClearance=t.infoBoxClearance||new google.maps.Size(1,1),void 0===t.visible&&(void 0===t.isHidden?t.visible=!0:t.visible=!t.isHidden),this.isHidden=!t.visible,this.alignBottom=t.alignBottom||!1,this.pane=t.pane||"floatPane",this.enableEventPropagation=t.enableEventPropagation||!1,this.div=null,this.closeListener=null,this.moveListener=null,this.mapListener=null,this.contextListener=null,this.eventListeners=null,this.fixedWidthSet=null}return e.prototype.createInfoBoxDiv=function(){var e=this;function t(e){e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation()}if(!this.div){if(this.div=document.createElement("div"),this.setBoxStyle(),"string"==typeof this.content?this.div.innerHTML=this.getCloseBoxImg()+this.content:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(this.content)),this.getPanes()[this.pane].appendChild(this.div),this.addClickHandler(),this.div.style.width)this.fixedWidthSet=!0;else if(0!==this.maxWidth&&this.div.offsetWidth>this.maxWidth)this.div.style.width=this.maxWidth+"px",this.fixedWidthSet=!0;else{var n=this.getBoxWidths();this.div.style.width=this.div.offsetWidth-n.left-n.right+"px",this.fixedWidthSet=!1}if(this.panBox(this.disableAutoPan),!this.enableEventPropagation){this.eventListeners=[];for(var o=["mousedown","mouseover","mouseout","mouseup","click","dblclick","touchstart","touchend","touchmove"],i=0;i<o.length;i++)this.eventListeners.push(google.maps.event.addDomListener(this.div,o[i],t));this.eventListeners.push(google.maps.event.addDomListener(this.div,"mouseover",(function(){e.div&&(e.div.style.cursor="default")})))}this.contextListener=google.maps.event.addDomListener(this.div,"contextmenu",(function(n){n.returnValue=!1,n.preventDefault&&n.preventDefault(),e.enableEventPropagation||t(n)})),google.maps.event.trigger(this,"domready")}},e.prototype.getCloseBoxImg=function(){var e="";return""!==this.closeBoxURL&&(e='<img alt=""',e+=' aria-hidden="true"',e+=" src='"+this.closeBoxURL+"'",e+=" align=right",e+=" style='",e+=" position: relative;",e+=" cursor: pointer;",e+=" margin: "+this.closeBoxMargin+";",e+="'>"),e},e.prototype.addClickHandler=function(){if(this.div&&this.div.firstChild&&""!==this.closeBoxURL){var e=this.div.firstChild;this.closeListener=google.maps.event.addDomListener(e,"click",this.getCloseClickHandler())}else this.closeListener=null},e.prototype.getCloseClickHandler=function(){var e=this;return function(t){t.cancelBubble=!0,t.stopPropagation&&t.stopPropagation(),google.maps.event.trigger(e,"closeclick"),e.close()}},e.prototype.panBox=function(e){if(this.div&&!e){var t=this.getMap();if(t instanceof google.maps.Map){var n=0,o=0,i=t.getBounds();i&&!i.contains(this.position)&&t.setCenter(this.position);var r=t.getDiv(),s=r.offsetWidth,a=r.offsetHeight,l=this.pixelOffset.width,u=this.pixelOffset.height,c=this.div.offsetWidth,d=this.div.offsetHeight,h=this.infoBoxClearance.width,p=this.infoBoxClearance.height,f=this.getProjection().fromLatLngToContainerPixel(this.position);null!==f&&(f.x<-l+h?n=f.x+l-h:f.x+c+l+h>s&&(n=f.x+c+l+h-s),this.alignBottom?f.y<-u+p+d?o=f.y+u-p-d:f.y+u+p>a&&(o=f.y+u+p-a):f.y<-u+p?o=f.y+u-p:f.y+d+u+p>a&&(o=f.y+d+u+p-a)),0===n&&0===o||t.panBy(n,o)}}},e.prototype.setBoxStyle=function(){if(this.div){this.div.className=this.boxClass,this.div.style.cssText="";var e=this.boxStyle;for(var t in e)e.hasOwnProperty(t)&&(this.div.style[t]=e[t]);if(this.div.style.webkitTransform="translateZ(0)",void 0!==this.div.style.opacity&&""!==this.div.style.opacity){var n=parseFloat(this.div.style.opacity||"");this.div.style.msFilter='"progid:DXImageTransform.Microsoft.Alpha(Opacity='+100*n+')"',this.div.style.filter="alpha(opacity="+100*n+")"}this.div.style.position="absolute",this.div.style.visibility="hidden",null!==this.zIndex&&(this.div.style.zIndex=this.zIndex+""),this.div.style.overflow||(this.div.style.overflow="auto")}},e.prototype.getBoxWidths=function(){var e={top:0,bottom:0,left:0,right:0};if(!this.div)return e;if(document.defaultView&&document.defaultView.getComputedStyle){var t=this.div.ownerDocument,n=t&&t.defaultView?t.defaultView.getComputedStyle(this.div,""):null;n&&(e.top=parseInt(n.borderTopWidth||"",10)||0,e.bottom=parseInt(n.borderBottomWidth||"",10)||0,e.left=parseInt(n.borderLeftWidth||"",10)||0,e.right=parseInt(n.borderRightWidth||"",10)||0)}else if(document.documentElement.currentStyle){var o=this.div.currentStyle;o&&(e.top=parseInt(o.borderTopWidth||"",10)||0,e.bottom=parseInt(o.borderBottomWidth||"",10)||0,e.left=parseInt(o.borderLeftWidth||"",10)||0,e.right=parseInt(o.borderRightWidth||"",10)||0)}return e},e.prototype.onRemove=function(){this.div&&this.div.parentNode&&(this.div.parentNode.removeChild(this.div),this.div=null)},e.prototype.draw=function(){if(this.createInfoBoxDiv(),this.div){var e=this.getProjection().fromLatLngToDivPixel(this.position);null!==e&&(this.div.style.left=e.x+this.pixelOffset.width+"px",this.alignBottom?this.div.style.bottom=-(e.y+this.pixelOffset.height)+"px":this.div.style.top=e.y+this.pixelOffset.height+"px"),this.isHidden?this.div.style.visibility="hidden":this.div.style.visibility="visible"}},e.prototype.setOptions=function(e){void 0===e&&(e={}),void 0!==e.boxClass&&(this.boxClass=e.boxClass,this.setBoxStyle()),void 0!==e.boxStyle&&(this.boxStyle=e.boxStyle,this.setBoxStyle()),void 0!==e.content&&this.setContent(e.content),void 0!==e.disableAutoPan&&(this.disableAutoPan=e.disableAutoPan),void 0!==e.maxWidth&&(this.maxWidth=e.maxWidth),void 0!==e.pixelOffset&&(this.pixelOffset=e.pixelOffset),void 0!==e.alignBottom&&(this.alignBottom=e.alignBottom),void 0!==e.position&&this.setPosition(e.position),void 0!==e.zIndex&&this.setZIndex(e.zIndex),void 0!==e.closeBoxMargin&&(this.closeBoxMargin=e.closeBoxMargin),void 0!==e.closeBoxURL&&(this.closeBoxURL=e.closeBoxURL),void 0!==e.infoBoxClearance&&(this.infoBoxClearance=e.infoBoxClearance),void 0!==e.isHidden&&(this.isHidden=e.isHidden),void 0!==e.visible&&(this.isHidden=!e.visible),void 0!==e.enableEventPropagation&&(this.enableEventPropagation=e.enableEventPropagation),this.div&&this.draw()},e.prototype.setContent=function(e){this.content=e,this.div&&(this.closeListener&&(google.maps.event.removeListener(this.closeListener),this.closeListener=null),this.fixedWidthSet||(this.div.style.width=""),"string"==typeof e?this.div.innerHTML=this.getCloseBoxImg()+e:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(e)),this.fixedWidthSet||(this.div.style.width=this.div.offsetWidth+"px","string"==typeof e?this.div.innerHTML=this.getCloseBoxImg()+e:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(e))),this.addClickHandler()),google.maps.event.trigger(this,"content_changed")},e.prototype.setPosition=function(e){this.position=e,this.div&&this.draw(),google.maps.event.trigger(this,"position_changed")},e.prototype.setVisible=function(e){this.isHidden=!e,this.div&&(this.div.style.visibility=this.isHidden?"hidden":"visible")},e.prototype.setZIndex=function(e){this.zIndex=e,this.div&&(this.div.style.zIndex=e+""),google.maps.event.trigger(this,"zindex_changed")},e.prototype.getContent=function(){return this.content},e.prototype.getPosition=function(){return this.position},e.prototype.getZIndex=function(){return this.zIndex},e.prototype.getVisible=function(){return null!=this.getMap()&&!this.isHidden},e.prototype.show=function(){this.isHidden=!1,this.div&&(this.div.style.visibility="visible")},e.prototype.hide=function(){this.isHidden=!0,this.div&&(this.div.style.visibility="hidden")},e.prototype.open=function(e,t){var n=this;t&&(this.position=t.getPosition(),this.moveListener=google.maps.event.addListener(t,"position_changed",(function(){var e=t.getPosition();n.setPosition(e)})),this.mapListener=google.maps.event.addListener(t,"map_changed",(function(){n.setMap(t.map)}))),this.setMap(e),this.div&&this.panBox()},e.prototype.close=function(){if(this.closeListener&&(google.maps.event.removeListener(this.closeListener),this.closeListener=null),this.eventListeners){for(var e=0;e<this.eventListeners.length;e++)google.maps.event.removeListener(this.eventListeners[e]);this.eventListeners=null}this.moveListener&&(google.maps.event.removeListener(this.moveListener),this.moveListener=null),this.mapListener&&(google.maps.event.removeListener(this.mapListener),this.mapListener=null),this.contextListener&&(google.maps.event.removeListener(this.contextListener),this.contextListener=null),this.setMap(null)},e.prototype.extend=function(e,t){return function(e){for(var t in e.prototype)this.prototype.hasOwnProperty(t)||(this.prototype[t]=e.prototype[t]);return this}.apply(e,[t])},e}();const K={onCloseClick:"closeclick",onContentChanged:"content_changed",onDomReady:"domready",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},Y={options(e,t){e.setOptions(t)},position(e,t){t instanceof google.maps.LatLng?e.setPosition(t):e.setPosition(new google.maps.LatLng(t.lat,t.lng))},visible(e,t){e.setVisible(t)},zIndex(e,t){e.setZIndex(t)}};class X extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.containerElement=null,this.state={infoBox:null},this.open=(e,t)=>{t?e.open(this.context,t):e.getPosition()?e.open(this.context):r(!1,"You must provide either an anchor or a position prop for <InfoBox>.")},this.setInfoBoxCallback=()=>{const{anchor:e,onLoad:t}=this.props,{infoBox:n}=this.state;null!==n&&null!==this.containerElement&&(n.setContent(this.containerElement),this.open(n,e),t&&t(n))}}componentDidMount(){const{options:e}=this.props,t=e||{},{position:n}=t,o=p(t,["position"]);let i;!n||n instanceof google.maps.LatLng||(i=new google.maps.LatLng(n.lat,n.lng));const r=new $(Object.assign(Object.assign({},o),i?{position:i}:{}));this.containerElement=document.createElement("div"),this.registeredEvents=u({updaterMap:Y,eventMap:K,prevProps:{},nextProps:this.props,instance:r}),this.setState({infoBox:r},this.setInfoBoxCallback)}componentDidUpdate(e){const{infoBox:t}=this.state;null!==t&&(l(this.registeredEvents),this.registeredEvents=u({updaterMap:Y,eventMap:K,prevProps:e,nextProps:this.props,instance:t}))}componentWillUnmount(){const{onUnmount:e}=this.props,{infoBox:t}=this.state;null!==t&&(e&&e(t),l(this.registeredEvents),t.close())}render(){return this.containerElement?i.createPortal(o.Children.only(this.props.children),this.containerElement):null}}X.contextType=s;var Q={exports:{}};!function(e){function t(e,t,n,o){this.dataset=[],this.epsilon=1,this.minPts=2,this.distance=this._euclideanDistance,this.clusters=[],this.noise=[],this._visited=[],this._assigned=[],this._datasetLength=0,this._init(e,t,n,o)}t.prototype.run=function(e,t,n,o){this._init(e,t,n,o);for(var i=0;i<this._datasetLength;i++)if(1!==this._visited[i]){this._visited[i]=1;var r=this._regionQuery(i);if(r.length<this.minPts)this.noise.push(i);else{var s=this.clusters.length;this.clusters.push([]),this._addToCluster(i,s),this._expandCluster(s,r)}}return this.clusters},t.prototype._init=function(e,t,n,o){if(e){if(!(e instanceof Array))throw Error("Dataset must be of type array, "+typeof e+" given");this.dataset=e,this.clusters=[],this.noise=[],this._datasetLength=e.length,this._visited=new Array(this._datasetLength),this._assigned=new Array(this._datasetLength)}t&&(this.epsilon=t),n&&(this.minPts=n),o&&(this.distance=o)},t.prototype._expandCluster=function(e,t){for(var n=0;n<t.length;n++){var o=t[n];if(1!==this._visited[o]){this._visited[o]=1;var i=this._regionQuery(o);i.length>=this.minPts&&(t=this._mergeArrays(t,i))}1!==this._assigned[o]&&this._addToCluster(o,e)}},t.prototype._addToCluster=function(e,t){this.clusters[t].push(e),this._assigned[e]=1},t.prototype._regionQuery=function(e){for(var t=[],n=0;n<this._datasetLength;n++)this.distance(this.dataset[e],this.dataset[n])<this.epsilon&&t.push(n);return t},t.prototype._mergeArrays=function(e,t){for(var n=t.length,o=0;o<n;o++){var i=t[o];e.indexOf(i)<0&&e.push(i)}return e},t.prototype._euclideanDistance=function(e,t){for(var n=0,o=Math.min(e.length,t.length);o--;)n+=(e[o]-t[o])*(e[o]-t[o]);return Math.sqrt(n)},e.exports&&(e.exports=t)}(Q);var J={exports:{}};!function(e){function t(e,t,n){this.k=3,this.dataset=[],this.assignments=[],this.centroids=[],this.init(e,t,n)}t.prototype.init=function(e,t,n){this.assignments=[],this.centroids=[],void 0!==e&&(this.dataset=e),void 0!==t&&(this.k=t),void 0!==n&&(this.distance=n)},t.prototype.run=function(e,t){this.init(e,t);for(var n=this.dataset.length,o=0;o<this.k;o++)this.centroids[o]=this.randomCentroid();for(var i=!0;i;){i=this.assign();for(var r=0;r<this.k;r++){for(var s=new Array(c),a=0,l=0;l<c;l++)s[l]=0;for(var u=0;u<n;u++){var c=this.dataset[u].length;if(r===this.assignments[u]){for(l=0;l<c;l++)s[l]+=this.dataset[u][l];a++}}if(a>0){for(l=0;l<c;l++)s[l]/=a;this.centroids[r]=s}else this.centroids[r]=this.randomCentroid(),i=!0}}return this.getClusters()},t.prototype.randomCentroid=function(){var e,t,n=this.dataset.length-1;do{t=Math.round(Math.random()*n),e=this.dataset[t]}while(this.centroids.indexOf(e)>=0);return e},t.prototype.assign=function(){for(var e,t=!1,n=this.dataset.length,o=0;o<n;o++)(e=this.argmin(this.dataset[o],this.centroids,this.distance))!=this.assignments[o]&&(this.assignments[o]=e,t=!0);return t},t.prototype.getClusters=function(){for(var e,t=new Array(this.k),n=0;n<this.assignments.length;n++)void 0===t[e=this.assignments[n]]&&(t[e]=[]),t[e].push(n);return t},t.prototype.argmin=function(e,t,n){for(var o,i=Number.MAX_VALUE,r=0,s=t.length,a=0;a<s;a++)(o=n(e,t[a]))<i&&(i=o,r=a);return r},t.prototype.distance=function(e,t){for(var n=0,o=Math.min(e.length,t.length);o--;){var i=e[o]-t[o];n+=i*i}return Math.sqrt(n)},e.exports&&(e.exports=t)}(J);var ee,te={exports:{}},ne={exports:{}};!function(e){function t(e,t,n){this._queue=[],this._priorities=[],this._sorting="desc",this._init(e,t,n)}t.prototype.insert=function(e,t){for(var n=this._queue.length,o=n;o--;){var i=this._priorities[o];"desc"===this._sorting?t>i&&(n=o):t<i&&(n=o)}this._insertAt(e,t,n)},t.prototype.remove=function(e){for(var t=this._queue.length;t--;)if(e===this._queue[t]){this._queue.splice(t,1),this._priorities.splice(t,1);break}},t.prototype.forEach=function(e){this._queue.forEach(e)},t.prototype.getElements=function(){return this._queue},t.prototype.getElementPriority=function(e){return this._priorities[e]},t.prototype.getPriorities=function(){return this._priorities},t.prototype.getElementsWithPriorities=function(){for(var e=[],t=0,n=this._queue.length;t<n;t++)e.push([this._queue[t],this._priorities[t]]);return e},t.prototype._init=function(e,t,n){if(e&&t){if(this._queue=[],this._priorities=[],e.length!==t.length)throw new Error("Arrays must have the same length");for(var o=0;o<e.length;o++)this.insert(e[o],t[o])}n&&(this._sorting=n)},t.prototype._insertAt=function(e,t,n){this._queue.length===n?(this._queue.push(e),this._priorities.push(t)):(this._queue.splice(n,0,e),this._priorities.splice(n,0,t))},e.exports&&(e.exports=t)}(ne),function(e){if(e.exports)var t=ne.exports;function n(e,t,n,o){this.epsilon=1,this.minPts=1,this.distance=this._euclideanDistance,this._reachability=[],this._processed=[],this._coreDistance=0,this._orderedList=[],this._init(e,t,n,o)}n.prototype.run=function(e,n,o,i){this._init(e,n,o,i);for(var r=0,s=this.dataset.length;r<s;r++)if(1!==this._processed[r]){this._processed[r]=1,this.clusters.push([r]);var a=this.clusters.length-1;this._orderedList.push(r);var l=new t(null,null,"asc"),u=this._regionQuery(r);void 0!==this._distanceToCore(r)&&(this._updateQueue(r,u,l),this._expandCluster(a,l))}return this.clusters},n.prototype.getReachabilityPlot=function(){for(var e=[],t=0,n=this._orderedList.length;t<n;t++){var o=this._orderedList[t],i=this._reachability[o];e.push([o,i])}return e},n.prototype._init=function(e,t,n,o){if(e){if(!(e instanceof Array))throw Error("Dataset must be of type array, "+typeof e+" given");this.dataset=e,this.clusters=[],this._reachability=new Array(this.dataset.length),this._processed=new Array(this.dataset.length),this._coreDistance=0,this._orderedList=[]}t&&(this.epsilon=t),n&&(this.minPts=n),o&&(this.distance=o)},n.prototype._updateQueue=function(e,t,n){var o=this;this._coreDistance=this._distanceToCore(e),t.forEach((function(t){if(void 0===o._processed[t]){var i=o.distance(o.dataset[e],o.dataset[t]),r=Math.max(o._coreDistance,i);void 0===o._reachability[t]?(o._reachability[t]=r,n.insert(t,r)):r<o._reachability[t]&&(o._reachability[t]=r,n.remove(t),n.insert(t,r))}}))},n.prototype._expandCluster=function(e,t){for(var n=t.getElements(),o=0,i=n.length;o<i;o++){var r=n[o];if(void 0===this._processed[r]){var s=this._regionQuery(r);this._processed[r]=1,this.clusters[e].push(r),this._orderedList.push(r),void 0!==this._distanceToCore(r)&&(this._updateQueue(r,s,t),this._expandCluster(e,t))}}},n.prototype._distanceToCore=function(e){for(var t=this.epsilon,n=0;n<t;n++)if(this._regionQuery(e,n).length>=this.minPts)return n},n.prototype._regionQuery=function(e,t){t=t||this.epsilon;for(var n=[],o=0,i=this.dataset.length;o<i;o++)this.distance(this.dataset[e],this.dataset[o])<t&&n.push(o);return n},n.prototype._euclideanDistance=function(e,t){for(var n=0,o=Math.min(e.length,t.length);o--;)n+=(e[o]-t[o])*(e[o]-t[o]);return Math.sqrt(n)},e.exports&&(e.exports=n)}(te),(ee={exports:{}}).exports&&(ee.exports={DBSCAN:Q.exports,KMEANS:J.exports,OPTICS:te.exports,PriorityQueue:ne.exports});var oe;!function(e,t){e.exports=function(){function e(n,o,i,r,s,a){if(!(s-r<=i)){var l=r+s>>1;t(n,o,l,r,s,a%2),e(n,o,i,r,l-1,a+1),e(n,o,i,l+1,s,a+1)}}function t(e,o,i,r,s,a){for(;s>r;){if(s-r>600){var l=s-r+1,u=i-r+1,c=Math.log(l),d=.5*Math.exp(2*c/3),h=.5*Math.sqrt(c*d*(l-d)/l)*(u-l/2<0?-1:1);t(e,o,i,Math.max(r,Math.floor(i-u*d/l+h)),Math.min(s,Math.floor(i+(l-u)*d/l+h)),a)}var p=o[2*i+a],f=r,g=s;for(n(e,o,r,i),o[2*s+a]>p&&n(e,o,r,s);f<g;){for(n(e,o,f,g),f++,g--;o[2*f+a]<p;)f++;for(;o[2*g+a]>p;)g--}o[2*r+a]===p?n(e,o,r,g):n(e,o,++g,s),g<=i&&(r=g+1),i<=g&&(s=g-1)}}function n(e,t,n,i){o(e,n,i),o(t,2*n,2*i),o(t,2*n+1,2*i+1)}function o(e,t,n){var o=e[t];e[t]=e[n],e[n]=o}function i(e,t,n,o){var i=e-n,r=t-o;return i*i+r*r}var r=function(e){return e[0]},s=function(e){return e[1]},a=function(t,n,o,i,a){void 0===n&&(n=r),void 0===o&&(o=s),void 0===i&&(i=64),void 0===a&&(a=Float64Array),this.nodeSize=i,this.points=t;for(var l=t.length<65536?Uint16Array:Uint32Array,u=this.ids=new l(t.length),c=this.coords=new a(2*t.length),d=0;d<t.length;d++)u[d]=d,c[2*d]=n(t[d]),c[2*d+1]=o(t[d]);e(u,c,i,0,u.length-1,0)};a.prototype.range=function(e,t,n,o){return function(e,t,n,o,i,r,s){for(var a,l,u=[0,e.length-1,0],c=[];u.length;){var d=u.pop(),h=u.pop(),p=u.pop();if(h-p<=s)for(var f=p;f<=h;f++)a=t[2*f],l=t[2*f+1],a>=n&&a<=i&&l>=o&&l<=r&&c.push(e[f]);else{var g=Math.floor((p+h)/2);a=t[2*g],l=t[2*g+1],a>=n&&a<=i&&l>=o&&l<=r&&c.push(e[g]);var m=(d+1)%2;(0===d?n<=a:o<=l)&&(u.push(p),u.push(g-1),u.push(m)),(0===d?i>=a:r>=l)&&(u.push(g+1),u.push(h),u.push(m))}}return c}(this.ids,this.coords,e,t,n,o,this.nodeSize)},a.prototype.within=function(e,t,n){return function(e,t,n,o,r,s){for(var a=[0,e.length-1,0],l=[],u=r*r;a.length;){var c=a.pop(),d=a.pop(),h=a.pop();if(d-h<=s)for(var p=h;p<=d;p++)i(t[2*p],t[2*p+1],n,o)<=u&&l.push(e[p]);else{var f=Math.floor((h+d)/2),g=t[2*f],m=t[2*f+1];i(g,m,n,o)<=u&&l.push(e[f]);var v=(c+1)%2;(0===c?n-r<=g:o-r<=m)&&(a.push(h),a.push(f-1),a.push(v)),(0===c?n+r>=g:o+r>=m)&&(a.push(f+1),a.push(d),a.push(v))}}return l}(this.ids,this.coords,e,t,n,this.nodeSize)};var l,u={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:function(e){return e}},c=Math.fround||(l=new Float32Array(1),function(e){return l[0]=+e,l[0]}),d=function(e){this.options=y(Object.create(u),e),this.trees=new Array(this.options.maxZoom+1)};function h(e,t,n,o,i){return{x:c(e),y:c(t),zoom:1/0,id:n,parentId:-1,numPoints:o,properties:i}}function p(e,t){var n=e.geometry.coordinates,o=n[0],i=n[1];return{x:c(m(o)),y:c(v(i)),zoom:1/0,index:t,parentId:-1}}function f(e){return{type:"Feature",id:e.id,properties:g(e),geometry:{type:"Point",coordinates:[(o=e.x,360*(o-.5)),(t=e.y,n=(180-360*t)*Math.PI/180,360*Math.atan(Math.exp(n))/Math.PI-90)]}};var t,n,o}function g(e){var t=e.numPoints,n=t>=1e4?Math.round(t/1e3)+"k":t>=1e3?Math.round(t/100)/10+"k":t;return y(y({},e.properties),{cluster:!0,cluster_id:e.id,point_count:t,point_count_abbreviated:n})}function m(e){return e/360+.5}function v(e){var t=Math.sin(e*Math.PI/180),n=.5-.25*Math.log((1+t)/(1-t))/Math.PI;return n<0?0:n>1?1:n}function y(e,t){for(var n in t)e[n]=t[n];return e}function S(e){return e.x}function b(e){return e.y}return d.prototype.load=function(e){var t=this.options,n=t.log,o=t.minZoom,i=t.maxZoom,r=t.nodeSize;n&&console.time("total time");var s="prepare "+e.length+" points";n&&console.time(s),this.points=e;for(var l=[],u=0;u<e.length;u++)e[u].geometry&&l.push(p(e[u],u));this.trees[i+1]=new a(l,S,b,r,Float32Array),n&&console.timeEnd(s);for(var c=i;c>=o;c--){var d=+Date.now();l=this._cluster(l,c),this.trees[c]=new a(l,S,b,r,Float32Array),n&&console.log("z%d: %d clusters in %dms",c,l.length,+Date.now()-d)}return n&&console.timeEnd("total time"),this},d.prototype.getClusters=function(e,t){var n=((e[0]+180)%360+360)%360-180,o=Math.max(-90,Math.min(90,e[1])),i=180===e[2]?180:((e[2]+180)%360+360)%360-180,r=Math.max(-90,Math.min(90,e[3]));if(e[2]-e[0]>=360)n=-180,i=180;else if(n>i){var s=this.getClusters([n,o,180,r],t),a=this.getClusters([-180,o,i,r],t);return s.concat(a)}for(var l=this.trees[this._limitZoom(t)],u=[],c=0,d=l.range(m(n),v(r),m(i),v(o));c<d.length;c+=1){var h=d[c],p=l.points[h];u.push(p.numPoints?f(p):this.points[p.index])}return u},d.prototype.getChildren=function(e){var t=this._getOriginId(e),n=this._getOriginZoom(e),o="No cluster with the specified id.",i=this.trees[n];if(!i)throw new Error(o);var r=i.points[t];if(!r)throw new Error(o);for(var s=this.options.radius/(this.options.extent*Math.pow(2,n-1)),a=[],l=0,u=i.within(r.x,r.y,s);l<u.length;l+=1){var c=u[l],d=i.points[c];d.parentId===e&&a.push(d.numPoints?f(d):this.points[d.index])}if(0===a.length)throw new Error(o);return a},d.prototype.getLeaves=function(e,t,n){t=t||10,n=n||0;var o=[];return this._appendLeaves(o,e,t,n,0),o},d.prototype.getTile=function(e,t,n){var o=this.trees[this._limitZoom(e)],i=Math.pow(2,e),r=this.options,s=r.extent,a=r.radius/s,l=(n-a)/i,u=(n+1+a)/i,c={features:[]};return this._addTileFeatures(o.range((t-a)/i,l,(t+1+a)/i,u),o.points,t,n,i,c),0===t&&this._addTileFeatures(o.range(1-a/i,l,1,u),o.points,i,n,i,c),t===i-1&&this._addTileFeatures(o.range(0,l,a/i,u),o.points,-1,n,i,c),c.features.length?c:null},d.prototype.getClusterExpansionZoom=function(e){for(var t=this._getOriginZoom(e)-1;t<=this.options.maxZoom;){var n=this.getChildren(e);if(t++,1!==n.length)break;e=n[0].properties.cluster_id}return t},d.prototype._appendLeaves=function(e,t,n,o,i){for(var r=0,s=this.getChildren(t);r<s.length;r+=1){var a=s[r],l=a.properties;if(l&&l.cluster?i+l.point_count<=o?i+=l.point_count:i=this._appendLeaves(e,l.cluster_id,n,o,i):i<o?i++:e.push(a),e.length===n)break}return i},d.prototype._addTileFeatures=function(e,t,n,o,i,r){for(var s=0,a=e;s<a.length;s+=1){var l=t[a[s]],u=l.numPoints,c=void 0,d=void 0,h=void 0;if(u)c=g(l),d=l.x,h=l.y;else{var p=this.points[l.index];c=p.properties,d=m(p.geometry.coordinates[0]),h=v(p.geometry.coordinates[1])}var f={type:1,geometry:[[Math.round(this.options.extent*(d*i-n)),Math.round(this.options.extent*(h*i-o))]],tags:c},y=void 0;u?y=l.id:this.options.generateId?y=l.index:this.points[l.index].id&&(y=this.points[l.index].id),void 0!==y&&(f.id=y),r.features.push(f)}},d.prototype._limitZoom=function(e){return Math.max(this.options.minZoom,Math.min(+e,this.options.maxZoom+1))},d.prototype._cluster=function(e,t){for(var n=[],o=this.options,i=o.radius,r=o.extent,s=o.reduce,a=o.minPoints,l=i/(r*Math.pow(2,t)),u=0;u<e.length;u++){var c=e[u];if(!(c.zoom<=t)){c.zoom=t;for(var d=this.trees[t+1],p=d.within(c.x,c.y,l),f=c.numPoints||1,g=f,m=0,v=p;m<v.length;m+=1){var y=v[m],S=d.points[y];S.zoom>t&&(g+=S.numPoints||1)}if(g>f&&g>=a){for(var b=c.x*f,C=c.y*f,M=s&&f>1?this._map(c,!0):null,x=(u<<5)+(t+1)+this.points.length,w=0,_=p;w<_.length;w+=1){var k=_[w],O=d.points[k];if(!(O.zoom<=t)){O.zoom=t;var E=O.numPoints||1;b+=O.x*E,C+=O.y*E,O.parentId=x,s&&(M||(M=this._map(c,!0)),s(M,this._map(O)))}}c.parentId=x,n.push(h(b/g,C/g,x,g,M))}else if(n.push(c),g>1)for(var z=0,T=p;z<T.length;z+=1){var P=T[z],R=d.points[P];R.zoom<=t||(R.zoom=t,n.push(R))}}}return n},d.prototype._getOriginId=function(e){return e-this.points.length>>5},d.prototype._getOriginZoom=function(e){return(e-this.points.length)%32},d.prototype._map=function(e,t){if(e.numPoints)return t?y({},e.properties):e.properties;var n=this.points[e.index].properties,o=this.options.map(n);return t&&o===n?y({},o):o},d}()}({exports:{}}),function(e){e.CLUSTERING_BEGIN="clusteringbegin",e.CLUSTERING_END="clusteringend",e.CLUSTER_CLICK="click"}(oe||(oe={}));const ie={onCloseClick:"closeclick",onContentChanged:"content_changed",onDomReady:"domready",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},re={options(e,t){e.setOptions(t)},position(e,t){e.setPosition(t)},zIndex(e,t){e.setZIndex(t)}};class se extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.containerElement=null,this.state={infoWindow:null},this.open=(e,t)=>{t?e.open(this.context,t):e.getPosition()?e.open(this.context):r(!1,"You must provide either an anchor (typically render it inside a <Marker>) or a position props for <InfoWindow>.")},this.setInfoWindowCallback=()=>{null!==this.state.infoWindow&&null!==this.containerElement&&(this.state.infoWindow.setContent(this.containerElement),this.open(this.state.infoWindow,this.props.anchor),this.props.onLoad&&this.props.onLoad(this.state.infoWindow))}}componentDidMount(){const e=new google.maps.InfoWindow(Object.assign({},this.props.options||{}));this.containerElement=document.createElement("div"),this.registeredEvents=u({updaterMap:re,eventMap:ie,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{infoWindow:e}}),this.setInfoWindowCallback)}componentDidUpdate(e){null!==this.state.infoWindow&&(l(this.registeredEvents),this.registeredEvents=u({updaterMap:re,eventMap:ie,prevProps:e,nextProps:this.props,instance:this.state.infoWindow}))}componentWillUnmount(){null!==this.state.infoWindow&&(l(this.registeredEvents),this.state.infoWindow.close())}render(){return this.containerElement?i.createPortal(o.Children.only(this.props.children),this.containerElement):o.createElement(o.Fragment,null)}}se.contextType=s;const ae={onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},le={draggable(e,t){e.setDraggable(t)},editable(e,t){e.setEditable(t)},map(e,t){e.setMap(t)},options(e,t){e.setOptions(t)},path(e,t){e.setPath(t)},visible(e,t){e.setVisible(t)}};class ue extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={polyline:null},this.setPolylineCallback=()=>{null!==this.state.polyline&&this.props.onLoad&&this.props.onLoad(this.state.polyline)}}componentDidMount(){const e=new google.maps.Polyline(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=u({updaterMap:le,eventMap:ae,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{polyline:e}}),this.setPolylineCallback)}componentDidUpdate(e){null!==this.state.polyline&&(l(this.registeredEvents),this.registeredEvents=u({updaterMap:le,eventMap:ae,prevProps:e,nextProps:this.props,instance:this.state.polyline}))}componentWillUnmount(){null!==this.state.polyline&&(this.props.onUnmount&&this.props.onUnmount(this.state.polyline),l(this.registeredEvents),this.state.polyline.setMap(null))}render(){return o.createElement(o.Fragment,null)}}ue.contextType=s;const ce={onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},de={draggable(e,t){e.setDraggable(t)},editable(e,t){e.setEditable(t)},map(e,t){e.setMap(t)},options(e,t){e.setOptions(t)},path(e,t){e.setPath(t)},paths(e,t){e.setPaths(t)},visible(e,t){e.setVisible(t)}};class he extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={polygon:null},this.setPolygonCallback=()=>{null!==this.state.polygon&&this.props.onLoad&&this.props.onLoad(this.state.polygon)}}componentDidMount(){const e=new google.maps.Polygon(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=u({updaterMap:de,eventMap:ce,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{polygon:e}}),this.setPolygonCallback)}componentDidUpdate(e){null!==this.state.polygon&&(l(this.registeredEvents),this.registeredEvents=u({updaterMap:de,eventMap:ce,prevProps:e,nextProps:this.props,instance:this.state.polygon}))}componentWillUnmount(){null!==this.state.polygon&&(this.props.onUnmount&&this.props.onUnmount(this.state.polygon),l(this.registeredEvents),this.state.polygon&&this.state.polygon.setMap(null))}render(){return null}}he.contextType=s;const pe={onBoundsChanged:"bounds_changed",onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},fe={bounds(e,t){e.setBounds(t)},draggable(e,t){e.setDraggable(t)},editable(e,t){e.setEditable(t)},map(e,t){e.setMap(t)},options(e,t){e.setOptions(t)},visible(e,t){e.setVisible(t)}};class ge extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={rectangle:null},this.setRectangleCallback=()=>{null!==this.state.rectangle&&this.props.onLoad&&this.props.onLoad(this.state.rectangle)}}componentDidMount(){const e=new google.maps.Rectangle(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=u({updaterMap:fe,eventMap:pe,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{rectangle:e}}),this.setRectangleCallback)}componentDidUpdate(e){null!==this.state.rectangle&&(l(this.registeredEvents),this.registeredEvents=u({updaterMap:fe,eventMap:pe,prevProps:e,nextProps:this.props,instance:this.state.rectangle}))}componentWillUnmount(){null!==this.state.rectangle&&(this.props.onUnmount&&this.props.onUnmount(this.state.rectangle),l(this.registeredEvents),this.state.rectangle.setMap(null))}render(){return o.createElement(o.Fragment,null)}}ge.contextType=s;const me={onCenterChanged:"center_changed",onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRadiusChanged:"radius_changed",onRightClick:"rightclick"},ve={center(e,t){e.setCenter(t)},draggable(e,t){e.setDraggable(t)},editable(e,t){e.setEditable(t)},map(e,t){e.setMap(t)},options(e,t){e.setOptions(t)},radius(e,t){e.setRadius(t)},visible(e,t){e.setVisible(t)}};class ye extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={circle:null},this.setCircleCallback=()=>{null!==this.state.circle&&this.props.onLoad&&this.props.onLoad(this.state.circle)}}componentDidMount(){const e=new google.maps.Circle(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=u({updaterMap:ve,eventMap:me,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{circle:e}}),this.setCircleCallback)}componentDidUpdate(e){null!==this.state.circle&&(l(this.registeredEvents),this.registeredEvents=u({updaterMap:ve,eventMap:me,prevProps:e,nextProps:this.props,instance:this.state.circle}))}componentWillUnmount(){null!==this.state.circle&&(this.props.onUnmount&&this.props.onUnmount(this.state.circle),l(this.registeredEvents),this.state.circle&&this.state.circle.setMap(null))}render(){return o.createElement(o.Fragment,null)}}ye.contextType=s;const Se={onAddFeature:"addfeature",onClick:"click",onDblClick:"dblclick",onMouseDown:"mousedown",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRemoveFeature:"removefeature",onRemoveProperty:"removeproperty",onRightClick:"rightclick",onSetGeometry:"setgeometry",onSetProperty:"setproperty"},be={add(e,t){e.add(t)},addgeojson(e,t,n){e.addGeoJson(t,n)},contains(e,t){e.contains(t)},foreach(e,t){e.forEach(t)},loadgeojson(e,t,n,o){e.loadGeoJson(t,n,o)},overridestyle(e,t,n){e.overrideStyle(t,n)},remove(e,t){e.remove(t)},revertstyle(e,t){e.revertStyle(t)},controlposition(e,t){e.setControlPosition(t)},controls(e,t){e.setControls(t)},drawingmode(e,t){e.setDrawingMode(t)},map(e,t){e.setMap(t)},style(e,t){e.setStyle(t)},togeojson(e,t){e.toGeoJson(t)}};class Ce extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={data:null},this.setDataCallback=()=>{null!==this.state.data&&this.props.onLoad&&this.props.onLoad(this.state.data)}}componentDidMount(){const e=new google.maps.Data(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=u({updaterMap:be,eventMap:Se,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{data:e}}),this.setDataCallback)}componentDidUpdate(e){null!==this.state.data&&(l(this.registeredEvents),this.registeredEvents=u({updaterMap:be,eventMap:Se,prevProps:e,nextProps:this.props,instance:this.state.data}))}componentWillUnmount(){null!==this.state.data&&(this.props.onUnmount&&this.props.onUnmount(this.state.data),l(this.registeredEvents),this.state.data&&this.state.data.setMap(null))}render(){return null}}Ce.contextType=s;const Me={onClick:"click",onDefaultViewportChanged:"defaultviewport_changed",onStatusChanged:"status_changed"},xe={options(e,t){e.setOptions(t)},url(e,t){e.setUrl(t)},zIndex(e,t){e.setZIndex(t)}};class we extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={kmlLayer:null},this.setKmlLayerCallback=()=>{null!==this.state.kmlLayer&&this.props.onLoad&&this.props.onLoad(this.state.kmlLayer)}}componentDidMount(){const e=new google.maps.KmlLayer(Object.assign(Object.assign({},this.props.options),{map:this.context}));this.registeredEvents=u({updaterMap:xe,eventMap:Me,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{kmlLayer:e}}),this.setKmlLayerCallback)}componentDidUpdate(e){null!==this.state.kmlLayer&&(l(this.registeredEvents),this.registeredEvents=u({updaterMap:xe,eventMap:Me,prevProps:e,nextProps:this.props,instance:this.state.kmlLayer}))}componentWillUnmount(){null!==this.state.kmlLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.kmlLayer),l(this.registeredEvents),this.state.kmlLayer.setMap(null))}render(){return null}}we.contextType=s;const _e=(e,t)=>new t(e.lat,e.lng),ke=(e,t)=>new t(new google.maps.LatLng(e.ne.lat,e.ne.lng),new google.maps.LatLng(e.sw.lat,e.sw.lng)),Oe=(e,t,n)=>e instanceof t?e:n(e,t);function Ee(e){return e?(e instanceof google.maps.LatLng?e:new google.maps.LatLng(e.lat,e.lng))+"":""}function ze(e){return e?(e instanceof google.maps.LatLngBounds?e:new google.maps.LatLngBounds(new google.maps.LatLng(e.south,e.east),new google.maps.LatLng(e.north,e.west)))+"":""}class Te extends o.PureComponent{constructor(e){super(e),this.state={paneEl:null,containerStyle:{position:"absolute"}},this.updatePane=()=>{const e=this.props.mapPaneName,t=this.overlayView.getPanes();r(!!e,"OverlayView requires props.mapPaneName but got %s",e),t?this.setState({paneEl:t[e]}):this.setState({paneEl:null})},this.onAdd=()=>{var e,t;this.updatePane(),null===(t=(e=this.props).onLoad)||void 0===t||t.call(e,this.overlayView)},this.onPositionElement=()=>{var e,t;const n=(a=this.overlayView.getProjection(),l=Object.assign({x:0,y:0},this.containerRef.current?(e=this.containerRef.current,"function"==typeof(t=this.props.getPixelPositionOffset)?t(e.offsetWidth,e.offsetHeight):{}):{}),u=this.props.bounds,c=this.props.position,void 0!==u?((e,t,n)=>{const o=e&&e.fromLatLngToDivPixel(n.getNorthEast()),i=e&&e.fromLatLngToDivPixel(n.getSouthWest());return o&&i?{left:`${i.x+t.x}px`,top:`${o.y+t.y}px`,width:o.x-i.x-t.x+"px",height:i.y-o.y-t.y+"px"}:{left:"-9999px",top:"-9999px"}})(a,l,Oe(u,google.maps.LatLngBounds,ke)):((e,t,n)=>{const o=e&&e.fromLatLngToDivPixel(n);if(o){const{x:e,y:n}=o;return{left:`${e+t.x}px`,top:`${n+t.y}px`}}return{left:"-9999px",top:"-9999px"}})(a,l,Oe(c,google.maps.LatLng,_e))),{left:o,top:i,width:r,height:s}=this.state.containerStyle;var a,l,u,c,d,h;h={left:o,top:i,width:r,height:s},((d=n).left!==h.left||d.top!==h.top||d.width!==h.height||d.height!==h.height)&&this.setState({containerStyle:Object.assign(Object.assign({},n),{position:"absolute"})})},this.draw=()=>{this.onPositionElement()},this.onRemove=()=>{var e,t;this.setState((()=>({paneEl:null}))),null===(t=(e=this.props).onUnmount)||void 0===t||t.call(e,this.overlayView)},this.containerRef=o.createRef();const t=new google.maps.OverlayView;t.onAdd=this.onAdd,t.draw=this.draw,t.onRemove=this.onRemove,this.overlayView=t}componentDidMount(){this.overlayView.setMap(this.context)}componentDidUpdate(e){const t=Ee(e.position),n=Ee(this.props.position),o=ze(e.bounds),i=ze(this.props.bounds);t===n&&o===i||this.overlayView.draw(),e.mapPaneName!==this.props.mapPaneName&&this.updatePane()}componentWillUnmount(){this.overlayView.setMap(null)}render(){const e=this.state.paneEl;return e?i.createPortal(o.createElement("div",{ref:this.containerRef,style:this.state.containerStyle},o.Children.only(this.props.children)),e):null}}Te.FLOAT_PANE="floatPane",Te.MAP_PANE="mapPane",Te.MARKER_LAYER="markerLayer",Te.OVERLAY_LAYER="overlayLayer",Te.OVERLAY_MOUSE_TARGET="overlayMouseTarget",Te.contextType=s;const Pe={onDblClick:"dblclick",onClick:"click"},Re={opacity(e,t){e.setOpacity(t)}};class Ie extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={groundOverlay:null},this.setGroundOverlayCallback=()=>{null!==this.state.groundOverlay&&this.props.onLoad&&this.props.onLoad(this.state.groundOverlay)}}componentDidMount(){r(!!this.props.url||!!this.props.bounds,"For GroundOverlay, url and bounds are passed in to constructor and are immutable after instantiated. This is the behavior of Google Maps JavaScript API v3 ( See https://developers.google.com/maps/documentation/javascript/reference#GroundOverlay) Hence, use the corresponding two props provided by `react-google-maps-api`, url and bounds. In some cases, you'll need the GroundOverlay component to reflect the changes of url and bounds. You can leverage the React's key property to remount the component. Typically, just `key={url}` would serve your need. See https://github.com/tomchentw/react-google-maps/issues/655");const e=new google.maps.GroundOverlay(this.props.url,this.props.bounds,Object.assign(Object.assign({},this.props.options),{map:this.context}));this.registeredEvents=u({updaterMap:Re,eventMap:Pe,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{groundOverlay:e}}),this.setGroundOverlayCallback)}componentDidUpdate(e){null!==this.state.groundOverlay&&(l(this.registeredEvents),this.registeredEvents=u({updaterMap:Re,eventMap:Pe,prevProps:e,nextProps:this.props,instance:this.state.groundOverlay}))}componentWillUnmount(){this.state.groundOverlay&&(this.props.onUnmount&&this.props.onUnmount(this.state.groundOverlay),this.state.groundOverlay.setMap(null))}render(){return null}}Ie.defaultProps={onLoad:function(){}},Ie.contextType=s;const Le={},Be={data(e,t){e.setData(t)},map(e,t){e.setMap(t)},options(e,t){e.setOptions(t)}};class We extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={heatmapLayer:null},this.setHeatmapLayerCallback=()=>{null!==this.state.heatmapLayer&&this.props.onLoad&&this.props.onLoad(this.state.heatmapLayer)}}componentDidMount(){r(!!google.maps.visualization,'Did you include prop libraries={["visualization"]} to <LoadScript />? %s',google.maps.visualization),r(!!this.props.data,"data property is required in HeatmapLayer %s",this.props.data);const e=new google.maps.visualization.HeatmapLayer(Object.assign(Object.assign({},this.props.options||{}),{data:this.props.data,map:this.context}));this.registeredEvents=u({updaterMap:Be,eventMap:Le,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{heatmapLayer:e}}),this.setHeatmapLayerCallback)}componentDidUpdate(e){l(this.registeredEvents),this.registeredEvents=u({updaterMap:Be,eventMap:Le,prevProps:e,nextProps:this.props,instance:this.state.heatmapLayer})}componentWillUnmount(){null!==this.state.heatmapLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.heatmapLayer),l(this.registeredEvents),this.state.heatmapLayer.setMap(null))}render(){return null}}We.contextType=s;const Ae={onCloseClick:"closeclick",onPanoChanged:"pano_changed",onPositionChanged:"position_changed",onPovChanged:"pov_changed",onResize:"resize",onStatusChanged:"status_changed",onVisibleChanged:"visible_changed",onZoomChanged:"zoom_changed"},De={register(e,t,n){e.registerPanoProvider(t,n)},links(e,t){e.setLinks(t)},motionTracking(e,t){e.setMotionTracking(t)},options(e,t){e.setOptions(t)},pano(e,t){e.setPano(t)},position(e,t){e.setPosition(t)},pov(e,t){e.setPov(t)},visible(e,t){e.setVisible(t)},zoom(e,t){e.setZoom(t)}};class Fe extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={streetViewPanorama:null},this.setStreetViewPanoramaCallback=()=>{null!==this.state.streetViewPanorama&&this.props.onLoad&&this.props.onLoad(this.state.streetViewPanorama)}}componentDidMount(){const e=this.context.getStreetView();this.registeredEvents=u({updaterMap:De,eventMap:Ae,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{streetViewPanorama:e}}),this.setStreetViewPanoramaCallback)}componentDidUpdate(e){null!==this.state.streetViewPanorama&&(l(this.registeredEvents),this.registeredEvents=u({updaterMap:De,eventMap:Ae,prevProps:e,nextProps:this.props,instance:this.state.streetViewPanorama}))}componentWillUnmount(){null!==this.state.streetViewPanorama&&(this.props.onUnmount&&this.props.onUnmount(this.state.streetViewPanorama),l(this.registeredEvents),this.state.streetViewPanorama.setVisible(!1))}render(){return null}}Fe.contextType=s;class je extends o.PureComponent{constructor(){super(...arguments),this.state={streetViewService:null},this.setStreetViewServiceCallback=()=>{null!==this.state.streetViewService&&this.props.onLoad&&this.props.onLoad(this.state.streetViewService)}}componentDidMount(){const e=new google.maps.StreetViewService;this.setState((function(){return{streetViewService:e}}),this.setStreetViewServiceCallback)}componentWillUnmount(){null!==this.state.streetViewService&&this.props.onUnmount&&this.props.onUnmount(this.state.streetViewService)}render(){return null}}je.contextType=s,o.PureComponent;const Ge={onDirectionsChanged:"directions_changed"},He={directions(e,t){e.setDirections(t)},map(e,t){e.setMap(t)},options(e,t){e.setOptions(t)},panel(e,t){e.setPanel(t)},routeIndex(e,t){e.setRouteIndex(t)}};class Ne extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={directionsRenderer:null},this.setDirectionsRendererCallback=()=>{null!==this.state.directionsRenderer&&(this.state.directionsRenderer.setMap(this.context),this.props.onLoad&&this.props.onLoad(this.state.directionsRenderer))}}componentDidMount(){const e=new google.maps.DirectionsRenderer(this.props.options);this.registeredEvents=u({updaterMap:He,eventMap:Ge,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{directionsRenderer:e}}),this.setDirectionsRendererCallback)}componentDidUpdate(e){null!==this.state.directionsRenderer&&(l(this.registeredEvents),this.registeredEvents=u({updaterMap:He,eventMap:Ge,prevProps:e,nextProps:this.props,instance:this.state.directionsRenderer}))}componentWillUnmount(){null!==this.state.directionsRenderer&&(this.props.onUnmount&&this.props.onUnmount(this.state.directionsRenderer),l(this.registeredEvents),this.state.directionsRenderer&&this.state.directionsRenderer.setMap(null))}render(){return o.createElement(o.Fragment,null)}}Ne.contextType=s,o.PureComponent;const Ue={onPlacesChanged:"places_changed"},Ve={bounds(e,t){e.setBounds(t)}};class Ze extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.containerElement=o.createRef(),this.state={searchBox:null},this.setSearchBoxCallback=()=>{null!==this.state.searchBox&&this.props.onLoad&&this.props.onLoad(this.state.searchBox)}}componentDidMount(){if(r(!!google.maps.places,'You need to provide libraries={["places"]} prop to <LoadScript /> component %s',google.maps.places),null!==this.containerElement&&null!==this.containerElement.current){const e=this.containerElement.current.querySelector("input");if(null!==e){const t=new google.maps.places.SearchBox(e,this.props.options);this.registeredEvents=u({updaterMap:Ve,eventMap:Ue,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{searchBox:t}}),this.setSearchBoxCallback)}}}componentDidUpdate(e){null!==this.state.searchBox&&(l(this.registeredEvents),this.registeredEvents=u({updaterMap:Ve,eventMap:Ue,prevProps:e,nextProps:this.props,instance:this.state.searchBox}))}componentWillUnmount(){null!==this.state.searchBox&&(this.props.onUnmount&&this.props.onUnmount(this.state.searchBox),l(this.registeredEvents))}render(){return o.createElement("div",{ref:this.containerElement},o.Children.only(this.props.children))}}Ze.contextType=s;const qe={onPlaceChanged:"place_changed"},$e={bounds(e,t){e.setBounds(t)},restrictions(e,t){e.setComponentRestrictions(t)},fields(e,t){e.setFields(t)},options(e,t){e.setOptions(t)},types(e,t){e.setTypes(t)}};class Ke extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.containerElement=o.createRef(),this.state={autocomplete:null},this.setAutocompleteCallback=()=>{null!==this.state.autocomplete&&this.props.onLoad&&this.props.onLoad(this.state.autocomplete)}}componentDidMount(){r(!!google.maps.places,'You need to provide libraries={["places"]} prop to <LoadScript /> component %s',google.maps.places);const e=this.containerElement.current.querySelector("input");if(e){const t=new google.maps.places.Autocomplete(e,this.props.options);this.registeredEvents=u({updaterMap:$e,eventMap:qe,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{autocomplete:t}}),this.setAutocompleteCallback)}}componentDidUpdate(e){l(this.registeredEvents),this.registeredEvents=u({updaterMap:$e,eventMap:qe,prevProps:e,nextProps:this.props,instance:this.state.autocomplete})}componentWillUnmount(){null!==this.state.autocomplete&&l(this.registeredEvents)}render(){return o.createElement("div",{ref:this.containerElement,className:this.props.className||""},o.Children.only(this.props.children))}}Ke.contextType=s},47677:e=>{"use strict";e.exports=function(e,t,n,o,i,r,s,a){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,o,i,r,s,a],c=0;(l=new Error(t.replace(/%s/g,(function(){return u[c++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},2271:(e,t,n)=>{"use strict";function o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},i.apply(this,arguments)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function a(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function u(e){return u="function"==typeof Symbol&&"symbol"===l(Symbol.iterator)?function(e){return l(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":l(e)},u(e)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?c(e):t}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{p:()=>Ue,r:()=>He});var m=n(24328),v=n.n(m),y=n(47677),S=n.n(y);var b=n(81260),C=n.n(b),M=n(75182),x=n.n(M),w=function(e){return e===Object(e)?Object.keys(e):[]},_=function(e){return e===Object(e)?Object.values(e):[]};function k(e,t){var n=Object.assign({},e);return z(e)&&z(t)&&w(t).forEach((function(o){z(t[o])&&o in e?n[o]=k(e[o],t[o]):Object.assign(n,C()({},o,t[o]))})),n}var O=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];return n.reduce((function(e,t){return k(e,t)}),e)},E=function(e,t){var n=Object.assign({},e);if(t)for(var o=0;o<t.length;o++)delete n[t[o]];return n},z=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},T=function(e){return(e||[]).filter(Boolean)},P=function(e){return"&"===e[0]},R=function(e){return!P(e)},I=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},L=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=w(e),o={},i=0,r=n.length;i<r;i+=1){var s=n[i],a="[object Object]"!==Object.prototype.toString.call(e[s])||":"===s[0]||"@"===s[0]||t.indexOf(s)>=0;a&&(o[s]=e[s])}return o},B=function(e,t){for(var n=t.map(I),o=w(e),i={},r=0,s=o.length;r<s;r+=1){var a=o[r];(t.indexOf(a)>=0||n.indexOf(I(a))>=0)&&(i[a]=e[a])}return i},W=function e(t,n){for(var o=O.apply(void 0,[{},E(t,n)].concat(x()(_(B(t,n))))),i=w(o).filter(P),r=0,s=i.length;r<s;r+=1){var a=i[r],l=e(o[a],n);n.indexOf(a)>=0?(delete o[a],o=O({},o,l)):o[a]=l}return o};function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(Object(n),!0).forEach((function(t){C()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var F=["animationName"];const j=function(e){var t=e.style,n=e.className;return D(D({},t?{style:L(t,F)}:{}),n?{className:n}:{})};var G=(0,m.createContext)(j);G.Provider;const H=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return w(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e};var N={};const U=function(e){return function(t,n){var o,i=n||N;e.memoize=e.memoize||new WeakMap,e.memoize.has(i)?o=e.memoize.get(i):(o={},e.memoize.set(i,o));var r=H(t).join(" ");return r in o?o[r]:o[r]=e(t||[],n)}};function V(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Z(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){C()(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 q=function(e){var t=e&&w(e)[0];return t&&t.split("__")[0].split("--")[0]},$=function(e,t,n){if(e){var o=e.split(" ")[0],i=[].concat(x()(0===t.length?n.map((function(e){return"".concat(o,"--").concat(e.substring(1))})):[]),x()(t.map((function(e){return"".concat(o,"__").concat(e)}))));return 0===t.length?[e].concat(x()(i)):i}};const K=function e(t){var n=t.style,o=t.className,i=t.classNames,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:j,s=o||q(i)||(null==n?void 0:n.className),a="function"==typeof n?n:U((function(t,o){var a=H(t);S()(Array.isArray(a),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),S()(!o||z(o),"Optional second parameter must be a plain object.");var l=a.filter(P),u=a.filter(R),c=u.length>0?function(e){return _(B(e,u))}:function(e){return[e]},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c(W(e,l))},h=$(s,u,l);return e(Z(Z(Z({},(n||o)&&{style:O.apply(void 0,[{}].concat(x()(d(o)),x()(d(n))))}),h&&{className:h.join(" ")}),i&&{classNames:i}),r)})),l=Z({},"function"==typeof n?n:{style:n}),u=x()(new Set([].concat(x()(l.className?l.className.split(" "):[]),x()(s?s.split(" "):[])))),c=i?T(u.map((function(e){return i[e]}))):u,d=r(Z(Z({},l),c.length>0?{className:c.join(" ")}:{}));return Object.assign(a,d),a},Y=function(e,t,n){var o=t.style,i=t.className,r=t.classNames,s=(0,m.useContext)(G);return(0,m.useMemo)((function(){return K({style:o,className:i,classNames:r},s)}),[o,i,r,s])(n,e)};function X(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?X(Object(n),!0).forEach((function(t){C()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var J=n(13980),ee=n.n(J),te=n(75047),ne=n.n(te),oe=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},ie="__id__",re="__display__",se=function(e,t){S()("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(re),o=e.indexOf(ie);return n<0&&(n=null),o<0&&(o=null),S()(null!==n||null!==o,"The markup '".concat(e,"' does not contain either of the placeholders '__id__' or '__display__'")),null!==n&&null!==o?"id"===t&&o<=n||"display"===t&&n<=o?0:1:0},ae=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n,o,i=(n=t.exec(e.toString()),o=3,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var n=[],o=!0,i=!1,r=void 0;try{for(var s,a=e[Symbol.iterator]();!(o=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);o=!0);}catch(e){i=!0,r=e}finally{try{o||null==a.return||a.return()}finally{if(i)throw r}}return n}(n,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()),r=i[1],s=i[2];return S()(!s,"RegExp flags are not supported. Change /".concat(r,"/").concat(s," into /").concat(r,"/")),"(".concat(r,")")})).join("|"),"g")},le=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},ue=function(){},ce=function(e,t,n){for(var o,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ue,r=ae(t.map((function(e){return e.regex}))),s=2,a=t.map((function(e){var t=e.markup,n=s;return s+=le(t)+1,n})),l=0,u=0;null!==(o=r.exec(e));){var c=a.find((function(e){return!!o[e]})),d=a.indexOf(c),h=t[d],p=h.markup,f=h.displayTransform,g=c+se(p,"id"),m=c+se(p,"display"),v=o[g],y=f(v,o[m]),S=e.substring(l,o.index);i(S,l,u),u+=S.length,n(o[0],o.index,u,v,y,d,l),u+=y.length,l=r.lastIndex}l<e.length&&i(e.substring(l),l,u)},de=function(e,t){var n="";return ce(e,t,(function(e,t,o,i,r){n+=r}),(function(e){n+=e})),n},he=function(e,t,n){var o,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"START";if("number"!=typeof n)return n;var r=function(e,t,i){void 0===o&&i+e.length>=n&&(o=t+n-i)},s=function(e,t,r,s,a,l,u){void 0===o&&r+a.length>n&&(o="NULL"===i?null:t+("END"===i?e.length:0))};return ce(e,t,s,r),void 0===o?e.length:o},pe=function(e,t,n,o){return e.substring(0,t)+o+e.substring(n)},fe=function(e,t){var n=[];return ce(e,t,(function(e,t,o,i,r,s,a){n.push({id:i,display:r,childIndex:s,index:t,plainTextIndex:o})})),n},ge=function(e,t){return"".concat(e,"-").concat(t)},me=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},ve=function(e){var t=oe(e),n=e[e.indexOf(re)+re.length],o=e[e.indexOf(ie)+ie.length];return new RegExp(t.replace(re,"([^".concat(oe(n||""),"]+?)")).replace(ie,"([^".concat(oe(o||""),"]+?)")))},ye=function(e){return m.Children.toArray(e).map((function(e){var t=e.props,n=t.markup,o=t.regex,i=t.displayTransform;return{markup:n,regex:o?Se(o,n):ve(n),displayTransform:i||function(e,t){return t||e}}}))},Se=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,o=le(t);return S()(n===o,"Number of capturing groups in RegExp ".concat(e.toString()," (").concat(n,") does not match the number of placeholders in the markup '").concat(t,"' (").concat(o,")")),e},be=[{base:"A",letters:/(&#65;|&#9398;|&#65313;|&#192;|&#193;|&#194;|&#7846;|&#7844;|&#7850;|&#7848;|&#195;|&#256;|&#258;|&#7856;|&#7854;|&#7860;|&#7858;|&#550;|&#480;|&#196;|&#478;|&#7842;|&#197;|&#506;|&#461;|&#512;|&#514;|&#7840;|&#7852;|&#7862;|&#7680;|&#260;|&#570;|&#11375;|[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F])/g},{base:"AA",letters:/(&#42802;|[\uA732])/g},{base:"AE",letters:/(&#198;|&#508;|&#482;|[\u00C6\u01FC\u01E2])/g},{base:"AO",letters:/(&#42804;|[\uA734])/g},{base:"AU",letters:/(&#42806;|[\uA736])/g},{base:"AV",letters:/(&#42808;|&#42810;|[\uA738\uA73A])/g},{base:"AY",letters:/(&#42812;|[\uA73C])/g},{base:"B",letters:/(&#66;|&#9399;|&#65314;|&#7682;|&#7684;|&#7686;|&#579;|&#386;|&#385;|[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181])/g},{base:"C",letters:/(&#67;|&#9400;|&#65315;|&#262;|&#264;|&#266;|&#268;|&#199;|&#7688;|&#391;|&#571;|&#42814;|[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E])/g},{base:"D",letters:/(&#68;|&#9401;|&#65316;|&#7690;|&#270;|&#7692;|&#7696;|&#7698;|&#7694;|&#272;|&#395;|&#394;|&#393;|&#42873;|&#208;|[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779\u00D0])/g},{base:"DZ",letters:/(&#497;|&#452;|[\u01F1\u01C4])/g},{base:"Dz",letters:/(&#498;|&#453;|[\u01F2\u01C5])/g},{base:"E",letters:/(&#69;|&#9402;|&#65317;|&#200;|&#201;|&#202;|&#7872;|&#7870;|&#7876;|&#7874;|&#7868;|&#274;|&#7700;|&#7702;|&#276;|&#278;|&#203;|&#7866;|&#282;|&#516;|&#518;|&#7864;|&#7878;|&#552;|&#7708;|&#280;|&#7704;|&#7706;|&#400;|&#398;|[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E])/g},{base:"F",letters:/(&#70;|&#9403;|&#65318;|&#7710;|&#401;|&#42875;|[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B])/g},{base:"G",letters:/(&#71;|&#9404;|&#65319;|&#500;|&#284;|&#7712;|&#286;|&#288;|&#486;|&#290;|&#484;|&#403;|&#42912;|&#42877;|&#42878;|[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E])/g},{base:"H",letters:/(&#72;|&#9405;|&#65320;|&#292;|&#7714;|&#7718;|&#542;|&#7716;|&#7720;|&#7722;|&#294;|&#11367;|&#11381;|&#42893;|[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D])/g},{base:"I",letters:/(&#73;|&#9406;|&#65321;|&#204;|&#205;|&#206;|&#296;|&#298;|&#300;|&#304;|&#207;|&#7726;|&#7880;|&#463;|&#520;|&#522;|&#7882;|&#302;|&#7724;|&#407;|[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197])/g},{base:"J",letters:/(&#74;|&#9407;|&#65322;|&#308;|&#584;|[\u004A\u24BF\uFF2A\u0134\u0248])/g},{base:"K",letters:/(&#75;|&#9408;|&#65323;|&#7728;|&#488;|&#7730;|&#310;|&#7732;|&#408;|&#11369;|&#42816;|&#42818;|&#42820;|&#42914;|[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2])/g},{base:"L",letters:/(&#76;|&#9409;|&#65324;|&#319;|&#313;|&#317;|&#7734;|&#7736;|&#315;|&#7740;|&#7738;|&#321;|&#573;|&#11362;|&#11360;|&#42824;|&#42822;|&#42880;|[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780])/g},{base:"LJ",letters:/(&#455;|[\u01C7])/g},{base:"Lj",letters:/(&#456;|[\u01C8])/g},{base:"M",letters:/(&#77;|&#9410;|&#65325;|&#7742;|&#7744;|&#7746;|&#11374;|&#412;|[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C])/g},{base:"N",letters:/(&#78;|&#9411;|&#65326;|&#504;|&#323;|&#209;|&#7748;|&#327;|&#7750;|&#325;|&#7754;|&#7752;|&#544;|&#413;|&#42896;|&#42916;|&#330;|[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4\u014A])/g},{base:"NJ",letters:/(&#458;|[\u01CA])/g},{base:"Nj",letters:/(&#459;|[\u01CB])/g},{base:"O",letters:/(&#79;|&#9412;|&#65327;|&#210;|&#211;|&#212;|&#7890;|&#7888;|&#7894;|&#7892;|&#213;|&#7756;|&#556;|&#7758;|&#332;|&#7760;|&#7762;|&#334;|&#558;|&#560;|&#214;|&#554;|&#7886;|&#336;|&#465;|&#524;|&#526;|&#416;|&#7900;|&#7898;|&#7904;|&#7902;|&#7906;|&#7884;|&#7896;|&#490;|&#492;|&#216;|&#510;|&#390;|&#415;|&#42826;|&#42828;|[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C])/g},{base:"OE",letters:/(&#338;|[\u0152])/g},{base:"OI",letters:/(&#418;|[\u01A2])/g},{base:"OO",letters:/(&#42830;|[\uA74E])/g},{base:"OU",letters:/(&#546;|[\u0222])/g},{base:"P",letters:/(&#80;|&#9413;|&#65328;|&#7764;|&#7766;|&#420;|&#11363;|&#42832;|&#42834;|&#42836;|[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754])/g},{base:"Q",letters:/(&#81;|&#9414;|&#65329;|&#42838;|&#42840;|&#586;|[\u0051\u24C6\uFF31\uA756\uA758\u024A])/g},{base:"R",letters:/(&#82;|&#9415;|&#65330;|&#340;|&#7768;|&#344;|&#528;|&#530;|&#7770;|&#7772;|&#342;|&#7774;|&#588;|&#11364;|&#42842;|&#42918;|&#42882;|[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782])/g},{base:"S",letters:/(&#83;|&#9416;|&#65331;|&#7838;|&#346;|&#7780;|&#348;|&#7776;|&#352;|&#7782;|&#7778;|&#7784;|&#536;|&#350;|&#11390;|&#42920;|&#42884;|[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784])/g},{base:"T",letters:/(&#84;|&#9417;|&#65332;|&#7786;|&#356;|&#7788;|&#538;|&#354;|&#7792;|&#7790;|&#358;|&#428;|&#430;|&#574;|&#42886;|[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786])/g},{base:"TH",letters:/(&#222;|[\u00DE])/g},{base:"TZ",letters:/(&#42792;|[\uA728])/g},{base:"U",letters:/(&#85;|&#9418;|&#65333;|&#217;|&#218;|&#219;|&#360;|&#7800;|&#362;|&#7802;|&#364;|&#220;|&#475;|&#471;|&#469;|&#473;|&#7910;|&#366;|&#368;|&#467;|&#532;|&#534;|&#431;|&#7914;|&#7912;|&#7918;|&#7916;|&#7920;|&#7908;|&#7794;|&#370;|&#7798;|&#7796;|&#580;|[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244])/g},{base:"V",letters:/(&#86;|&#9419;|&#65334;|&#7804;|&#7806;|&#434;|&#42846;|&#581;|[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245])/g},{base:"VY",letters:/(&#42848;|[\uA760])/g},{base:"W",letters:/(&#87;|&#9420;|&#65335;|&#7808;|&#7810;|&#372;|&#7814;|&#7812;|&#7816;|&#11378;|[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72])/g},{base:"X",letters:/(&#88;|&#9421;|&#65336;|&#7818;|&#7820;|[\u0058\u24CD\uFF38\u1E8A\u1E8C])/g},{base:"Y",letters:/(&#89;|&#9422;|&#65337;|&#7922;|&#221;|&#374;|&#7928;|&#562;|&#7822;|&#376;|&#7926;|&#7924;|&#435;|&#590;|&#7934;|[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE])/g},{base:"Z",letters:/(&#90;|&#9423;|&#65338;|&#377;|&#7824;|&#379;|&#381;|&#7826;|&#7828;|&#437;|&#548;|&#11391;|&#11371;|&#42850;|[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762])/g},{base:"a",letters:/(&#97;|&#9424;|&#65345;|&#7834;|&#224;|&#225;|&#226;|&#7847;|&#7845;|&#7851;|&#7849;|&#227;|&#257;|&#259;|&#7857;|&#7855;|&#7861;|&#7859;|&#551;|&#481;|&#228;|&#479;|&#7843;|&#229;|&#507;|&#462;|&#513;|&#515;|&#7841;|&#7853;|&#7863;|&#7681;|&#261;|&#11365;|&#592;|[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250])/g},{base:"aa",letters:/(&#42803;|[\uA733])/g},{base:"ae",letters:/(&#230;|&#509;|&#483;|[\u00E6\u01FD\u01E3])/g},{base:"ao",letters:/(&#42805;|[\uA735])/g},{base:"au",letters:/(&#42807;|[\uA737])/g},{base:"av",letters:/(&#42809;|&#42811;|[\uA739\uA73B])/g},{base:"ay",letters:/(&#42813;|[\uA73D])/g},{base:"b",letters:/(&#98;|&#9425;|&#65346;|&#7683;|&#7685;|&#7687;|&#384;|&#387;|&#595;|[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253])/g},{base:"c",letters:/(&#99;|&#9426;|&#65347;|&#263;|&#265;|&#267;|&#269;|&#231;|&#7689;|&#392;|&#572;|&#42815;|&#8580;|[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184])/g},{base:"d",letters:/(&#100;|&#9427;|&#65348;|&#7691;|&#271;|&#7693;|&#7697;|&#7699;|&#7695;|&#273;|&#396;|&#598;|&#599;|&#42874;|&#240;|[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A\u00F0])/g},{base:"dz",letters:/(&#499;|&#454;|[\u01F3\u01C6])/g},{base:"e",letters:/(&#101;|&#9428;|&#65349;|&#232;|&#233;|&#234;|&#7873;|&#7871;|&#7877;|&#7875;|&#7869;|&#275;|&#7701;|&#7703;|&#277;|&#279;|&#235;|&#7867;|&#283;|&#517;|&#519;|&#7865;|&#7879;|&#553;|&#7709;|&#281;|&#7705;|&#7707;|&#583;|&#603;|&#477;|[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD])/g},{base:"f",letters:/(&#102;|&#9429;|&#65350;|&#7711;|&#402;|&#42876;|[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C])/g},{base:"g",letters:/(&#103;|&#9430;|&#65351;|&#501;|&#285;|&#7713;|&#287;|&#289;|&#487;|&#291;|&#485;|&#608;|&#42913;|&#7545;|&#42879;|[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F])/g},{base:"h",letters:/(&#104;|&#9431;|&#65352;|&#293;|&#7715;|&#7719;|&#543;|&#7717;|&#7721;|&#7723;|&#7830;|&#295;|&#11368;|&#11382;|&#613;|[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265])/g},{base:"hv",letters:/(&#405;|[\u0195])/g},{base:"i",letters:/(&#105;|&#9432;|&#65353;|&#236;|&#237;|&#238;|&#297;|&#299;|&#301;|&#239;|&#7727;|&#7881;|&#464;|&#521;|&#523;|&#7883;|&#303;|&#7725;|&#616;|&#305;|[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131])/g},{base:"ij",letters:/(&#307;|[\u0133])/g},{base:"j",letters:/(&#106;|&#9433;|&#65354;|&#309;|&#496;|&#585;|[\u006A\u24D9\uFF4A\u0135\u01F0\u0249])/g},{base:"k",letters:/(&#107;|&#9434;|&#65355;|&#7729;|&#489;|&#7731;|&#311;|&#7733;|&#409;|&#11370;|&#42817;|&#42819;|&#42821;|&#42915;|[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3])/g},{base:"l",letters:/(&#108;|&#9435;|&#65356;|&#320;|&#314;|&#318;|&#7735;|&#7737;|&#316;|&#7741;|&#7739;|&#322;|&#410;|&#619;|&#11361;|&#42825;|&#42881;|&#42823;|[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u0142\u019A\u026B\u2C61\uA749\uA781\uA747])/g},{base:"lj",letters:/(&#457;|[\u01C9])/g},{base:"m",letters:/(&#109;|&#9436;|&#65357;|&#7743;|&#7745;|&#7747;|&#625;|&#623;|[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F])/g},{base:"n",letters:/(&#110;|&#9437;|&#65358;|&#505;|&#324;|&#241;|&#7749;|&#328;|&#7751;|&#326;|&#7755;|&#7753;|&#414;|&#626;|&#329;|&#42897;|&#42917;|&#331;|[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u014B])/g},{base:"nj",letters:/(&#460;|[\u01CC])/g},{base:"o",letters:/(&#111;|&#9438;|&#65359;|&#242;|&#243;|&#244;|&#7891;|&#7889;|&#7895;|&#7893;|&#245;|&#7757;|&#557;|&#7759;|&#333;|&#7761;|&#7763;|&#335;|&#559;|&#561;|&#246;|&#555;|&#7887;|&#337;|&#466;|&#525;|&#527;|&#417;|&#7901;|&#7899;|&#7905;|&#7903;|&#7907;|&#7885;|&#7897;|&#491;|&#493;|&#248;|&#511;|&#596;|&#42827;|&#42829;|&#629;|[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275])/g},{base:"oe",letters:/(&#339;|[\u0153])/g},{base:"oi",letters:/(&#419;|[\u01A3])/g},{base:"ou",letters:/(&#547;|[\u0223])/g},{base:"oo",letters:/(&#42831;|[\uA74F])/g},{base:"p",letters:/(&#112;|&#9439;|&#65360;|&#7765;|&#7767;|&#421;|&#7549;|&#42833;|&#42835;|&#42837;|[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755])/g},{base:"q",letters:/(&#113;|&#9440;|&#65361;|&#587;|&#42839;|&#42841;|[\u0071\u24E0\uFF51\u024B\uA757\uA759])/g},{base:"r",letters:/(&#114;|&#9441;|&#65362;|&#341;|&#7769;|&#345;|&#529;|&#531;|&#7771;|&#7773;|&#343;|&#7775;|&#589;|&#637;|&#42843;|&#42919;|&#42883;|[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783])/g},{base:"s",letters:/(&#115;|&#9442;|&#65363;|&#347;|&#7781;|&#349;|&#7777;|&#353;|&#7783;|&#7779;|&#7785;|&#537;|&#351;|&#575;|&#42921;|&#42885;|&#7835;|&#383;|[\u0073\u24E2\uFF53\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u017F])/g},{base:"ss",letters:/(&#223;|[\u00DF])/g},{base:"t",letters:/(&#116;|&#9443;|&#65364;|&#7787;|&#7831;|&#357;|&#7789;|&#539;|&#355;|&#7793;|&#7791;|&#359;|&#429;|&#648;|&#11366;|&#42887;|[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787])/g},{base:"th",letters:/(&#254;|[\u00FE])/g},{base:"tz",letters:/(&#42793;|[\uA729])/g},{base:"u",letters:/(&#117;|&#9444;|&#65365;|&#249;|&#250;|&#251;|&#361;|&#7801;|&#363;|&#7803;|&#365;|&#252;|&#476;|&#472;|&#470;|&#474;|&#7911;|&#367;|&#369;|&#468;|&#533;|&#535;|&#432;|&#7915;|&#7913;|&#7919;|&#7917;|&#7921;|&#7909;|&#7795;|&#371;|&#7799;|&#7797;|&#649;|[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289])/g},{base:"v",letters:/(&#118;|&#9445;|&#65366;|&#7805;|&#7807;|&#651;|&#42847;|&#652;|[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C])/g},{base:"vy",letters:/(&#42849;|[\uA761])/g},{base:"w",letters:/(&#119;|&#9446;|&#65367;|&#7809;|&#7811;|&#373;|&#7815;|&#7813;|&#7832;|&#7817;|&#11379;|[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73])/g},{base:"x",letters:/(&#120;|&#9447;|&#65368;|&#7819;|&#7821;|[\u0078\u24E7\uFF58\u1E8B\u1E8D])/g},{base:"y",letters:/(&#121;|&#9448;|&#65369;|&#7923;|&#253;|&#375;|&#7929;|&#563;|&#7823;|&#255;|&#7927;|&#7833;|&#7925;|&#436;|&#591;|&#7935;|[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF])/g},{base:"z",letters:/(&#122;|&#9449;|&#65370;|&#378;|&#7825;|&#380;|&#382;|&#7827;|&#7829;|&#438;|&#549;|&#576;|&#11372;|&#42851;|[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763])/g}],Ce=function(e){return function(e){var t=e;return be.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},Me=function(e,t,n){return n?Ce(e).indexOf(Ce(t)):e.toLowerCase().indexOf(t.toLowerCase())},xe=function(e){return"number"==typeof e},we=function(e){return e===Object(e)?Object.keys(e):[]},_e=function(e){for(var t,n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];var r=(t=[]).concat.apply(t,o);return Object.keys(e).reduce((function(t,n){return e.hasOwnProperty(n)&&!r.includes(n)&&void 0!==e[n]&&(t[n]=e[n]),t}),{})};function ke(e,t){return function(n){var o=function(o){var r=o.style,s=o.className,a=o.classNames,l=function(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n,o,i={},r=Object.keys(e);for(o=0;o<r.length;o++)n=r[o],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o<r.length;o++)n=r[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(o,["style","className","classNames"]),u=t?t(l):void 0,c=Y(e,{style:r,className:s,classNames:a},u);return v().createElement(n,i({},l,{style:c}))},r=n.displayName||n.name||"Component";return o.displayName="defaultStyle(".concat(r,")"),o}}var Oe=function(e){function t(){var e;return r(this,t),g(c(e=d(this,h(t).apply(this,arguments))),"setCaretElement",(function(t){e.caretElement=t})),e.state={left:void 0,top:void 0},e}return f(t,e),a(t,[{key:"componentDidMount",value:function(){this.notifyCaretPosition()}},{key:"componentDidUpdate",value:function(){this.notifyCaretPosition()}},{key:"notifyCaretPosition",value:function(){if(this.caretElement){var e=this.caretElement,t=e.offsetLeft,n=e.offsetTop;if(this.state.left!==t||this.state.top!==n){var o={left:t,top:n};this.setState(o),this.props.onCaretPositionChange(o)}}}},{key:"render",value:function(){var e,t=this,n=this.props,o=n.selectionStart,r=n.selectionEnd,s=n.value,a=n.style,l=n.children,u=n.containerRef,c=ye(l);o===r&&(e=he(s,c,o,"START"));var d=[],h={},p=d,f=0;return ce(s,c,(function(e,n,o,i,r,s,a){var l=function(e,t){return e.hasOwnProperty(t)?e[t]++:e[t]=0,t+"_"+e[t]}(h,i);p.push(t.getMentionComponentForMatch(i,r,s,l))}),(function(n,o,i){if(xe(e)&&e>=o&&e<=o+n.length){var r=e-o;p.push(t.renderSubstring(n.substring(0,r),f)),p=[t.renderSubstring(n.substring(r),f)]}else p.push(t.renderSubstring(n,f));f++})),p.push(" "),p!==d&&d.push(this.renderHighlighterCaret(p)),v().createElement("div",i({},a,{ref:u}),d)}},{key:"renderSubstring",value:function(e,t){return v().createElement("span",i({},this.props.style("substring"),{key:t}),e)}},{key:"getMentionComponentForMatch",value:function(e,t,n,o){var i={id:e,display:t,key:o},r=m.Children.toArray(this.props.children)[n];return v().cloneElement(r,i)}},{key:"renderHighlighterCaret",value:function(e){return v().createElement("span",i({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),e)}}]),t}(m.Component);g(Oe,"propTypes",{selectionStart:ee().number,selectionEnd:ee().number,value:ee().string.isRequired,onCaretPositionChange:ee().func.isRequired,containerRef:ee().oneOfType([ee().func,ee().shape({current:"undefined"==typeof Element?ee().any:ee().instanceOf(Element)})]),children:ee().oneOfType([ee().element,ee().arrayOf(ee().element)]).isRequired}),g(Oe,"defaultProps",{value:""});var Ee=ke({position:"relative",boxSizing:"border-box",width:"100%",color:"transparent",overflow:"hidden",whiteSpace:"pre-wrap",wordWrap:"break-word",border:"1px solid transparent",textAlign:"start","&singleLine":{whiteSpace:"pre",wordWrap:null},substring:{visibility:"hidden"}},(function(e){return{"&singleLine":e.singleLine}}))(Oe),ze=function(e){function t(){return r(this,t),d(this,h(t).apply(this,arguments))}return f(t,e),a(t,[{key:"render",value:function(){var e=_e(this.props,["style","classNames","className"],we(t.propTypes));return v().createElement("li",i({id:this.props.id,role:"option","aria-selected":this.props.focused},e,this.props.style),this.renderContent())}},{key:"renderContent",value:function(){var e=this.props,t=e.query,n=e.renderSuggestion,o=e.suggestion,i=e.index,r=e.focused,s=this.getDisplay(),a=this.renderHighlightedDisplay(s,t);return n?n(o,t,a,i,r):a}},{key:"getDisplay",value:function(){var e=this.props.suggestion;if("string"==typeof e)return e;var t=e.id,n=e.display;return void 0!==t&&n?n:t}},{key:"renderHighlightedDisplay",value:function(e){var t=this.props,n=t.ignoreAccents,o=t.query,i=t.style,r=Me(e,o,n);return-1===r?v().createElement("span",i("display"),e):v().createElement("span",i("display"),e.substring(0,r),v().createElement("b",i("highlight"),e.substring(r,r+o.length)),e.substring(r+o.length))}}]),t}(m.Component);g(ze,"propTypes",{id:ee().string.isRequired,query:ee().string.isRequired,index:ee().number.isRequired,ignoreAccents:ee().bool,suggestion:ee().oneOfType([ee().string,ee().shape({id:ee().oneOfType([ee().string,ee().number]).isRequired,display:ee().string})]).isRequired,renderSuggestion:ee().func,focused:ee().bool});var Te=ke({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(ze);function Pe(){var e=Y(),t=e("spinner");return v().createElement("div",e,v().createElement("div",t,v().createElement("div",t(["element","element1"])),v().createElement("div",t(["element","element2"])),v().createElement("div",t(["element","element3"])),v().createElement("div",t(["element","element4"])),v().createElement("div",t(["element","element5"]))))}var Re=function(e){function t(){var e,n;r(this,t);for(var o=arguments.length,i=new Array(o),s=0;s<o;s++)i[s]=arguments[s];return g(c(n=d(this,(e=h(t)).call.apply(e,[this].concat(i)))),"handleMouseEnter",(function(e,t){n.props.onMouseEnter&&n.props.onMouseEnter(e)})),g(c(n),"select",(function(e,t){n.props.onSelect(e,t)})),g(c(n),"setUlElement",(function(e){n.ulElement=e})),n}return f(t,e),a(t,[{key:"componentDidUpdate",value:function(){if(this.ulElement&&!(this.ulElement.offsetHeight>=this.ulElement.scrollHeight)&&this.props.scrollFocusedIntoView){var e=this.ulElement.scrollTop,t=this.ulElement.children[this.props.focusIndex].getBoundingClientRect(),n=t.top,o=t.bottom,i=this.ulElement.getBoundingClientRect().top;o=o-i+e,(n=n-i+e)<e?this.ulElement.scrollTop=n:o>this.ulElement.offsetHeight&&(this.ulElement.scrollTop=o-this.ulElement.offsetHeight)}}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.a11ySuggestionsListLabel,o=e.isOpened,r=e.style,s=e.onMouseDown,a=e.containerRef,l=e.position,u=e.left,c=e.top;return o?v().createElement("div",i({},function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return Q(Q(Q({},e),"function"==typeof t?t:{}),{},{style:Q(Q({},e.style),"function"==typeof t?t.style:t)})}),{})}({position:l||"absolute",left:u,top:c},r),{onMouseDown:s,ref:a}),v().createElement("ul",i({ref:this.setUlElement,id:t,role:"listbox","aria-label":n},r("list")),this.renderSuggestions()),this.renderLoadingIndicator()):null}},{key:"renderSuggestions",value:function(){var e=this;return Object.values(this.props.suggestions).reduce((function(t,n){var i=n.results,r=n.queryInfo;return[].concat(o(t),o(i.map((function(n,o){return e.renderSuggestion(n,r,t.length+o)}))))}),[])}},{key:"renderSuggestion",value:function(e,t,n){var o=this,i=n===this.props.focusIndex,r=t.childIndex,s=t.query,a=m.Children.toArray(this.props.children)[r].props.renderSuggestion,l=this.props.ignoreAccents;return v().createElement(Te,{style:this.props.style("item"),key:"".concat(r,"-").concat(Ie(e)),id:ge(this.props.id,n),query:s,index:n,ignoreAccents:l,renderSuggestion:a,suggestion:e,focused:i,onClick:function(){return o.select(e,t)},onMouseEnter:function(){return o.handleMouseEnter(n)}})}},{key:"renderLoadingIndicator",value:function(){if(this.props.isLoading)return v().createElement(Pe,{style:this.props.style("loadingIndicator")})}}]),t}(m.Component);g(Re,"propTypes",{id:ee().string.isRequired,suggestions:ee().object.isRequired,a11ySuggestionsListLabel:ee().string,focusIndex:ee().number,position:ee().string,left:ee().number,top:ee().number,scrollFocusedIntoView:ee().bool,isLoading:ee().bool,isOpened:ee().bool.isRequired,onSelect:ee().func,ignoreAccents:ee().bool,containerRef:ee().oneOfType([ee().func,ee().shape({current:"undefined"==typeof Element?ee().any:ee().instanceOf(Element)})]),children:ee().oneOfType([ee().element,ee().arrayOf(ee().element)]).isRequired}),g(Re,"defaultProps",{suggestions:{},onSelect:function(){return null}});var Ie=function(e){return"string"==typeof e?e:e.id},Le=ke({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(Re);function Be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function We(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Be(n,!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Be(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ae={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},De=!1,Fe={singleLine:ee().bool,allowSpaceInQuery:ee().bool,allowSuggestionsAboveCursor:ee().bool,forceSuggestionsAboveCursor:ee().bool,ignoreAccents:ee().bool,a11ySuggestionsListLabel:ee().string,value:ee().string,onKeyDown:ee().func,onSelect:ee().func,onBlur:ee().func,onChange:ee().func,suggestionsPortalHost:"undefined"==typeof Element?ee().any:ee().PropTypes.instanceOf(Element),inputRef:ee().oneOfType([ee().func,ee().shape({current:"undefined"==typeof Element?ee().any:ee().instanceOf(Element)})]),children:ee().oneOfType([ee().element,ee().arrayOf(ee().element)]).isRequired},je=function(e){function t(e){var n;return r(this,t),g(c(n=d(this,h(t).call(this,e))),"setContainerElement",(function(e){n.containerElement=e})),g(c(n),"getInputProps",(function(){var e=n.props,t=e.readOnly,o=e.disabled,i=e.style;return We({},_e(n.props,["style","classNames","className"],we(Fe)),{},i("input"),{value:n.getPlainText()},!t&&!o&&{onChange:n.handleChange,onSelect:n.handleSelect,onKeyDown:n.handleKeyDown,onBlur:n.handleBlur,onCompositionStart:n.handleCompositionStart,onCompositionEnd:n.handleCompositionEnd,onScroll:n.updateHighlighterScroll},{},n.isOpened()&&{role:"combobox","aria-controls":n.uuidSuggestionsOverlay,"aria-expanded":!0,"aria-autocomplete":"list","aria-haspopup":"listbox","aria-activedescendant":ge(n.uuidSuggestionsOverlay,n.state.focusIndex)})})),g(c(n),"renderControl",(function(){var e=n.props,t=e.singleLine,o=e.style,i=n.getInputProps();return v().createElement("div",o("control"),n.renderHighlighter(),t?n.renderInput(i):n.renderTextarea(i))})),g(c(n),"renderInput",(function(e){return v().createElement("input",i({type:"text",ref:n.setInputRef},e))})),g(c(n),"renderTextarea",(function(e){return v().createElement("textarea",i({ref:n.setInputRef},e))})),g(c(n),"setInputRef",(function(e){n.inputElement=e;var t=n.props.inputRef;"function"==typeof t?t(e):t&&(t.current=e)})),g(c(n),"setSuggestionsElement",(function(e){n.suggestionsElement=e})),g(c(n),"renderSuggestionsOverlay",(function(){if(!xe(n.state.selectionStart))return null;var e=n.state.suggestionsPosition,t=e.position,o=e.left,i=e.top,r=v().createElement(Le,{id:n.uuidSuggestionsOverlay,style:n.props.style("suggestions"),position:t,left:o,top:i,focusIndex:n.state.focusIndex,scrollFocusedIntoView:n.state.scrollFocusedIntoView,containerRef:n.setSuggestionsElement,suggestions:n.state.suggestions,onSelect:n.addMention,onMouseDown:n.handleSuggestionsMouseDown,onMouseEnter:n.handleSuggestionsMouseEnter,isLoading:n.isLoading(),isOpened:n.isOpened(),ignoreAccents:n.props.ignoreAccents,a11ySuggestionsListLabel:n.props.a11ySuggestionsListLabel},n.props.children);return n.props.suggestionsPortalHost?ne().createPortal(r,n.props.suggestionsPortalHost):r})),g(c(n),"renderHighlighter",(function(){var e=n.state,t=e.selectionStart,o=e.selectionEnd,i=n.props,r=i.singleLine,s=i.children,a=i.value,l=i.style;return v().createElement(Ee,{containerRef:n.setHighlighterElement,style:l("highlighter"),value:a,singleLine:r,selectionStart:t,selectionEnd:o,onCaretPositionChange:n.handleCaretPositionChange},s)})),g(c(n),"setHighlighterElement",(function(e){n.highlighterElement=e})),g(c(n),"handleCaretPositionChange",(function(e){n.setState({caretPosition:e})})),g(c(n),"getPlainText",(function(){return de(n.props.value||"",ye(n.props.children))})),g(c(n),"executeOnChange",(function(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),i=1;i<t;i++)o[i-1]=arguments[i];var r,s;return n.props.onChange?(r=n.props).onChange.apply(r,[e].concat(o)):n.props.valueLink?(s=n.props.valueLink).requestChange.apply(s,[e.target.value].concat(o)):void 0})),g(c(n),"handleChange",(function(e){if(De=!1,!document.documentMode||(document.activeElement&&document.activeElement.contentDocument||document).activeElement===e.target){var t=n.props.value||"",o=ye(n.props.children),i=e.target.value,r=function(e,t,n,o){var i=n.selectionStartBefore,r=n.selectionEndBefore,s=n.selectionEndAfter,a=de(e,o),l=a.length-t.length;"undefined"===i&&(i=s+l),"undefined"===r&&(r=i),i===r&&r===s&&a.length===t.length&&(i-=1);var u=t.slice(i,s),c=Math.min(i,s),d=r;i===s&&(d=Math.max(r,i+l));var h=he(e,o,c,"START"),p=he(e,o,d,"END"),f=he(e,o,c,"NULL"),g=he(e,o,d,"NULL"),m=null===f||null===g,v=pe(e,h,p,u);if(!m){var y=de(v,o);if(y!==t){for(c=0;t[c]===y[c];)c++;u=t.slice(c,s),d=a.lastIndexOf(t.substring(s)),h=he(e,o,c,"START"),p=he(e,o,d,"END"),v=pe(e,h,p,u)}}return v}(t,i,{selectionStartBefore:n.state.selectionStart,selectionEndBefore:n.state.selectionEnd,selectionEndAfter:e.target.selectionEnd},o);i=de(r,o);var s=e.target.selectionStart,a=e.target.selectionEnd,l=!1,u=function(e,t,n){var o=n,i=!1;if(ce(e,t,(function(e,t,r,s,a,l,u){r<=n&&r+a.length>n&&(o=r,i=!0)})),i)return o}(t,o,s);void 0!==u&&n.state.selectionEnd>u&&(a=s=u,l=!0),n.setState({selectionStart:s,selectionEnd:a,setSelectionAfterMentionChange:l});var c=fe(r,o),d={target:{value:r}};n.executeOnChange(d,r,i,c)}})),g(c(n),"handleSelect",(function(e){if(n.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!De){var t=n.inputElement;e.target.selectionStart===e.target.selectionEnd?n.updateMentionsQueries(t.value,e.target.selectionStart):n.clearSuggestions(),n.updateHighlighterScroll(),n.props.onSelect(e)}})),g(c(n),"handleKeyDown",(function(e){if(0!==me(n.state.suggestions)&&n.suggestionsElement)switch(Object.values(Ae).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case Ae.ESC:return void n.clearSuggestions();case Ae.DOWN:return void n.shiftFocus(1);case Ae.UP:return void n.shiftFocus(-1);case Ae.RETURN:case Ae.TAB:return void n.selectFocused();default:return}else n.props.onKeyDown(e)})),g(c(n),"shiftFocus",(function(e){var t=me(n.state.suggestions);n.setState({focusIndex:(t+n.state.focusIndex+e)%t,scrollFocusedIntoView:!0})})),g(c(n),"selectFocused",(function(){var e=n.state,t=e.suggestions,i=e.focusIndex,r=Object.values(t).reduce((function(e,t){var n=t.results,i=t.queryInfo;return[].concat(o(e),o(n.map((function(e){return{result:e,queryInfo:i}}))))}),[])[i],s=r.result,a=r.queryInfo;n.addMention(s,a),n.setState({focusIndex:0})})),g(c(n),"handleBlur",(function(e){var t=n._suggestionsMouseDown;n._suggestionsMouseDown=!1,t||n.setState({selectionStart:null,selectionEnd:null}),window.setTimeout((function(){n.updateHighlighterScroll()}),1),n.props.onBlur(e,t)})),g(c(n),"handleSuggestionsMouseDown",(function(e){n._suggestionsMouseDown=!0})),g(c(n),"handleSuggestionsMouseEnter",(function(e){n.setState({focusIndex:e,scrollFocusedIntoView:!1})})),g(c(n),"updateSuggestionsPosition",(function(){var e=n.state.caretPosition,t=n.props,o=t.suggestionsPortalHost,i=t.allowSuggestionsAboveCursor,r=t.forceSuggestionsAboveCursor;if(e&&n.suggestionsElement){var s=n.suggestionsElement,a=n.highlighterElement,l=a.getBoundingClientRect(),u=Ge(a,"font-size"),c={left:l.left+e.left,top:l.top+e.top+u},d=Math.max(document.documentElement.clientHeight,window.innerHeight||0);if(s){var h={};if(o){h.position="fixed";var p=c.left,f=c.top;p-=Ge(s,"margin-left"),f-=Ge(s,"margin-top"),p-=a.scrollLeft,f-=a.scrollTop;var g=Math.max(document.documentElement.clientWidth,window.innerWidth||0);p+s.offsetWidth>g?h.left=Math.max(0,g-s.offsetWidth):h.left=p,i&&f+s.offsetHeight>d&&s.offsetHeight<f-u||r?h.top=Math.max(0,f-s.offsetHeight-u):h.top=f}else{var m=e.left-a.scrollLeft,v=e.top-a.scrollTop;m+s.offsetWidth>n.containerElement.offsetWidth?h.right=0:h.left=m,i&&c.top-a.scrollTop+s.offsetHeight>d&&s.offsetHeight<l.top-u-a.scrollTop?h.top=v-s.offsetHeight-u:h.top=v}h.left===n.state.suggestionsPosition.left&&h.top===n.state.suggestionsPosition.top&&h.position===n.state.suggestionsPosition.position||n.setState({suggestionsPosition:h})}}})),g(c(n),"updateHighlighterScroll",(function(){var e=n.inputElement,t=n.highlighterElement;e&&t&&(t.scrollLeft=e.scrollLeft,t.scrollTop=e.scrollTop,t.height=e.height)})),g(c(n),"handleCompositionStart",(function(){De=!0})),g(c(n),"handleCompositionEnd",(function(){De=!1})),g(c(n),"setSelection",(function(e,t){if(null!==e&&null!==t){var o=n.inputElement;if(o.setSelectionRange)o.setSelectionRange(e,t);else if(o.createTextRange){var i=o.createTextRange();i.collapse(!0),i.moveEnd("character",t),i.moveStart("character",e),i.select()}}})),g(c(n),"updateMentionsQueries",(function(e,t){n._queryId++,n.suggestions={},n.setState({suggestions:{}});var o=n.props.value||"",i=n.props.children,r=ye(i),s=he(o,r,t,"NULL");if(null!==s){var a=function(e,t){var n=fe(e,t),o=n[n.length-1];return o?o.plainTextIndex+o.display.length:0}(o.substring(0,s),r),l=e.substring(a,t);v().Children.forEach(i,(function(t,o){if(t){var i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e instanceof RegExp)return e;var n=t.allowSpaceInQuery,o=oe(e);return new RegExp("(?:^|\\s)(".concat(o,"([^").concat(n?"":"\\s").concat(o,"]*))$"))}(t.props.trigger,n.props),r=l.match(i);if(r){var s=a+l.indexOf(r[1],r.index);n.queryData(r[2],o,s,s+r[1].length,e)}}}))}})),g(c(n),"clearSuggestions",(function(){n._queryId++,n.suggestions={},n.setState({suggestions:{},focusIndex:0})})),g(c(n),"queryData",(function(e,t,o,i,r){var s=n.props,a=s.children,l=s.ignoreAccents,u=function(e,t){return e instanceof Array?function(n,o){for(var i=[],r=0,s=e.length;r<s;++r){var a=e[r].display||e[r].id;Me(a,n,t)>=0&&i.push(e[r])}return i}:e}(m.Children.toArray(a)[t].props.data,l),c=u(e,n.updateSuggestions.bind(null,n._queryId,t,e,o,i,r));c instanceof Array&&n.updateSuggestions(n._queryId,t,e,o,i,r,c)})),g(c(n),"updateSuggestions",(function(e,t,o,i,r,s,a){if(e===n._queryId){n.suggestions=We({},n.suggestions,g({},t,{queryInfo:{childIndex:t,query:o,querySequenceStart:i,querySequenceEnd:r,plainTextValue:s},results:a}));var l=n.state.focusIndex,u=me(n.suggestions);n.setState({suggestions:n.suggestions,focusIndex:l>=u?Math.max(u-1,0):l})}})),g(c(n),"addMention",(function(e,t){var o=e.id,i=e.display,r=t.childIndex,s=t.querySequenceStart,a=t.querySequenceEnd,l=t.plainTextValue,u=n.props.value||"",c=ye(n.props.children),d=m.Children.toArray(n.props.children)[r].props,h=d.markup,p=d.displayTransform,f=d.appendSpaceOnAdd,g=d.onAdd,v=he(u,c,s,"START"),y=v+a-s,S=function(e,t,n){return e.replace(ie,t).replace(re,n)}(h,o,i);f&&(S+=" ");var b=pe(u,v,y,S);n.inputElement.focus();var C=p(o,i);f&&(C+=" ");var M=s+C.length;n.setState({selectionStart:M,selectionEnd:M,setSelectionAfterMentionChange:!0});var x={target:{value:b}},w=fe(b,c),_=pe(l,s,a,C);n.executeOnChange(x,b,_,w),g&&g(o,i,v,y),n.clearSuggestions()})),g(c(n),"isLoading",(function(){var e=!1;return v().Children.forEach(n.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),g(c(n),"isOpened",(function(){return xe(n.state.selectionStart)&&(0!==me(n.state.suggestions)||n.isLoading())})),g(c(n),"_queryId",0),n.suggestions={},n.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),n.handleCopy=n.handleCopy.bind(c(n)),n.handleCut=n.handleCut.bind(c(n)),n.handlePaste=n.handlePaste.bind(c(n)),n.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},n}return f(t,e),a(t,[{key:"componentDidMount",value:function(){document.addEventListener("copy",this.handleCopy),document.addEventListener("cut",this.handleCut),document.addEventListener("paste",this.handlePaste),this.updateSuggestionsPosition()}},{key:"componentDidUpdate",value:function(e,t){t.suggestionsPosition===this.state.suggestionsPosition&&this.updateSuggestionsPosition(),this.state.setSelectionAfterMentionChange&&(this.setState({setSelectionAfterMentionChange:!1}),this.setSelection(this.state.selectionStart,this.state.selectionEnd))}},{key:"componentWillUnmount",value:function(){document.removeEventListener("copy",this.handleCopy),document.removeEventListener("cut",this.handleCut),document.removeEventListener("paste",this.handlePaste)}},{key:"render",value:function(){return v().createElement("div",i({ref:this.setContainerElement},this.props.style),this.renderControl(),this.renderSuggestionsOverlay())}},{key:"handlePaste",value:function(e){if(e.target===this.inputElement&&this.supportsClipboardActions(e)){e.preventDefault();var t=this.state,n=t.selectionStart,o=t.selectionEnd,i=this.props,r=i.value,s=i.children,a=ye(s),l=he(r,a,n,"START"),u=he(r,a,o,"END"),c=e.clipboardData.getData("text/react-mentions"),d=e.clipboardData.getData("text/plain"),h=pe(r,l,u,c||d).replace(/\r/g,""),p=de(h,a),f={target:We({},e.target,{value:h})};this.executeOnChange(f,h,p,fe(h,a))}}},{key:"saveSelectionToClipboard",value:function(e){var t=this.state,n=t.selectionStart,o=t.selectionEnd,i=this.props,r=i.children,s=i.value,a=ye(r),l=he(s,a,n,"START"),u=he(s,a,o,"END");e.clipboardData.setData("text/plain",e.target.value.slice(n,o)),e.clipboardData.setData("text/react-mentions",s.slice(l,u))}},{key:"supportsClipboardActions",value:function(e){return!!e.clipboardData}},{key:"handleCopy",value:function(e){e.target===this.inputElement&&this.supportsClipboardActions(e)&&(e.preventDefault(),this.saveSelectionToClipboard(e))}},{key:"handleCut",value:function(e){if(e.target===this.inputElement&&this.supportsClipboardActions(e)){e.preventDefault(),this.saveSelectionToClipboard(e);var t=this.state,n=t.selectionStart,o=t.selectionEnd,i=this.props,r=i.children,s=i.value,a=ye(r),l=he(s,a,n,"START"),u=he(s,a,o,"END"),c=[s.slice(0,l),s.slice(u)].join(""),d=de(c,a),h={target:We({},e.target,{value:d})};this.executeOnChange(h,c,d,fe(s,a))}}}]),t}(v().Component);g(je,"propTypes",Fe),g(je,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var Ge=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},He=ke({position:"relative",overflowY:"visible",input:{display:"block",width:"100%",position:"absolute",margin:0,top:0,left:0,boxSizing:"border-box",backgroundColor:"transparent",fontFamily:"inherit",fontSize:"inherit",letterSpacing:"inherit"},"&multiLine":{input:We({height:"100%",bottom:0,overflow:"hidden",resize:"none"},"undefined"!=typeof navigator&&/iPhone|iPad|iPod/i.test(navigator.userAgent)?{marginTop:1,marginLeft:-3}:null)}},(function(e){var t=e.singleLine;return{"&singleLine":t,"&multiLine":!t}}))(je),Ne={fontWeight:"inherit"},Ue=function(e){var t=e.display,n=e.style,o=e.className,i=e.classNames,r=Y(Ne,{style:n,className:o,classNames:i});return v().createElement("strong",r,t)};Ue.propTypes={onAdd:ee().func,onRemove:ee().func,renderSuggestion:ee().func,trigger:ee().oneOfType([ee().string,ee().instanceOf(RegExp)]),markup:ee().string,displayTransform:ee().func,allowSpaceInQuery:ee().bool,isLoading:ee().bool},Ue.defaultProps={trigger:"@",markup:"@[__display__](__id__)",displayTransform:function(e,t){return t||e},onAdd:function(){return null},onRemove:function(){return null},renderSuggestion:null,isLoading:!1,appendSpaceOnAdd:!1}},31396:(e,t,n)=>{"use strict";n.d(t,{Z:()=>z});var o=n(24328),i=n.n(o),r=n(13980),s=n.n(r),a=n(25473),l=n.n(a),u=n(46847);function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function h(e,t,n){return t&&d(e.prototype,t),n&&d(e,n),e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function S(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?b(e):t}function M(e){return function(){var t,n=v(e);if(S()){var o=v(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return C(this,t)}}var x=function(e){m(n,e);var t=M(n);function n(){return c(this,n),t.apply(this,arguments)}return h(n,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,o=e.split,r=e.style,s=e.size,a=e.eleRef,l=["Pane",o,n],u={flex:1,position:"relative",outline:"none"};return void 0!==s&&("vertical"===o?u.width=s:(u.height=s,u.display="flex"),u.flex="none"),u=Object.assign({},u,r||{}),i().createElement("div",{ref:a,className:l.join(" "),style:u},t)}}]),n}(i().PureComponent);x.propTypes={className:s().string.isRequired,children:s().node.isRequired,size:s().oneOfType([s().string,s().number]),split:s().oneOf(["vertical","horizontal"]),style:l(),eleRef:s().func},x.defaultProps={};var w="Resizer",_=function(e){m(n,e);var t=M(n);function n(){return c(this,n),t.apply(this,arguments)}return h(n,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.onClick,o=e.onDoubleClick,r=e.onMouseDown,s=e.onTouchEnd,a=e.onTouchStart,l=e.resizerClassName,u=e.split,c=e.style,d=[l,u,t];return i().createElement("span",{role:"presentation",className:d.join(" "),style:c,onMouseDown:function(e){return r(e)},onTouchStart:function(e){e.preventDefault(),a(e)},onTouchEnd:function(e){e.preventDefault(),s(e)},onClick:function(e){n&&(e.preventDefault(),n(e))},onDoubleClick:function(e){o&&(e.preventDefault(),o(e))}})}}]),n}(i().Component);function k(e,t){if(e.selection)e.selection.empty();else try{t.getSelection().removeAllRanges()}catch(e){}}function O(e,t,n,o){if("number"==typeof o){var i="number"==typeof t?t:0,r="number"==typeof n&&n>=0?n:1/0;return Math.max(i,Math.min(r,o))}return void 0!==e?e:t}_.propTypes={className:s().string.isRequired,onClick:s().func,onDoubleClick:s().func,onMouseDown:s().func.isRequired,onTouchStart:s().func.isRequired,onTouchEnd:s().func.isRequired,split:s().oneOf(["vertical","horizontal"]),style:l(),resizerClassName:s().string.isRequired},_.defaultProps={resizerClassName:w};var E=function(e){m(n,e);var t=M(n);function n(e){var o;c(this,n),(o=t.call(this,e)).onMouseDown=o.onMouseDown.bind(b(o)),o.onTouchStart=o.onTouchStart.bind(b(o)),o.onMouseMove=o.onMouseMove.bind(b(o)),o.onTouchMove=o.onTouchMove.bind(b(o)),o.onMouseUp=o.onMouseUp.bind(b(o));var i=e.size,r=e.defaultSize,s=e.minSize,a=e.maxSize,l=e.primary,u=void 0!==i?i:O(r,s,a,null);return o.state={active:!1,resized:!1,pane1Size:"first"===l?u:void 0,pane2Size:"second"===l?u:void 0,instanceProps:{size:i}},o}return h(n,[{key:"componentDidMount",value:function(){document.addEventListener("mouseup",this.onMouseUp),document.addEventListener("mousemove",this.onMouseMove),document.addEventListener("touchmove",this.onTouchMove),this.setState(n.getSizeUpdate(this.props,this.state))}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mouseup",this.onMouseUp),document.removeEventListener("mousemove",this.onMouseMove),document.removeEventListener("touchmove",this.onTouchMove)}},{key:"onMouseDown",value:function(e){var t=Object.assign({},e,{touches:[{clientX:e.clientX,clientY:e.clientY}]});this.onTouchStart(t)}},{key:"onTouchStart",value:function(e){var t=this.props,n=t.allowResize,o=t.onDragStarted,i=t.split;if(n){k(document,window);var r="vertical"===i?e.touches[0].clientX:e.touches[0].clientY;"function"==typeof o&&o(),this.setState({active:!0,position:r})}}},{key:"onMouseMove",value:function(e){var t=Object.assign({},e,{touches:[{clientX:e.clientX,clientY:e.clientY}]});this.onTouchMove(t)}},{key:"onTouchMove",value:function(e){var t=this.props,n=t.allowResize,o=t.maxSize,i=t.minSize,r=t.onChange,s=t.split,a=t.step,l=this.state,u=l.active,c=l.position;if(n&&u){k(document,window);var d="first"===this.props.primary,h=d?this.pane1:this.pane2,f=d?this.pane2:this.pane1;if(h){var g=h,m=f;if(g.getBoundingClientRect){var v=g.getBoundingClientRect().width,y=g.getBoundingClientRect().height,S="vertical"===s?v:y,b=c-("vertical"===s?e.touches[0].clientX:e.touches[0].clientY);if(a){if(Math.abs(b)<a)return;b=~~(b/a)*a}var C=d?b:-b;parseInt(window.getComputedStyle(g).order)>parseInt(window.getComputedStyle(m).order)&&(C=-C);var M=o;if(void 0!==o&&o<=0){var x=this.splitPane;M="vertical"===s?x.getBoundingClientRect().width+o:x.getBoundingClientRect().height+o}var w=S-C,_=c-b;w<i?w=i:void 0!==o&&w>M?w=M:this.setState({position:_,resized:!0}),r&&r(w),this.setState(p({draggedSize:w},d?"pane1Size":"pane2Size",w))}}}}},{key:"onMouseUp",value:function(){var e=this.props,t=e.allowResize,n=e.onDragFinished,o=this.state,i=o.active,r=o.draggedSize;t&&i&&("function"==typeof n&&n(r),this.setState({active:!1}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.allowResize,o=t.children,r=t.className,s=t.onResizerClick,a=t.onResizerDoubleClick,l=t.paneClassName,u=t.pane1ClassName,c=t.pane2ClassName,d=t.paneStyle,h=t.pane1Style,p=t.pane2Style,f=t.resizerClassName,m=t.resizerStyle,v=t.split,y=t.style,S=this.state,b=S.pane1Size,C=S.pane2Size,M=n?"":"disabled",k=f?"".concat(f," ").concat(w):f,O=function(e){return i().Children.toArray(e).filter((function(e){return e}))}(o),E=g({display:"flex",flex:1,height:"100%",position:"absolute",outline:"none",overflow:"hidden",MozUserSelect:"text",WebkitUserSelect:"text",msUserSelect:"text",userSelect:"text"},y);"vertical"===v?Object.assign(E,{flexDirection:"row",left:0,right:0}):Object.assign(E,{bottom:0,flexDirection:"column",minHeight:"100%",top:0,width:"100%"});var z=["SplitPane",r,v,M],T=g({},d,{},h),P=g({},d,{},p),R=["Pane1",l,u].join(" "),I=["Pane2",l,c].join(" ");return i().createElement("div",{className:z.join(" "),ref:function(t){e.splitPane=t},style:E},i().createElement(x,{className:R,key:"pane1",eleRef:function(t){e.pane1=t},size:b,split:v,style:T},O[0]),i().createElement(_,{className:M,onClick:s,onDoubleClick:a,onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,onTouchEnd:this.onMouseUp,key:"resizer",resizerClassName:k,split:v,style:m||{}}),i().createElement(x,{className:I,key:"pane2",eleRef:function(t){e.pane2=t},size:C,split:v,style:P},O[1]))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return n.getSizeUpdate(e,t)}},{key:"getSizeUpdate",value:function(e,t){var n={};if(t.instanceProps.size===e.size&&void 0!==e.size)return{};var o=void 0!==e.size?e.size:O(e.defaultSize,e.minSize,e.maxSize,t.draggedSize);void 0!==e.size&&(n.draggedSize=o);var i="first"===e.primary;return n[i?"pane1Size":"pane2Size"]=o,n[i?"pane2Size":"pane1Size"]=void 0,n.instanceProps={size:e.size},n}}]),n}(i().Component);E.propTypes={allowResize:s().bool,children:s().arrayOf(s().node).isRequired,className:s().string,primary:s().oneOf(["first","second"]),minSize:s().oneOfType([s().string,s().number]),maxSize:s().oneOfType([s().string,s().number]),defaultSize:s().oneOfType([s().string,s().number]),size:s().oneOfType([s().string,s().number]),split:s().oneOf(["vertical","horizontal"]),onDragStarted:s().func,onDragFinished:s().func,onChange:s().func,onResizerClick:s().func,onResizerDoubleClick:s().func,style:l(),resizerStyle:l(),paneClassName:s().string,pane1ClassName:s().string,pane2ClassName:s().string,paneStyle:l(),pane1Style:l(),pane2Style:l(),resizerClassName:s().string,step:s().number},E.defaultProps={allowResize:!0,minSize:50,primary:"first",split:"vertical",paneClassName:"",pane1ClassName:"",pane2ClassName:""},(0,u.polyfill)(E);const z=E},2787:e=>{e.exports=["alignContent","MozAlignContent","WebkitAlignContent","MSAlignContent","OAlignContent","alignItems","MozAlignItems","WebkitAlignItems","MSAlignItems","OAlignItems","alignSelf","MozAlignSelf","WebkitAlignSelf","MSAlignSelf","OAlignSelf","all","MozAll","WebkitAll","MSAll","OAll","animation","MozAnimation","WebkitAnimation","MSAnimation","OAnimation","animationDelay","MozAnimationDelay","WebkitAnimationDelay","MSAnimationDelay","OAnimationDelay","animationDirection","MozAnimationDirection","WebkitAnimationDirection","MSAnimationDirection","OAnimationDirection","animationDuration","MozAnimationDuration","WebkitAnimationDuration","MSAnimationDuration","OAnimationDuration","animationFillMode","MozAnimationFillMode","WebkitAnimationFillMode","MSAnimationFillMode","OAnimationFillMode","animationIterationCount","MozAnimationIterationCount","WebkitAnimationIterationCount","MSAnimationIterationCount","OAnimationIterationCount","animationName","MozAnimationName","WebkitAnimationName","MSAnimationName","OAnimationName","animationPlayState","MozAnimationPlayState","WebkitAnimationPlayState","MSAnimationPlayState","OAnimationPlayState","animationTimingFunction","MozAnimationTimingFunction","WebkitAnimationTimingFunction","MSAnimationTimingFunction","OAnimationTimingFunction","backfaceVisibility","MozBackfaceVisibility","WebkitBackfaceVisibility","MSBackfaceVisibility","OBackfaceVisibility","background","MozBackground","WebkitBackground","MSBackground","OBackground","backgroundAttachment","MozBackgroundAttachment","WebkitBackgroundAttachment","MSBackgroundAttachment","OBackgroundAttachment","backgroundBlendMode","MozBackgroundBlendMode","WebkitBackgroundBlendMode","MSBackgroundBlendMode","OBackgroundBlendMode","backgroundClip","MozBackgroundClip","WebkitBackgroundClip","MSBackgroundClip","OBackgroundClip","backgroundColor","MozBackgroundColor","WebkitBackgroundColor","MSBackgroundColor","OBackgroundColor","backgroundImage","MozBackgroundImage","WebkitBackgroundImage","MSBackgroundImage","OBackgroundImage","backgroundOrigin","MozBackgroundOrigin","WebkitBackgroundOrigin","MSBackgroundOrigin","OBackgroundOrigin","backgroundPosition","MozBackgroundPosition","WebkitBackgroundPosition","MSBackgroundPosition","OBackgroundPosition","backgroundRepeat","MozBackgroundRepeat","WebkitBackgroundRepeat","MSBackgroundRepeat","OBackgroundRepeat","backgroundSize","MozBackgroundSize","WebkitBackgroundSize","MSBackgroundSize","OBackgroundSize","blockSize","MozBlockSize","WebkitBlockSize","MSBlockSize","OBlockSize","border","MozBorder","WebkitBorder","MSBorder","OBorder","borderBlockEnd","MozBorderBlockEnd","WebkitBorderBlockEnd","MSBorderBlockEnd","OBorderBlockEnd","borderBlockEndColor","MozBorderBlockEndColor","WebkitBorderBlockEndColor","MSBorderBlockEndColor","OBorderBlockEndColor","borderBlockEndStyle","MozBorderBlockEndStyle","WebkitBorderBlockEndStyle","MSBorderBlockEndStyle","OBorderBlockEndStyle","borderBlockEndWidth","MozBorderBlockEndWidth","WebkitBorderBlockEndWidth","MSBorderBlockEndWidth","OBorderBlockEndWidth","borderBlockStart","MozBorderBlockStart","WebkitBorderBlockStart","MSBorderBlockStart","OBorderBlockStart","borderBlockStartColor","MozBorderBlockStartColor","WebkitBorderBlockStartColor","MSBorderBlockStartColor","OBorderBlockStartColor","borderBlockStartStyle","MozBorderBlockStartStyle","WebkitBorderBlockStartStyle","MSBorderBlockStartStyle","OBorderBlockStartStyle","borderBlockStartWidth","MozBorderBlockStartWidth","WebkitBorderBlockStartWidth","MSBorderBlockStartWidth","OBorderBlockStartWidth","borderBottom","MozBorderBottom","WebkitBorderBottom","MSBorderBottom","OBorderBottom","borderBottomColor","MozBorderBottomColor","WebkitBorderBottomColor","MSBorderBottomColor","OBorderBottomColor","borderBottomLeftRadius","MozBorderBottomLeftRadius","WebkitBorderBottomLeftRadius","MSBorderBottomLeftRadius","OBorderBottomLeftRadius","borderBottomRightRadius","MozBorderBottomRightRadius","WebkitBorderBottomRightRadius","MSBorderBottomRightRadius","OBorderBottomRightRadius","borderBottomStyle","MozBorderBottomStyle","WebkitBorderBottomStyle","MSBorderBottomStyle","OBorderBottomStyle","borderBottomWidth","MozBorderBottomWidth","WebkitBorderBottomWidth","MSBorderBottomWidth","OBorderBottomWidth","borderCollapse","MozBorderCollapse","WebkitBorderCollapse","MSBorderCollapse","OBorderCollapse","borderColor","MozBorderColor","WebkitBorderColor","MSBorderColor","OBorderColor","borderImage","MozBorderImage","WebkitBorderImage","MSBorderImage","OBorderImage","borderImageOutset","MozBorderImageOutset","WebkitBorderImageOutset","MSBorderImageOutset","OBorderImageOutset","borderImageRepeat","MozBorderImageRepeat","WebkitBorderImageRepeat","MSBorderImageRepeat","OBorderImageRepeat","borderImageSlice","MozBorderImageSlice","WebkitBorderImageSlice","MSBorderImageSlice","OBorderImageSlice","borderImageSource","MozBorderImageSource","WebkitBorderImageSource","MSBorderImageSource","OBorderImageSource","borderImageWidth","MozBorderImageWidth","WebkitBorderImageWidth","MSBorderImageWidth","OBorderImageWidth","borderInlineEnd","MozBorderInlineEnd","WebkitBorderInlineEnd","MSBorderInlineEnd","OBorderInlineEnd","borderInlineEndColor","MozBorderInlineEndColor","WebkitBorderInlineEndColor","MSBorderInlineEndColor","OBorderInlineEndColor","borderInlineEndStyle","MozBorderInlineEndStyle","WebkitBorderInlineEndStyle","MSBorderInlineEndStyle","OBorderInlineEndStyle","borderInlineEndWidth","MozBorderInlineEndWidth","WebkitBorderInlineEndWidth","MSBorderInlineEndWidth","OBorderInlineEndWidth","borderInlineStart","MozBorderInlineStart","WebkitBorderInlineStart","MSBorderInlineStart","OBorderInlineStart","borderInlineStartColor","MozBorderInlineStartColor","WebkitBorderInlineStartColor","MSBorderInlineStartColor","OBorderInlineStartColor","borderInlineStartStyle","MozBorderInlineStartStyle","WebkitBorderInlineStartStyle","MSBorderInlineStartStyle","OBorderInlineStartStyle","borderInlineStartWidth","MozBorderInlineStartWidth","WebkitBorderInlineStartWidth","MSBorderInlineStartWidth","OBorderInlineStartWidth","borderLeft","MozBorderLeft","WebkitBorderLeft","MSBorderLeft","OBorderLeft","borderLeftColor","MozBorderLeftColor","WebkitBorderLeftColor","MSBorderLeftColor","OBorderLeftColor","borderLeftStyle","MozBorderLeftStyle","WebkitBorderLeftStyle","MSBorderLeftStyle","OBorderLeftStyle","borderLeftWidth","MozBorderLeftWidth","WebkitBorderLeftWidth","MSBorderLeftWidth","OBorderLeftWidth","borderRadius","MozBorderRadius","WebkitBorderRadius","MSBorderRadius","OBorderRadius","borderRight","MozBorderRight","WebkitBorderRight","MSBorderRight","OBorderRight","borderRightColor","MozBorderRightColor","WebkitBorderRightColor","MSBorderRightColor","OBorderRightColor","borderRightStyle","MozBorderRightStyle","WebkitBorderRightStyle","MSBorderRightStyle","OBorderRightStyle","borderRightWidth","MozBorderRightWidth","WebkitBorderRightWidth","MSBorderRightWidth","OBorderRightWidth","borderSpacing","MozBorderSpacing","WebkitBorderSpacing","MSBorderSpacing","OBorderSpacing","borderStyle","MozBorderStyle","WebkitBorderStyle","MSBorderStyle","OBorderStyle","borderTop","MozBorderTop","WebkitBorderTop","MSBorderTop","OBorderTop","borderTopColor","MozBorderTopColor","WebkitBorderTopColor","MSBorderTopColor","OBorderTopColor","borderTopLeftRadius","MozBorderTopLeftRadius","WebkitBorderTopLeftRadius","MSBorderTopLeftRadius","OBorderTopLeftRadius","borderTopRightRadius","MozBorderTopRightRadius","WebkitBorderTopRightRadius","MSBorderTopRightRadius","OBorderTopRightRadius","borderTopStyle","MozBorderTopStyle","WebkitBorderTopStyle","MSBorderTopStyle","OBorderTopStyle","borderTopWidth","MozBorderTopWidth","WebkitBorderTopWidth","MSBorderTopWidth","OBorderTopWidth","borderWidth","MozBorderWidth","WebkitBorderWidth","MSBorderWidth","OBorderWidth","bottom","MozBottom","WebkitBottom","MSBottom","OBottom","boxDecorationBreak","MozBoxDecorationBreak","WebkitBoxDecorationBreak","MSBoxDecorationBreak","OBoxDecorationBreak","boxShadow","MozBoxShadow","WebkitBoxShadow","MSBoxShadow","OBoxShadow","boxSizing","MozBoxSizing","WebkitBoxSizing","MSBoxSizing","OBoxSizing","breakAfter","MozBreakAfter","WebkitBreakAfter","MSBreakAfter","OBreakAfter","breakBefore","MozBreakBefore","WebkitBreakBefore","MSBreakBefore","OBreakBefore","breakInside","MozBreakInside","WebkitBreakInside","MSBreakInside","OBreakInside","captionSide","MozCaptionSide","WebkitCaptionSide","MSCaptionSide","OCaptionSide","caretColor","MozCaretColor","WebkitCaretColor","MSCaretColor","OCaretColor","ch","MozCh","WebkitCh","MSCh","OCh","clear","MozClear","WebkitClear","MSClear","OClear","clip","MozClip","WebkitClip","MSClip","OClip","clipPath","MozClipPath","WebkitClipPath","MSClipPath","OClipPath","cm","MozCm","WebkitCm","MSCm","OCm","color","MozColor","WebkitColor","MSColor","OColor","columnCount","MozColumnCount","WebkitColumnCount","MSColumnCount","OColumnCount","columnFill","MozColumnFill","WebkitColumnFill","MSColumnFill","OColumnFill","columnGap","MozColumnGap","WebkitColumnGap","MSColumnGap","OColumnGap","columnRule","MozColumnRule","WebkitColumnRule","MSColumnRule","OColumnRule","columnRuleColor","MozColumnRuleColor","WebkitColumnRuleColor","MSColumnRuleColor","OColumnRuleColor","columnRuleStyle","MozColumnRuleStyle","WebkitColumnRuleStyle","MSColumnRuleStyle","OColumnRuleStyle","columnRuleWidth","MozColumnRuleWidth","WebkitColumnRuleWidth","MSColumnRuleWidth","OColumnRuleWidth","columnSpan","MozColumnSpan","WebkitColumnSpan","MSColumnSpan","OColumnSpan","columnWidth","MozColumnWidth","WebkitColumnWidth","MSColumnWidth","OColumnWidth","columns","MozColumns","WebkitColumns","MSColumns","OColumns","content","MozContent","WebkitContent","MSContent","OContent","counterIncrement","MozCounterIncrement","WebkitCounterIncrement","MSCounterIncrement","OCounterIncrement","counterReset","MozCounterReset","WebkitCounterReset","MSCounterReset","OCounterReset","cursor","MozCursor","WebkitCursor","MSCursor","OCursor","deg","MozDeg","WebkitDeg","MSDeg","ODeg","direction","MozDirection","WebkitDirection","MSDirection","ODirection","display","MozDisplay","WebkitDisplay","MSDisplay","ODisplay","dpcm","MozDpcm","WebkitDpcm","MSDpcm","ODpcm","dpi","MozDpi","WebkitDpi","MSDpi","ODpi","dppx","MozDppx","WebkitDppx","MSDppx","ODppx","em","MozEm","WebkitEm","MSEm","OEm","emptyCells","MozEmptyCells","WebkitEmptyCells","MSEmptyCells","OEmptyCells","ex","MozEx","WebkitEx","MSEx","OEx","filter","MozFilter","WebkitFilter","MSFilter","OFilter","flexBasis","MozFlexBasis","WebkitFlexBasis","MSFlexBasis","OFlexBasis","flexDirection","MozFlexDirection","WebkitFlexDirection","MSFlexDirection","OFlexDirection","flexFlow","MozFlexFlow","WebkitFlexFlow","MSFlexFlow","OFlexFlow","flexGrow","MozFlexGrow","WebkitFlexGrow","MSFlexGrow","OFlexGrow","flexShrink","MozFlexShrink","WebkitFlexShrink","MSFlexShrink","OFlexShrink","flexWrap","MozFlexWrap","WebkitFlexWrap","MSFlexWrap","OFlexWrap","float","MozFloat","WebkitFloat","MSFloat","OFloat","font","MozFont","WebkitFont","MSFont","OFont","fontFamily","MozFontFamily","WebkitFontFamily","MSFontFamily","OFontFamily","fontFeatureSettings","MozFontFeatureSettings","WebkitFontFeatureSettings","MSFontFeatureSettings","OFontFeatureSettings","fontKerning","MozFontKerning","WebkitFontKerning","MSFontKerning","OFontKerning","fontLanguageOverride","MozFontLanguageOverride","WebkitFontLanguageOverride","MSFontLanguageOverride","OFontLanguageOverride","fontSize","MozFontSize","WebkitFontSize","MSFontSize","OFontSize","fontSizeAdjust","MozFontSizeAdjust","WebkitFontSizeAdjust","MSFontSizeAdjust","OFontSizeAdjust","fontStretch","MozFontStretch","WebkitFontStretch","MSFontStretch","OFontStretch","fontStyle","MozFontStyle","WebkitFontStyle","MSFontStyle","OFontStyle","fontSynthesis","MozFontSynthesis","WebkitFontSynthesis","MSFontSynthesis","OFontSynthesis","fontVariant","MozFontVariant","WebkitFontVariant","MSFontVariant","OFontVariant","fontVariantAlternates","MozFontVariantAlternates","WebkitFontVariantAlternates","MSFontVariantAlternates","OFontVariantAlternates","fontVariantCaps","MozFontVariantCaps","WebkitFontVariantCaps","MSFontVariantCaps","OFontVariantCaps","fontVariantEastAsian","MozFontVariantEastAsian","WebkitFontVariantEastAsian","MSFontVariantEastAsian","OFontVariantEastAsian","fontVariantLigatures","MozFontVariantLigatures","WebkitFontVariantLigatures","MSFontVariantLigatures","OFontVariantLigatures","fontVariantNumeric","MozFontVariantNumeric","WebkitFontVariantNumeric","MSFontVariantNumeric","OFontVariantNumeric","fontVariantPosition","MozFontVariantPosition","WebkitFontVariantPosition","MSFontVariantPosition","OFontVariantPosition","fontWeight","MozFontWeight","WebkitFontWeight","MSFontWeight","OFontWeight","fr","MozFr","WebkitFr","MSFr","OFr","grad","MozGrad","WebkitGrad","MSGrad","OGrad","grid","MozGrid","WebkitGrid","MSGrid","OGrid","gridArea","MozGridArea","WebkitGridArea","MSGridArea","OGridArea","gridAutoColumns","MozGridAutoColumns","WebkitGridAutoColumns","MSGridAutoColumns","OGridAutoColumns","gridAutoFlow","MozGridAutoFlow","WebkitGridAutoFlow","MSGridAutoFlow","OGridAutoFlow","gridAutoRows","MozGridAutoRows","WebkitGridAutoRows","MSGridAutoRows","OGridAutoRows","gridColumn","MozGridColumn","WebkitGridColumn","MSGridColumn","OGridColumn","gridColumnEnd","MozGridColumnEnd","WebkitGridColumnEnd","MSGridColumnEnd","OGridColumnEnd","gridColumnGap","MozGridColumnGap","WebkitGridColumnGap","MSGridColumnGap","OGridColumnGap","gridColumnStart","MozGridColumnStart","WebkitGridColumnStart","MSGridColumnStart","OGridColumnStart","gridGap","MozGridGap","WebkitGridGap","MSGridGap","OGridGap","gridRow","MozGridRow","WebkitGridRow","MSGridRow","OGridRow","gridRowEnd","MozGridRowEnd","WebkitGridRowEnd","MSGridRowEnd","OGridRowEnd","gridRowGap","MozGridRowGap","WebkitGridRowGap","MSGridRowGap","OGridRowGap","gridRowStart","MozGridRowStart","WebkitGridRowStart","MSGridRowStart","OGridRowStart","gridTemplate","MozGridTemplate","WebkitGridTemplate","MSGridTemplate","OGridTemplate","gridTemplateAreas","MozGridTemplateAreas","WebkitGridTemplateAreas","MSGridTemplateAreas","OGridTemplateAreas","gridTemplateColumns","MozGridTemplateColumns","WebkitGridTemplateColumns","MSGridTemplateColumns","OGridTemplateColumns","gridTemplateRows","MozGridTemplateRows","WebkitGridTemplateRows","MSGridTemplateRows","OGridTemplateRows","height","MozHeight","WebkitHeight","MSHeight","OHeight","hyphens","MozHyphens","WebkitHyphens","MSHyphens","OHyphens","hz","MozHz","WebkitHz","MSHz","OHz","imageOrientation","MozImageOrientation","WebkitImageOrientation","MSImageOrientation","OImageOrientation","imageRendering","MozImageRendering","WebkitImageRendering","MSImageRendering","OImageRendering","imageResolution","MozImageResolution","WebkitImageResolution","MSImageResolution","OImageResolution","imeMode","MozImeMode","WebkitImeMode","MSImeMode","OImeMode","in","MozIn","WebkitIn","MSIn","OIn","inherit","MozInherit","WebkitInherit","MSInherit","OInherit","initial","MozInitial","WebkitInitial","MSInitial","OInitial","inlineSize","MozInlineSize","WebkitInlineSize","MSInlineSize","OInlineSize","isolation","MozIsolation","WebkitIsolation","MSIsolation","OIsolation","justifyContent","MozJustifyContent","WebkitJustifyContent","MSJustifyContent","OJustifyContent","khz","MozKhz","WebkitKhz","MSKhz","OKhz","left","MozLeft","WebkitLeft","MSLeft","OLeft","letterSpacing","MozLetterSpacing","WebkitLetterSpacing","MSLetterSpacing","OLetterSpacing","lineBreak","MozLineBreak","WebkitLineBreak","MSLineBreak","OLineBreak","lineHeight","MozLineHeight","WebkitLineHeight","MSLineHeight","OLineHeight","listStyle","MozListStyle","WebkitListStyle","MSListStyle","OListStyle","listStyleImage","MozListStyleImage","WebkitListStyleImage","MSListStyleImage","OListStyleImage","listStylePosition","MozListStylePosition","WebkitListStylePosition","MSListStylePosition","OListStylePosition","listStyleType","MozListStyleType","WebkitListStyleType","MSListStyleType","OListStyleType","margin","MozMargin","WebkitMargin","MSMargin","OMargin","marginBlockEnd","MozMarginBlockEnd","WebkitMarginBlockEnd","MSMarginBlockEnd","OMarginBlockEnd","marginBlockStart","MozMarginBlockStart","WebkitMarginBlockStart","MSMarginBlockStart","OMarginBlockStart","marginBottom","MozMarginBottom","WebkitMarginBottom","MSMarginBottom","OMarginBottom","marginInlineEnd","MozMarginInlineEnd","WebkitMarginInlineEnd","MSMarginInlineEnd","OMarginInlineEnd","marginInlineStart","MozMarginInlineStart","WebkitMarginInlineStart","MSMarginInlineStart","OMarginInlineStart","marginLeft","MozMarginLeft","WebkitMarginLeft","MSMarginLeft","OMarginLeft","marginRight","MozMarginRight","WebkitMarginRight","MSMarginRight","OMarginRight","marginTop","MozMarginTop","WebkitMarginTop","MSMarginTop","OMarginTop","mask","MozMask","WebkitMask","MSMask","OMask","maskClip","MozMaskClip","WebkitMaskClip","MSMaskClip","OMaskClip","maskComposite","MozMaskComposite","WebkitMaskComposite","MSMaskComposite","OMaskComposite","maskImage","MozMaskImage","WebkitMaskImage","MSMaskImage","OMaskImage","maskMode","MozMaskMode","WebkitMaskMode","MSMaskMode","OMaskMode","maskOrigin","MozMaskOrigin","WebkitMaskOrigin","MSMaskOrigin","OMaskOrigin","maskPosition","MozMaskPosition","WebkitMaskPosition","MSMaskPosition","OMaskPosition","maskRepeat","MozMaskRepeat","WebkitMaskRepeat","MSMaskRepeat","OMaskRepeat","maskSize","MozMaskSize","WebkitMaskSize","MSMaskSize","OMaskSize","maskType","MozMaskType","WebkitMaskType","MSMaskType","OMaskType","maxHeight","MozMaxHeight","WebkitMaxHeight","MSMaxHeight","OMaxHeight","maxWidth","MozMaxWidth","WebkitMaxWidth","MSMaxWidth","OMaxWidth","minBlockSize","MozMinBlockSize","WebkitMinBlockSize","MSMinBlockSize","OMinBlockSize","minHeight","MozMinHeight","WebkitMinHeight","MSMinHeight","OMinHeight","minInlineSize","MozMinInlineSize","WebkitMinInlineSize","MSMinInlineSize","OMinInlineSize","minWidth","MozMinWidth","WebkitMinWidth","MSMinWidth","OMinWidth","mixBlendMode","MozMixBlendMode","WebkitMixBlendMode","MSMixBlendMode","OMixBlendMode","mm","MozMm","WebkitMm","MSMm","OMm","ms","MozMs","WebkitMs","MSMs","OMs","objectFit","MozObjectFit","WebkitObjectFit","MSObjectFit","OObjectFit","objectPosition","MozObjectPosition","WebkitObjectPosition","MSObjectPosition","OObjectPosition","offsetBlockEnd","MozOffsetBlockEnd","WebkitOffsetBlockEnd","MSOffsetBlockEnd","OOffsetBlockEnd","offsetBlockStart","MozOffsetBlockStart","WebkitOffsetBlockStart","MSOffsetBlockStart","OOffsetBlockStart","offsetInlineEnd","MozOffsetInlineEnd","WebkitOffsetInlineEnd","MSOffsetInlineEnd","OOffsetInlineEnd","offsetInlineStart","MozOffsetInlineStart","WebkitOffsetInlineStart","MSOffsetInlineStart","OOffsetInlineStart","opacity","MozOpacity","WebkitOpacity","MSOpacity","OOpacity","order","MozOrder","WebkitOrder","MSOrder","OOrder","orphans","MozOrphans","WebkitOrphans","MSOrphans","OOrphans","outline","MozOutline","WebkitOutline","MSOutline","OOutline","outlineColor","MozOutlineColor","WebkitOutlineColor","MSOutlineColor","OOutlineColor","outlineOffset","MozOutlineOffset","WebkitOutlineOffset","MSOutlineOffset","OOutlineOffset","outlineStyle","MozOutlineStyle","WebkitOutlineStyle","MSOutlineStyle","OOutlineStyle","outlineWidth","MozOutlineWidth","WebkitOutlineWidth","MSOutlineWidth","OOutlineWidth","overflow","MozOverflow","WebkitOverflow","MSOverflow","OOverflow","overflowWrap","MozOverflowWrap","WebkitOverflowWrap","MSOverflowWrap","OOverflowWrap","overflowX","MozOverflowX","WebkitOverflowX","MSOverflowX","OOverflowX","overflowY","MozOverflowY","WebkitOverflowY","MSOverflowY","OOverflowY","padding","MozPadding","WebkitPadding","MSPadding","OPadding","paddingBlockEnd","MozPaddingBlockEnd","WebkitPaddingBlockEnd","MSPaddingBlockEnd","OPaddingBlockEnd","paddingBlockStart","MozPaddingBlockStart","WebkitPaddingBlockStart","MSPaddingBlockStart","OPaddingBlockStart","paddingBottom","MozPaddingBottom","WebkitPaddingBottom","MSPaddingBottom","OPaddingBottom","paddingInlineEnd","MozPaddingInlineEnd","WebkitPaddingInlineEnd","MSPaddingInlineEnd","OPaddingInlineEnd","paddingInlineStart","MozPaddingInlineStart","WebkitPaddingInlineStart","MSPaddingInlineStart","OPaddingInlineStart","paddingLeft","MozPaddingLeft","WebkitPaddingLeft","MSPaddingLeft","OPaddingLeft","paddingRight","MozPaddingRight","WebkitPaddingRight","MSPaddingRight","OPaddingRight","paddingTop","MozPaddingTop","WebkitPaddingTop","MSPaddingTop","OPaddingTop","pageBreakAfter","MozPageBreakAfter","WebkitPageBreakAfter","MSPageBreakAfter","OPageBreakAfter","pageBreakBefore","MozPageBreakBefore","WebkitPageBreakBefore","MSPageBreakBefore","OPageBreakBefore","pageBreakInside","MozPageBreakInside","WebkitPageBreakInside","MSPageBreakInside","OPageBreakInside","pc","MozPc","WebkitPc","MSPc","OPc","perspective","MozPerspective","WebkitPerspective","MSPerspective","OPerspective","perspectiveOrigin","MozPerspectiveOrigin","WebkitPerspectiveOrigin","MSPerspectiveOrigin","OPerspectiveOrigin","pointerEvents","MozPointerEvents","WebkitPointerEvents","MSPointerEvents","OPointerEvents","position","MozPosition","WebkitPosition","MSPosition","OPosition","pt","MozPt","WebkitPt","MSPt","OPt","px","MozPx","WebkitPx","MSPx","OPx","q","MozQ","WebkitQ","MSQ","OQ","quotes","MozQuotes","WebkitQuotes","MSQuotes","OQuotes","rad","MozRad","WebkitRad","MSRad","ORad","rem","MozRem","WebkitRem","MSRem","ORem","resize","MozResize","WebkitResize","MSResize","OResize","revert","MozRevert","WebkitRevert","MSRevert","ORevert","right","MozRight","WebkitRight","MSRight","ORight","rubyAlign","MozRubyAlign","WebkitRubyAlign","MSRubyAlign","ORubyAlign","rubyMerge","MozRubyMerge","WebkitRubyMerge","MSRubyMerge","ORubyMerge","rubyPosition","MozRubyPosition","WebkitRubyPosition","MSRubyPosition","ORubyPosition","s","MozS","WebkitS","MSS","OS","scrollBehavior","MozScrollBehavior","WebkitScrollBehavior","MSScrollBehavior","OScrollBehavior","scrollSnapCoordinate","MozScrollSnapCoordinate","WebkitScrollSnapCoordinate","MSScrollSnapCoordinate","OScrollSnapCoordinate","scrollSnapDestination","MozScrollSnapDestination","WebkitScrollSnapDestination","MSScrollSnapDestination","OScrollSnapDestination","scrollSnapType","MozScrollSnapType","WebkitScrollSnapType","MSScrollSnapType","OScrollSnapType","shapeImageThreshold","MozShapeImageThreshold","WebkitShapeImageThreshold","MSShapeImageThreshold","OShapeImageThreshold","shapeMargin","MozShapeMargin","WebkitShapeMargin","MSShapeMargin","OShapeMargin","shapeOutside","MozShapeOutside","WebkitShapeOutside","MSShapeOutside","OShapeOutside","tabSize","MozTabSize","WebkitTabSize","MSTabSize","OTabSize","tableLayout","MozTableLayout","WebkitTableLayout","MSTableLayout","OTableLayout","textAlign","MozTextAlign","WebkitTextAlign","MSTextAlign","OTextAlign","textAlignLast","MozTextAlignLast","WebkitTextAlignLast","MSTextAlignLast","OTextAlignLast","textCombineUpright","MozTextCombineUpright","WebkitTextCombineUpright","MSTextCombineUpright","OTextCombineUpright","textDecoration","MozTextDecoration","WebkitTextDecoration","MSTextDecoration","OTextDecoration","textDecorationColor","MozTextDecorationColor","WebkitTextDecorationColor","MSTextDecorationColor","OTextDecorationColor","textDecorationLine","MozTextDecorationLine","WebkitTextDecorationLine","MSTextDecorationLine","OTextDecorationLine","textDecorationStyle","MozTextDecorationStyle","WebkitTextDecorationStyle","MSTextDecorationStyle","OTextDecorationStyle","textEmphasis","MozTextEmphasis","WebkitTextEmphasis","MSTextEmphasis","OTextEmphasis","textEmphasisColor","MozTextEmphasisColor","WebkitTextEmphasisColor","MSTextEmphasisColor","OTextEmphasisColor","textEmphasisPosition","MozTextEmphasisPosition","WebkitTextEmphasisPosition","MSTextEmphasisPosition","OTextEmphasisPosition","textEmphasisStyle","MozTextEmphasisStyle","WebkitTextEmphasisStyle","MSTextEmphasisStyle","OTextEmphasisStyle","textIndent","MozTextIndent","WebkitTextIndent","MSTextIndent","OTextIndent","textOrientation","MozTextOrientation","WebkitTextOrientation","MSTextOrientation","OTextOrientation","textOverflow","MozTextOverflow","WebkitTextOverflow","MSTextOverflow","OTextOverflow","textRendering","MozTextRendering","WebkitTextRendering","MSTextRendering","OTextRendering","textShadow","MozTextShadow","WebkitTextShadow","MSTextShadow","OTextShadow","textTransform","MozTextTransform","WebkitTextTransform","MSTextTransform","OTextTransform","textUnderlinePosition","MozTextUnderlinePosition","WebkitTextUnderlinePosition","MSTextUnderlinePosition","OTextUnderlinePosition","top","MozTop","WebkitTop","MSTop","OTop","touchAction","MozTouchAction","WebkitTouchAction","MSTouchAction","OTouchAction","transform","MozTransform","WebkitTransform","msTransform","OTransform","transformBox","MozTransformBox","WebkitTransformBox","MSTransformBox","OTransformBox","transformOrigin","MozTransformOrigin","WebkitTransformOrigin","MSTransformOrigin","OTransformOrigin","transformStyle","MozTransformStyle","WebkitTransformStyle","MSTransformStyle","OTransformStyle","transition","MozTransition","WebkitTransition","MSTransition","OTransition","transitionDelay","MozTransitionDelay","WebkitTransitionDelay","MSTransitionDelay","OTransitionDelay","transitionDuration","MozTransitionDuration","WebkitTransitionDuration","MSTransitionDuration","OTransitionDuration","transitionProperty","MozTransitionProperty","WebkitTransitionProperty","MSTransitionProperty","OTransitionProperty","transitionTimingFunction","MozTransitionTimingFunction","WebkitTransitionTimingFunction","MSTransitionTimingFunction","OTransitionTimingFunction","turn","MozTurn","WebkitTurn","MSTurn","OTurn","unicodeBidi","MozUnicodeBidi","WebkitUnicodeBidi","MSUnicodeBidi","OUnicodeBidi","unset","MozUnset","WebkitUnset","MSUnset","OUnset","verticalAlign","MozVerticalAlign","WebkitVerticalAlign","MSVerticalAlign","OVerticalAlign","vh","MozVh","WebkitVh","MSVh","OVh","visibility","MozVisibility","WebkitVisibility","MSVisibility","OVisibility","vmax","MozVmax","WebkitVmax","MSVmax","OVmax","vmin","MozVmin","WebkitVmin","MSVmin","OVmin","vw","MozVw","WebkitVw","MSVw","OVw","whiteSpace","MozWhiteSpace","WebkitWhiteSpace","MSWhiteSpace","OWhiteSpace","widows","MozWidows","WebkitWidows","MSWidows","OWidows","width","MozWidth","WebkitWidth","MSWidth","OWidth","willChange","MozWillChange","WebkitWillChange","MSWillChange","OWillChange","wordBreak","MozWordBreak","WebkitWordBreak","MSWordBreak","OWordBreak","wordSpacing","MozWordSpacing","WebkitWordSpacing","MSWordSpacing","OWordSpacing","wordWrap","MozWordWrap","WebkitWordWrap","MSWordWrap","OWordWrap","writingMode","MozWritingMode","WebkitWritingMode","MSWritingMode","OWritingMode","zIndex","MozZIndex","WebkitZIndex","MSZIndex","OZIndex","fontSize","MozFontSize","WebkitFontSize","MSFontSize","OFontSize","flex","MozFlex","WebkitFlex","MSFlex","OFlex","fr","MozFr","WebkitFr","MSFr","OFr","overflowScrolling","MozOverflowScrolling","WebkitOverflowScrolling","MSOverflowScrolling","OOverflowScrolling","userSelect","MozUserSelect","WebkitUserSelect","MSUserSelect","OUserSelect"]},25473:(e,t,n)=>{var o=n(2787),i=n(13980);e.exports=function(e,t,n){var i=e[t];if(i){var r=[];if(Object.keys(i).forEach((function(e){-1===o.indexOf(e)&&r.push(e)})),r.length)throw new Error("Prop "+t+" passed to "+n+". Has invalid keys "+r.join(", "))}},e.exports.isRequired=function(t,n,o){if(!t[n])throw new Error("Prop "+n+" passed to "+o+" is required");return e.exports(t,n,o)},e.exports.supportingArrays=i.oneOfType([i.arrayOf(e.exports),e.exports])},81521:(e,t,n)=>{"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function r(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?a(e):t}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{qj:()=>Y,aV:()=>me});var p=n(24328),f=n(46847);function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},g.apply(this,arguments)}var m=n(6277);function v(e){var t=e.cellCount,n=e.cellSize,o=e.computeMetadataCallback,i=e.computeMetadataCallbackProps,r=e.nextCellsCount,s=e.nextCellSize,a=e.nextScrollToIndex,l=e.scrollToIndex,u=e.updateScrollOffsetForScrollToIndex;t===r&&("number"!=typeof n&&"number"!=typeof s||n===s)||(o(i),l>=0&&l===a&&u())}function y(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n,o,i={},r=Object.keys(e);for(o=0;o<r.length;o++)n=r[o],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o<r.length;o++)n=r[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}n(13980);var S=function(){function e(t){var n=t.cellCount,i=t.cellSizeGetter,r=t.estimatedCellSize;o(this,e),h(this,"_cellSizeAndPositionData",{}),h(this,"_lastMeasuredIndex",-1),h(this,"_lastBatchedIndex",-1),h(this,"_cellCount",void 0),h(this,"_cellSizeGetter",void 0),h(this,"_estimatedCellSize",void 0),this._cellSizeGetter=i,this._cellCount=n,this._estimatedCellSize=r}return r(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(e){var t=e.cellCount,n=e.estimatedCellSize,o=e.cellSizeGetter;this._cellCount=t,this._estimatedCellSize=n,this._cellSizeGetter=o}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(e){if(e<0||e>=this._cellCount)throw Error("Requested index ".concat(e," is outside of range 0..").concat(this._cellCount));if(e>this._lastMeasuredIndex)for(var t=this.getSizeAndPositionOfLastMeasuredCell(),n=t.offset+t.size,o=this._lastMeasuredIndex+1;o<=e;o++){var i=this._cellSizeGetter({index:o});if(void 0===i||isNaN(i))throw Error("Invalid size returned for cell ".concat(o," of value ").concat(i));null===i?(this._cellSizeAndPositionData[o]={offset:n,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[o]={offset:n,size:i},n+=i,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var t=e.align,n=void 0===t?"auto":t,o=e.containerSize,i=e.currentOffset,r=e.targetIndex;if(o<=0)return 0;var s,a=this.getSizeAndPositionOfCell(r),l=a.offset,u=l-o+a.size;switch(n){case"start":s=l;break;case"end":s=u;break;case"center":s=l-(o-a.size)/2;break;default:s=Math.max(u,Math.min(l,i))}var c=this.getTotalSize();return Math.max(0,Math.min(c-o,s))}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,n=e.offset;if(0===this.getTotalSize())return{};var o=n+t,i=this._findNearestCell(n),r=this.getSizeAndPositionOfCell(i);n=r.offset+r.size;for(var s=i;n<o&&s<this._cellCount-1;)s++,n+=this.getSizeAndPositionOfCell(s).size;return{start:i,stop:s}}},{key:"resetCell",value:function(e){this._lastMeasuredIndex=Math.min(this._lastMeasuredIndex,e-1)}},{key:"_binarySearch",value:function(e,t,n){for(;t<=e;){var o=t+Math.floor((e-t)/2),i=this.getSizeAndPositionOfCell(o).offset;if(i===n)return o;i<n?t=o+1:i>n&&(e=o-1)}return t>0?t-1:0}},{key:"_exponentialSearch",value:function(e,t){for(var n=1;e<this._cellCount&&this.getSizeAndPositionOfCell(e).offset<t;)e+=n,n*=2;return this._binarySearch(Math.min(e,this._cellCount-1),Math.floor(e/2),t)}},{key:"_findNearestCell",value:function(e){if(isNaN(e))throw Error("Invalid offset ".concat(e," specified"));e=Math.max(0,e);var t=this.getSizeAndPositionOfLastMeasuredCell(),n=Math.max(0,this._lastMeasuredIndex);return t.offset>=e?this._binarySearch(n,0,e):this._exponentialSearch(n,e)}}]),e}(),b=function(){function e(t){var n=t.maxScrollSize,i=void 0===n?"undefined"!=typeof window&&window.chrome?16777100:15e5:n,r=y(t,["maxScrollSize"]);o(this,e),h(this,"_cellSizeAndPositionManager",void 0),h(this,"_maxScrollSize",void 0),this._cellSizeAndPositionManager=new S(r),this._maxScrollSize=i}return r(e,[{key:"areOffsetsAdjusted",value:function(){return this._cellSizeAndPositionManager.getTotalSize()>this._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var t=e.containerSize,n=e.offset,o=this._cellSizeAndPositionManager.getTotalSize(),i=this.getTotalSize(),r=this._getOffsetPercentage({containerSize:t,offset:n,totalSize:i});return Math.round(r*(i-o))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var t=e.align,n=void 0===t?"auto":t,o=e.containerSize,i=e.currentOffset,r=e.targetIndex;i=this._safeOffsetToOffset({containerSize:o,offset:i});var s=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:n,containerSize:o,currentOffset:i,targetIndex:r});return this._offsetToSafeOffset({containerSize:o,offset:s})}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,n=e.offset;return n=this._safeOffsetToOffset({containerSize:t,offset:n}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:t,offset:n})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var t=e.containerSize,n=e.offset,o=e.totalSize;return o<=t?0:n/(o-t)}},{key:"_offsetToSafeOffset",value:function(e){var t=e.containerSize,n=e.offset,o=this._cellSizeAndPositionManager.getTotalSize(),i=this.getTotalSize();if(o===i)return n;var r=this._getOffsetPercentage({containerSize:t,offset:n,totalSize:o});return Math.round(r*(i-t))}},{key:"_safeOffsetToOffset",value:function(e){var t=e.containerSize,n=e.offset,o=this._cellSizeAndPositionManager.getTotalSize(),i=this.getTotalSize();if(o===i)return n;var r=this._getOffsetPercentage({containerSize:t,offset:n,totalSize:i});return Math.round(r*(o-t))}}]),e}();function C(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t={};return function(n){var o=n.callback,i=n.indices,r=Object.keys(i),s=!e||r.every((function(e){var t=i[e];return Array.isArray(t)?t.length>0:t>=0})),a=r.length!==Object.keys(t).length||r.some((function(e){var n=t[e],o=i[e];return Array.isArray(o)?n.join(",")!==o.join(","):n!==o}));t=i,s&&a&&o(i)}}function M(e){var t=e.cellSize,n=e.cellSizeAndPositionManager,o=e.previousCellsCount,i=e.previousCellSize,r=e.previousScrollToAlignment,s=e.previousScrollToIndex,a=e.previousSize,l=e.scrollOffset,u=e.scrollToAlignment,c=e.scrollToIndex,d=e.size,h=e.sizeJustIncreasedFromZero,p=e.updateScrollIndexCallback,f=n.getCellCount(),g=c>=0&&c<f;g&&(d!==a||h||!i||"number"==typeof t&&t!==i||u!==r||c!==s)?p(c):!g&&f>0&&(d<a||f<o)&&l>n.getTotalSize()-d&&p(f-1)}const x=!("undefined"==typeof window||!window.document||!window.document.createElement);var w,_;function k(e){if((!w&&0!==w||e)&&x){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),w=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return w}var O,E,z=(_="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||_.webkitRequestAnimationFrame||_.mozRequestAnimationFrame||_.oRequestAnimationFrame||_.msRequestAnimationFrame||function(e){return _.setTimeout(e,1e3/60)},T=_.cancelAnimationFrame||_.webkitCancelAnimationFrame||_.mozCancelAnimationFrame||_.oCancelAnimationFrame||_.msCancelAnimationFrame||function(e){_.clearTimeout(e)},P=z,R=T,I=function(e){return R(e.id)},L=function(e,t){var n;Promise.resolve().then((function(){n=Date.now()}));var o={id:P((function i(){Date.now()-n>=t?e.call():o.id=P(i)}))};return o};function B(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function W(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?B(n,!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):B(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var A="requested",D=(E=O=function(e){function t(e){var n;o(this,t),h(a(n=l(this,u(t).call(this,e))),"_onGridRenderedMemoizer",C()),h(a(n),"_onScrollMemoizer",C(!1)),h(a(n),"_deferredInvalidateColumnIndex",null),h(a(n),"_deferredInvalidateRowIndex",null),h(a(n),"_recomputeScrollLeftFlag",!1),h(a(n),"_recomputeScrollTopFlag",!1),h(a(n),"_horizontalScrollBarSize",0),h(a(n),"_verticalScrollBarSize",0),h(a(n),"_scrollbarPresenceChanged",!1),h(a(n),"_scrollingContainer",void 0),h(a(n),"_childrenToDisplay",void 0),h(a(n),"_columnStartIndex",void 0),h(a(n),"_columnStopIndex",void 0),h(a(n),"_rowStartIndex",void 0),h(a(n),"_rowStopIndex",void 0),h(a(n),"_renderedColumnStartIndex",0),h(a(n),"_renderedColumnStopIndex",0),h(a(n),"_renderedRowStartIndex",0),h(a(n),"_renderedRowStopIndex",0),h(a(n),"_initialScrollTop",void 0),h(a(n),"_initialScrollLeft",void 0),h(a(n),"_disablePointerEventsTimeoutId",void 0),h(a(n),"_styleCache",{}),h(a(n),"_cellCache",{}),h(a(n),"_debounceScrollEndedCallback",(function(){n._disablePointerEventsTimeoutId=null,n.setState({isScrolling:!1,needToResetStyleCache:!1})})),h(a(n),"_invokeOnGridRenderedHelper",(function(){var e=n.props.onSectionRendered;n._onGridRenderedMemoizer({callback:e,indices:{columnOverscanStartIndex:n._columnStartIndex,columnOverscanStopIndex:n._columnStopIndex,columnStartIndex:n._renderedColumnStartIndex,columnStopIndex:n._renderedColumnStopIndex,rowOverscanStartIndex:n._rowStartIndex,rowOverscanStopIndex:n._rowStopIndex,rowStartIndex:n._renderedRowStartIndex,rowStopIndex:n._renderedRowStopIndex}})})),h(a(n),"_setScrollingContainerRef",(function(e){n._scrollingContainer=e})),h(a(n),"_onScroll",(function(e){e.target===n._scrollingContainer&&n.handleScrollEvent(e.target)}));var i=new b({cellCount:e.columnCount,cellSizeGetter:function(n){return t._wrapSizeGetter(e.columnWidth)(n)},estimatedCellSize:t._getEstimatedColumnSize(e)}),r=new b({cellCount:e.rowCount,cellSizeGetter:function(n){return t._wrapSizeGetter(e.rowHeight)(n)},estimatedCellSize:t._getEstimatedRowSize(e)});return n.state={instanceProps:{columnSizeAndPositionManager:i,rowSizeAndPositionManager:r,prevColumnWidth:e.columnWidth,prevRowHeight:e.rowHeight,prevColumnCount:e.columnCount,prevRowCount:e.rowCount,prevIsScrolling:!0===e.isScrolling,prevScrollToColumn:e.scrollToColumn,prevScrollToRow:e.scrollToRow,scrollbarSize:0,scrollbarSizeMeasured:!1},isScrolling:!1,scrollDirectionHorizontal:1,scrollDirectionVertical:1,scrollLeft:0,scrollTop:0,scrollPositionChangeReason:null,needToResetStyleCache:!1},e.scrollToRow>0&&(n._initialScrollTop=n._getCalculatedScrollTop(e,n.state)),e.scrollToColumn>0&&(n._initialScrollLeft=n._getCalculatedScrollLeft(e,n.state)),n}return d(t,e),r(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.alignment,n=void 0===t?this.props.scrollToAlignment:t,o=e.columnIndex,i=void 0===o?this.props.scrollToColumn:o,r=e.rowIndex,s=void 0===r?this.props.scrollToRow:r,a=W({},this.props,{scrollToAlignment:n,scrollToColumn:i,scrollToRow:s});return{scrollLeft:this._getCalculatedScrollLeft(a),scrollTop:this._getCalculatedScrollTop(a)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var t=e.scrollLeft,n=void 0===t?0:t,o=e.scrollTop,i=void 0===o?0:o;if(!(i<0)){this._debounceScrollEnded();var r=this.props,s=r.autoHeight,a=r.autoWidth,l=r.height,u=r.width,c=this.state.instanceProps,d=c.scrollbarSize,h=c.rowSizeAndPositionManager.getTotalSize(),p=c.columnSizeAndPositionManager.getTotalSize(),f=Math.min(Math.max(0,p-u+d),n),g=Math.min(Math.max(0,h-l+d),i);if(this.state.scrollLeft!==f||this.state.scrollTop!==g){var m={isScrolling:!0,scrollDirectionHorizontal:f!==this.state.scrollLeft?f>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:g!==this.state.scrollTop?g>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:"observed"};s||(m.scrollTop=g),a||(m.scrollLeft=f),m.needToResetStyleCache=!1,this.setState(m)}this._invokeOnScrollMemoizer({scrollLeft:f,scrollTop:g,totalColumnsWidth:p,totalRowsHeight:h})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,n=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,t):t,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,n):n}},{key:"measureAllCells",value:function(){var e=this.props,t=e.columnCount,n=e.rowCount,o=this.state.instanceProps;o.columnSizeAndPositionManager.getSizeAndPositionOfCell(t-1),o.rowSizeAndPositionManager.getSizeAndPositionOfCell(n-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,o=e.rowIndex,i=void 0===o?0:o,r=this.props,s=r.scrollToColumn,a=r.scrollToRow,l=this.state.instanceProps;l.columnSizeAndPositionManager.resetCell(n),l.rowSizeAndPositionManager.resetCell(i),this._recomputeScrollLeftFlag=s>=0&&(1===this.state.scrollDirectionHorizontal?n<=s:n>=s),this._recomputeScrollTopFlag=a>=0&&(1===this.state.scrollDirectionVertical?i<=a:i>=a),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var t=e.columnIndex,n=e.rowIndex,o=this.props.columnCount,i=this.props;o>1&&void 0!==t&&this._updateScrollLeftForScrollToColumn(W({},i,{scrollToColumn:t})),void 0!==n&&this._updateScrollTopForScrollToRow(W({},i,{scrollToRow:n}))}},{key:"componentDidMount",value:function(){var e=this.props,n=e.getScrollbarSize,o=e.height,i=e.scrollLeft,r=e.scrollToColumn,s=e.scrollTop,a=e.scrollToRow,l=e.width,u=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),u.scrollbarSizeMeasured||this.setState((function(e){var t=W({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=n(),t.instanceProps.scrollbarSizeMeasured=!0,t})),"number"==typeof i&&i>=0||"number"==typeof s&&s>=0){var c=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:i,scrollTop:s});c&&(c.needToResetStyleCache=!1,this.setState(c))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var d=o>0&&l>0;r>=0&&d&&this._updateScrollLeftForScrollToColumn(),a>=0&&d&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:i||0,scrollTop:s||0,totalColumnsWidth:u.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:u.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,t){var n=this,o=this.props,i=o.autoHeight,r=o.autoWidth,s=o.columnCount,a=o.height,l=o.rowCount,u=o.scrollToAlignment,c=o.scrollToColumn,d=o.scrollToRow,h=o.width,p=this.state,f=p.scrollLeft,g=p.scrollPositionChangeReason,m=p.scrollTop,v=p.instanceProps;this._handleInvalidatedGridSize();var y=s>0&&0===e.columnCount||l>0&&0===e.rowCount;g===A&&(!r&&f>=0&&(f!==this._scrollingContainer.scrollLeft||y)&&(this._scrollingContainer.scrollLeft=f),!i&&m>=0&&(m!==this._scrollingContainer.scrollTop||y)&&(this._scrollingContainer.scrollTop=m));var S=(0===e.width||0===e.height)&&a>0&&h>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):M({cellSizeAndPositionManager:v.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:f,scrollToAlignment:u,scrollToIndex:c,size:h,sizeJustIncreasedFromZero:S,updateScrollIndexCallback:function(){return n._updateScrollLeftForScrollToColumn(n.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):M({cellSizeAndPositionManager:v.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:m,scrollToAlignment:u,scrollToIndex:d,size:a,sizeJustIncreasedFromZero:S,updateScrollIndexCallback:function(){return n._updateScrollTopForScrollToRow(n.props)}}),this._invokeOnGridRenderedHelper(),f!==t.scrollLeft||m!==t.scrollTop){var b=v.rowSizeAndPositionManager.getTotalSize(),C=v.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:f,scrollTop:m,totalColumnsWidth:C,totalRowsHeight:b})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&I(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,n=e.autoHeight,o=e.autoWidth,i=e.className,r=e.containerProps,s=e.containerRole,a=e.containerStyle,l=e.height,u=e.id,c=e.noContentRenderer,d=e.role,h=e.style,f=e.tabIndex,v=e.width,y=this.state,S=y.instanceProps,b=y.needToResetStyleCache,C=this._isScrolling(),M={boxSizing:"border-box",direction:"ltr",height:n?"auto":l,position:"relative",width:o?"auto":v,WebkitOverflowScrolling:"touch",willChange:"transform"};b&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var x=S.columnSizeAndPositionManager.getTotalSize(),w=S.rowSizeAndPositionManager.getTotalSize(),_=w>l?S.scrollbarSize:0,k=x>v?S.scrollbarSize:0;k===this._horizontalScrollBarSize&&_===this._verticalScrollBarSize||(this._horizontalScrollBarSize=k,this._verticalScrollBarSize=_,this._scrollbarPresenceChanged=!0),M.overflowX=x+_<=v?"hidden":"auto",M.overflowY=w+k<=l?"hidden":"auto";var O=this._childrenToDisplay,E=0===O.length&&l>0&&v>0;return p.createElement("div",g({ref:this._setScrollingContainerRef},r,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:(0,m.Z)("ReactVirtualized__Grid",i),id:u,onScroll:this._onScroll,role:d,style:W({},M,{},h),tabIndex:f}),O.length>0&&p.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:s,style:W({width:t?"auto":x,height:w,maxWidth:x,maxHeight:w,overflow:"hidden",pointerEvents:C?"none":"",position:"relative"},a)},O),E&&c())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,n=e.cellRenderer,o=e.cellRangeRenderer,i=e.columnCount,r=e.deferredMeasurementCache,s=e.height,a=e.overscanColumnCount,l=e.overscanIndicesGetter,u=e.overscanRowCount,c=e.rowCount,d=e.width,h=e.isScrollingOptOut,p=t.scrollDirectionHorizontal,f=t.scrollDirectionVertical,g=t.instanceProps,m=this._initialScrollTop>0?this._initialScrollTop:t.scrollTop,v=this._initialScrollLeft>0?this._initialScrollLeft:t.scrollLeft,y=this._isScrolling(e,t);if(this._childrenToDisplay=[],s>0&&d>0){var S=g.columnSizeAndPositionManager.getVisibleCellRange({containerSize:d,offset:v}),b=g.rowSizeAndPositionManager.getVisibleCellRange({containerSize:s,offset:m}),C=g.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:d,offset:v}),M=g.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:s,offset:m});this._renderedColumnStartIndex=S.start,this._renderedColumnStopIndex=S.stop,this._renderedRowStartIndex=b.start,this._renderedRowStopIndex=b.stop;var x=l({direction:"horizontal",cellCount:i,overscanCellsCount:a,scrollDirection:p,startIndex:"number"==typeof S.start?S.start:0,stopIndex:"number"==typeof S.stop?S.stop:-1}),w=l({direction:"vertical",cellCount:c,overscanCellsCount:u,scrollDirection:f,startIndex:"number"==typeof b.start?b.start:0,stopIndex:"number"==typeof b.stop?b.stop:-1}),_=x.overscanStartIndex,k=x.overscanStopIndex,O=w.overscanStartIndex,E=w.overscanStopIndex;if(r){if(!r.hasFixedHeight())for(var z=O;z<=E;z++)if(!r.has(z,0)){_=0,k=i-1;break}if(!r.hasFixedWidth())for(var T=_;T<=k;T++)if(!r.has(0,T)){O=0,E=c-1;break}}this._childrenToDisplay=o({cellCache:this._cellCache,cellRenderer:n,columnSizeAndPositionManager:g.columnSizeAndPositionManager,columnStartIndex:_,columnStopIndex:k,deferredMeasurementCache:r,horizontalOffsetAdjustment:C,isScrolling:y,isScrollingOptOut:h,parent:this,rowSizeAndPositionManager:g.rowSizeAndPositionManager,rowStartIndex:O,rowStopIndex:E,scrollLeft:v,scrollTop:m,styleCache:this._styleCache,verticalOffsetAdjustment:M,visibleColumnIndices:S,visibleRowIndices:b}),this._columnStartIndex=_,this._columnStopIndex=k,this._rowStartIndex=O,this._rowStopIndex=E}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&I(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=L(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,t=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:t})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var t=this,n=e.scrollLeft,o=e.scrollTop,i=e.totalColumnsWidth,r=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var n=e.scrollLeft,o=e.scrollTop,s=t.props,a=s.height;(0,s.onScroll)({clientHeight:a,clientWidth:s.width,scrollHeight:r,scrollLeft:n,scrollTop:o,scrollWidth:i})},indices:{scrollLeft:n,scrollTop:o}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?Boolean(e.isScrolling):Boolean(t.isScrolling)}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var n=e.scrollLeft,o=e.scrollTop,i=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:n,scrollTop:o});i&&(i.needToResetStyleCache=!1,this.setState(i))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,n)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,o=t._getScrollLeftForScrollToColumnStateUpdate(e,n);o&&(o.needToResetStyleCache=!1,this.setState(o))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,n)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,t=this._cellCache,n=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var o=this._rowStartIndex;o<=this._rowStopIndex;o++)for(var i=this._columnStartIndex;i<=this._columnStopIndex;i++){var r="".concat(o,"-").concat(i);this._styleCache[r]=e[r],n&&(this._cellCache[r]=t[r])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,o=t._getScrollTopForScrollToRowStateUpdate(e,n);o&&(o.needToResetStyleCache=!1,this.setState(o))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var o={};0===e.columnCount&&0!==n.scrollLeft||0===e.rowCount&&0!==n.scrollTop?(o.scrollLeft=0,o.scrollTop=0):(e.scrollLeft!==n.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==n.scrollTop&&e.scrollToRow<0)&&Object.assign(o,t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var i,r,s=n.instanceProps;return o.needToResetStyleCache=!1,e.columnWidth===s.prevColumnWidth&&e.rowHeight===s.prevRowHeight||(o.needToResetStyleCache=!0),s.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),s.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),0!==s.prevColumnCount&&0!==s.prevRowCount||(s.prevColumnCount=0,s.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===s.prevIsScrolling&&Object.assign(o,{isScrolling:!1}),v({cellCount:s.prevColumnCount,cellSize:"number"==typeof s.prevColumnWidth?s.prevColumnWidth:null,computeMetadataCallback:function(){return s.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:s.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){i=t._getScrollLeftForScrollToColumnStateUpdate(e,n)}}),v({cellCount:s.prevRowCount,cellSize:"number"==typeof s.prevRowHeight?s.prevRowHeight:null,computeMetadataCallback:function(){return s.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:s.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){r=t._getScrollTopForScrollToRowStateUpdate(e,n)}}),s.prevColumnCount=e.columnCount,s.prevColumnWidth=e.columnWidth,s.prevIsScrolling=!0===e.isScrolling,s.prevRowCount=e.rowCount,s.prevRowHeight=e.rowHeight,s.prevScrollToColumn=e.scrollToColumn,s.prevScrollToRow=e.scrollToRow,s.scrollbarSize=e.getScrollbarSize(),void 0===s.scrollbarSize?(s.scrollbarSizeMeasured=!1,s.scrollbarSize=0):s.scrollbarSizeMeasured=!0,o.instanceProps=s,W({},o,{},i,{},r)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var t=e.prevState,n=e.scrollLeft,o=e.scrollTop,i={scrollPositionChangeReason:A};return"number"==typeof n&&n>=0&&(i.scrollDirectionHorizontal=n>t.scrollLeft?1:-1,i.scrollLeft=n),"number"==typeof o&&o>=0&&(i.scrollDirectionVertical=o>t.scrollTop?1:-1,i.scrollTop=o),"number"==typeof n&&n>=0&&n!==t.scrollLeft||"number"==typeof o&&o>=0&&o!==t.scrollTop?i:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,t){var n=e.columnCount,o=e.height,i=e.scrollToAlignment,r=e.scrollToColumn,s=e.width,a=t.scrollLeft,l=t.instanceProps;if(n>0){var u=n-1,c=r<0?u:Math.min(u,r),d=l.rowSizeAndPositionManager.getTotalSize(),h=l.scrollbarSizeMeasured&&d>o?l.scrollbarSize:0;return l.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:i,containerSize:s-h,currentOffset:a,targetIndex:c})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,n){var o=n.scrollLeft,i=t._getCalculatedScrollLeft(e,n);return"number"==typeof i&&i>=0&&o!==i?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:i,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,t){var n=e.height,o=e.rowCount,i=e.scrollToAlignment,r=e.scrollToRow,s=e.width,a=t.scrollTop,l=t.instanceProps;if(o>0){var u=o-1,c=r<0?u:Math.min(u,r),d=l.columnSizeAndPositionManager.getTotalSize(),h=l.scrollbarSizeMeasured&&d>s?l.scrollbarSize:0;return l.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:i,containerSize:n-h,currentOffset:a,targetIndex:c})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,n){var o=n.scrollTop,i=t._getCalculatedScrollTop(e,n);return"number"==typeof i&&i>=0&&o!==i?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:-1,scrollTop:i}):{}}}]),t}(p.PureComponent),h(O,"propTypes",null),E);h(D,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(e){for(var t=e.cellCache,n=e.cellRenderer,o=e.columnSizeAndPositionManager,i=e.columnStartIndex,r=e.columnStopIndex,s=e.deferredMeasurementCache,a=e.horizontalOffsetAdjustment,l=e.isScrolling,u=e.isScrollingOptOut,c=e.parent,d=e.rowSizeAndPositionManager,h=e.rowStartIndex,p=e.rowStopIndex,f=e.styleCache,g=e.verticalOffsetAdjustment,m=e.visibleColumnIndices,v=e.visibleRowIndices,y=[],S=o.areOffsetsAdjusted()||d.areOffsetsAdjusted(),b=!l&&!S,C=h;C<=p;C++)for(var M=d.getSizeAndPositionOfCell(C),x=i;x<=r;x++){var w=o.getSizeAndPositionOfCell(x),_=x>=m.start&&x<=m.stop&&C>=v.start&&C<=v.stop,k="".concat(C,"-").concat(x),O=void 0;b&&f[k]?O=f[k]:s&&!s.has(C,x)?O={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(O={height:M.size,left:w.offset+a,position:"absolute",top:M.offset+g,width:w.size},f[k]=O);var E={columnIndex:x,isScrolling:l,isVisible:_,key:k,parent:c,rowIndex:C,style:O},z=void 0;!u&&!l||a||g?z=n(E):(t[k]||(t[k]=n(E)),z=t[k]),null!=z&&!1!==z&&y.push(z)}return y},containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:k,noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(e){var t=e.cellCount,n=e.overscanCellsCount,o=e.scrollDirection,i=e.startIndex,r=e.stopIndex;return 1===o?{overscanStartIndex:Math.max(0,i),overscanStopIndex:Math.min(t-1,r+n)}:{overscanStartIndex:Math.max(0,i-n),overscanStopIndex:Math.min(t-1,r)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),(0,f.polyfill)(D);const F=D;function j(e){var t=e.cellCount,n=e.overscanCellsCount,o=e.scrollDirection,i=e.startIndex,r=e.stopIndex;return n=Math.max(1,n),1===o?{overscanStartIndex:Math.max(0,i-1),overscanStopIndex:Math.min(t-1,r+n)}:{overscanStartIndex:Math.max(0,i-n),overscanStopIndex:Math.min(t-1,r+1)}}var G,H;function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}var U,V,Z=(H=G=function(e){function t(){var e,n;o(this,t);for(var i=arguments.length,r=new Array(i),s=0;s<i;s++)r[s]=arguments[s];return h(a(n=l(this,(e=u(t)).call.apply(e,[this].concat(r)))),"state",{scrollToColumn:0,scrollToRow:0,instanceProps:{prevScrollToColumn:0,prevScrollToRow:0}}),h(a(n),"_columnStartIndex",0),h(a(n),"_columnStopIndex",0),h(a(n),"_rowStartIndex",0),h(a(n),"_rowStopIndex",0),h(a(n),"_onKeyDown",(function(e){var t=n.props,o=t.columnCount,i=t.disabled,r=t.mode,s=t.rowCount;if(!i){var a=n._getScrollState(),l=a.scrollToColumn,u=a.scrollToRow,c=n._getScrollState(),d=c.scrollToColumn,h=c.scrollToRow;switch(e.key){case"ArrowDown":h="cells"===r?Math.min(h+1,s-1):Math.min(n._rowStopIndex+1,s-1);break;case"ArrowLeft":d="cells"===r?Math.max(d-1,0):Math.max(n._columnStartIndex-1,0);break;case"ArrowRight":d="cells"===r?Math.min(d+1,o-1):Math.min(n._columnStopIndex+1,o-1);break;case"ArrowUp":h="cells"===r?Math.max(h-1,0):Math.max(n._rowStartIndex-1,0)}d===l&&h===u||(e.preventDefault(),n._updateScrollState({scrollToColumn:d,scrollToRow:h}))}})),h(a(n),"_onSectionRendered",(function(e){var t=e.columnStartIndex,o=e.columnStopIndex,i=e.rowStartIndex,r=e.rowStopIndex;n._columnStartIndex=t,n._columnStopIndex=o,n._rowStartIndex=i,n._rowStopIndex=r})),n}return d(t,e),r(t,[{key:"setScrollIndexes",value:function(e){var t=e.scrollToColumn,n=e.scrollToRow;this.setState({scrollToRow:n,scrollToColumn:t})}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.children,o=this._getScrollState(),i=o.scrollToColumn,r=o.scrollToRow;return p.createElement("div",{className:t,onKeyDown:this._onKeyDown},n({onSectionRendered:this._onSectionRendered,scrollToColumn:i,scrollToRow:r}))}},{key:"_getScrollState",value:function(){return this.props.isControlled?this.props:this.state}},{key:"_updateScrollState",value:function(e){var t=e.scrollToColumn,n=e.scrollToRow,o=this.props,i=o.isControlled,r=o.onScrollToChange;"function"==typeof r&&r({scrollToColumn:t,scrollToRow:n}),i||this.setState({scrollToColumn:t,scrollToRow:n})}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.isControlled?{}:e.scrollToColumn!==t.instanceProps.prevScrollToColumn||e.scrollToRow!==t.instanceProps.prevScrollToRow?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(n,!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{scrollToColumn:e.scrollToColumn,scrollToRow:e.scrollToRow,instanceProps:{prevScrollToColumn:e.scrollToColumn,prevScrollToRow:e.scrollToRow}}):{}}}]),t}(p.PureComponent),h(G,"propTypes",null),H);function q(e,t){var o,i=void 0!==(o=void 0!==t?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:n.g).document&&o.document.attachEvent;if(!i){var r=function(){var e=o.requestAnimationFrame||o.mozRequestAnimationFrame||o.webkitRequestAnimationFrame||function(e){return o.setTimeout(e,20)};return function(t){return e(t)}}(),s=function(){var e=o.cancelAnimationFrame||o.mozCancelAnimationFrame||o.webkitCancelAnimationFrame||o.clearTimeout;return function(t){return e(t)}}(),a=function(e){var t=e.__resizeTriggers__,n=t.firstElementChild,o=t.lastElementChild,i=n.firstElementChild;o.scrollLeft=o.scrollWidth,o.scrollTop=o.scrollHeight,i.style.width=n.offsetWidth+1+"px",i.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},l=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var t=this;a(this),this.__resizeRAF__&&s(this.__resizeRAF__),this.__resizeRAF__=r((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(n){n.call(t,e)})))}))}},u=!1,c="",d="animationstart",h="Webkit Moz O ms".split(" "),p="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),f=o.document.createElement("fakeelement");if(void 0!==f.style.animationName&&(u=!0),!1===u)for(var g=0;g<h.length;g++)if(void 0!==f.style[h[g]+"AnimationName"]){c="-"+h[g].toLowerCase()+"-",d=p[g],u=!0;break}var m="resizeanim",v="@"+c+"keyframes "+m+" { from { opacity: 0; } to { opacity: 0; } } ",y=c+"animation: 1ms "+m+"; "}return{addResizeListener:function(t,n){if(i)t.attachEvent("onresize",n);else{if(!t.__resizeTriggers__){var r=t.ownerDocument,s=o.getComputedStyle(t);s&&"static"==s.position&&(t.style.position="relative"),function(t){if(!t.getElementById("detectElementResize")){var n=(v||"")+".resize-triggers { "+(y||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',o=t.head||t.getElementsByTagName("head")[0],i=t.createElement("style");i.id="detectElementResize",i.type="text/css",null!=e&&i.setAttribute("nonce",e),i.styleSheet?i.styleSheet.cssText=n:i.appendChild(t.createTextNode(n)),o.appendChild(i)}}(r),t.__resizeLast__={},t.__resizeListeners__=[],(t.__resizeTriggers__=r.createElement("div")).className="resize-triggers";var u='<div class="expand-trigger"><div></div></div><div class="contract-trigger"></div>';if(window.trustedTypes){var c=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return u}});t.__resizeTriggers__.innerHTML=c.createHTML("")}else t.__resizeTriggers__.innerHTML=u;t.appendChild(t.__resizeTriggers__),a(t),t.addEventListener("scroll",l,!0),d&&(t.__resizeTriggers__.__animationListener__=function(e){e.animationName==m&&a(t)},t.__resizeTriggers__.addEventListener(d,t.__resizeTriggers__.__animationListener__))}t.__resizeListeners__.push(n)}},removeResizeListener:function(e,t){if(i)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",l,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(d,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}function $(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function K(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$(n,!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}h(Z,"defaultProps",{disabled:!1,isControlled:!1,mode:"edges",scrollToColumn:0,scrollToRow:0}),(0,f.polyfill)(Z);var Y=(V=U=function(e){function t(){var e,n;o(this,t);for(var i=arguments.length,r=new Array(i),s=0;s<i;s++)r[s]=arguments[s];return h(a(n=l(this,(e=u(t)).call.apply(e,[this].concat(r)))),"state",{height:n.props.defaultHeight||0,width:n.props.defaultWidth||0}),h(a(n),"_parentNode",void 0),h(a(n),"_autoSizer",void 0),h(a(n),"_window",void 0),h(a(n),"_detectElementResize",void 0),h(a(n),"_onResize",(function(){var e=n.props,t=e.disableHeight,o=e.disableWidth,i=e.onResize;if(n._parentNode){var r=n._parentNode.offsetHeight||0,s=n._parentNode.offsetWidth||0,a=(n._window||window).getComputedStyle(n._parentNode)||{},l=parseInt(a.paddingLeft,10)||0,u=parseInt(a.paddingRight,10)||0,c=parseInt(a.paddingTop,10)||0,d=parseInt(a.paddingBottom,10)||0,h=r-c-d,p=s-l-u;(!t&&n.state.height!==h||!o&&n.state.width!==p)&&(n.setState({height:r-c-d,width:s-l-u}),i({height:r,width:s}))}})),h(a(n),"_setRef",(function(e){n._autoSizer=e})),n}return d(t,e),r(t,[{key:"componentDidMount",value:function(){var e=this.props.nonce;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._window=this._autoSizer.parentNode.ownerDocument.defaultView,this._detectElementResize=q(e,this._window),this._detectElementResize.addResizeListener(this._parentNode,this._onResize),this._onResize())}},{key:"componentWillUnmount",value:function(){this._detectElementResize&&this._parentNode&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,o=e.disableHeight,i=e.disableWidth,r=e.style,s=this.state,a=s.height,l=s.width,u={overflow:"visible"},c={};return o||(u.height=0,c.height=a),i||(u.width=0,c.width=l),p.createElement("div",{className:n,ref:this._setRef,style:K({},u,{},r)},t(c))}}]),t}(p.Component),h(U,"propTypes",null),V);h(Y,"defaultProps",{onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}});var X,Q,J=n(75047),ee=(Q=X=function(e){function t(){var e,n;o(this,t);for(var i=arguments.length,r=new Array(i),s=0;s<i;s++)r[s]=arguments[s];return h(a(n=l(this,(e=u(t)).call.apply(e,[this].concat(r)))),"_child",void 0),h(a(n),"_measure",(function(){var e=n.props,t=e.cache,o=e.columnIndex,i=void 0===o?0:o,r=e.parent,s=e.rowIndex,a=void 0===s?n.props.index||0:s,l=n._getCellMeasurements(),u=l.height,c=l.width;u===t.getHeight(a,i)&&c===t.getWidth(a,i)||(t.set(a,i,c,u),r&&"function"==typeof r.recomputeGridSize&&r.recomputeGridSize({columnIndex:i,rowIndex:a}))})),h(a(n),"_registerChild",(function(e){!e||e instanceof Element||console.warn("CellMeasurer registerChild expects to be passed Element or null"),n._child=e,e&&n._maybeMeasureCell()})),n}return d(t,e),r(t,[{key:"componentDidMount",value:function(){this._maybeMeasureCell()}},{key:"componentDidUpdate",value:function(){this._maybeMeasureCell()}},{key:"render",value:function(){var e=this.props.children;return"function"==typeof e?e({measure:this._measure,registerChild:this._registerChild}):e}},{key:"_getCellMeasurements",value:function(){var e=this.props.cache,t=this._child||(0,J.findDOMNode)(this);if(t&&t.ownerDocument&&t.ownerDocument.defaultView&&t instanceof t.ownerDocument.defaultView.HTMLElement){var n=t.style.width,o=t.style.height;e.hasFixedWidth()||(t.style.width="auto"),e.hasFixedHeight()||(t.style.height="auto");var i=Math.ceil(t.offsetHeight),r=Math.ceil(t.offsetWidth);return n&&(t.style.width=n),o&&(t.style.height=o),{height:i,width:r}}return{height:0,width:0}}},{key:"_maybeMeasureCell",value:function(){var e=this.props,t=e.cache,n=e.columnIndex,o=void 0===n?0:n,i=e.parent,r=e.rowIndex,s=void 0===r?this.props.index||0:r;if(!t.has(s,o)){var a=this._getCellMeasurements(),l=a.height,u=a.width;t.set(s,o,u,l),i&&"function"==typeof i.invalidateCellSizeAfterRender&&i.invalidateCellSizeAfterRender({columnIndex:o,rowIndex:s})}}}]),t}(p.PureComponent),h(X,"propTypes",null),Q);function te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?te(n,!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):te(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}h(ee,"__internalCellMeasurerFlag",!1);var oe="observed",ie="requested",re=function(e){function t(){var e,n;o(this,t);for(var i=arguments.length,r=new Array(i),s=0;s<i;s++)r[s]=arguments[s];return h(a(n=l(this,(e=u(t)).call.apply(e,[this].concat(r)))),"state",{isScrolling:!1,scrollLeft:0,scrollTop:0}),h(a(n),"_calculateSizeAndPositionDataOnNextUpdate",!1),h(a(n),"_onSectionRenderedMemoizer",C()),h(a(n),"_onScrollMemoizer",C(!1)),h(a(n),"_invokeOnSectionRenderedHelper",(function(){var e=n.props,t=e.cellLayoutManager,o=e.onSectionRendered;n._onSectionRenderedMemoizer({callback:o,indices:{indices:t.getLastRenderedIndices()}})})),h(a(n),"_setScrollingContainerRef",(function(e){n._scrollingContainer=e})),h(a(n),"_updateScrollPositionForScrollToCell",(function(){var e=n.props,t=e.cellLayoutManager,o=e.height,i=e.scrollToAlignment,r=e.scrollToCell,s=e.width,a=n.state,l=a.scrollLeft,u=a.scrollTop;if(r>=0){var c=t.getScrollPositionForCell({align:i,cellIndex:r,height:o,scrollLeft:l,scrollTop:u,width:s});c.scrollLeft===l&&c.scrollTop===u||n._setScrollPosition(c)}})),h(a(n),"_onScroll",(function(e){if(e.target===n._scrollingContainer){n._enablePointerEventsAfterDelay();var t=n.props,o=t.cellLayoutManager,i=t.height,r=t.isScrollingChange,s=t.width,a=n._scrollbarSize,l=o.getTotalSize(),u=l.height,c=l.width,d=Math.max(0,Math.min(c-s+a,e.target.scrollLeft)),h=Math.max(0,Math.min(u-i+a,e.target.scrollTop));if(n.state.scrollLeft!==d||n.state.scrollTop!==h){var p=e.cancelable?oe:ie;n.state.isScrolling||r(!0),n.setState({isScrolling:!0,scrollLeft:d,scrollPositionChangeReason:p,scrollTop:h})}n._invokeOnScrollMemoizer({scrollLeft:d,scrollTop:h,totalWidth:c,totalHeight:u})}})),n._scrollbarSize=k(),void 0===n._scrollbarSize?(n._scrollbarSizeMeasured=!1,n._scrollbarSize=0):n._scrollbarSizeMeasured=!0,n}return d(t,e),r(t,[{key:"recomputeCellSizesAndPositions",value:function(){this._calculateSizeAndPositionDataOnNextUpdate=!0,this.forceUpdate()}},{key:"componentDidMount",value:function(){var e=this.props,t=e.cellLayoutManager,n=e.scrollLeft,o=e.scrollToCell,i=e.scrollTop;this._scrollbarSizeMeasured||(this._scrollbarSize=k(),this._scrollbarSizeMeasured=!0,this.setState({})),o>=0?this._updateScrollPositionForScrollToCell():(n>=0||i>=0)&&this._setScrollPosition({scrollLeft:n,scrollTop:i}),this._invokeOnSectionRenderedHelper();var r=t.getTotalSize(),s=r.height,a=r.width;this._invokeOnScrollMemoizer({scrollLeft:n||0,scrollTop:i||0,totalHeight:s,totalWidth:a})}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,o=n.height,i=n.scrollToAlignment,r=n.scrollToCell,s=n.width,a=this.state,l=a.scrollLeft,u=a.scrollPositionChangeReason,c=a.scrollTop;u===ie&&(l>=0&&l!==t.scrollLeft&&l!==this._scrollingContainer.scrollLeft&&(this._scrollingContainer.scrollLeft=l),c>=0&&c!==t.scrollTop&&c!==this._scrollingContainer.scrollTop&&(this._scrollingContainer.scrollTop=c)),o===e.height&&i===e.scrollToAlignment&&r===e.scrollToCell&&s===e.width||this._updateScrollPositionForScrollToCell(),this._invokeOnSectionRenderedHelper()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoHeight,n=e.cellCount,o=e.cellLayoutManager,i=e.className,r=e.height,s=e.horizontalOverscanSize,a=e.id,l=e.noContentRenderer,u=e.style,c=e.verticalOverscanSize,d=e.width,h=this.state,f=h.isScrolling,g=h.scrollLeft,v=h.scrollTop;(this._lastRenderedCellCount!==n||this._lastRenderedCellLayoutManager!==o||this._calculateSizeAndPositionDataOnNextUpdate)&&(this._lastRenderedCellCount=n,this._lastRenderedCellLayoutManager=o,this._calculateSizeAndPositionDataOnNextUpdate=!1,o.calculateSizeAndPositionData());var y=o.getTotalSize(),S=y.height,b=y.width,C=Math.max(0,g-s),M=Math.max(0,v-c),x=Math.min(b,g+d+s),w=Math.min(S,v+r+c),_=r>0&&d>0?o.cellRenderers({height:w-M,isScrolling:f,width:x-C,x:C,y:M}):[],k={boxSizing:"border-box",direction:"ltr",height:t?"auto":r,position:"relative",WebkitOverflowScrolling:"touch",width:d,willChange:"transform"},O=S>r?this._scrollbarSize:0,E=b>d?this._scrollbarSize:0;return k.overflowX=b+O<=d?"hidden":"auto",k.overflowY=S+E<=r?"hidden":"auto",p.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:(0,m.Z)("ReactVirtualized__Collection",i),id:a,onScroll:this._onScroll,role:"grid",style:ne({},k,{},u),tabIndex:0},n>0&&p.createElement("div",{className:"ReactVirtualized__Collection__innerScrollContainer",style:{height:S,maxHeight:S,maxWidth:b,overflow:"hidden",pointerEvents:f?"none":"",width:b}},_),0===n&&l())}},{key:"_enablePointerEventsAfterDelay",value:function(){var e=this;this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=setTimeout((function(){(0,e.props.isScrollingChange)(!1),e._disablePointerEventsTimeoutId=null,e.setState({isScrolling:!1})}),150)}},{key:"_invokeOnScrollMemoizer",value:function(e){var t=this,n=e.scrollLeft,o=e.scrollTop,i=e.totalHeight,r=e.totalWidth;this._onScrollMemoizer({callback:function(e){var n=e.scrollLeft,o=e.scrollTop,s=t.props,a=s.height;(0,s.onScroll)({clientHeight:a,clientWidth:s.width,scrollHeight:i,scrollLeft:n,scrollTop:o,scrollWidth:r})},indices:{scrollLeft:n,scrollTop:o}})}},{key:"_setScrollPosition",value:function(e){var t=e.scrollLeft,n=e.scrollTop,o={scrollPositionChangeReason:ie};t>=0&&(o.scrollLeft=t),n>=0&&(o.scrollTop=n),(t>=0&&t!==this.state.scrollLeft||n>=0&&n!==this.state.scrollTop)&&this.setState(o)}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 0!==e.cellCount||0===t.scrollLeft&&0===t.scrollTop?e.scrollLeft!==t.scrollLeft||e.scrollTop!==t.scrollTop?{scrollLeft:null!=e.scrollLeft?e.scrollLeft:t.scrollLeft,scrollTop:null!=e.scrollTop?e.scrollTop:t.scrollTop,scrollPositionChangeReason:ie}:null:{scrollLeft:0,scrollTop:0,scrollPositionChangeReason:ie}}}]),t}(p.PureComponent);h(re,"defaultProps",{"aria-label":"grid",horizontalOverscanSize:0,noContentRenderer:function(){return null},onScroll:function(){return null},onSectionRendered:function(){return null},scrollToAlignment:"auto",scrollToCell:-1,style:{},verticalOverscanSize:0}),re.propTypes={},(0,f.polyfill)(re);const se=re;var ae=function(){function e(t){var n=t.height,i=t.width,r=t.x,s=t.y;o(this,e),this.height=n,this.width=i,this.x=r,this.y=s,this._indexMap={},this._indices=[]}return r(e,[{key:"addCellIndex",value:function(e){var t=e.index;this._indexMap[t]||(this._indexMap[t]=!0,this._indices.push(t))}},{key:"getCellIndices",value:function(){return this._indices}},{key:"toString",value:function(){return"".concat(this.x,",").concat(this.y," ").concat(this.width,"x").concat(this.height)}}]),e}(),le=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;o(this,e),this._sectionSize=t,this._cellMetadata=[],this._sections={}}return r(e,[{key:"getCellIndices",value:function(e){var t=e.height,n=e.width,o=e.x,i=e.y,r={};return this.getSections({height:t,width:n,x:o,y:i}).forEach((function(e){return e.getCellIndices().forEach((function(e){r[e]=e}))})),Object.keys(r).map((function(e){return r[e]}))}},{key:"getCellMetadata",value:function(e){var t=e.index;return this._cellMetadata[t]}},{key:"getSections",value:function(e){for(var t=e.height,n=e.width,o=e.x,i=e.y,r=Math.floor(o/this._sectionSize),s=Math.floor((o+n-1)/this._sectionSize),a=Math.floor(i/this._sectionSize),l=Math.floor((i+t-1)/this._sectionSize),u=[],c=r;c<=s;c++)for(var d=a;d<=l;d++){var h="".concat(c,".").concat(d);this._sections[h]||(this._sections[h]=new ae({height:this._sectionSize,width:this._sectionSize,x:c*this._sectionSize,y:d*this._sectionSize})),u.push(this._sections[h])}return u}},{key:"getTotalSectionCount",value:function(){return Object.keys(this._sections).length}},{key:"toString",value:function(){var e=this;return Object.keys(this._sections).map((function(t){return e._sections[t].toString()}))}},{key:"registerCell",value:function(e){var t=e.cellMetadatum,n=e.index;this._cellMetadata[n]=t,this.getSections(t).forEach((function(e){return e.addCellIndex({index:n})}))}}]),e}();function ue(e){var t=e.align,n=void 0===t?"auto":t,o=e.cellOffset,i=e.cellSize,r=e.containerSize,s=e.currentOffset,a=o,l=a-r+i;switch(n){case"start":return a;case"end":return l;case"center":return a-(r-i)/2;default:return Math.max(l,Math.min(a,s))}}var ce=function(e){function t(e,n){var i;return o(this,t),(i=l(this,u(t).call(this,e,n)))._cellMetadata=[],i._lastRenderedCellIndices=[],i._cellCache=[],i._isScrollingChange=i._isScrollingChange.bind(a(i)),i._setCollectionViewRef=i._setCollectionViewRef.bind(a(i)),i}return d(t,e),r(t,[{key:"forceUpdate",value:function(){void 0!==this._collectionView&&this._collectionView.forceUpdate()}},{key:"recomputeCellSizesAndPositions",value:function(){this._cellCache=[],this._collectionView.recomputeCellSizesAndPositions()}},{key:"render",value:function(){var e=g({},this.props);return p.createElement(se,g({cellLayoutManager:this,isScrollingChange:this._isScrollingChange,ref:this._setCollectionViewRef},e))}},{key:"calculateSizeAndPositionData",value:function(){var e=this.props,t=function(e){for(var t=e.cellCount,n=e.cellSizeAndPositionGetter,o=[],i=new le(e.sectionSize),r=0,s=0,a=0;a<t;a++){var l=n({index:a});if(null==l.height||isNaN(l.height)||null==l.width||isNaN(l.width)||null==l.x||isNaN(l.x)||null==l.y||isNaN(l.y))throw Error("Invalid metadata returned for cell ".concat(a,":\n x:").concat(l.x,", y:").concat(l.y,", width:").concat(l.width,", height:").concat(l.height));r=Math.max(r,l.y+l.height),s=Math.max(s,l.x+l.width),o[a]=l,i.registerCell({cellMetadatum:l,index:a})}return{cellMetadata:o,height:r,sectionManager:i,width:s}}({cellCount:e.cellCount,cellSizeAndPositionGetter:e.cellSizeAndPositionGetter,sectionSize:e.sectionSize});this._cellMetadata=t.cellMetadata,this._sectionManager=t.sectionManager,this._height=t.height,this._width=t.width}},{key:"getLastRenderedIndices",value:function(){return this._lastRenderedCellIndices}},{key:"getScrollPositionForCell",value:function(e){var t=e.align,n=e.cellIndex,o=e.height,i=e.scrollLeft,r=e.scrollTop,s=e.width,a=this.props.cellCount;if(n>=0&&n<a){var l=this._cellMetadata[n];i=ue({align:t,cellOffset:l.x,cellSize:l.width,containerSize:s,currentOffset:i,targetIndex:n}),r=ue({align:t,cellOffset:l.y,cellSize:l.height,containerSize:o,currentOffset:r,targetIndex:n})}return{scrollLeft:i,scrollTop:r}}},{key:"getTotalSize",value:function(){return{height:this._height,width:this._width}}},{key:"cellRenderers",value:function(e){var t=this,n=e.height,o=e.isScrolling,i=e.width,r=e.x,s=e.y,a=this.props,l=a.cellGroupRenderer,u=a.cellRenderer;return this._lastRenderedCellIndices=this._sectionManager.getCellIndices({height:n,width:i,x:r,y:s}),l({cellCache:this._cellCache,cellRenderer:u,cellSizeAndPositionGetter:function(e){var n=e.index;return t._sectionManager.getCellMetadata({index:n})},indices:this._lastRenderedCellIndices,isScrolling:o})}},{key:"_isScrollingChange",value:function(e){e||(this._cellCache=[])}},{key:"_setCollectionViewRef",value:function(e){this._collectionView=e}}]),t}(p.PureComponent);function de(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function he(e,t){if(e){if("string"==typeof e)return de(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)?de(e,t):void 0}}h(ce,"defaultProps",{"aria-label":"grid",cellGroupRenderer:function(e){var t=e.cellCache,n=e.cellRenderer,o=e.cellSizeAndPositionGetter,i=e.indices,r=e.isScrolling;return i.map((function(e){var i=o({index:e}),s={index:e,isScrolling:r,key:e,style:{height:i.height,left:i.x,position:"absolute",top:i.y,width:i.width}};return r?(e in t||(t[e]=n(s)),t[e]):n(s)})).filter((function(e){return!!e}))}}),ce.propTypes={},(function(e){function t(e,n){var i;return o(this,t),(i=l(this,u(t).call(this,e,n)))._registerChild=i._registerChild.bind(a(i)),i}return d(t,e),r(t,[{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.columnMaxWidth,o=t.columnMinWidth,i=t.columnCount,r=t.width;n===e.columnMaxWidth&&o===e.columnMinWidth&&i===e.columnCount&&r===e.width||this._registeredChild&&this._registeredChild.recomputeGridSize()}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.columnMaxWidth,o=e.columnMinWidth,i=e.columnCount,r=e.width,s=o||1,a=n?Math.min(n,r):r,l=r/i;return l=Math.max(s,l),l=Math.min(a,l),l=Math.floor(l),t({adjustedWidth:Math.min(r,l*i),columnWidth:l,getColumnWidth:function(){return l},registerChild:this._registerChild})}},{key:"_registerChild",value:function(e){if(e&&"function"!=typeof e.recomputeGridSize)throw Error("Unexpected child type registered; only Grid/MultiGrid children are supported.");this._registeredChild=e,this._registeredChild&&this._registeredChild.recomputeGridSize()}}]),t}(p.PureComponent)).propTypes={};var pe=function(e){function t(e,n){var i;return o(this,t),(i=l(this,u(t).call(this,e,n)))._loadMoreRowsMemoizer=C(),i._onRowsRendered=i._onRowsRendered.bind(a(i)),i._registerChild=i._registerChild.bind(a(i)),i}return d(t,e),r(t,[{key:"resetLoadMoreRowsCache",value:function(e){this._loadMoreRowsMemoizer=C(),e&&this._doStuff(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"render",value:function(){return(0,this.props.children)({onRowsRendered:this._onRowsRendered,registerChild:this._registerChild})}},{key:"_loadUnloadedRanges",value:function(e){var t=this,n=this.props.loadMoreRows;e.forEach((function(e){var o=n(e);o&&o.then((function(){var n;(n={lastRenderedStartIndex:t._lastRenderedStartIndex,lastRenderedStopIndex:t._lastRenderedStopIndex,startIndex:e.startIndex,stopIndex:e.stopIndex}).startIndex>n.lastRenderedStopIndex||n.stopIndex<n.lastRenderedStartIndex||t._registeredChild&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n="function"==typeof e.recomputeGridSize?e.recomputeGridSize:e.recomputeRowHeights;n?n.call(e,t):e.forceUpdate()}(t._registeredChild,t._lastRenderedStartIndex)}))}))}},{key:"_onRowsRendered",value:function(e){var t=e.startIndex,n=e.stopIndex;this._lastRenderedStartIndex=t,this._lastRenderedStopIndex=n,this._doStuff(t,n)}},{key:"_doStuff",value:function(e,t){var n,o,i=this,r=this.props,s=r.isRowLoaded,a=r.minimumBatchSize,l=r.rowCount,u=r.threshold,c=function(e){for(var t=e.isRowLoaded,n=e.minimumBatchSize,o=e.rowCount,i=e.stopIndex,r=[],s=null,a=null,l=e.startIndex;l<=i;l++)t({index:l})?null!==a&&(r.push({startIndex:s,stopIndex:a}),s=a=null):(a=l,null===s&&(s=l));if(null!==a){for(var u=Math.min(Math.max(a,s+n-1),o-1),c=a+1;c<=u&&!t({index:c});c++)a=c;r.push({startIndex:s,stopIndex:a})}if(r.length)for(var d=r[0];d.stopIndex-d.startIndex+1<n&&d.startIndex>0;){var h=d.startIndex-1;if(t({index:h}))break;d.startIndex=h}return r}({isRowLoaded:s,minimumBatchSize:a,rowCount:l,startIndex:Math.max(0,e-u),stopIndex:Math.min(l-1,t+u)}),d=(n=[]).concat.apply(n,function(e){if(Array.isArray(e))return de(e)}(o=c.map((function(e){return[e.startIndex,e.stopIndex]})))||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(o)||he(o)||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.")}());this._loadMoreRowsMemoizer({callback:function(){i._loadUnloadedRanges(c)},indices:{squashedUnloadedRanges:d}})}},{key:"_registerChild",value:function(e){this._registeredChild=e}}]),t}(p.PureComponent);h(pe,"defaultProps",{minimumBatchSize:10,rowCount:0,threshold:15}),pe.propTypes={};var fe,ge,me=(ge=fe=function(e){function t(){var e,n;o(this,t);for(var i=arguments.length,r=new Array(i),s=0;s<i;s++)r[s]=arguments[s];return h(a(n=l(this,(e=u(t)).call.apply(e,[this].concat(r)))),"Grid",void 0),h(a(n),"_cellRenderer",(function(e){var t=e.parent,o=e.rowIndex,i=e.style,r=e.isScrolling,s=e.isVisible,a=e.key,l=n.props.rowRenderer,u=Object.getOwnPropertyDescriptor(i,"width");return u&&u.writable&&(i.width="100%"),l({index:o,style:i,isScrolling:r,isVisible:s,key:a,parent:t})})),h(a(n),"_setRef",(function(e){n.Grid=e})),h(a(n),"_onScroll",(function(e){var t=e.clientHeight,o=e.scrollHeight,i=e.scrollTop;(0,n.props.onScroll)({clientHeight:t,scrollHeight:o,scrollTop:i})})),h(a(n),"_onSectionRendered",(function(e){var t=e.rowOverscanStartIndex,o=e.rowOverscanStopIndex,i=e.rowStartIndex,r=e.rowStopIndex;(0,n.props.onRowsRendered)({overscanStartIndex:t,overscanStopIndex:o,startIndex:i,stopIndex:r})})),n}return d(t,e),r(t,[{key:"forceUpdateGrid",value:function(){this.Grid&&this.Grid.forceUpdate()}},{key:"getOffsetForRow",value:function(e){var t=e.alignment,n=e.index;return this.Grid?this.Grid.getOffsetForCell({alignment:t,rowIndex:n,columnIndex:0}).scrollTop:0}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,n=e.rowIndex;this.Grid&&this.Grid.invalidateCellSizeAfterRender({rowIndex:n,columnIndex:t})}},{key:"measureAllRows",value:function(){this.Grid&&this.Grid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,o=e.rowIndex,i=void 0===o?0:o;this.Grid&&this.Grid.recomputeGridSize({rowIndex:i,columnIndex:n})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.noRowsRenderer,o=e.scrollToIndex,i=e.width,r=(0,m.Z)("ReactVirtualized__List",t);return p.createElement(F,g({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:r,columnWidth:i,columnCount:1,noContentRenderer:n,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:o}))}}]),t}(p.PureComponent),h(fe,"propTypes",null),ge);h(me,"defaultProps",{autoHeight:!1,estimatedRowSize:30,onScroll:function(){},noRowsRenderer:function(){return null},onRowsRendered:function(){},overscanIndicesGetter:j,overscanRowCount:10,scrollToAlignment:"auto",scrollToIndex:-1,style:{}});const ve=function(e,t,n,o,i){return"function"==typeof n?function(e,t,n,o,i){for(var r=n+1;t<=n;){var s=t+n>>>1;i(e[s],o)>=0?(r=s,n=s-1):t=s+1}return r}(e,void 0===o?0:0|o,void 0===i?e.length-1:0|i,t,n):function(e,t,n,o){for(var i=n+1;t<=n;){var r=t+n>>>1;e[r]>=o?(i=r,n=r-1):t=r+1}return i}(e,void 0===n?0:0|n,void 0===o?e.length-1:0|o,t)};function ye(e,t,n,o,i){this.mid=e,this.left=t,this.right=n,this.leftPoints=o,this.rightPoints=i,this.count=(t?t.count:0)+(n?n.count:0)+o.length}var Se=ye.prototype;function be(e,t){e.mid=t.mid,e.left=t.left,e.right=t.right,e.leftPoints=t.leftPoints,e.rightPoints=t.rightPoints,e.count=t.count}function Ce(e,t){var n=Te(t);e.mid=n.mid,e.left=n.left,e.right=n.right,e.leftPoints=n.leftPoints,e.rightPoints=n.rightPoints,e.count=n.count}function Me(e,t){var n=e.intervals([]);n.push(t),Ce(e,n)}function xe(e,t){var n=e.intervals([]),o=n.indexOf(t);return o<0?0:(n.splice(o,1),Ce(e,n),1)}function we(e,t,n){for(var o=0;o<e.length&&e[o][0]<=t;++o){var i=n(e[o]);if(i)return i}}function _e(e,t,n){for(var o=e.length-1;o>=0&&e[o][1]>=t;--o){var i=n(e[o]);if(i)return i}}function ke(e,t){for(var n=0;n<e.length;++n){var o=t(e[n]);if(o)return o}}function Oe(e,t){return e-t}function Ee(e,t){return e[0]-t[0]||e[1]-t[1]}function ze(e,t){return e[1]-t[1]||e[0]-t[0]}function Te(e){if(0===e.length)return null;for(var t=[],n=0;n<e.length;++n)t.push(e[n][0],e[n][1]);t.sort(Oe);var o=t[t.length>>1],i=[],r=[],s=[];for(n=0;n<e.length;++n){var a=e[n];a[1]<o?i.push(a):o<a[0]?r.push(a):s.push(a)}var l=s,u=s.slice();return l.sort(Ee),u.sort(ze),new ye(o,Te(i),Te(r),l,u)}function Pe(e){this.root=e}Se.intervals=function(e){return e.push.apply(e,this.leftPoints),this.left&&this.left.intervals(e),this.right&&this.right.intervals(e),e},Se.insert=function(e){var t=this.count-this.leftPoints.length;if(this.count+=1,e[1]<this.mid)this.left?4*(this.left.count+1)>3*(t+1)?Me(this,e):this.left.insert(e):this.left=Te([e]);else if(e[0]>this.mid)this.right?4*(this.right.count+1)>3*(t+1)?Me(this,e):this.right.insert(e):this.right=Te([e]);else{var n=ve(this.leftPoints,e,Ee),o=ve(this.rightPoints,e,ze);this.leftPoints.splice(n,0,e),this.rightPoints.splice(o,0,e)}},Se.remove=function(e){var t=this.count-this.leftPoints;if(e[1]<this.mid)return this.left?4*(this.right?this.right.count:0)>3*(t-1)?xe(this,e):2===(r=this.left.remove(e))?(this.left=null,this.count-=1,1):(1===r&&(this.count-=1),r):0;if(e[0]>this.mid)return this.right?4*(this.left?this.left.count:0)>3*(t-1)?xe(this,e):2===(r=this.right.remove(e))?(this.right=null,this.count-=1,1):(1===r&&(this.count-=1),r):0;if(1===this.count)return this.leftPoints[0]===e?2:0;if(1===this.leftPoints.length&&this.leftPoints[0]===e){if(this.left&&this.right){for(var n=this,o=this.left;o.right;)n=o,o=o.right;if(n===this)o.right=this.right;else{var i=this.left,r=this.right;n.count-=o.count,n.right=o.left,o.left=i,o.right=r}be(this,o),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?be(this,this.left):be(this,this.right);return 1}for(i=ve(this.leftPoints,e,Ee);i<this.leftPoints.length&&this.leftPoints[i][0]===e[0];++i)if(this.leftPoints[i]===e)for(this.count-=1,this.leftPoints.splice(i,1),r=ve(this.rightPoints,e,ze);r<this.rightPoints.length&&this.rightPoints[r][1]===e[1];++r)if(this.rightPoints[r]===e)return this.rightPoints.splice(r,1),1;return 0},Se.queryPoint=function(e,t){return e<this.mid?this.left&&(n=this.left.queryPoint(e,t))?n:we(this.leftPoints,e,t):e>this.mid?this.right&&(n=this.right.queryPoint(e,t))?n:_e(this.rightPoints,e,t):ke(this.leftPoints,t);var n},Se.queryInterval=function(e,t,n){var o;return e<this.mid&&this.left&&(o=this.left.queryInterval(e,t,n))||t>this.mid&&this.right&&(o=this.right.queryInterval(e,t,n))?o:t<this.mid?we(this.leftPoints,t,n):e>this.mid?_e(this.rightPoints,e,n):ke(this.leftPoints,n)};var Re=Pe.prototype;Re.insert=function(e){this.root?this.root.insert(e):this.root=new ye(e[0],null,null,[e],[e])},Re.remove=function(e){if(this.root){var t=this.root.remove(e);return 2===t&&(this.root=null),0!==t}return!1},Re.queryPoint=function(e,t){if(this.root)return this.root.queryPoint(e,t)},Re.queryInterval=function(e,t,n){if(e<=t&&this.root)return this.root.queryInterval(e,t,n)},Object.defineProperty(Re,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(Re,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}});var Ie,Le,Be=function(){function e(){o(this,e),h(this,"_columnSizeMap",{}),h(this,"_intervalTree",new Pe(null)),h(this,"_leftMap",{})}return r(e,[{key:"estimateTotalHeight",value:function(e,t,n){var o=e-this.count;return this.tallestColumnSize+Math.ceil(o/t)*n}},{key:"range",value:function(e,t,n){var o=this;this._intervalTree.queryInterval(e,e+t,(function(e){var t,i,r=(i=3,function(e){if(Array.isArray(e))return e}(t=e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],o=!0,i=!1,r=void 0;try{for(var s,a=e[Symbol.iterator]();!(o=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);o=!0);}catch(e){i=!0,r=e}finally{try{o||null==a.return||a.return()}finally{if(i)throw r}}return n}}(t,i)||he(t,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=r[0],a=(r[1],r[2]);return n(a,o._leftMap[a],s)}))}},{key:"setPosition",value:function(e,t,n,o){this._intervalTree.insert([n,n+o,e]),this._leftMap[e]=t;var i=this._columnSizeMap,r=i[t];i[t]=void 0===r?n+o:Math.max(r,n+o)}},{key:"count",get:function(){return this._intervalTree.count}},{key:"shortestColumnSize",get:function(){var e=this._columnSizeMap,t=0;for(var n in e){var o=e[n];t=0===t?o:Math.min(t,o)}return t}},{key:"tallestColumnSize",get:function(){var e=this._columnSizeMap,t=0;for(var n in e){var o=e[n];t=Math.max(t,o)}return t}}]),e}();function We(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?We(n,!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):We(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var De=(Le=Ie=function(e){function t(){var e,n;o(this,t);for(var i=arguments.length,r=new Array(i),s=0;s<i;s++)r[s]=arguments[s];return h(a(n=l(this,(e=u(t)).call.apply(e,[this].concat(r)))),"state",{isScrolling:!1,scrollTop:0}),h(a(n),"_debounceResetIsScrollingId",void 0),h(a(n),"_invalidateOnUpdateStartIndex",null),h(a(n),"_invalidateOnUpdateStopIndex",null),h(a(n),"_positionCache",new Be),h(a(n),"_startIndex",null),h(a(n),"_startIndexMemoized",null),h(a(n),"_stopIndex",null),h(a(n),"_stopIndexMemoized",null),h(a(n),"_debounceResetIsScrollingCallback",(function(){n.setState({isScrolling:!1})})),h(a(n),"_setScrollingContainerRef",(function(e){n._scrollingContainer=e})),h(a(n),"_onScroll",(function(e){var t=n.props.height,o=e.currentTarget.scrollTop,i=Math.min(Math.max(0,n._getEstimatedTotalHeight()-t),o);o===i&&(n._debounceResetIsScrolling(),n.state.scrollTop!==i&&n.setState({isScrolling:!0,scrollTop:i}))})),n}return d(t,e),r(t,[{key:"clearCellPositions",value:function(){this._positionCache=new Be,this.forceUpdate()}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.rowIndex;null===this._invalidateOnUpdateStartIndex?(this._invalidateOnUpdateStartIndex=t,this._invalidateOnUpdateStopIndex=t):(this._invalidateOnUpdateStartIndex=Math.min(this._invalidateOnUpdateStartIndex,t),this._invalidateOnUpdateStopIndex=Math.max(this._invalidateOnUpdateStopIndex,t))}},{key:"recomputeCellPositions",value:function(){var e=this._positionCache.count-1;this._positionCache=new Be,this._populatePositionCache(0,e),this.forceUpdate()}},{key:"componentDidMount",value:function(){this._checkInvalidateOnUpdate(),this._invokeOnScrollCallback(),this._invokeOnCellsRenderedCallback()}},{key:"componentDidUpdate",value:function(e,t){this._checkInvalidateOnUpdate(),this._invokeOnScrollCallback(),this._invokeOnCellsRenderedCallback(),this.props.scrollTop!==e.scrollTop&&this._debounceResetIsScrolling()}},{key:"componentWillUnmount",value:function(){this._debounceResetIsScrollingId&&I(this._debounceResetIsScrollingId)}},{key:"render",value:function(){var e,t=this,n=this.props,o=n.autoHeight,i=n.cellCount,r=n.cellMeasurerCache,s=n.cellRenderer,a=n.className,l=n.height,u=n.id,c=n.keyMapper,d=n.overscanByPixels,f=n.role,g=n.style,v=n.tabIndex,y=n.width,S=n.rowDirection,b=this.state,C=b.isScrolling,M=b.scrollTop,x=[],w=this._getEstimatedTotalHeight(),_=this._positionCache.shortestColumnSize,k=this._positionCache.count,O=0;if(this._positionCache.range(Math.max(0,M-d),l+2*d,(function(n,o,i){var a;void 0===e?(O=n,e=n):(O=Math.min(O,n),e=Math.max(e,n)),x.push(s({index:n,isScrolling:C,key:c(n),parent:t,style:(a={height:r.getHeight(n)},h(a,"ltr"===S?"left":"right",o),h(a,"position","absolute"),h(a,"top",i),h(a,"width",r.getWidth(n)),a)}))})),_<M+l+d&&k<i)for(var E=Math.min(i-k,Math.ceil((M+l+d-_)/r.defaultHeight*y/r.defaultWidth)),z=k;z<k+E;z++)e=z,x.push(s({index:z,isScrolling:C,key:c(z),parent:this,style:{width:r.getWidth(z)}}));return this._startIndex=O,this._stopIndex=e,p.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:(0,m.Z)("ReactVirtualized__Masonry",a),id:u,onScroll:this._onScroll,role:f,style:Ae({boxSizing:"border-box",direction:"ltr",height:o?"auto":l,overflowX:"hidden",overflowY:w<l?"hidden":"auto",position:"relative",width:y,WebkitOverflowScrolling:"touch",willChange:"transform"},g),tabIndex:v},p.createElement("div",{className:"ReactVirtualized__Masonry__innerScrollContainer",style:{width:"100%",height:w,maxWidth:"100%",maxHeight:w,overflow:"hidden",pointerEvents:C?"none":"",position:"relative"}},x))}},{key:"_checkInvalidateOnUpdate",value:function(){if("number"==typeof this._invalidateOnUpdateStartIndex){var e=this._invalidateOnUpdateStartIndex,t=this._invalidateOnUpdateStopIndex;this._invalidateOnUpdateStartIndex=null,this._invalidateOnUpdateStopIndex=null,this._populatePositionCache(e,t),this.forceUpdate()}}},{key:"_debounceResetIsScrolling",value:function(){var e=this.props.scrollingResetTimeInterval;this._debounceResetIsScrollingId&&I(this._debounceResetIsScrollingId),this._debounceResetIsScrollingId=L(this._debounceResetIsScrollingCallback,e)}},{key:"_getEstimatedTotalHeight",value:function(){var e=this.props,t=e.cellCount,n=e.cellMeasurerCache,o=e.width,i=Math.max(1,Math.floor(o/n.defaultWidth));return this._positionCache.estimateTotalHeight(t,i,n.defaultHeight)}},{key:"_invokeOnScrollCallback",value:function(){var e=this.props,t=e.height,n=e.onScroll,o=this.state.scrollTop;this._onScrollMemoized!==o&&(n({clientHeight:t,scrollHeight:this._getEstimatedTotalHeight(),scrollTop:o}),this._onScrollMemoized=o)}},{key:"_invokeOnCellsRenderedCallback",value:function(){this._startIndexMemoized===this._startIndex&&this._stopIndexMemoized===this._stopIndex||((0,this.props.onCellsRendered)({startIndex:this._startIndex,stopIndex:this._stopIndex}),this._startIndexMemoized=this._startIndex,this._stopIndexMemoized=this._stopIndex)}},{key:"_populatePositionCache",value:function(e,t){for(var n=this.props,o=n.cellMeasurerCache,i=n.cellPositioner,r=e;r<=t;r++){var s=i(r),a=s.left,l=s.top;this._positionCache.setPosition(r,a,l,o.getHeight(r))}}}],[{key:"getDerivedStateFromProps",value:function(e,t){return void 0!==e.scrollTop&&t.scrollTop!==e.scrollTop?{isScrolling:!0,scrollTop:e.scrollTop}:null}}]),t}(p.PureComponent),h(Ie,"propTypes",null),Le);function Fe(){}h(De,"defaultProps",{autoHeight:!1,keyMapper:function(e){return e},onCellsRendered:Fe,onScroll:Fe,overscanByPixels:20,role:"grid",scrollingResetTimeInterval:150,style:{},tabIndex:0,rowDirection:"ltr"}),(0,f.polyfill)(De);var je=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o(this,e),h(this,"_cellMeasurerCache",void 0),h(this,"_columnIndexOffset",void 0),h(this,"_rowIndexOffset",void 0),h(this,"columnWidth",(function(e){var n=e.index;t._cellMeasurerCache.columnWidth({index:n+t._columnIndexOffset})})),h(this,"rowHeight",(function(e){var n=e.index;t._cellMeasurerCache.rowHeight({index:n+t._rowIndexOffset})}));var i=n.cellMeasurerCache,r=n.columnIndexOffset,s=void 0===r?0:r,a=n.rowIndexOffset,l=void 0===a?0:a;this._cellMeasurerCache=i,this._columnIndexOffset=s,this._rowIndexOffset=l}return r(e,[{key:"clear",value:function(e,t){this._cellMeasurerCache.clear(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"clearAll",value:function(){this._cellMeasurerCache.clearAll()}},{key:"hasFixedHeight",value:function(){return this._cellMeasurerCache.hasFixedHeight()}},{key:"hasFixedWidth",value:function(){return this._cellMeasurerCache.hasFixedWidth()}},{key:"getHeight",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.getHeight(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"getWidth",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.getWidth(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"has",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.has(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"set",value:function(e,t,n,o){this._cellMeasurerCache.set(e+this._rowIndexOffset,t+this._columnIndexOffset,n,o)}},{key:"defaultHeight",get:function(){return this._cellMeasurerCache.defaultHeight}},{key:"defaultWidth",get:function(){return this._cellMeasurerCache.defaultWidth}}]),e}();function Ge(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function He(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ge(n,!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ge(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ne=function(e){function t(e,n){var i;o(this,t),h(a(i=l(this,u(t).call(this,e,n))),"state",{scrollLeft:0,scrollTop:0,scrollbarSize:0,showHorizontalScrollbar:!1,showVerticalScrollbar:!1}),h(a(i),"_deferredInvalidateColumnIndex",null),h(a(i),"_deferredInvalidateRowIndex",null),h(a(i),"_bottomLeftGridRef",(function(e){i._bottomLeftGrid=e})),h(a(i),"_bottomRightGridRef",(function(e){i._bottomRightGrid=e})),h(a(i),"_cellRendererBottomLeftGrid",(function(e){var t=e.rowIndex,n=y(e,["rowIndex"]),o=i.props,r=o.cellRenderer,s=o.fixedRowCount;return t===o.rowCount-s?p.createElement("div",{key:n.key,style:He({},n.style,{height:20})}):r(He({},n,{parent:a(i),rowIndex:t+s}))})),h(a(i),"_cellRendererBottomRightGrid",(function(e){var t=e.columnIndex,n=e.rowIndex,o=y(e,["columnIndex","rowIndex"]),r=i.props,s=r.cellRenderer,l=r.fixedColumnCount,u=r.fixedRowCount;return s(He({},o,{columnIndex:t+l,parent:a(i),rowIndex:n+u}))})),h(a(i),"_cellRendererTopRightGrid",(function(e){var t=e.columnIndex,n=y(e,["columnIndex"]),o=i.props,r=o.cellRenderer,s=o.columnCount,l=o.fixedColumnCount;return t===s-l?p.createElement("div",{key:n.key,style:He({},n.style,{width:20})}):r(He({},n,{columnIndex:t+l,parent:a(i)}))})),h(a(i),"_columnWidthRightGrid",(function(e){var t=e.index,n=i.props,o=n.columnCount,r=n.fixedColumnCount,s=n.columnWidth,a=i.state,l=a.scrollbarSize;return a.showHorizontalScrollbar&&t===o-r?l:"function"==typeof s?s({index:t+r}):s})),h(a(i),"_onScroll",(function(e){var t=e.scrollLeft,n=e.scrollTop;i.setState({scrollLeft:t,scrollTop:n});var o=i.props.onScroll;o&&o(e)})),h(a(i),"_onScrollbarPresenceChange",(function(e){var t=e.horizontal,n=e.size,o=e.vertical,r=i.state,s=r.showHorizontalScrollbar,a=r.showVerticalScrollbar;if(t!==s||o!==a){i.setState({scrollbarSize:n,showHorizontalScrollbar:t,showVerticalScrollbar:o});var l=i.props.onScrollbarPresenceChange;"function"==typeof l&&l({horizontal:t,size:n,vertical:o})}})),h(a(i),"_onScrollLeft",(function(e){var t=e.scrollLeft;i._onScroll({scrollLeft:t,scrollTop:i.state.scrollTop})})),h(a(i),"_onScrollTop",(function(e){var t=e.scrollTop;i._onScroll({scrollTop:t,scrollLeft:i.state.scrollLeft})})),h(a(i),"_rowHeightBottomGrid",(function(e){var t=e.index,n=i.props,o=n.fixedRowCount,r=n.rowCount,s=n.rowHeight,a=i.state,l=a.scrollbarSize;return a.showVerticalScrollbar&&t===r-o?l:"function"==typeof s?s({index:t+o}):s})),h(a(i),"_topLeftGridRef",(function(e){i._topLeftGrid=e})),h(a(i),"_topRightGridRef",(function(e){i._topRightGrid=e}));var r=e.deferredMeasurementCache,s=e.fixedColumnCount,c=e.fixedRowCount;return i._maybeCalculateCachedStyles(!0),r&&(i._deferredMeasurementCacheBottomLeftGrid=c>0?new je({cellMeasurerCache:r,columnIndexOffset:0,rowIndexOffset:c}):r,i._deferredMeasurementCacheBottomRightGrid=s>0||c>0?new je({cellMeasurerCache:r,columnIndexOffset:s,rowIndexOffset:c}):r,i._deferredMeasurementCacheTopRightGrid=s>0?new je({cellMeasurerCache:r,columnIndexOffset:s,rowIndexOffset:0}):r),i}return d(t,e),r(t,[{key:"forceUpdateGrids",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.forceUpdate(),this._bottomRightGrid&&this._bottomRightGrid.forceUpdate(),this._topLeftGrid&&this._topLeftGrid.forceUpdate(),this._topRightGrid&&this._topRightGrid.forceUpdate()}},{key:"invalidateCellSizeAfterRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,o=e.rowIndex,i=void 0===o?0:o;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,n):n,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,i):i}},{key:"measureAllCells",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.measureAllCells(),this._bottomRightGrid&&this._bottomRightGrid.measureAllCells(),this._topLeftGrid&&this._topLeftGrid.measureAllCells(),this._topRightGrid&&this._topRightGrid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,o=e.rowIndex,i=void 0===o?0:o,r=this.props,s=r.fixedColumnCount,a=r.fixedRowCount,l=Math.max(0,n-s),u=Math.max(0,i-a);this._bottomLeftGrid&&this._bottomLeftGrid.recomputeGridSize({columnIndex:n,rowIndex:u}),this._bottomRightGrid&&this._bottomRightGrid.recomputeGridSize({columnIndex:l,rowIndex:u}),this._topLeftGrid&&this._topLeftGrid.recomputeGridSize({columnIndex:n,rowIndex:i}),this._topRightGrid&&this._topRightGrid.recomputeGridSize({columnIndex:l,rowIndex:i}),this._leftGridWidth=null,this._topGridHeight=null,this._maybeCalculateCachedStyles(!0)}},{key:"componentDidMount",value:function(){var e=this.props,t=e.scrollLeft,n=e.scrollTop;if(t>0||n>0){var o={};t>0&&(o.scrollLeft=t),n>0&&(o.scrollTop=n),this.setState(o)}this._handleInvalidatedGridSize()}},{key:"componentDidUpdate",value:function(){this._handleInvalidatedGridSize()}},{key:"render",value:function(){var e=this.props,t=e.onScroll,n=e.onSectionRendered,o=(e.onScrollbarPresenceChange,e.scrollLeft,e.scrollToColumn),i=(e.scrollTop,e.scrollToRow),r=y(e,["onScroll","onSectionRendered","onScrollbarPresenceChange","scrollLeft","scrollToColumn","scrollTop","scrollToRow"]);if(this._prepareForRender(),0===this.props.width||0===this.props.height)return null;var s=this.state,a=s.scrollLeft,l=s.scrollTop;return p.createElement("div",{style:this._containerOuterStyle},p.createElement("div",{style:this._containerTopStyle},this._renderTopLeftGrid(r),this._renderTopRightGrid(He({},r,{onScroll:t,scrollLeft:a}))),p.createElement("div",{style:this._containerBottomStyle},this._renderBottomLeftGrid(He({},r,{onScroll:t,scrollTop:l})),this._renderBottomRightGrid(He({},r,{onScroll:t,onSectionRendered:n,scrollLeft:a,scrollToColumn:o,scrollToRow:i,scrollTop:l}))))}},{key:"_getBottomGridHeight",value:function(e){return e.height-this._getTopGridHeight(e)}},{key:"_getLeftGridWidth",value:function(e){var t=e.fixedColumnCount,n=e.columnWidth;if(null==this._leftGridWidth)if("function"==typeof n){for(var o=0,i=0;i<t;i++)o+=n({index:i});this._leftGridWidth=o}else this._leftGridWidth=n*t;return this._leftGridWidth}},{key:"_getRightGridWidth",value:function(e){return e.width-this._getLeftGridWidth(e)}},{key:"_getTopGridHeight",value:function(e){var t=e.fixedRowCount,n=e.rowHeight;if(null==this._topGridHeight)if("function"==typeof n){for(var o=0,i=0;i<t;i++)o+=n({index:i});this._topGridHeight=o}else this._topGridHeight=n*t;return this._topGridHeight}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex){var e=this._deferredInvalidateColumnIndex,t=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:t}),this.forceUpdate()}}},{key:"_maybeCalculateCachedStyles",value:function(e){var t=this.props,n=t.columnWidth,o=t.enableFixedColumnScroll,i=t.enableFixedRowScroll,r=t.height,s=t.fixedColumnCount,a=t.fixedRowCount,l=t.rowHeight,u=t.style,c=t.styleBottomLeftGrid,d=t.styleBottomRightGrid,h=t.styleTopLeftGrid,p=t.styleTopRightGrid,f=t.width,g=e||r!==this._lastRenderedHeight||f!==this._lastRenderedWidth,m=e||n!==this._lastRenderedColumnWidth||s!==this._lastRenderedFixedColumnCount,v=e||a!==this._lastRenderedFixedRowCount||l!==this._lastRenderedRowHeight;(e||g||u!==this._lastRenderedStyle)&&(this._containerOuterStyle=He({height:r,overflow:"visible",width:f},u)),(e||g||v)&&(this._containerTopStyle={height:this._getTopGridHeight(this.props),position:"relative",width:f},this._containerBottomStyle={height:r-this._getTopGridHeight(this.props),overflow:"visible",position:"relative",width:f}),(e||c!==this._lastRenderedStyleBottomLeftGrid)&&(this._bottomLeftGridStyle=He({left:0,overflowX:"hidden",overflowY:o?"auto":"hidden",position:"absolute"},c)),(e||m||d!==this._lastRenderedStyleBottomRightGrid)&&(this._bottomRightGridStyle=He({left:this._getLeftGridWidth(this.props),position:"absolute"},d)),(e||h!==this._lastRenderedStyleTopLeftGrid)&&(this._topLeftGridStyle=He({left:0,overflowX:"hidden",overflowY:"hidden",position:"absolute",top:0},h)),(e||m||p!==this._lastRenderedStyleTopRightGrid)&&(this._topRightGridStyle=He({left:this._getLeftGridWidth(this.props),overflowX:i?"auto":"hidden",overflowY:"hidden",position:"absolute",top:0},p)),this._lastRenderedColumnWidth=n,this._lastRenderedFixedColumnCount=s,this._lastRenderedFixedRowCount=a,this._lastRenderedHeight=r,this._lastRenderedRowHeight=l,this._lastRenderedStyle=u,this._lastRenderedStyleBottomLeftGrid=c,this._lastRenderedStyleBottomRightGrid=d,this._lastRenderedStyleTopLeftGrid=h,this._lastRenderedStyleTopRightGrid=p,this._lastRenderedWidth=f}},{key:"_prepareForRender",value:function(){this._lastRenderedColumnWidth===this.props.columnWidth&&this._lastRenderedFixedColumnCount===this.props.fixedColumnCount||(this._leftGridWidth=null),this._lastRenderedFixedRowCount===this.props.fixedRowCount&&this._lastRenderedRowHeight===this.props.rowHeight||(this._topGridHeight=null),this._maybeCalculateCachedStyles(),this._lastRenderedColumnWidth=this.props.columnWidth,this._lastRenderedFixedColumnCount=this.props.fixedColumnCount,this._lastRenderedFixedRowCount=this.props.fixedRowCount,this._lastRenderedRowHeight=this.props.rowHeight}},{key:"_renderBottomLeftGrid",value:function(e){var t=e.enableFixedColumnScroll,n=e.fixedColumnCount,o=e.fixedRowCount,i=e.rowCount,r=e.hideBottomLeftGridScrollbar,s=this.state.showVerticalScrollbar;if(!n)return null;var a=s?1:0,l=this._getBottomGridHeight(e),u=this._getLeftGridWidth(e),c=this.state.showVerticalScrollbar?this.state.scrollbarSize:0,d=r?u+c:u,h=p.createElement(F,g({},e,{cellRenderer:this._cellRendererBottomLeftGrid,className:this.props.classNameBottomLeftGrid,columnCount:n,deferredMeasurementCache:this._deferredMeasurementCacheBottomLeftGrid,height:l,onScroll:t?this._onScrollTop:void 0,ref:this._bottomLeftGridRef,rowCount:Math.max(0,i-o)+a,rowHeight:this._rowHeightBottomGrid,style:this._bottomLeftGridStyle,tabIndex:null,width:d}));return r?p.createElement("div",{className:"BottomLeftGrid_ScrollWrapper",style:He({},this._bottomLeftGridStyle,{height:l,width:u,overflowY:"hidden"})},h):h}},{key:"_renderBottomRightGrid",value:function(e){var t=e.columnCount,n=e.fixedColumnCount,o=e.fixedRowCount,i=e.rowCount,r=e.scrollToColumn,s=e.scrollToRow;return p.createElement(F,g({},e,{cellRenderer:this._cellRendererBottomRightGrid,className:this.props.classNameBottomRightGrid,columnCount:Math.max(0,t-n),columnWidth:this._columnWidthRightGrid,deferredMeasurementCache:this._deferredMeasurementCacheBottomRightGrid,height:this._getBottomGridHeight(e),onScroll:this._onScroll,onScrollbarPresenceChange:this._onScrollbarPresenceChange,ref:this._bottomRightGridRef,rowCount:Math.max(0,i-o),rowHeight:this._rowHeightBottomGrid,scrollToColumn:r-n,scrollToRow:s-o,style:this._bottomRightGridStyle,width:this._getRightGridWidth(e)}))}},{key:"_renderTopLeftGrid",value:function(e){var t=e.fixedColumnCount,n=e.fixedRowCount;return t&&n?p.createElement(F,g({},e,{className:this.props.classNameTopLeftGrid,columnCount:t,height:this._getTopGridHeight(e),ref:this._topLeftGridRef,rowCount:n,style:this._topLeftGridStyle,tabIndex:null,width:this._getLeftGridWidth(e)})):null}},{key:"_renderTopRightGrid",value:function(e){var t=e.columnCount,n=e.enableFixedRowScroll,o=e.fixedColumnCount,i=e.fixedRowCount,r=e.scrollLeft,s=e.hideTopRightGridScrollbar,a=this.state,l=a.showHorizontalScrollbar,u=a.scrollbarSize;if(!i)return null;var c=l?1:0,d=this._getTopGridHeight(e),h=this._getRightGridWidth(e),f=l?u:0,m=d,v=this._topRightGridStyle;s&&(m=d+f,v=He({},this._topRightGridStyle,{left:0}));var y=p.createElement(F,g({},e,{cellRenderer:this._cellRendererTopRightGrid,className:this.props.classNameTopRightGrid,columnCount:Math.max(0,t-o)+c,columnWidth:this._columnWidthRightGrid,deferredMeasurementCache:this._deferredMeasurementCacheTopRightGrid,height:m,onScroll:n?this._onScrollLeft:void 0,ref:this._topRightGridRef,rowCount:i,scrollLeft:r,style:v,tabIndex:null,width:h}));return s?p.createElement("div",{className:"TopRightGrid_ScrollWrapper",style:He({},this._topRightGridStyle,{height:d,width:h,overflowX:"hidden"})},y):y}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.scrollLeft!==t.scrollLeft||e.scrollTop!==t.scrollTop?{scrollLeft:null!=e.scrollLeft&&e.scrollLeft>=0?e.scrollLeft:t.scrollLeft,scrollTop:null!=e.scrollTop&&e.scrollTop>=0?e.scrollTop:t.scrollTop}:null}}]),t}(p.PureComponent);function Ue(e){var t=e.className,n=e.columns,o=e.style;return p.createElement("div",{className:t,role:"row",style:o},n)}h(Ne,"defaultProps",{classNameBottomLeftGrid:"",classNameBottomRightGrid:"",classNameTopLeftGrid:"",classNameTopRightGrid:"",enableFixedColumnScroll:!1,enableFixedRowScroll:!1,fixedColumnCount:0,fixedRowCount:0,scrollToColumn:-1,scrollToRow:-1,style:{},styleBottomLeftGrid:{},styleBottomRightGrid:{},styleTopLeftGrid:{},styleTopRightGrid:{},hideTopRightGridScrollbar:!1,hideBottomLeftGridScrollbar:!1}),Ne.propTypes={},(0,f.polyfill)(Ne),(function(e){function t(e,n){var i;return o(this,t),(i=l(this,u(t).call(this,e,n))).state={clientHeight:0,clientWidth:0,scrollHeight:0,scrollLeft:0,scrollTop:0,scrollWidth:0},i._onScroll=i._onScroll.bind(a(i)),i}return d(t,e),r(t,[{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.clientHeight,o=t.clientWidth,i=t.scrollHeight,r=t.scrollLeft,s=t.scrollTop,a=t.scrollWidth;return e({clientHeight:n,clientWidth:o,onScroll:this._onScroll,scrollHeight:i,scrollLeft:r,scrollTop:s,scrollWidth:a})}},{key:"_onScroll",value:function(e){var t=e.clientHeight,n=e.clientWidth,o=e.scrollHeight,i=e.scrollLeft,r=e.scrollTop,s=e.scrollWidth;this.setState({clientHeight:t,clientWidth:n,scrollHeight:o,scrollLeft:i,scrollTop:r,scrollWidth:s})}}]),t}(p.PureComponent)).propTypes={},Ue.propTypes=null;const Ve="ASC",Ze="DESC";function qe(e){var t=e.sortDirection,n=(0,m.Z)("ReactVirtualized__Table__sortableHeaderIcon",{"ReactVirtualized__Table__sortableHeaderIcon--ASC":t===Ve,"ReactVirtualized__Table__sortableHeaderIcon--DESC":t===Ze});return p.createElement("svg",{className:n,width:18,height:18,viewBox:"0 0 24 24"},t===Ve?p.createElement("path",{d:"M7 14l5-5 5 5z"}):p.createElement("path",{d:"M7 10l5 5 5-5z"}),p.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}function $e(e){var t=e.dataKey,n=e.label,o=e.sortBy,i=e.sortDirection,r=o===t,s=[p.createElement("span",{className:"ReactVirtualized__Table__headerTruncatedText",key:"label",title:"string"==typeof n?n:null},n)];return r&&s.push(p.createElement(qe,{key:"SortIndicator",sortDirection:i})),s}function Ke(e){var t=e.className,n=e.columns,o=e.index,i=e.key,r=e.onRowClick,s=e.onRowDoubleClick,a=e.onRowMouseOut,l=e.onRowMouseOver,u=e.onRowRightClick,c=e.rowData,d=e.style,h={"aria-rowindex":o+1};return(r||s||a||l||u)&&(h["aria-label"]="row",h.tabIndex=0,r&&(h.onClick=function(e){return r({event:e,index:o,rowData:c})}),s&&(h.onDoubleClick=function(e){return s({event:e,index:o,rowData:c})}),a&&(h.onMouseOut=function(e){return a({event:e,index:o,rowData:c})}),l&&(h.onMouseOver=function(e){return l({event:e,index:o,rowData:c})}),u&&(h.onContextMenu=function(e){return u({event:e,index:o,rowData:c})})),p.createElement("div",g({},h,{className:t,key:i,role:"row",style:d}),n)}qe.propTypes={},$e.propTypes=null,Ke.propTypes=null;var Ye=function(e){function t(){return o(this,t),l(this,u(t).apply(this,arguments))}return d(t,e),t}(p.Component);function Xe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Qe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xe(n,!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}h(Ye,"defaultProps",{cellDataGetter:function(e){var t=e.dataKey,n=e.rowData;return"function"==typeof n.get?n.get(t):n[t]},cellRenderer:function(e){var t=e.cellData;return null==t?"":String(t)},defaultSortDirection:Ve,flexGrow:0,flexShrink:1,headerRenderer:$e,style:{}}),Ye.propTypes={};var Je=function(e){function t(e){var n;return o(this,t),(n=l(this,u(t).call(this,e))).state={scrollbarWidth:0},n._createColumn=n._createColumn.bind(a(n)),n._createRow=n._createRow.bind(a(n)),n._onScroll=n._onScroll.bind(a(n)),n._onSectionRendered=n._onSectionRendered.bind(a(n)),n._setRef=n._setRef.bind(a(n)),n}return d(t,e),r(t,[{key:"forceUpdateGrid",value:function(){this.Grid&&this.Grid.forceUpdate()}},{key:"getOffsetForRow",value:function(e){var t=e.alignment,n=e.index;return this.Grid?this.Grid.getOffsetForCell({alignment:t,rowIndex:n}).scrollTop:0}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,n=e.rowIndex;this.Grid&&this.Grid.invalidateCellSizeAfterRender({rowIndex:n,columnIndex:t})}},{key:"measureAllRows",value:function(){this.Grid&&this.Grid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,o=e.rowIndex,i=void 0===o?0:o;this.Grid&&this.Grid.recomputeGridSize({rowIndex:i,columnIndex:n})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"getScrollbarWidth",value:function(){if(this.Grid){var e=(0,J.findDOMNode)(this.Grid),t=e.clientWidth||0;return(e.offsetWidth||0)-t}return 0}},{key:"componentDidMount",value:function(){this._setScrollbarWidth()}},{key:"componentDidUpdate",value:function(){this._setScrollbarWidth()}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,o=t.className,i=t.disableHeader,r=t.gridClassName,s=t.gridStyle,a=t.headerHeight,l=t.headerRowRenderer,u=t.height,c=t.id,d=t.noRowsRenderer,h=t.rowClassName,f=t.rowStyle,v=t.scrollToIndex,y=t.style,S=t.width,b=this.state.scrollbarWidth,C=i?u:u-a,M="function"==typeof h?h({index:-1}):h,x="function"==typeof f?f({index:-1}):f;return this._cachedColumnStyles=[],p.Children.toArray(n).forEach((function(t,n){var o=e._getFlexStyleForColumn(t,t.props.style);e._cachedColumnStyles[n]=Qe({overflow:"hidden"},o)})),p.createElement("div",{"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-colcount":p.Children.toArray(n).length,"aria-rowcount":this.props.rowCount,className:(0,m.Z)("ReactVirtualized__Table",o),id:c,role:"grid",style:y},!i&&l({className:(0,m.Z)("ReactVirtualized__Table__headerRow",M),columns:this._getHeaderColumns(),style:Qe({height:a,overflow:"hidden",paddingRight:b,width:S},x)}),p.createElement(F,g({},this.props,{"aria-readonly":null,autoContainerWidth:!0,className:(0,m.Z)("ReactVirtualized__Table__Grid",r),cellRenderer:this._createRow,columnWidth:S,columnCount:1,height:C,id:void 0,noContentRenderer:d,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,role:"rowgroup",scrollbarWidth:b,scrollToRow:v,style:Qe({},s,{overflowX:"hidden"})})))}},{key:"_createColumn",value:function(e){var t=e.column,n=e.columnIndex,o=e.isScrolling,i=e.parent,r=e.rowData,s=e.rowIndex,a=this.props.onColumnClick,l=t.props,u=l.cellDataGetter,c=l.cellRenderer,d=l.className,h=l.columnData,f=l.dataKey,g=l.id,v=c({cellData:u({columnData:h,dataKey:f,rowData:r}),columnData:h,columnIndex:n,dataKey:f,isScrolling:o,parent:i,rowData:r,rowIndex:s}),y=this._cachedColumnStyles[n],S="string"==typeof v?v:null;return p.createElement("div",{"aria-colindex":n+1,"aria-describedby":g,className:(0,m.Z)("ReactVirtualized__Table__rowColumn",d),key:"Row"+s+"-Col"+n,onClick:function(e){a&&a({columnData:h,dataKey:f,event:e})},role:"gridcell",style:y,title:S},v)}},{key:"_createHeader",value:function(e){var t,n,o,i,r,s=e.column,a=e.index,l=this.props,u=l.headerClassName,c=l.headerStyle,d=l.onHeaderClick,h=l.sort,f=l.sortBy,g=l.sortDirection,v=s.props,y=v.columnData,S=v.dataKey,b=v.defaultSortDirection,C=v.disableSort,M=v.headerRenderer,x=v.id,w=v.label,_=!C&&h,k=(0,m.Z)("ReactVirtualized__Table__headerColumn",u,s.props.headerClassName,{ReactVirtualized__Table__sortableHeaderColumn:_}),O=this._getFlexStyleForColumn(s,Qe({},c,{},s.props.headerStyle)),E=M({columnData:y,dataKey:S,disableSort:C,label:w,sortBy:f,sortDirection:g});if(_||d){var z=f!==S?b:g===Ze?Ve:Ze,T=function(e){_&&h({defaultSortDirection:b,event:e,sortBy:S,sortDirection:z}),d&&d({columnData:y,dataKey:S,event:e})};r=s.props["aria-label"]||w||S,i="none",o=0,t=T,n=function(e){"Enter"!==e.key&&" "!==e.key||T(e)}}return f===S&&(i=g===Ve?"ascending":"descending"),p.createElement("div",{"aria-label":r,"aria-sort":i,className:k,id:x,key:"Header-Col"+a,onClick:t,onKeyDown:n,role:"columnheader",style:O,tabIndex:o},E)}},{key:"_createRow",value:function(e){var t=this,n=e.rowIndex,o=e.isScrolling,i=e.key,r=e.parent,s=e.style,a=this.props,l=a.children,u=a.onRowClick,c=a.onRowDoubleClick,d=a.onRowRightClick,h=a.onRowMouseOver,f=a.onRowMouseOut,g=a.rowClassName,v=a.rowGetter,y=a.rowRenderer,S=a.rowStyle,b=this.state.scrollbarWidth,C="function"==typeof g?g({index:n}):g,M="function"==typeof S?S({index:n}):S,x=v({index:n}),w=p.Children.toArray(l).map((function(e,i){return t._createColumn({column:e,columnIndex:i,isScrolling:o,parent:r,rowData:x,rowIndex:n,scrollbarWidth:b})})),_=(0,m.Z)("ReactVirtualized__Table__row",C),k=Qe({},s,{height:this._getRowHeight(n),overflow:"hidden",paddingRight:b},M);return y({className:_,columns:w,index:n,isScrolling:o,key:i,onRowClick:u,onRowDoubleClick:c,onRowRightClick:d,onRowMouseOver:h,onRowMouseOut:f,rowData:x,style:k})}},{key:"_getFlexStyleForColumn",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="".concat(e.props.flexGrow," ").concat(e.props.flexShrink," ").concat(e.props.width,"px"),o=Qe({},t,{flex:n,msFlex:n,WebkitFlex:n});return e.props.maxWidth&&(o.maxWidth=e.props.maxWidth),e.props.minWidth&&(o.minWidth=e.props.minWidth),o}},{key:"_getHeaderColumns",value:function(){var e=this,t=this.props,n=t.children;return(t.disableHeader?[]:p.Children.toArray(n)).map((function(t,n){return e._createHeader({column:t,index:n})}))}},{key:"_getRowHeight",value:function(e){var t=this.props.rowHeight;return"function"==typeof t?t({index:e}):t}},{key:"_onScroll",value:function(e){var t=e.clientHeight,n=e.scrollHeight,o=e.scrollTop;(0,this.props.onScroll)({clientHeight:t,scrollHeight:n,scrollTop:o})}},{key:"_onSectionRendered",value:function(e){var t=e.rowOverscanStartIndex,n=e.rowOverscanStopIndex,o=e.rowStartIndex,i=e.rowStopIndex;(0,this.props.onRowsRendered)({overscanStartIndex:t,overscanStopIndex:n,startIndex:o,stopIndex:i})}},{key:"_setRef",value:function(e){this.Grid=e}},{key:"_setScrollbarWidth",value:function(){var e=this.getScrollbarWidth();this.setState({scrollbarWidth:e})}}]),t}(p.PureComponent);h(Je,"defaultProps",{disableHeader:!1,estimatedRowSize:30,headerHeight:0,headerStyle:{},noRowsRenderer:function(){return null},onRowsRendered:function(){return null},onScroll:function(){return null},overscanIndicesGetter:j,overscanRowCount:10,rowRenderer:Ke,headerRowRenderer:Ue,rowStyle:{},scrollToAlignment:"auto",scrollToIndex:-1,style:{}}),Je.propTypes={};var et=[],tt=null,nt=null;function ot(){nt&&(nt=null,document.body&&null!=tt&&(document.body.style.pointerEvents=tt),tt=null)}function it(){ot(),et.forEach((function(e){return e.__resetIsScrolling()}))}function rt(e){e.currentTarget===window&&null==tt&&document.body&&(tt=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),function(){nt&&I(nt);var e=0;et.forEach((function(t){e=Math.max(e,t.props.scrollingResetTimeInterval)})),nt=L(it,e)}(),et.forEach((function(t){t.props.scrollElement===e.currentTarget&&t.__handleWindowScrollEvent()}))}function st(e,t){et.some((function(e){return e.props.scrollElement===t}))||t.addEventListener("scroll",rt),et.push(e)}function at(e,t){(et=et.filter((function(t){return t!==e}))).length||(t.removeEventListener("scroll",rt),nt&&(I(nt),ot()))}var lt,ut,ct=function(e){return e===window},dt=function(e){return e.getBoundingClientRect()};function ht(e,t){if(e){if(ct(e)){var n=window,o=n.innerHeight,i=n.innerWidth;return{height:"number"==typeof o?o:0,width:"number"==typeof i?i:0}}return dt(e)}return{height:t.serverHeight,width:t.serverWidth}}function pt(e,t){if(ct(t)&&document.documentElement){var n=document.documentElement,o=dt(e),i=dt(n);return{top:o.top-i.top,left:o.left-i.left}}var r=ft(t),s=dt(e),a=dt(t);return{top:s.top+r.top-a.top,left:s.left+r.left-a.left}}function ft(e){return ct(e)&&document.documentElement?{top:"scrollY"in window?window.scrollY:document.documentElement.scrollTop,left:"scrollX"in window?window.scrollX:document.documentElement.scrollLeft}:{top:e.scrollTop,left:e.scrollLeft}}function gt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function mt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gt(n,!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gt(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var vt=function(){return"undefined"!=typeof window?window:void 0},yt=(ut=lt=function(e){function t(){var e,n;o(this,t);for(var i=arguments.length,r=new Array(i),s=0;s<i;s++)r[s]=arguments[s];return h(a(n=l(this,(e=u(t)).call.apply(e,[this].concat(r)))),"_window",vt()),h(a(n),"_isMounted",!1),h(a(n),"_positionFromTop",0),h(a(n),"_positionFromLeft",0),h(a(n),"_detectElementResize",void 0),h(a(n),"_child",void 0),h(a(n),"state",mt({},ht(n.props.scrollElement,n.props),{isScrolling:!1,scrollLeft:0,scrollTop:0})),h(a(n),"_registerChild",(function(e){!e||e instanceof Element||console.warn("WindowScroller registerChild expects to be passed Element or null"),n._child=e,n.updatePosition()})),h(a(n),"_onChildScroll",(function(e){var t=e.scrollTop;if(n.state.scrollTop!==t){var o=n.props.scrollElement;o&&("function"==typeof o.scrollTo?o.scrollTo(0,t+n._positionFromTop):o.scrollTop=t+n._positionFromTop)}})),h(a(n),"_registerResizeListener",(function(e){e===window?window.addEventListener("resize",n._onResize,!1):n._detectElementResize.addResizeListener(e,n._onResize)})),h(a(n),"_unregisterResizeListener",(function(e){e===window?window.removeEventListener("resize",n._onResize,!1):e&&n._detectElementResize.removeResizeListener(e,n._onResize)})),h(a(n),"_onResize",(function(){n.updatePosition()})),h(a(n),"__handleWindowScrollEvent",(function(){if(n._isMounted){var e=n.props.onScroll,t=n.props.scrollElement;if(t){var o=ft(t),i=Math.max(0,o.left-n._positionFromLeft),r=Math.max(0,o.top-n._positionFromTop);n.setState({isScrolling:!0,scrollLeft:i,scrollTop:r}),e({scrollLeft:i,scrollTop:r})}}})),h(a(n),"__resetIsScrolling",(function(){n.setState({isScrolling:!1})})),n}return d(t,e),r(t,[{key:"updatePosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,t=this.props.onResize,n=this.state,o=n.height,i=n.width,r=this._child||J.findDOMNode(this);if(r instanceof Element&&e){var s=pt(r,e);this._positionFromTop=s.top,this._positionFromLeft=s.left}var a=ht(e,this.props);o===a.height&&i===a.width||(this.setState({height:a.height,width:a.width}),t({height:a.height,width:a.width}))}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=q(),this.updatePosition(e),e&&(st(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,t){var n=this.props.scrollElement,o=e.scrollElement;o!==n&&null!=o&&null!=n&&(this.updatePosition(n),at(this,o),st(this,n),this._unregisterResizeListener(o),this._registerResizeListener(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(at(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.isScrolling,o=t.scrollTop,i=t.scrollLeft,r=t.height,s=t.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:r,isScrolling:n,scrollLeft:i,scrollTop:o,width:s})}}]),t}(p.PureComponent),h(lt,"propTypes",null),ut);h(yt,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:vt(),serverHeight:0,serverWidth:0})},8978:(e,t,n)=>{"use strict";t.v7=b,t.Kx=C,t._t=w,t.ZP=function(e){var t=w(e);return function(e){return o.default.createElement(u.DragDropContextConsumer,null,(function(n){var i=n.dragDropManager;return void 0===i?null:o.default.createElement(t,f({},e,{dragDropManager:i}))}))}};var o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};o.get||o.set?Object.defineProperty(t,n,o):t[n]=e[n]}return t.default=e,t}(n(24328)),i=h(n(52386)),r=n(75047),s=h(n(5095)),a=h(n(12198)),l=h(n(20506)),u=n(13896),c=h(n(89819)),d=n(67750);function h(e){return e&&e.__esModule?e:{default:e}}function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},f.apply(this,arguments)}function g(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e){return function(t,n){var o=t.x,i=t.w,r=t.y,s=t.h,a=Math.min(i/2,e);if(n.x>=o&&n.x<=o+i&&n.y>=r&&n.y<=r+s){if(n.x<o+a)return(n.x-o-a)/a;if(n.x>o+i-a)return-(o+i-n.x-a)/a}return 0}}function C(e){return function(t,n){var o=t.y,i=t.h,r=t.x,s=t.w,a=Math.min(i/2,e);if(n.y>=o&&n.y<=o+i&&n.x>=r&&n.x<=r+s){if(n.y<o+a)return(n.y-o-a)/a;if(n.y>o+i-a)return-(o+i-n.y-a)/a}return 0}}var M=b(150),x=C(150);function w(e){var t=function(t){function n(e,t){var i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),i=function(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?y(e):t}(this,m(n).call(this,e,t)),S(y(y(i)),"updateScrolling",(0,s.default)((function(e){var t=i.container.getBoundingClientRect(),n={x:t.left,y:t.top,w:t.width,h:t.height},o=(0,d.getCoords)(e),r=i.props,s=r.horizontalStrength,a=r.verticalStrength;i.scaleX=s(n,o),i.scaleY=a(n,o),i.frame||!i.scaleX&&!i.scaleY||i.startScrolling()}),100,{trailing:!1})),S(y(y(i)),"handleEvent",(function(e){i.dragging&&!i.attached&&(i.attach(),i.updateScrolling(e))})),i.wrappedInstance=o.default.createRef(),i.scaleX=0,i.scaleY=0,i.frame=null,i.attached=!1,i.dragging=!1,i}var i,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(n,t),i=n,(l=[{key:"componentDidMount",value:function(){var e=this;this.container=(0,r.findDOMNode)(this.wrappedInstance.current),this.container&&"function"==typeof this.container.addEventListener&&this.container.addEventListener("dragover",this.handleEvent),window.document.body.addEventListener("touchmove",this.handleEvent);var t=this.props.dragDropManager;this.clearMonitorSubscription=t.getMonitor().subscribeToStateChange((function(){return e.handleMonitorChange()}))}},{key:"componentWillUnmount",value:function(){this.container&&"function"==typeof this.container.removeEventListener&&this.container.removeEventListener("dragover",this.handleEvent),window.document.body.removeEventListener("touchmove",this.handleEvent),this.clearMonitorSubscription(),this.stopScrolling()}},{key:"handleMonitorChange",value:function(){var e=this.props.dragDropManager.getMonitor().isDragging();!this.dragging&&e?this.dragging=!0:this.dragging&&!e&&(this.dragging=!1,this.stopScrolling())}},{key:"attach",value:function(){this.attached=!0,window.document.body.addEventListener("dragover",this.updateScrolling),window.document.body.addEventListener("touchmove",this.updateScrolling)}},{key:"detach",value:function(){this.attached=!1,window.document.body.removeEventListener("dragover",this.updateScrolling),window.document.body.removeEventListener("touchmove",this.updateScrolling)}},{key:"startScrolling",value:function(){var e=this,t=0;!function n(){var o=e.scaleX,i=e.scaleY,r=e.container,s=e.props,l=s.strengthMultiplier,u=s.onScrollChange;if(0!==l&&o+i!==0){if((t+=1)%2){var c=r.scrollLeft,h=r.scrollTop,p=r.scrollWidth,f=r.scrollHeight,g=r.clientWidth,m=r.clientHeight;u(o?r.scrollLeft=(0,d.intBetween)(0,p-g,c+o*l):c,i?r.scrollTop=(0,d.intBetween)(0,f-m,h+i*l):h)}e.frame=(0,a.default)(n)}else e.stopScrolling()}()}},{key:"stopScrolling",value:function(){this.detach(),this.scaleX=0,this.scaleY=0,this.frame&&(a.default.cancel(this.frame),this.frame=null)}},{key:"render",value:function(){var t=this.props,n=(t.strengthMultiplier,t.verticalStrength,t.horizontalStrength,t.onScrollChange,function(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n,o,i={},r=Object.keys(e);for(o=0;o<r.length;o++)n=r[o],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o<r.length;o++)n=r[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,["strengthMultiplier","verticalStrength","horizontalStrength","onScrollChange"]));return o.default.createElement(e,f({ref:this.wrappedInstance},n))}}])&&g(i.prototype,l),n}(o.Component);return S(t,"displayName","Scrolling(".concat((0,l.default)(e),")")),S(t,"propTypes",{dragDropManager:i.default.object.isRequired,onScrollChange:i.default.func,verticalStrength:i.default.func,horizontalStrength:i.default.func,strengthMultiplier:i.default.number}),S(t,"defaultProps",{onScrollChange:d.noop,verticalStrength:x,horizontalStrength:M,strengthMultiplier:30}),(0,c.default)(t,e)}},67750:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.noop=function(){},t.intBetween=function(e,t,n){return Math.floor(Math.min(t,Math.max(e,n)))},t.getCoords=function(e){return"touchmove"===e.type?{x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY}:{x:e.clientX,y:e.clientY}}},89819:(e,t,n)=>{"use strict";var o=n(77328),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function l(e){return o.isMemo(e)?s:a[e.$$typeof]||i}a[o.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[o.Memo]=s;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,n,o){if("string"!=typeof n){if(f){var i=p(n);i&&i!==f&&e(t,i,o)}var s=c(n);d&&(s=s.concat(d(n)));for(var a=l(t),g=l(n),m=0;m<s.length;++m){var v=s[m];if(!(r[v]||o&&o[v]||g&&g[v]||a&&a[v])){var y=h(n,v);try{u(t,v,y)}catch(e){}}}}return t}},5095:(e,t,n)=>{var o="Expected a function",i=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,a=/^0o[0-7]+$/i,l=parseInt,u="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,c="object"==typeof self&&self&&self.Object===Object&&self,d=u||c||Function("return this")(),h=Object.prototype.toString,p=Math.max,f=Math.min,g=function(){return d.Date.now()};function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==h.call(e)}(e))return NaN;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=s.test(e);return n||a.test(e)?l(e.slice(2),n?2:8):r.test(e)?NaN:+e}e.exports=function(e,t,n){var i=!0,r=!0;if("function"!=typeof e)throw new TypeError(o);return m(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),function(e,t,n){var i,r,s,a,l,u,c=0,d=!1,h=!1,y=!0;if("function"!=typeof e)throw new TypeError(o);function S(t){var n=i,o=r;return i=r=void 0,c=t,a=e.apply(o,n)}function b(e){return c=e,l=setTimeout(M,t),d?S(e):a}function C(e){var n=e-u;return void 0===u||n>=t||n<0||h&&e-c>=s}function M(){var e=g();if(C(e))return x(e);l=setTimeout(M,function(e){var n=t-(e-u);return h?f(n,s-(e-c)):n}(e))}function x(e){return l=void 0,y&&i?S(e):(i=r=void 0,a)}function w(){var e=g(),n=C(e);if(i=arguments,r=this,u=e,n){if(void 0===l)return b(u);if(h)return l=setTimeout(M,t),S(u)}return void 0===l&&(l=setTimeout(M,t)),a}return t=v(t)||0,m(n)&&(d=!!n.leading,s=(h="maxWait"in n)?p(v(n.maxWait)||0,t):s,y="trailing"in n?!!n.trailing:y),w.cancel=function(){void 0!==l&&clearTimeout(l),c=0,i=u=r=l=void 0},w.flush=function(){return void 0===l?a:x(g())},w}(e,t,{leading:i,maxWait:t,trailing:r})}},94352:function(e,t,n){var o=n(34406);(function(){var t,n,i,r,s,a;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:null!=o&&o.hrtime?(e.exports=function(){return(t()-s)/1e6},n=o.hrtime,r=(t=function(){var e;return 1e9*(e=n())[0]+e[1]})(),a=1e9*o.uptime(),s=r-a):Date.now?(e.exports=function(){return Date.now()-i},i=Date.now()):(e.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(this)},61727:(e,t,n)=>{"use strict";var o=n(15528);function i(){}function r(){}r.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,r,s){if(s!==o){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:r,resetWarningCache:i};return n.PropTypes=n,n}},52386:(e,t,n)=>{e.exports=n(61727)()},15528:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},12198:(e,t,n)=>{for(var o=n(94352),i="undefined"==typeof window?n.g:window,r=["moz","webkit"],s="AnimationFrame",a=i["request"+s],l=i["cancel"+s]||i["cancelRequest"+s],u=0;!a&&u<r.length;u++)a=i[r[u]+"Request"+s],l=i[r[u]+"Cancel"+s]||i[r[u]+"CancelRequest"+s];if(!a||!l){var c=0,d=0,h=[];a=function(e){if(0===h.length){var t=o(),n=Math.max(0,16.666666666666668-(t-c));c=n+t,setTimeout((function(){var e=h.slice(0);h.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(c)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(n))}return h.push({handle:++d,callback:e,cancelled:!1}),d},l=function(e){for(var t=0;t<h.length;t++)h[t].handle===e&&(h[t].cancelled=!0)}}e.exports=function(e){return a.call(i,e)},e.exports.cancel=function(){l.apply(i,arguments)},e.exports.polyfill=function(e){e||(e=i),e.requestAnimationFrame=a,e.cancelAnimationFrame=l}},20506:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.displayName||e.name||("string"==typeof e&&e.length>0?e:"Unknown")}},35938:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,o=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,r=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,a=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,h=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,f=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,S=n?Symbol.for("react.responder"):60118,b=n?Symbol.for("react.scope"):60119;function C(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case c:case d:case r:case a:case s:case p:return e;default:switch(e=e&&e.$$typeof){case u:case h:case m:case g:case l:return e;default:return t}}case i:return t}}}function M(e){return C(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=o,t.ForwardRef=h,t.Fragment=r,t.Lazy=m,t.Memo=g,t.Portal=i,t.Profiler=a,t.StrictMode=s,t.Suspense=p,t.isAsyncMode=function(e){return M(e)||C(e)===c},t.isConcurrentMode=M,t.isContextConsumer=function(e){return C(e)===u},t.isContextProvider=function(e){return C(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return C(e)===h},t.isFragment=function(e){return C(e)===r},t.isLazy=function(e){return C(e)===m},t.isMemo=function(e){return C(e)===g},t.isPortal=function(e){return C(e)===i},t.isProfiler=function(e){return C(e)===a},t.isStrictMode=function(e){return C(e)===s},t.isSuspense=function(e){return C(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===d||e===a||e===s||e===p||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===l||e.$$typeof===u||e.$$typeof===h||e.$$typeof===y||e.$$typeof===S||e.$$typeof===b||e.$$typeof===v)},t.typeOf=C},77328:(e,t,n)=>{"use strict";e.exports=n(35938)}}]);