PageSourceSearch

https://www.van-poelgeest.nl/content/cache/min/1/content/plugins/d…locations-map-block-store.js?ver=1790146317

js van-poelgeest.nl collected 2026-10-04 20:54:47 UTC 2,473 bytes, 1 lines download raw bytes

1(()=>{"use strict";var e={1437(e,t,o){var r,s,a;t.M=void 0;const i=o(9864),n=o(1612),l=o(9615),c=o(2650);t.M=(0,i.createReduxStore)("powerkraut-locations-map-store",{reducer:n.reducer,actions:l.actions,selectors:c.selectors}),(null===(r=window.pkBlockLocations)||void 0===r?void 0:r.stores)||((0,i.register)(t.M),window.pkBlockLocations=null!==(s=window.pkBlockLocations)&&void 0!==s?s:{},window.pkBlockLocations.stores=null!==(a=window.pkBlockLocations.stores)&&void 0!==a?a:{},window.pkBlockLocations.stores.locationsMap=t.M)},1502(e,t){var o,r;Object.defineProperty(t,"__esModule",{value:!0}),t.FilterNames=t.Hook=void 0,function(e){e.filters="PowerKrautLocationsMapFilters",e.filterBrands="PowerKrautLocationsMapFilterBrands",e.infoWindowContent="PowerKrautLocationsMapInfoWindowContent",e.infoWindowHeader="PowerKrautLocationsMapInfoWindowHeader",e.markerAfterCreate="PowerKrautLocationsMapMarkerAfterCreate"}(o||(t.Hook=o={})),function(e){e.brand="brand",e.postalCode="postalCode"}(r||(t.FilterNames=r={}))},1612(e,t,o){Object.defineProperty(t,"__esModule",{value:!0}),t.reducer=function(e=r.DEFAULT_STATE,t){switch(t.type){case"SET_FILTER":const o=t;return Object.assign(Object.assign({},e),{filters:Object.assign(Object.assign({},e.filters),{[o.data.name]:o.data.value})});case"SET_LOCATIONS":const r=t;return Object.assign(Object.assign({},e),{locations:r.data.locations});default:return e}};const r=o(6069)},2650(e,t,o){Object.defineProperty(t,"__esModule",{value:!0}),t.selectors=void 0;const r=o(1502);t.selectors={getFilters:e=>e.filters,getFilter(e,t){var o;return null!==(o=e.filters[t])&&void 0!==o?o:null},getLocations:e=>e.locations,getFilteredLocations(e){let t=e.locations.filter(t=>!e.filters[r.FilterNames.brand]||t.brands.indexOf(e.filters[r.FilterNames.brand])>-1);if(e.filters[r.FilterNames.postalCode]){let e=null,o=1/0;t.forEach(t=>{t.distance&&t.distance<o&&(e=t.id,o=t.distance)}),e&&(t=t.filter(t=>t.id===e))}return t}}},6069(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_STATE=void 0,t.DEFAULT_STATE={filters:{},locations:[]}},9615(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.actions=void 0,t.actions={setFilter:function(e,t){return{type:"SET_FILTER",data:{name:e,value:t}}},setLocations:function(e){return{type:"SET_LOCATIONS",data:{locations:e}}}}},9864(e){e.exports=wp.data}},t={};!function o(r){var s=t[r];if(void 0!==s)return s.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,o),a.exports}(1437)})()

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.