(this["webpackJsonpuniadmin-ui"]=this["webpackJsonpuniadmin-ui"]||[]).push([[39,38],{558:function(e,t,a){},559:function(e,t,a){e.exports={wrapper:"wrapper--2nkj5"}},749:function(e,t,a){"use strict";a.r(t);a(52),a(139),a(645);var n=a(209),r=(a(149),a(100)),l=a(0),o=a.n(l),c=(a(11),a(1)),i=(a(558),a(559)),u=a.n(i),p=a(10),m=a.n(p),b=a(249),h=a(332),s=a(250),d=a(723),E=a(2),f=m.a.lazy((function(){return Promise.all([a.e(0),a.e(1),a.e(2),a.e(3),a.e(21)]).then(a.bind(null,727))})),g=m.a.lazy((function(){return Promise.all([a.e(0),a.e(1),a.e(2),a.e(3),a.e(15)]).then(a.bind(null,719))})),y=m.a.lazy((function(){return Promise.all([a.e(10),a.e(22)]).then(a.bind(null,681))})),v=m.a.lazy((function(){return Promise.all([a.e(0),a.e(2),a.e(3),a.e(4),a.e(27)]).then(a.bind(null,726))})),x=m.a.lazy((function(){return Promise.all([a.e(0),a.e(1),a.e(2),a.e(3),a.e(11)]).then(a.bind(null,729))})),w=m.a.lazy((function(){return Promise.all([a.e(3),a.e(10),a.e(16)]).then(a.bind(null,730))})),z=m.a.lazy((function(){return a.e(12).then(a.bind(null,683))})),P=m.a.lazy((function(){return Promise.all([a.e(0),a.e(1),a.e(2),a.e(3),a.e(24)]).then(a.bind(null,721))}));t.default=function(){var e=Object(s.d)((function(){var e,t=E.a.groupStore.activeGroup;if(t)switch(t.type){case"some":return t.active_id;case"all":default:return null===(e=E.a.groupStore.rootGroup)||void 0===e?void 0:e.id}}));return Object(p.useEffect)((function(){Object(c.a)(o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,E.a.systemSettingsStore.singleLabCheck();case 2:case"end":return e.stop()}}),e)})))()}),[]),m.a.createElement(n.a,{locale:d.a},m.a.createElement("div",{className:u.a.wrapper},m.a.createElement(m.a.Suspense,{fallback:m.a.createElement(r.a,null)},m.a.createElement(b.a,null,m.a.createElement(h.d,null,m.a.createElement(h.b,{exact:!0,path:["/","/group"]},m.a.createElement(h.a,{to:"/group/tree"})),m.a.createElement(h.b,{exact:!0,path:"/group/type"},m.a.createElement(h.a,{to:"/group/type/".concat(e)})),m.a.createElement(h.b,{path:"/group/:tab(tree|type)?/:groupId?",component:f}),m.a.createElement(h.b,{path:"/apps-auth/:tab?",component:z}),m.a.createElement(h.b,{exact:!0,path:"/auth"},m.a.createElement(h.a,{to:"/auth/role-manage"})),m.a.createElement(h.b,{path:["/auth/:tab(role-manage)/:dirId/role/:roleId","/auth/:tab(role-manage)/:dirId?","/auth/:tab(smart)/:roleId?","/auth/:tab(admin)"],component:g}),m.a.createElement(h.b,{exact:!0,path:"/auth/:tab"},m.a.createElement(h.a,{to:"/auth/role-manage"})),m.a.createElement(h.b,{path:"/location/list/room/:id",component:P}),m.a.createElement(h.b,{path:["/location/:tab","/location"],component:y}),m.a.createElement(h.b,{exact:!0,path:"/operation-log"},m.a.createElement(h.a,{to:"log"})),m.a.createElement(h.b,{path:"/log",component:v}),m.a.createElement(h.b,{exact:!0,path:"/application"},m.a.createElement(h.a,{to:"/application/navigation"})),m.a.createElement(h.b,{path:"/application/:title",component:x}),m.a.createElement(h.b,{path:["/configuration/:title","/configuration"],component:w}))))))}}}]);