"use strict";(this.webpackChunktocco_admin=this.webpackChunktocco_admin||[]).push([[92789],{92789(e,r,t){t.r(r),t.d(r,{default:()=>C});var n=t(58156),o=t.n(n),s=t(24843),a=t(71468),c=t(74978),i=t(27948),l=t(26396),u=t.n(l),p=t(22056),f=t.n(p),d=t(35570),b=t(59899),h=t(15564),y=t(66789),O=t(74848);function g(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function m(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?g(Object(t),!0).forEach((function(r){u()(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):g(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}var v=function(e){var r=e.entityName,t=e.entityKeys,n=e.children,o=t.map((function(e){return{entityName:r,key:e}}));return(0,O.jsx)(h.A,{to:"/docs?rootNodes=".concat(JSON.stringify(o)),target:"_blank",children:n})};const j=function(e){var r=(0,d.ok)(),t=f()(r,1)[0],n=(0,d.Zp)(),o=t.get("rootNodes");return(0,O.jsx)(b.default,m(m(m({},e),{},{routerType:"inherit",navigationStrategy:m(m({},(0,y.Ay)(n,e.baseRoute)),{},{ListLink:v})},o&&{rootNodes:JSON.parse(o)}),{},{searchFormCollapsed:e.searchFormCollapsed,onSearchFormCollapsedChange:function(r){var t=r.collapsed;e.saveUserPreferences({"admin.list.searchFormCollapsed":t})},scrollBehaviour:"inline"}))};var P={saveUserPreferences:c.bM,setPendingChanges:i.p1};const C={container:(0,a.Ng)((function(e,r){return{searchFormCollapsed:o()(e.preferences.userPreferences,"admin.list.searchFormCollapsed",null),baseRoute:e.input.baseRoute}}),P)((0,s.Ay)(j))}}}]);