[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.191.240.117: ~ $
(()=>{var e={2485:(e,t)=>{var s;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var s=arguments[t];if(s){var i=typeof s;if("string"===i||"number"===i)e.push(s);else if(Array.isArray(s)){if(s.length){var r=o.apply(null,s);r&&e.push(r)}}else if("object"===i)if(s.toString===Object.prototype.toString)for(var a in s)n.call(s,a)&&s[a]&&e.push(a);else e.push(s.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(s=function(){return o}.apply(t,[]))||(e.exports=s)}()}},t={};function s(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,s),i.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";const e=window.kadence.icons,t=window.wp.blocks,n=window.wp.i18n,o=window.React;var i=s.n(o);const r=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"kadence/googlemaps","title":"Google Maps","category":"kadence-blocks","textdomain":"kadence-blocks","attributes":{"uniqueID":{"type":"string"},"width":{"type":"number","default":""},"heightDesktop":{"type":"number","default":450},"heightTablet":{"type":"number","default":""},"heightMobile":{"type":"number","default":""},"widthDesktop":{"type":"number","default":""},"widthTablet":{"type":"number","default":""},"widthMobile":{"type":"number","default":""},"zoom":{"type":"number","default":"11"},"location":{"type":"string","default":"Golden Gate Bridge"},"lat":{"type":"string","default":""},"lng":{"type":"string","default":""},"apiType":{"type":"string","enum":["embed","javascript"],"default":"embed"},"showMarker":{"type":"boolean","default":true},"mapType":{"type":"string","enum":["roadmap","satellite"],"default":"roadmap"},"mapFilter":{"type":"string","enum":["standard","grayscale","invert","saturate","sepia"],"default":"standard"},"mapStyle":{"type":"string","default":"standard"},"showControls":{"type":"boolean","default":true},"customSnazzy":{"type":"string","default":""},"mapFilterAmount":{"type":"number","default":50},"marginDesktop":{"type":"array","default":["","","",""]},"marginTablet":{"type":"array","default":["","","",""]},"marginMobile":{"type":"array","default":["","","",""]},"marginUnit":{"type":"string","default":"px"},"paddingDesktop":{"type":"array","default":["","","",""]},"paddingTablet":{"type":"array","default":["","","",""]},"paddingMobile":{"type":"array","default":["","","",""]},"paddingUnit":{"type":"string","default":"px"},"textAlign":{"type":"array","default":["","",""]},"kbVersion":{"type":"number","default":""}},"supports":{"kbMetadata":true,"ktdynamic":true}}'),a=window.wp.notices,l=window.wp.data,p=window.wp.element,u=window.wp.blockEditor,d=window.wp.apiFetch;var c=s.n(d);const g=window.wp.components;var h=s(2485),m=s.n(h);const v=window.lodash,f=[{featureType:"all",elementType:"labels.text.fill",stylers:[{saturation:36},{color:"#000000"},{lightness:40}]},{featureType:"all",elementType:"labels.text.stroke",stylers:[{visibility:"on"},{color:"#000000"},{lightness:16}]},{featureType:"all",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"administrative",elementType:"geometry.fill",stylers:[{color:"#000000"},{lightness:20}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#000000"},{lightness:17},{weight:1.2}]},{featureType:"landscape",elementType:"geometry",stylers:[{color:"#000000"},{lightness:20}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#000000"},{lightness:21}]},{featureType:"road.highway",elementType:"geometry.fill",stylers:[{color:"#000000"},{lightness:17}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#000000"},{lightness:29},{weight:.2}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#000000"},{lightness:18}]},{featureType:"road.local",elementType:"geometry",stylers:[{color:"#000000"},{lightness:16}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#000000"},{lightness:19}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#000000"},{lightness:17}]}],y=[{featureType:"all",elementType:"all",stylers:[{saturation:"32"},{lightness:"-3"},{visibility:"on"},{weight:"1.18"}]},{featureType:"administrative",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"landscape",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"landscape.man_made",elementType:"all",stylers:[{saturation:"-70"},{lightness:"14"}]},{featureType:"poi",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"road",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"transit",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"water",elementType:"all",stylers:[{saturation:"100"},{lightness:"-14"}]},{featureType:"water",elementType:"labels",stylers:[{visibility:"off"},{lightness:"12"}]}],b=[{featureType:"all",elementType:"labels.text",stylers:[{color:"#878787"}]},{featureType:"all",elementType:"labels.text.stroke",stylers:[{visibility:"off"}]},{featureType:"landscape",elementType:"all",stylers:[{color:"#f9f5ed"}]},{featureType:"road.highway",elementType:"all",stylers:[{color:"#f5f5f5"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#c9c9c9"}]},{featureType:"water",elementType:"all",stylers:[{color:"#aee0f4"}]}],L=[{featureType:"all",elementType:"labels.text.fill",stylers:[{color:"#ffffff"}]},{featureType:"all",elementType:"labels.text.stroke",stylers:[{color:"#000000"},{lightness:13}]},{featureType:"administrative",elementType:"geometry.fill",stylers:[{color:"#000000"}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#144b53"},{lightness:14},{weight:1.4}]},{featureType:"landscape",elementType:"all",stylers:[{color:"#08304b"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#0c4152"},{lightness:5}]},{featureType:"road.highway",elementType:"geometry.fill",stylers:[{color:"#000000"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#0b434f"},{lightness:25}]},{featureType:"road.arterial",elementType:"geometry.fill",stylers:[{color:"#000000"}]},{featureType:"road.arterial",elementType:"geometry.stroke",stylers:[{color:"#0b3d51"},{lightness:16}]},{featureType:"road.local",elementType:"geometry",stylers:[{color:"#000000"}]},{featureType:"transit",elementType:"all",stylers:[{color:"#146474"}]},{featureType:"water",elementType:"all",stylers:[{color:"#021019"}]}],k=[{featureType:"administrative.country",elementType:"labels.text",stylers:[{lightness:"29"}]},{featureType:"administrative.province",elementType:"labels.text.fill",stylers:[{lightness:"-12"},{color:"#796340"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{lightness:"15"},{saturation:"15"}]},{featureType:"landscape.man_made",elementType:"geometry",stylers:[{visibility:"on"},{color:"#fbf5ed"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{visibility:"on"},{color:"#fbf5ed"}]},{featureType:"poi",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"poi.attraction",elementType:"all",stylers:[{visibility:"on"},{lightness:"30"},{saturation:"-41"},{gamma:"0.84"}]},{featureType:"poi.attraction",elementType:"labels",stylers:[{visibility:"on"}]},{featureType:"poi.business",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"poi.business",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"poi.medical",elementType:"geometry",stylers:[{color:"#fbd3da"}]},{featureType:"poi.medical",elementType:"labels",stylers:[{visibility:"on"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#b0e9ac"},{visibility:"on"}]},{featureType:"poi.park",elementType:"labels",stylers:[{visibility:"on"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{hue:"#68ff00"},{lightness:"-24"},{gamma:"1.59"}]},{featureType:"poi.sports_complex",elementType:"all",stylers:[{visibility:"on"}]},{featureType:"poi.sports_complex",elementType:"geometry",stylers:[{saturation:"10"},{color:"#c3eb9a"}]},{featureType:"road",elementType:"geometry.stroke",stylers:[{visibility:"on"},{lightness:"30"},{color:"#e7ded6"}]},{featureType:"road",elementType:"labels",stylers:[{visibility:"on"},{saturation:"-39"},{lightness:"28"},{gamma:"0.86"}]},{featureType:"road.highway",elementType:"geometry.fill",stylers:[{color:"#ffe523"},{visibility:"on"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{visibility:"on"},{saturation:"0"},{gamma:"1.44"},{color:"#fbc28b"}]},{featureType:"road.highway",elementType:"labels",stylers:[{visibility:"on"},{saturation:"-40"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#fed7a5"}]},{featureType:"road.arterial",elementType:"geometry.fill",stylers:[{visibility:"on"},{gamma:"1.54"},{color:"#fbe38b"}]},{featureType:"road.local",elementType:"geometry.fill",stylers:[{color:"#ffffff"},{visibility:"on"},{gamma:"2.62"},{lightness:"10"}]},{featureType:"road.local",elementType:"geometry.stroke",stylers:[{visibility:"on"},{weight:"0.50"},{gamma:"1.04"}]},{featureType:"transit.station.airport",elementType:"geometry.fill",stylers:[{color:"#dee3fb"}]},{featureType:"water",elementType:"geometry",stylers:[{saturation:"46"},{color:"#a4e1ff"}]}],C=[{featureType:"all",elementType:"all",stylers:[{invert_lightness:!0},{saturation:10},{lightness:30},{gamma:.5},{hue:"#435158"}]}],x=[{featureType:"water",elementType:"geometry",stylers:[{visibility:"on"},{color:"#aee2e0"}]},{featureType:"landscape",elementType:"geometry.fill",stylers:[{color:"#abce83"}]},{featureType:"poi",elementType:"geometry.fill",stylers:[{color:"#769E72"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#7B8758"}]},{featureType:"poi",elementType:"labels.text.stroke",stylers:[{color:"#EBF4A4"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{visibility:"simplified"},{color:"#8dab68"}]},{featureType:"road",elementType:"geometry.fill",stylers:[{visibility:"simplified"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#5B5B3F"}]},{featureType:"road",elementType:"labels.text.stroke",stylers:[{color:"#ABCE83"}]},{featureType:"road",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"road.local",elementType:"geometry",stylers:[{color:"#A4C67D"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#9BBF72"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#EBF4A4"}]},{featureType:"transit",stylers:[{visibility:"off"}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{visibility:"on"},{color:"#87ae79"}]},{featureType:"administrative",elementType:"geometry.fill",stylers:[{color:"#7f2200"},{visibility:"off"}]},{featureType:"administrative",elementType:"labels.text.stroke",stylers:[{color:"#ffffff"},{visibility:"on"},{weight:4.1}]},{featureType:"administrative",elementType:"labels.text.fill",stylers:[{color:"#495421"}]},{featureType:"administrative.neighborhood",elementType:"labels",stylers:[{visibility:"off"}]}],M=[{elementType:"geometry",stylers:[{color:"#242f3e"}]},{elementType:"labels.text.stroke",stylers:[{color:"#242f3e"}]},{elementType:"labels.text.fill",stylers:[{color:"#746855"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#263c3f"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#6b9a76"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#38414e"}]},{featureType:"road",elementType:"geometry.stroke",stylers:[{color:"#212a37"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#9ca5b3"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#746855"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#1f2835"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#f3d19c"}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#2f3948"}]},{featureType:"transit.station",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#17263c"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#515c6d"}]},{featureType:"water",elementType:"labels.text.stroke",stylers:[{color:"#17263c"}]}],E=window.ReactDOM;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==s.g?s.g:"undefined"!=typeof self&&self;var w,S={exports:{}},T={};S.exports=function(){if(w)return T;w=1;var e=i(),t=Symbol.for("react.element"),s=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,r={key:!0,ref:!0,__self:!0,__source:!0};function a(e,s,i){var a,l={},p=null,u=null;for(a in void 0!==i&&(p=""+i),void 0!==s.key&&(p=""+s.key),void 0!==s.ref&&(u=s.ref),s)n.call(s,a)&&!r.hasOwnProperty(a)&&(l[a]=s[a]);if(e&&e.defaultProps)for(a in s=e.defaultProps)void 0===l[a]&&(l[a]=s[a]);return{$$typeof:t,type:e,key:p,ref:u,props:l,_owner:o.current}}return T.Fragment=s,T.jsx=a,T.jsxs=a,T}();var P=function(e,t,s,n,o,i,r,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 p=[s,n,o,i,r,a],u=0;(l=new Error(t.replace(/%s/g,(function(){return p[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}};const O=(0,o.createContext)(null);function _(e){google.maps.event.removeListener(e)}function I(e=[]){e.forEach(_)}function D({updaterMap:e,eventMap:t,prevProps:s,nextProps:n,instance:o}){const i=function(e,t,s){const n=(o=s,i=function(s,n,o){return"function"==typeof e[o]&&s.push(google.maps.event.addListener(t,n,e[o])),s},r=[],Object.keys(o).reduce((function(e,t){return i(e,o[t],t)}),r));var o,i,r;return n}(n,o,t);return function(e,t,s,n){const o={};var i,r;i=e,r=(e,i)=>{const r=s[i];r!==t[i]&&(o[i]=r,e(n,r))},Object.keys(i).forEach((e=>r(i[e],e)))}(e,s,n,o),i}const B={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"},z={extraMapTypes(e,t){t.forEach((function(t,s){e.mapTypes.set(String(s),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)}};(0,o.memo)((function({children:e,options:t,id:s,mapContainerStyle:n,mapContainerClassName:i,center:r,onClick:a,onDblClick:l,onDrag:p,onDragEnd:u,onDragStart:d,onMouseMove:c,onMouseOut:g,onMouseOver:h,onMouseDown:m,onMouseUp:v,onRightClick:f,onCenterChanged:y,onLoad:b,onUnmount:L}){const[k,C]=(0,o.useState)(null),x=(0,o.useRef)(null),[M,E]=(0,o.useState)(null),[w,T]=(0,o.useState)(null),[P,_]=(0,o.useState)(null),[I,D]=(0,o.useState)(null),[B,z]=(0,o.useState)(null),[R,U]=(0,o.useState)(null),[j,A]=(0,o.useState)(null),[V,N]=(0,o.useState)(null),[Z,W]=(0,o.useState)(null),[F,H]=(0,o.useState)(null),[G,$]=(0,o.useState)(null),[q,K]=(0,o.useState)(null);return(0,o.useEffect)((()=>{t&&null!==k&&k.setOptions(t)}),[k,t]),(0,o.useEffect)((()=>{null!==k&&void 0!==r&&k.setCenter(r)}),[k,r]),(0,o.useEffect)((()=>{k&&l&&(null!==w&&google.maps.event.removeListener(w),T(google.maps.event.addListener(k,"dblclick",l)))}),[l]),(0,o.useEffect)((()=>{k&&u&&(null!==P&&google.maps.event.removeListener(P),_(google.maps.event.addListener(k,"dragend",u)))}),[l]),(0,o.useEffect)((()=>{k&&d&&(null!==I&&google.maps.event.removeListener(I),D(google.maps.event.addListener(k,"dragstart",d)))}),[d]),(0,o.useEffect)((()=>{k&&m&&(null!==B&&google.maps.event.removeListener(B),z(google.maps.event.addListener(k,"mousedown",m)))}),[m]),(0,o.useEffect)((()=>{k&&c&&(null!==R&&google.maps.event.removeListener(R),U(google.maps.event.addListener(k,"mousemove",c)))}),[c]),(0,o.useEffect)((()=>{k&&g&&(null!==j&&google.maps.event.removeListener(j),A(google.maps.event.addListener(k,"mouseout",g)))}),[g]),(0,o.useEffect)((()=>{k&&h&&(null!==V&&google.maps.event.removeListener(V),N(google.maps.event.addListener(k,"mouseover",h)))}),[h]),(0,o.useEffect)((()=>{k&&v&&(null!==Z&&google.maps.event.removeListener(Z),W(google.maps.event.addListener(k,"mouseup",v)))}),[v]),(0,o.useEffect)((()=>{k&&f&&(null!==F&&google.maps.event.removeListener(F),H(google.maps.event.addListener(k,"rightclick",f)))}),[f]),(0,o.useEffect)((()=>{k&&a&&(null!==G&&google.maps.event.removeListener(G),$(google.maps.event.addListener(k,"click",a)))}),[a]),(0,o.useEffect)((()=>{k&&p&&(null!==q&&google.maps.event.removeListener(q),K(google.maps.event.addListener(k,"drag",p)))}),[p]),(0,o.useEffect)((()=>{k&&y&&(null!==M&&google.maps.event.removeListener(M),E(google.maps.event.addListener(k,"center_changed",y)))}),[a]),(0,o.useEffect)((()=>{const e=null===x.current?null:new google.maps.Map(x.current,t);return C(e),null!==e&&b&&b(e),()=>{null!==e&&L&&L(e)}}),[]),S.exports.jsx("div",Object.assign({id:s,ref:x,style:n,className:i},{children:S.exports.jsx(O.Provider,Object.assign({value:k},{children:null!==k?e:S.exports.jsx(S.exports.Fragment,{})}))}))}));class R 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=D({updaterMap:z,eventMap:B,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{map:e}}),this.setMapCallback)}componentDidUpdate(e){null!==this.state.map&&(I(this.registeredEvents),this.registeredEvents=D({updaterMap:z,eventMap:B,prevProps:e,nextProps:this.props,instance:this.state.map}))}componentWillUnmount(){null!==this.state.map&&(this.props.onUnmount&&this.props.onUnmount(this.state.map),I(this.registeredEvents))}render(){return S.exports.jsx("div",Object.assign({id:this.props.id,ref:this.getRef,style:this.props.mapContainerStyle,className:this.props.mapContainerClassName},{children:S.exports.jsx(O.Provider,Object.assign({value:this.state.map},{children:null!==this.state.map?this.props.children:S.exports.jsx(S.exports.Fragment,{})}))}))}}function U(e,t){var s={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(s[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(s[n[o]]=e[n[o]])}return s}const j="undefined"!=typeof document;function A({url:e,id:t,nonce:s}){return j?new Promise((function(n,o){const i=document.getElementById(t),r=window;if(i){const s=i.getAttribute("data-state");if(i.src===e&&"error"!==s){if("ready"===s)return n(t);{const e=r.initMap,s=i.onerror;return r.initMap=function(){e&&e(),n(t)},void(i.onerror=function(e){s&&s(e),o(e)})}}i.remove()}const a=document.createElement("script");a.type="text/javascript",a.src=e,a.id=t,a.async=!0,a.nonce=s,a.onerror=function(e){a.setAttribute("data-state","error"),o(e)},r.initMap=function(){a.setAttribute("data-state","ready"),n(t)},document.head.appendChild(a)})).catch((e=>{throw console.error("injectScript error: ",e),e})):Promise.reject(new Error("document is undefined"))}function V(e){const t=e.href;return!((!t||0!==t.indexOf("https://fonts.googleapis.com/css?family=Roboto")&&0!==t.indexOf("https://fonts.googleapis.com/css?family=Google+Sans+Text"))&&("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))}function N(){const e=document.getElementsByTagName("head")[0],t=e.insertBefore.bind(e);e.insertBefore=function(s,n){V(s)||Reflect.apply(t,e,[s,n])};const s=e.appendChild.bind(e);e.appendChild=function(t){V(t)||Reflect.apply(s,e,[t])}}function Z({googleMapsApiKey:e,googleMapsClientId:t,version:s="weekly",language:n,region:o,libraries:i,channel:r,mapIds:a,authReferrerPolicy:l}){const p=[];return P(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?p.push(`key=${e}`):t&&p.push(`client=${t}`),s&&p.push(`v=${s}`),n&&p.push(`language=${n}`),o&&p.push(`region=${o}`),i&&i.length&&p.push(`libraries=${i.sort().join(",")}`),r&&p.push(`channel=${r}`),a&&a.length&&p.push(`map_ids=${a.join(",")}`),l&&p.push(`auth_referrer_policy=${l}`),p.push("callback=initMap"),`https://maps.googleapis.com/maps/api/js?${p.join("&")}`}let W=!1;function F(){return S.exports.jsx("div",{children:"Loading..."})}const H={id:"script-loader",version:"weekly"};class G extends o.PureComponent{constructor(){super(...arguments),this.check=(0,o.createRef)(),this.state={loaded:!1},this.cleanupCallback=()=>{delete window.google.maps,this.injectScript()},this.isCleaningUp=()=>{return e=this,t=void 0,n=function*(){return new Promise((function(e){if(W){if(j){const t=window.setInterval((function(){W||(window.clearInterval(t),e())}),1)}}else e()}))},new((s=void 0)||(s=Promise))((function(o,i){function r(e){try{l(n.next(e))}catch(e){i(e)}}function a(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof s?t:new s((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}));var e,t,s,n},this.cleanup=()=>{W=!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&&N(),P(!!this.props.id,'LoadScript requires "id" prop to be a string: %s',this.props.id),A({id:this.props.id,nonce:this.props.nonce,url:Z(this.props)}).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(j){if(window.google&&window.google.maps&&!W)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"),j&&e.language!==this.props.language&&(this.cleanup(),this.setState((function(){return{loaded:!1}}),this.cleanupCallback))}componentWillUnmount(){if(j){this.cleanup();const e=()=>{this.check.current||(delete window.google,W=!1)};window.setTimeout(e,1),this.props.onUnmount&&this.props.onUnmount()}}render(){return S.exports.jsxs(S.exports.Fragment,{children:[S.exports.jsx("div",{ref:this.check}),this.state.loaded?this.props.children:this.props.loadingElement||S.exports.jsx(F,{})]})}}let $;G.defaultProps=H;const q=S.exports.jsx(F,{});var K;(0,o.memo)((function(e){var{loadingElement:t,onLoad:s,onError:n,onUnmount:i,children:r}=e,a=U(e,["loadingElement","onLoad","onError","onUnmount","children"]);const{isLoaded:l,loadError:p}=function({id:e=H.id,version:t=H.version,nonce:s,googleMapsApiKey:n,googleMapsClientId:i,language:r,region:a,libraries:l,preventGoogleFontsLoading:p,channel:u,mapIds:d,authReferrerPolicy:c}){const g=(0,o.useRef)(!1),[h,m]=(0,o.useState)(!1),[v,f]=(0,o.useState)(void 0);(0,o.useEffect)((function(){return g.current=!0,()=>{g.current=!1}}),[]),(0,o.useEffect)((function(){j&&p&&N()}),[p]),(0,o.useEffect)((function(){h&&P(!!window.google,"useLoadScript was marked as loaded, but window.google is not present. Something went wrong.")}),[h]);const y=Z({version:t,googleMapsApiKey:n,googleMapsClientId:i,language:r,region:a,libraries:l,channel:u,mapIds:d,authReferrerPolicy:c});(0,o.useEffect)((function(){function t(){g.current&&(m(!0),$=y)}j&&(window.google&&window.google.maps&&$===y?t():A({id:e,url:y,nonce:s}).then(t).catch((function(e){g.current&&f(e),console.warn(`\n        There has been an Error with loading Google Maps API script, please check that you provided correct google API key (${n||"-"}) or Client ID (${i||"-"})\n        Otherwise it is a Network issue.\n      `),console.error(e)})))}),[e,y,s]);const b=(0,o.useRef)();return(0,o.useEffect)((function(){b.current&&l!==b.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"),b.current=l}),[l]),{isLoaded:h,loadError:v,url:y}}(a);return(0,o.useEffect)((function(){l&&"function"==typeof s&&s()}),[l,s]),(0,o.useEffect)((function(){p&&"function"==typeof n&&n(p)}),[p,n]),(0,o.useEffect)((function(){return()=>{i&&i()}}),[i]),l?r:t||q})),function(e){e[e.INITIALIZED=0]="INITIALIZED",e[e.LOADING=1]="LOADING",e[e.SUCCESS=2]="SUCCESS",e[e.FAILURE=3]="FAILURE"}(K||(K={}));const Y={},J={options(e,t){e.setOptions(t)}};(0,o.memo)((function({options:e,onLoad:t,onUnmount:s}){const n=(0,o.useContext)(O),[i,r]=(0,o.useState)(null);return(0,o.useEffect)((()=>{null!==i&&i.setMap(n)}),[n]),(0,o.useEffect)((()=>{e&&null!==i&&i.setOptions(e)}),[i,e]),(0,o.useEffect)((()=>{const o=new google.maps.TrafficLayer(Object.assign(Object.assign({},e||{}),{map:n}));return r(o),t&&t(o),()=>{null!==i&&(s&&s(i),i.setMap(null))}}),[]),null}));class X 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=D({updaterMap:J,eventMap:Y,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{trafficLayer:e}}),this.setTrafficLayerCallback)}componentDidUpdate(e){null!==this.state.trafficLayer&&(I(this.registeredEvents),this.registeredEvents=D({updaterMap:J,eventMap:Y,prevProps:e,nextProps:this.props,instance:this.state.trafficLayer}))}componentWillUnmount(){null!==this.state.trafficLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.trafficLayer),I(this.registeredEvents),this.state.trafficLayer.setMap(null))}render(){return null}}X.contextType=O,(0,o.memo)((function({onLoad:e,onUnmount:t}){const s=(0,o.useContext)(O),[n,i]=(0,o.useState)(null);return(0,o.useEffect)((()=>{null!==n&&n.setMap(s)}),[s]),(0,o.useEffect)((()=>{const n=new google.maps.BicyclingLayer;return i(n),n.setMap(s),e&&e(n),()=>{null!==n&&(t&&t(n),n.setMap(null))}}),[]),null}));class Q 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((()=>({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}}Q.contextType=O,(0,o.memo)((function({onLoad:e,onUnmount:t}){const s=(0,o.useContext)(O),[n,i]=(0,o.useState)(null);return(0,o.useEffect)((()=>{null!==n&&n.setMap(s)}),[s]),(0,o.useEffect)((()=>{const o=new google.maps.TransitLayer;return i(o),o.setMap(s),e&&e(o),()=>{null!==n&&(t&&t(n),this.state.transitLayer.setMap(null))}}),[]),null}));class ee 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}}ee.contextType=O;const te={onCircleComplete:"circlecomplete",onMarkerComplete:"markercomplete",onOverlayComplete:"overlaycomplete",onPolygonComplete:"polygoncomplete",onPolylineComplete:"polylinecomplete",onRectangleComplete:"rectanglecomplete"},se={drawingMode(e,t){e.setDrawingMode(t)},options(e,t){e.setOptions(t)}};(0,o.memo)((function({options:e,drawingMode:t,onCircleComplete:s,onMarkerComplete:n,onOverlayComplete:i,onPolygonComplete:r,onPolylineComplete:a,onRectangleComplete:l,onLoad:p,onUnmount:u}){const d=(0,o.useContext)(O),[c,g]=(0,o.useState)(null),[h,m]=(0,o.useState)(null),[v,f]=(0,o.useState)(null),[y,b]=(0,o.useState)(null),[L,k]=(0,o.useState)(null),[C,x]=(0,o.useState)(null),[M,E]=(0,o.useState)(null);return(0,o.useEffect)((()=>{null!==c&&c.setMap(d)}),[d]),(0,o.useEffect)((()=>{e&&null!==c&&c.setOptions(e)}),[c,e]),(0,o.useEffect)((()=>{t&&null!==c&&c.setDrawingMode(t)}),[c,t]),(0,o.useEffect)((()=>{c&&s&&(null!==h&&google.maps.event.removeListener(h),m(google.maps.event.addListener(c,"circlecomplete",s)))}),[c,s]),(0,o.useEffect)((()=>{c&&n&&(null!==v&&google.maps.event.removeListener(v),f(google.maps.event.addListener(c,"markercomplete",n)))}),[c,n]),(0,o.useEffect)((()=>{c&&i&&(null!==y&&google.maps.event.removeListener(y),b(google.maps.event.addListener(c,"overlaycomplete",i)))}),[c,i]),(0,o.useEffect)((()=>{c&&r&&(null!==L&&google.maps.event.removeListener(L),k(google.maps.event.addListener(c,"polygoncomplete",r)))}),[c,r]),(0,o.useEffect)((()=>{c&&a&&(null!==C&&google.maps.event.removeListener(C),x(google.maps.event.addListener(c,"polylinecomplete",a)))}),[c,a]),(0,o.useEffect)((()=>{c&&l&&(null!==M&&google.maps.event.removeListener(M),E(google.maps.event.addListener(c,"rectanglecomplete",l)))}),[c,l]),(0,o.useEffect)((()=>{P(!!google.maps.drawing,"Did you include prop libraries={['drawing']} in the URL? %s",google.maps.drawing);const o=new google.maps.drawing.DrawingManager(Object.assign(Object.assign({},e||{}),{map:d}));return t&&o.setDrawingMode(t),s&&m(google.maps.event.addListener(o,"circlecomplete",s)),n&&f(google.maps.event.addListener(o,"markercomplete",n)),i&&b(google.maps.event.addListener(o,"overlaycomplete",i)),r&&k(google.maps.event.addListener(o,"polygoncomplete",r)),a&&x(google.maps.event.addListener(o,"polylinecomplete",a)),l&&E(google.maps.event.addListener(o,"rectanglecomplete",l)),g(o),p&&p(o),()=>{null!==c&&(h&&google.maps.event.removeListener(h),v&&google.maps.event.removeListener(v),y&&google.maps.event.removeListener(y),L&&google.maps.event.removeListener(L),C&&google.maps.event.removeListener(C),M&&google.maps.event.removeListener(M),u&&u(c),c.setMap(null))}}),[]),null}));class ne 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)},P(!!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=D({updaterMap:se,eventMap:te,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{drawingManager:e}}),this.setDrawingManagerCallback)}componentDidUpdate(e){null!==this.state.drawingManager&&(I(this.registeredEvents),this.registeredEvents=D({updaterMap:se,eventMap:te,prevProps:e,nextProps:this.props,instance:this.state.drawingManager}))}componentWillUnmount(){null!==this.state.drawingManager&&(this.props.onUnmount&&this.props.onUnmount(this.state.drawingManager),I(this.registeredEvents),this.state.drawingManager.setMap(null))}render(){return null}}ne.contextType=O;const oe={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"},ie={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)}},re={};(0,o.memo)((function({position:e,options:t,clusterer:s,noClustererRedraw:n,children:i,draggable:r,visible:a,animation:l,clickable:p,cursor:u,icon:d,label:c,opacity:g,shape:h,title:m,zIndex:v,onClick:f,onDblClick:y,onDrag:b,onDragEnd:L,onDragStart:k,onMouseOut:C,onMouseOver:x,onMouseUp:M,onMouseDown:E,onRightClick:w,onClickableChanged:T,onCursorChanged:P,onAnimationChanged:_,onDraggableChanged:I,onFlatChanged:D,onIconChanged:B,onPositionChanged:z,onShapeChanged:R,onTitleChanged:U,onVisibleChanged:j,onZindexChanged:A,onLoad:V,onUnmount:N}){const Z=(0,o.useContext)(O),[W,F]=(0,o.useState)(null),[H,G]=(0,o.useState)(null),[$,q]=(0,o.useState)(null),[K,Y]=(0,o.useState)(null),[J,X]=(0,o.useState)(null),[Q,ee]=(0,o.useState)(null),[te,se]=(0,o.useState)(null),[ne,oe]=(0,o.useState)(null),[ie,ae]=(0,o.useState)(null),[le,pe]=(0,o.useState)(null),[ue,de]=(0,o.useState)(null),[ce,ge]=(0,o.useState)(null),[he,me]=(0,o.useState)(null),[ve,fe]=(0,o.useState)(null),[ye,be]=(0,o.useState)(null),[Le,ke]=(0,o.useState)(null),[Ce,xe]=(0,o.useState)(null),[Me,Ee]=(0,o.useState)(null),[we,Se]=(0,o.useState)(null),[Te,Pe]=(0,o.useState)(null),[Oe,_e]=(0,o.useState)(null),[Ie,De]=(0,o.useState)(null);(0,o.useEffect)((()=>{null!==W&&W.setMap(Z)}),[Z]),(0,o.useEffect)((()=>{void 0!==t&&null!==W&&W.setOptions(t)}),[W,t]),(0,o.useEffect)((()=>{void 0!==r&&null!==W&&W.setDraggable(r)}),[W,r]),(0,o.useEffect)((()=>{e&&null!==W&&W.setPosition(e)}),[W,e]),(0,o.useEffect)((()=>{void 0!==a&&null!==W&&W.setVisible(a)}),[W,a]),(0,o.useEffect)((()=>{l&&null!==W&&W.setAnimation(l)}),[W,l]),(0,o.useEffect)((()=>{W&&y&&(null!==H&&google.maps.event.removeListener(H),G(google.maps.event.addListener(W,"dblclick",y)))}),[y]),(0,o.useEffect)((()=>{W&&L&&(null!==$&&google.maps.event.removeListener($),q(google.maps.event.addListener(W,"dragend",L)))}),[y]),(0,o.useEffect)((()=>{W&&k&&(null!==K&&google.maps.event.removeListener(K),Y(google.maps.event.addListener(W,"dragstart",k)))}),[k]),(0,o.useEffect)((()=>{W&&E&&(null!==J&&google.maps.event.removeListener(J),X(google.maps.event.addListener(W,"mousedown",E)))}),[E]),(0,o.useEffect)((()=>{W&&C&&(null!==Q&&google.maps.event.removeListener(Q),ee(google.maps.event.addListener(W,"mouseout",C)))}),[C]),(0,o.useEffect)((()=>{W&&x&&(null!==te&&google.maps.event.removeListener(te),se(google.maps.event.addListener(W,"mouseover",x)))}),[x]),(0,o.useEffect)((()=>{W&&M&&(null!==ne&&google.maps.event.removeListener(ne),oe(google.maps.event.addListener(W,"mouseup",M)))}),[M]),(0,o.useEffect)((()=>{W&&w&&(null!==ie&&google.maps.event.removeListener(ie),ae(google.maps.event.addListener(W,"rightclick",w)))}),[w]),(0,o.useEffect)((()=>{W&&f&&(null!==le&&google.maps.event.removeListener(le),pe(google.maps.event.addListener(W,"click",f)))}),[f]),(0,o.useEffect)((()=>{W&&b&&(null!==ue&&google.maps.event.removeListener(ue),de(google.maps.event.addListener(W,"drag",b)))}),[b]),(0,o.useEffect)((()=>{W&&T&&(null!==ce&&google.maps.event.removeListener(ce),ge(google.maps.event.addListener(W,"clickable_changed",T)))}),[T]),(0,o.useEffect)((()=>{W&&P&&(null!==he&&google.maps.event.removeListener(he),me(google.maps.event.addListener(W,"cursor_changed",P)))}),[P]),(0,o.useEffect)((()=>{W&&_&&(null!==ve&&google.maps.event.removeListener(ve),fe(google.maps.event.addListener(W,"animation_changed",_)))}),[_]),(0,o.useEffect)((()=>{W&&I&&(null!==ye&&google.maps.event.removeListener(ye),be(google.maps.event.addListener(W,"draggable_changed",I)))}),[I]),(0,o.useEffect)((()=>{W&&D&&(null!==Le&&google.maps.event.removeListener(Le),ke(google.maps.event.addListener(W,"flat_changed",D)))}),[D]),(0,o.useEffect)((()=>{W&&B&&(null!==Ce&&google.maps.event.removeListener(Ce),xe(google.maps.event.addListener(W,"icon_changed",B)))}),[B]),(0,o.useEffect)((()=>{W&&z&&(null!==Me&&google.maps.event.removeListener(Me),Ee(google.maps.event.addListener(W,"position_changed",z)))}),[z]),(0,o.useEffect)((()=>{W&&R&&(null!==we&&google.maps.event.removeListener(we),Se(google.maps.event.addListener(W,"shape_changed",R)))}),[R]),(0,o.useEffect)((()=>{W&&U&&(null!==Te&&google.maps.event.removeListener(Te),Pe(google.maps.event.addListener(W,"title_changed",U)))}),[U]),(0,o.useEffect)((()=>{W&&j&&(null!==Oe&&google.maps.event.removeListener(Oe),_e(google.maps.event.addListener(W,"visible_changed",j)))}),[j]),(0,o.useEffect)((()=>{W&&A&&(null!==Ie&&google.maps.event.removeListener(Ie),De(google.maps.event.addListener(W,"zindex_changed",A)))}),[A]),(0,o.useEffect)((()=>{const o=Object.assign(Object.assign(Object.assign({},t||re),s?re:{map:Z}),{position:e}),i=new google.maps.Marker(o);return s?s.addMarker(i,!!n):i.setMap(Z),e&&i.setPosition(e),void 0!==a&&i.setVisible(a),void 0!==r&&i.setDraggable(r),void 0!==p&&i.setClickable(p),"string"==typeof u&&i.setCursor(u),d&&i.setIcon(d),void 0!==c&&i.setLabel(c),void 0!==g&&i.setOpacity(g),h&&i.setShape(h),"string"==typeof m&&i.setTitle(m),"number"==typeof v&&i.setZIndex(v),y&&G(google.maps.event.addListener(i,"dblclick",y)),L&&q(google.maps.event.addListener(i,"dragend",L)),k&&Y(google.maps.event.addListener(i,"dragstart",k)),E&&X(google.maps.event.addListener(i,"mousedown",E)),C&&ee(google.maps.event.addListener(i,"mouseout",C)),x&&se(google.maps.event.addListener(i,"mouseover",x)),M&&oe(google.maps.event.addListener(i,"mouseup",M)),w&&ae(google.maps.event.addListener(i,"rightclick",w)),f&&pe(google.maps.event.addListener(i,"click",f)),b&&de(google.maps.event.addListener(i,"drag",b)),T&&ge(google.maps.event.addListener(i,"clickable_changed",T)),P&&me(google.maps.event.addListener(i,"cursor_changed",P)),_&&fe(google.maps.event.addListener(i,"animation_changed",_)),I&&be(google.maps.event.addListener(i,"draggable_changed",I)),D&&ke(google.maps.event.addListener(i,"flat_changed",D)),B&&xe(google.maps.event.addListener(i,"icon_changed",B)),z&&Ee(google.maps.event.addListener(i,"position_changed",z)),R&&Se(google.maps.event.addListener(i,"shape_changed",R)),U&&Pe(google.maps.event.addListener(i,"title_changed",U)),j&&_e(google.maps.event.addListener(i,"visible_changed",j)),A&&De(google.maps.event.addListener(i,"zindex_changed",A)),F(i),V&&V(i),()=>{null!==H&&google.maps.event.removeListener(H),null!==$&&google.maps.event.removeListener($),null!==K&&google.maps.event.removeListener(K),null!==J&&google.maps.event.removeListener(J),null!==Q&&google.maps.event.removeListener(Q),null!==te&&google.maps.event.removeListener(te),null!==ne&&google.maps.event.removeListener(ne),null!==ie&&google.maps.event.removeListener(ie),null!==le&&google.maps.event.removeListener(le),null!==ce&&google.maps.event.removeListener(ce),null!==he&&google.maps.event.removeListener(he),null!==ve&&google.maps.event.removeListener(ve),null!==ye&&google.maps.event.removeListener(ye),null!==Le&&google.maps.event.removeListener(Le),null!==Ce&&google.maps.event.removeListener(Ce),null!==Me&&google.maps.event.removeListener(Me),null!==Te&&google.maps.event.removeListener(Te),null!==Oe&&google.maps.event.removeListener(Oe),null!==Ie&&google.maps.event.removeListener(Ie),N&&N(i),s?s.removeMarker(i,!!n):i&&i.setMap(null)}}),[]);const Be=(0,o.useMemo)((()=>i?o.Children.map(i,(e=>{if(!(0,o.isValidElement)(e))return e;const t=e;return(0,o.cloneElement)(t,{anchor:W})})):null),[i,W]);return S.exports.jsx(S.exports.Fragment,{children:Be})||null}));class ae extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[]}componentDidMount(){const e=Object.assign(Object.assign(Object.assign({},this.props.options||re),this.props.clusterer?re:{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=D({updaterMap:ie,eventMap:oe,prevProps:{},nextProps:this.props,instance:this.marker}),this.props.onLoad&&this.props.onLoad(this.marker)}componentDidUpdate(e){this.marker&&(I(this.registeredEvents),this.registeredEvents=D({updaterMap:ie,eventMap:oe,prevProps:e,nextProps:this.props,instance:this.marker}))}componentWillUnmount(){this.marker&&(this.props.onUnmount&&this.props.onUnmount(this.marker),I(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(!(0,o.isValidElement)(e))return e;let t=e;return(0,o.cloneElement)(t,{anchor:this.marker})}))),e||null}}ae.contextType=O;var le=function(){function e(t,s){t.getClusterer().extend(e,google.maps.OverlayView),this.cluster=t,this.clusterClassName=this.cluster.getClusterer().getClusterClass(),this.className=this.clusterClassName,this.styles=s,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.cMouseDownInCluster=null,this.cDraggingMapByCluster=null,this.timeOut=null,this.setMap(t.getMap()),this.onBoundsChanged=this.onBoundsChanged.bind(this),this.onMouseDown=this.onMouseDown.bind(this),this.onClick=this.onClick.bind(this),this.onMouseOver=this.onMouseOver.bind(this),this.onMouseOut=this.onMouseOut.bind(this),this.onAdd=this.onAdd.bind(this),this.onRemove=this.onRemove.bind(this),this.draw=this.draw.bind(this),this.hide=this.hide.bind(this),this.show=this.show.bind(this),this.useStyle=this.useStyle.bind(this),this.setCenter=this.setCenter.bind(this),this.getPosFromLatLng=this.getPosFromLatLng.bind(this)}return e.prototype.onBoundsChanged=function(){this.cDraggingMapByCluster=this.cMouseDownInCluster},e.prototype.onMouseDown=function(){this.cMouseDownInCluster=!0,this.cDraggingMapByCluster=!1},e.prototype.onClick=function(e){if(this.cMouseDownInCluster=!1,!this.cDraggingMapByCluster){var t=this.cluster.getClusterer();if(google.maps.event.trigger(t,"click",this.cluster),google.maps.event.trigger(t,"clusterclick",this.cluster),t.getZoomOnClick()){var s=t.getMaxZoom(),n=this.cluster.getBounds(),o=t.getMap();null!==o&&"fitBounds"in o&&o.fitBounds(n),this.timeOut=window.setTimeout((function(){var e=t.getMap();if(null!==e){"fitBounds"in e&&e.fitBounds(n);var o=e.getZoom()||0;null!==s&&o>s&&e.setZoom(s+1)}}),100)}e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation()}},e.prototype.onMouseOver=function(){google.maps.event.trigger(this.cluster.getClusterer(),"mouseover",this.cluster)},e.prototype.onMouseOut=function(){google.maps.event.trigger(this.cluster.getClusterer(),"mouseout",this.cluster)},e.prototype.onAdd=function(){var e;this.div=document.createElement("div"),this.div.className=this.className,this.visible&&this.show(),null===(e=this.getPanes())||void 0===e||e.overlayMouseTarget.appendChild(this.div);var t=this.getMap();null!==t&&(this.boundsChangedListener=google.maps.event.addListener(t,"bounds_changed",this.onBoundsChanged),this.div.addEventListener("mousedown",this.onMouseDown),this.div.addEventListener("click",this.onClick),this.div.addEventListener("mouseover",this.onMouseOver),this.div.addEventListener("mouseout",this.onMouseOut))},e.prototype.onRemove=function(){this.div&&this.div.parentNode&&(this.hide(),null!==this.boundsChangedListener&&google.maps.event.removeListener(this.boundsChangedListener),this.div.removeEventListener("mousedown",this.onMouseDown),this.div.removeEventListener("click",this.onClick),this.div.removeEventListener("mouseover",this.onMouseOver),this.div.removeEventListener("mouseout",this.onMouseOut),this.div.parentNode.removeChild(this.div),null!==this.timeOut&&(window.clearTimeout(this.timeOut),this.timeOut=null),this.div=null)},e.prototype.draw=function(){if(this.visible&&null!==this.div&&this.center){var e=this.getPosFromLatLng(this.center);this.div.style.top=null!==e?"".concat(e.y,"px"):"0",this.div.style.left=null!==e?"".concat(e.x,"px"):"0"}},e.prototype.hide=function(){this.div&&(this.div.style.display="none"),this.visible=!1},e.prototype.show=function(){var e;if(this.div&&this.center){var t,s=this.backgroundPosition.split(" "),n=parseInt(s[0].replace(/^\s+|\s+$/g,""),10),o=parseInt(s[1].replace(/^\s+|\s+$/g,""),10),i=this.getPosFromLatLng(this.center);t=null===this.sums||void 0===this.sums.title||""===this.sums.title?this.cluster.getClusterer().getTitle():this.sums.title,this.div.className=this.className,this.div.style.cursor="pointer",this.div.style.position="absolute",this.div.style.top=null!==i?"".concat(i.y,"px"):"0",this.div.style.left=null!==i?"".concat(i.x,"px"):"0",this.div.style.width="".concat(this.width,"px"),this.div.style.height="".concat(this.height,"px");var r=document.createElement("img");r.alt=t,r.src=this.url,r.width=this.width,r.height=this.height,r.style.position="absolute",r.style.top="".concat(o,"px"),r.style.left="".concat(n,"px"),this.cluster.getClusterer().enableRetinaIcons||(r.style.clip="rect(-".concat(o,"px, -").concat(n+this.width,"px, -").concat(o+this.height,", -").concat(n,")"));var a=document.createElement("div");a.style.position="absolute",a.style.top="".concat(this.anchorText[0],"px"),a.style.left="".concat(this.anchorText[1],"px"),a.style.color=this.textColor,a.style.fontSize="".concat(this.textSize,"px"),a.style.fontFamily=this.fontFamily,a.style.fontWeight=this.fontWeight,a.style.fontStyle=this.fontStyle,a.style.textDecoration=this.textDecoration,a.style.textAlign="center",a.style.width="".concat(this.width,"px"),a.style.lineHeight="".concat(this.height,"px"),a.innerText="".concat(null===(e=this.sums)||void 0===e?void 0:e.text),this.div.innerHTML="",this.div.appendChild(r),this.div.appendChild(a),this.div.title=t,this.div.style.display=""}this.visible=!0},e.prototype.useStyle=function(e){this.sums=e;var t=this.cluster.getClusterer().getStyles(),s=t[Math.min(t.length-1,Math.max(0,e.index-1))];this.url=s.url,this.height=s.height,this.width=s.width,s.className&&(this.className="".concat(this.clusterClassName," ").concat(s.className)),this.anchorText=s.anchorText||[0,0],this.anchorIcon=s.anchorIcon||[this.height/2,this.width/2],this.textColor=s.textColor||"black",this.textSize=s.textSize||11,this.textDecoration=s.textDecoration||"none",this.fontWeight=s.fontWeight||"bold",this.fontStyle=s.fontStyle||"normal",this.fontFamily=s.fontFamily||"Arial,sans-serif",this.backgroundPosition=s.backgroundPosition||"0 0"},e.prototype.setCenter=function(e){this.center=e},e.prototype.getPosFromLatLng=function(e){var t=this.getProjection().fromLatLngToDivPixel(e);return null!==t&&(t.x-=this.anchorIcon[1],t.y-=this.anchorIcon[0]),t},e}(),pe=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 le(this,this.markerClusterer.getStyles()),this.getSize=this.getSize.bind(this),this.getMarkers=this.getMarkers.bind(this),this.getCenter=this.getCenter.bind(this),this.getMap=this.getMap.bind(this),this.getClusterer=this.getClusterer.bind(this),this.getBounds=this.getBounds.bind(this),this.remove=this.remove.bind(this),this.addMarker=this.addMarker.bind(this),this.isMarkerInClusterBounds=this.isMarkerInClusterBounds.bind(this),this.calculateBounds=this.calculateBounds.bind(this),this.updateIcon=this.updateIcon.bind(this),this.isMarkerAlreadyAdded=this.isMarkerAlreadyAdded.bind(this)}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(),s=0;s<t.length;s++){var n=t[s].getPosition();n&&e.extend(n)}return e},e.prototype.remove=function(){this.clusterIcon.setMap(null),this.markers=[],delete this.markers},e.prototype.addMarker=function(e){var t,s;if(this.isMarkerAlreadyAdded(e))return!1;if(this.center){if(this.averageCenter&&(s=e.getPosition())){var n=this.markers.length+1;this.center=new google.maps.LatLng((this.center.lat()*(n-1)+s.lat())/n,(this.center.lng()*(n-1)+s.lng())/n),this.calculateBounds()}}else(s=e.getPosition())&&(this.center=s,this.calculateBounds());e.isAdded=!0,this.markers.push(e);var o=this.markers.length,i=this.markerClusterer.getMaxZoom(),r=null===(t=this.map)||void 0===t?void 0:t.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 a=0;a<o;a++)this.markers[a].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,t=this.markers.length,s=this.markerClusterer.getMaxZoom(),n=null===(e=this.map)||void 0===e?void 0:e.getZoom();null!==s&&void 0!==n&&n>s||t<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}();function ue(e,t){var s=e.length,n=s.toString().length,o=Math.min(n,t);return{text:s.toString(),index:o,title:""}}var de=[53,56,66,78,90],ce=function(){function e(t,s,n){void 0===s&&(s=[]),void 0===n&&(n={}),this.getMinimumClusterSize=this.getMinimumClusterSize.bind(this),this.setMinimumClusterSize=this.setMinimumClusterSize.bind(this),this.getEnableRetinaIcons=this.getEnableRetinaIcons.bind(this),this.setEnableRetinaIcons=this.setEnableRetinaIcons.bind(this),this.addToClosestCluster=this.addToClosestCluster.bind(this),this.getImageExtension=this.getImageExtension.bind(this),this.setImageExtension=this.setImageExtension.bind(this),this.getExtendedBounds=this.getExtendedBounds.bind(this),this.getAverageCenter=this.getAverageCenter.bind(this),this.setAverageCenter=this.setAverageCenter.bind(this),this.getTotalClusters=this.getTotalClusters.bind(this),this.fitMapToMarkers=this.fitMapToMarkers.bind(this),this.getIgnoreHidden=this.getIgnoreHidden.bind(this),this.setIgnoreHidden=this.setIgnoreHidden.bind(this),this.getClusterClass=this.getClusterClass.bind(this),this.setClusterClass=this.setClusterClass.bind(this),this.getTotalMarkers=this.getTotalMarkers.bind(this),this.getZoomOnClick=this.getZoomOnClick.bind(this),this.setZoomOnClick=this.setZoomOnClick.bind(this),this.getBatchSizeIE=this.getBatchSizeIE.bind(this),this.setBatchSizeIE=this.setBatchSizeIE.bind(this),this.createClusters=this.createClusters.bind(this),this.onZoomChanged=this.onZoomChanged.bind(this),this.getImageSizes=this.getImageSizes.bind(this),this.setImageSizes=this.setImageSizes.bind(this),this.getCalculator=this.getCalculator.bind(this),this.setCalculator=this.setCalculator.bind(this),this.removeMarkers=this.removeMarkers.bind(this),this.resetViewport=this.resetViewport.bind(this),this.getImagePath=this.getImagePath.bind(this),this.setImagePath=this.setImagePath.bind(this),this.pushMarkerTo=this.pushMarkerTo.bind(this),this.removeMarker=this.removeMarker.bind(this),this.clearMarkers=this.clearMarkers.bind(this),this.setupStyles=this.setupStyles.bind(this),this.getGridSize=this.getGridSize.bind(this),this.setGridSize=this.setGridSize.bind(this),this.getClusters=this.getClusters.bind(this),this.getMaxZoom=this.getMaxZoom.bind(this),this.setMaxZoom=this.setMaxZoom.bind(this),this.getMarkers=this.getMarkers.bind(this),this.addMarkers=this.addMarkers.bind(this),this.getStyles=this.getStyles.bind(this),this.setStyles=this.setStyles.bind(this),this.addMarker=this.addMarker.bind(this),this.onRemove=this.onRemove.bind(this),this.getTitle=this.getTitle.bind(this),this.setTitle=this.setTitle.bind(this),this.repaint=this.repaint.bind(this),this.onIdle=this.onIdle.bind(this),this.redraw=this.redraw.bind(this),this.extend=this.extend.bind(this),this.onAdd=this.onAdd.bind(this),this.draw=this.draw.bind(this),this.extend(e,google.maps.OverlayView),this.markers=[],this.clusters=[],this.listeners=[],this.activeMap=null,this.ready=!1,this.gridSize=n.gridSize||60,this.minClusterSize=n.minimumClusterSize||2,this.maxZoom=n.maxZoom||null,this.styles=n.styles||[],this.title=n.title||"",this.zoomOnClick=!0,void 0!==n.zoomOnClick&&(this.zoomOnClick=n.zoomOnClick),this.averageCenter=!1,void 0!==n.averageCenter&&(this.averageCenter=n.averageCenter),this.ignoreHidden=!1,void 0!==n.ignoreHidden&&(this.ignoreHidden=n.ignoreHidden),this.enableRetinaIcons=!1,void 0!==n.enableRetinaIcons&&(this.enableRetinaIcons=n.enableRetinaIcons),this.imagePath=n.imagePath||"https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/m",this.imageExtension=n.imageExtension||"png",this.imageSizes=n.imageSizes||de,this.calculator=n.calculator||ue,this.batchSize=n.batchSize||2e3,this.batchSizeIE=n.batchSizeIE||500,this.clusterClass=n.clusterClass||"cluster",-1!==navigator.userAgent.toLowerCase().indexOf("msie")&&(this.batchSize=this.batchSizeIE),this.timerRefStatic=null,this.setupStyles(),this.addMarkers(s,!0),this.setMap(t)}return e.prototype.onZoomChanged=function(){var e,t;this.resetViewport(!1),(null===(e=this.getMap())||void 0===e?void 0:e.getZoom())!==(this.get("minZoom")||0)&&(null===(t=this.getMap())||void 0===t?void 0:t.getZoom())!==this.get("maxZoom")||google.maps.event.trigger(this,"idle")},e.prototype.onIdle=function(){this.redraw()},e.prototype.onAdd=function(){var e=this.getMap();this.activeMap=e,this.ready=!0,this.repaint(),null!==e&&(this.listeners=[google.maps.event.addListener(e,"zoom_changed",this.onZoomChanged),google.maps.event.addListener(e,"idle",this.onIdle)])},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:"".concat(this.imagePath+(e+1),".").concat(this.imageExtension),height:this.imageSizes[e],width:this.imageSizes[e]})},e.prototype.fitMapToMarkers=function(){for(var e=this.getMarkers(),t=new google.maps.LatLngBounds,s=0;s<e.length;s++){var n=e[s].getPosition();n&&t.extend(n)}var o=this.getMap();null!==o&&"fitBounds"in o&&o.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 s in e)Object.prototype.hasOwnProperty.call(e,s)&&this.pushMarkerTo(e[s]);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 s=0;s<this.markers.length;s++)if(e===this.markers[s]){t=s;break}return-1!==t&&(e.setMap(null),this.markers.splice(t,1),!0)},e.prototype.removeMarker=function(e,t){var s=this.removeMarker_(e);return!t&&s&&this.repaint(),s},e.prototype.removeMarkers=function(e,t){for(var s=!1,n=0;n<e.length;n++)s=s||this.removeMarker_(e[n]);return!t&&s&&this.repaint(),s},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(),s=t.fromLatLngToDivPixel(new google.maps.LatLng(e.getNorthEast().lat(),e.getNorthEast().lng()));null!==s&&(s.x+=this.gridSize,s.y-=this.gridSize);var n=t.fromLatLngToDivPixel(new google.maps.LatLng(e.getSouthWest().lat(),e.getSouthWest().lng()));if(null!==n&&(n.x-=this.gridSize,n.y+=this.gridSize),null!==s){var o=t.fromDivPixelToLatLng(s);null!==o&&e.extend(o)}if(null!==n){var i=t.fromDivPixelToLatLng(n);null!==i&&e.extend(i)}return 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 s=this.markers[t];s.isAdded=!1,e&&s.setMap(null)}},e.prototype.distanceBetweenPoints=function(e,t){var s=(t.lat()-e.lat())*Math.PI/180,n=(t.lng()-e.lng())*Math.PI/180,o=Math.sin(s/2)*Math.sin(s/2)+Math.cos(e.lat()*Math.PI/180)*Math.cos(t.lat()*Math.PI/180)*Math.sin(n/2)*Math.sin(n/2);return 2*Math.atan2(Math.sqrt(o),Math.sqrt(1-o))*6371},e.prototype.isMarkerInBounds=function(e,t){var s=e.getPosition();return!!s&&t.contains(s)},e.prototype.addToClosestCluster=function(e){for(var t,s=4e4,n=null,o=0;o<this.clusters.length;o++){var i=(t=this.clusters[o]).getCenter(),r=e.getPosition();if(i&&r){var a=this.distanceBetweenPoints(i,r);a<s&&(s=a,n=t)}}n&&n.isMarkerInClusterBounds(e)?n.addMarker(e):((t=new pe(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 s=this.getMap(),n=(null!==s&&"getBounds"in s?s.getBounds():null),o=((null==s?void 0:s.getZoom())||0)>3?new google.maps.LatLngBounds(null==n?void 0:n.getSouthWest(),null==n?void 0:n.getNorthEast()):new google.maps.LatLngBounds(new google.maps.LatLng(85.02070771743472,-178.48388434375),new google.maps.LatLng(-85.08136444384544,178.00048865625)),i=this.getExtendedBounds(o),r=Math.min(e+this.batchSize,this.markers.length),a=e;a<r;a++){var l=this.markers[a];!l.isAdded&&this.isMarkerInBounds(l,i)&&(!this.ignoreHidden||this.ignoreHidden&&l.getVisible())&&this.addToClosestCluster(l)}if(r<this.markers.length)this.timerRefStatic=window.setTimeout((function(){t.createClusters(r)}),0);else for(this.timerRefStatic=null,google.maps.event.trigger(this,"clusteringend",this),a=0;a<this.clusters.length;a++)this.clusters[a].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 ge={onClick:"click",onClusteringBegin:"clusteringbegin",onClusteringEnd:"clusteringend",onMouseOut:"mouseout",onMouseOver:"mouseover"},he={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)}};(0,o.memo)((function({children:e}){const[t]=(0,o.useState)(null);return null!==t&&e(t)||null}));class me 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 ce(this.context,[],this.props.options);this.registeredEvents=D({updaterMap:he,eventMap:ge,prevProps:{},nextProps:this.props,instance:e}),this.setState((()=>({markerClusterer:e})),this.setClustererCallback)}}componentDidUpdate(e){this.state.markerClusterer&&(I(this.registeredEvents),this.registeredEvents=D({updaterMap:he,eventMap:ge,prevProps:e,nextProps:this.props,instance:this.state.markerClusterer}))}componentWillUnmount(){null!==this.state.markerClusterer&&(this.props.onUnmount&&this.props.onUnmount(this.state.markerClusterer),I(this.registeredEvents),this.state.markerClusterer.setMap(null))}render(){return null!==this.state.markerClusterer?this.props.children(this.state.markerClusterer):null}}function ve(e){e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation()}me.contextType=O;var fe=function(){function e(t){void 0===t&&(t={}),this.getCloseClickHandler=this.getCloseClickHandler.bind(this),this.closeClickHandler=this.closeClickHandler.bind(this),this.createInfoBoxDiv=this.createInfoBoxDiv.bind(this),this.addClickHandler=this.addClickHandler.bind(this),this.getCloseBoxImg=this.getCloseBoxImg.bind(this),this.getBoxWidths=this.getBoxWidths.bind(this),this.setBoxStyle=this.setBoxStyle.bind(this),this.setPosition=this.setPosition.bind(this),this.getPosition=this.getPosition.bind(this),this.setOptions=this.setOptions.bind(this),this.setContent=this.setContent.bind(this),this.setVisible=this.setVisible.bind(this),this.getContent=this.getContent.bind(this),this.getVisible=this.getVisible.bind(this),this.setZIndex=this.setZIndex.bind(this),this.getZIndex=this.getZIndex.bind(this),this.onRemove=this.onRemove.bind(this),this.panBox=this.panBox.bind(this),this.extend=this.extend.bind(this),this.close=this.close.bind(this),this.draw=this.draw.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.open=this.open.bind(this),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;if(!this.div){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));var t=this.getPanes();if(null!==t&&t[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 s=this.getBoxWidths();this.div.style.width=this.div.offsetWidth-s.left-s.right+"px",this.fixedWidthSet=!1}if(this.panBox(this.disableAutoPan),!this.enableEventPropagation){this.eventListeners=[];for(var n=["mousedown","mouseover","mouseout","mouseup","click","dblclick","touchstart","touchend","touchmove"],o=0;o<n.length;o++)this.eventListeners.push(google.maps.event.addListener(this.div,n[o],ve));this.eventListeners.push(google.maps.event.addListener(this.div,"mouseover",(function(){e.div&&(e.div.style.cursor="default")})))}this.contextListener=google.maps.event.addListener(this.div,"contextmenu",(function(t){t.returnValue=!1,t.preventDefault&&t.preventDefault(),e.enableEventPropagation||ve(t)})),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(){this.closeListener=this.div&&this.div.firstChild&&""!==this.closeBoxURL?google.maps.event.addListener(this.div.firstChild,"click",this.getCloseClickHandler()):null},e.prototype.closeClickHandler=function(e){e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation(),google.maps.event.trigger(this,"closeclick"),this.close()},e.prototype.getCloseClickHandler=function(){return this.closeClickHandler},e.prototype.panBox=function(e){if(this.div&&!e){var t=this.getMap();if(t instanceof google.maps.Map){var s=0,n=0,o=t.getBounds();o&&!o.contains(this.position)&&t.setCenter(this.position);var i=t.getDiv(),r=i.offsetWidth,a=i.offsetHeight,l=this.pixelOffset.width,p=this.pixelOffset.height,u=this.div.offsetWidth,d=this.div.offsetHeight,c=this.infoBoxClearance.width,g=this.infoBoxClearance.height,h=this.getProjection().fromLatLngToContainerPixel(this.position);null!==h&&(h.x<-l+c?s=h.x+l-c:h.x+u+l+c>r&&(s=h.x+u+l+c-r),this.alignBottom?h.y<-p+g+d?n=h.y+p-g-d:h.y+p+g>a&&(n=h.y+p+g-a):h.y<-p+g?n=h.y+p-g:h.y+d+p+g>a&&(n=h.y+d+p+g-a)),0===s&&0===n||t.panBy(s,n)}}},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)Object.prototype.hasOwnProperty.call(e,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 s=parseFloat(this.div.style.opacity||"");this.div.style.msFilter='"progid:DXImageTransform.Microsoft.Alpha(Opacity='+100*s+')"',this.div.style.filter="alpha(opacity="+100*s+")"}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){var t=this.div.ownerDocument,s=t&&t.defaultView?t.defaultView.getComputedStyle(this.div,""):null;s&&(e.top=parseInt(s.borderTopWidth||"",10)||0,e.bottom=parseInt(s.borderBottomWidth||"",10)||0,e.left=parseInt(s.borderLeftWidth||"",10)||0,e.right=parseInt(s.borderRightWidth||"",10)||0)}else if(document.documentElement.currentStyle){var n=this.div.currentStyle;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)}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 s=this;t&&(this.position=t.getPosition(),this.moveListener=google.maps.event.addListener(t,"position_changed",(function(){var e=t.getPosition();s.setPosition(e)})),this.mapListener=google.maps.event.addListener(t,"map_changed",(function(){s.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)Object.prototype.hasOwnProperty.call(this,t)||(this.prototype[t]=e.prototype[t]);return this}.apply(e,[t])},e}();const ye={onCloseClick:"closeclick",onContentChanged:"content_changed",onDomReady:"domready",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},be={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)}},Le={};(0,o.memo)((function({children:e,anchor:t,options:s,position:n,zIndex:i,onCloseClick:r,onDomReady:a,onContentChanged:l,onPositionChanged:p,onZindexChanged:u,onLoad:d,onUnmount:c}){const g=(0,o.useContext)(O),[h,m]=(0,o.useState)(null),[v,f]=(0,o.useState)(null),[y,b]=(0,o.useState)(null),[L,k]=(0,o.useState)(null),[C,x]=(0,o.useState)(null),[M,w]=(0,o.useState)(null),S=(0,o.useRef)(null);return(0,o.useEffect)((()=>{g&&null!==h&&(h.close(),t?h.open(g,t):h.getPosition()&&h.open(g))}),[g,h,t]),(0,o.useEffect)((()=>{s&&null!==h&&h.setOptions(s)}),[h,s]),(0,o.useEffect)((()=>{if(n&&null!==h){const e=n instanceof google.maps.LatLng?n:new google.maps.LatLng(n.lat,n.lng);h.setPosition(e)}}),[n]),(0,o.useEffect)((()=>{"number"==typeof i&&null!==h&&h.setZIndex(i)}),[i]),(0,o.useEffect)((()=>{h&&r&&(null!==v&&google.maps.event.removeListener(v),f(google.maps.event.addListener(h,"closeclick",r)))}),[r]),(0,o.useEffect)((()=>{h&&a&&(null!==y&&google.maps.event.removeListener(y),b(google.maps.event.addListener(h,"domready",a)))}),[a]),(0,o.useEffect)((()=>{h&&l&&(null!==L&&google.maps.event.removeListener(L),k(google.maps.event.addListener(h,"content_changed",l)))}),[l]),(0,o.useEffect)((()=>{h&&p&&(null!==C&&google.maps.event.removeListener(C),x(google.maps.event.addListener(h,"position_changed",p)))}),[p]),(0,o.useEffect)((()=>{h&&u&&(null!==M&&google.maps.event.removeListener(M),w(google.maps.event.addListener(h,"zindex_changed",u)))}),[u]),(0,o.useEffect)((()=>{if(g){const e=s||Le,{position:n}=e,o=U(e,["position"]);let i;!n||n instanceof google.maps.LatLng||(i=new google.maps.LatLng(n.lat,n.lng));const c=new fe(Object.assign(Object.assign({},o),i?{position:i}:{}));S.current=document.createElement("div"),m(c),r&&f(google.maps.event.addListener(c,"circlecomplete",r)),a&&b(google.maps.event.addListener(c,"domready",a)),l&&k(google.maps.event.addListener(c,"content_changed",l)),p&&x(google.maps.event.addListener(c,"position_changed",p)),u&&w(google.maps.event.addListener(c,"zindex_changed",u)),c.setContent(S.current),t?c.open(g,t):c.getPosition()?c.open(g):P(!1,"You must provide either an anchor or a position prop for <InfoBox>."),d&&d(c)}return()=>{null!==h&&(v&&google.maps.event.removeListener(v),L&&google.maps.event.removeListener(L),y&&google.maps.event.removeListener(y),C&&google.maps.event.removeListener(C),M&&google.maps.event.removeListener(M),c&&c(h),h.close())}}),[]),S.current?(0,E.createPortal)(o.Children.only(e),S.current):null}));class ke 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):P(!1,"You must provide either an anchor or a position prop for <InfoBox>.")},this.setInfoBoxCallback=()=>{null!==this.state.infoBox&&null!==this.containerElement&&(this.state.infoBox.setContent(this.containerElement),this.open(this.state.infoBox,this.props.anchor),this.props.onLoad&&this.props.onLoad(this.state.infoBox))}}componentDidMount(){const e=this.props.options||{},{position:t}=e,s=U(e,["position"]);let n;!t||t instanceof google.maps.LatLng||(n=new google.maps.LatLng(t.lat,t.lng));const o=new fe(Object.assign(Object.assign({},s),n?{position:n}:{}));this.containerElement=document.createElement("div"),this.registeredEvents=D({updaterMap:be,eventMap:ye,prevProps:{},nextProps:this.props,instance:o}),this.setState({infoBox:o},this.setInfoBoxCallback)}componentDidUpdate(e){const{infoBox:t}=this.state;null!==t&&(I(this.registeredEvents),this.registeredEvents=D({updaterMap:be,eventMap:ye,prevProps:e,nextProps:this.props,instance:t}))}componentWillUnmount(){const{onUnmount:e}=this.props,{infoBox:t}=this.state;null!==t&&(e&&e(t),I(this.registeredEvents),t.close())}render(){return this.containerElement?(0,E.createPortal)(o.Children.only(this.props.children),this.containerElement):null}}ke.contextType=O;var Ce={exports:{}};Ce.exports=function(){function e(s,n,o,i,r,a){if(!(r-i<=o)){var l=i+r>>1;t(s,n,l,i,r,a%2),e(s,n,o,i,l-1,a+1),e(s,n,o,l+1,r,a+1)}}function t(e,n,o,i,r,a){for(;r>i;){if(r-i>600){var l=r-i+1,p=o-i+1,u=Math.log(l),d=.5*Math.exp(2*u/3),c=.5*Math.sqrt(u*d*(l-d)/l)*(p-l/2<0?-1:1);t(e,n,o,Math.max(i,Math.floor(o-p*d/l+c)),Math.min(r,Math.floor(o+(l-p)*d/l+c)),a)}var g=n[2*o+a],h=i,m=r;for(s(e,n,i,o),n[2*r+a]>g&&s(e,n,i,r);h<m;){for(s(e,n,h,m),h++,m--;n[2*h+a]<g;)h++;for(;n[2*m+a]>g;)m--}n[2*i+a]===g?s(e,n,i,m):s(e,n,++m,r),m<=o&&(i=m+1),o<=m&&(r=m-1)}}function s(e,t,s,o){n(e,s,o),n(t,2*s,2*o),n(t,2*s+1,2*o+1)}function n(e,t,s){var n=e[t];e[t]=e[s],e[s]=n}function o(e,t,s,n){var o=e-s,i=t-n;return o*o+i*i}var i=function(e){return e[0]},r=function(e){return e[1]},a=function(t,s,n,o,a){void 0===s&&(s=i),void 0===n&&(n=r),void 0===o&&(o=64),void 0===a&&(a=Float64Array),this.nodeSize=o,this.points=t;for(var l=t.length<65536?Uint16Array:Uint32Array,p=this.ids=new l(t.length),u=this.coords=new a(2*t.length),d=0;d<t.length;d++)p[d]=d,u[2*d]=s(t[d]),u[2*d+1]=n(t[d]);e(p,u,o,0,p.length-1,0)};return a.prototype.range=function(e,t,s,n){return function(e,t,s,n,o,i,r){for(var a,l,p=[0,e.length-1,0],u=[];p.length;){var d=p.pop(),c=p.pop(),g=p.pop();if(c-g<=r)for(var h=g;h<=c;h++)a=t[2*h],l=t[2*h+1],a>=s&&a<=o&&l>=n&&l<=i&&u.push(e[h]);else{var m=Math.floor((g+c)/2);a=t[2*m],l=t[2*m+1],a>=s&&a<=o&&l>=n&&l<=i&&u.push(e[m]);var v=(d+1)%2;(0===d?s<=a:n<=l)&&(p.push(g),p.push(m-1),p.push(v)),(0===d?o>=a:i>=l)&&(p.push(m+1),p.push(c),p.push(v))}}return u}(this.ids,this.coords,e,t,s,n,this.nodeSize)},a.prototype.within=function(e,t,s){return function(e,t,s,n,i,r){for(var a=[0,e.length-1,0],l=[],p=i*i;a.length;){var u=a.pop(),d=a.pop(),c=a.pop();if(d-c<=r)for(var g=c;g<=d;g++)o(t[2*g],t[2*g+1],s,n)<=p&&l.push(e[g]);else{var h=Math.floor((c+d)/2),m=t[2*h],v=t[2*h+1];o(m,v,s,n)<=p&&l.push(e[h]);var f=(u+1)%2;(0===u?s-i<=m:n-i<=v)&&(a.push(c),a.push(h-1),a.push(f)),(0===u?s+i>=m:n+i>=v)&&(a.push(h+1),a.push(d),a.push(f))}}return l}(this.ids,this.coords,e,t,s,this.nodeSize)},a}();var xe=Ce.exports;const Me={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:e=>e},Ee=Math.fround||(we=new Float32Array(1),e=>(we[0]=+e,we[0]));var we;class Se{constructor(e){this.options=ze(Object.create(Me),e),this.trees=new Array(this.options.maxZoom+1)}load(e){const{log:t,minZoom:s,maxZoom:n,nodeSize:o}=this.options;t&&console.time("total time");const i=`prepare ${e.length} points`;t&&console.time(i),this.points=e;let r=[];for(let t=0;t<e.length;t++)e[t].geometry&&r.push(Pe(e[t],t));this.trees[n+1]=new xe(r,Re,Ue,o,Float32Array),t&&console.timeEnd(i);for(let e=n;e>=s;e--){const s=+Date.now();r=this._cluster(r,e),this.trees[e]=new xe(r,Re,Ue,o,Float32Array),t&&console.log("z%d: %d clusters in %dms",e,r.length,+Date.now()-s)}return t&&console.timeEnd("total time"),this}getClusters(e,t){let s=((e[0]+180)%360+360)%360-180;const n=Math.max(-90,Math.min(90,e[1]));let o=180===e[2]?180:((e[2]+180)%360+360)%360-180;const i=Math.max(-90,Math.min(90,e[3]));if(e[2]-e[0]>=360)s=-180,o=180;else if(s>o){const e=this.getClusters([s,n,180,i],t),r=this.getClusters([-180,n,o,i],t);return e.concat(r)}const r=this.trees[this._limitZoom(t)],a=r.range(Ie(s),De(i),Ie(o),De(n)),l=[];for(const e of a){const t=r.points[e];l.push(t.numPoints?Oe(t):this.points[t.index])}return l}getChildren(e){const t=this._getOriginId(e),s=this._getOriginZoom(e),n="No cluster with the specified id.",o=this.trees[s];if(!o)throw new Error(n);const i=o.points[t];if(!i)throw new Error(n);const r=this.options.radius/(this.options.extent*Math.pow(2,s-1)),a=o.within(i.x,i.y,r),l=[];for(const t of a){const s=o.points[t];s.parentId===e&&l.push(s.numPoints?Oe(s):this.points[s.index])}if(0===l.length)throw new Error(n);return l}getLeaves(e,t,s){t=t||10,s=s||0;const n=[];return this._appendLeaves(n,e,t,s,0),n}getTile(e,t,s){const n=this.trees[this._limitZoom(e)],o=Math.pow(2,e),{extent:i,radius:r}=this.options,a=r/i,l=(s-a)/o,p=(s+1+a)/o,u={features:[]};return this._addTileFeatures(n.range((t-a)/o,l,(t+1+a)/o,p),n.points,t,s,o,u),0===t&&this._addTileFeatures(n.range(1-a/o,l,1,p),n.points,o,s,o,u),t===o-1&&this._addTileFeatures(n.range(0,l,a/o,p),n.points,-1,s,o,u),u.features.length?u:null}getClusterExpansionZoom(e){let t=this._getOriginZoom(e)-1;for(;t<=this.options.maxZoom;){const s=this.getChildren(e);if(t++,1!==s.length)break;e=s[0].properties.cluster_id}return t}_appendLeaves(e,t,s,n,o){const i=this.getChildren(t);for(const t of i){const i=t.properties;if(i&&i.cluster?o+i.point_count<=n?o+=i.point_count:o=this._appendLeaves(e,i.cluster_id,s,n,o):o<n?o++:e.push(t),e.length===s)break}return o}_addTileFeatures(e,t,s,n,o,i){for(const r of e){const e=t[r],a=e.numPoints;let l,p,u;if(a)l=_e(e),p=e.x,u=e.y;else{const t=this.points[e.index];l=t.properties,p=Ie(t.geometry.coordinates[0]),u=De(t.geometry.coordinates[1])}const d={type:1,geometry:[[Math.round(this.options.extent*(p*o-s)),Math.round(this.options.extent*(u*o-n))]],tags:l};let c;a?c=e.id:this.options.generateId?c=e.index:this.points[e.index].id&&(c=this.points[e.index].id),void 0!==c&&(d.id=c),i.features.push(d)}}_limitZoom(e){return Math.max(this.options.minZoom,Math.min(+e,this.options.maxZoom+1))}_cluster(e,t){const s=[],{radius:n,extent:o,reduce:i,minPoints:r}=this.options,a=n/(o*Math.pow(2,t));for(let n=0;n<e.length;n++){const o=e[n];if(o.zoom<=t)continue;o.zoom=t;const l=this.trees[t+1],p=l.within(o.x,o.y,a),u=o.numPoints||1;let d=u;for(const e of p){const s=l.points[e];s.zoom>t&&(d+=s.numPoints||1)}if(d>u&&d>=r){let e=o.x*u,r=o.y*u,a=i&&u>1?this._map(o,!0):null;const c=(n<<5)+(t+1)+this.points.length;for(const s of p){const n=l.points[s];if(n.zoom<=t)continue;n.zoom=t;const p=n.numPoints||1;e+=n.x*p,r+=n.y*p,n.parentId=c,i&&(a||(a=this._map(o,!0)),i(a,this._map(n)))}o.parentId=c,s.push(Te(e/d,r/d,c,d,a))}else if(s.push(o),d>1)for(const e of p){const n=l.points[e];n.zoom<=t||(n.zoom=t,s.push(n))}}return s}_getOriginId(e){return e-this.points.length>>5}_getOriginZoom(e){return(e-this.points.length)%32}_map(e,t){if(e.numPoints)return t?ze({},e.properties):e.properties;const s=this.points[e.index].properties,n=this.options.map(s);return t&&n===s?ze({},n):n}}function Te(e,t,s,n,o){return{x:Ee(e),y:Ee(t),zoom:1/0,id:s,parentId:-1,numPoints:n,properties:o}}function Pe(e,t){const[s,n]=e.geometry.coordinates;return{x:Ee(Ie(s)),y:Ee(De(n)),zoom:1/0,index:t,parentId:-1}}function Oe(e){return{type:"Feature",id:e.id,properties:_e(e),geometry:{type:"Point",coordinates:[(t=e.x,360*(t-.5)),Be(e.y)]}};var t}function _e(e){const t=e.numPoints,s=t>=1e4?`${Math.round(t/1e3)}k`:t>=1e3?Math.round(t/100)/10+"k":t;return ze(ze({},e.properties),{cluster:!0,cluster_id:e.id,point_count:t,point_count_abbreviated:s})}function Ie(e){return e/360+.5}function De(e){const t=Math.sin(e*Math.PI/180),s=.5-.25*Math.log((1+t)/(1-t))/Math.PI;return s<0?0:s>1?1:s}function Be(e){const t=(180-360*e)*Math.PI/180;return 360*Math.atan(Math.exp(t))/Math.PI-90}function ze(e,t){for(const s in t)e[s]=t[s];return e}function Re(e){return e.x}function Ue(e){return e.y}var je=function e(t,s){if(t===s)return!0;if(t&&s&&"object"==typeof t&&"object"==typeof s){if(t.constructor!==s.constructor)return!1;var n,o,i;if(Array.isArray(t)){if((n=t.length)!=s.length)return!1;for(o=n;0!=o--;)if(!e(t[o],s[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===s.source&&t.flags===s.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===s.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===s.toString();if((n=(i=Object.keys(t)).length)!==Object.keys(s).length)return!1;for(o=n;0!=o--;)if(!Object.prototype.hasOwnProperty.call(s,i[o]))return!1;for(o=n;0!=o--;){var r=i[o];if(!e(t[r],s[r]))return!1}return!0}return t!=t&&s!=s};class Ae{constructor({markers:e,position:t}){this.markers=e,t&&(t instanceof google.maps.LatLng?this._position=t:this._position=new google.maps.LatLng(t))}get bounds(){if(0!==this.markers.length||this._position)return this.markers.reduce(((e,t)=>e.extend(t.getPosition())),new google.maps.LatLngBounds(this._position,this._position))}get position(){return this._position||this.bounds.getCenter()}get count(){return this.markers.filter((e=>e.getVisible())).length}push(e){this.markers.push(e)}delete(){this.marker&&(this.marker.setMap(null),delete this.marker),this.markers.length=0}}class Ve{constructor({maxZoom:e=16}){this.maxZoom=e}noop({markers:e}){return Ne(e)}}const Ne=e=>e.map((e=>new Ae({position:e.getPosition(),markers:[e]})));class Ze extends Ve{constructor(e){var{maxZoom:t,radius:s=60}=e,n=function(e,t){var s={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(s[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(s[n[o]]=e[n[o]])}return s}(e,["maxZoom","radius"]);super({maxZoom:t}),this.superCluster=new Se(Object.assign({maxZoom:this.maxZoom,radius:s},n)),this.state={zoom:null}}calculate(e){let t=!1;if(!je(e.markers,this.markers)){t=!0,this.markers=[...e.markers];const s=this.markers.map((e=>({type:"Feature",geometry:{type:"Point",coordinates:[e.getPosition().lng(),e.getPosition().lat()]},properties:{marker:e}})));this.superCluster.load(s)}const s={zoom:e.map.getZoom()};return t||this.state.zoom>this.maxZoom&&s.zoom>this.maxZoom||(t=t||!je(this.state,s)),this.state=s,t&&(this.clusters=this.cluster(e)),{clusters:this.clusters,changed:t}}cluster({map:e}){return this.superCluster.getClusters([-180,-90,180,90],Math.round(e.getZoom())).map(this.transformCluster.bind(this))}transformCluster({geometry:{coordinates:[e,t]},properties:s}){if(s.cluster)return new Ae({markers:this.superCluster.getLeaves(s.cluster_id,1/0).map((e=>e.properties.marker)),position:new google.maps.LatLng({lat:t,lng:e})});{const e=s.marker;return new Ae({markers:[e],position:e.getPosition()})}}}class We{constructor(e,t){this.markers={sum:e.length};const s=t.map((e=>e.count)),n=s.reduce(((e,t)=>e+t),0);this.clusters={count:t.length,markers:{mean:n/t.length,sum:n,min:Math.min(...s),max:Math.max(...s)}}}}class Fe{render({count:e,position:t},s){const n=e>Math.max(10,s.clusters.markers.mean)?"#ff0000":"#0000ff",o=window.btoa(`\n  <svg fill="${n}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240">\n    <circle cx="120" cy="120" opacity=".6" r="70" />\n    <circle cx="120" cy="120" opacity=".3" r="90" />\n    <circle cx="120" cy="120" opacity=".2" r="110" />\n  </svg>`);return new google.maps.Marker({position:t,icon:{url:`data:image/svg+xml;base64,${o}`,scaledSize:new google.maps.Size(45,45)},label:{text:String(e),color:"rgba(255,255,255,0.9)",fontSize:"12px"},title:`Cluster of ${e} markers`,zIndex:Number(google.maps.Marker.MAX_ZINDEX)+e})}}class He{constructor(){!function(e,t){for(let s in t.prototype)e.prototype[s]=t.prototype[s]}(He,google.maps.OverlayView)}}var Ge;!function(e){e.CLUSTERING_BEGIN="clusteringbegin",e.CLUSTERING_END="clusteringend",e.CLUSTER_CLICK="click"}(Ge||(Ge={}));const $e=(e,t,s)=>{s.fitBounds(t.bounds)};class qe extends He{constructor({map:e,markers:t=[],algorithm:s=new Ze({}),renderer:n=new Fe,onClusterClick:o=$e}){super(),this.markers=[...t],this.clusters=[],this.algorithm=s,this.renderer=n,this.onClusterClick=o,e&&this.setMap(e)}addMarker(e,t){this.markers.includes(e)||(this.markers.push(e),t||this.render())}addMarkers(e,t){e.forEach((e=>{this.addMarker(e,!0)})),t||this.render()}removeMarker(e,t){const s=this.markers.indexOf(e);return-1!==s&&(e.setMap(null),this.markers.splice(s,1),t||this.render(),!0)}removeMarkers(e,t){let s=!1;return e.forEach((e=>{s=this.removeMarker(e,!0)||s})),s&&!t&&this.render(),s}clearMarkers(e){this.markers.length=0,e||this.render()}render(){const e=this.getMap();if(e instanceof google.maps.Map&&this.getProjection()){google.maps.event.trigger(this,Ge.CLUSTERING_BEGIN,this);const{clusters:t,changed:s}=this.algorithm.calculate({markers:this.markers,map:e,mapCanvasProjection:this.getProjection()});(s||null==s)&&(this.reset(),this.clusters=t,this.renderClusters()),google.maps.event.trigger(this,Ge.CLUSTERING_END,this)}}onAdd(){this.idleListener=this.getMap().addListener("idle",this.render.bind(this)),this.render()}onRemove(){google.maps.event.removeListener(this.idleListener),this.reset()}reset(){this.markers.forEach((e=>e.setMap(null))),this.clusters.forEach((e=>e.delete())),this.clusters=[]}renderClusters(){const e=new We(this.markers,this.clusters),t=this.getMap();this.clusters.forEach((s=>{1===s.markers.length?s.marker=s.markers[0]:(s.marker=this.renderer.render(s,e),this.onClusterClick&&s.marker.addListener("click",(e=>{google.maps.event.trigger(this,Ge.CLUSTER_CLICK,s),this.onClusterClick(e,s,t)}))),s.marker.setMap(t)}))}}(0,o.memo)((function({children:e,options:t}){const s=function(e){const t=function(){P(!!o.useContext,"useGoogleMap is React hook and requires React version 16.8+");const e=(0,o.useContext)(O);return P(!!e,"useGoogleMap needs a GoogleMap available up in the tree"),e}(),[s,n]=(0,o.useState)(null);return(0,o.useEffect)((()=>{if(t&&null===s){const s=new qe(Object.assign(Object.assign({},e),{map:t}));n(s)}}),[t]),s}(t);return null!==s?e(s):null}));const Ke={onCloseClick:"closeclick",onContentChanged:"content_changed",onDomReady:"domready",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},Ye={options(e,t){e.setOptions(t)},position(e,t){e.setPosition(t)},zIndex(e,t){e.setZIndex(t)}};(0,o.memo)((function({children:e,anchor:t,options:s,position:n,zIndex:i,onCloseClick:r,onDomReady:a,onContentChanged:l,onPositionChanged:p,onZindexChanged:u,onLoad:d,onUnmount:c}){const g=(0,o.useContext)(O),[h,m]=(0,o.useState)(null),[v,f]=(0,o.useState)(null),[y,b]=(0,o.useState)(null),[L,k]=(0,o.useState)(null),[C,x]=(0,o.useState)(null),[M,w]=(0,o.useState)(null),S=(0,o.useRef)(null);return(0,o.useEffect)((()=>{null!==h&&(h.close(),t?h.open(g,t):h.getPosition()&&h.open(g))}),[g,h,t]),(0,o.useEffect)((()=>{s&&null!==h&&h.setOptions(s)}),[h,s]),(0,o.useEffect)((()=>{n&&null!==h&&h.setPosition(n)}),[n]),(0,o.useEffect)((()=>{"number"==typeof i&&null!==h&&h.setZIndex(i)}),[i]),(0,o.useEffect)((()=>{h&&r&&(null!==v&&google.maps.event.removeListener(v),f(google.maps.event.addListener(h,"closeclick",r)))}),[r]),(0,o.useEffect)((()=>{h&&a&&(null!==y&&google.maps.event.removeListener(y),b(google.maps.event.addListener(h,"domready",a)))}),[a]),(0,o.useEffect)((()=>{h&&l&&(null!==L&&google.maps.event.removeListener(L),k(google.maps.event.addListener(h,"content_changed",l)))}),[l]),(0,o.useEffect)((()=>{h&&p&&(null!==C&&google.maps.event.removeListener(C),x(google.maps.event.addListener(h,"position_changed",p)))}),[p]),(0,o.useEffect)((()=>{h&&u&&(null!==M&&google.maps.event.removeListener(M),w(google.maps.event.addListener(h,"zindex_changed",u)))}),[u]),(0,o.useEffect)((()=>{const e=new google.maps.InfoWindow(Object.assign({},s||{}));return m(e),S.current=document.createElement("div"),r&&f(google.maps.event.addListener(e,"circlecomplete",r)),a&&b(google.maps.event.addListener(e,"domready",a)),l&&k(google.maps.event.addListener(e,"content_changed",l)),p&&x(google.maps.event.addListener(e,"position_changed",p)),u&&w(google.maps.event.addListener(e,"zindex_changed",u)),e.setContent(S.current),n&&e.setPosition(n),i&&e.setZIndex(i),t?e.open(g,t):e.getPosition()?e.open(g):P(!1,"You must provide either an anchor (typically render it inside a <Marker>) or a position props for <InfoWindow>."),d&&d(e),()=>{v&&google.maps.event.removeListener(v),L&&google.maps.event.removeListener(L),y&&google.maps.event.removeListener(y),C&&google.maps.event.removeListener(C),M&&google.maps.event.removeListener(M),c&&c(e),e.close()}}),[]),S.current?(0,E.createPortal)(o.Children.only(e),S.current):null}));class Je 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):P(!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=D({updaterMap:Ye,eventMap:Ke,prevProps:{},nextProps:this.props,instance:e}),this.setState((()=>({infoWindow:e})),this.setInfoWindowCallback)}componentDidUpdate(e){null!==this.state.infoWindow&&(I(this.registeredEvents),this.registeredEvents=D({updaterMap:Ye,eventMap:Ke,prevProps:e,nextProps:this.props,instance:this.state.infoWindow}))}componentWillUnmount(){null!==this.state.infoWindow&&(I(this.registeredEvents),this.props.onUnmount&&this.props.onUnmount(this.state.infoWindow),this.state.infoWindow.close())}render(){return this.containerElement?(0,E.createPortal)(o.Children.only(this.props.children),this.containerElement):null}}Je.contextType=O;const Xe={onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},Qe={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)}},et={};(0,o.memo)((function({options:e,draggable:t,editable:s,visible:n,path:i,onDblClick:r,onDragEnd:a,onDragStart:l,onMouseDown:p,onMouseMove:u,onMouseOut:d,onMouseOver:c,onMouseUp:g,onRightClick:h,onClick:m,onDrag:v,onLoad:f,onUnmount:y}){const b=(0,o.useContext)(O),[L,k]=(0,o.useState)(null),[C,x]=(0,o.useState)(null),[M,E]=(0,o.useState)(null),[w,S]=(0,o.useState)(null),[T,P]=(0,o.useState)(null),[_,I]=(0,o.useState)(null),[D,B]=(0,o.useState)(null),[z,R]=(0,o.useState)(null),[U,j]=(0,o.useState)(null),[A,V]=(0,o.useState)(null),[N,Z]=(0,o.useState)(null),[W,F]=(0,o.useState)(null);return(0,o.useEffect)((()=>{null!==L&&L.setMap(b)}),[b]),(0,o.useEffect)((()=>{void 0!==e&&null!==L&&L.setOptions(e)}),[L,e]),(0,o.useEffect)((()=>{void 0!==t&&null!==L&&L.setDraggable(t)}),[L,t]),(0,o.useEffect)((()=>{void 0!==s&&null!==L&&L.setEditable(s)}),[L,s]),(0,o.useEffect)((()=>{void 0!==n&&null!==L&&L.setVisible(n)}),[L,n]),(0,o.useEffect)((()=>{void 0!==i&&null!==L&&L.setPath(i)}),[L,i]),(0,o.useEffect)((()=>{L&&r&&(null!==C&&google.maps.event.removeListener(C),x(google.maps.event.addListener(L,"dblclick",r)))}),[r]),(0,o.useEffect)((()=>{L&&a&&(null!==M&&google.maps.event.removeListener(M),E(google.maps.event.addListener(L,"dragend",a)))}),[r]),(0,o.useEffect)((()=>{L&&l&&(null!==w&&google.maps.event.removeListener(w),S(google.maps.event.addListener(L,"dragstart",l)))}),[l]),(0,o.useEffect)((()=>{L&&p&&(null!==T&&google.maps.event.removeListener(T),P(google.maps.event.addListener(L,"mousedown",p)))}),[p]),(0,o.useEffect)((()=>{L&&u&&(null!==_&&google.maps.event.removeListener(_),I(google.maps.event.addListener(L,"mousemove",u)))}),[u]),(0,o.useEffect)((()=>{L&&d&&(null!==D&&google.maps.event.removeListener(D),B(google.maps.event.addListener(L,"mouseout",d)))}),[d]),(0,o.useEffect)((()=>{L&&c&&(null!==z&&google.maps.event.removeListener(z),R(google.maps.event.addListener(L,"mouseover",c)))}),[c]),(0,o.useEffect)((()=>{L&&g&&(null!==U&&google.maps.event.removeListener(U),j(google.maps.event.addListener(L,"mouseup",g)))}),[g]),(0,o.useEffect)((()=>{L&&h&&(null!==A&&google.maps.event.removeListener(A),V(google.maps.event.addListener(L,"rightclick",h)))}),[h]),(0,o.useEffect)((()=>{L&&m&&(null!==N&&google.maps.event.removeListener(N),Z(google.maps.event.addListener(L,"click",m)))}),[m]),(0,o.useEffect)((()=>{L&&v&&(null!==W&&google.maps.event.removeListener(W),F(google.maps.event.addListener(L,"drag",v)))}),[v]),(0,o.useEffect)((()=>{const o=new google.maps.Polyline(Object.assign(Object.assign({},e||et),{map:b}));return i&&o.setPath(i),void 0!==n&&o.setVisible(n),void 0!==s&&o.setEditable(s),void 0!==t&&o.setDraggable(t),r&&x(google.maps.event.addListener(o,"dblclick",r)),a&&E(google.maps.event.addListener(o,"dragend",a)),l&&S(google.maps.event.addListener(o,"dragstart",l)),p&&P(google.maps.event.addListener(o,"mousedown",p)),u&&I(google.maps.event.addListener(o,"mousemove",u)),d&&B(google.maps.event.addListener(o,"mouseout",d)),c&&R(google.maps.event.addListener(o,"mouseover",c)),g&&j(google.maps.event.addListener(o,"mouseup",g)),h&&V(google.maps.event.addListener(o,"rightclick",h)),m&&Z(google.maps.event.addListener(o,"click",m)),v&&F(google.maps.event.addListener(o,"drag",v)),k(o),f&&f(o),()=>{null!==C&&google.maps.event.removeListener(C),null!==M&&google.maps.event.removeListener(M),null!==w&&google.maps.event.removeListener(w),null!==T&&google.maps.event.removeListener(T),null!==_&&google.maps.event.removeListener(_),null!==D&&google.maps.event.removeListener(D),null!==z&&google.maps.event.removeListener(z),null!==U&&google.maps.event.removeListener(U),null!==A&&google.maps.event.removeListener(A),null!==N&&google.maps.event.removeListener(N),y&&y(o),o.setMap(null)}}),[]),null}));class tt 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=D({updaterMap:Qe,eventMap:Xe,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{polyline:e}}),this.setPolylineCallback)}componentDidUpdate(e){null!==this.state.polyline&&(I(this.registeredEvents),this.registeredEvents=D({updaterMap:Qe,eventMap:Xe,prevProps:e,nextProps:this.props,instance:this.state.polyline}))}componentWillUnmount(){null!==this.state.polyline&&(this.props.onUnmount&&this.props.onUnmount(this.state.polyline),I(this.registeredEvents),this.state.polyline.setMap(null))}render(){return null}}tt.contextType=O;const st={onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},nt={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)}};(0,o.memo)((function({options:e,draggable:t,editable:s,visible:n,path:i,onDblClick:r,onDragEnd:a,onDragStart:l,onMouseDown:p,onMouseMove:u,onMouseOut:d,onMouseOver:c,onMouseUp:g,onRightClick:h,onClick:m,onDrag:v,onLoad:f,onUnmount:y}){const b=(0,o.useContext)(O),[L,k]=(0,o.useState)(null),[C,x]=(0,o.useState)(null),[M,E]=(0,o.useState)(null),[w,S]=(0,o.useState)(null),[T,P]=(0,o.useState)(null),[_,I]=(0,o.useState)(null),[D,B]=(0,o.useState)(null),[z,R]=(0,o.useState)(null),[U,j]=(0,o.useState)(null),[A,V]=(0,o.useState)(null),[N,Z]=(0,o.useState)(null),[W,F]=(0,o.useState)(null);return(0,o.useEffect)((()=>{null!==L&&L.setMap(b)}),[b]),(0,o.useEffect)((()=>{void 0!==e&&null!==L&&L.setOptions(e)}),[L,e]),(0,o.useEffect)((()=>{void 0!==t&&null!==L&&L.setDraggable(t)}),[L,t]),(0,o.useEffect)((()=>{void 0!==s&&null!==L&&L.setEditable(s)}),[L,s]),(0,o.useEffect)((()=>{void 0!==n&&null!==L&&L.setVisible(n)}),[L,n]),(0,o.useEffect)((()=>{void 0!==i&&null!==L&&L.setPath(i)}),[L,i]),(0,o.useEffect)((()=>{L&&r&&(null!==C&&google.maps.event.removeListener(C),x(google.maps.event.addListener(L,"dblclick",r)))}),[r]),(0,o.useEffect)((()=>{L&&a&&(null!==M&&google.maps.event.removeListener(M),E(google.maps.event.addListener(L,"dragend",a)))}),[a]),(0,o.useEffect)((()=>{L&&l&&(null!==w&&google.maps.event.removeListener(w),S(google.maps.event.addListener(L,"dragstart",l)))}),[l]),(0,o.useEffect)((()=>{L&&p&&(null!==T&&google.maps.event.removeListener(T),P(google.maps.event.addListener(L,"mousedown",p)))}),[p]),(0,o.useEffect)((()=>{L&&u&&(null!==_&&google.maps.event.removeListener(_),I(google.maps.event.addListener(L,"mousemove",u)))}),[u]),(0,o.useEffect)((()=>{L&&d&&(null!==D&&google.maps.event.removeListener(D),B(google.maps.event.addListener(L,"mouseout",d)))}),[d]),(0,o.useEffect)((()=>{L&&c&&(null!==z&&google.maps.event.removeListener(z),R(google.maps.event.addListener(L,"mouseover",c)))}),[c]),(0,o.useEffect)((()=>{L&&g&&(null!==U&&google.maps.event.removeListener(U),j(google.maps.event.addListener(L,"mouseup",g)))}),[g]),(0,o.useEffect)((()=>{L&&h&&(null!==A&&google.maps.event.removeListener(A),V(google.maps.event.addListener(L,"rightclick",h)))}),[h]),(0,o.useEffect)((()=>{L&&m&&(null!==N&&google.maps.event.removeListener(N),Z(google.maps.event.addListener(L,"click",m)))}),[m]),(0,o.useEffect)((()=>{L&&v&&(null!==W&&google.maps.event.removeListener(W),F(google.maps.event.addListener(L,"drag",v)))}),[v]),(0,o.useEffect)((()=>{const o=new google.maps.Polygon(Object.assign(Object.assign({},e||{}),{map:b}));return i&&o.setPath(i),void 0!==n&&o.setVisible(n),void 0!==s&&o.setEditable(s),void 0!==t&&o.setDraggable(t),r&&x(google.maps.event.addListener(o,"dblclick",r)),a&&E(google.maps.event.addListener(o,"dragend",a)),l&&S(google.maps.event.addListener(o,"dragstart",l)),p&&P(google.maps.event.addListener(o,"mousedown",p)),u&&I(google.maps.event.addListener(o,"mousemove",u)),d&&B(google.maps.event.addListener(o,"mouseout",d)),c&&R(google.maps.event.addListener(o,"mouseover",c)),g&&j(google.maps.event.addListener(o,"mouseup",g)),h&&V(google.maps.event.addListener(o,"rightclick",h)),m&&Z(google.maps.event.addListener(o,"click",m)),v&&F(google.maps.event.addListener(o,"drag",v)),k(o),f&&f(o),()=>{null!==C&&google.maps.event.removeListener(C),null!==M&&google.maps.event.removeListener(M),null!==w&&google.maps.event.removeListener(w),null!==T&&google.maps.event.removeListener(T),null!==_&&google.maps.event.removeListener(_),null!==D&&google.maps.event.removeListener(D),null!==z&&google.maps.event.removeListener(z),null!==U&&google.maps.event.removeListener(U),null!==A&&google.maps.event.removeListener(A),null!==N&&google.maps.event.removeListener(N),y&&y(o),o.setMap(null)}}),[]),null}));class ot 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=D({updaterMap:nt,eventMap:st,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{polygon:e}}),this.setPolygonCallback)}componentDidUpdate(e){null!==this.state.polygon&&(I(this.registeredEvents),this.registeredEvents=D({updaterMap:nt,eventMap:st,prevProps:e,nextProps:this.props,instance:this.state.polygon}))}componentWillUnmount(){null!==this.state.polygon&&(this.props.onUnmount&&this.props.onUnmount(this.state.polygon),I(this.registeredEvents),this.state.polygon&&this.state.polygon.setMap(null))}render(){return null}}ot.contextType=O;const it={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"},rt={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)}};(0,o.memo)((function({options:e,bounds:t,draggable:s,editable:n,visible:i,onDblClick:r,onDragEnd:a,onDragStart:l,onMouseDown:p,onMouseMove:u,onMouseOut:d,onMouseOver:c,onMouseUp:g,onRightClick:h,onClick:m,onDrag:v,onBoundsChanged:f,onLoad:y,onUnmount:b}){const L=(0,o.useContext)(O),[k,C]=(0,o.useState)(null),[x,M]=(0,o.useState)(null),[E,w]=(0,o.useState)(null),[S,T]=(0,o.useState)(null),[P,_]=(0,o.useState)(null),[I,D]=(0,o.useState)(null),[B,z]=(0,o.useState)(null),[R,U]=(0,o.useState)(null),[j,A]=(0,o.useState)(null),[V,N]=(0,o.useState)(null),[Z,W]=(0,o.useState)(null),[F,H]=(0,o.useState)(null),[G,$]=(0,o.useState)(null);return(0,o.useEffect)((()=>{null!==k&&k.setMap(L)}),[L]),(0,o.useEffect)((()=>{void 0!==e&&null!==k&&k.setOptions(e)}),[k,e]),(0,o.useEffect)((()=>{void 0!==s&&null!==k&&k.setDraggable(s)}),[k,s]),(0,o.useEffect)((()=>{void 0!==n&&null!==k&&k.setEditable(n)}),[k,n]),(0,o.useEffect)((()=>{void 0!==i&&null!==k&&k.setVisible(i)}),[k,i]),(0,o.useEffect)((()=>{void 0!==t&&null!==k&&k.setBounds(t)}),[k,t]),(0,o.useEffect)((()=>{k&&r&&(null!==x&&google.maps.event.removeListener(x),M(google.maps.event.addListener(k,"dblclick",r)))}),[r]),(0,o.useEffect)((()=>{k&&a&&(null!==E&&google.maps.event.removeListener(E),w(google.maps.event.addListener(k,"dragend",a)))}),[r]),(0,o.useEffect)((()=>{k&&l&&(null!==S&&google.maps.event.removeListener(S),T(google.maps.event.addListener(k,"dragstart",l)))}),[l]),(0,o.useEffect)((()=>{k&&p&&(null!==P&&google.maps.event.removeListener(P),_(google.maps.event.addListener(k,"mousedown",p)))}),[p]),(0,o.useEffect)((()=>{k&&u&&(null!==I&&google.maps.event.removeListener(I),D(google.maps.event.addListener(k,"mousemove",u)))}),[u]),(0,o.useEffect)((()=>{k&&d&&(null!==B&&google.maps.event.removeListener(B),z(google.maps.event.addListener(k,"mouseout",d)))}),[d]),(0,o.useEffect)((()=>{k&&c&&(null!==R&&google.maps.event.removeListener(R),U(google.maps.event.addListener(k,"mouseover",c)))}),[c]),(0,o.useEffect)((()=>{k&&g&&(null!==j&&google.maps.event.removeListener(j),A(google.maps.event.addListener(k,"mouseup",g)))}),[g]),(0,o.useEffect)((()=>{k&&h&&(null!==V&&google.maps.event.removeListener(V),N(google.maps.event.addListener(k,"rightclick",h)))}),[h]),(0,o.useEffect)((()=>{k&&m&&(null!==Z&&google.maps.event.removeListener(Z),W(google.maps.event.addListener(k,"click",m)))}),[m]),(0,o.useEffect)((()=>{k&&v&&(null!==F&&google.maps.event.removeListener(F),H(google.maps.event.addListener(k,"drag",v)))}),[v]),(0,o.useEffect)((()=>{k&&f&&(null!==G&&google.maps.event.removeListener(G),$(google.maps.event.addListener(k,"bounds_changed",f)))}),[f]),(0,o.useEffect)((()=>{const o=new google.maps.Rectangle(Object.assign(Object.assign({},e||{}),{map:L}));return void 0!==i&&o.setVisible(i),void 0!==n&&o.setEditable(n),void 0!==s&&o.setDraggable(s),void 0!==t&&o.setBounds(t),r&&M(google.maps.event.addListener(o,"dblclick",r)),a&&w(google.maps.event.addListener(o,"dragend",a)),l&&T(google.maps.event.addListener(o,"dragstart",l)),p&&_(google.maps.event.addListener(o,"mousedown",p)),u&&D(google.maps.event.addListener(o,"mousemove",u)),d&&z(google.maps.event.addListener(o,"mouseout",d)),c&&U(google.maps.event.addListener(o,"mouseover",c)),g&&A(google.maps.event.addListener(o,"mouseup",g)),h&&N(google.maps.event.addListener(o,"rightclick",h)),m&&W(google.maps.event.addListener(o,"click",m)),v&&H(google.maps.event.addListener(o,"drag",v)),f&&$(google.maps.event.addListener(o,"bounds_changed",f)),C(o),y&&y(o),()=>{null!==x&&google.maps.event.removeListener(x),null!==E&&google.maps.event.removeListener(E),null!==S&&google.maps.event.removeListener(S),null!==P&&google.maps.event.removeListener(P),null!==I&&google.maps.event.removeListener(I),null!==B&&google.maps.event.removeListener(B),null!==R&&google.maps.event.removeListener(R),null!==j&&google.maps.event.removeListener(j),null!==V&&google.maps.event.removeListener(V),null!==Z&&google.maps.event.removeListener(Z),null!==F&&google.maps.event.removeListener(F),null!==G&&google.maps.event.removeListener(G),b&&b(o),o.setMap(null)}}),[]),null}));class at 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=D({updaterMap:rt,eventMap:it,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{rectangle:e}}),this.setRectangleCallback)}componentDidUpdate(e){null!==this.state.rectangle&&(I(this.registeredEvents),this.registeredEvents=D({updaterMap:rt,eventMap:it,prevProps:e,nextProps:this.props,instance:this.state.rectangle}))}componentWillUnmount(){null!==this.state.rectangle&&(this.props.onUnmount&&this.props.onUnmount(this.state.rectangle),I(this.registeredEvents),this.state.rectangle.setMap(null))}render(){return null}}at.contextType=O;const lt={onCenterChanged:"center_changed",onRadiusChanged:"radius_changed",onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},pt={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)}},ut={};(0,o.memo)((function({options:e,center:t,radius:s,draggable:n,editable:i,visible:r,onDblClick:a,onDragEnd:l,onDragStart:p,onMouseDown:u,onMouseMove:d,onMouseOut:c,onMouseOver:g,onMouseUp:h,onRightClick:m,onClick:v,onDrag:f,onCenterChanged:y,onRadiusChanged:b,onLoad:L,onUnmount:k}){const C=(0,o.useContext)(O),[x,M]=(0,o.useState)(null),[E,w]=(0,o.useState)(null),[S,T]=(0,o.useState)(null),[P,_]=(0,o.useState)(null),[I,D]=(0,o.useState)(null),[B,z]=(0,o.useState)(null),[R,U]=(0,o.useState)(null),[j,A]=(0,o.useState)(null),[V,N]=(0,o.useState)(null),[Z,W]=(0,o.useState)(null),[F,H]=(0,o.useState)(null),[G,$]=(0,o.useState)(null),[q,K]=(0,o.useState)(null),[Y,J]=(0,o.useState)(null);return(0,o.useEffect)((()=>{null!==x&&x.setMap(C)}),[C]),(0,o.useEffect)((()=>{void 0!==e&&null!==x&&x.setOptions(e)}),[x,e]),(0,o.useEffect)((()=>{void 0!==n&&null!==x&&x.setDraggable(n)}),[x,n]),(0,o.useEffect)((()=>{void 0!==i&&null!==x&&x.setEditable(i)}),[x,i]),(0,o.useEffect)((()=>{void 0!==r&&null!==x&&x.setVisible(r)}),[x,r]),(0,o.useEffect)((()=>{"number"==typeof s&&null!==x&&x.setRadius(s)}),[x,s]),(0,o.useEffect)((()=>{void 0!==t&&null!==x&&x.setCenter(t)}),[x,t]),(0,o.useEffect)((()=>{x&&a&&(null!==E&&google.maps.event.removeListener(E),w(google.maps.event.addListener(x,"dblclick",a)))}),[a]),(0,o.useEffect)((()=>{x&&l&&(null!==S&&google.maps.event.removeListener(S),T(google.maps.event.addListener(x,"dragend",l)))}),[a]),(0,o.useEffect)((()=>{x&&p&&(null!==P&&google.maps.event.removeListener(P),_(google.maps.event.addListener(x,"dragstart",p)))}),[p]),(0,o.useEffect)((()=>{x&&u&&(null!==I&&google.maps.event.removeListener(I),D(google.maps.event.addListener(x,"mousedown",u)))}),[u]),(0,o.useEffect)((()=>{x&&d&&(null!==B&&google.maps.event.removeListener(B),z(google.maps.event.addListener(x,"mousemove",d)))}),[d]),(0,o.useEffect)((()=>{x&&c&&(null!==R&&google.maps.event.removeListener(R),U(google.maps.event.addListener(x,"mouseout",c)))}),[c]),(0,o.useEffect)((()=>{x&&g&&(null!==j&&google.maps.event.removeListener(j),A(google.maps.event.addListener(x,"mouseover",g)))}),[g]),(0,o.useEffect)((()=>{x&&h&&(null!==V&&google.maps.event.removeListener(V),N(google.maps.event.addListener(x,"mouseup",h)))}),[h]),(0,o.useEffect)((()=>{x&&m&&(null!==Z&&google.maps.event.removeListener(Z),W(google.maps.event.addListener(x,"rightclick",m)))}),[m]),(0,o.useEffect)((()=>{x&&v&&(null!==F&&google.maps.event.removeListener(F),H(google.maps.event.addListener(x,"click",v)))}),[v]),(0,o.useEffect)((()=>{x&&f&&(null!==G&&google.maps.event.removeListener(G),$(google.maps.event.addListener(x,"drag",f)))}),[f]),(0,o.useEffect)((()=>{x&&y&&(null!==q&&google.maps.event.removeListener(q),K(google.maps.event.addListener(x,"center_changed",y)))}),[v]),(0,o.useEffect)((()=>{x&&b&&(null!==Y&&google.maps.event.removeListener(Y),J(google.maps.event.addListener(x,"radius_changed",b)))}),[b]),(0,o.useEffect)((()=>{const o=new google.maps.Circle(Object.assign(Object.assign({},e||ut),{map:C}));return"number"==typeof s&&o.setRadius(s),void 0!==t&&o.setCenter(t),"number"==typeof s&&o.setRadius(s),void 0!==r&&o.setVisible(r),void 0!==i&&o.setEditable(i),void 0!==n&&o.setDraggable(n),a&&w(google.maps.event.addListener(o,"dblclick",a)),l&&T(google.maps.event.addListener(o,"dragend",l)),p&&_(google.maps.event.addListener(o,"dragstart",p)),u&&D(google.maps.event.addListener(o,"mousedown",u)),d&&z(google.maps.event.addListener(o,"mousemove",d)),c&&U(google.maps.event.addListener(o,"mouseout",c)),g&&A(google.maps.event.addListener(o,"mouseover",g)),h&&N(google.maps.event.addListener(o,"mouseup",h)),m&&W(google.maps.event.addListener(o,"rightclick",m)),v&&H(google.maps.event.addListener(o,"click",v)),f&&$(google.maps.event.addListener(o,"drag",f)),y&&K(google.maps.event.addListener(o,"center_changed",y)),b&&J(google.maps.event.addListener(o,"radius_changed",b)),M(o),L&&L(o),()=>{null!==E&&google.maps.event.removeListener(E),null!==S&&google.maps.event.removeListener(S),null!==P&&google.maps.event.removeListener(P),null!==I&&google.maps.event.removeListener(I),null!==B&&google.maps.event.removeListener(B),null!==R&&google.maps.event.removeListener(R),null!==j&&google.maps.event.removeListener(j),null!==V&&google.maps.event.removeListener(V),null!==Z&&google.maps.event.removeListener(Z),null!==F&&google.maps.event.removeListener(F),null!==q&&google.maps.event.removeListener(q),null!==Y&&google.maps.event.removeListener(Y),k&&k(o),o.setMap(null)}}),[]),null}));class dt 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=D({updaterMap:pt,eventMap:lt,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{circle:e}}),this.setCircleCallback)}componentDidUpdate(e){null!==this.state.circle&&(I(this.registeredEvents),this.registeredEvents=D({updaterMap:pt,eventMap:lt,prevProps:e,nextProps:this.props,instance:this.state.circle}))}componentWillUnmount(){null!==this.state.circle&&(this.props.onUnmount&&this.props.onUnmount(this.state.circle),I(this.registeredEvents),this.state.circle&&this.state.circle.setMap(null))}render(){return null}}dt.contextType=O;const ct={onClick:"click",onDblClick:"dblclick",onMouseDown:"mousedown",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick",onAddFeature:"addfeature",onRemoveFeature:"removefeature",onRemoveProperty:"removeproperty",onSetGeometry:"setgeometry",onSetProperty:"setproperty"},gt={add(e,t){e.add(t)},addgeojson(e,t,s){e.addGeoJson(t,s)},contains(e,t){e.contains(t)},foreach(e,t){e.forEach(t)},loadgeojson(e,t,s,n){e.loadGeoJson(t,s,n)},overridestyle(e,t,s){e.overrideStyle(t,s)},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)}};(0,o.memo)((function({options:e,onClick:t,onDblClick:s,onMouseDown:n,onMouseMove:i,onMouseOut:r,onMouseOver:a,onMouseUp:l,onRightClick:p,onAddFeature:u,onRemoveFeature:d,onRemoveProperty:c,onSetGeometry:g,onSetProperty:h,onLoad:m,onUnmount:v}){const f=(0,o.useContext)(O),[y,b]=(0,o.useState)(null),[L,k]=(0,o.useState)(null),[C,x]=(0,o.useState)(null),[M,E]=(0,o.useState)(null),[w,S]=(0,o.useState)(null),[T,P]=(0,o.useState)(null),[_,I]=(0,o.useState)(null),[D,B]=(0,o.useState)(null),[z,R]=(0,o.useState)(null),[U,j]=(0,o.useState)(null),[A,V]=(0,o.useState)(null),[N,Z]=(0,o.useState)(null),[W,F]=(0,o.useState)(null),[H,G]=(0,o.useState)(null);return(0,o.useEffect)((()=>{null!==y&&y.setMap(f)}),[f]),(0,o.useEffect)((()=>{y&&s&&(null!==L&&google.maps.event.removeListener(L),k(google.maps.event.addListener(y,"dblclick",s)))}),[s]),(0,o.useEffect)((()=>{y&&n&&(null!==C&&google.maps.event.removeListener(C),x(google.maps.event.addListener(y,"mousedown",n)))}),[n]),(0,o.useEffect)((()=>{y&&i&&(null!==M&&google.maps.event.removeListener(M),E(google.maps.event.addListener(y,"mousemove",i)))}),[i]),(0,o.useEffect)((()=>{y&&r&&(null!==w&&google.maps.event.removeListener(w),S(google.maps.event.addListener(y,"mouseout",r)))}),[r]),(0,o.useEffect)((()=>{y&&a&&(null!==T&&google.maps.event.removeListener(T),P(google.maps.event.addListener(y,"mouseover",a)))}),[a]),(0,o.useEffect)((()=>{y&&l&&(null!==_&&google.maps.event.removeListener(_),I(google.maps.event.addListener(y,"mouseup",l)))}),[l]),(0,o.useEffect)((()=>{y&&p&&(null!==D&&google.maps.event.removeListener(D),B(google.maps.event.addListener(y,"rightclick",p)))}),[p]),(0,o.useEffect)((()=>{y&&t&&(null!==z&&google.maps.event.removeListener(z),R(google.maps.event.addListener(y,"click",t)))}),[t]),(0,o.useEffect)((()=>{y&&u&&(null!==U&&google.maps.event.removeListener(U),j(google.maps.event.addListener(y,"addfeature",u)))}),[u]),(0,o.useEffect)((()=>{y&&d&&(null!==A&&google.maps.event.removeListener(A),V(google.maps.event.addListener(y,"removefeature",d)))}),[d]),(0,o.useEffect)((()=>{y&&c&&(null!==N&&google.maps.event.removeListener(N),Z(google.maps.event.addListener(y,"removeproperty",c)))}),[c]),(0,o.useEffect)((()=>{y&&g&&(null!==W&&google.maps.event.removeListener(W),F(google.maps.event.addListener(y,"setgeometry",g)))}),[g]),(0,o.useEffect)((()=>{y&&h&&(null!==H&&google.maps.event.removeListener(H),G(google.maps.event.addListener(y,"setproperty",h)))}),[h]),(0,o.useEffect)((()=>{if(null!==f){const o=new google.maps.Data(Object.assign(Object.assign({},e||{}),{map:f}));s&&k(google.maps.event.addListener(o,"dblclick",s)),n&&x(google.maps.event.addListener(o,"mousedown",n)),i&&E(google.maps.event.addListener(o,"mousemove",i)),r&&S(google.maps.event.addListener(o,"mouseout",r)),a&&P(google.maps.event.addListener(o,"mouseover",a)),l&&I(google.maps.event.addListener(o,"mouseup",l)),p&&B(google.maps.event.addListener(o,"rightclick",p)),t&&R(google.maps.event.addListener(o,"click",t)),u&&j(google.maps.event.addListener(o,"addfeature",u)),d&&V(google.maps.event.addListener(o,"removefeature",d)),c&&Z(google.maps.event.addListener(o,"removeproperty",c)),g&&F(google.maps.event.addListener(o,"setgeometry",g)),h&&G(google.maps.event.addListener(o,"setproperty",h)),b(o),m&&m(o)}return()=>{y&&(null!==L&&google.maps.event.removeListener(L),null!==C&&google.maps.event.removeListener(C),null!==M&&google.maps.event.removeListener(M),null!==w&&google.maps.event.removeListener(w),null!==T&&google.maps.event.removeListener(T),null!==_&&google.maps.event.removeListener(_),null!==D&&google.maps.event.removeListener(D),null!==z&&google.maps.event.removeListener(z),null!==U&&google.maps.event.removeListener(U),null!==A&&google.maps.event.removeListener(A),null!==N&&google.maps.event.removeListener(N),null!==W&&google.maps.event.removeListener(W),null!==H&&google.maps.event.removeListener(H),v&&v(y),y.setMap(null))}}),[]),null}));class ht 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(){if(null!==this.context){const e=new google.maps.Data(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=D({updaterMap:gt,eventMap:ct,prevProps:{},nextProps:this.props,instance:e}),this.setState((()=>({data:e})),this.setDataCallback)}}componentDidUpdate(e){null!==this.state.data&&(I(this.registeredEvents),this.registeredEvents=D({updaterMap:gt,eventMap:ct,prevProps:e,nextProps:this.props,instance:this.state.data}))}componentWillUnmount(){null!==this.state.data&&(this.props.onUnmount&&this.props.onUnmount(this.state.data),I(this.registeredEvents),this.state.data&&this.state.data.setMap(null))}render(){return null}}ht.contextType=O;const mt={onClick:"click",onDefaultViewportChanged:"defaultviewport_changed",onStatusChanged:"status_changed"},vt={options(e,t){e.setOptions(t)},url(e,t){e.setUrl(t)},zIndex(e,t){e.setZIndex(t)}};class ft 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=D({updaterMap:vt,eventMap:mt,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{kmlLayer:e}}),this.setKmlLayerCallback)}componentDidUpdate(e){null!==this.state.kmlLayer&&(I(this.registeredEvents),this.registeredEvents=D({updaterMap:vt,eventMap:mt,prevProps:e,nextProps:this.props,instance:this.state.kmlLayer}))}componentWillUnmount(){null!==this.state.kmlLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.kmlLayer),I(this.registeredEvents),this.state.kmlLayer.setMap(null))}render(){return null}}function yt(e,t){return new t(e.lat,e.lng)}function bt(e,t){return new t(new google.maps.LatLng(e.ne.lat,e.ne.lng),new google.maps.LatLng(e.sw.lat,e.sw.lng))}function Lt(e){return e?(e instanceof google.maps.LatLng?e:new google.maps.LatLng(e.lat,e.lng))+"":""}function kt(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)))+"":""}ft.contextType=O;class Ct 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();P(!!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 s=(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):{}):{}),p=this.props.bounds,u=this.props.position,void 0!==p?function(e,t,s){const n=e&&e.fromLatLngToDivPixel(s.getNorthEast()),o=e&&e.fromLatLngToDivPixel(s.getSouthWest());return n&&o?{left:`${o.x+t.x}px`,top:`${n.y+t.y}px`,width:n.x-o.x-t.x+"px",height:o.y-n.y-t.y+"px"}:{left:"-9999px",top:"-9999px"}}(a,l,(d=p)instanceof(c=google.maps.LatLngBounds)?d:bt(d,c)):function(e,t,s){const n=e&&e.fromLatLngToDivPixel(s);if(n){const{x:e,y:s}=n;return{left:`${e+t.x}px`,top:`${s+t.y}px`}}return{left:"-9999px",top:"-9999px"}}(a,l,function(e,t,s){return e instanceof t?e:s(e,t)}(u,google.maps.LatLng,yt))),{left:n,top:o,width:i,height:r}=this.state.containerStyle;var a,l,p,u,d,c,g,h;h={left:n,top:o,width:i,height:r},((g=s).left!==h.left||g.top!==h.top||g.width!==h.height||g.height!==h.height)&&this.setState({containerStyle:Object.assign(Object.assign({},s),{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=(0,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=Lt(e.position),s=Lt(this.props.position),n=kt(e.bounds),o=kt(this.props.bounds);t===s&&n===o||this.overlayView.draw(),e.mapPaneName!==this.props.mapPaneName&&this.updatePane()}componentWillUnmount(){this.overlayView.setMap(null)}render(){const e=this.state.paneEl;return e?E.createPortal(S.exports.jsx("div",Object.assign({ref:this.containerRef,style:this.state.containerStyle},{children:o.Children.only(this.props.children)})),e):null}}Ct.FLOAT_PANE="floatPane",Ct.MAP_PANE="mapPane",Ct.MARKER_LAYER="markerLayer",Ct.OVERLAY_LAYER="overlayLayer",Ct.OVERLAY_MOUSE_TARGET="overlayMouseTarget",Ct.contextType=O;const xt={onDblClick:"dblclick",onClick:"click"},Mt={opacity(e,t){e.setOpacity(t)}};class Et 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(){P(!!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=D({updaterMap:Mt,eventMap:xt,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{groundOverlay:e}}),this.setGroundOverlayCallback)}componentDidUpdate(e){null!==this.state.groundOverlay&&(I(this.registeredEvents),this.registeredEvents=D({updaterMap:Mt,eventMap:xt,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}}Et.defaultProps={onLoad:function(){}},Et.contextType=O;const wt={},St={data(e,t){e.setData(t)},map(e,t){e.setMap(t)},options(e,t){e.setOptions(t)}};class Tt 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(){P(!!google.maps.visualization,'Did you include prop libraries={["visualization"]} to <LoadScript />? %s',google.maps.visualization),P(!!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=D({updaterMap:St,eventMap:wt,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{heatmapLayer:e}}),this.setHeatmapLayerCallback)}componentDidUpdate(e){I(this.registeredEvents),this.registeredEvents=D({updaterMap:St,eventMap:wt,prevProps:e,nextProps:this.props,instance:this.state.heatmapLayer})}componentWillUnmount(){null!==this.state.heatmapLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.heatmapLayer),I(this.registeredEvents),this.state.heatmapLayer.setMap(null))}render(){return null}}Tt.contextType=O;const Pt={onCloseClick:"closeclick",onPanoChanged:"pano_changed",onPositionChanged:"position_changed",onPovChanged:"pov_changed",onResize:"resize",onStatusChanged:"status_changed",onVisibleChanged:"visible_changed",onZoomChanged:"zoom_changed"},Ot={register(e,t,s){e.registerPanoProvider(t,s)},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 _t 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=D({updaterMap:Ot,eventMap:Pt,prevProps:{},nextProps:this.props,instance:e}),this.setState((()=>({streetViewPanorama:e})),this.setStreetViewPanoramaCallback)}componentDidUpdate(e){null!==this.state.streetViewPanorama&&(I(this.registeredEvents),this.registeredEvents=D({updaterMap:Ot,eventMap:Pt,prevProps:e,nextProps:this.props,instance:this.state.streetViewPanorama}))}componentWillUnmount(){null!==this.state.streetViewPanorama&&(this.props.onUnmount&&this.props.onUnmount(this.state.streetViewPanorama),I(this.registeredEvents),this.state.streetViewPanorama.setVisible(!1))}render(){return null}}_t.contextType=O;class It 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}}It.contextType=O,o.PureComponent;const Dt={onDirectionsChanged:"directions_changed"},Bt={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 zt 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=D({updaterMap:Bt,eventMap:Dt,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{directionsRenderer:e}}),this.setDirectionsRendererCallback)}componentDidUpdate(e){null!==this.state.directionsRenderer&&(I(this.registeredEvents),this.registeredEvents=D({updaterMap:Bt,eventMap:Dt,prevProps:e,nextProps:this.props,instance:this.state.directionsRenderer}))}componentWillUnmount(){null!==this.state.directionsRenderer&&(this.props.onUnmount&&this.props.onUnmount(this.state.directionsRenderer),I(this.registeredEvents),this.state.directionsRenderer&&this.state.directionsRenderer.setMap(null))}render(){return S.exports.jsx(S.exports.Fragment,{})}}zt.contextType=O,o.PureComponent;const Rt={onPlacesChanged:"places_changed"},Ut={bounds(e,t){e.setBounds(t)}};class jt extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.containerElement=(0,o.createRef)(),this.state={searchBox:null},this.setSearchBoxCallback=()=>{null!==this.state.searchBox&&this.props.onLoad&&this.props.onLoad(this.state.searchBox)}}componentDidMount(){if(P(!!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=D({updaterMap:Ut,eventMap:Rt,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{searchBox:t}}),this.setSearchBoxCallback)}}}componentDidUpdate(e){null!==this.state.searchBox&&(I(this.registeredEvents),this.registeredEvents=D({updaterMap:Ut,eventMap:Rt,prevProps:e,nextProps:this.props,instance:this.state.searchBox}))}componentWillUnmount(){null!==this.state.searchBox&&(this.props.onUnmount&&this.props.onUnmount(this.state.searchBox),I(this.registeredEvents))}render(){return S.exports.jsx("div",Object.assign({ref:this.containerElement},{children:o.Children.only(this.props.children)}))}}jt.contextType=O;const At={onPlaceChanged:"place_changed"},Vt={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 Nt extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.containerElement=(0,o.createRef)(),this.state={autocomplete:null},this.setAutocompleteCallback=()=>{null!==this.state.autocomplete&&this.props.onLoad&&this.props.onLoad(this.state.autocomplete)}}componentDidMount(){P(!!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=D({updaterMap:Vt,eventMap:At,prevProps:{},nextProps:this.props,instance:t}),this.setState((()=>({autocomplete:t})),this.setAutocompleteCallback)}}componentDidUpdate(e){I(this.registeredEvents),this.registeredEvents=D({updaterMap:Vt,eventMap:At,prevProps:e,nextProps:this.props,instance:this.state.autocomplete})}componentWillUnmount(){null!==this.state.autocomplete&&I(this.registeredEvents)}render(){return S.exports.jsx("div",Object.assign({ref:this.containerElement,className:this.props.className},{children:o.Children.only(this.props.children)}))}}Nt.defaultProps={className:""},Nt.contextType=O;const Zt=["places"],Wt=function({zoom:e,lat:t,lng:s,showMarker:n,mapType:i,mapStyle:r,customSnazzy:a,googleApiKey:l}){const p={styles:function(e,t=""){return"shades_of_grey"===e?f:"no_label_bright_colors"===e?y:"clean_interface"===e?b:"midnight_commander"===e?L:"apple_maps_esque"===e?k:"cobalt"===e?C:"avocado"===e?x:"night_mode"===e?M:"custom"===e&&""!==t?JSON.parse(t):[]}(r,a),mapTypeId:i},u=isNaN(parseFloat(t))?parseFloat("42.877742"):parseFloat(t),d=isNaN(parseFloat(s))?parseFloat("-97.380979"):parseFloat(s);return(0,o.createElement)(G,{googleMapsApiKey:l,libraries:Zt},(0,o.createElement)(R,{mapContainerStyle:{width:"100%",height:"100%"},center:{lat:u,lng:d},zoom:e?parseInt(e):10,options:p},n?(0,o.createElement)(ae,{position:{lat:u,lng:d}}):null))},Ft=window.kadence.components,Ht=window.kadence.helpers;(0,t.registerBlockType)("kadence/googlemaps",{...r,title:(0,n._x)("Google Maps","block title","kadence-blocks"),description:(0,n.__)("Display google maps on your site.","kadence-blocks"),keywords:[(0,n.__)("google","kadence-blocks"),(0,n.__)("maps","kadence-blocks"),"KB"],icon:{src:e.googleMapsIcon},getEditWrapperProps:e=>({"data-align":e.align}),transforms:{from:[],to:[]},edit:function(e){const{attributes:t,setAttributes:s,className:i,clientId:d}=e,{uniqueID:h,heightDesktop:f,heightTablet:y,heightMobile:b,widthDesktop:L,widthTablet:k,widthMobile:C,marginDesktop:x,marginTablet:M,marginMobile:E,marginUnit:w,paddingDesktop:S,paddingTablet:T,paddingMobile:P,paddingUnit:O,location:_,showMarker:I,mapStyle:D,customSnazzy:B,lat:z,lng:R,zoom:U,apiType:j,mapType:A,mapFilter:V,mapFilterAmount:N,sizeSlug:Z,textAlign:W,kbVersion:F}=t,H=(0,l.useSelect)((e=>e("kadenceblocks/data").getPreviewDeviceType()),[]),[G,$]=(0,p.useState)(""),q=(0,Ht.mouseOverVisualizer)(),K=(0,Ht.mouseOverVisualizer)(),Y=(0,v.isEmpty)(G)?"AIzaSyBAM2o7PiQqwk15LC1XRH2e_KJ-jUa7KYk":G;(0,p.useEffect)((()=>{if("javascript"===j&&!t?.kadenceDynamic?.location?.enable){const e=setTimeout((()=>J(_)),600);return()=>clearTimeout(e)}}),[_,j]);const J=async e=>{try{const t=new window.google.maps.Geocoder,o=await t.geocode({address:e});(0,v.has)(o.results,[0])?s({lat:o.results[0].geometry.location.lat().toString(),lng:o.results[0].geometry.location.lng().toString()}):he((0,n.__)("Could not find location","kadence-blocks")+": "+e,{type:"snackbar"})}catch(t){he((0,n.__)("Could not find location","kadence-blocks")+": "+e,{type:"snackbar"})}},X=(0,Ht.getPreviewSize)(H,void 0!==f?f:"450",void 0!==y?y:"",void 0!==b?b:""),Q=(0,Ht.getPreviewSize)(H,void 0!==L?L:"",void 0!==k?k:"",void 0!==C?C:""),ee=(0,Ht.getPreviewSize)(H,void 0!==x?x[0]:"",void 0!==M?M[0]:"",void 0!==E?E[0]:""),te=(0,Ht.getPreviewSize)(H,void 0!==x?x[1]:"",void 0!==M?M[1]:"",void 0!==E?E[1]:""),se=(0,Ht.getPreviewSize)(H,void 0!==x?x[2]:"",void 0!==M?M[2]:"",void 0!==E?E[2]:""),ne=(0,Ht.getPreviewSize)(H,void 0!==x?x[3]:"",void 0!==M?M[3]:"",void 0!==E?E[3]:""),oe=(0,Ht.getPreviewSize)(H,void 0!==S?S[0]:"",void 0!==T?T[0]:"",void 0!==P?P[0]:""),ie=(0,Ht.getPreviewSize)(H,void 0!==S?S[1]:"",void 0!==T?T[1]:"",void 0!==P?P[1]:""),re=(0,Ht.getPreviewSize)(H,void 0!==S?S[2]:"",void 0!==T?T[2]:"",void 0!==P?P[2]:""),ae=(0,Ht.getPreviewSize)(H,void 0!==S?S[3]:"",void 0!==T?T[3]:"",void 0!==P?P[3]:""),le=(0,Ht.getPreviewSize)(H,void 0!==W&&void 0!==W[0]?W[0]:"",void 0!==W&&void 0!==W[1]?W[1]:"",void 0!==W&&void 0!==W[2]?W[2]:""),[pe,ue]=(0,p.useState)("general"),[de,ce]=(0,p.useState)(!1),ge=()=>ce(!1),{createErrorNotice:he}=(0,l.useDispatch)(a.store),{addUniqueID:me}=(0,l.useDispatch)("kadenceblocks/data"),{isUniqueID:ve,isUniqueBlock:fe,parentData:ye}=(0,l.useSelect)((e=>({isUniqueID:t=>e("kadenceblocks/data").isUniqueID(t),isUniqueBlock:(t,s)=>e("kadenceblocks/data").isUniqueBlock(t,s),parentData:{rootBlock:e("core/block-editor").getBlock(e("core/block-editor").getBlockHierarchyRootClientId(d)),postId:e("core/editor")?.getCurrentPostId()?e("core/editor")?.getCurrentPostId():"",reusableParent:e("core/block-editor").getBlockAttributes(e("core/block-editor").getBlockParentsByBlockName(d,"core/block").slice(-1)[0]),editedPostId:!!e("core/edit-site")&&e("core/edit-site").getEditedPostId()}})),[d]);(0,p.useEffect)((()=>{c()({path:"/wp/v2/settings",method:"GET"}).then((e=>{$(e.kadence_blocks_google_maps_api)})),(0,Ht.setBlockDefaults)("kadence/googlemaps",t);const n=(0,Ht.getPostOrFseId)(e,ye),o=(0,Ht.getUniqueId)(h,d,ve,fe,n);o!==h?(t.uniqueID=o,s({uniqueID:o}),me(o,d)):me(h,d),(!F||F<2)&&s({kbVersion:2})}),[]);const be=e=>{switch(e){case"standard":return 0;case"grayscale":case"invert":return 100;case"saturate":return 150;case"sepia":return 30;default:return 50}},Le=m()({[i]:i,[`size-${Z}`]:Z,[`kadence-googlemaps-${h}`]:h}),ke=(0,u.useBlockProps)({className:Le}),Ce={key:Y,zoom:U,maptype:A,q:_},xe=Object.keys(Ce).map((e=>`${encodeURIComponent(e)}=${encodeURIComponent(Ce[e])}`)).join("&");return(0,o.createElement)("figure",{...ke},(0,o.createElement)(o.Fragment,null,(0,o.createElement)(u.BlockControls,null,(0,o.createElement)(Ft.CopyPasteAttributes,{attributes:t,defaultAttributes:r.attributes,blockSlug:r.name,onPaste:e=>s(e)})),(0,o.createElement)(Ft.KadenceInspectorControls,{blockSlug:"kadence/googlemaps"},(0,o.createElement)(Ft.InspectorControlTabs,{panelName:"googlemaps",setActiveTab:ue,activeTab:pe}),"general"===pe&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(Ft.KadencePanelBody,{title:(0,n.__)("Map Location","kadence-blocks"),blockSlug:"kadence/googlemaps",panelName:"mapLocation"},(0,o.createElement)(Ft.DynamicTextInputControl,{label:(0,n.__)("Location","kadence-blocks"),value:_,onChange:e=>s({location:e}),dynamicAttribute:"location",allowClear:!0,...e}),"javascript"===j&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(g.ToggleControl,{label:(0,n.__)("Show Marker","kadence-blocks"),checked:I,onChange:e=>{s({showMarker:e})}})),(0,o.createElement)(Ft.RangeControl,{label:(0,n.__)("Zoom","kadence-blocks"),value:parseInt(U),onChange:e=>s({zoom:e}),min:1,max:20}),(0,o.createElement)(g.SelectControl,{label:(0,n.__)("Map Type","kadence-blocks"),value:A,onChange:e=>s({mapType:e}),options:[{label:(0,n.__)("Road Map","kadence-blocks"),value:"roadmap"},{label:(0,n.__)("Satellite","kadence-blocks"),value:"satellite"}]}),(0,o.createElement)(g.SelectControl,{label:(0,n.__)("Map Filter","kadence-blocks"),value:V,onChange:e=>s({mapFilter:e,mapFilterAmount:be(e)}),options:[{label:(0,n.__)("None","kadence-blocks"),value:"standard"},{label:(0,n.__)("Grayscale","kadence-blocks"),value:"grayscale"},{label:(0,n.__)("Invert","kadence-blocks"),value:"invert"},{label:(0,n.__)("Saturate","kadence-blocks"),value:"saturate"},{label:(0,n.__)("Sepia","kadence-blocks"),value:"sepia"}]}),"standard"!==V&&(0,o.createElement)(Ft.RangeControl,{label:(0,n.__)("Map Filter Strength ","kadence-blocks"),value:parseInt(N),onChange:e=>s({mapFilterAmount:e}),min:0,max:"saturate"===V?250:100}),"javascript"===j&&"roadmap"===A&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(g.SelectControl,{label:(0,n.__)("Map Style","kadence-blocks"),value:D,onChange:e=>s({mapStyle:e}),options:[{label:(0,n.__)("None","kadence-blocks"),value:"standard"},{label:(0,n.__)("Apple Maps Esque","kadence-blocks"),value:"apple_maps_esque"},{label:(0,n.__)("Avocado","kadence-blocks"),value:"avocado"},{label:(0,n.__)("Clean Interface","kadence-blocks"),value:"clean_interface"},{label:(0,n.__)("Cobalt","kadence-blocks"),value:"cobalt"},{label:(0,n.__)("Midnight Commander","kadence-blocks"),value:"midnight_commander"},{label:(0,n.__)("Night Mode","kadence-blocks"),value:"night_mode"},{label:(0,n.__)("No labels, Bright Colors","kadence-blocks"),value:"no_label_bright_colors"},{label:(0,n.__)("Shades of Grey","kadence-blocks"),value:"shades_of_grey"},{label:(0,n.__)("Custom Snazzy Map","kadence-blocks"),value:"custom"}]})),"javascript"===j&&"roadmap"===A&&"custom"===D&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(g.TextareaControl,{label:(0,n.__)("Custom Map Style","kadence-blocks"),help:(0,n.__)('Copy the "Javascript Style Array" from a Snazzy Maps style',"kadence-blocks"),value:B,onChange:e=>s({customSnazzy:e})}),(0,o.createElement)("a",{href:"https://snazzymaps.com",target:"_blank",rel:"noreferrer"}," ",(0,n.__)("Visit Snazzy Maps","kadence-blocks")," "))),(0,o.createElement)(Ft.KadencePanelBody,{title:(0,n.__)("API Settings","kadence-blocks"),initialOpen:!1,blockSlug:"kadence/googlemaps",panelName:"apiSettings"},(0,n.__)("This block includes an API key, but a custom key can be used. A custom key is required to use the Javascript API.","kadence-blocks"),(0,o.createElement)("br",null),(0,o.createElement)("a",{href:"https://developers.google.com/maps/documentation/embed/get-api-key",target:"_blank",rel:"noreferrer"},(0,n.__)("How to create an API Key","kadence-blocks")),(0,o.createElement)("br",null),(0,o.createElement)("h2",{style:{marginBottom:"0px"}},(0,n.__)("Required Permissions","kadence-blocks")),(0,o.createElement)("ul",{style:{marginTop:"5px"}},"javascript"===j?(0,o.createElement)(o.Fragment,null,(0,o.createElement)("li",null,"- Maps Javascript API"),(0,o.createElement)("li",null,"- Geocoding API")):(0,o.createElement)("li",null,"- Maps Embed API")),(0,o.createElement)("br",null),(0,o.createElement)(g.TextControl,{label:(0,n.__)("API Key","kadence-blocks"),value:G,onChange:e=>$(e)}),(0,o.createElement)(g.Button,{isPrimary:!0,onClick:function(){new wp.api.models.Settings({kadence_blocks_google_maps_api:G}).save().then((e=>{}))},disabled:""===G},(0,n.__)("Save","kadence-blocks")),""!==G&&(0,o.createElement)(o.Fragment,null," ",(0,o.createElement)(g.Button,{isSecondary:!0,onClick:function(){$(""),new wp.api.models.Settings({kadence_blocks_google_maps_api:""}).save().then((e=>{}))},disabled:""===G},(0,n.__)("Remove","kadence-blocks")),(0,o.createElement)("br",null),(0,o.createElement)("br",null),(0,o.createElement)(g.ToggleControl,{label:(0,n.__)("Use Javascript API","kadence-blocks"),checked:"javascript"===j,onChange:e=>{s({apiType:e?"javascript":"embed",mapFilter:"standard"}),e&&ce(!0)}})))),"style"===pe&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(Ft.KadencePanelBody,{title:(0,n.__)("Container Size","kadence-blocks"),panelName:"containerStyle",blockSlug:"kadence/googlemaps"},(0,o.createElement)(Ft.ResponsiveRangeControls,{label:(0,n.__)("Height","kadence-blocks"),value:f,onChange:e=>s({heightDesktop:e}),tabletValue:y||"",onChangeTablet:e=>s({heightTablet:e}),mobileValue:b||"",onChangeMobile:e=>s({heightMobile:e}),min:100,max:1250,step:1,unit:"px",units:["px"],showUnit:!0}),(0,o.createElement)(Ft.ResponsiveRangeControls,{label:(0,n.__)("Max Width","kadence-blocks"),value:L,onChange:e=>s({widthDesktop:e}),tabletValue:k||"",onChangeTablet:e=>s({widthTablet:e}),mobileValue:C||"",onChangeMobile:e=>s({widthMobile:e}),min:100,max:1250,step:1,unit:"px",units:["px"],showUnit:!0,reset:()=>s({widthDesktop:"",widthTablet:"",widthMobile:""})}),(L||k||C)&&(0,o.createElement)(Ft.ResponsiveAlignControls,{label:(0,n.__)("Alignment","kadence-blocks"),value:W&&W[0]?W[0]:"",mobileValue:W&&W[1]?W[1]:"",tabletValue:W&&W[2]?W[2]:"",onChange:e=>s({textAlign:[e,W&&W[1]?W[1]:"",W&&W[2]?W[2]:""]}),onChangeTablet:e=>s({textAlign:[W&&W[0]?W[0]:"",e,W&&W[2]?W[2]:""]}),onChangeMobile:e=>s({textAlign:[W&&W[0]?W[0]:"",W&&W[1]?W[1]:"",e]})}))),"advanced"===pe&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(Ft.KadencePanelBody,{panelName:"kb-google-spacing-settings"},(0,o.createElement)(Ft.ResponsiveMeasureRangeControl,{label:(0,n.__)("Padding","kadence-blocks"),value:S,tabletValue:T,mobileValue:P,onChange:e=>s({paddingDesktop:e}),onChangeTablet:e=>s({paddingTablet:e}),onChangeMobile:e=>s({paddingMobile:e}),min:0,max:"em"===O||"rem"===O?25:999,step:"em"===O||"rem"===O?.1:1,unit:O,units:["px","em","rem","%"],onUnit:e=>s({paddingUnit:e}),onMouseOver:q.onMouseOver,onMouseOut:q.onMouseOut}),(0,o.createElement)(Ft.ResponsiveMeasureRangeControl,{label:(0,n.__)("Margin","kadence-blocks"),value:x,tabletValue:M,mobileValue:E,onChange:e=>s({marginDesktop:e}),onChangeTablet:e=>s({marginTablet:e}),onChangeMobile:e=>s({marginMobile:e}),min:"em"===w||"rem"===w?-25:-999,max:"em"===w||"rem"===w?25:999,step:"em"===w||"rem"===w?.1:1,unit:w,units:["px","em","rem","%","vh"],onUnit:e=>s({marginUnit:e}),onMouseOver:K.onMouseOver,onMouseOut:K.onMouseOut,allowAuto:!0})),(0,o.createElement)("div",{className:"kt-sidebar-settings-spacer"}),(0,o.createElement)(Ft.KadenceBlockDefaults,{attributes:t,defaultAttributes:r.attributes,blockSlug:r.name})))),(0,o.createElement)("div",{style:{marginTop:""!==ee?(0,Ht.getSpacingOptionOutput)(ee,w):void 0,marginRight:""!==te?(0,Ht.getSpacingOptionOutput)(te,w):void 0,marginBottom:""!==se?(0,Ht.getSpacingOptionOutput)(se,w):void 0,marginLeft:""!==ne?(0,Ht.getSpacingOptionOutput)(ne,w):void 0,paddingTop:""!==oe?(0,Ht.getSpacingOptionOutput)(oe,O):void 0,paddingRight:""!==ie?(0,Ht.getSpacingOptionOutput)(ie,O):void 0,paddingBottom:""!==re?(0,Ht.getSpacingOptionOutput)(re,O):void 0,paddingLeft:""!==ae?(0,Ht.getSpacingOptionOutput)(ae,O):void 0}},(0,o.createElement)("div",{className:`kb-map-container kb-map-align-${le}`,style:{}},(0,o.createElement)("div",{className:"kb-map-container-infobar"}),"embed"===j?(0,o.createElement)("div",{style:{webkitFilter:"standard"!==V?V+"("+N+"%)":"none",height:X+"px",maxWidth:""===Q?"100%":Q+"px"}},(0,o.createElement)("iframe",{width:"100%",height:"100%",src:"https://www.google.com/maps/embed/v1/place?"+xe,title:(0,n.__)("Google Map of ","kadence-blocks")+_})):(0,o.createElement)("div",{style:{webkitFilter:"standard"!==V?V+"("+N+"%)":"none",height:X+"px",maxWidth:""===Q?"100%":Q+"px"}},(0,o.createElement)(Wt,{zoom:U,customSnazzy:B,lat:z,lng:R,showMarker:I,mapType:A,mapStyle:D,googleApiKey:G}))),(0,o.createElement)(Ft.SpacingVisualizer,{style:{marginLeft:void 0!==ne?(0,Ht.getSpacingOptionOutput)(ne,w):void 0,marginRight:void 0!==te?(0,Ht.getSpacingOptionOutput)(te,w):void 0,marginTop:void 0!==ee?(0,Ht.getSpacingOptionOutput)(ee,w):void 0,marginBottom:void 0!==se?(0,Ht.getSpacingOptionOutput)(se,w):void 0},type:"inside",forceShow:q.isMouseOver,spacing:[(0,Ht.getSpacingOptionOutput)(oe,O),(0,Ht.getSpacingOptionOutput)(ie,O),(0,Ht.getSpacingOptionOutput)(re,O),(0,Ht.getSpacingOptionOutput)(ae,O)]}),(0,o.createElement)(Ft.SpacingVisualizer,{type:"outside",forceShow:K.isMouseOver,spacing:[(0,Ht.getSpacingOptionOutput)(ee,w),(0,Ht.getSpacingOptionOutput)(te,w),(0,Ht.getSpacingOptionOutput)(se,w),(0,Ht.getSpacingOptionOutput)(ne,w)]})),de&&(0,o.createElement)(g.Modal,{title:(0,n.__)("Google Maps Javascript API","kadence-blocks"),onRequestClose:ge},(0,o.createElement)("div",{style:{maxWidth:"600px"}},(0,n.__)("The Google Maps Javascript API is paid service and costs per request.","kadence-blocks"),(0,o.createElement)("br",null),(0,o.createElement)("a",{href:"https://mapsplatform.google.com/pricing/",target:"_blank",rel:"noreferrer"},(0,n.__)("Click here to view the latest pricing","kadence-blocks")," "),".",(0,o.createElement)("br",null),(0,o.createElement)("br",null),(0,n.__)("This API key you enter is here visible by users, so make sure to restrict the key to specific endpoints and web addresses.","kadence-blocks"),(0,o.createElement)("br",null),(0,o.createElement)("a",{href:"https://developers.google.com/maps/api-security-best-practices#restricting-api-keys",target:"_blank",rel:"noreferrer"},(0,n.__)("More informaiton on that can be found here","kadence-blocks")),(0,o.createElement)("br",null),(0,o.createElement)("br",null),(0,o.createElement)(g.Button,{className:"is-secondary",onClick:()=>{s({apiType:"embed"}),ge()},text:(0,n.__)("Cancel","kadence-blocks")}),"    ",(0,o.createElement)(g.Button,{className:"is-primary",onClick:ge,text:(0,n.__)("Continue","kadence-blocks")}))))},save:function({attributes:e}){const{uniqueID:t,zoom:s,mapType:n,apiType:i,location:r,kbVersion:a}=e;if(a>=2)return null;const l=m()({"kb-google-maps-container":!0,[`kb-google-maps-container${t}`]:!0,[`align${e.align}`]:e.align}),p={key:"KADENCE_GOOGLE_MAPS_KEY",zoom:s,maptype:n,q:r},u=Object.keys(p).map((e=>`${encodeURIComponent(e)}=${encodeURIComponent(p[e])}`)).join("&");return(0,o.createElement)("div",{className:l,"data-mapid":t},"javascript"===i?(0,o.createElement)("div",{id:`kb-google-map${t}`,style:{width:"100%",height:"100%"}}):(0,o.createElement)("iframe",{width:"100%",height:"100%",style:{border:"0"},loading:"lazy",src:"https://www.google.com/maps/embed/v1/place?"+u}))},example:{}})})(),(this.kadence=this.kadence||{})["blocks-googlemaps"]={}})();

Filemanager

Name Type Size Permission Actions
blocks Folder 0755
images Folder 0755
admin-kadence-home.asset.php File 260 B 0644
admin-kadence-home.css File 42.54 KB 0644
admin-kadence-home.js File 331.56 KB 0644
blocks-accordion.asset.php File 275 B 0644
blocks-accordion.css File 12.26 KB 0644
blocks-accordion.js File 65.94 KB 0644
blocks-advanced-form.asset.php File 404 B 0644
blocks-advanced-form.css File 30.99 KB 0644
blocks-advanced-form.js File 420.08 KB 0644
blocks-advancedbtn.asset.php File 288 B 0644
blocks-advancedbtn.css File 8.82 KB 0644
blocks-advancedbtn.js File 124.14 KB 0644
blocks-advancedgallery.asset.php File 315 B 0644
blocks-advancedgallery.css File 29.13 KB 0644
blocks-advancedgallery.js File 153.72 KB 0644
blocks-advancedheading.asset.php File 330 B 0644
blocks-advancedheading.css File 18.39 KB 0644
blocks-advancedheading.js File 126.14 KB 0644
blocks-column.asset.php File 256 B 0644
blocks-column.css File 9.03 KB 0644
blocks-column.js File 95.59 KB 0644
blocks-countdown.asset.php File 281 B 0644
blocks-countdown.css File 4.39 KB 0644
blocks-countdown.js File 65.05 KB 0644
blocks-countup.asset.php File 234 B 0644
blocks-countup.css File 91 B 0644
blocks-countup.js File 39.05 KB 0644
blocks-form.asset.php File 324 B 0644
blocks-form.css File 8.01 KB 0644
blocks-form.js File 295.96 KB 0644
blocks-googlemaps.asset.php File 287 B 0644
blocks-googlemaps.css File 515 B 0644
blocks-googlemaps.js File 152.02 KB 0644
blocks-header.asset.php File 328 B 0644
blocks-header.css File 17.33 KB 0644
blocks-header.js File 295.24 KB 0644
blocks-icon.asset.php File 261 B 0644
blocks-icon.css File 1.2 KB 0644
blocks-icon.js File 42.66 KB 0644
blocks-iconlist.asset.php File 289 B 0644
blocks-iconlist.css File 2.65 KB 0644
blocks-iconlist.js File 55.04 KB 0644
blocks-identity.asset.php File 250 B 0644
blocks-identity.css File 2.88 KB 0644
blocks-identity.js File 78.88 KB 0644
blocks-image.asset.php File 328 B 0644
blocks-image.css File 6.39 KB 0644
blocks-image.js File 64.23 KB 0644
blocks-infobox.asset.php File 303 B 0644
blocks-infobox.css File 8.58 KB 0644
blocks-infobox.js File 208.7 KB 0644
blocks-lottie.asset.php File 244 B 0644
blocks-lottie.css File 276 B 0644
blocks-lottie.js File 399.32 KB 0644
blocks-navigation-link.asset.php File 392 B 0644
blocks-navigation-link.css File 1 B 0644
blocks-navigation-link.js File 111.29 KB 0644
blocks-navigation.asset.php File 316 B 0644
blocks-navigation.css File 154.75 KB 0644
blocks-navigation.js File 185.56 KB 0644
blocks-posts.asset.php File 301 B 0644
blocks-posts.css File 5.83 KB 0644
blocks-posts.js File 27.17 KB 0644
blocks-progress-bar.asset.php File 244 B 0644
blocks-progress-bar.css File 888 B 0644
blocks-progress-bar.js File 68.32 KB 0644
blocks-rowlayout.asset.php File 361 B 0644
blocks-rowlayout.css File 114.04 KB 0644
blocks-rowlayout.js File 819.02 KB 0644
blocks-search.asset.php File 234 B 0644
blocks-search.css File 1.28 KB 0644
blocks-search.js File 28.92 KB 0644
blocks-show-more.asset.php File 244 B 0644
blocks-show-more.css File 189 B 0644
blocks-show-more.js File 11.87 KB 0644
blocks-single-icon.asset.php File 234 B 0644
blocks-single-icon.js File 16.82 KB 0644
blocks-singlebtn.asset.php File 288 B 0644
blocks-singlebtn.js File 67.43 KB 0644
blocks-spacer.asset.php File 234 B 0644
blocks-spacer.css File 1.88 KB 0644
blocks-spacer.js File 22.91 KB 0644
blocks-table.asset.php File 298 B 0644
blocks-table.css File 269 B 0644
blocks-table.js File 43.46 KB 0644
blocks-tableofcontents.asset.php File 285 B 0644
blocks-tableofcontents.css File 7.64 KB 0644
blocks-tableofcontents.js File 40.17 KB 0644
blocks-tabs.asset.php File 300 B 0644
blocks-tabs.css File 14.48 KB 0644
blocks-tabs.js File 180.84 KB 0644
blocks-testimonial.asset.php File 261 B 0644
blocks-testimonial.js File 45.21 KB 0644
blocks-testimonials.asset.php File 261 B 0644
blocks-testimonials.css File 19.51 KB 0644
blocks-testimonials.js File 246.17 KB 0644
blocks-videopopup.asset.php File 273 B 0644
blocks-videopopup.css File 1.72 KB 0644
blocks-videopopup.js File 51.68 KB 0644
components.asset.php File 363 B 0644
components.css File 93.12 KB 0644
components.js File 647.82 KB 0644
early-filters.asset.php File 212 B 0644
early-filters.js File 3.32 KB 0644
extension-block-css.asset.php File 231 B 0644
extension-block-css.js File 503.13 KB 0644
extension-image-picker.asset.php File 219 B 0644
extension-image-picker.css File 6.1 KB 0644
extension-image-picker.js File 88.64 KB 0644
extension-kadence-base.asset.php File 99 B 0644
extension-kadence-base.js File 198 B 0644
extension-stores.asset.php File 103 B 0644
extension-stores.js File 5.86 KB 0644
header-visual-builder.asset.php File 239 B 0644
header-visual-builder.css File 8.93 KB 0644
header-visual-builder.js File 63.86 KB 0644
helpers.asset.php File 187 B 0644
helpers.js File 27.17 KB 0644
icons.asset.php File 91 B 0644
icons.js File 457.37 KB 0644
plugin-kadence-control.asset.php File 374 B 0644
plugin-kadence-control.css File 4.18 KB 0644
plugin-kadence-control.js File 155.14 KB 0644
style-blocks-accordion.css File 10.96 KB 0644
style-blocks-advanced-form.css File 16.23 KB 0644
style-blocks-advancedbtn.css File 2.62 KB 0644
style-blocks-advancedgallery.css File 29.79 KB 0644
style-blocks-advancedheading.css File 196 B 0644
style-blocks-column.css File 1.44 KB 0644
style-blocks-countdown.css File 3.7 KB 0644
style-blocks-form.css File 9.49 KB 0644
style-blocks-header.css File 10.18 KB 0644
style-blocks-icon.css File 1.02 KB 0644
style-blocks-iconlist.css File 3.51 KB 0644
style-blocks-identity.css File 2.41 KB 0644
style-blocks-image.css File 4.5 KB 0644
style-blocks-infobox.css File 7.54 KB 0644
style-blocks-lottie.css File 239 B 0644
style-blocks-navigation.css File 96.07 KB 0644
style-blocks-posts.css File 8.37 KB 0644
style-blocks-progress-bar.css File 813 B 0644
style-blocks-rowlayout.css File 7.83 KB 0644
style-blocks-search.css File 1.28 KB 0644
style-blocks-spacer.css File 2.25 KB 0644
style-blocks-table.css File 112 B 0644
style-blocks-tableofcontents.css File 8.29 KB 0644
style-blocks-tabs.css File 10.23 KB 0644
style-blocks-testimonials.css File 10.54 KB 0644
style-blocks-videopopup.css File 4.59 KB 0644