"use strict";(self.webpackChunk_wcAdmin_webpackJsonp=self.webpackChunk_wcAdmin_webpackJsonp||[]).push([[6743],{43707:function(e,t,r){r.d(t,{Z:function(){return w}});var o=r(69307),a=r(65736),l=r(94333),c=r(69771),n=r(9818),i=r(92819),s=r(7862),m=r.n(s),u=r(86020),d=r(67221),p=r(81921),_=r(17844),f=r(5945),y=r(10431);function g(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e||0===e.length)return null;const o=e.slice(0),a=o.pop();if(a.showFilters(t,r)){const e=(0,y.flattenFilters)(a.filters),r=t[a.param]||a.defaultValue||"all";return(0,i.find)(e,{value:r})}return g(o,t,r)}function h(e){return t=>(0,c.format)(e,t)}class b extends o.Component{shouldComponentUpdate(e){return e.isRequesting!==this.props.isRequesting||e.primaryData.isRequesting!==this.props.primaryData.isRequesting||e.secondaryData.isRequesting!==this.props.secondaryData.isRequesting||!(0,i.isEqual)(e.query,this.props.query)}getItemChartData(){const{primaryData:e,selectedChart:t}=this.props;return e.data.intervals.map((function(e){const r={};return e.subtotals.segments.forEach((function(e){if(e.segment_label){const o=r[e.segment_label]?e.segment_label+" (#"+e.segment_id+")":e.segment_label;r[e.segment_id]={label:o,value:e.subtotals[t.key]||0}}})),{date:(0,c.format)("Y-m-d\\TH:i:s",e.date_start),...r}}))}getTimeChartData(){const{query:e,primaryData:t,secondaryData:r,selectedChart:o,defaultDateRange:a}=this.props,l=(0,p.getIntervalForQuery)(e,a),{primary:n,secondary:i}=(0,p.getCurrentDates)(e,a);return t.data.intervals.map((function(t,a){const s=(0,p.getPreviousDate)(t.date_start,n.after,i.after,e.compare,l),m=r.data.intervals[a];return{date:(0,c.format)("Y-m-d\\TH:i:s",t.date_start),primary:{label:`${n.label} (${n.range})`,labelDate:t.date_start,value:t.subtotals[o.key]||0},secondary:{label:`${i.label} (${i.range})`,labelDate:s.format("YYYY-MM-DD HH:mm:ss"),value:m&&m.subtotals[o.key]||0}}}))}getTimeChartTotals(){const{primaryData:e,secondaryData:t,selectedChart:r}=this.props;return{primary:(0,i.get)(e,["data","totals",r.key],null),secondary:(0,i.get)(t,["data","totals",r.key],null)}}renderChart(e,t,r,l){const{emptySearchResults:c,filterParam:n,interactiveLegend:i,itemsLabel:s,legendPosition:m,path:_,query:f,selectedChart:y,showHeaderControls:g,primaryData:b,defaultDateRange:w}=this.props,v=(0,p.getIntervalForQuery)(f,w),C=(0,p.getAllowedIntervalsForQuery)(f,w),S=(0,p.getDateFormatsForInterval)(v,b.data.intervals.length,{type:"php"}),R=c?(0,a.__)("No data for the current search","woocommerce"):(0,a.__)("No data for the selected date range","woocommerce"),{formatAmount:x,getCurrencyConfig:D}=this.context;return(0,o.createElement)(u.Chart,{allowedIntervals:C,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:R,filterParam:n,interactiveLegend:i,interval:v,isRequesting:t,itemsLabel:s,legendPosition:m,legendTotals:l,mode:e,path:_,query:f,screenReaderFormat:h(S.screenReaderFormat),showHeaderControls:g,title:y.label,tooltipLabelFormat:h(S.tooltipLabelFormat),tooltipTitle:"time-comparison"===e&&y.label||null,tooltipValueFormat:(0,d.getTooltipValueFormat)(y.type,x),chartType:(0,p.getChartTypeForQuery)(f),valueType:y.type,xFormat:h(S.xFormat),x2Format:h(S.x2Format),currency:D()})}renderItemComparison(){const{isRequesting:e,primaryData:t}=this.props;if(t.isError)return(0,o.createElement)(f.Z,null);const r=e||t.isRequesting,a=this.getItemChartData();return this.renderChart("item-comparison",r,a)}renderTimeComparison(){const{isRequesting:e,primaryData:t,secondaryData:r}=this.props;if(!t||t.isError||r.isError)return(0,o.createElement)(f.Z,null);const a=e||t.isRequesting||r.isRequesting,l=this.getTimeChartData(),c=this.getTimeChartTotals();return this.renderChart("time-comparison",a,l,c)}render(){const{mode:e}=this.props;return"item-comparison"===e?this.renderItemComparison():this.renderTimeComparison()}}b.contextType=_.CurrencyContext,b.propTypes={filters:m().array,isRequesting:m().bool,itemsLabel:m().string,limitProperties:m().array,mode:m().string,path:m().string.isRequired,primaryData:m().object,query:m().object.isRequired,secondaryData:m().object,selectedChart:m().shape({key:m().string.isRequired,label:m().string.isRequired,order:m().oneOf(["asc","desc"]),orderby:m().string,type:m().oneOf(["average","number","currency"]).isRequired}).isRequired},b.defaultProps={isRequesting:!1,primaryData:{data:{intervals:[]},isError:!1,isRequesting:!1},secondaryData:{data:{intervals:[]},isError:!1,isRequesting:!1}};var w=(0,l.compose)((0,n.withSelect)(((e,t)=>{const{charts:r,endpoint:o,filters:a,isRequesting:l,limitProperties:c,query:n,advancedFilters:s}=t,m=c||[o],u=g(a,n),p=(0,i.get)(u,["settings","param"]),_=t.mode||function(e,t){if(e&&t){const r=(0,i.get)(e,["settings","param"]);if(!r||Object.keys(t).includes(r))return(0,i.get)(e,["chartMode"])}return null}(u,n)||"time-comparison",{woocommerce_default_date_range:f}=e(d.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings"),y=e(d.REPORTS_STORE_NAME),h={mode:_,filterParam:p,defaultDateRange:f};if(l)return h;const b=m.some((e=>n[e]&&n[e].length));if(n.search&&!b)return{...h,emptySearchResults:!0};const w=r&&r.map((e=>e.key)),v=(0,d.getReportChartData)({endpoint:o,dataType:"primary",query:n,selector:y,limitBy:m,filters:a,advancedFilters:s,defaultDateRange:f,fields:w});if("item-comparison"===_)return{...h,primaryData:v};const C=(0,d.getReportChartData)({endpoint:o,dataType:"secondary",query:n,selector:y,limitBy:m,filters:a,advancedFilters:s,defaultDateRange:f,fields:w});return{...h,primaryData:v,secondaryData:C}})))(b)},32217:function(e,t,r){r.d(t,{O3:function(){return n},be:function(){return s},u8:function(){return i}});var o=r(65736),a=r(92694),l=r(68734),c=r(79205);const n=(0,a.applyFilters)("woocommerce_admin_orders_report_charts",[{key:"orders_count",label:(0,o.__)("Orders","woocommerce"),type:"number"},{key:"net_revenue",label:(0,o.__)("Net sales","woocommerce"),order:"desc",orderby:"net_total",type:"currency"},{key:"avg_order_value",label:(0,o.__)("Average order value","woocommerce"),type:"currency"},{key:"avg_items_per_order",label:(0,o.__)("Average items per order","woocommerce"),order:"desc",orderby:"num_items_sold",type:"average"}]),i=(0,a.applyFilters)("woocommerce_admin_orders_report_filters",[{label:(0,o.__)("Show","woocommerce"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:()=>!0,filters:[{label:(0,o.__)("All orders","woocommerce"),value:"all"},{label:(0,o.__)("Advanced filters","woocommerce"),value:"advanced"}]}]),s=(0,a.applyFilters)("woocommerce_admin_orders_report_advanced_filters",{title:(0,o._x)("Orders match {{select /}} filters","A sentence describing filters for Orders. See screen shot for context: https://cloudup.com/cSsUY9VeCVJ","woocommerce"),filters:{status:{labels:{add:(0,o.__)("Order Status","woocommerce"),remove:(0,o.__)("Remove order status filter","woocommerce"),rule:(0,o.__)("Select an order status filter match","woocommerce"),title:(0,o.__)("{{title}}Order Status{{/title}} {{rule /}} {{filter /}}","woocommerce"),filter:(0,o.__)("Select an order status","woocommerce")},rules:[{value:"is",label:(0,o._x)("Is","order status","woocommerce")},{value:"is_not",label:(0,o._x)("Is Not","order status","woocommerce")}],input:{component:"SelectControl",options:Object.keys(c.rq).map((e=>({value:e,label:c.rq[e]})))}},product:{labels:{add:(0,o.__)("Products","woocommerce"),placeholder:(0,o.__)("Search products","woocommerce"),remove:(0,o.__)("Remove products filter","woocommerce"),rule:(0,o.__)("Select a product filter match","woocommerce"),title:(0,o.__)("{{title}}Product{{/title}} {{rule /}} {{filter /}}","woocommerce"),filter:(0,o.__)("Select products","woocommerce")},rules:[{value:"includes",label:(0,o._x)("Includes","products","woocommerce")},{value:"excludes",label:(0,o._x)("Excludes","products","woocommerce")}],input:{component:"Search",type:"products",getLabels:l.oC}},variation:{labels:{add:(0,o.__)("Variations","woocommerce"),placeholder:(0,o.__)("Search variations","woocommerce"),remove:(0,o.__)("Remove variations filter","woocommerce"),rule:(0,o.__)("Select a variation filter match","woocommerce"),title:(0,o.__)("{{title}}Variation{{/title}} {{rule /}} {{filter /}}","woocommerce"),filter:(0,o.__)("Select variation","woocommerce")},rules:[{value:"includes",label:(0,o._x)("Includes","variations","woocommerce")},{value:"excludes",label:(0,o._x)("Excludes","variations","woocommerce")}],input:{component:"Search",type:"variations",getLabels:l.uC}},coupon:{labels:{add:(0,o.__)("Coupon Codes","woocommerce"),placeholder:(0,o.__)("Search coupons","woocommerce"),remove:(0,o.__)("Remove coupon filter","woocommerce"),rule:(0,o.__)("Select a coupon filter match","woocommerce"),title:(0,o.__)("{{title}}Coupon code{{/title}} {{rule /}} {{filter /}}","woocommerce"),filter:(0,o.__)("Select coupon codes","woocommerce")},rules:[{value:"includes",label:(0,o._x)("Includes","coupon code","woocommerce")},{value:"excludes",label:(0,o._x)("Excludes","coupon code","woocommerce")}],input:{component:"Search",type:"coupons",getLabels:l.hQ}},customer_type:{labels:{add:(0,o.__)("Customer type","woocommerce"),remove:(0,o.__)("Remove customer filter","woocommerce"),rule:(0,o.__)("Select a customer filter match","woocommerce"),title:(0,o.__)("{{title}}Customer is{{/title}} {{filter /}}","woocommerce"),filter:(0,o.__)("Select a customer type","woocommerce")},input:{component:"SelectControl",options:[{value:"new",label:(0,o.__)("New","woocommerce")},{value:"returning",label:(0,o.__)("Returning","woocommerce")}],defaultOption:"new"}},refunds:{labels:{add:(0,o.__)("Refunds","woocommerce"),remove:(0,o.__)("Remove refunds filter","woocommerce"),rule:(0,o.__)("Select a refund filter match","woocommerce"),title:(0,o.__)("{{title}}Refunds{{/title}} {{filter /}}","woocommerce"),filter:(0,o.__)("Select a refund type","woocommerce")},input:{component:"SelectControl",options:[{value:"all",label:(0,o.__)("All","woocommerce")},{value:"partial",label:(0,o.__)("Partially refunded","woocommerce")},{value:"full",label:(0,o.__)("Fully refunded","woocommerce")},{value:"none",label:(0,o.__)("None","woocommerce")}],defaultOption:"all"}},tax_rate:{labels:{add:(0,o.__)("Tax Rates","woocommerce"),placeholder:(0,o.__)("Search tax rates","woocommerce"),remove:(0,o.__)("Remove tax rate filter","woocommerce"),rule:(0,o.__)("Select a tax rate filter match","woocommerce"),title:(0,o.__)("{{title}}Tax Rate{{/title}} {{rule /}} {{filter /}}","woocommerce"),filter:(0,o.__)("Select tax rates","woocommerce")},rules:[{value:"includes",label:(0,o._x)("Includes","tax rate","woocommerce")},{value:"excludes",label:(0,o._x)("Excludes","tax rate","woocommerce")}],input:{component:"Search",type:"taxes",getLabels:l.FI}},attribute:{allowMultiple:!0,labels:{add:(0,o.__)("Attribute","woocommerce"),placeholder:(0,o.__)("Search attributes","woocommerce"),remove:(0,o.__)("Remove attribute filter","woocommerce"),rule:(0,o.__)("Select a product attribute filter match","woocommerce"),title:(0,o.__)("{{title}}Attribute{{/title}} {{rule /}} {{filter /}}","woocommerce"),filter:(0,o.__)("Select attributes","woocommerce")},rules:[{value:"is",label:(0,o._x)("Is","product attribute","woocommerce")},{value:"is_not",label:(0,o._x)("Is Not","product attribute","woocommerce")}],input:{component:"ProductAttribute"}}}})},69629:function(e,t,r){r.d(t,{I:function(){return a}});var o=r(65736);function a(e){return[e.country,e.state,e.name||(0,o.__)("TAX","woocommerce"),e.priority].map((e=>e.toString().toUpperCase().trim())).filter(Boolean).join("-")}},68734:function(e,t,r){r.d(t,{FI:function(){return y},V1:function(){return g},YC:function(){return d},hQ:function(){return p},jk:function(){return _},oC:function(){return f},qc:function(){return u},uC:function(){return h}});var o=r(96483),a=r(86989),l=r.n(a),c=r(92819),n=r(10431),i=r(67221),s=r(69629),m=r(79205);function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.identity;return function(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a=arguments.length>1?arguments[1]:void 0;const c="function"==typeof e?e(a):e,i=(0,n.getIdsFromQuery)(r);if(i.length<1)return Promise.resolve([]);const s={include:i.join(","),per_page:i.length};return l()({path:(0,o.addQueryArgs)(c,s)}).then((e=>e.map(t)))}}u(i.NAMESPACE+"/products/attributes",(e=>({key:e.id,label:e.name})));const d=u(i.NAMESPACE+"/products/categories",(e=>({key:e.id,label:e.name}))),p=u(i.NAMESPACE+"/coupons",(e=>({key:e.id,label:e.code}))),_=u(i.NAMESPACE+"/customers",(e=>({key:e.id,label:e.name}))),f=u(i.NAMESPACE+"/products",(e=>({key:e.id,label:e.name}))),y=u(i.NAMESPACE+"/taxes",(e=>({key:e.id,label:(0,s.I)(e)})));function g(e){let{attributes:t,name:r}=e;const o=(0,m.O3)("variationTitleAttributesSeparator"," - ");if(r&&r.indexOf(o)>-1)return r;const a=(t||[]).map((e=>{let{option:t}=e;return t})).join(", ");return a?r+o+a:r}const h=u((e=>{let{products:t}=e;return t?i.NAMESPACE+`/products/${t}/variations`:i.NAMESPACE+"/variations"}),(e=>({key:e.id,label:g(e)})))}}]);.ac-addons-groups{display:inline-flex;flex-wrap:wrap}.ac-addons{margin-right:46px}.ac-addons.group-default{float:none;clear:both;display:table}.ac-addons ul{display:flex;flex-wrap:wrap;margin-left:-46px}.ac-addon{width:300px;background:#fff;display:flex;flex-direction:column;flex-flow:column nowrap;margin-left:46px;margin-bottom:46px;border:1px solid var(--ac-border-grey);box-shadow:0 3px 10px 0 rgba(0,0,0,.15)}.ac-addon:hover{box-shadow:0 3px 10px 0 rgba(0,0,0,.25)}.ac-addon__header{display:flex;justify-content:center;margin:0 30px;padding:20px;border-bottom:1px solid #979797}.ac-addon__header img{max-height:50px}.ac-addon__content{padding:10px 30px;min-height:165px}.ac-addon__content h3{margin:15px 0 25px 0;text-align:center}.ac-addon__actions{display:flex;align-items:center;justify-content:center;padding-bottom:35px;margin-top:auto;min-height:40px}.ac-addon__actions a.ac-addon__button_v2{border-color:#4c7fa0;padding:5px 30px;color:#4c7fa0;font-weight:bold}.ac-addon__actions a.ac-addon__button{padding:5px 30px;color:#fff;font-weight:bold}.ac-addon__actions a.ac-addon__button.-disabled{font-weight:normal;color:#a7aaad !important;background:#f6f7f7 !important;border-color:#dcdcde !important;box-shadow:none !important;text-shadow:none !important;cursor:default}.ac-addon__actions a.ac-addon__link.link-deactivate{display:inline-block;color:#b1b1b1}.ac-addon__state{font-weight:bold;font-size:16px;transform:translateX(-10px)}.ac-addon__state .-green{color:#44d164}.ac-addon__more-link{color:#054c7b;font-weight:500;white-space:nowrap}.ac-addon .addon-header{display:flex;width:100%;height:85px;text-align:center;vertical-align:middle;border-bottom:1px solid var(--ac-border-grey)}.ac-addon .addon-header .inner{display:table-cell;vertical-align:middle;padding:15px 20px}.ac-addon .addon-header .inner h3{padding:0 16px;color:#fff;line-height:150%}.ac-addon .addon-header .inner img{display:inline-block;max-height:52px;max-width:100%}.ac-addon .addon-notice{background-color:#fff8e5;margin:0;padding:15px}.ac-addon .addon-notice a{font-weight:bold;text-decoration:none;color:var(--ac-link)}.ac-addon .addon-content{margin-bottom:auto;width:100%;padding:25px 15px;box-sizing:border-box;min-height:160px}.ac-addon .addon-content>*:first-child{margin-top:0}.ac-addon .addon-content>*:last-child{margin-bottom:0}.ac-addon .addon-actions{background:#eee;border-top:1px solid var(--ac-border-grey);padding:8px;overflow:hidden}.ac-addon .addon-actions span.active,.ac-addon .addon-actions span.active:hover{display:inline-block;height:28px;line-height:28px;cursor:default;border-color:var(--ac-notification-green);color:var(--ac-notification-green);margin-left:8px}.ac-addon .addon-actions span.active:before,.ac-addon .addon-actions span.active:hover:before{content:"";font-family:"dashicons",sans-serif;vertical-align:middle;font-size:17px;margin:-2px 3px 0 -5px}.ac-addon.ac-addon-types .addon-header .inner img,.ac-addon.ac-addon-buddypress .addon-header .inner img{max-height:68px} Fashion | Merkoandina SAS
Seleccionar página

An Inside Look at Paris Fashion Week

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi gravida sollicitudin egestas. Ut lobortis eros vitae mauris cursus, vel faucibus turpis volutpat. Duis aliquam eu nibh non molestie. Sed pretium sit amet tellus eu pellentesque. In sed dictum quam. Nullam...

The Fashion of Tomorrowland

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi gravida sollicitudin egestas. Ut lobortis eros vitae mauris cursus, vel faucibus turpis volutpat. Duis aliquam eu nibh non molestie. Sed pretium sit amet tellus eu pellentesque. In sed dictum quam. Nullam...

20 Must-Have Shoes For the Holiday Season

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi gravida sollicitudin egestas. Ut lobortis eros vitae mauris cursus, vel faucibus turpis volutpat. Duis aliquam eu nibh non molestie. Sed pretium sit amet tellus eu pellentesque. In sed dictum quam. Nullam...

Buy It Now! Clothes Featured on The Carrie Diaries

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi gravida sollicitudin egestas. Ut lobortis eros vitae mauris cursus, vel faucibus turpis volutpat. Duis aliquam eu nibh non molestie. Sed pretium sit amet tellus eu pellentesque. In sed dictum quam. Nullam...