"use strict";(self.webpackChunkautonami=self.webpackChunkautonami||[]).push([[7542],{7542(e,t,n){n.r(t),n.d(t,{default:()=>f});var a=n(86087),r=n(18633),l=n(79946),c=n(14950),m=n(83583),u=n(39078),i=(0,a.lazy)(function(){return Promise.all([n.e(87),n.e(4919),n.e(3745),n.e(2007)]).then(n.bind(n,72007))}),s=(0,a.lazy)(function(){return n.e(1650).then(n.bind(n,11650))}),o=(0,a.lazy)(function(){return Promise.resolve().then(n.bind(n,65750))}),E=(0,a.lazy)(function(){return Promise.all([n.e(87),n.e(4886)]).then(n.bind(n,79534))}),d=(0,a.lazy)(function(){return n.e(5343).then(n.bind(n,45343))}),h=(0,a.lazy)(function(){return n.e(6363).then(n.bind(n,36363))});const f=function(){var e=(0,u.Zr)(),t=e.appState,n=e.isFeaturesLocked;return(0,a.createElement)("div",{className:"bwf-template-main-wrapper"},(0,a.createElement)("div",{className:"bwf-template-section-sidebar"},(0,a.createElement)(l.A,{showHeaderLabal:!0})),(0,a.createElement)("div",{className:"bwf-template-section-body"},(0,a.createElement)(a.Suspense,{fallback:(0,a.createElement)(a.Fragment,null)},(0,a.createElement)(r.dO,null,(0,a.createElement)(r.qh,{exact:!0,path:"/templates",render:function(){return(0,a.createElement)(i,null)}}),t!==u.G1.LITE&&(0,a.createElement)(r.qh,{exact:!0,path:"/template/:id/",render:function(e){return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(s,e))}}),(0,a.createElement)(r.qh,{exact:!0,path:"/global-style",render:function(e){return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(o,e))}}),(0,a.createElement)(r.qh,{exact:!0,path:"/history",render:function(e){return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(E,e))}}),(0,m.Nj)()&&(0,a.createElement)(a.Fragment,null,!n&&(0,a.createElement)(r.qh,{exact:!0,path:["/transactional-email/:slug/","/transactional-email/:slug/:language"],render:function(e){return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(h,e))}}),(0,a.createElement)(r.qh,{exact:!0,path:["/transactional-emails","/transactional-emails/:tab"],render:function(e){return(0,a.createElement)(d,e)}})),(0,a.createElement)(r.qh,{component:c.default})))))}}}]);