(window.webpackJsonp=window.webpackJsonp||[]).push([[40],{1185:function(e,n,t){"use strict";t.r(n);var c=t(0),r=t(127),a=t(2),l=t(30),u=t(31),i=t(3),s=(t(596),t(18));function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var c in t)({}).hasOwnProperty.call(t,c)&&(e[c]=t[c])}return e}).apply(null,arguments)}var f=Object(c.lazy)((function(){return Promise.all([t.e(2),t.e(4),t.e(7),t.e(0),t.e(28)]).then(t.bind(null,958))})),b=Object(c.lazy)((function(){return Promise.all([t.e(2),t.e(4),t.e(0),t.e(5),t.e(27)]).then(t.bind(null,848))})),d=Object(c.lazy)((function(){return Promise.all([t.e(2),t.e(4),t.e(0),t.e(5),t.e(27)]).then(t.bind(null,850))})),O=Object(c.lazy)((function(){return Promise.all([t.e(2),t.e(4),t.e(0),t.e(5),t.e(27)]).then(t.bind(null,849))}));n.default=function(e){var n=e.funnelId,t=Object(l.a)().fetch,j=u.a.getFunnelTitle(),m=Object(r.useParams)(),h=Object(s.b)()._b8285968;return Object(c.useEffect)((function(){var e=n||m.id;h&&e&&Object(a.isEmpty)(j)&&t(e)}),[]),Object(c.createElement)(r.Switch,null,Object(c.createElement)(r.Route,{exact:!0,path:["/funnels/:id/analytics","/funnels/:id/analytics/funnels","/store-checkout/analytics","/store-checkout/analytics/funnels"],render:function(e){return Object(c.createElement)(f,o({},e,{funnelId:n}))}}),Object(c.createElement)(r.Route,{exact:!0,path:["/funnels/:id/analytics/conversion","/store-checkout/analytics/conversion"],render:function(e){return Object(c.createElement)(b,o({},e,{funnelId:n}))}}),Object(c.createElement)(r.Route,{exact:!0,path:["/funnels/:id/analytics/utm-campaigns","/store-checkout/analytics/utm-campaigns"],render:function(e){return Object(c.createElement)(O,o({},e,{funnelId:n}))}}),Object(c.createElement)(r.Route,{exact:!0,path:["/funnels/:id/analytics/referrers","/store-checkout/analytics/referrers"],render:function(e){return Object(c.createElement)(d,o({},e,{funnelId:n}))}}),i.v)}},596:function(e,n,t){}}]);