(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8311],{65771:function(e,t,i){Promise.resolve().then(i.bind(i,86489))},86489:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return m}});var l=i(57437),n=i(57818),r=i(2265),s=i(36920),a=i(75475),d=i(4356),o=i(56695),c=i(38856),u=i(48203),f=i(5071),g=i(20206),x=i(7951),h=i(26184);let p=(0,n.default)(()=>Promise.all([i.e(2733),i.e(4212),i.e(3024)]).then(i.bind(i,83024)),{loadableGenerated:{webpack:()=>[83024]},ssr:!1});function m(){let[e,t]=(0,r.useState)(null),i=(0,r.useMemo)(()=>({latitude:{is_null:!1},longitude:{is_null:!1}}),[]),{items:n,total:m,filter:j,pagination:Z,isLoading:b}=(0,d.Z)({pageSize:500,filter:i,fixed:["latitude","longitude"]});return(0,l.jsx)(f.Z,{isLoading:b,Filtering:(0,l.jsxs)("div",{className:"flex flex-row",children:[(0,l.jsx)(c.Z,{filterDef:u.Z,button:"Apply filters",mode:"text",onSetFilterField:j.set}),(0,l.jsx)(o.Z,{filterDef:u.Z,filter:j.filter,onClearFilterField:j.clear,fixedFilterFields:j.fixed})]}),Pagination:(0,l.jsx)(s.Z,{pagination:Z,pageSizeOptions:[100,200,500,1e3,2e3,5e3,-1]}),Counts:(0,l.jsx)(g.Z,{total:m,startIndex:Z.page*Z.pageSize,endIndex:(Z.page+1)*Z.pageSize}),children:(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,l.jsx)(p,{recordings:n,onClickRecording:t}),(0,l.jsx)("div",{className:"col-start-2 h-full grow",children:null==e?(0,l.jsx)(h.Z,{outerClassName:"h-full",className:"h-full grow",children:"Select a Recording by clicking on the map."}):(0,l.jsx)(x.Z,{recording:e,SpectrogramRecording:a.Z,height:400})})]})})}},26184:function(e,t,i){"use strict";i.d(t,{Z:function(){return s}});var l=i(57437),n=i(56800),r=i.n(n);function s(e){let{children:t,outerClassName:i="p-8",className:n}=e;return(0,l.jsx)("div",{className:"".concat(i," w-full"),children:(0,l.jsx)("div",{className:r()(n,"flex flex-col justify-center items-center p-4 w-full text-center rounded-md border border-dashed border-stone-500 text-stone-500"),children:t})})}}},function(e){e.O(0,[5501,7819,5660,9772,8472,1336,5657,9226,932,6259,3215,4880,2817,4329,6151,152,8026,9885,595,7068,2489,9527,4593,3516,2962,7695,4890,2971,7023,1744],function(){return e(e.s=65771)}),_N_E=e.O()}]);