(self.webpackChunk_vtex_sales_app=self.webpackChunk_vtex_sales_app||[]).push([[921],{57242:function(t,e,n){"use strict";n.r(e),n.d(e,{CheckoutInstoreRoutes:function(){return _}});var a=n(24125),r=n(2784),c=n(14479),o=n(79325),u=n(5808),p=n(30467),s=n(17747),l=n(43648),i=n(17934),h=n(36166),f=(0,i.Z)((function(t){return(0,h.Z)(t.length,(function(e,n){var a=Array.prototype.slice.call(arguments,0);return a[0]=n,a[1]=e,t.apply(this,a)}))})),m=n(68283),g=(0,l.Z)((function(t,e){return(0,m.Z)(f(s.Z)(t),e)})),Z=n(99654),v=n(21949),E=n(65330),C=n(13386),k=[].concat((0,a.Z)(c.routesConfigs.sale),(0,a.Z)(c.routesConfigs.orderManagement),(0,a.Z)(c.routesConfigs.config),(0,a.Z)(c.routesConfigs.returnExchange)).map((function(t){var e=t.path.startsWith("/")?t.path:"/"+t.path;return Object.assign({},t,{path:e.replace(/\((.*?)\)/g,"$1?")})})).filter((function(t){return"/"!==t.path&&!E.B[t.path]})),y=function(t){var e=t.component,n=(0,p.UO)();return r.createElement(o.Z,null,r.createElement(e,{params:n}))},_=function(){return r.createElement(r.Fragment,null,k.map((function(t){var e=g([t],k).some((function(e){return e.path.startsWith(t.path)}));return r.createElement(v.M8,{key:t.path,path:t.path,exact:e},r.createElement(y,{path:t.path,component:t.component}),"/payment"===t.path&&r.createElement(C.cl,null,r.createElement("div",{className:(0,Z.oBM)({float:"right"})},r.createElement(u.L,{variant:"tertiary"}))))})))}}}]);
//# sourceMappingURL=CheckoutInstoreRoutes-e5347d98807e6e102e75.js.map