(()=>{function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,e){for(var n=0;n .jet-map-listing, #").concat(c," > .elementor-widget-container > .jet-map-listing")),document.addEventListener("jet-engine/maps/update-sync-bounds",r.updateBounds.bind(r)),document.addEventListener("jet-engine/maps/init-sync-bounds",r.saveDefaults.bind(r)),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&i(t,e)}(u,window.JetSmartFilters.filters.BasicFilter),c=u,l=[{key:"updateBounds",value:function(t){if(t.detail.div===document.querySelector(this.mapSelector)){this.mapDefaults||this.saveDefaults(t),this.mapDefaults.map.jetPlugins.autoCenterBlock=!0;var e=this.dataValue||{};this.dataValue=t.detail.bounds,JSON.stringify(e)===JSON.stringify(this.dataValue)&&(this.mapDefaults.map.jetPlugins.autoCenterBlock=!1),this.wasChanged?this.wasChanged():this.wasСhanged()}}},{key:"saveDefaults",value:function(t){if(t.detail.div===document.querySelector(this.mapSelector)){this.mapDefaults=t.detail;var e=this.mapDefaults.map;this.mapDefaults.center=e.getCenter(),this.mapDefaults.zoom=e.getZoom()}}},{key:"reset",value:function(){var t,e,n;(t=u,e=this,"function"==typeof(n=r(o(1&3?t.prototype:t),"reset",e))?function(t){return n.apply(e,t)}:n)([]),this.mapDefaults&&(this.mapDefaults.map.jetPlugins.autoCenterBlock=!1)}},{key:"processData",value:function(){}}],l&&e(c.prototype,l),Object.defineProperty(c,"prototype",{writable:!1}),c;var c,l}()};document.addEventListener("DOMContentLoaded",function(t){u()})}(jQuery)})();