(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-362d7b36"],{"104d4":function(t,e,a){"use strict";a.d(e,"a",(function(){return r}));var n=a("22b4"),i=a("e1ff"),o=a("ac12");function r(t){Object(n["a"])(i["a"]),Object(n["a"])(o["a"])}},1076:function(t,e,a){"use strict";a("9ac0")},1459:function(t,e,a){"use strict";a.d(e,"a",(function(){return v}));var n=a("6d8b"),i=a("50e5"),o=a("3842"),r=a("ef6a"),s=a("697e"),c=a("538f"),l=a("e0d3"),d=n["k"],u=o["c"],p=function(){function t(t,e,a,n){this._dimName=t,this._axisIndex=e,this.ecModel=n,this._dataZoomModel=a}return t.prototype.hostedBy=function(t){return this._dataZoomModel===t},t.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},t.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},t.prototype.getTargetSeriesModels=function(){var t=[];return this.ecModel.eachSeries((function(e){if(Object(i["e"])(e)){var a=Object(i["d"])(this._dimName),n=e.getReferringComponents(a,l["b"]).models[0];n&&this._axisIndex===n.componentIndex&&t.push(e)}}),this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return n["d"](this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,a=this._dataExtent,n=this.getAxisModel(),i=n.axis.scale,s=this._dataZoomModel.getRangePropMode(),c=[0,100],l=[],p=[];d(["start","end"],(function(n,r){var d=t[n],u=t[n+"Value"];"percent"===s[r]?(null==d&&(d=c[r]),u=i.parse(o["k"](d,c,a))):(e=!0,u=null==u?a[r]:i.parse(u),d=o["k"](u,a,c)),p[r]=u,l[r]=d})),u(p),u(l);var _=this._minMaxSpan;function h(t,e,a,n,s){var c=s?"Span":"ValueSpan";Object(r["a"])(0,t,a,"all",_["min"+c],_["max"+c]);for(var l=0;l<2;l++)e[l]=o["k"](t[l],a,n,!0),s&&(e[l]=i.parse(e[l]))}return e?h(p,l,a,c,!1):h(l,p,c,a,!0),{valueWindow:p,percentWindow:l}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=_(this,this._dimName,e),this._updateMinMaxSpan();var a=this.calculateDataWindow(t.settledOption);this._valueWindow=a.valueWindow,this._percentWindow=a.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(t,e){if(t===this._dataZoomModel){var a=this._dimName,i=this.getTargetSeriesModels(),o=t.get("filterMode"),r=this._valueWindow;"none"!==o&&d(i,(function(t){var e=t.getData(),i=e.mapDimensionsAll(a);if(i.length){if("weakFilter"===o){var c=e.getStore(),l=n["H"](i,(function(t){return e.getDimensionIndex(t)}),e);e.filterSelf((function(t){for(var e,a,n,o=0;o<i.length;o++){var s=c.get(l[o],t),d=!isNaN(s),u=s<r[0],p=s>r[1];if(d&&!u&&!p)return!0;d&&(n=!0),u&&(e=!0),p&&(a=!0)}return n&&e&&a}))}else d(i,(function(a){if("empty"===o)t.setData(e=e.map(a,(function(t){return s(t)?t:NaN})));else{var n={};n[a]=r,e.selectRange(n)}}));d(i,(function(t){e.setApproximateExtent(r,t)}))}}))}function s(t){return t>=r[0]&&t<=r[1]}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,a=this._dataExtent;d(["min","max"],(function(n){var i=e.get(n+"Span"),r=e.get(n+"ValueSpan");null!=r&&(r=this.getAxisModel().axis.scale.parse(r)),null!=r?i=o["k"](a[0]+r,a,[0,100],!0):null!=i&&(r=o["k"](i,[0,100],a,!0)-a[0]),t[n+"Span"]=i,t[n+"ValueSpan"]=r}),this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,a=this._valueWindow;if(e){var n=o["f"](a,[0,500]);n=Math.min(n,20);var i=t.axis.scale.rawExtentInfo;0!==e[0]&&i.setDeterminedMinMax("min",+a[0].toFixed(n)),100!==e[1]&&i.setDeterminedMinMax("max",+a[1].toFixed(n)),i.freeze()}},t}();function _(t,e,a){var n=[1/0,-1/0];d(a,(function(t){Object(s["k"])(n,t.getData(),e)}));var i=t.getAxisModel(),o=Object(c["a"])(i.axis.scale,i,n).calculate();return[o.min,o.max]}var h=p,f={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",(function(a){a.eachTargetAxis((function(n,o){var r=t.getComponent(Object(i["d"])(n),o);e(n,o,r,a)}))}))}e((function(t,e,a,n){a.__dzAxisProxy=null}));var a=[];e((function(e,n,i,o){i.__dzAxisProxy||(i.__dzAxisProxy=new h(e,n,o,t),a.push(i.__dzAxisProxy))}));var o=Object(n["f"])();return Object(n["k"])(a,(function(t){Object(n["k"])(t.getTargetSeriesModels(),(function(t){o.set(t.uid,t)}))})),o},overallReset:function(t,e){t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(e,a){t.getAxisProxy(e,a).reset(t)})),t.eachTargetAxis((function(a,n){t.getAxisProxy(a,n).filterData(t,e)}))})),t.eachComponent("dataZoom",(function(t){var e=t.findRepresentativeAxisProxy();if(e){var a=e.getDataPercentWindow(),n=e.getDataValueWindow();t.setCalculatedRange({start:a[0],end:a[1],startValue:n[0],endValue:n[1]})}}))}},m=f;function g(t){t.registerAction("dataZoom",(function(t,e){var a=Object(i["c"])(e,t);Object(n["k"])(a,(function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})}))}))}var A=!1;function v(t){A||(A=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,m),g(t),t.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}},"191a":function(t,e,a){"use strict";a("e2a7")},"1d52":function(t,e,a){"use strict";var n=a("5530"),i=a("8469"),o=a("d80f"),r=a("2f62"),s=a("bbf0");e["a"]={data:function(){return{modalTitle:"",apiParams:{},showDraggablePad:!1}},computed:Object(n["a"])({},Object(r["c"])({CURRENT_SHOP:s["f"]})),components:{DragKeywordChart:i["a"]},methods:{goAmazonKeywordSearch:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"name",a=arguments.length>2?arguments[2]:void 0,n="";n="https://"+o["C"][a||t.marketplaceId||this.CURRENT_SHOP.marketplaceId].domain+"/s?k=",n+=t[e],window.open(n)},showDetailChart:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"name",a=arguments.length>2?arguments[2]:void 0;this.modalTitle=t[e],this.apiParams={keywords:t[e],marketplaceId:a||t.marketplaceId||this.CURRENT_SHOP.marketplaceId},this.showDraggablePad=!0}}}},2145:function(t,e,a){"use strict";a.d(e,"a",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"b",(function(){return r}));var n=function(){function t(){}return t}(),i={};function o(t,e){i[t]=e}function r(t){return i[t]}},2449:function(t,e,a){"use strict";var n=a("7fae"),i=a("6d8b"),o=a("22d1"),r=a("38a2"),s=a("6cb7"),c=a("e0d3"),l=a("217c");function d(t){Object(c["f"])(t,"label",["show"])}var u=Object(c["o"])(),p=function(t){function e(){var a=null!==t&&t.apply(this,arguments)||this;return a.type=e.type,a.createdBySelf=!1,a}return Object(n["a"])(e,t),e.prototype.init=function(t,e,a){this.mergeDefaultAndTheme(t,a),this._mergeOption(t,a,!1,!0)},e.prototype.isAnimationEnabled=function(){if(o["a"].node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},e.prototype.mergeOption=function(t,e){this._mergeOption(t,e,!1,!1)},e.prototype._mergeOption=function(t,e,a,n){var o=this.mainType;a||e.eachSeries((function(t){var a=t.get(this.mainType,!0),r=u(t)[o];a&&a.data?(r?r._mergeOption(a,e,!0):(n&&d(a),i["k"](a.data,(function(t){t instanceof Array?(d(t[0]),d(t[1])):d(t)})),r=this.createMarkerModelFromSeries(a,this,e),i["m"](r,{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),r.__hostSeries=t),u(t)[o]=r):u(t)[o]=null}),this)},e.prototype.formatTooltip=function(t,e,a){var n=this.getData(),i=this.getRawValue(t),o=n.getName(t);return Object(l["c"])("section",{header:this.name,blocks:[Object(l["c"])("nameValue",{name:o,value:i,noName:!o,noValue:null==i})]})},e.prototype.getData=function(){return this._data},e.prototype.setData=function(t){this._data=t},e.getMarkerModelFromSeries=function(t,e){return u(t)[e]},e.type="marker",e.dependencies=["series","grid","polar","geo"],e}(s["a"]);i["K"](p,r["a"].prototype),e["a"]=p},"2b63":function(t,e,a){},3094:function(t,e,a){"use strict";a.d(e,"a",(function(){return Et}));var n=a("22b4"),i=a("7fae"),o=a("3a56"),r=function(t){function e(){var a=null!==t&&t.apply(this,arguments)||this;return a.type=e.type,a}return Object(i["a"])(e,t),e.type="dataZoom.select",e}(o["a"]),s=r,c=a("7dcf"),l=function(t){function e(){var a=null!==t&&t.apply(this,arguments)||this;return a.type=e.type,a}return Object(i["a"])(e,t),e.type="dataZoom.select",e}(c["a"]),d=l,u=a("1459");function p(t){t.registerComponentModel(s),t.registerComponentView(d),Object(u["a"])(t)}var _=a("6d8b"),h=a("2145"),f=a("6cb7"),m=function(t){function e(){var a=null!==t&&t.apply(this,arguments)||this;return a.type=e.type,a}return Object(i["a"])(e,t),e.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;_["k"](this.option.feature,(function(t,a){var n=h["b"](a);n&&(n.getDefaultOption&&(n.defaultOption=n.getDefaultOption(e)),_["I"](t,n.defaultOption))}))},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},e}(f["a"]),g=m,A=a("e86a"),v=a("2306"),b=a("7d6c"),T=a("4319"),y=a("80f0"),E=a("7919"),S=a("b12f"),O=a("8918"),I=a("76a5"),M=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["a"])(e,t),e.prototype.render=function(t,e,a,n){var i=this.group;if(i.removeAll(),t.get("show")){var o=+t.get("itemSize"),r="vertical"===t.get("orient"),s=t.get("feature")||{},c=this._features||(this._features={}),l=[];_["k"](s,(function(t,e){l.push(e)})),new y["a"](this._featureNames||[],l).add(d).update(d).remove(_["h"](d,null)).execute(),this._featureNames=l,E["a"](i,t,a),i.add(E["b"](i.getBoundingRect(),t)),r||i.eachChild((function(t){var e=t.__title,n=t.ensureState("emphasis"),r=n.textConfig||(n.textConfig={}),s=t.getTextContent(),c=s&&s.ensureState("emphasis");if(c&&!_["w"](c)&&e){var l=c.style||(c.style={}),d=A["d"](e,I["a"].makeFont(l)),u=t.x+i.x,p=t.y+i.y+o,h=!1;p+d.height>a.getHeight()&&(r.position="top",h=!0);var f=h?-5-d.height:o+10;u+d.width/2>a.getWidth()?(r.position=["100%",f],l.align="right"):u-d.width/2<0&&(r.position=[0,f],l.align="left")}}))}function d(i,o){var r,d=l[i],p=l[o],_=s[d],f=new T["a"](_,t,t.ecModel);if(n&&null!=n.newTitle&&n.featureName===d&&(_.title=n.newTitle),d&&!p){if(C(d))r={onclick:f.option.onclick,featureName:d};else{var m=Object(h["b"])(d);if(!m)return;r=new m}c[d]=r}else if(r=c[p],!r)return;r.uid=Object(O["c"])("toolbox-feature"),r.model=f,r.ecModel=e,r.api=a;var g=r instanceof h["a"];d||!p?!f.get("show")||g&&r.unusable?g&&r.remove&&r.remove(e,a):(u(f,r,d),f.setIconStatus=function(t,e){var a=this.option,n=this.iconPaths;a.iconStatus=a.iconStatus||{},a.iconStatus[t]=e,n[t]&&("emphasis"===e?b["r"]:b["C"])(n[t])},r instanceof h["a"]&&r.render&&r.render(f,e,a,n)):g&&r.dispose&&r.dispose(e,a)}function u(n,s,c){var l,d,u=n.getModel("iconStyle"),p=n.getModel(["emphasis","iconStyle"]),f=s instanceof h["a"]&&s.getIcons?s.getIcons():n.get("icon"),m=n.get("title")||{};_["C"](f)?(l={},l[c]=f):l=f,_["C"](m)?(d={},d[c]=m):d=m;var g=n.iconPaths={};_["k"](l,(function(c,l){var h=v["createIcon"](c,{},{x:-o/2,y:-o/2,width:o,height:o});h.setStyle(u.getItemStyle());var f=h.ensureState("emphasis");f.style=p.getItemStyle();var m=new I["a"]({style:{text:d[l],align:p.get("textAlign"),borderRadius:p.get("textBorderRadius"),padding:p.get("textPadding"),fill:null},ignore:!0});h.setTextContent(m),v["setTooltipConfig"]({el:h,componentModel:t,itemName:l,formatterParamsExtra:{title:d[l]}}),h.__title=d[l],h.on("mouseover",(function(){var e=p.getItemStyle(),n=r?null==t.get("right")&&"right"!==t.get("left")?"right":"left":null==t.get("bottom")&&"bottom"!==t.get("top")?"bottom":"top";m.setStyle({fill:p.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:p.get("textBackgroundColor")}),h.setTextConfig({position:p.get("textPosition")||n}),m.ignore=!t.get("showTitle"),a.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==n.get(["iconStatus",l])&&a.leaveEmphasis(this),m.hide()})),("emphasis"===n.get(["iconStatus",l])?b["r"]:b["C"])(h),i.add(h),h.on("click",_["c"](s.onclick,s,e,a,l)),g[l]=h}))}},e.prototype.updateView=function(t,e,a,n){_["k"](this._features,(function(t){t instanceof h["a"]&&t.updateView&&t.updateView(t.model,e,a,n)}))},e.prototype.remove=function(t,e){_["k"](this._features,(function(a){a instanceof h["a"]&&a.remove&&a.remove(t,e)})),this.group.removeAll()},e.prototype.dispose=function(t,e){_["k"](this._features,(function(a){a instanceof h["a"]&&a.dispose&&a.dispose(t,e)}))},e.type="toolbox",e}(S["a"]);function C(t){return 0===t.indexOf("my")}var k=M,N=a("22d1"),x=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["a"])(e,t),e.prototype.onclick=function(t,e){var a=this.model,n=a.get("name")||t.get("title.0.text")||"echarts",i="svg"===e.getZr().painter.getType(),o=i?"svg":a.get("type",!0)||"png",r=e.getConnectedDataURL({type:o,backgroundColor:a.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:a.get("connectedBackgroundColor"),excludeComponents:a.get("excludeComponents"),pixelRatio:a.get("pixelRatio")}),s=N["a"].browser;if(Object(_["w"])(MouseEvent)&&(s.newEdge||!s.ie&&!s.edge)){var c=document.createElement("a");c.download=n+"."+o,c.target="_blank",c.href=r;var l=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});c.dispatchEvent(l)}else if(window.navigator.msSaveOrOpenBlob||i){var d=r.split(","),u=d[0].indexOf("base64")>-1,p=i?decodeURIComponent(d[1]):d[1];u&&(p=window.atob(p));var h=n+"."+o;if(window.navigator.msSaveOrOpenBlob){var f=p.length,m=new Uint8Array(f);while(f--)m[f]=p.charCodeAt(f);var g=new Blob([m]);window.navigator.msSaveOrOpenBlob(g,h)}else{var A=document.createElement("iframe");document.body.appendChild(A);var v=A.contentWindow,b=v.document;b.open("image/svg+xml","replace"),b.write(p),b.close(),v.focus(),b.execCommand("SaveAs",!0,h),document.body.removeChild(A)}}else{var T=a.get("lang"),y='<body style="margin:0;"><img src="'+r+'" style="max-width:100%;" title="'+(T&&T[0]||"")+'" /></body>',E=window.open();E.document.write(y),E.document.title=n}},e.getDefaultOption=function(t){var e={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return e},e}(h["a"]),R=x,D=a("1be7"),w=a("e0d3"),P="__ec_magicType_stack__",L=[["line","bar"],["stack"]],j=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["a"])(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),a={};return _["k"](t.get("type"),(function(t){e[t]&&(a[t]=e[t])})),a},e.getDefaultOption=function(t){var e={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return e},e.prototype.onclick=function(t,e,a){var n=this.model,i=n.get(["seriesIndex",a]);if(G[a]){var o,r={series:[]},s=function(t){var e=t.subType,i=t.id,o=G[a](e,i,t,n);o&&(_["i"](o,t.option),r.series.push(o));var s=t.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===a||"bar"===a)){var c=s.getAxesByScale("ordinal")[0];if(c){var l=c.dim,d=l+"Axis",u=t.getReferringComponents(d,w["b"]).models[0],p=u.componentIndex;r[d]=r[d]||[];for(var h=0;h<=p;h++)r[d][p]=r[d][p]||{};r[d][p].boundaryGap="bar"===a}}};_["k"](L,(function(t){_["r"](t,a)>=0&&_["k"](t,(function(t){n.setIconStatus(t,"normal")}))})),n.setIconStatus(a,"emphasis"),t.eachComponent({mainType:"series",query:null==i?null:{seriesIndex:i}},s);var c=a;"stack"===a&&(o=_["I"]({stack:n.option.title.tiled,tiled:n.option.title.stack},n.option.title),"emphasis"!==n.get(["iconStatus",a])&&(c="tiled")),e.dispatchAction({type:"changeMagicType",currentType:c,newOption:r,newTitle:o,featureName:"magicType"})}},e}(h["a"]),G={line:function(t,e,a,n){if("bar"===t)return _["I"]({id:e,type:"line",data:a.get("data"),stack:a.get("stack"),markPoint:a.get("markPoint"),markLine:a.get("markLine")},n.get(["option","line"])||{},!0)},bar:function(t,e,a,n){if("line"===t)return _["I"]({id:e,type:"bar",data:a.get("data"),stack:a.get("stack"),markPoint:a.get("markPoint"),markLine:a.get("markLine")},n.get(["option","bar"])||{},!0)},stack:function(t,e,a,n){var i=a.get("stack")===P;if("line"===t||"bar"===t)return n.setIconStatus("stack",i?"normal":"emphasis"),_["I"]({id:e,stack:i?"":P},n.get(["option","stack"])||{},!0)}};D["d"]({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)}));var V=j,B=a("607d"),U=new Array(60).join("-"),H="\t";function $(t){var e={},a=[],n=[];return t.eachRawSeries((function(t){var i=t.coordinateSystem;if(!i||"cartesian2d"!==i.type&&"polar"!==i.type)a.push(t);else{var o=i.getBaseAxis();if("category"===o.type){var r=o.dim+"_"+o.index;e[r]||(e[r]={categoryAxis:o,valueAxis:i.getOtherAxis(o),series:[]},n.push({axisDim:o.dim,axisIndex:o.index})),e[r].series.push(t)}else a.push(t)}})),{seriesGroupByCategoryAxis:e,other:a,meta:n}}function z(t){var e=[];return _["k"](t,(function(t,a){var n=t.categoryAxis,i=t.valueAxis,o=i.dim,r=[" "].concat(_["H"](t.series,(function(t){return t.name}))),s=[n.model.getCategories()];_["k"](t.series,(function(t){var e=t.getRawData();s.push(t.getRawData().mapArray(e.mapDimension(o),(function(t){return t})))}));for(var c=[r.join(H)],l=0;l<s[0].length;l++){for(var d=[],u=0;u<s.length;u++)d.push(s[u][l]);c.push(d.join(H))}e.push(c.join("\n"))})),e.join("\n\n"+U+"\n\n")}function Y(t){return _["H"](t,(function(t){var e=t.getRawData(),a=[t.name],n=[];return e.each(e.dimensions,(function(){for(var t=arguments.length,i=arguments[t-1],o=e.getName(i),r=0;r<t-1;r++)n[r]=arguments[r];a.push((o?o+H:"")+n.join(H))})),a.join("\n")})).join("\n\n"+U+"\n\n")}function F(t){var e=$(t);return{value:_["n"]([z(e.seriesGroupByCategoryAxis),Y(e.other)],(function(t){return!!t.replace(/[\n\t\s]/g,"")})).join("\n\n"+U+"\n\n"),meta:e.meta}}function Z(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function W(t){var e=t.slice(0,t.indexOf("\n"));if(e.indexOf(H)>=0)return!0}var K=new RegExp("["+H+"]+","g");function X(t){for(var e=t.split(/\n+/g),a=Z(e.shift()).split(K),n=[],i=_["H"](a,(function(t){return{name:t,data:[]}})),o=0;o<e.length;o++){var r=Z(e[o]).split(K);n.push(r.shift());for(var s=0;s<r.length;s++)i[s]&&(i[s].data[o]=r[s])}return{series:i,categories:n}}function J(t){for(var e=t.split(/\n+/g),a=Z(e.shift()),n=[],i=0;i<e.length;i++){var o=Z(e[i]);if(o){var r=o.split(K),s="",c=void 0,l=!1;isNaN(r[0])?(l=!0,s=r[0],r=r.slice(1),n[i]={name:s,value:[]},c=n[i].value):c=n[i]=[];for(var d=0;d<r.length;d++)c.push(+r[d]);1===c.length&&(l?n[i].value=c[0]:n[i]=c[0])}}return{name:a,data:n}}function q(t,e){var a=t.split(new RegExp("\n*"+U+"\n*","g")),n={series:[]};return _["k"](a,(function(t,a){if(W(t)){var i=X(t),o=e[a],r=o.axisDim+"Axis";o&&(n[r]=n[r]||[],n[r][o.axisIndex]={data:i.categories},n.series=n.series.concat(i.series))}else{i=J(t);n.series.push(i)}})),n}var Q=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["a"])(e,t),e.prototype.onclick=function(t,e){setTimeout((function(){e.dispatchAction({type:"hideTip"})}));var a=e.getDom(),n=this.model;this._dom&&a.removeChild(this._dom);var i=document.createElement("div");i.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",i.style.backgroundColor=n.get("backgroundColor")||"#fff";var o=document.createElement("h4"),r=n.get("lang")||[];o.innerHTML=r[0]||n.get("title"),o.style.cssText="margin:10px 20px",o.style.color=n.get("textColor");var s=document.createElement("div"),c=document.createElement("textarea");s.style.cssText="overflow:auto";var l=n.get("optionToContent"),d=n.get("contentToOption"),u=F(t);if(_["w"](l)){var p=l(e.getOption());_["C"](p)?s.innerHTML=p:_["v"](p)&&s.appendChild(p)}else{c.readOnly=n.get("readOnly");var h=c.style;h.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",h.color=n.get("textColor"),h.borderColor=n.get("textareaBorderColor"),h.backgroundColor=n.get("textareaColor"),c.value=u.value,s.appendChild(c)}var f=u.meta,m=document.createElement("div");m.style.cssText="position:absolute;bottom:5px;left:0;right:0";var g="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",A=document.createElement("div"),v=document.createElement("div");g+=";background-color:"+n.get("buttonColor"),g+=";color:"+n.get("buttonTextColor");var b=this;function T(){a.removeChild(i),b._dom=null}Object(B["a"])(A,"click",T),Object(B["a"])(v,"click",(function(){if(null==d&&null!=l||null!=d&&null==l)T();else{var t;try{t=_["w"](d)?d(s,e.getOption()):q(c.value,f)}catch(a){throw T(),new Error("Data view format error "+a)}t&&e.dispatchAction({type:"changeDataView",newOption:t}),T()}})),A.innerHTML=r[1],v.innerHTML=r[2],v.style.cssText=A.style.cssText=g,!n.get("readOnly")&&m.appendChild(v),m.appendChild(A),i.appendChild(o),i.appendChild(s),i.appendChild(m),s.style.height=a.clientHeight-80+"px",a.appendChild(i),this._dom=i},e.prototype.remove=function(t,e){this._dom&&e.getDom().removeChild(this._dom)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.getDefaultOption=function(t){var e={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:t.getLocaleModel().get(["toolbox","dataView","title"]),lang:t.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"};return e},e}(h["a"]);function tt(t,e){return _["H"](t,(function(t,a){var n=e&&e[a];if(_["A"](n)&&!_["t"](n)){var i=_["A"](t)&&!_["t"](t);i||(t={value:t});var o=null!=n.name&&null==t.name;return t=_["i"](t,n),o&&delete t.name,t}return t}))}D["d"]({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},(function(t,e){var a=[];_["k"](t.newOption.series,(function(t){var n=e.getSeriesByName(t.name)[0];if(n){var i=n.get("data");a.push({name:t.name,data:tt(t.data,i)})}else a.push(_["m"]({type:"scatter"},t))})),e.mergeOption(_["i"]({series:a},t.newOption))}));var et=Q,at=_["k"],nt=Object(w["o"])();function it(t,e){var a=ct(t);at(e,(function(e,n){for(var i=a.length-1;i>=0;i--){var o=a[i];if(o[n])break}if(i<0){var r=t.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(r){var s=r.getPercentRange();a[0][n]={dataZoomId:n,start:s[0],end:s[1]}}}})),a.push(e)}function ot(t){var e=ct(t),a=e[e.length-1];e.length>1&&e.pop();var n={};return at(a,(function(t,a){for(var i=e.length-1;i>=0;i--)if(t=e[i][a],t){n[a]=t;break}})),n}function rt(t){nt(t).snapshots=null}function st(t){return ct(t).length}function ct(t){var e=nt(t);return e.snapshots||(e.snapshots=[{}]),e.snapshots}var lt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["a"])(e,t),e.prototype.onclick=function(t,e){rt(t),e.dispatchAction({type:"restore",from:this.uid})},e.getDefaultOption=function(t){var e={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:t.getLocaleModel().get(["toolbox","restore","title"])};return e},e}(h["a"]);D["d"]({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(t,e){e.resetOption("recreate")}));var dt=lt,ut=a("fc82"),pt=a("bd9e"),_t=a("ef6a"),ht=a("2f1f"),ft=_["k"],mt=Object(w["p"])("toolbox-dataZoom_"),gt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["a"])(e,t),e.prototype.render=function(t,e,a,n){this._brushController||(this._brushController=new ut["a"](a.getZr()),this._brushController.on("brush",_["c"](this._onBrush,this)).mount()),Tt(t,e,this,n,a),bt(t,e)},e.prototype.onclick=function(t,e,a){At[a].call(this)},e.prototype.remove=function(t,e){this._brushController&&this._brushController.unmount()},e.prototype.dispose=function(t,e){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(t){var e=t.areas;if(t.isEnd&&e.length){var a={},n=this.ecModel;this._brushController.updateCovers([]);var i=new pt["a"](vt(this.model),n,{include:["grid"]});i.matchOutputRanges(e,n,(function(t,e,a){if("cartesian2d"===a.type){var n=t.brushType;"rect"===n?(o("x",a,e[0]),o("y",a,e[1])):o({lineX:"x",lineY:"y"}[n],a,e)}})),it(n,a),this._dispatchZoomAction(a)}function o(t,e,i){var o=e.getAxis(t),s=o.model,c=r(t,s,n),l=c.findRepresentativeAxisProxy(s).getMinMaxSpan();null==l.minValueSpan&&null==l.maxValueSpan||(i=Object(_t["a"])(0,i.slice(),o.scale.getExtent(),0,l.minValueSpan,l.maxValueSpan)),c&&(a[c.id]={dataZoomId:c.id,startValue:i[0],endValue:i[1]})}function r(t,e,a){var n;return a.eachComponent({mainType:"dataZoom",subType:"select"},(function(a){var i=a.getAxisModel(t,e.componentIndex);i&&(n=a)})),n}},e.prototype._dispatchZoomAction=function(t){var e=[];ft(t,(function(t,a){e.push(_["d"](t))})),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},e.getDefaultOption=function(t){var e={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return e},e}(h["a"]),At={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(ot(this.ecModel))}};function vt(t){var e={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return null==e.xAxisIndex&&null==e.xAxisId&&(e.xAxisIndex="all"),null==e.yAxisIndex&&null==e.yAxisId&&(e.yAxisIndex="all"),e}function bt(t,e){t.setIconStatus("back",st(e)>1?"emphasis":"normal")}function Tt(t,e,a,n,i){var o=a._isZoomActive;n&&"takeGlobalCursor"===n.type&&(o="dataZoomSelect"===n.key&&n.dataZoomSelectActive),a._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var r=new pt["a"](vt(t),e,{include:["grid"]}),s=r.makePanelOpts(i,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}));a._brushController.setPanels(s).enableBrush(!(!o||!s.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}Object(ht["b"])("dataZoom",(function(t){var e=t.getComponent("toolbox",0),a=["feature","dataZoom"];if(e&&null!=e.get(a)){var n=e.getModel(a),i=[],o=vt(n),r=Object(w["s"])(t,o);return ft(r.xAxisModels,(function(t){return s(t,"xAxis","xAxisIndex")})),ft(r.yAxisModels,(function(t){return s(t,"yAxis","yAxisIndex")})),i}function s(t,e,a){var o=t.componentIndex,r={type:"select",$fromToolbox:!0,filterMode:n.get("filterMode",!0)||"filter",id:mt+e+o};r[a]=o,i.push(r)}}));var yt=gt;function Et(t){t.registerComponentModel(g),t.registerComponentView(k),Object(h["c"])("saveAsImage",R),Object(h["c"])("magicType",V),Object(h["c"])("dataView",et),Object(h["c"])("dataZoom",yt),Object(h["c"])("restore",dt),Object(n["a"])(p)}},3281:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAABbCAMAAABj2xYrAAABLFBMVEUAAADr6PFuanqmo7Ds6fFtanpva3vY1t5ua3vY19/s6fJsbHzV1d9ta3vq6PBtaXpta3twaHhoaHhwcHBua3vr6vLr6PDY1t7s6fDX09vn5+/Y1t9ua3tqaHl9eomuqrjFw87h3+luanrr5+9ubHzZ1t52c4O2sr6/vMbr6fHY1t5tanrq5+/X1NzX1NzX09vr5+/n5++TkJ6em6nLydHg3ubs6fHr6PFsann///+IhZP////s6vHr6vFubHz////r6fFua3u2tb3b2t7Y1t6AfYv29vd2c4Pb2eJ+eonk4eqtq7ako6zu7PPt7O/MytP49/rt7e+0sr1+e4q/vsXIx82JhpTT0dfJx87AvsXk4+a8usWTkZ2Ni5idmqfEws21sr6loq+bmaS8usSdD7LuAAAAP3RSTlMAzIDl32Df39+/n0AQv4BwnyAgEO+/v4BwQCDTzzD44tnPkFCA7+/f3c/Pr2BgUCBAQO7p09CvkFAg8+/v75CwXTz1AAAEK0lEQVRo3u2aaVPaUBSGT5GwBMIOsluw2qqt1u57FgghJKLI6trt//+HnthLA5OUIISktn1mnGO+PXPPee89MwoAueBWPfgE3GPdnwvDvn8d3OKJPwxI2J8Dlwju/6y5IJhCpXgDqVgC7KNOangLTPEV7hkorAWiYBtbYV3FDP6eGYVyIGFbF0j/94O3MEAelj1gD7nxJD65jQFSeBYo2ZXGfQjnMI2WBsZj2PPMxRurPAbrW9gLawMjj9bm4h0Di4MGy1Ph3TVA/hvcTYNk1BPFUsIk8VrscJ6xFLDcJwmo4HxheYSf97EWsGJ5SD5fYN1Y2ygsbBD3qUKPZdlzQRBqWPtYsXTI5xBrg2UbWIb4WcPaxoplRD7PsfYEtVwxNTgI1ncPYCZRlbUFdcPUYHcd1oMwE49gj4GwZmpQJz8ziJ7ZY3BmfgZBPINdmA1rE+aTeLBbDx64ZaDzpxuEavYI1O5bGDiQhaUNTjgLjk5WbHDEWbIag2RjboOjWQaNytJZOLFUMOnC35FG7IItNF7+BWn8hw3cv5X1NBpuQGtsTaPxRnLd4Mgpg2jvN3fiLbvQ27i7WXDfwL5d+e6+TP8N/oRbeTVZCLhuwN8pA9u2tIrBIE65mAWfJuB74KIBEXB3V0YBhyfx2fOyxEvl52ODksNZ6Awk5bjFtY5P5b2EGzfSSDzlxpxuU6QPPM8HHLqVR3KT02nKlNMvU0ckAl2isJ1w2ODbuAX8uBEMWOC31eBc5qYMECkEs6kbduVlUE4NBkrVysDWLAyODQbHxZktqGuMGxFVljaQWgaDVmr+Myg9WtqA11LA68iay/wG8Pa9G2fgh0mFF4ogsIggLFalyTloXslXF4Y5sED7Aw8gngUro0wYdIV2X7z+SrLwZo+hYPWEJN3g8zcWORNjCUAocVgbRGH1MPqdeKGyGm01QAFAER+dRioJKye+Td4FmWuJ5KVrDwIl8LXxt8sQrB6q2+QIQ1ntsDf0xVixj1WoggNQ2/p+cMWPr1mB13pSY8AJ4nvdLzc7kiIxoZg4JK1QbtKaBEcoVYspPlWsal1nRuwElxQ4DSWyk/Sq4DS+6c2vnUqAs1AqO40SYJxtBFNjp7n8+ln2gIPgPTRFX8bHkgfHMBqI+HZeBGBewvnDzcfZyGuafpVO73g1uCm8GmmEpiOR7OPDw3wYpolNr57CtbbBUGBJfjNLp70fuEXYSdORzTwQQmKD1elIeGN/iYEVWS+3NN4I/OTToKMbqAquLV3rPEbsMMgC4YE4+nUEMu5w1zGAeboQoTM73CJ89GboLHZBJ14Uz8kYfscjuNW/F4bzT5/iJEZoOoP8bhJ3MplXNP0aJ3HzKU6iCZRP7ZAkclcUuMIDfKUbYpMk0RXiMVG61JIYAteIUxhFJQZuQvkGOIaukgwl9Y8fy8+R2wcS02YAAAAASUVORK5CYII="},"32fd":function(t,e,a){"use strict";a("63b4")},3339:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("b-sidebar",{staticClass:"lib-sider--moreList",style:{zIndex:t.zIndex},attrs:{width:"800px","bg-variant":"white",right:"","no-header":"",backdrop:"",shadow:""},on:{hidden:function(e){return t.handleClose()}},model:{value:t.__visible__,callback:function(e){t.__visible__=e},expression:"__visible__"}},[n("div",{staticClass:"common-sider"},[n("div",{staticClass:"common-sider-header"},[n("lok",{staticClass:"common-sider-header__title",attrs:{"lok-key":"router_name_keywords_stock"}}),n("div",{staticClass:"common-sider-header__close-btn",on:{click:function(e){return t.handleClose()}}},[n("feather-icon",{attrs:{icon:"XIcon",size:"18"}})],1)],1),n("div",{staticClass:"sider-content"},[n("div",{staticClass:"sider-content--tips"},[t._v(" "+t._s(t.$t("ks_add_to_other_list_tip"))+" ")]),n("div",{staticClass:"sider-content--title"},[t._v(" "+t._s(t.$t("kr_pick_a_keywords_list"))+" ")]),n("b-input-group",{staticClass:"input-group-merge",staticStyle:{width:"300px"},attrs:{size:"sm"}},[n("b-form-input",{attrs:{placeholder:t.$t("kwsrchfield_placeholder")},model:{value:t.searchKey,callback:function(e){t.searchKey=e},expression:"searchKey"}}),n("b-input-group-append",{attrs:{"is-text":""}},[n("feather-icon",{staticClass:"cursor-pointer",staticStyle:{color:"#b9b9c3"},attrs:{icon:"SearchIcon"},on:{click:t.getKeywordLib}})],1)],1),n("div",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticClass:"sider_keyword-item-wrap"},[t.list.length?t._l(t.list,(function(e){return n("div",{key:e.id,staticClass:"sider_keyword-item",on:{click:function(a){return t.handlerSelectKeyword(e)}}},[n("div",{staticClass:"d-flex align-items--center"},[e.asin?n("span",{staticClass:"lib-ai-tag das-label-right"},[t._v("AI")]):t._e(),t._v(" "+t._s(e.name)+" ")]),n("div",{staticClass:"m-t-8 d-flex align-items--center"},[n("span",[t._v(t._s(t.$t("Lk_Package_Item_Text_Size_Keyword",{num:e.count})))]),n("i",{class:"m-l-16 icp-flag icp-flag-"+t.getMarketplace(e.marketplaceId).ico}),e.asin?n("span",{staticClass:"m-l-8"},[t._v(t._s(t.$t("_KEYWORD_ANALYSIS_ASIN")+t.$t("_COMMON_SYMBOL_COLON"))+t._s(e.asin))]):t._e()]),n("div",{staticClass:"m-t-8 fs12 last-text"},[t._v(" "+t._s(t.$t("ks_last_edit_date")+t.$t("_COMMON_SYMBOL_COLON"))+t._s(t.createZonedMoment(1e3*e.updatedTime,t.getTimeZoneMulti()).format("YYYY-MM-DD HH:mm:ss"))+" ")])])})):n("div",{staticClass:"m-t-12 empty-status-block"},[n("img",{attrs:{width:"129",height:"91",src:a("b6c0")}}),n("div",{staticClass:"m-t-24"},[t._v(t._s(t.$t("global_nodata")))])])],2),n("div",{staticClass:"sider-content--title"},[t._v(" "+t._s(t.$t("kr_creat_keywords_list_long"))+" ")]),n("div",{staticClass:"flex-one add-keyword-wrap"},[n("b-button",{staticClass:"fs16",attrs:{variant:"primary"},on:{click:t.toggleAddModal}},[n("feather-icon",{attrs:{icon:"PlusIcon"}}),t._v(" "+t._s(t.$t("kr_creat_keywords_list_long"))+" ")],1)],1)],1)]),n("b-modal",{attrs:{size:"lg",modalClass:"list-sider_keyword-add-modal",title:t.$t("kr_creat_keywords_list_long"),centered:"",hideFooter:""},model:{value:t.showAddModal,callback:function(e){t.showAddModal=e},expression:"showAddModal"}},[n("div",{staticClass:"keyword-add-modal--body"},[n("div",{staticClass:"content-border m-b-16"},[n("div",{staticClass:"content-border-row"},[n("span",{staticClass:"label"},[t._v(t._s(t.$t("_MWS_AUTHORIZATION_AMAZON_SITE")+t.$t("_COMMON_SYMBOL_COLON")))]),n("span",{staticClass:"value"},[n("i",{class:"m-r-8 icp-flag icp-flag-"+t.getMarketplace(t.apiParams.marketplaceId).ico}),n("span",[t._v(t._s(t.getMarketplace(t.apiParams.marketplaceId).label))])])]),n("div",{staticClass:"content-border-row m-t-12"},[n("span",{staticClass:"label"},[t._v(t._s(t.$t("kr_keywords_list_name")+t.$t("_COMMON_SYMBOL_COLON")))]),n("b-input",{attrs:{size:"sm"},model:{value:t.newlistName,callback:function(e){t.newlistName=e},expression:"newlistName"}})],1),t.isErrorTitle?n("div",{staticClass:"content-border-row content-border-row--error"},[n("span",{staticClass:"label"}),n("div",{staticClass:"content-border-row__error-tip"},[t._v(" "+t._s(this.$t("kr_no_list_name"))+" ")])]):t._e()]),n("b-button",{staticClass:"fs16 m-b-28",attrs:{variant:"primary"},on:{click:t.addKeyword}},[n("feather-icon",{attrs:{icon:"PlusIcon"}}),t._v(" "+t._s(t.$t("kr_btn_create_add_keywords"))+" ")],1)],1)])],1)},i=[],o=a("1da1"),r=(a("b0c0"),a("498a"),a("96cf"),a("d771")),s=a("d80f"),c=a("2af9"),l=a("6ddf"),d={name:"LibSiderMoreList",props:{showSider:{type:Boolean,default:!1},apiParams:{type:Object,default:function(){return{keywords:"",marketplaceId:"ATVPDKIKX0DER",asin:"B08125FJ2F",ticket:""}}}},data:function(){return{zIndex:99999,listLoading:!1,list:[],isSearchKey:!1,searchKey:"",showAddModal:!1,isErrorTitle:!1,newlistName:""}},model:{prop:"showSider",event:"toggle"},components:{customModal:c["l"]},watch:{showSider:{immediate:!0,handler:function(t){t&&(this.newlistName="",this.isErrorTitle=!1,this.getKeywordLib())}},showAddModal:function(){this.showAddModal?this.zIndex=9998:this.zIndex=99999}},computed:{__visible__:{get:function(){return this.showSider},set:function(t){this.$emit("toggle",t)}}},methods:{createZonedMoment:l["b"],getTimeZoneMulti:l["w"],toggleAddModal:function(){this.showAddModal=!0,setTimeout((function(){document.querySelector(".list-sider_keyword-add-modal").parentElement.style="z-index:10000",document.querySelector(".list-sider_keyword-add-modal+.modal-backdrop").style="z-index:9999"}),0)},getMarketplace:function(t){return s["E"].getMarketplace(t)},handleClose:function(){this.$emit("toggle",!1),this.$emit("refreshList")},getKeywordLib:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var a,n,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,t.listLoading=!0,t.isSearchKey=!0,n={marketplaceId:null===(a=t.apiParams)||void 0===a?void 0:a.marketplaceId,currentPage:1,pageSize:99999},t.searchKey&&(n.searchKey=t.searchKey),e.next=7,Object(r["f"])(n);case 7:i=e.sent,1==i.status&&(t.list=i.content.result),e.next=13;break;case 11:e.prev=11,e.t0=e["catch"](0);case 13:return e.prev=13,t.listLoading=!1,e.finish(13);case 16:case"end":return e.stop()}}),e,null,[[0,11,13,16]])})))()},handlerSelectKeyword:function(t){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function a(){var n,i,o;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return n=e.apiParams.keywords instanceof Array?e.apiParams.keywords:[e.apiParams.keywords],i={marketplaceId:t.marketplaceId,keywords:n,databaseId:t.id,name:t.name},a.next=4,Object(r["e"])(i);case 4:o=a.sent,1==o.status&&(e.$store.dispatch("app/updatePop",{title:e.$t("_COMMON_OPERATE_SUCCESS"),icon:"EditIcon",variant:"success"}),e.getKeywordLib());case 6:case"end":return a.stop()}}),a)})))()},addKeyword:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var a,n,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.newlistName.trim().length){e.next=3;break}return t.isErrorTitle=!0,e.abrupt("return");case 3:return t.isErrorTitle=!1,n={name:t.newlistName,marketplaceId:null===(a=t.apiParams)||void 0===a?void 0:a.marketplaceId,keywords:[t.apiParams.keywords]},e.next=7,Object(r["a"])(n);case 7:i=e.sent,1==i.status&&(t.showAddModal=!1,t.$emit("toggle",!1),t.$store.dispatch("app/updatePop",{title:t.$t("_COMMON_OPERATE_SUCCESS"),icon:"EditIcon",variant:"success"}));case 9:case"end":return e.stop()}}),e)})))()}}},u=d,p=(a("c12b"),a("2877")),_=Object(p["a"])(u,n,i,!1,null,null,null);e["a"]=_.exports},3620:function(t,e,a){"use strict";a.r(e),a.d(e,"amazonSiteMap",(function(){return r})),a.d(e,"amazonSiteA",(function(){return c})),a.d(e,"amazonSiteMpaA",(function(){return l})),a.d(e,"amazonSiteB",(function(){return u})),a.d(e,"amazonSiteMpaB",(function(){return p})),a.d(e,"amazonSiteAIReview",(function(){return h})),a.d(e,"amazonSiteMpaAIReview",(function(){return f})),a.d(e,"amazonSitePatent",(function(){return g})),a.d(e,"amazonSiteMpaPatent",(function(){return A})),a.d(e,"amazonSiteC",(function(){return b})),a.d(e,"amazonSiteMpaC",(function(){return T})),a.d(e,"amazonSiteD",(function(){return E})),a.d(e,"amazonSiteMpaD",(function(){return S})),a.d(e,"amazonSiteE",(function(){return I})),a.d(e,"amazonSiteMpaE",(function(){return M})),a.d(e,"amazonSiteF",(function(){return k})),a.d(e,"amazonSiteMpaF",(function(){return N})),a.d(e,"review",(function(){return x})),a.d(e,"star",(function(){return R})),a.d(e,"price",(function(){return D})),a.d(e,"timePastMonth",(function(){return w}));a("d3b7"),a("159b");var n=a("d80f"),i=a("cf45"),o=function(t){var e={};return t.forEach((function(t){e[t.value]=t.label})),e},r={POL:{label:"_MWS_AUTHORIZATION_AMAZON_SITE_PL",value:n["w"],gy:"EUR",icon:"icp-flag icp-flag-pl",isTranslate:!0},EUR:{label:"_CLAIM_ASSISTANT_EUROPE_SITE",value:n["q"],gy:"EUR",icon:"icp-flag icp-flag-eu",isTranslate:!0},USA:{label:"_MWS_AUTHORIZATION_AMAZON_SITE_US",value:n["B"],gy:"USA",icon:"icp-flag icp-flag-us",isTranslate:!0},CAN:{label:"_MWS_AUTHORIZATION_AMAZON_SITE_CA",value:n["n"],gy:"CAN",icon:"icp-flag icp-flag-ca",isTranslate:!0},MEX:{label:"_MWS_AUTHORIZATION_AMAZON_SITE_MX",value:n["u"],gy:"MEX",icon:"icp-flag icp-flag-mx",isTranslate:!0},GBR:{label:"_MWS_AUTHORIZATION_AMAZON_SITE_UK",value:n["A"],gy:"GBR",icon:"icp-flag icp-flag-uk",isTranslate:!0},DEU:{label:"_MWS_AUTHORIZATION_AMAZON_SITE_DE",value:n["o"],gy:"DEU",icon:"icp-flag icp-flag-de",isTranslate:!0},FRA:{label:"_MWS_AUTHORIZATION_AMAZON_SITE_FR",value:n["q"],gy:"FRA",icon:"icp-flag icp-flag-fr",isTranslate:!0},ESP:{label:"_MWS_AUTHORIZATION_AMAZON_SITE_ES",value:n["p"],gy:"ESP",icon:"icp-flag icp-flag-es",isTranslate:!0},ITA:{label:"_MWS_AUTHORIZATION_AMAZON_SITE_IT",value:n["s"],gy:"ITA",icon:"icp-flag icp-flag-it",isTranslate:!0},JPN:{label:"_MWS_AUTHORIZATION_AMAZON_SITE_JP",value:n["t"],gy:"JPN",icon:"icp-flag icp-flag-jp",isTranslate:!0},AUS:{label:"_MWS_AUTHORIZATION_AMAZON_SITE_AU",value:n["m"],gy:"AUS",icon:"icp-flag icp-flag-au",isTranslate:!0},IND:{label:"_MWS_AUTHORIZATION_AMAZON_SITE_IN",value:n["r"],gy:"IND",icon:"icp-flag icp-flag-in",isTranslate:!0},ARE:{label:"_MWS_AUTHORIZATION_AMAZON_SITE_AE",value:n["l"],gy:"AED",icon:"icp-flag icp-flag-ae",isTranslate:!0},SAU:{label:"_MWS_AUTHORIZATION_AMAZON_SITE_SA",value:n["x"],gy:"SAU",icon:"icp-flag icp-flag-sa",isTranslate:!0},SGP:{label:"_MWS_AUTHORIZATION_AMAZON_SITE_SG",value:n["z"],gy:"SGP",icon:"icp-flag icp-flag-sg",isTranslate:!0},NLD:{label:"_MWS_AUTHORIZATION_AMAZON_SITE_NL",value:n["v"],gy:"NLD",icon:"icp-flag icp-flag-nl",isTranslate:!0},SWE:{label:"_MWS_AUTHORIZATION_AMAZON_SITE_SE",value:n["y"],gy:"SWE",icon:"icp-flag icp-flag-se",isTranslate:!0}},s=["USA","CAN","GBR","FRA","DEU","ITA","ESP","JPN","IND"],c=Object(i["e"])(s,r),l=o(c),d=["USA","CAN","GBR","FRA","DEU","ITA","ESP","JPN","IND"],u=Object(i["e"])(d,r),p=o(d),_=["USA","CAN","DEU","ESP","FRA","GBR","ITA","JPN"],h=Object(i["e"])(_,r),f=o(_),m=["USA","JPN"],g=Object(i["e"])(m,r),A=o(m),v=["USA","CAN","MEX","GBR","FRA","DEU","ITA","ESP","JPN","AUS","IND","ARE","SAU","SGP"],b=Object(i["e"])(v,r),T=o(b),y=["USA","CAN","MEX","GBR","EUR","JPN","AUS","IND"],E=Object(i["e"])(y,r),S=o(E),O=["USA","CAN"],I=Object(i["e"])(O,r),M=o(I),C=["USA","JPN","GBR","DEU"],k=Object(i["e"])(C,r),N=o(C),x=[{value:"0-10",label:"<10"},{value:"10-20",label:"10-20"},{value:"20-50",label:"20-50"},{value:"50-100",label:"50-100"},{value:"100-300",label:"100-300"}],R=[{value:"0-3",label:"0-3.0"},{value:"3-3.5",label:"3.0-3.5"},{value:"3.5-4",label:"3.5-4.0"},{value:"4-4.2",label:"4.0-4.2"},{value:"4.2-4.5",label:"4.2-4.5"},{value:"4.5-5",label:"4.5-5.0"}],D=[{value:"0-10",label:"<10"},{value:"10-30",label:"10-30"},{value:"30-50",label:"30-50"},{value:"50-100",label:"50-100"},{value:"100-500",label:"100-500"},{value:"500-1000",label:"500-1000"},{value:"1000-2500",label:"1000-2500"},{value:"2500-5000",label:"2500-5000"},{value:"5000-20000",label:">5000"}],w=[{value:3,label:"_OPTIONS_LESS_NUM_MONTHS",params:{num:3},isTranslate:!0},{value:6,label:"_OPTIONS_LESS_NUM_MONTHS",params:{num:6},isTranslate:!0},{value:12,label:"_OPTIONS_LESS_NUM_YEARS",params:{num:1},isTranslate:!0},{value:24,label:"_OPTIONS_LESS_NUM_YEARS",params:{num:2},isTranslate:!0}]},"3a56":function(t,e,a){"use strict";var n=a("7fae"),i=a("6d8b"),o=a("6cb7"),r=a("50e5"),s=a("e0d3"),c=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}(),l=function(t){function e(){var a=null!==t&&t.apply(this,arguments)||this;return a.type=e.type,a._autoThrottle=!0,a._noTarget=!0,a._rangePropMode=["percent","percent"],a}return Object(n["a"])(e,t),e.prototype.init=function(t,e,a){var n=d(t);this.settledOption=n,this.mergeDefaultAndTheme(t,a),this._doInit(n)},e.prototype.mergeOption=function(t){var e=d(t);Object(i["I"])(this.option,t,!0),Object(i["I"])(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var a=this.settledOption;Object(i["k"])([["start","startValue"],["end","endValue"]],(function(t,n){"value"===this._rangePropMode[n]&&(e[t[0]]=a[t[0]]=null)}),this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=Object(i["f"])(),a=this._fillSpecifiedTargetAxis(e);a?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each((function(t){t.indexList.length&&(this._noTarget=!1)}),this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return Object(i["k"])(r["a"],(function(a){var n=this.getReferringComponents(Object(r["d"])(a),s["a"]);if(n.specified){e=!0;var o=new c;Object(i["k"])(n.models,(function(t){o.add(t.componentIndex)})),t.set(a,o)}}),this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var a=this.ecModel,n=!0;if(n){var o="vertical"===e?"y":"x",l=a.findComponents({mainType:o+"Axis"});d(l,o)}if(n){l=a.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}});d(l,"single")}function d(e,a){var o=e[0];if(o){var r=new c;if(r.add(o.componentIndex),t.set(a,r),n=!1,"x"===a||"y"===a){var l=o.getReferringComponents("grid",s["b"]).models[0];l&&Object(i["k"])(e,(function(t){o.componentIndex!==t.componentIndex&&l===t.getReferringComponents("grid",s["b"]).models[0]&&r.add(t.componentIndex)}))}}}n&&Object(i["k"])(r["a"],(function(e){if(n){var i=a.findComponents({mainType:Object(r["d"])(e),filter:function(t){return"category"===t.get("type",!0)}});if(i[0]){var o=new c;o.add(i[0].componentIndex),t.set(e,o),n=!1}}}),this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis((function(e){!t&&(t=e)}),this),"y"===t?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,a=this.get("rangeMode");Object(i["k"])([["start","startValue"],["end","endValue"]],(function(n,i){var o=null!=t[n[0]],r=null!=t[n[1]];o&&!r?e[i]="percent":!o&&r?e[i]="value":a?e[i]=a[i]:o&&(e[i]="percent")}))},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis((function(e,a){null==t&&(t=this.ecModel.getComponent(Object(r["d"])(e),a))}),this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each((function(a,n){Object(i["k"])(a.indexList,(function(a){t.call(e,n,a)}))}))},e.prototype.getAxisProxy=function(t,e){var a=this.getAxisModel(t,e);if(a)return a.__dzAxisProxy},e.prototype.getAxisModel=function(t,e){var a=this._targetAxisInfoMap.get(t);if(a&&a.indexMap[e])return this.ecModel.getComponent(Object(r["d"])(t),e)},e.prototype.setRawRange=function(t){var e=this.option,a=this.settledOption;Object(i["k"])([["start","startValue"],["end","endValue"]],(function(n){null==t[n[0]]&&null==t[n[1]]||(e[n[0]]=a[n[0]]=t[n[0]],e[n[1]]=a[n[1]]=t[n[1]])}),this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;Object(i["k"])(["start","startValue","end","endValue"],(function(a){e[a]=t[a]}))},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var a=this.findRepresentativeAxisProxy();return a?a.getDataValueWindow():void 0},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,a=this._targetAxisInfoMap.keys(),n=0;n<a.length;n++)for(var i=a[n],o=this._targetAxisInfoMap.get(i),r=0;r<o.indexList.length;r++){var s=this.getAxisProxy(i,o.indexList[r]);if(s.hostedBy(this))return s;e||(e=s)}return e},e.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},e.prototype.getOrient=function(){return this._orient},e.type="dataZoom",e.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],e.defaultOption={z:4,filterMode:"filter",start:0,end:100},e}(o["a"]);function d(t){var e={};return Object(i["k"])(["start","end","startValue","endValue","throttle"],(function(a){t.hasOwnProperty(a)&&(e[a]=t[a])})),e}e["a"]=l},"4a01":function(t,e,a){"use strict";var n=a("7fae"),i=a("6fd3"),o=a("607d"),r=a("a4fe"),s=a("6d8b"),c=function(t){function e(e){var a=t.call(this)||this;a._zr=e;var n=Object(s["c"])(a._mousedownHandler,a),i=Object(s["c"])(a._mousemoveHandler,a),o=Object(s["c"])(a._mouseupHandler,a),r=Object(s["c"])(a._mousewheelHandler,a),c=Object(s["c"])(a._pinchHandler,a);return a.enable=function(t,a){this.disable(),this._opt=Object(s["i"])(Object(s["d"])(a)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),!0!==t&&"move"!==t&&"pan"!==t||(e.on("mousedown",n),e.on("mousemove",i),e.on("mouseup",o)),!0!==t&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",r),e.on("pinch",c))},a.disable=function(){e.off("mousedown",n),e.off("mousemove",i),e.off("mouseup",o),e.off("mousewheel",r),e.off("pinch",c)},a}return Object(n["a"])(e,t),e.prototype.isDragging=function(){return this._dragging},e.prototype.isPinching=function(){return this._pinching},e.prototype.setPointerChecker=function(t){this.pointerChecker=t},e.prototype.dispose=function(){this.disable()},e.prototype._mousedownHandler=function(t){if(!(o["d"](t)||t.target&&t.target.draggable)){var e=t.offsetX,a=t.offsetY;this.pointerChecker&&this.pointerChecker(t,e,a)&&(this._x=e,this._y=a,this._dragging=!0)}},e.prototype._mousemoveHandler=function(t){if(this._dragging&&u("moveOnMouseMove",t,this._opt)&&"pinch"!==t.gestureEvent&&!r["a"](this._zr,"globalPan")){var e=t.offsetX,a=t.offsetY,n=this._x,i=this._y,s=e-n,c=a-i;this._x=e,this._y=a,this._opt.preventDefaultMouseMove&&o["g"](t.event),d(this,"pan","moveOnMouseMove",t,{dx:s,dy:c,oldX:n,oldY:i,newX:e,newY:a,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(t){o["d"](t)||(this._dragging=!1)},e.prototype._mousewheelHandler=function(t){var e=u("zoomOnMouseWheel",t,this._opt),a=u("moveOnMouseWheel",t,this._opt),n=t.wheelDelta,i=Math.abs(n),o=t.offsetX,r=t.offsetY;if(0!==n&&(e||a)){if(e){var s=i>3?1.4:i>1?1.2:1.1,c=n>0?s:1/s;l(this,"zoom","zoomOnMouseWheel",t,{scale:c,originX:o,originY:r,isAvailableBehavior:null})}if(a){var d=Math.abs(n),p=(n>0?1:-1)*(d>3?.4:d>1?.15:.05);l(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:p,originX:o,originY:r,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){if(!r["a"](this._zr,"globalPan")){var e=t.pinchScale>1?1.1:1/1.1;l(this,"zoom",null,t,{scale:e,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})}},e}(i["a"]);function l(t,e,a,n,i){t.pointerChecker&&t.pointerChecker(n,i.originX,i.originY)&&(o["g"](n.event),d(t,e,a,n,i))}function d(t,e,a,n,i){i.isAvailableBehavior=Object(s["c"])(u,null,a,n),t.trigger(e,i)}function u(t,e,a){var n=a[t];return!t||n&&(!Object(s["C"])(n)||e.event[n+"Key"])}e["a"]=c},"50e5":function(t,e,a){"use strict";a.d(e,"a",(function(){return i})),a.d(e,"e",(function(){return r})),a.d(e,"d",(function(){return s})),a.d(e,"c",(function(){return c})),a.d(e,"b",(function(){return l}));var n=a("6d8b"),i=["x","y","radius","angle","single"],o=["cartesian2d","polar","singleAxis"];function r(t){var e=t.get("coordinateSystem");return Object(n["r"])(o,e)>=0}function s(t){return t+"Axis"}function c(t,e){var a,i=Object(n["f"])(),o=[],r=Object(n["f"])();t.eachComponent({mainType:"dataZoom",query:e},(function(t){r.get(t.uid)||c(t)}));do{a=!1,t.eachComponent("dataZoom",s)}while(a);function s(t){!r.get(t.uid)&&l(t)&&(c(t),a=!0)}function c(t){r.set(t.uid,!0),o.push(t),d(t)}function l(t){var e=!1;return t.eachTargetAxis((function(t,a){var n=i.get(t);n&&n[a]&&(e=!0)})),e}function d(t){t.eachTargetAxis((function(t,e){(i.get(t)||i.set(t,[]))[e]=!0}))}return o}function l(t){var e=t.ecModel,a={infoList:[],infoMap:Object(n["f"])()};return t.eachTargetAxis((function(t,n){var i=e.getComponent(s(t),n);if(i){var o=i.getCoordSysModel();if(o){var r=o.uid,c=a.infoMap.get(r);c||(c={model:o,axisModels:[]},a.infoList.push(c),a.infoMap.set(r,c)),c.axisModels.push(i)}}})),a}},"63b4":function(t,e,a){},"7dcf":function(t,e,a){"use strict";var n=a("7fae"),i=a("b12f"),o=function(t){function e(){var a=null!==t&&t.apply(this,arguments)||this;return a.type=e.type,a}return Object(n["a"])(e,t),e.prototype.render=function(t,e,a,n){this.dataZoomModel=t,this.ecModel=e,this.api=a},e.type="dataZoom",e}(i["a"]);e["a"]=o},"823f":function(t,e,a){"use strict";a("9e00")},8469:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{on:{click:function(e){return e.preventDefault(),t.emptyClick.apply(null,arguments)}}},[n("draggable-pad",{attrs:{padId:t.padId,customFooter:t.showTop3,customStyle:"min-width: 536px;"},on:{close:function(e){return t.$emit("close")}},scopedSlots:t._u([t.customFooter?{key:"custom-footer",fn:function(){return[n("b-button",{staticClass:"draggable-pad__footer-btn",attrs:{variant:"outline-primary"},on:{mousedown:function(e){return e.stopPropagation(),t.handleEmpty()},click:function(e){return t.$emit("close")}}},[t._v(t._s(t.$t("_COMMON_BUTTON_CLOSE")))]),n("b-button",{staticClass:"draggable-pad__footer-btn m-l-16",attrs:{variant:"primary"},on:{mousedown:function(e){return e.stopPropagation(),t.handleEmpty()},click:t.goMoreKeyword}},[t._v(t._s(t.$t("aba_more")))])]},proxy:!0}:null],null,!0)},[n("div",{staticClass:"drag_keyword_chart-wrap"},[n("div",{staticClass:"d-flex justify-content--space-between p-relative"},[n("div",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",value:t.modalTitle,expression:"modalTitle",modifiers:{hover:!0,bottom:!0}}],staticClass:"title"},[t._v(t._s(t.modalTitle))]),t.hideAddLab?t._e():n("b-button",{attrs:{id:"drag_keyword_chart",variant:"outline-primary",size:"sm"},on:{click:function(e){e.stopPropagation(),t.showPop=!t.showPop}}},[t._v(" "+t._s(t.$t("aw_btn_add"))+" "),n("feather-icon",{staticClass:"m-l-4",attrs:{icon:"ChevronDownIcon"}})],1),n("keyword-popver",{attrs:{showPop:t.showPop,apiParams:t.apiParams},on:{closePop:t.emptyClick}})],1),n("b-button-group",{staticClass:"m-t-8",attrs:{size:"sm"}},[n("b-button",{directives:[{name:"ripple",rawName:"v-ripple.400",value:"rgba(113, 102, 240, 0.15)",expression:"'rgba(113, 102, 240, 0.15)'",modifiers:{400:!0}}],class:{"btn-group--selected":0==t.curType},attrs:{variant:"outline-primary"},on:{click:function(e){return t.onChangeBtn(0)}}},[t._v(" "+t._s(t.$t("_COMMON_TH_RANKING"))+" ")]),n("b-button",{directives:[{name:"ripple",rawName:"v-ripple.400",value:"rgba(113, 102, 240, 0.15)",expression:"'rgba(113, 102, 240, 0.15)'",modifiers:{400:!0}}],class:{"btn-group--selected":1==t.curType},attrs:{variant:"outline-primary"},on:{click:function(e){return t.onChangeBtn(1)}}},[t._v(" "+t._s(t.$t("_KEYWORD_POPULARITY_KEYWORD_POPULARITY_ROW_TITLE"))+" ")])],1),t.showFreeTip?n("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading.getData,expression:"loading.getData"}],staticClass:"package-tip-block m-b-12"},[n("div",[t._v(t._s(t.$t("global_payment_user_can_view")))]),n("router-link",{staticClass:"m-t-8",attrs:{to:{path:"/package_center"}}},[t._v(t._s(t.$t("_PROFILE_MY_PACKAGE_CONTACT_CM_BP"))+" "),n("feather-icon",{staticClass:"m-b-2",attrs:{icon:"ChevronRightIcon"}})],1)],1):t.noData?n("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading.getData,expression:"loading.getData"}],staticClass:"nodata-block"},[n("img",{attrs:{src:a("b6c0")}}),n("div",{staticClass:"m-t-24"},[t._v(t._s(t.$t("aba_no_data")))])]):n("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading.getData,expression:"loading.getData"}],staticClass:"echart-block"},[n("app-echart-line-custom",{key:t.echartKey,attrs:{optionData:t.optionData,height:220}})],1),t.showTop3&&t.keywordDatas.report?n("div",{staticClass:"top3-block"},[n("div",[n("div",[t._v(t._s(t.$t("aba_top3")+t.$t("_COMMON_TH_PRODUCT")+t.$t("_COMMON_SYMBOL_COLON")))]),n("div",{staticClass:"d-flex m-t-4"},t._l(3,(function(e){return n("div",{key:"td-img_"+e+t.keywordDatas.report["no"+e+"ClickedAsinImageUrl"],staticClass:"top3-block-imgwrap",class:{"no-border":!t.keywordDatas.report["no"+e+"ClickedAsin"]}},[t.keywordDatas.report["no"+e+"ClickedAsin"]?n("div",{attrs:{id:"dragemodal-img_"+e+t.keywordDatas.report["no"+e+"ClickedAsinImageUrl"]}},[n("el-image",{staticClass:"top3-block-imgwrap--item",attrs:{src:t.keywordDatas.report["no"+e+"ClickedAsinImageUrl"]}},[n("div",{staticClass:"image-slot",attrs:{slot:"placeholder"},slot:"placeholder"},[n("img",{attrs:{width:"66",height:"66",src:"/images/imgplaceholder/img_loading.png",alt:""}})]),n("div",{staticClass:"image-slot",attrs:{slot:"error"},slot:"error"},[n("img",{attrs:{width:"66",height:"66",src:"/images/imgplaceholder/img_err.png",alt:""}})])])],1):n("div",[t._v("—")]),n("b-popover",{attrs:{target:"dragemodal-img_"+e+t.keywordDatas.report["no"+e+"ClickedAsinImageUrl"],"custom-class":"keyword-tool__productinfo-pop keyword-list-pop",triggers:"hover",placement:"bottom"}},[n("div",[t._v(" "+t._s(t.keywordDatas.report["no"+e+"ClickedAsin"])+" "),n("feather-icon",{staticClass:"g-link-btn m-l-4",attrs:{icon:"CopyIcon"},on:{click:function(a){return t.copyToClipboard(t.keywordDatas.report["no"+e+"ClickedAsin"])}}})],1),n("div",{staticClass:"m-t-4"},[t._v(t._s(t.$t("reversecmp_sheetheader_clickshare")+t.$t("_COMMON_SYMBOL_COLON"))+" "+t._s(t._f("percentSuffix")(t.keywordDatas.report["no"+e+"ClickShare"])))]),n("div",{staticClass:"m-t-4"},[t._v(t._s(t.$t("reversecmp_sheetheader_conversionshare")+t.$t("_COMMON_SYMBOL_COLON"))+t._s(t._f("percentSuffix")(t.keywordDatas.report["no"+e+"ConversionShare"])))]),n("div",{staticClass:"m-t-4"},[n("span",{staticClass:"g-link-btn",on:{click:function(a){return t.goTrackPage(t.keywordDatas.report["no"+e+"ClickedAsin"])}}},[t._v(t._s(t.$t("kwinfopop_competitortrack")))]),n("span",{staticClass:"g-link-btn",on:{click:function(a){return t.goAsinLookupPage(t.keywordDatas.report["no"+e+"ClickedAsin"])}}},[t._v(t._s(t.$t("kwinfopop_reverseasinkwsrch")))])]),n("div",{staticClass:"divider"}),n("div",{staticClass:"m-t-8 text-center"},[n("a",{attrs:{variant:"link",href:t._f("amazon_asin_page_tracker")(t.keywordDatas.report["no"+e+"ClickedAsin"],t.apiParams.marketplaceId),target:"_blank"}},[t._v(t._s(t.$t("asininfopop_checkasinlisting"))+" "),n("feather-icon",{staticClass:"fs16 m-b-2",attrs:{icon:"ExternalLinkIcon"}})],1)])])],1)})),0)]),n("div",{staticClass:"flex-one"},[n("div",{staticClass:"m-l-12"},[t._v(t._s(t.$t("aba_top3")+t.$t("aba_percentage")+t.$t("_COMMON_SYMBOL_COLON")))]),n("div",{staticClass:"d-flex m-t-4"},[n("div",{staticClass:"flex-one top3-data-block"},[n("div",{staticClass:"fs12 m-b-6"},[t._v(t._s(t.$t("reversecmp_sheetheader_clickshare")+t.$t("_COMMON_SYMBOL_COLON")))]),n("div",[t._v(" "+t._s(t._f("percentSuffix")(t.keywordDatas.report.totalClickShare))+" ")])]),n("div",{staticClass:"flex-one top3-data-block"},[n("div",{staticClass:"fs12 m-b-6"},[t._v(t._s(t.$t("reversecmp_sheetheader_conversionshare")+t.$t("_COMMON_SYMBOL_COLON")))]),n("div",[t._v(" "+t._s(t._f("percentSuffix")(t.keywordDatas.report.totalConversionShare))+" ")])])])])]):t._e()],1)])],1)},i=[],o=a("1da1"),r=a("5530"),s=(a("96cf"),a("d81d"),a("4de4"),a("d3b7"),a("caad"),a("2532"),a("b64b"),a("b0c0"),a("2f62")),c=a("e009"),l=a("9c50"),d=a("8efa"),u=a("3862"),p=a("bb87"),_=a("d80f"),h=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.showPop?n("div",{staticClass:"el-popover custom-popover--keyword",on:{click:function(t){t.stopPropagation()}}},[t.isSearchKey||t.kwList.length?[n("b-input-group",{staticClass:"input-group-merge",staticStyle:{width:"300px"},attrs:{size:"sm"}},[n("b-form-input",{attrs:{placeholder:t.$t("kwsrchfield_placeholder")},on:{mousedown:function(t){t.stopPropagation()}},model:{value:t.searchKey,callback:function(e){t.searchKey=e},expression:"searchKey"}}),n("b-input-group-append",{attrs:{"is-text":""}},[n("feather-icon",{staticClass:"cursor-pointer",attrs:{icon:"SearchIcon"},on:{click:t.doSearch}})],1)],1),n("div",{staticClass:"m-tb-8"},[t._v(t._s(t.$t("aw_recent_view")))]),t.kwList.length?n("div",{staticClass:"keyword-item-wrap"},t._l(t.kwList,(function(e){return n("div",{key:e.id,staticClass:"keyword-item",on:{click:function(a){return t.handlerSelectKeyword(e)}}},[n("div",{staticClass:"keyword-item--title"},[n("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",value:e.name,expression:"k.name",modifiers:{hover:!0,bottom:!0}}]},[t._v(t._s(e.name))])]),n("div",{staticClass:"d-flex align-items--center"},[n("i",{class:"m-r-4 icp-flag icp-flag-"+t.getMarketplace(e.marketplaceId).ico}),n("span",{staticClass:"m-l-4"},[t._v(t._s(t.$t("Lk_Package_Item_Text_Size_Keyword",{num:e.count})))])])])})),0):n("div",{staticClass:"m-t-12 empty-status-block h-300"},[n("img",{attrs:{src:a("b6c0")}}),n("div",{staticClass:"m-t-24"},[t._v(t._s(t.$t("global_nodata")))])]),n("div",{staticClass:"custom-popover--keyword-footer"},[n("span",{staticClass:"g-link-btn",on:{click:t.showMore}},[t._v(t._s(t.$t("_DASHBOARD_MORE"))+" "),n("feather-icon",{attrs:{icon:"ChevronRightIcon"}})],1)])]:n("div",{staticClass:"empty-status-block"},[n("img",{attrs:{src:a("3281")}}),n("div",{staticClass:"m-tb-24"},[t._v(t._s(t.$t("kr_has_note_creat_keywords_list")))]),n("div",{staticClass:"d-flex align-items--center"},[n("b-button",{attrs:{size:"sm",variant:"primary"},on:{click:t.showMore}},[n("feather-icon",{staticClass:"m-r-4",attrs:{icon:"PlusIcon"}}),t._v(" "+t._s(t.$t("kr_creat_keywords_list_long"))+" ")],1)],1)]),n("ListSiderMoreList",{attrs:{apiParams:t.apiParams},on:{refreshList:t.getKeywordLib},model:{value:t.showSider,callback:function(e){t.showSider=e},expression:"showSider"}})],2):t._e()},f=[],m=a("d771"),g=a("3339"),A={props:{showPop:{type:!1,default:!1},apiParams:{type:Object,default:function(){return{keywords:"",marketplaceId:"",asin:"",ticket:""}}}},components:{ListSiderMoreList:g["a"]},data:function(){return{searchKey:"",isSearchKey:!1,kwList:[],showSider:!1}},computed:{},watch:{showPop:function(t){t&&(this.searchKey="",this.isSearchKey=!1,this.getKeywordLib())}},methods:{getMarketplace:function(t){return _["E"].getMarketplace(t)},doSearch:function(){this.isSearchKey=!0,this.getKeywordLib()},getKeywordLib:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var a,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a={marketplaceId:t.apiParams.marketplaceId,currentPage:1,pageSize:9},t.searchKey&&(a.searchKey=t.searchKey),e.next=4,Object(m["f"])(a);case 4:n=e.sent,1==n.status&&(t.kwList=n.content.result);case 6:case"end":return e.stop()}}),e)})))()},showMore:function(){this.showSider=!0},handlerSelectKeyword:function(t){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function a(){var n,i;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return n={marketplaceId:t.marketplaceId,keywords:[e.apiParams.keywords],databaseId:t.id,name:t.name},a.next=3,Object(m["e"])(n);case 3:i=a.sent,1==i.status&&(e.$emit("closePop"),e.$store.dispatch("app/updatePop",{title:e.$t("_COMMON_OPERATE_SUCCESS"),icon:"EditIcon",variant:"success"}));case 5:case"end":return a.stop()}}),a)})))()}}},v=A,b=(a("32fd"),a("2877")),T=Object(b["a"])(v,h,f,!1,null,null,null),y=T.exports,E=a("3620"),S={name:"keyword-toolk__drag_keyword_chart",directives:{Ripple:c["a"]},props:{hideAddLab:{type:Boolean,default:!1},padId:{},modalTitle:{},apiParams:{type:Object,default:function(){return{keywords:"",marketplaceId:"",asin:"",ticket:""}}},showTop3:{type:Boolean,default:!0},customFooter:{type:Boolean,default:!0}},components:{draggablePad:l["a"],AppEchartLineCustom:p["a"],KeywordPopver:y},data:function(){return{dateScope:0,curType:0,showPop:!1,loading:{getData:!1},echartKey:Math.random(),keywordDatas:{}}},watch:{apiParams:{immediate:!0,handler:function(t){var e=E["amazonSiteB"].filter((function(t){return"IND"!==t.gy})).map((function(t){return t.value}));e.includes(t.marketplaceId)?this.getData():(this.keywordDatas={},this.echartKey=Math.random())}}},mounted:function(){},computed:Object(r["a"])(Object(r["a"])({},Object(s["c"])({SELLER_PACKAGE:u["d"]})),{},{isFree:function(){var t,e=this;if(this.SELLER_PACKAGE&&null!==(t=Object.keys(this.SELLER_PACKAGE))&&void 0!==t&&t.length){var a,n=null===(a=Object.keys(this.SELLER_PACKAGE))||void 0===a?void 0:a.some((function(t){var a,n,i;return 3==(null===(a=e.SELLER_PACKAGE[t])||void 0===a?void 0:a.status)||!(null!==(n=e.SELLER_PACKAGE[t])&&void 0!==n&&null!==(i=n.current)&&void 0!==i&&i.free)}));return!n}return!0},showFreeTip:function(){var t,e;return"UNSUPPORTED"==(null===(t=this.keywordDatas)||void 0===t||null===(e=t.trends)||void 0===e?void 0:e.status)},noData:function(){var t,e;return"INADEQUATE"==(null===(t=this.keywordDatas)||void 0===t||null===(e=t.trends)||void 0===e?void 0:e.status)},optionData:function(){var t,e,a,n,i,o,r=this,s={0:{key:"r",name:this.$t("aba_rank"),inverse:!0,min:1},1:{key:"v",name:this.$t("_KEYWORD_POPULARITY_KEYWORD_POPULARITY_ROW_TITLE"),inverse:!1,min:0}};return{grid:{top:12,left:40,right:0,bottom:20},xAxis:{type:"category",boundaryGap:!0,data:null===(t=this.keywordDatas)||void 0===t||null===(e=t.trends)||void 0===e||null===(a=e.items)||void 0===a?void 0:a.map((function(t){return t.s}))},yAxis:{axisLabel:{formatter:function(t,e){return t>=1e3?t/1e3+"k":t}},min:s[this.curType].min,inverse:s[this.curType].inverse},series:[{name:s[this.curType].name,type:"line",lineStyle:{color:"#EA5455"},itemStyle:{color:"#EA5455"},data:null===(n=this.keywordDatas)||void 0===n||null===(i=n.trends)||void 0===i||null===(o=i.items)||void 0===o?void 0:o.map((function(t){return t[s[r.curType].key]}))}]}}}),methods:{goTrackPage:function(t){var e={asin:t,marketplaceId:this.apiParams.marketplaceId,autoReset:!0};this.$router.push({path:"/competitive_analysis/tracker",query:e})},goAsinLookupPage:function(t){this.$router.push({path:"/asin_lookup_keywords",query:{marketplaceId:this.apiParams.marketplaceId,asin:t}})},togglePop:function(t){this.showPop=t},handleEmpty:function(){},goPackageCenter:function(){this.$router.push("/package_center")},goMoreKeyword:function(){this.$router.push({path:"/keywordToolk",query:{marketplaceId:this.apiParams.marketplaceId,searchKey:this.noData?"":this.apiParams.keywords,autoReset:!0}})},copyToClipboard:function(t){var e=this;this.$copyText(t).then((function(){e.$store.dispatch("app/updatePop",{title:e.$t("_KEYWORD_POPULARITY_COPY_SUCCESS"),icon:"EditIcon",variant:"success"})}))},getMarketplace:function(t){return _["E"].getMarketplace(t)},onChangeBtn:function(t){this.curType=t},emptyClick:function(){this.showPop&&(this.showPop=!1)},getData:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,t.loading.getData=!0,e.next=4,Object(d["c"])(t.apiParams);case 4:a=e.sent,1==a.status&&(t.keywordDatas=a.content,t.echartKey=Math.random()),e.next=10;break;case 8:e.prev=8,e.t0=e["catch"](0);case 10:return e.prev=10,t.loading.getData=!1,e.finish(10);case 13:case"end":return e.stop()}}),e,null,[[0,8,10,13]])})))()}}},O=S,I=(a("b74a"),Object(b["a"])(O,n,i,!1,null,null,null));e["a"]=I.exports},"848e":function(t,e,a){"use strict";a.d(e,"a",(function(){return i}));var n=a("6d8b");function i(t,e){if(!t)return!1;for(var a=Object(n["t"])(t)?t:[t],i=0;i<a.length;i++)if(a[i]&&a[i][e])return!0;return!1}},"87ce":function(t,e,a){"use strict";a.r(e);var n=function(){var t,e=this,a=e.$createElement,n=e._self._c||a;return n("div",[n("div",{staticClass:"adviceReasonsTopTipWrap"},[n("span",{staticClass:"adviceReasonsTopTipBlock hasShuLast"},[n("span",{staticClass:"adviceReasonsTopTipBlockLable"},[n("lok",{attrs:{"lok-key":"AR_List_type_HowToDo"}}),n("lok",{attrs:{"lok-key":"_COMMON_SYMBOL_COLON"}})],1),n("lok",{staticClass:"adviceReasonsTopTipBlockValue",attrs:{"lok-key":"AR_List_type_SpKeywordPick_action"}})],1),n("span",{staticClass:"hasShuLast"}),n("span",{staticClass:"adviceReasonsTopTipBlock"},[n("span",{staticClass:"adviceReasonsTopTipBlockLable"},[n("lok",{attrs:{"lok-key":"AR_history_source"}}),n("lok",{attrs:{"lok-key":"_COMMON_SYMBOL_COLON"}})],1),n("span",{staticClass:"adviceReasonsTopTipBlockValue"},[e._v("Tool4seller")])]),n("div",{staticClass:"adviceReasonsTopTipBlock das-table-margin_top d-flex align-items-start grid-gap-4"},[n("span",{staticClass:"adviceReasonsTopTipBlockLable"},[n("lok",{attrs:{"lok-key":"_KEYWORD_RANK_SUGGEST_REASON"}}),n("lok",{attrs:{"lok-key":"_COMMON_SYMBOL_COLON"}})],1),n("span",[n("lok",{staticClass:"adviceReasonsTopTipBlockValue",attrs:{"lok-key":"AR_List_type_SpKeywordPick_ReasonLong"}}),n("span",{staticClass:"das-ui-button-link das-table-margin_left",on:{click:function(t){return e.$router.push({path:"/ppc_optimize/ad_advice",query:{"ppc_optimize-ad_advice_selectedTab":3}})}}},[n("lok",{attrs:{"lok-key":"AR_List_type_ViewRules"}}),n("feather-icon",{staticStyle:{"margin-top":"-3px"},attrs:{icon:"ChevronRightIcon",size:"16"}})],1)],1)])]),n("div",{staticClass:"ppc_optimize_ad_advice_keyword_detail_wrap"},[n("div",{staticClass:"d-flex align-items-start"},[n("shop-select",{staticClass:"shopSelect das-block-margin_right das-table-margin_left",attrs:{multiple:""}}),n("common-search-form",{attrs:{formId:e.$options.name+"_search","route-search":!0,options:e.searchOption},on:{event:e.searchFn},model:{value:e.searchForm,callback:function(t){e.searchForm=t},expression:"searchForm"}})],1),e.CURRENT_SHOP_ID&&e.CURRENT_SHOP_IDS.length?n("common-table",{key:e.CURRENT_SHOP_ID+e.CURRENT_SHOP_IDS.join(",")+e.$options.name+"_table",ref:"commonTableEle",attrs:{savePageOptions:"",params:e.searchFormParams,multiple:"",tableId:"ppc_optimize_ad_advice_keyword_detail_table",options:e.tableOptions},on:{response:e.responseFn,checkboxSelect:e.handleSelectedChange},scopedSlots:e._u([{key:"cell(operationBtn)",fn:function(t){return[t.data.item.status?n("lok",{staticClass:"das-ui-button-link",staticStyle:{color:"#999",padding:"0"},attrs:{"tag-name":"button",disabled:"","lok-key":"AR_typeList_status_adopted"}}):[n("div",{staticClass:"d-flex flex-column"},[n("lok",{staticClass:"das-ui-button-link",attrs:{"lok-key":"AR_TypeList_Button_Adopt"},on:{click:function(a){return e.doneFn(t.data.item)}}}),n("lok",{staticClass:"das-ui-button-link",staticStyle:{color:"#F43F3F"},attrs:{"lok-key":"AR_typelist_button_unremind"},on:{click:function(a){return e.removeFn(t.data.item)}}})],1)]]}},{key:"cell(sales)",fn:function(t){return[e._v(" "+e._s(e._f("amountAll")(t.data.value,t.data.item.currencyCode))+" ")]}},{key:"cell(spend)",fn:function(t){return[e._v(" "+e._s(e._f("amountAll")(t.data.value,t.data.item.currencyCode))+" ")]}},{key:"cell(cpc)",fn:function(t){return[e._v(" "+e._s(e._f("amountAll")(t.data.value,t.data.item.currencyCode))+" ")]}},{key:"cell(searchTerm)",fn:function(t){return[n("div",{staticClass:"d-flex"},[n("u",{staticClass:"pop-hover-link",on:{click:function(a){return e.showDetailChart(t.data.item,"searchTerm")}}},[n("div",{staticStyle:{position:"absolute",width:"100%","padding-right":"24px"}},[n("over-limit-show",{attrs:{isU:"",showLable:t.data.item.searchTerm}})],1),n("div",{staticStyle:{width:"0",opacity:"0",color:"transparent","pointer-events":"none"}},[n("over-limit-show",{attrs:{isU:"",showLable:t.data.item.searchTerm}})],1)])]),n("div",{staticClass:"d-flex align-items-center",staticStyle:{"margin-top":"4px"}},[t.data.item.shopInfo?n("span",{staticClass:"d-flex align-items-center"},[n("i",{class:"icp-flag icp-flag-"+t.data.item.shopInfo.amazonSiteInfo.countryCode.toLowerCase()+" das-label-right"}),n("over-limit-show",{staticStyle:{"max-width":"70px",width:"auto"},attrs:{showLable:t.data.item.shopInfo.name}}),n("feather-icon",{staticClass:"flex-shrink-0",attrs:{icon:"ChevronRightIcon",size:"16"}})],1):e._e(),n("span",{staticClass:"d-flex align-items-center"},[n("over-limit-show",{staticStyle:{"max-width":"70px",width:"auto"},attrs:{showLable:t.data.item.campaignName}}),n("feather-icon",{staticClass:"flex-shrink-0",attrs:{icon:"ChevronRightIcon",size:"16"}})],1),n("span",{staticClass:"d-flex align-items-center"},[n("over-limit-show",{staticStyle:{"max-width":"150px",width:"auto"},attrs:{showLable:t.data.item.groupName}}),n("feather-icon",{staticClass:"flex-shrink-0",attrs:{icon:"ChevronRightIcon",size:"16"}})],1),n("div",[t.data.item.targetAsinInfo?n("product-info-table-column",{staticStyle:{width:"260px"},attrs:{entity:t.data.item.targetAsinInfo,"key-map":{}}}):1===t.data.item.isPat?n("div",[t.data.item.targetType?n("div",{staticClass:"das-ui-content-text bold"},[e._v(" "+e._s(e.$t(e.TARGETTYPE_OBJ[t.data.item.targetType])||t.data.item.targetType)+" ")]):e._e(),n("div",[e._v(" "+e._s(t.data.item.keywordTextTpl)+" ")])]):n("div",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.noninteractive",value:{title:t.data.item.keywordText&&t.data.item.keywordText.length>30?t.data.item.keywordText:"",trigger:"hover",boundary:"view"},expression:"{\n              title: data.data.item.keywordText && data.data.item.keywordText.length > 30 ? data.data.item.keywordText : '',\n              trigger: 'hover',\n              boundary: 'view'\n            }",modifiers:{noninteractive:!0}}],staticClass:"expressionLimit"},[e._v(" "+e._s(t.data.item.keywordText)+" ")])],1)])]}},{key:"cell(skuInfo)",fn:function(t){return[n("div",{staticClass:"takeAdvicePopKeywordWrap"},[n("div",{staticClass:"takeAdvicePopLeft",staticStyle:{"min-width":"310px",width:"auto","background-color":"transparent",padding:"0"}},[t.data.value&&t.data.value.skuCount?n("div",{staticClass:"d-flex align-items-start"},[n("span",{staticClass:"takeAdvicePopLeftValue d-flex align-items-center"},[t.data.value.sku&&t.data.value.sku.imageUrl?n("img",{attrs:{src:e._f("toBigImage")(t.data.value.sku.imageUrl,100)}}):n("img",{attrs:{src:"/images/default.jpg"}}),n("div",{staticClass:"d-flex flex-column align-items-start das-label-left"},[1===t.data.value.skuCount?n("span",{staticStyle:{"white-space":"wrap"}},[e._v(" "+e._s(t.data.value.sku&&t.data.value.sku.sku)+" ")]):n("span",{staticStyle:{"white-space":"wrap"}},[e._v(" "+e._s(e.$t("AR_List_type_SpKeywordPick_AdProductTotal",{a:t.data.value.sku&&t.data.value.sku.sku,b:t.data.value.skuCount}))+" ")]),n("button",{staticClass:"das-ui-button-link d-flex align-items-center",on:{click:function(a){return e.showDetail(t.data.item)}}},[e._v(" "+e._s(e.$t("global_detail"))+" "),n("feather-icon",{attrs:{icon:"ChevronRightIcon",size:"16"}})],1)])])]):e._e()])])]}},{key:"cell(reasons)",fn:function(t){return[n("lok",{staticClass:"das-ui-button-link",attrs:{"tag-name":"button","lok-key":"package_order_fail_reason"},on:{click:function(a){return e.showReasonsFn(t.data.item)}}})]}},{key:"cell(targetInfo)",fn:function(t){return[n("span",{staticClass:"d-flex align-items-center"},[t.data.item.matchType?[n("span",[n("lok",{attrs:{"lok-key":"_ADVERTISEMENT_CREATE_CAMPAIGN_STEP_NEGATIVE_TARGET_MATCH_TYPE"}}),n("lok",{attrs:{"lok-key":"_COMMON_SYMBOL_COLON"}}),e._v(" "+e._s(e.$t(e.AD_MATCH_LABEL_MAP[t.data.item.matchType])||"-")+" ")],1),n("span",{staticClass:"das-table-padding_left das-table-padding_right"},[e._v("/")])]:e._e(),n("span",[n("lok",{attrs:{"lok-key":"_ADVERTISEMENT_TH_CAMPAIGN_TYPE"}}),n("lok",{attrs:{"lok-key":"_COMMON_SYMBOL_COLON"}}),e.CAMPAIGN_TYPE_LABEL_MAP[t.data.item.campaignType]?[e._v(" "+e._s(e.$t(e.CAMPAIGN_TYPE_LABEL_MAP[t.data.item.campaignType].label))+" ")]:[e._v(e._s(t.data.item.campaignType))],e._v(" - "),e.AD_TYPE_LABEL_MAP[t.data.item.targetingType]?[e._v(" "+e._s(e.$t(e.AD_TYPE_LABEL_MAP[t.data.item.targetingType].label))+" ")]:[e._v(e._s(t.data.item.targetingType))]],2)],2),t.data.item.shopInfo&&t.data.item.bid?n("span",{staticClass:"d-flex align-items-center"},[n("lok",{attrs:{"lok-key":"_ADVERTISEMENT_TH_DEFAULT_BID"}}),n("lok",{attrs:{"lok-key":"_COMMON_SYMBOL_COLON"}}),e._v(" "+e._s(e._f("amountAll")(t.data.item.bid,t.data.item.shopInfo.amazonSiteInfo.currencyCode))+" ")],1):e._e()]}}],null,!1,2318607021)}):e._e(),e.showDraggablePad?n("drag-keyword-chart",{attrs:{padId:"keywords_rank_pad",modalTitle:e.modalTitle,apiParams:e.apiParams,showTop3:!0,customFooter:!0},on:{close:function(t){e.showDraggablePad=!1}}}):e._e(),n("custom-modal",{attrs:{title:e.isBatch?e.$t("AR_TypeList_Button_BatchAdopt"):e.$t("AR_TypeList_Button_Adopt"),noMargin:"",modalClass:"normal-modal","hide-footer":"",visible:e.takeAdviceVis,width:e.isBatch?700:956},on:{hidden:function(t){e.takeAdviceVis=!1}}},[n("div",{staticClass:"takeAdvicePopKeywordWrap das-model-margin_left das-model-margin_right",class:{isBatchPop:e.isBatch,isEnLableWidth:e.IS_LANG_EN,isJpLableWidth:e.IS_LANG_JP}},[n("div",{staticClass:"takeAdvicePopLeft",class:(t={takeAdvicePopLeftEn:e.IS_LANG_EN,takeAdvicePopLeftJp:e.IS_LANG_JP},t["takeAdvicePopLeft"+e.$i18n.locale]=!0,t)},[e.isBatch?e.hasSelectArrays.length?[n("div",{staticClass:"d-flex align-items-start das-table-margin_bottom"},[n("lok",{staticClass:"takeAdvicePopLeftLabel",style:{width:e.IS_LANG_ZH?"80px":e.IS_LANG_EN?"92px":"115px"},attrs:{"lok-key":"_ADVERTISEMENT_TH_SEARCH_TERM"}}),n("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.noninteractive",value:{title:e.hasSelectArrays.map((function(t){return t.searchTerm})).join("</br>"),html:!0,trigger:"hover",boundary:"view"},expression:"{\n                title: hasSelectArrays.map(v => v.searchTerm).join('</br>'),\n                html: true,\n                trigger: 'hover',\n                boundary: 'view'\n              }",modifiers:{noninteractive:!0}}],staticClass:"takeAdvicePopLeftValue das-label-right",staticStyle:{"white-space":"normal"}},[e._v(" "+e._s(e.hasSelectArrays[0].searchTerm)+" "),e.hasSelectArrays.length>1?[e._v(e._s(e.$t("AR_List_type_SpKeywordPick_text1",{a:e.hasSelectArrays.length})))]:e._e()],2)],1),e.hasSelectArrays[0].shopInfo?n("div",{staticClass:"d-flex align-items-start das-table-margin_bottom"},[n("lok",{staticClass:"takeAdvicePopLeftLabel",style:{width:e.IS_LANG_ZH?"80px":e.IS_LANG_EN?"92px":"115px"},attrs:{"lok-key":"_COMMON_TH_STORE"}}),n("span",{staticClass:"takeAdvicePopLeftValue d-flex align-items-center"},[n("i",{class:"icp-flag icp-flag-"+e.currentAdviceItem.shopInfo.amazonSiteInfo.countryCode.toLowerCase()}),n("span",{staticClass:"das-label-left"},[e._v(" "+e._s(e.hasSelectArrays[0].shopInfo.name)+" ")])])],1):e._e()]:e._e():[n("div",{staticClass:"d-flex align-items-start das-table-margin_bottom"},[n("lok",{staticClass:"takeAdvicePopLeftLabel",attrs:{"lok-key":"_ADVERTISEMENT_TH_SEARCH_TERM"}}),n("span",{staticClass:"takeAdvicePopLeftValue",staticStyle:{"white-space":"normal"}},[e._v(" "+e._s(e.currentAdviceItem.searchTerm)+" ")])],1),e.currentAdviceItemAsins.length?n("div",{staticClass:"d-flex align-items-start das-table-margin_bottom"},[n("lok",{staticClass:"takeAdvicePopLeftLabel",attrs:{"lok-key":"ad_manage_SD_audience_purchase_product"}}),n("span",{staticClass:"takeAdvicePopLeftValue d-flex align-items-center"},[e.currentAdviceItemAsins[0]&&e.currentAdviceItemAsins[0].imageUrl?n("img",{attrs:{src:e._f("toBigImage")(e.currentAdviceItemAsins[0].imageUrl,100)}}):n("img",{attrs:{src:"/images/default.jpg"}}),n("div",{staticClass:"d-flex flex-column align-items-start das-label-left"},[1===e.currentAdviceItemAsins.length?n("span",{staticStyle:{"white-space":"wrap"}},[e._v(" "+e._s(e.currentAdviceItemAsins[0]&&e.currentAdviceItemAsins[0].sku)+" ")]):n("span",{staticStyle:{"white-space":"wrap"}},[e._v(" "+e._s(e.$t("AR_List_type_SpKeywordPick_AdProductTotal",{a:e.currentAdviceItemAsins[0]&&e.currentAdviceItemAsins[0].sku,b:e.currentAdviceItemAsins.length}))+" ")]),n("button",{staticClass:"das-ui-button-link d-flex align-items-center",on:{click:function(t){e.adProductVis=!0,e.showProductType="adProduct"}}},[e._v(" "+e._s(e.$t("global_detail"))+" "),n("feather-icon",{attrs:{icon:"ChevronRightIcon",size:"16"}})],1)])])],1):e._e(),n("div",{staticClass:"d-flex align-items-start das-table-margin_bottom"},[n("lok",{staticClass:"takeAdvicePopLeftLabel",attrs:{"lok-key":"_ADVERTISEMENT_TH_AD_TARGETING"}}),e.currentAdviceItem.targetAsinInfo?n("div",{staticClass:"takeAdvicePopLeftValue"},[n("product-info-table-column",{attrs:{entity:e.currentAdviceItem.targetAsinInfo,"key-map":{}}})],1):1===e.currentAdviceItem.isPat?n("div",{staticClass:"takeAdvicePopLeftValue",staticStyle:{"white-space":"normal"}},[e.currentAdviceItem.targetType?n("div",{staticClass:"das-ui-content-text bold"},[e._v(" "+e._s(e.$t(e.TARGETTYPE_OBJ[e.currentAdviceItem.targetType])||e.currentAdviceItem.targetType)+" ")]):e._e(),n("div",[e._v(" "+e._s(e.currentAdviceItem.keywordTextTpl)+" ")])]):n("div",{staticClass:"takeAdvicePopLeftValue",staticStyle:{"white-space":"normal"}},[e._v(" "+e._s(e.currentAdviceItem.keywordText)+" ")])],1),n("div",{staticClass:"d-flex align-items-start das-table-margin_bottom"},[n("lok",{staticClass:"takeAdvicePopLeftLabel",attrs:{"lok-key":"_ADVERTISEMENT_TH_DEFAULT_BID"}}),n("span",{staticClass:"takeAdvicePopLeftValue"},[e._v(" "+e._s(e._f("amountAll")(e.currentAdviceItem.bid,e.currentAdviceItem.currencyCode))+" ")])],1),n("div",{staticClass:"d-flex align-items-start das-table-margin_bottom"},[n("lok",{staticClass:"takeAdvicePopLeftLabel",attrs:{"lok-key":"_ADVERTISEMENT_TH_MATCH_TYPE"}}),n("span",{staticClass:"takeAdvicePopLeftValue"},[e._v(" "+e._s(e.$t(e.AD_MATCH_LABEL_MAP[e.currentAdviceItem.matchType]))+" ")])],1),n("div",{staticClass:"d-flex align-items-start das-table-margin_bottom"},[n("lok",{staticClass:"takeAdvicePopLeftLabel",attrs:{"lok-key":"_COMMON_TH_AD_GROUP"}}),n("span",{staticClass:"takeAdvicePopLeftValue",staticStyle:{"white-space":"normal"}},[e._v(" "+e._s(e.currentAdviceItem.groupName)+" ")])],1),n("div",{staticClass:"d-flex align-items-start das-table-margin_bottom"},[n("lok",{staticClass:"takeAdvicePopLeftLabel",attrs:{"lok-key":"_COMMON_TH_AD"}}),n("span",{staticClass:"takeAdvicePopLeftValue",staticStyle:{"white-space":"normal"}},[e._v(" "+e._s(e.currentAdviceItem.campaignName)+" ")])],1),n("div",{staticClass:"d-flex align-items-start das-table-margin_bottom"},[n("lok",{staticClass:"takeAdvicePopLeftLabel",attrs:{"lok-key":"_ADVERTISEMENT_TH_CAMPAIGN_TYPE"}}),n("span",{staticClass:"takeAdvicePopLeftValue",staticStyle:{"white-space":"normal"}},[e.CAMPAIGN_TYPE_LABEL_MAP[e.currentAdviceItem.campaignType]?[e._v(" "+e._s(e.$t(e.CAMPAIGN_TYPE_LABEL_MAP[e.currentAdviceItem.campaignType].label))+" ")]:[e._v(e._s(e.currentAdviceItem.campaignType))],e._v(" - "),e.AD_TYPE_LABEL_MAP[e.currentAdviceItem.targetingType]?[e._v(" "+e._s(e.$t(e.AD_TYPE_LABEL_MAP[e.currentAdviceItem.targetingType].label))+" ")]:[e._v(e._s(e.currentAdviceItem.targetingType))]],2)],1),e.currentAdviceItem.shopInfo?n("div",{staticClass:"d-flex align-items-start das-table-margin_bottom"},[n("lok",{staticClass:"takeAdvicePopLeftLabel",attrs:{"lok-key":"_COMMON_TH_STORE"}}),n("span",{staticClass:"takeAdvicePopLeftValue d-flex align-items-center"},[n("i",{class:"icp-flag icp-flag-"+e.currentAdviceItem.shopInfo.amazonSiteInfo.countryCode.toLowerCase()}),n("span",{staticClass:"das-label-left"},[e._v(" "+e._s(e.currentAdviceItem.shopInfo.name)+" ")])])],1):e._e()]],2),n("div",{staticClass:"takeAdvicePopRight",class:e.IS_LANG_JP?"takeAdvicePopRightJp":""},[n("div",{staticClass:"d-flex",class:{"flex-column align-items-start":!e.isBatch,"align-items-center":e.isBatch},staticStyle:{"flex-wrap":"wrap"}},[n("span",{staticClass:"takeAdvicePopRightTitle das-table-margin_right"},[e._v(e._s(e.$t("_ADVERTISEMENT_BTN_ADD_TARGET")))]),n("span",{staticClass:"takeAdvicePopRightTip",staticStyle:{"margin-top":"4px"}},[e._v(e._s(e.$t("AR_List_type_SpNegativeKeyword_text2")))])]),n("div",{staticClass:"takeAdvicePopRightContent das-table-margin_top"},[n("div",{staticClass:"d-flex align-items-start das-table-margin_bottom"},[n("lok",{staticClass:"takeAdvicePopRightLabel",attrs:{"lok-key":"_COMMON_TH_AD"}}),n("v-select",{staticStyle:{"min-width":"270px",height:"30px","max-width":"400px"},attrs:{reduce:function(t){return t.campaignId},"input-id":"calendar",placeholder:e.$t("_COMMON_PLACEHOLDER_CHOOSE_AD_CAMPAIGN"),options:e.campaignOptions},scopedSlots:e._u([{key:"selected-option",fn:function(t){var a=t.label,i=t.isShowTip;return[n("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.noninteractive",value:{title:i?e.currentTargetCampaign.label:"",trigger:"hover",boundary:"view"},expression:"{\n                    title: isShowTip ? currentTargetCampaign.label : '',\n                    trigger: 'hover',\n                    boundary: 'view'\n                  }",modifiers:{noninteractive:!0}}]},[e._v(e._s(a))])]}}]),model:{value:e.addSearchModel.campaignId,callback:function(t){e.$set(e.addSearchModel,"campaignId",t)},expression:"addSearchModel.campaignId"}},[n("template",{slot:"no-options"},[e._v(" "+e._s(e.$t("_COMMON_NO_DATA"))+" ")])],2)],1),e.addSearchModel.campaignId?[n("div",{staticClass:"d-flex align-items-start das-table-margin_bottom"},[n("lok",{staticClass:"takeAdvicePopRightLabel",attrs:{"lok-key":"_ADVERTISEMENT_TH_CAMPAIGN_TYPE"}}),n("span",{staticClass:"takeAdvicePopRightBalue"},[e.CAMPAIGN_TYPE_LABEL_MAP[e.currentTargetCampaign.campaignType]?[e._v(" "+e._s(e.$t(e.CAMPAIGN_TYPE_LABEL_MAP[e.currentTargetCampaign.campaignType].label))+" ")]:[e._v(e._s(e.currentTargetCampaign.campaignType))],e._v(" - "),e.AD_TYPE_LABEL_MAP[e.currentTargetCampaign.targetingType]?[e._v(" "+e._s(e.$t(e.AD_TYPE_LABEL_MAP[e.currentTargetCampaign.targetingType].label))+" ")]:[e._v(e._s(e.currentTargetCampaign.targetingType))]],2)],1),n("div",{staticClass:"d-flex align-items-start das-table-margin_bottom"},[n("lok",{staticClass:"takeAdvicePopRightLabel",attrs:{"lok-key":"_AD_AUTO_MANAGER_AD_STATUS"}}),n("span",{staticClass:"takeAdvicePopRightBalue"},[e._v(" "+e._s(e.$t(e.AD_ACTIVE_STATE_LABEL_MAP[e.currentTargetCampaign.state])||"-")+" ")])],1)]:e._e(),e.addSearchModel.campaignId?n("div",{staticClass:"d-flex align-items-start das-table-margin_bottom"},[n("lok",{staticClass:"takeAdvicePopRightLabel",attrs:{"lok-key":"_COMMON_TH_AD_GROUP"}}),n("v-select",{staticStyle:{"min-width":"270px",height:"30px","max-width":"400px"},attrs:{reduce:function(t){return t.groupId},"input-id":"calendar",placeholder:e.$t("_COMMON_PLACEHOLDER_CHOOSE_AD_GROUP"),options:e.groupOptions},scopedSlots:e._u([{key:"selected-option",fn:function(t){var a=t.label,i=t.isShowTip;return[n("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.noninteractive",value:{title:i?e.groupOptionsObj[e.addSearchModel.groupId]:"",trigger:"hover",boundary:"view"},expression:"{\n                    title: isShowTip ? groupOptionsObj[addSearchModel.groupId] : '',\n                    trigger: 'hover',\n                    boundary: 'view'\n                  }",modifiers:{noninteractive:!0}}]},[e._v(e._s(a))])]}}],null,!1,2188538295),model:{value:e.addSearchModel.groupId,callback:function(t){e.$set(e.addSearchModel,"groupId",t)},expression:"addSearchModel.groupId"}},[n("template",{slot:"no-options"},[e._v(" "+e._s(e.$t("_COMMON_NO_DATA"))+" ")])],2)],1):e._e(),e.targetAsins.length?n("div",{staticClass:"d-flex align-items-start das-table-margin_bottom"},[n("lok",{staticClass:"takeAdvicePopRightLabel",attrs:{"lok-key":"ad_manage_SD_audience_purchase_product"}}),n("span",{staticClass:"takeAdvicePopRightBalue d-flex align-items-center"},[e.targetAsins[0].imageUrl?n("img",{attrs:{src:e._f("toBigImage")(e.targetAsins[0].imageUrl,100)}}):n("img",{attrs:{src:"/images/default.jpg"}}),n("div",{staticClass:"d-flex flex-column align-items-start das-label-left"},[1===e.targetAsins.length?n("span",{staticStyle:{"white-space":"wrap","line-height":"18px"}},[e._v(" "+e._s(e.targetAsins[0]&&e.targetAsins[0].sku)+" "),e.isBatch?e._e():n("span",{staticClass:"org-color-text das-label-right",staticStyle:{"margin-left":"4px"}},[e._v(e._s(e.sameSkuCount)+e._s(e.$t("AR_List_type_SpKeywordPick_SameAsin")))])]):n("span",{staticStyle:{"white-space":"wrap","line-height":"18px"}},[e._v(" "+e._s(e.$t("AR_List_type_SpKeywordPick_AdProductTotal",{a:e.targetAsins[0]&&e.targetAsins[0].sku,b:e.targetAsins.length}))+" "),e.isBatch?e._e():n("span",{staticClass:"org-color-text das-label-right",staticStyle:{"margin-left":"4px"}},[e._v(e._s(e.sameSkuCount)+e._s(e.$t("AR_List_type_SpKeywordPick_SameAsin")))])]),n("div",{staticClass:"d-flex align-items-center",staticStyle:{"line-height":"18px","margin-top":"4px"}},[n("button",{staticClass:"das-ui-button-link d-flex align-items-center",on:{click:function(t){e.adProductVis=!0,e.showProductType="targetProduct"}}},[e._v(" "+e._s(e.$t("global_detail"))+" "),n("feather-icon",{attrs:{icon:"ChevronRightIcon",size:"16"}})],1)])])])],1):e._e()],2),e.isBatch?n("common-table",{ref:"commonTablePopEle",attrs:{tableId:"ppc_optimize_ad_advice_keyword_detail_pop_price_table",border:"",tableData:e.popTableBatchData,options:e.popTableBatchOptions},scopedSlots:e._u([{key:"cell(checkMatchType)",fn:function(t){return[n("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.noninteractive.left",value:e.$t(e.hasAddObj&&e.hasAddObj[t.data.item.searchTerm]&&e.hasAddObj[t.data.item.searchTerm].indexOf(t.data.item.matchType)>-1?"_AD_MANAGER_HISTORY_LOG_STATUS_CREATED":""),expression:"\n                  $t((hasAddObj && hasAddObj[data.data.item.searchTerm] && (hasAddObj[data.data.item.searchTerm].indexOf(data.data.item.matchType) > -1))\n                  ? '_AD_MANAGER_HISTORY_LOG_STATUS_CREATED' : '')",modifiers:{noninteractive:!0,left:!0}}]},[n("b-form-checkbox",{staticClass:"checkMatchTypeCheckbox",attrs:{disabled:!e.addSearchModel.campaignId||!e.addSearchModel.groupId||e.hasAddObj&&e.hasAddObj[t.data.item.searchTerm]&&e.hasAddObj[t.data.item.searchTerm].indexOf(t.data.item.matchType)>-1},model:{value:t.data.item.isChecked,callback:function(a){e.$set(t.data.item,"isChecked",a)},expression:"data.data.item.isChecked"}})],1)]}},{key:"cell(bidSuggested)",fn:function(t){return[n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loadingBid,expression:"loadingBid"}],staticClass:"d-flex flex-column",staticStyle:{"min-height":"40.6px"}},[e.loadingBid?e._e():[t.data.item.suggested?n("span",[e._v(" "+e._s(e._f("amountAll")(t.data.item.suggested,e.currentAdviceItem.currencyCode))+" ")]):n("span",[e._v("-")]),t.data.item.rangeStart||t.data.item.rangeEnd?n("span",[e._v(" "+e._s(e._f("amountAll")(t.data.item.rangeStart,e.currentAdviceItem.currencyCode))+" - "+e._s(e._f("amountAll")(t.data.item.rangeEnd,e.currentAdviceItem.currencyCode))+" ")]):n("span",[e._v("-")])]],2)]}},{key:"cell(setBid)",fn:function(t){return[n("common-search-form",{staticClass:"setBidFormWrap",style:{visibility:t.data.item.isChecked?"visible":"hidden"},attrs:{formId:"setBidForm",options:e.addBidOptions},model:{value:t.data.item,callback:function(a){e.$set(t.data,"item",a)},expression:"data.data.item"}})]}},{key:"cell(searchTerm)",fn:function(t){return[n("div",{staticClass:"searchTermOverflowBlockStyle",staticStyle:{visibility:"hidden"}},[e._v(" "+e._s(t.data.value)+" ")]),t.data.item.showLable?n("div",{staticClass:"searchTermOverflowBlockStyle showLableSearchTerm",class:{isGoTopHalf:t.data.item.isGoTopHalf},style:{height:52*t.data.item.keywordCount+"px"}},[n("div",[e._v(" "+e._s(t.data.value)+" ")])]):e._e()]}}],null,!1,2723692504)}):n("common-table",{ref:"commonTablePopEle",attrs:{tableId:"ppc_optimize_ad_advice_keyword_detail_pop_price_table",border:"",tableData:e.popTableData,options:e.popTableOptions},scopedSlots:e._u([{key:"cell(checkMatchType)",fn:function(t){return[n("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.noninteractive.viewport.left",value:e.$t(e.hasAddObj&&e.hasAddObj[e.currentAdviceItem.searchTerm]&&e.hasAddObj[e.currentAdviceItem.searchTerm].indexOf(t.data.item.matchType)>-1?"_AD_MANAGER_HISTORY_LOG_STATUS_CREATED":""),expression:"\n                  $t((hasAddObj && hasAddObj[currentAdviceItem.searchTerm] && (hasAddObj[currentAdviceItem.searchTerm].indexOf(data.data.item.matchType) > -1))\n                  ? '_AD_MANAGER_HISTORY_LOG_STATUS_CREATED' : '')",modifiers:{noninteractive:!0,viewport:!0,left:!0}}]},[n("b-form-checkbox",{staticClass:"checkMatchTypeCheckbox",attrs:{disabled:!e.addSearchModel.campaignId||!e.addSearchModel.groupId||e.hasAddObj&&e.hasAddObj[e.currentAdviceItem.searchTerm]&&e.hasAddObj[e.currentAdviceItem.searchTerm].indexOf(t.data.item.matchType)>-1},model:{value:t.data.item.isChecked,callback:function(a){e.$set(t.data.item,"isChecked",a)},expression:"data.data.item.isChecked"}})],1)]}},{key:"cell(bidSuggested)",fn:function(t){return[n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loadingBid,expression:"loadingBid"}],staticClass:"d-flex flex-column"},[e.loadingBid?e._e():[t.data.item.suggested?n("span",[e._v(" "+e._s(e._f("amountAll")(t.data.item.suggested,e.currentAdviceItem.currencyCode))+" ")]):n("span",[e._v("-")]),t.data.item.rangeStart||t.data.item.rangeEnd?n("span",[e._v(" "+e._s(e._f("amountAll")(t.data.item.rangeStart,e.currentAdviceItem.currencyCode))+" - "+e._s(e._f("amountAll")(t.data.item.rangeEnd,e.currentAdviceItem.currencyCode))+" ")]):n("span",[e._v("-")])]],2)]}},{key:"cell(setBid)",fn:function(t){return[n("common-search-form",{staticClass:"setBidFormWrap",style:{visibility:t.data.item.isChecked?"visible":"hidden"},attrs:{formId:"setBidForm",options:e.addBidOptions},model:{value:t.data.item,callback:function(a){e.$set(t.data,"item",a)},expression:"data.data.item"}})]}}])})],1)]),n("div",{staticClass:"btnDialogWrap das-table-padding_top",staticStyle:{float:"right","margin-left":"12px"}},[n("button",{staticClass:"das-ui-button_cancel",attrs:{"data-lokalise":"","data-key":"_COMMON_BUTTON_CANCEL"},on:{click:function(t){e.takeAdviceVis=!1}}},[e._v(" "+e._s(e.$t("_COMMON_BUTTON_CANCEL"))+" ")]),n("button",{directives:[{name:"loading",rawName:"v-loading",value:e.loadingTake,expression:"loadingTake"}],staticClass:"das-ui-button_ok",attrs:{disabled:e.isHasSelectMatchType||e.loadingTake||!e.hasAddObj||!e.addSearchModel.campaignId||!e.addSearchModel.groupId,"data-lokalise":"","data-key":"_COMMON_BUTTON_CONFIRM"},on:{click:e.takeAdviceFn}},[e._v(" "+e._s(e.$t("_COMMON_BUTTON_CONFIRM"))+" ")])])]),n("custom-modal",{attrs:{title:e.$t("ad_manage_SD_audience_purchase_product"),noMargin:"",modalClass:"normal-modal","hide-footer":"",visible:e.adProductVis,width:600},on:{hidden:function(t){e.adProductVis=!1}}},[e.adProductVis?n("ad-product",{staticClass:"das-model-margin_left das-model-margin_right",attrs:{matchItem:{list:"adProduct"===e.showProductType?e.currentAdviceItemAsins:e.targetAsins}},on:{sameArrays:function(t){e.sameArrays=t}}}):e._e()],1),n("custom-modal",{attrs:{title:e.$t("_AD_AUTO_MANAGER_TH_REASON"),noMargin:"",modalClass:"normal-modal","hide-footer":"",visible:e.reasonsVis,width:900},on:{hidden:function(t){e.reasonsVis=!1}}},[n("div",{staticClass:"takeAdvicePopKeywordWrap isBatchPop"},[n("div",{staticClass:"takeAdvicePopLeft"},[n("div",{staticClass:"d-flex align-items-start das-table-margin_bottom borderBottomGray"},[n("lok",{staticClass:"takeAdvicePopLeftLabel addMaoHao",staticStyle:{width:"auto"},attrs:{"lok-key":"_ADVERTISEMENT_TH_SEARCH_TERM"}}),n("span",{staticClass:"takeAdvicePopLeftValue",staticStyle:{"white-space":"normal"}},[e._v(" "+e._s(e.currentAdviceItem.searchTerm)+" ")])],1),n("div",{staticClass:"takeAdvicePopBlockWrap",class:{takeAdvicePopBlockDiyWrap:["de_de","it_it","es_es","fr_fr"].indexOf(e.$i18n.locale)>-1}},[n("div",{staticClass:"takeAdvicePopBlock d-flex align-items-start das-table-margin_bottom",style:{width:e.currentAdviceItem.targetAsinInfo?"100%":"33.33%"}},[n("lok",{staticClass:"takeAdvicePopLeftLabel addMaoHao",style:{width:e.currentAdviceItem.targetAsinInfo?e.IS_LANG_ZH?"58px":e.IS_LANG_EN?"80px":"115px":e.IS_LANG_ZH?"45px":e.IS_LANG_EN?"70px":"100px"},attrs:{"lok-key":"_ADVERTISEMENT_TH_AD_TARGETING"}}),e.currentAdviceItem.targetAsinInfo?n("div",{staticClass:"takeAdvicePopLeftValue"},[n("product-info-table-column",{staticStyle:{width:"700px"},attrs:{entity:e.currentAdviceItem.targetAsinInfo,"key-map":{}}})],1):1===e.currentAdviceItem.isPat?n("div",{staticClass:"takeAdvicePopLeftValue textBlock"},[e.currentAdviceItem.targetType?n("div",{staticClass:"das-ui-content-text bold"},[e._v(" "+e._s(e.$t(e.TARGETTYPE_OBJ[e.currentAdviceItem.targetType])||e.currentAdviceItem.targetType)+" ")]):e._e(),n("div",[e._v(" "+e._s(e.currentAdviceItem.keywordTextTpl)+" ")])]):n("div",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.noninteractive",value:{title:e.currentAdviceItem.keywordText&&e.currentAdviceItem.keywordText.length>30?e.currentAdviceItem.keywordText:"",trigger:"hover",boundary:"view"},expression:"{\n                title: currentAdviceItem.keywordText && currentAdviceItem.keywordText.length > 30 ? currentAdviceItem.keywordText : '',\n                trigger: 'hover',\n                boundary: 'view'\n              }",modifiers:{noninteractive:!0}}],staticClass:"takeAdvicePopLeftValue"},[e._v(" "+e._s(e.currentAdviceItem.keywordText)+" ")])],1),n("div",{staticClass:"takeAdvicePopBlock d-flex align-items-start das-table-margin_bottom"},[n("lok",{staticClass:"takeAdvicePopLeftLabel addMaoHao",style:{width:e.IS_LANG_ZH?"58px":e.IS_LANG_EN?"80px":"115px"},attrs:{"lok-key":"_ADVERTISEMENT_TH_MATCH_TYPE"}}),n("span",{staticClass:"takeAdvicePopLeftValue textBlock"},[e._v(" "+e._s(e.$t(e.AD_MATCH_LABEL_MAP[e.currentAdviceItem.matchType]))+" ")])],1),n("div",{staticClass:"takeAdvicePopBlock d-flex align-items-start das-table-margin_bottom"},[n("lok",{staticClass:"takeAdvicePopLeftLabel addMaoHao",style:{width:e.IS_LANG_ZH?"58px":e.IS_LANG_EN?"110px":"75px"},attrs:{"lok-key":"_ADVERTISEMENT_TH_CAMPAIGN_TYPE"}}),n("span",{staticClass:"takeAdvicePopLeftValue textBlock"},[e.CAMPAIGN_TYPE_LABEL_MAP[e.currentAdviceItem.campaignType]?[e._v(" "+e._s(e.$t(e.CAMPAIGN_TYPE_LABEL_MAP[e.currentAdviceItem.campaignType].label))+" ")]:[e._v(e._s(e.currentAdviceItem.campaignType))],e._v(" - "),e.AD_TYPE_LABEL_MAP[e.currentAdviceItem.targetingType]?[e._v(" "+e._s(e.$t(e.AD_TYPE_LABEL_MAP[e.currentAdviceItem.targetingType].label))+" ")]:[e._v(e._s(e.currentAdviceItem.targetingType))]],2)],1),n("div",{staticClass:"takeAdvicePopBlock d-flex align-items-start das-table-margin_bottom"},[n("lok",{staticClass:"takeAdvicePopLeftLabel addMaoHao",style:{width:e.IS_LANG_ZH?"45px":e.IS_LANG_EN?"70px":"100px"},attrs:{"lok-key":"_COMMON_TH_AD_GROUP"}}),n("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.noninteractive",value:{title:e.currentAdviceItem.groupName&&e.currentAdviceItem.groupName.length>10?e.currentAdviceItem.groupName:"",trigger:"hover",boundary:"view"},expression:"{\n                title: currentAdviceItem.groupName && currentAdviceItem.groupName.length > 10 ? currentAdviceItem.groupName : '',\n                trigger: 'hover',\n                boundary: 'view'\n              }",modifiers:{noninteractive:!0}}],staticClass:"takeAdvicePopLeftValue"},[e._v(" "+e._s(e.currentAdviceItem.groupName)+" ")])],1),n("div",{staticClass:"takeAdvicePopBlock d-flex align-items-start das-table-margin_bottom"},[n("lok",{staticClass:"takeAdvicePopLeftLabel addMaoHao",style:{width:e.IS_LANG_ZH?"58px":e.IS_LANG_EN?"80px":"115px"},attrs:{"lok-key":"_COMMON_TH_AD"}}),n("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.noninteractive",value:{title:e.currentAdviceItem.campaignName&&e.currentAdviceItem.campaignName.length>10?e.currentAdviceItem.campaignName:"",trigger:"hover",boundary:"view"},expression:"{\n                title: currentAdviceItem.campaignName && currentAdviceItem.campaignName.length > 10 ? currentAdviceItem.campaignName : '',\n                trigger: 'hover',\n                boundary: 'view'\n              }",modifiers:{noninteractive:!0}}],staticClass:"takeAdvicePopLeftValue"},[e._v(" "+e._s(e.currentAdviceItem.campaignName)+" ")])],1),n("div",{staticClass:"takeAdvicePopBlock d-flex align-items-start das-table-margin_bottom"},[n("lok",{staticClass:"takeAdvicePopLeftLabel addMaoHao",style:{width:e.IS_LANG_ZH?"58px":e.IS_LANG_EN?"110px":"75px"},attrs:{"lok-key":"_ADVERTISEMENT_TH_DEFAULT_BID"}}),n("span",{staticClass:"takeAdvicePopLeftValue textBlock"},[e._v(" "+e._s(e._f("amountAll")(e.currentAdviceItem.bid,e.currentAdviceItem.currencyCode))+" ")])],1)])]),n("div",{staticClass:"reasonsPopTip"},[n("lok",{attrs:{"lok-key":"_AD_AUTO_MANAGER_TH_REASON"}}),n("lok",{attrs:{"lok-key":"_COMMON_SYMBOL_COLON"}}),e._v(" "+e._s(e.$t("AR_List_type_SpKeywordPick_ReasonLong"))+" ")],1),e.currentAdviceItem.content?n("common-table",{ref:"commonTablePopReasonsEle",staticStyle:{width:"100%"},attrs:{tableId:"ppc_optimize_ad_advice_keyword_detail_pop_reasons_table",border:"",tableData:e.popReasonsTableData,options:e.popReasonsTableOptions},scopedSlots:e._u([{key:"cell(sales)",fn:function(t){return[e._v(" "+e._s(e._f("amountAll")(t.data.value,e.currentAdviceItem.currencyCode))+" ")]}},{key:"cell(spend)",fn:function(t){return[e._v(" "+e._s(e._f("amountAll")(t.data.value,e.currentAdviceItem.currencyCode))+" ")]}},{key:"cell(cpc)",fn:function(t){return[e._v(" "+e._s(e._f("amountAll")(t.data.value,e.currentAdviceItem.currencyCode))+" ")]}}],null,!1,2874112520)}):e._e()],1),n("div",{staticClass:"btnDialogWrap das-table-padding_top",staticStyle:{float:"right","margin-left":"12px"}},[n("button",{staticClass:"das-ui-button_cancel",attrs:{"data-lokalise":"","data-key":"_COMMON_BUTTON_CANCEL"},on:{click:function(t){e.reasonsVis=!1}}},[e._v(" "+e._s(e.$t("_COMMON_BUTTON_CANCEL"))+" ")]),n("button",{staticClass:"das-ui-button_ok",attrs:{disabled:!!e.currentAdviceItem.status,"data-lokalise":"","data-key":"AR_TypeList_Button_Adopt"},on:{click:function(t){return e.doneFn(e.currentAdviceItem)}}},[e._v(" "+e._s(e.$t(e.currentAdviceItem.status?"AR_typeList_status_adopted":"AR_TypeList_Button_Adopt"))+" ")])])])],1)])},i=[],o=a("1da1"),r=a("5530"),s=(a("96cf"),a("498a"),a("d3b7"),a("d81d"),a("4de4"),a("4fad"),a("99af"),a("ac1f"),a("5319"),a("b680"),a("159b"),a("7db0"),a("a15b"),a("07ac"),a("6ddf")),c=a("f82f"),l=a("5e6d"),d=a("d891"),u=a("4a7a"),p=a.n(u),_=a("2af9"),h=a("1d52"),f=a("5222"),m=a("0823"),g=a("4b2f"),A=a("bbf0"),v=a("2f62"),b=a("9dd3"),T=a("2ae5"),y=a("b863"),E=a("a7c5"),S=a("708d"),O={name:"ppc_optimize-ad_advice_keyword_detail",components:{preInput:l["a"],commonSearchForm:f["a"],commonTable:m["a"],shopSelect:g["a"],customModal:_["l"],vSelect:p.a,adProduct:d["a"],productInfoTableColumn:E["a"]},mixins:[h["a"]],data:function(){return{campaignId:this.$route.query.campaignId,loadingTake:!1,loadingBid:!1,EXPRESSION_OBJ:b["H"],SHIPPING_OBJ:b["qb"],TARGETTYPE_OBJ:b["sb"],hasAddObj:null,recommendationAcceptGroupDebounce:Object(S["a"])(this.recommendationAcceptGroup,200),initGroupChangeDebounce:Object(S["a"])(this.initGroupChange,200),showProductType:"adProduct",reasonsVis:!1,isBatch:!1,sameArrays:[],adProductVis:!1,hasSelectArrays:[],popTableData:[{matchType:"exact",isChecked:!1,rangeStart:"",rangeEnd:"",bidTmp:"",suggested:""},{matchType:"phrase",isChecked:!1,rangeStart:"",rangeEnd:"",bidTmp:"",suggested:""},{matchType:"broad",isChecked:!1,rangeStart:"",rangeEnd:"",bidTmp:"",suggested:""}],popTableBatchData:[],campaignOptionsObj:{},groupOptionsObj:{},campaignOptions:[],groupOptions:[],addSearchModel:{campaignId:"",groupId:""},sameSkuCount:0,currentAdviceItem:{},currentAdviceItemAsins:[],targetAsins:[],takeAdviceVis:!1,AD_TYPE_LABEL_MAP:b["p"],AD_MATCH_LABEL_MAP:b["c"],CAMPAIGN_TYPE_LABEL_MAP:b["E"],AD_ACTIVE_STATE_LABEL_MAP:b["b"],searchForm:{searchKey:"",type:2,rangeDate:[]}}},computed:Object(r["a"])(Object(r["a"])({},Object(v["c"])({CURRENT_SHOP_IDS:A["h"],CURRENT_SHOP_ID:A["g"]})),{},{searchFormParams:function(){var t={searchKey:this.searchForm.searchKey.trim(),type:2};if(this.campaignId&&(t["campaignId"]=this.campaignId),this.searchForm.rangeDate.length){var e=Object(s["e"])({dateScope:null,dateRange:this.searchForm.rangeDate});t.startTimestamp=e[0],t.endTimestamp=e[1]}return t},isHasSelectMatchType:function(){return this.isBatch?this.popTableBatchData.every((function(t){return!t.isChecked}))||this.popTableBatchData.some((function(t){return t.isChecked&&!t.bidTmp})):this.popTableData.every((function(t){return!t.isChecked}))||this.popTableData.some((function(t){return t.isChecked&&!t.bidTmp}))},currentTargetCampaign:function(){return this.campaignOptionsObj[this.addSearchModel.campaignId]||{}},popReasonsTableData:function(){if(this.currentAdviceItem)try{var t=JSON.parse(this.currentAdviceItem.content);return t=Object.entries(t).filter((function(t){return t[1]instanceof Object})).map((function(t){try{t[1]["dateZoom"]=t[0]}catch(e){console.log(e)}return t[1]})),t}catch(e){console.warn(e)}},addBidOptions:function(){return[{width:"140px",id:"bidTmp",prop:"bid",type:"preInput",flag:2,placeholder:"",rules:"required|bidValidateNew:".concat(this.currentAdviceItem.shopInfo.amazonSiteInfo.countryCode,",").concat(this.currentAdviceItem.currencySymbol,",").concat(this.currentAdviceItem.campaignType),attr:{preText:this.currentAdviceItem.currencySymbol},inputAttrs:{type:"number"}}]},IS_LANG_EN:function(){return"en"===this.$i18n.locale},IS_LANG_ZH:function(){return"zh-CN"===this.$i18n.locale||"zh-TW"===this.$i18n.locale},IS_LANG_JP:function(){return"ja_jp"===this.$i18n.locale},popTableOptions:function(){var t=this;return{hasPageSizeOptions:!1,hidePagination:!0,stickyHeader:"354px",noDownload:!0,fields:[{key:"checkMatchType",diy:!0,label:"",width:16,diyHeader:!0},{key:"matchType",headerPosition:"left",formatter:function(e){return t.$t(b["c"][e])||e||"-"},label:this.$t("_ADVERTISEMENT_CREATE_CAMPAIGN_STEP_NEGATIVE_TARGET_MATCH_TYPE")},{key:"bidSuggested",headerPosition:"left",diy:!0,label:this.$t("_ADVERTISEMENT_TH_SUGGEST_BID")},{key:"setBid",headerPosition:"left",diy:!0,label:this.$t("_AD_AUTO_MANAGER_TH_PRICE")}]}},popTableBatchOptions:function(){var t=this;return{hasPageSizeOptions:!1,hidePagination:!0,stickyHeader:"355px",noDownload:!0,fields:[{key:"searchTerm",class:"searchTermBlockTd",width:135,headerPosition:"left",label:this.$t("_ADVERTISEMENT_TH_SEARCH_TERM"),diy:!0},{key:"checkMatchType",diy:!0,label:"",width:16,diyHeader:!0},{key:"matchType",headerPosition:"left",formatter:function(e){return t.$t(b["c"][e])||e||"-"},label:this.$t("_ADVERTISEMENT_CREATE_CAMPAIGN_STEP_NEGATIVE_TARGET_MATCH_TYPE")},{key:"bidSuggested",headerPosition:"left",diy:!0,label:this.$t("_ADVERTISEMENT_TH_SUGGEST_BID")},{key:"setBid",headerPosition:"left",diy:!0,label:this.$t("_AD_AUTO_MANAGER_TH_PRICE")}]}},popReasonsTableOptions:function(){var t=this;return{hasPageSizeOptions:!1,hidePagination:!0,stickyHeader:!0,noDownload:!0,normalScroll:!0,fields:[{key:"dateZoom",formatter:function(e,a,n){return"".concat(n.startDate,"-</br>").concat(n.endDate," (").concat(t.$t("_ACCOUNT_HEALTH_LABEL_DATE_DAYS",{days:parseInt(n.dateZoom.replace("day",""))}),")")},headerPosition:"left",html:!0,label:this.$t("ad_manage_budgetCap_DateRange")},{key:"roas",numberThousand:!0,label:this.$t("_COMMON_TH_AD_ROAS")},{key:"acos",formatter:function(t){return parseFloat(100*t).toFixed(2)},showPercent:!0,label:this.$t("global_Ad_ACoS")},{key:"orders",label:this.$t("_ADVERTISEMENT_TH_ORDERS")},{key:"clicks",label:this.$t("_COMMON_TH_CLICKS"),numberThousand:!0},{key:"impressions",label:this.$t("_COMMON_TH_DISPLAY"),numberThousand:!0},{key:"ctr",formatter:function(t){return parseFloat(100*t).toFixed(2)},showPercent:!0,label:this.$t("global_ad_click_rate")},{key:"spend",label:this.$t("_COMMON_TH_AD_COSTS"),diy:!0},{key:"cpc",diy:!0,label:this.$t("_COMMON_TH_AD_CPC")},{key:"cr",formatter:function(t){return parseFloat(100*t).toFixed(2)},showPercent:!0,label:this.$t("_COMMON_TH_AD_RATE")},{key:"sales",label:this.$t("_COMMON_TH_AD_SALES"),diy:!0}]}},tableOptions:function(){return{requestApi:y["q"],selectDisabledFn:function(t){return 1===t.status},hasPageSizeOptions:!0,filterVis:!1,noDownload:!1,noFilter:!0,hasSelect:!0,stickyHeader:!0,fields:[{key:"operationBtn",headerPosition:"left",diy:!0,stickyColumn:!0,label:this.$t("_COMMON_TH_OPERATION")},{key:"searchTerm",headerPosition:"left",diy:!0,stickyColumn:!0,label:this.$t("_ADVERTISEMENT_TH_SEARCH_TERM")},{key:"skuInfo",headerPosition:"left",diy:!0,label:this.$t("ad_manage_SD_audience_purchase_product")},{key:"reasons",headerPosition:"left",diy:!0,label:this.$t("_AD_AUTO_MANAGER_TH_REASON")},{key:"dateZoom",formatter:function(t,e,a){return"".concat(a.otherData.startDate,"-</br>").concat(a.otherData.endDate)},headerPosition:"left",html:!0,label:this.$t("ad_manage_budgetCap_DateRange")},{key:"roas",sortable:!0,formatter:function(t,e,a){return a.otherData[e]},numberThousand:!0,label:this.$t("_COMMON_TH_AD_ROAS")},{key:"acos",sortable:!0,formatter:function(t,e,a){return parseFloat(100*a.otherData[e]).toFixed(2)},showPercent:!0,label:this.$t("global_Ad_ACoS")},{key:"orders",sortable:!0,formatter:function(t,e,a){return a.otherData[e]},label:this.$t("_ADVERTISEMENT_TH_ORDERS")},{key:"clicks",sortable:!0,formatter:function(t,e,a){return a.otherData[e]},label:this.$t("_COMMON_TH_CLICKS"),numberThousand:!0},{key:"impressions",sortable:!0,formatter:function(t,e,a){return a.otherData[e]},label:this.$t("_COMMON_TH_DISPLAY"),numberThousand:!0},{key:"ctr",sortable:!0,formatter:function(t,e,a){return parseFloat(100*a.otherData[e]).toFixed(2)},showPercent:!0,label:this.$t("global_ad_click_rate")},{key:"spend",sortable:!0,formatter:function(t,e,a){return a.otherData[e]},label:this.$t("_COMMON_TH_AD_COSTS"),diy:!0},{key:"cpc",sortable:!0,formatter:function(t,e,a){return a.otherData[e]},diy:!0,label:this.$t("_COMMON_TH_AD_CPC")},{key:"cr",sortable:!0,formatter:function(t,e,a){return parseFloat(100*a.otherData[e]).toFixed(2)},showPercent:!0,label:this.$t("_COMMON_TH_AD_RATE")},{key:"sales",sortable:!0,formatter:function(t,e,a){return a.otherData[e]},label:this.$t("_COMMON_TH_AD_SALES"),diy:!0},{key:"targetInfo",headerPosition:"left",diy:!0,label:this.$t("AR_List_type_SpKeywordPick_target")},{key:"validDate",headerPosition:"left",html:!0,formatter:function(t,e,a){try{return"".concat(Object(s["b"])(1e3*a.publishedAt,Object(s["w"])()).format("YYYY/MM/DD"),"-</br>").concat(Object(s["b"])(1e3*a.expiryAt,Object(s["w"])()).format("YYYY/MM/DD"))}catch(n){console.warn(n)}},label:this.$t("ad_manager_schedule")},{key:"publishedAt",label:this.$t("_DOWNLOAD_CENTER_CREATE_TIME"),headerPosition:"left",formatter:function(t){return Object(s["b"])(1e3*t,Object(s["w"])()).format("YYYY/MM/DD hh:mm:ss")}}]}},searchOption:function(){return[{type:"searchInput",width:this.IS_LANG_EN?"300px":this.IS_LANG_JP?"420px":"260px",placeholder:this.$t("ad_manager_search_text2"),tooltip:this.$t("ad_manager_search_text2"),id:"searchKey"},{type:"date-select",label:"",width:"270px",id:"rangeDate",attr:{dateConfigDiy:{maxDate:null,minDate:null},diyDate:!0,multiple:!0}},{type:"b-button",text:this.$t("AR_TypeList_Button_BatchAdopt"),disabled:Boolean(!this.hasSelectArrays.length),tooltip:this.$t("AR_TypeList_Button_BatchAdopt_des"),id:"batchDone"}]}}),methods:{showDetail:function(t){var e=this;this.currentAdviceItemAsins=[],this.adProductVis=!0,this.currentAdviceItem=t,this.getAdManagerProducts(t).then((function(t){1===t.status&&(e.currentAdviceItemAsins=t.content.result||[])}))},daysFormatter:function(t){return t?t.substr(0,4)+"/"+t.substr(4,2)+"/"+t.substr(6):"-"},recommendationAcceptGroup:function(){var t,e=this;Object(y["y"])({profileId:this.isBatch?null===(t=this.hasSelectArrays[0])||void 0===t?void 0:t.profileId:this.currentAdviceItem.profileId,campaignId:this.addSearchModel.campaignId,type:2}).then((function(t){1===t.status&&(e.groupOptionsObj={},e.groupOptions=t.content.map((function(t){var a;return t.label=t.groupName,t.isShowTip=parseInt((null===(a=t.groupName)||void 0===a?void 0:a.length)||0)>30,e.groupOptionsObj[t.groupId]=t.label,t})))}))},takeAdviceFn:function(){var t=this;this.loadingTake=!0;var e=null;if(this.isBatch){var a,n=this.hasSelectArrays.map((function(e){return{recommendationId:e.recommendationId,campaignId:t.addSearchModel.campaignId,groupId:t.addSearchModel.groupId,keywords:t.popTableBatchData.filter((function(t){return t.isChecked&&t.recommendationId===e.recommendationId})).map((function(t){return{bid:t.bidTmp,keywordText:t.searchTerm,matchType:t.matchType}}))}})).filter((function(t){return t.keywords.length}));e=null===(a=this.hasSelectArrays[0])||void 0===a?void 0:a.shopInfo.id}else{var i;n=[{recommendationId:this.currentAdviceItem.recommendationId,campaignId:this.addSearchModel.campaignId,groupId:this.addSearchModel.groupId,keywords:this.popTableData.filter((function(t){return t.isChecked})).map((function(e){return{bid:e.bidTmp,keywordText:t.currentAdviceItem.searchTerm,matchType:e.matchType}}))}].filter((function(t){return t.keywords.length})),e=null===(i=this.currentAdviceItem)||void 0===i?void 0:i.shopInfo.id}Object(y["v"])(n,2,e).then((function(e){1===e.status&&(t.$store.dispatch("app/updatePop",{title:e.content,icon:"EditIcon",variant:"success"}),t.takeAdviceVis=!1,t.$refs.commonTableEle.getListDebounce())})).finally((function(e){t.loadingTake=!1}))},getAdManagerProducts:function(t){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function a(){var n;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return n={campaignId:t.campaignId,pageSize:5e4,currentPage:1,groupId:t.groupId},n.state="notArchived",n.startTimestamp="1697439600000",n.endTimestamp="1697525999999",a.abrupt("return",Object(T["I"])(n,e.currentAdviceItem.shopInfo.id));case 5:case"end":return a.stop()}}),a)})))()},showReasonsFn:function(t){this.reasonsVis=!0,this.currentAdviceItem=t},responseFn:function(t){var e=this;if(1===t.status){this.$refs.commonTableEle.$clearChecklist();var a=[];t.content.result.forEach((function(t){if(t.read||a.push(t.recommendationId),t.keywordText&&1===t.isPat)try{var n=JSON.parse(t.keywordText),i=n.find((function(t){return"asinSameAs"==t.type&&t.detail}));if(!i){var o=n.map((function(t){var a=e.$t(e.EXPRESSION_OBJ[t.type])||t.type,n="asinIsPrimeShippingEligible"===t.type?e.$t(e.SHIPPING_OBJ[t.value]):t.value||"";return n||(a=a.substring(0,a.length-1)),a+n})).join(e.$t("_COMMON_SYMBOL_COLON"));e.$set(t,"keywordTextTpl",o)}}catch(l){console.warn(l)}t.targetAsinInfo&&t.keywordText.indexOf("asinSameAs")>-1&&(t.targetAsinInfo.title=e.$t("ASINSAMEAS")+t.targetAsinInfo.title),t.targetAsinInfo&&t.keywordText.indexOf("asinExpandedFrom")>-1&&(t.targetAsinInfo.title=e.$t("ASINEXPANDEDFROM")+t.targetAsinInfo.title),e.$set(t,"shopInfo",Object(c["f"])(t.sellerId,t.marketplaceId)||{amazonSiteInfo:{countryCode:""}}),e.$set(t,"currencyCode",t.shopInfo.amazonSiteInfo.currencyCode),e.$set(t,"currencySymbol",t.shopInfo.amazonSiteInfo.currencySymbol);try{var r=JSON.parse(t.content);if(r.hit)e.$set(t,"otherData",r[r.hit]||{});else{var s=Object.entries(r).filter((function(t){return t[1]instanceof Object})).map((function(t){try{t[1]["dateZoom"]=t[0]}catch(l){console.log(l)}return t[1]})).filter((function(t){return t.roas>=(r.thresholdRoas||0)&&t.orders>=(r.thresholdOrders||0)}));e.$set(t,"otherData",s[0]||{})}}catch(l){e.$set(t,"otherData",{}),console.warn(l)}})),a.length&&Object(y["A"])(a)}},handleSelectedChange:function(t){var e={};t.forEach((function(t){e[t.searchTerm]||(e[t.searchTerm]=t)})),this.hasSelectArrays=Object.values(e),this.hasSelectArrays[0]&&(this.currentAdviceItem=this.hasSelectArrays[0])},removeFn:function(t){var e=this;this.$swal({iconHtml:'<img src="/images/icon/warning_icon.png"></img>',html:'<div style="font-weight:600;color:#333;font-size: 16px;">'.concat(this.$t("AR_typelist_button_UnremindConfirm"),"</div>"),confirmButtonText:this.$t("_COMMON_BUTTON_OK"),cancelButtonText:this.$t("_COMMON_BUTTON_CLOSE"),showConfirmButton:!0,showCancelButton:!0,customClass:"normal-swal"}).then((function(a){a.isConfirmed&&Object(y["e"])(t.recommendationId,null===t||void 0===t?void 0:t.shopInfo.id).then((function(t){1===t.status&&(e.$store.dispatch("app/updatePop",{title:t.content,icon:"EditIcon",variant:"success"}),e.$refs.commonTableEle.getListDebounce())}))}))},doneFn:function(t){var e=this;this.isBatch=!1,this.hasAddObj=null,this.addSearchModel={campaignId:"",groupId:""},this.currentAdviceItem=t,this.takeAdviceVis=!0,this.getAdManagerProducts(t).then((function(t){1===t.status&&(e.currentAdviceItemAsins=t.content.result||[])})),Object(y["w"])({profileId:this.currentAdviceItem.profileId,type:2}).then((function(t){1===t.status&&(e.campaignOptionsObj={},e.campaignOptions=t.content.map((function(t){var a;return t.label=t.campaignName,t.isShowTip=parseInt((null===(a=t.campaignName)||void 0===a?void 0:a.length)||0)>30,e.campaignOptionsObj[t.campaignId]=t,t})))}))},doneBatchFn:function(){var t=this;if(1!==this.hasSelectArrays.length){this.isBatch=!0,this.hasAddObj=null,this.addSearchModel={campaignId:"",groupId:""};var e={};this.hasSelectArrays.forEach((function(t){e[t.searchTerm]=[{searchTerm:t.searchTerm,isChecked:!1,recommendationId:t.recommendationId,matchType:"exact",rangeStart:"",rangeEnd:"",bidTmp:"",suggested:""},{searchTerm:t.searchTerm,isChecked:!1,recommendationId:t.recommendationId,matchType:"phrase",rangeStart:"",rangeEnd:"",bidTmp:"",suggested:""},{searchTerm:t.searchTerm,isChecked:!1,recommendationId:t.recommendationId,matchType:"broad",rangeStart:"",rangeEnd:"",bidTmp:"",suggested:""}]})),Object.values(e).forEach((function(t){t.forEach((function(e,a){e.keywordCount=t.length,e.keywordCountIndex=a,e.showLable=e.keywordCountIndex==parseInt(e.keywordCount/2),e.isGoTopHalf=e.keywordCount%2!=1}))})),this.popTableBatchData=Object.values(e).reduce((function(t,e){return t.concat(e)}),[]),this.takeAdviceVis=!0,Object(y["w"])({profileId:this.currentAdviceItem.profileId,type:2}).then((function(e){1===e.status&&(t.campaignOptionsObj={},t.campaignOptions=e.content.map((function(e){var a;return e.label=e.campaignName,e.isShowTip=parseInt((null===(a=e.campaignName)||void 0===a?void 0:a.length)||0)>30,t.campaignOptionsObj[e.campaignId]=e,e})))}))}else this.doneFn(this.hasSelectArrays[0])},searchFn:function(t){switch(t.id){case"batchDone":var e=this.hasSelectArrays[0].sellerId+this.hasSelectArrays[0].marketplaceId,a=1;this.hasSelectArrays.forEach((function(t){e!==t.sellerId+t.marketplaceId&&(a=0)})),a&&this.doneBatchFn();break;case"searchKey":this.$refs.commonTableEle.getListDebounce();break}},initGroupChange:function(){var t,e,a=this;this.getAdManagerProducts({campaignId:this.addSearchModel.campaignId,groupId:this.addSearchModel.groupId,publishedAt:this.currentAdviceItem.publishedAt,expiryAt:this.currentAdviceItem.expiryAt}).then((function(t){1===t.status&&(a.targetAsins=t.content.result||[])})),this.isBatch||Object(y["B"])({recommendationGroupId:this.currentAdviceItem.groupId,acceptGroupId:this.addSearchModel.groupId}).then((function(t){1===t.status&&(a.sameSkuCount=t.content)})),this.hasAddObj=null,Object(y["x"])([{profileId:this.currentAdviceItem.profileId,campaignId:this.addSearchModel.campaignId,groupId:this.addSearchModel.groupId,searchTerms:this.isBatch?this.hasSelectArrays.map((function(t){return t.searchTerm})):[this.currentAdviceItem.searchTerm]}],2).then((function(t){1===t.status&&(a.hasAddObj=t.content[a.addSearchModel.groupId])})),this.loadingBid=!0;var n=this.isBatch?null===(t=this.hasSelectArrays[0])||void 0===t?void 0:t.shopInfo.id:null===(e=this.currentAdviceItem)||void 0===e?void 0:e.shopInfo.id;Object(y["m"])({campaignId:this.addSearchModel.campaignId,adGroupId:this.addSearchModel.groupId,keywordList:this.isBatch?this.hasSelectArrays.map((function(t){return t.searchTerm})):[this.currentAdviceItem.searchTerm]},n).then((function(t){a.$nextTick((function(){var e=a.isBatch?a.popTableBatchData:a.popTableData.map((function(t){return t.searchTerm=a.currentAdviceItem.searchTerm,t}));e.forEach((function(e){var n,i=null===(n=t.content)||void 0===n?void 0:n.find((function(t){if(t.asin===e.searchTerm){if("queryPhraseMatches"===t.type)return"phrase"===e.matchType;if("queryExactMatches"===t.type)return"exact"===e.matchType;if("queryBroadMatches"===t.type)return"broad"===e.matchType}}));i&&(a.$set(e,"suggested",i.suggested),a.$set(e,"bidTmp",i.suggested),a.$set(e,"rangeStart",i.rangeStart),a.$set(e,"rangeEnd",i.rangeEnd))}))}))})).finally((function(t){a.loadingBid=!1}))}},watch:{"addSearchModel.campaignId":function(t){t?this.recommendationAcceptGroupDebounce():(this.groupOptions=[],this.groupOptionsObj={}),this.addSearchModel.groupId=""},"addSearchModel.groupId":function(t){t?this.initGroupChangeDebounce():(this.targetAsins=[],this.hasAddObj=null),this.isBatch?this.popTableBatchData.forEach((function(t){t.isChecked=!1,t.rangeStart="",t.rangeEnd="",t.bidTmp="",t.suggested=""})):this.popTableData.forEach((function(t){t.isChecked=!1,t.rangeStart="",t.rangeEnd="",t.bidTmp="",t.suggested=""}))}},mounted:function(){}},I=O,M=(a("ad75"),a("2877")),C=Object(M["a"])(I,n,i,!1,null,null,null);e["default"]=C.exports},"88f0":function(t,e,a){"use strict";var n=a("7fae"),i=a("b12f"),o=a("6d8b"),r=a("2449"),s=a("e0d3"),c=a("7d6c"),l=Object(s["o"])(),d=function(t){function e(){var a=null!==t&&t.apply(this,arguments)||this;return a.type=e.type,a}return Object(n["a"])(e,t),e.prototype.init=function(){this.markerGroupMap=Object(o["f"])()},e.prototype.render=function(t,e,a){var n=this,i=this.markerGroupMap;i.each((function(t){l(t).keep=!1})),e.eachSeries((function(t){var i=r["a"].getMarkerModelFromSeries(t,n.type);i&&n.renderSeries(t,i,e,a)})),i.each((function(t){!l(t).keep&&n.group.remove(t.group)}))},e.prototype.markKeep=function(t){l(t).keep=!0},e.prototype.toggleBlurSeries=function(t,e){var a=this;Object(o["k"])(t,(function(t){var n=r["a"].getMarkerModelFromSeries(t,a.type);if(n){var i=n.getData();i.eachItemGraphicEl((function(t){t&&(e?Object(c["q"])(t):Object(c["B"])(t))}))}}))},e.type="marker",e}(i["a"]);e["a"]=d},"8efa":function(t,e,a){"use strict";a.d(e,"d",(function(){return i})),a.d(e,"b",(function(){return o})),a.d(e,"c",(function(){return r})),a.d(e,"e",(function(){return s})),a.d(e,"a",(function(){return c}));a("db49");var n=a("7f80"),i=function(t,e){return Object(n["f"])("/aba/search-terms/s",t,e)},o=function(t){return Object(n["e"])("/aba/search-terms",t)},r=function(t){return Object(n["e"])("/aba/search-terms/s",t)},s=function(){return Object(n["e"])("/aba/search-terms/information")},c=function(t){return Object(n["f"])("/aba/search-terms/export",t)}},"923d":function(t,e,a){"use strict";a.d(e,"c",(function(){return u})),a.d(e,"d",(function(){return p})),a.d(e,"b",(function(){return h})),a.d(e,"a",(function(){return f})),a.d(e,"e",(function(){return m}));var n=a("3842"),i=a("ee1a"),o=a("6d8b"),r=a("b7d9");function s(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}function c(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}function l(t,e,a,o,r,s){var c=[],l=Object(i["c"])(e,o),d=l?e.getCalculationInfo("stackResultDimension"):o,u=m(e,d,t),p=e.indicesOfNearest(d,u)[0];c[r]=e.get(a,p),c[s]=e.get(d,p);var _=e.get(o,p),h=n["g"](e.get(o,p));return h=Math.min(h,20),h>=0&&(c[s]=+c[s].toFixed(h)),[c,_]}var d={min:Object(o["h"])(l,"min"),max:Object(o["h"])(l,"max"),average:Object(o["h"])(l,"average"),median:Object(o["h"])(l,"median")};function u(t,e){var a=t.getData(),n=t.coordinateSystem;if(e&&!c(e)&&!Object(o["t"])(e.coord)&&n){var i=n.dimensions,r=p(e,a,n,t);if(e=Object(o["d"])(e),e.type&&d[e.type]&&r.baseAxis&&r.valueAxis){var s=Object(o["r"])(i,r.baseAxis.dim),l=Object(o["r"])(i,r.valueAxis.dim),u=d[e.type](a,r.baseDataDim,r.valueDataDim,s,l);e.coord=u[0],e.value=u[1]}else{for(var _=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis],h=0;h<2;h++)d[_[h]]&&(_[h]=m(a,a.mapDimension(i[h]),_[h]));e.coord=_}}return e}function p(t,e,a,n){var i={};return null!=t.valueIndex||null!=t.valueDim?(i.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,i.valueAxis=a.getAxis(_(n,i.valueDataDim)),i.baseAxis=a.getOtherAxis(i.valueAxis),i.baseDataDim=e.mapDimension(i.baseAxis.dim)):(i.baseAxis=n.getBaseAxis(),i.valueAxis=a.getOtherAxis(i.baseAxis),i.baseDataDim=e.mapDimension(i.baseAxis.dim),i.valueDataDim=e.mapDimension(i.valueAxis.dim)),i}function _(t,e){var a=t.getData().getDimensionInfo(e);return a&&a.coordDim}function h(t,e){return!(t&&t.containData&&e.coord&&!s(e))||t.containData(e.coord)}function f(t,e){return t?function(t,a,n,i){var o=i<2?t.coord&&t.coord[i]:t.value;return Object(r["d"])(o,e[i])}:function(t,a,n,i){return Object(r["d"])(t.value,e[i])}}function m(t,e,a){if("average"===a){var n=0,i=0;return t.each(e,(function(t,e){isNaN(t)||(n+=t,i++)})),n/i}return"median"===a?t.getMedian(e):t.getDataExtent(e)["max"===a?1:0]}},"9ac0":function(t,e,a){},"9c50":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"dom-drag",rawName:"v-dom-drag",value:t.padId,expression:"padId"}],staticClass:"draggable-pad",style:t.customStyle},[a("div",{staticClass:"draggable-pad__body"},[t._t("default")],2),a("div",{staticClass:"draggable-pad__footer"},[t.customFooter?t._t("custom-footer"):a("b-button",{staticClass:"draggable-pad__footer-btn",attrs:{variant:"primary"},on:{mousedown:function(e){return e.stopPropagation(),t.handleEmpty()},click:function(e){return t.$emit("close",!1)}}},[t._v(t._s(t.$t("_COMMON_BUTTON_CLOSE")))])],2),t.showTip?a("div",{staticClass:"draggable-pad-tip"},[a("div",{staticClass:"draggable-pad-tip__content"},[t._v(t._s(t.$t("global_move_popup_tip")))]),a("feather-icon",{staticClass:"draggable-pad-tip__icon",attrs:{icon:"XIcon",size:"16"},on:{click:function(e){return t.handleCloseTip()}}})],1):t._e()])},i=[],o=a("b76a"),r=a.n(o),s={components:{Draggable:r.a},name:"draggableModal",model:{prop:"visible",event:"close"},props:{customStyle:{},visible:{type:Boolean,default:!1},padId:{type:String,default:"default"},customFooter:{type:Boolean,default:!1}},data:function(){return{showTip:!1}},computed:{},mounted:function(){this.getIsTipShowed()||(this.showTip=!0)},methods:{handleEmpty:function(){},getIsTipShowed:function(){var t=localStorage.getItem("drag_showed_tip");return 1==t},handleCloseTip:function(){localStorage.setItem("drag_showed_tip",1),this.showTip=!1}}},c=s,l=(a("191a"),a("2877")),d=Object(l["a"])(c,n,i,!1,null,null,null);e["a"]=d.exports},"9dd3":function(t,e,a){"use strict";a.d(e,"H",(function(){return o})),a.d(e,"sb",(function(){return r})),a.d(e,"qb",(function(){return s})),a.d(e,"i",(function(){return c})),a.d(e,"f",(function(){return l})),a.d(e,"e",(function(){return d})),a.d(e,"g",(function(){return u})),a.d(e,"h",(function(){return p})),a.d(e,"b",(function(){return _})),a.d(e,"a",(function(){return h})),a.d(e,"j",(function(){return g})),a.d(e,"k",(function(){return A})),a.d(e,"l",(function(){return v})),a.d(e,"m",(function(){return b})),a.d(e,"n",(function(){return T})),a.d(e,"d",(function(){return y})),a.d(e,"Z",(function(){return x})),a.d(e,"Y",(function(){return R})),a.d(e,"V",(function(){return D})),a.d(e,"jb",(function(){return w})),a.d(e,"ab",(function(){return P})),a.d(e,"W",(function(){return L})),a.d(e,"X",(function(){return j})),a.d(e,"R",(function(){return G})),a.d(e,"Q",(function(){return B})),a.d(e,"S",(function(){return $})),a.d(e,"P",(function(){return Y})),a.d(e,"fb",(function(){return X})),a.d(e,"pb",(function(){return q})),a.d(e,"ob",(function(){return et})),a.d(e,"db",(function(){return nt})),a.d(e,"hb",(function(){return it})),a.d(e,"kb",(function(){return ot})),a.d(e,"nb",(function(){return rt})),a.d(e,"mb",(function(){return st})),a.d(e,"gb",(function(){return ct})),a.d(e,"lb",(function(){return lt})),a.d(e,"U",(function(){return dt})),a.d(e,"T",(function(){return ut})),a.d(e,"cb",(function(){return pt})),a.d(e,"eb",(function(){return _t})),a.d(e,"ib",(function(){return ht})),a.d(e,"bb",(function(){return ft})),a.d(e,"M",(function(){return vt})),a.d(e,"I",(function(){return Tt})),a.d(e,"L",(function(){return yt})),a.d(e,"J",(function(){return Et})),a.d(e,"K",(function(){return Ot})),a.d(e,"o",(function(){return xt})),a.d(e,"q",(function(){return Rt})),a.d(e,"p",(function(){return Pt})),a.d(e,"y",(function(){return jt})),a.d(e,"x",(function(){return Gt})),a.d(e,"z",(function(){return Vt})),a.d(e,"tb",(function(){return Bt})),a.d(e,"rb",(function(){return Ut})),a.d(e,"F",(function(){return Ht})),a.d(e,"A",(function(){return $t})),a.d(e,"C",(function(){return zt})),a.d(e,"G",(function(){return Yt})),a.d(e,"B",(function(){return Ft})),a.d(e,"D",(function(){return Zt})),a.d(e,"r",(function(){return Xt})),a.d(e,"E",(function(){return Qt})),a.d(e,"s",(function(){return te})),a.d(e,"v",(function(){return ae})),a.d(e,"w",(function(){return ne})),a.d(e,"c",(function(){return _e})),a.d(e,"O",(function(){return Te})),a.d(e,"N",(function(){return ye})),a.d(e,"t",(function(){return Se})),a.d(e,"u",(function(){return Oe}));var n=a("ade3"),i=(a("d3b7"),a("159b"),a("aea7")),o={purchases:"ad_manage_SD_audience_purchase",relatedProduct:"ad_manage_SD_audience_purchase_related",audienceSameAs:"_ADVERTISEMENT_TARGET_NAME_SHOW_AUDIENCESAMEAS",similarProduct:"_ADVERTISEMENT_TARGET_NAME_SHOW_SIMILARPRODUCT",exactProduct:"_ADVERTISEMENT_TARGET_NAME_SHOW_EXACTPRODUCT",lookback:"_ADVERTISEMENT_TARGET_NAME_SHOW_LOOKBACK",asinCategorySameAs:"_ADVERTISEMENT_TARGET_NAME_SHOW_ASINCATEGORYSAMEAS",asinPriceBetween:"_ADVERTISEMENT_TARGET_NAME_SHOW_ASINPRICEBETWEEN",asinPriceGreaterThan:"_ADVERTISEMENT_TARGET_NAME_SHOW_ASINPRICEGREATERTHAN",asinPriceLessThan:"_ADVERTISEMENT_TARGET_NAME_SHOW_ASINPRICELESSTHAN",asinReviewRatingBetween:"_ADVERTISEMENT_TARGET_NAME_SHOW_ASINREVIEWRATINGBETWEEN",asinReviewRatingLessThan:"_ADVERTISEMENT_TARGET_NAME_SHOW_ASINREVIEWRATINGLESSTHAN",asinReviewRatingGreaterThan:"_ADVERTISEMENT_TARGET_NAME_SHOW_ASINREVIEWRATINGGREATERTHAN",asinIsPrimeShippingEligible:"_ADVERTISEMENT_TARGET_NAME_SHOW_ASINISPRIMESHIPPINGELIGIBLE",asinBrandSameAs:"_ADVERTISEMENT_TARGET_NAME_SHOW_ASINBRANDSAMEAS",asinAgeRangeSameAs:"_ADVERTISEMENT_TARGET_NAME_SHOW_ASINAGERANGESAMEAS",queryHighRelMatches:"_ADVERTISEMENT_TARGET_NAME_SHOW_QUERYHIGHRELMATCHES",queryBroadRelMatches:"_ADVERTISEMENT_TARGET_NAME_SHOW_QUERYBROADRELMATCHES",asinSubstituteRelated:"_ADVERTISEMENT_TARGET_NAME_SHOW_ASINSUBSTITUTERELATED",asinAccessoryRelated:"_ADVERTISEMENT_TARGET_NAME_SHOW_ASINACCESSORYRELATED",asinSameAs:"asin =",asinGenreSameAs:"Genre =",asinExpandedFrom:"ASINEXPANDEDFROM"},r={purchases:"ad_manage_SD_audience_purchase",relatedProduct:"ad_manage_SD_audience_purchase_related",audience:"_ADVERTISEMENT_TARGET_NAME_SHOW_AUDIENCE",views:"_ADVERTISEMENT_TARGET_NAME_SHOW_VIEWS"},s={true:"_ADVERTISEMENT_TARGET_NAME_SHOW_ASINISPRIMESHIPPINGELIGIBLE_STATUS_TRUE",false:"_ADVERTISEMENT_TARGET_NAME_SHOW_ASINISPRIMESHIPPINGELIGIBLE_STATUS_FLASE"},c="paused",l="enabled",d="archived",u="finished",p="notArchived",_=f(),h=m();function f(){var t;return t={},Object(n["a"])(t,p,"_AD_AUTO_MANAGER_NOT_ARCHIVED"),Object(n["a"])(t,c,"_AD_AUTO_MANAGER_PAUSED"),Object(n["a"])(t,l,"_AD_AUTO_MANAGER_ENABLED"),Object(n["a"])(t,d,"_AD_AUTO_MANAGER_ARCHIVED"),t}function m(){var t;return t={},Object(n["a"])(t,c,"_AD_AUTO_MANAGER_PAUSING"),Object(n["a"])(t,l,"_AD_AUTO_MANAGER_RUNNING"),Object(n["a"])(t,d,"_AD_AUTO_MANAGER_ARCHING"),t}Object(i["defineReact"])((function(){_=f(),h=m()}));var g="asinAccessoryRelated",A="asinSubstituteRelated",v="queryBroadRelMatches",b="queryHighRelMatches",T=E(),y=S();function E(){var t;return t={},Object(n["a"])(t,g,"_ADVERTISEMENT_TH_AUTO_TARGET_NAME1"),Object(n["a"])(t,A,"_ADVERTISEMENT_TH_AUTO_TARGET_NAME2"),Object(n["a"])(t,v,"_ADVERTISEMENT_TH_AUTO_TARGET_NAME3"),Object(n["a"])(t,b,"_ADVERTISEMENT_TH_AUTO_TARGET_NAME4"),t}function S(){var t;return t={},Object(n["a"])(t,g,{label:"_ADVERTISEMENT_TH_AUTO_TARGET_NAME1"}),Object(n["a"])(t,A,{label:"_ADVERTISEMENT_TH_AUTO_TARGET_NAME6",tooltip:"_ADVERTISEMENT_TH_AUTO_TARGET_NAME6_TIP"}),Object(n["a"])(t,v,{label:"_ADVERTISEMENT_TH_AUTO_TARGET_NAME3"}),Object(n["a"])(t,b,{label:"_ADVERTISEMENT_TH_AUTO_TARGET_NAME5",tooltip:"_ADVERTISEMENT_TH_AUTO_TARGET_NAME5_TIP"}),t}Object(i["defineReact"])((function(){T=E(),y=S()}));var O="STATUS_UNAVAILABLE",I="ADVERTISER_STATUS_ENABLED",M="ADVERTISER_PAUSED",C="ACCOUNT_OUT_OF_BUDGET",k="ADVERTISER_PAYMENT_FAILURE",N="ADVERTISER_ARCHIVED",x="CAMPAIGN_STATUS_ENABLED",R="CAMPAIGN_PAUSED",D="CAMPAIGN_ARCHIVED",w="PENDING_START_DATE",P="ENDED",L="CAMPAIGN_INCOMPLETE",j="CAMPAIGN_OUT_OF_BUDGET",G="AD_GROUP_STATUS_ENABLED",V="AD_GROUP_PAUSED",B="AD_GROUP_ARCHIVED",U="AD_GROUP_INCOMPLETE",H="AD_GROUP_LOW_BID",$="AD_STATUS_LIVE",z="AD_PAUSED",Y="AD_ARCHIVED",F="MISSING_IMAGE",Z="MISSING_DECORATION",W="NOT_BUYABLE",K="NOT_IN_BUYBOX",X="OUT_OF_STOCK",J="AD_POLICING_SUSPENDED",q="TARGETING_CLAUSE_STATUS_LIVE",Q="TARGETING_CLAUSE_POLICING_SUSPENDED",tt="TARGETING_CLAUSE_PAUSED",et="TARGETING_CLAUSE_ARCHIVED",at="TARGETING_CLAUSE_BLOCKED",nt="NO_INVENTORY",it="PENDING_REVIEW",ot="READY",rt="SCHEDULED",st="RUNNING",ct="PAUSED",lt="REJECTED",dt="BILLING_ERROR",ut="ASIN_NOT_BUYABLE",pt="LANDING_PAGE_NOT_AVAILABLE",_t="OUT_OF_BUDGET",ht="pendingReview",ft=mt();function mt(){var t;return t={},Object(n["a"])(t,J,{label:"global_ad_status_ad_policing_suspended"}),Object(n["a"])(t,O,{label:"_ADVERTISEMENT_SERVING_STATUS_STATUS_UNAVAILABLE"}),Object(n["a"])(t,I,{label:"_ADVERTISEMENT_SERVING_STATUS_ADVERTISER_STATUS_ENABLED"}),Object(n["a"])(t,M,{label:"_ADVERTISEMENT_SERVING_STATUS_ADVERTISER_PAUSED"}),Object(n["a"])(t,C,{label:"_ADVERTISEMENT_SERVING_STATUS_ACCOUNT_OUT_OF_BUDGET"}),Object(n["a"])(t,k,{label:"_ADVERTISEMENT_SERVING_STATUS_ADVERTISER_PAYMENT_FAILURE"}),Object(n["a"])(t,N,{label:"_ADVERTISEMENT_SERVING_STATUS_ADVERTISER_ARCHIVED"}),Object(n["a"])(t,x,{label:"_ADVERTISEMENT_SERVING_STATUS_CAMPAIGN_STATUS_ENABLED"}),Object(n["a"])(t,R,{label:"_ADVERTISEMENT_SERVING_STATUS_CAMPAIGN_PAUSED",tooltip:"_ADVERTISEMENT_SERVING_STATUS_TOOLTIP_CAMPAIGN_PAUSED"}),Object(n["a"])(t,D,{label:"_ADVERTISEMENT_SERVING_STATUS_CAMPAIGN_ARCHIVED",tooltip:"_ADVERTISEMENT_SERVING_STATUS_TOOLTIP_CAMPAIGN_ARCHIVED"}),Object(n["a"])(t,w,{label:"_ADVERTISEMENT_SERVING_STATUS_PENDING_START_DATE"}),Object(n["a"])(t,P,{label:"_ADVERTISEMENT_SERVING_STATUS_ENDED"}),Object(n["a"])(t,L,{label:"_ADVERTISEMENT_SERVING_STATUS_CAMPAIGN_INCOMPLETE",tooltip:"_ADVERTISEMENT_SERVING_STATUS_TOOLTIP_CAMPAIGN_INCOMPLETE"}),Object(n["a"])(t,j,{label:"_ADVERTISEMENT_SERVING_STATUS_CAMPAIGN_OUT_OF_BUDGET"}),Object(n["a"])(t,G,{label:"_ADVERTISEMENT_SERVING_STATUS_AD_GROUP_STATUS_ENABLED"}),Object(n["a"])(t,V,{label:"_ADVERTISEMENT_SERVING_STATUS_AD_GROUP_PAUSED",tooltip:"_ADVERTISEMENT_SERVING_STATUS_TOOLTIP_AD_GROUP_PAUSED"}),Object(n["a"])(t,B,{label:"_ADVERTISEMENT_SERVING_STATUS_AD_GROUP_ARCHIVED",tooltip:"_ADVERTISEMENT_SERVING_STATUS_TOOLTIP_AD_GROUP_ARCHIVED"}),Object(n["a"])(t,U,{label:"_ADVERTISEMENT_SERVING_STATUS_AD_GROUP_INCOMPLETE",tooltip:"_ADVERTISEMENT_SERVING_STATUS_TOOLTIP_AD_GROUP_INCOMPLETE"}),Object(n["a"])(t,H,{label:"_ADVERTISEMENT_SERVING_STATUS_AD_GROUP_LOW_BID",tooltip:"_ADVERTISEMENT_SERVING_STATUS_TOOLTIP_AD_GROUP_LOW_BID"}),Object(n["a"])(t,$,{label:"_ADVERTISEMENT_SERVING_STATUS_AD_STATUS_LIVE"}),Object(n["a"])(t,z,{label:"_ADVERTISEMENT_SERVING_STATUS_AD_PAUSED",tooltip:"_ADVERTISEMENT_SERVING_STATUS_TOOLTIP_AD_PAUSED"}),Object(n["a"])(t,Y,{label:"_ADVERTISEMENT_SERVING_STATUS_AD_ARCHIVED",tooltip:"_ADVERTISEMENT_SERVING_STATUS_TOOLTIP_AD_ARCHIVED"}),Object(n["a"])(t,F,{label:"_ADVERTISEMENT_SERVING_STATUS_MISSING_IMAGE"}),Object(n["a"])(t,Z,{label:"_ADVERTISEMENT_SERVING_STATUS_MISSING_DECORATION"}),Object(n["a"])(t,W,{label:"_ADVERTISEMENT_SERVING_STATUS_NOT_BUYABLE",tooltip:"_ADVERTISEMENT_SERVING_STATUS_TOOLTIP_NOT_BUYABLE"}),Object(n["a"])(t,K,{label:"_ADVERTISEMENT_SERVING_STATUS_NOT_IN_BUYBOX"}),Object(n["a"])(t,X,{label:"_ADVERTISEMENT_SERVING_STATUS_OUT_OF_STOCK",tooltip:"_ADVERTISEMENT_SERVING_STATUS_TOOLTIP_OUT_OF_STOCK"}),Object(n["a"])(t,q,{label:"_ADVERTISEMENT_SERVING_STATUS_TARGETING_CLAUSE_STATUS_LIVE"}),Object(n["a"])(t,Q,{label:"_ADVERTISEMENT_SERVING_STATUS_TARGETING_CLAUSE_POLICING_SUSPENDED",tooltip:"_ADVERTISEMENT_SERVING_STATUS_TOOLTIP_TARGETING_CLAUSE_POLICING_SUSPENDED"}),Object(n["a"])(t,tt,{label:"_ADVERTISEMENT_SERVING_STATUS_TARGETING_CLAUSE_PAUSED",tooltip:"_ADVERTISEMENT_SERVING_STATUS_TOOLTIP_TARGETING_CLAUSE_PAUSED"}),Object(n["a"])(t,et,{label:"_ADVERTISEMENT_SERVING_STATUS_TARGETING_CLAUSE_ARCHIVED",tooltip:"_ADVERTISEMENT_SERVING_STATUS_TOOLTIP_TARGETING_CLAUSE_ARCHIVED"}),Object(n["a"])(t,at,{label:"_ADVERTISEMENT_SERVING_STATUS_TARGETING_CLAUSE_BLOCKED",tooltip:"_ADVERTISEMENT_SERVING_STATUS_TOOLTIP_TARGETING_CLAUSE_BLOCKED"}),Object(n["a"])(t,nt,{label:"_ADVERTISEMENT_SERVING_STATUS_NO_INVENTORY"}),Object(n["a"])(t,it,{label:"_ADVERTISEMENT_SERVING_STATUS_PENDING_REVIEW"}),Object(n["a"])(t,ht,{label:"_ADVERTISEMENT_SERVING_STATUS_PENDING_REVIEW"}),Object(n["a"])(t,ot,{label:"_ADVERTISEMENT_SERVING_STATUS_READY",tooltip:"_ADVERTISEMENT_SERVING_STATUS_TOOLTIP_READY"}),Object(n["a"])(t,rt,{label:"_ADVERTISEMENT_SERVING_STATUS_SCHEDULED"}),Object(n["a"])(t,st,{label:"_ADVERTISEMENT_SERVING_STATUS_RUNNING"}),Object(n["a"])(t,ct,{label:"_ADVERTISEMENT_SERVING_STATUS_PAUSED"}),Object(n["a"])(t,lt,{label:"_ADVERTISEMENT_SERVING_STATUS_REJECTED"}),Object(n["a"])(t,dt,{label:"_ADVERTISEMENT_SERVING_STATUS_BILLING_ERROR",tooltip:"_ADVERTISEMENT_SERVING_STATUS_TOOLTIP_BILLING_ERROR"}),Object(n["a"])(t,ut,{label:"_ADVERTISEMENT_SERVING_STATUS_ASIN_NOT_BUYABLE",tooltip:"_ADVERTISEMENT_SERVING_STATUS_TOOLTIP_ASIN_NOT_BUYABLE"}),Object(n["a"])(t,pt,{label:"_ADVERTISEMENT_SERVING_STATUS_LANDING_PAGE_NOT_AVAILABLE",tooltip:"_ADVERTISEMENT_SERVING_STATUS_TOOLTIP_LANDING_PAGE_NOT_AVAILABLE"}),Object(n["a"])(t,_t,{label:"_ADVERTISEMENT_SERVING_STATUS_OUT_OF_BUDGET"}),Object(n["a"])(t,"PORTFOLIO_STATUS_ENABLED",{label:"ad_manager_status_run"}),Object(n["a"])(t,"PORTFOLIO_STATUS_PAUSED",{label:"ad_manager_status_paused"}),Object(n["a"])(t,"PORTFOLIO_ARCHIVED",{label:"global_ad_archived"}),Object(n["a"])(t,"PORTFOLIO_OUT_OF_BUDGET",{label:"_ADVERTISEMENT_SERVING_STATUS_CAMPAIGN_OUT_OF_BUDGET"}),Object(n["a"])(t,"PENDING_START_DATE",{label:"_ADVERTISEMENT_SERVING_STATUS_PENDING_START_DATE"}),Object(n["a"])(t,"PORTFOLIO_PENDING_START_DATE",{label:"_ADVERTISEMENT_SERVING_STATUS_PENDING_START_DATE"}),Object(n["a"])(t,"ENDED",{label:"PORTFOLIO_ENDED"}),Object(n["a"])(t,"PORTFOLIO_ENDED",{label:"PORTFOLIO_ENDED"}),t}Object(i["defineReact"])((function(){ft=mt()}));var gt="enabled",At="deleted",vt="archived";bt();function bt(){var t;return t={},Object(n["a"])(t,gt,"_AD_AUTO_MANAGER_ENABLED"),Object(n["a"])(t,At,"_AD_AUTO_MANAGER_ARCHIVED"),Object(n["a"])(t,vt,"_AD_AUTO_MANAGER_ARCHIVED"),t}Object(i["defineReact"])((function(){bt()}));var Tt="negativeExact",yt="negativePhrase",Et=St();function St(){var t;return t={},Object(n["a"])(t,Tt,"_ADVERTISEMENT_MATCH_METHOD_EXACT_NEGATIVE"),Object(n["a"])(t,yt,"_ADVERTISEMENT_MATCH_METHOD_PHRASE_NEGATIVE"),t}var Ot=It();function It(){var t;return t={},Object(n["a"])(t,Tt,"_ADVERTISEMENT_MATCH_METHOD_EXACT_NEGATIVE2"),Object(n["a"])(t,yt,"_ADVERTISEMENT_MATCH_METHOD_PHRASE_NEGATIVE2"),t}Object(i["defineReact"])((function(){Et=St(),Ot=It()}));var Mt="exact",Ct="phrase",kt="broad";Nt();function Nt(){var t;return t={},Object(n["a"])(t,Mt,"_ADVERTISEMENT_MATCH_METHOD_EXACT_KEYWORD"),Object(n["a"])(t,Ct,"_ADVERTISEMENT_MATCH_METHOD_PHRASE_KEYWORD"),Object(n["a"])(t,kt,"_ADVERTISEMENT_MATCH_METHOD_BROAD_KEYWORD"),t}Object(i["defineReact"])((function(){St()}));var xt="AUTO",Rt="MANUAL",Dt="auto",wt="manual",Pt=Lt();function Lt(){var t;return t={},Object(n["a"])(t,xt,{label:"_ADVERTISEMENT_TYPE_AUTO",value:"AT"}),Object(n["a"])(t,Rt,{label:"_ADVERTISEMENT_TYPE_MANUAL",value:"MT"}),Object(n["a"])(t,Dt,{label:"_ADVERTISEMENT_TYPE_AUTO",value:"AT"}),Object(n["a"])(t,wt,{label:"_ADVERTISEMENT_TYPE_MANUAL",value:"MT"}),t}Object(i["defineReact"])((function(){Pt=Lt()}));var jt="legacyForSales",Gt="autoForSales",Vt="manual";function Bt(){return[{label:"_ADVERTISEMENT_CREATE_CAMPAIGN_STEP_CAMPAIGN_BID_OPTION1",value:jt},{label:"_ADVERTISEMENT_CREATE_CAMPAIGN_STEP_CAMPAIGN_BID_OPTION2",value:Gt},{label:"_ADVERTISEMENT_CREATE_CAMPAIGN_STEP_CAMPAIGN_BID_OPTION3",value:Vt}]}var Ut={MANUAL:"_ADVERTISEMENT_CREATE_CAMPAIGN_STEP_CAMPAIGN_BID_OPTION3",AUTO_FOR_SALES:"_ADVERTISEMENT_CREATE_CAMPAIGN_STEP_CAMPAIGN_BID_OPTION2",LEGACY_FOR_SALES:"_ADVERTISEMENT_CREATE_CAMPAIGN_STEP_CAMPAIGN_BID_OPTION1",RULE_BASED:"ad_manager_bidding_strategy_rulebased"},Ht=0,$t=1,zt=2,Yt="sponsoredProducts",Ft="sponsoredBrands",Zt="sponsoredDisplay",Wt=0,Kt=1,Xt=Jt();function Jt(){var t;return t={},Object(n["a"])(t,Wt,"_AD_AUTO_MANAGER_ALL_START"),Object(n["a"])(t,Kt,"_AD_AUTO_MANAGER_ALL_START_AND_PAUSE"),t}function qt(){return[{label:"_AD_AUTO_MANAGER_ALL_START",value:Wt},{label:"_AD_AUTO_MANAGER_ALL_START_AND_PAUSE",value:Kt}]}var Qt=ee(),te=qt();function ee(){var t;return t={},Object(n["a"])(t,Ht,{label:"_ADVERTISEMENT_CAMPAIGN_TYPE_PRODUCT",value:"SP"}),Object(n["a"])(t,$t,{label:"_ADVERTISEMENT_CAMPAIGN_TYPE_BRAND",value:"SB"}),Object(n["a"])(t,zt,{label:"_ADVERTISEMENT_CAMPAIGN_TYPE_DISPLAY",value:"SD"}),Object(n["a"])(t,Yt,{label:"_ADVERTISEMENT_CAMPAIGN_TYPE_PRODUCT",value:"SP"}),Object(n["a"])(t,Ft,{label:"_ADVERTISEMENT_CAMPAIGN_TYPE_BRAND",value:"SB"}),Object(n["a"])(t,Zt,{label:"_ADVERTISEMENT_CAMPAIGN_TYPE_DISPLAY",value:"SD"}),t}Object(i["defineReact"])((function(){Pt=Lt()}));var ae="daily",ne="lifetime";ie();function ie(){var t;return t={},Object(n["a"])(t,ae,"_ADVERTISEMENT_TH_DAILY_BUDGE"),Object(n["a"])(t,ne,"_ADVERTISEMENT_TH_LIFETIME_BUDGE"),t}Object(i["defineReact"])((function(){Pt=Lt()}));var oe="BROAD",re="EXACT",se="PHRASE",ce="broad",le="exact",de="phrase",ue="KEYWORDS_RELATED_TO_YOUR_BRAND",pe="KEYWORDS_RELATED_TO_YOUR_LANDING_PAGES",_e=he();function he(){var t;return t={},Object(n["a"])(t,oe,"_ADVERTISEMENT_MATCH_METHOD_BROAD"),Object(n["a"])(t,re,"_ADVERTISEMENT_MATCH_METHOD_EXACT"),Object(n["a"])(t,se,"_ADVERTISEMENT_MATCH_METHOD_PHRASE"),Object(n["a"])(t,ce,"_ADVERTISEMENT_MATCH_METHOD_BROAD"),Object(n["a"])(t,le,"_ADVERTISEMENT_MATCH_METHOD_EXACT"),Object(n["a"])(t,de,"_ADVERTISEMENT_MATCH_METHOD_PHRASE"),Object(n["a"])(t,ue,"ad_manage_sb_BrandKeyword"),Object(n["a"])(t,pe,"ad_manage_sb_LandingPageKeyword"),Object(n["a"])(t,ue+"_ALL","ad_manage_matchtype_theme"),Object(n["a"])(t,pe+"_ALL","ad_manage_matchtype_theme"),t}Object(i["defineReact"])((function(){_e=he()}));var fe=1,me=3,ge=6,Ae=7;ve(),be();function ve(){var t;return t={},Object(n["a"])(t,fe,"_AD_AUTO_OPTIMISE_OPERATION_ACTIVE"),Object(n["a"])(t,me,"_AD_AUTO_OPTIMISE_OPERATION_PAUSE"),Object(n["a"])(t,ge,"_AD_AUTO_OPTIMISE_OPERATION_INCREASE"),Object(n["a"])(t,Ae,"_AD_AUTO_OPTIMISE_OPERATION_DECREASE"),t}function be(){return[{value:fe,label:"_AD_AUTO_OPTIMISE_OPERATION_ACTIVE"},{value:me,label:"_AD_AUTO_OPTIMISE_OPERATION_PAUSE"},{value:ge,label:"_AD_AUTO_OPTIMISE_OPERATION_INCREASE"},{value:Ae,label:"_AD_AUTO_OPTIMISE_OPERATION_DECREASE"}]}Object(i["defineReact"])((function(){ve(),be()}));var Te="percent",ye="currency",Ee="number",Se=Ie(),Oe=Me();function Ie(){return[{field:"acos",label:"_COMMON_TH_AD_ACOS",fieldType:Te},{field:"spend",label:"_COMMON_TH_AD_COST",fieldType:ye},{field:"sales",label:"_COMMON_TH_AD_SALES",fieldType:ye},{field:"impressions",label:"_COMMON_TH_DISPLAY",fieldType:Ee},{field:"clicks",label:"_COMMON_TH_CLICKS",fieldType:Ee},{field:"cr",label:"_COMMON_TH_CONVERSION",fieldType:Te},{field:"ctr",label:"_COMMON_TH_CTR",fieldType:Te},{field:"orders",label:"_COMMON_TH_ORDERS",fieldType:Ee},{field:"cpc",label:"_COMMON_TH_PPC",fieldType:ye}]}function Me(){var t={};return Se.forEach((function(e){t[e.field]=e})),t}Object(i["defineReact"])((function(){Se=Ie(),Oe=Me()}))},"9e00":function(t,e,a){},a0c6:function(t,e,a){"use strict";a.d(e,"a",(function(){return b}));var n=a("848e"),i=a("7fae"),o=a("2449"),r=function(t){function e(){var a=null!==t&&t.apply(this,arguments)||this;return a.type=e.type,a}return Object(i["a"])(e,t),e.prototype.createMarkerModelFromSeries=function(t,a,n){return new e(t,a,n)},e.type="markPoint",e.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},e}(o["a"]),s=r,c=a("f706"),l=a("3842"),d=a("b682"),u=a("923d"),p=a("88f0"),_=a("6d8b"),h=a("861c"),f=a("0924");function m(t,e,a){var n=e.coordinateSystem;t.each((function(i){var o,r=t.getItemModel(i),s=l["o"](r.get("x"),a.getWidth()),c=l["o"](r.get("y"),a.getHeight());if(isNaN(s)||isNaN(c)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,i));else if(n){var d=t.get(n.dimensions[0],i),u=t.get(n.dimensions[1],i);o=n.dataToPoint([d,u])}}else o=[s,c];isNaN(s)||(o[0]=s),isNaN(c)||(o[1]=c),t.setItemLayout(i,o)}))}var g=function(t){function e(){var a=null!==t&&t.apply(this,arguments)||this;return a.type=e.type,a}return Object(i["a"])(e,t),e.prototype.updateTransform=function(t,e,a){e.eachSeries((function(t){var e=o["a"].getMarkerModelFromSeries(t,"markPoint");e&&(m(e.getData(),t,a),this.markerGroupMap.get(t.id).updateLayout())}),this)},e.prototype.renderSeries=function(t,e,a,n){var i=t.coordinateSystem,o=t.id,r=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new c["a"]),d=A(i,t,e);e.setData(d),m(e.getData(),t,n),d.each((function(t){var a=d.getItemModel(t),n=a.getShallow("symbol"),i=a.getShallow("symbolSize"),o=a.getShallow("symbolRotate"),s=a.getShallow("symbolOffset"),c=a.getShallow("symbolKeepAspect");if(Object(_["w"])(n)||Object(_["w"])(i)||Object(_["w"])(o)||Object(_["w"])(s)){var l=e.getRawValue(t),u=e.getDataParams(t);Object(_["w"])(n)&&(n=n(l,u)),Object(_["w"])(i)&&(i=i(l,u)),Object(_["w"])(o)&&(o=o(l,u)),Object(_["w"])(s)&&(s=s(l,u))}var p=a.getModel("itemStyle").getItemStyle(),h=Object(f["b"])(r,"color");p.fill||(p.fill=h),d.setItemVisual(t,{symbol:n,symbolSize:i,symbolRotate:o,symbolOffset:s,symbolKeepAspect:c,style:p})})),l.updateData(d),this.group.add(l.group),d.eachItemGraphicEl((function(t){t.traverse((function(t){Object(h["a"])(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markPoint",e}(p["a"]);function A(t,e,a){var n;n=t?Object(_["H"])(t&&t.dimensions,(function(t){var a=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return Object(_["m"])(Object(_["m"])({},a),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var i=new d["a"](n,a),o=Object(_["H"])(a.get("data"),Object(_["h"])(u["c"],e));t&&(o=Object(_["n"])(o,Object(_["h"])(u["b"],t)));var r=u["a"](!!t,n);return i.initData(o,null,r),i}var v=g;function b(t){t.registerComponentModel(s),t.registerComponentView(v),t.registerPreprocessor((function(t){Object(n["a"])(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})}))}},a4fe:function(t,e,a){"use strict";a.d(e,"c",(function(){return r})),a.d(e,"b",(function(){return s})),a.d(e,"a",(function(){return c}));var n=a("1be7"),i=a("6d8b"),o="\0_ec_interaction_mutex";function r(t,e,a){var n=l(t);n[e]=a}function s(t,e,a){var n=l(t),i=n[e];i===a&&(n[e]=null)}function c(t,e){return!!l(t)[e]}function l(t){return t[o]||(t[o]={})}n["d"]({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},i["L"])},ac12:function(t,e,a){"use strict";a.d(e,"a",(function(){return U}));var n=a("7fae"),i=a("3a56"),o=a("8918"),r=function(t){function e(){var a=null!==t&&t.apply(this,arguments)||this;return a.type=e.type,a}return Object(n["a"])(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=Object(o["d"])(i["a"].defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(i["a"]),s=r,c=a("6d8b"),l=a("607d"),d=a("c7a2"),u=a("2dc5"),p=a("87b1"),_=a("d498"),h=a("76a5"),f=a("2306"),m=a("dce8"),g=a("88b3"),A=a("7dcf"),v=a("3842"),b=a("f934"),T=a("ef6a"),y=a("50e5"),E=a("7d6c"),S=a("a15a"),O=a("7837"),I=d["a"],M=7,C=1,k=30,N=7,x="horizontal",R="vertical",D=5,w=["line","bar","candlestick","scatter"],P={easing:"cubicOut",duration:100,delay:0},L=function(t){function e(){var a=null!==t&&t.apply(this,arguments)||this;return a.type=e.type,a._displayables={},a}return Object(n["a"])(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=Object(c["c"])(this._onBrush,this),this._onBrushEnd=Object(c["c"])(this._onBrushEnd,this)},e.prototype.render=function(e,a,n,i){if(t.prototype.render.apply(this,arguments),g["b"](this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1!==e.get("show")){if(e.noTarget())return this._clear(),void this.group.removeAll();i&&"dataZoom"===i.type&&i.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){g["a"](this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new u["a"];this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,a=t.get("brushSelect"),n=a?N:0,i=this._findCoordRect(),o={width:e.getWidth(),height:e.getHeight()},r=this._orient===x?{right:o.width-i.x-i.width,top:o.height-k-M-n,width:i.width,height:k}:{right:M,top:i.y,width:k,height:i.height},s=b["f"](t.option);Object(c["k"])(["right","top","width","height"],(function(t){"ph"===s[t]&&(s[t]=r[t])}));var l=b["g"](s,o);this._location={x:l.x,y:l.y},this._size=[l.width,l.height],this._orient===R&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,a=this._orient,n=this.dataZoomModel.getFirstTargetAxisModel(),i=n&&n.get("inverse"),o=this._displayables.sliderGroup,r=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(a!==x||i?a===x&&i?{scaleY:r?1:-1,scaleX:-1}:a!==R||i?{scaleY:r?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:r?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:r?1:-1,scaleX:1});var s=t.getBoundingRect([o]);t.x=e.x-s.x,t.y=e.y-s.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,a=this._displayables.sliderGroup,n=t.get("brushSelect");a.add(new I({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var i=new I({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:Object(c["c"])(this._onClickPanel,this)}),o=this.api.getZr();n?(i.on("mousedown",this._onBrushStart,this),i.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),a.add(i)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,a=this._shadowSize||[],n=t.series,i=n.getRawData(),o=n.getShadowDim?n.getShadowDim():t.otherDim;if(null!=o){var r=this._shadowPolygonPts,s=this._shadowPolylinePts;if(i!==this._shadowData||o!==this._shadowDim||e[0]!==a[0]||e[1]!==a[1]){var c=i.getDataExtent(o),l=.3*(c[1]-c[0]);c=[c[0]-l,c[1]+l];var d,h=[0,e[1]],f=[0,e[0]],m=[[e[0],0],[0,0]],g=[],A=f[1]/(i.count()-1),b=0,T=Math.round(i.count()/e[0]);i.each([o],(function(t,e){if(T>0&&e%T)b+=A;else{var a=null==t||isNaN(t)||""===t,n=a?0:Object(v["k"])(t,c,h,!0);a&&!d&&e?(m.push([m[m.length-1][0],0]),g.push([g[g.length-1][0],0])):!a&&d&&(m.push([b,0]),g.push([b,0])),m.push([b,n]),g.push([b,n]),b+=A,d=a}})),r=this._shadowPolygonPts=m,s=this._shadowPolylinePts=g}this._shadowData=i,this._shadowDim=o,this._shadowSize=[e[0],e[1]];for(var y=this.dataZoomModel,E=0;E<3;E++){var S=O(1===E);this._displayables.sliderGroup.add(S),this._displayables.dataShadowSegs.push(S)}}}function O(t){var e=y.getModel(t?"selectedDataBackground":"dataBackground"),a=new u["a"],n=new p["a"]({shape:{points:r},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),i=new _["a"]({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return a.add(n),a.add(i),a}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var a,n=this.ecModel;return t.eachTargetAxis((function(i,o){var r=t.getAxisProxy(i,o).getTargetSeriesModels();Object(c["k"])(r,(function(t){if(!a&&!(!0!==e&&Object(c["r"])(w,t.get("type"))<0)){var r,s=n.getComponent(Object(y["d"])(i),o).axis,l=j(i),d=t.coordinateSystem;null!=l&&d.getOtherAxis&&(r=d.getOtherAxis(s).inverse),l=t.getData().mapDimension(l),a={thisAxis:s,series:t,thisDim:i,otherDim:l,otherAxisInverse:r}}}),this)}),this),a}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,a=e.handles=[null,null],n=e.handleLabels=[null,null],i=this._displayables.sliderGroup,o=this._size,r=this.dataZoomModel,s=this.api,l=r.get("borderRadius")||0,u=r.get("brushSelect"),p=e.filler=new I({silent:u,style:{fill:r.get("fillerColor")},textConfig:{position:"inside"}});i.add(p),i.add(new I({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:l},style:{stroke:r.get("dataBackgroundColor")||r.get("borderColor"),lineWidth:C,fill:"rgba(0,0,0,0)"}})),Object(c["k"])([0,1],(function(e){var o=r.get("handleIcon");!S["d"][o]&&o.indexOf("path://")<0&&o.indexOf("image://")<0&&(o="path://"+o);var s=Object(S["a"])(o,-1,0,2,2,null,!0);s.attr({cursor:G(this._orient),draggable:!0,drift:Object(c["c"])(this._onDragMove,this,e),ondragend:Object(c["c"])(this._onDragEnd,this),onmouseover:Object(c["c"])(this._showDataInfo,this,!0),onmouseout:Object(c["c"])(this._showDataInfo,this,!1),z2:5});var l=s.getBoundingRect(),d=r.get("handleSize");this._handleHeight=Object(v["o"])(d,this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,s.setStyle(r.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=r.getModel(["emphasis","handleStyle"]).getItemStyle(),Object(E["o"])(s);var u=r.get("handleColor");null!=u&&(s.style.fill=u),i.add(a[e]=s);var p=r.getModel("textStyle");t.add(n[e]=new h["a"]({silent:!0,invisible:!0,style:Object(O["c"])(p,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:p.getTextColor(),font:p.getFont()}),z2:10}))}),this);var _=p;if(u){var f=Object(v["o"])(r.get("moveHandleSize"),o[1]),m=e.moveHandle=new d["a"]({style:r.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:f}}),g=.8*f,A=e.moveHandleIcon=Object(S["a"])(r.get("moveHandleIcon"),-g/2,-g/2,g,g,"#fff",!0);A.silent=!0,A.y=o[1]+f/2-.5,m.ensureState("emphasis").style=r.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var b=Math.min(o[1]/2,Math.max(f,10));_=e.moveZone=new d["a"]({invisible:!0,shape:{y:o[1]-b,height:f+b}}),_.on("mouseover",(function(){s.enterEmphasis(m)})).on("mouseout",(function(){s.leaveEmphasis(m)})),i.add(m),i.add(A),i.add(_)}_.attr({draggable:!0,cursor:G(this._orient),drift:Object(c["c"])(this._onDragMove,this,"all"),ondragstart:Object(c["c"])(this._showDataInfo,this,!0),ondragend:Object(c["c"])(this._onDragEnd,this),onmouseover:Object(c["c"])(this._showDataInfo,this,!0),onmouseout:Object(c["c"])(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[Object(v["k"])(t[0],[0,100],e,!0),Object(v["k"])(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var a=this.dataZoomModel,n=this._handleEnds,i=this._getViewExtent(),o=a.findRepresentativeAxisProxy().getMinMaxSpan(),r=[0,100];Object(T["a"])(e,n,i,a.get("zoomLock")?"all":t,null!=o.minSpan?Object(v["k"])(o.minSpan,r,i,!0):null,null!=o.maxSpan?Object(v["k"])(o.maxSpan,r,i,!0):null);var s=this._range,c=this._range=Object(v["c"])([Object(v["k"])(n[0],i,r,!0),Object(v["k"])(n[1],i,r,!0)]);return!s||s[0]!==c[0]||s[1]!==c[1]},e.prototype._updateView=function(t){var e=this._displayables,a=this._handleEnds,n=Object(v["c"])(a.slice()),i=this._size;Object(c["k"])([0,1],(function(t){var n=e.handles[t],o=this._handleHeight;n.attr({scaleX:o/2,scaleY:o/2,x:a[t]+(t?-1:1),y:i[1]/2-o/2})}),this),e.filler.setShape({x:n[0],y:0,width:n[1]-n[0],height:i[1]});var o={x:n[0],width:n[1]-n[0]};e.moveHandle&&(e.moveHandle.setShape(o),e.moveZone.setShape(o),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",o.x+o.width/2));for(var r=e.dataShadowSegs,s=[0,n[0],n[1],i[0]],l=0;l<r.length;l++){var u=r[l],p=u.getClipPath();p||(p=new d["a"],u.setClipPath(p)),p.setShape({x:s[l],y:0,width:s[l+1]-s[l],height:i[1]})}this._updateDataInfo(t)},e.prototype._updateDataInfo=function(t){var e=this.dataZoomModel,a=this._displayables,n=a.handleLabels,i=this._orient,o=["",""];if(e.get("showDetail")){var r=e.findRepresentativeAxisProxy();if(r){var s=r.getAxisModel().axis,c=this._range,l=t?r.calculateDataWindow({start:c[0],end:c[1]}).valueWindow:r.getDataValueWindow();o=[this._formatLabel(l[0],s),this._formatLabel(l[1],s)]}}var d=Object(v["c"])(this._handleEnds.slice());function u(t){var e=f["getTransform"](a.handles[t].parent,this.group),r=f["transformDirection"](0===t?"right":"left",e),s=this._handleWidth/2+D,c=f["applyTransform"]([d[t]+(0===t?-s:s),this._size[1]/2],e);n[t].setStyle({x:c[0],y:c[1],verticalAlign:i===x?"middle":r,align:i===x?r:"center",text:o[t]})}u.call(this,0),u.call(this,1)},e.prototype._formatLabel=function(t,e){var a=this.dataZoomModel,n=a.get("labelFormatter"),i=a.get("labelPrecision");null!=i&&"auto"!==i||(i=e.getPixelPrecision());var o=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel({value:Math.round(t)}):t.toFixed(Math.min(i,20));return Object(c["w"])(n)?n(t,o):Object(c["C"])(n)?n.replace("{value}",o):o},e.prototype._showDataInfo=function(t){t=this._dragging||t;var e=this._displayables,a=e.handleLabels;a[0].attr("invisible",!t),a[1].attr("invisible",!t),e.moveHandle&&this.api[t?"enterEmphasis":"leaveEmphasis"](e.moveHandle,1)},e.prototype._onDragMove=function(t,e,a,n){this._dragging=!0,l["g"](n.event);var i=this._displayables.sliderGroup.getLocalTransform(),o=f["applyTransform"]([e,a],i,!0),r=this._updateInterval(t,o[0]),s=this.dataZoomModel.get("realtime");this._updateView(!s),r&&s&&this._dispatchZoomAction(!0)},e.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1);var t=this.dataZoomModel.get("realtime");!t&&this._dispatchZoomAction(!1)},e.prototype._onClickPanel=function(t){var e=this._size,a=this._displayables.sliderGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(a[0]<0||a[0]>e[0]||a[1]<0||a[1]>e[1])){var n=this._handleEnds,i=(n[0]+n[1])/2,o=this._updateInterval("all",a[0]-i);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,a=t.offsetY;this._brushStart=new m["a"](e,a),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var a=e.shape,n=+new Date;if(!(n-this._brushStartTime<200&&Math.abs(a.width)<5)){var i=this._getViewExtent(),o=[0,100];this._range=Object(v["c"])([Object(v["k"])(a.x,i,o,!0),Object(v["k"])(a.x+a.width,i,o,!0)]),this._handleEnds=[a.x,a.x+a.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(l["g"](t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var a=this._displayables,n=this.dataZoomModel,i=a.brushRect;i||(i=a.brushRect=new I({silent:!0,style:n.getModel("brushStyle").getItemStyle()}),a.sliderGroup.add(i)),i.attr("ignore",!1);var o=this._brushStart,r=this._displayables.sliderGroup,s=r.transformCoordToLocal(t,e),c=r.transformCoordToLocal(o.x,o.y),l=this._size;s[0]=Math.max(Math.min(l[0],s[0]),0),i.setShape({x:c[0],y:0,width:s[0]-c[0],height:l[1]})},e.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?P:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=Object(y["b"])(this.dataZoomModel).infoList;if(!t&&e.length){var a=e[0].model.coordinateSystem;t=a.getRect&&a.getRect()}if(!t){var n=this.api.getWidth(),i=this.api.getHeight();t={x:.2*n,y:.2*i,width:.6*n,height:.6*i}}return t},e.type="dataZoom.slider",e}(A["a"]);function j(t){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[t]}function G(t){return"vertical"===t?"ns-resize":"ew-resize"}var V=L,B=a("1459");function U(t){t.registerComponentModel(s),t.registerComponentView(V),Object(B["a"])(t)}},acf6:function(t,e,a){"use strict";a.d(e,"a",(function(){return O}));var n=a("22b4"),i=a("7fae"),o=a("1830"),r=a("4f85"),s=function(t){function e(){var a=null!==t&&t.apply(this,arguments)||this;return a.type=e.type,a.hasSymbolVisual=!0,a}return Object(i["a"])(e,t),e.prototype.getInitialData=function(t,e){return Object(o["a"])(null,this,{useEncodeDefaulter:!0})},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},e.prototype.brushSelector=function(t,e,a){return a.point(e.getItemLayout(t))},e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},e.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},e}(r["b"]),c=s,l=a("f706"),d=a("9850"),u=a("cbe5"),p=a("2dc5"),_=a("a15a"),h=a("861c"),f=4,m=function(){function t(){}return t}(),g=function(t){function e(e){var a=t.call(this,e)||this;return a._off=0,a.hoverDataIdx=-1,a}return Object(i["a"])(e,t),e.prototype.getDefaultShape=function(){return new m},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.buildPath=function(t,e){var a,n=e.points,i=e.size,o=this.symbolProxy,r=o.shape,s=t.getContext?t.getContext():t,c=s&&i[0]<f,l=this.softClipShape;if(c)this._ctx=s;else{for(this._ctx=null,a=this._off;a<n.length;){var d=n[a++],u=n[a++];isNaN(d)||isNaN(u)||(l&&!l.contain(d,u)||(r.x=d-i[0]/2,r.y=u-i[1]/2,r.width=i[0],r.height=i[1],o.buildPath(t,r,!0)))}this.incremental&&(this._off=a,this.notClear=!0)}},e.prototype.afterBrush=function(){var t,e=this.shape,a=e.points,n=e.size,i=this._ctx,o=this.softClipShape;if(i){for(t=this._off;t<a.length;){var r=a[t++],s=a[t++];isNaN(r)||isNaN(s)||(o&&!o.contain(r,s)||i.fillRect(r-n[0]/2,s-n[1]/2,n[0],n[1]))}this.incremental&&(this._off=t,this.notClear=!0)}},e.prototype.findDataIndex=function(t,e){for(var a=this.shape,n=a.points,i=a.size,o=Math.max(i[0],4),r=Math.max(i[1],4),s=n.length/2-1;s>=0;s--){var c=2*s,l=n[c]-o/2,d=n[c+1]-r/2;if(t>=l&&e>=d&&t<=l+o&&e<=d+r)return s}return-1},e.prototype.contain=function(t,e){var a=this.transformCoordToLocal(t,e),n=this.getBoundingRect();if(t=a[0],e=a[1],n.contain(t,e)){var i=this.hoverDataIdx=this.findDataIndex(t,e);return i>=0}return this.hoverDataIdx=-1,!1},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,a=e.points,n=e.size,i=n[0],o=n[1],r=1/0,s=1/0,c=-1/0,l=-1/0,u=0;u<a.length;){var p=a[u++],_=a[u++];r=Math.min(p,r),c=Math.max(p,c),s=Math.min(_,s),l=Math.max(_,l)}t=this._rect=new d["a"](r-i/2,s-o/2,c-r+i,l-s+o)}return t},e}(u["b"]),A=function(){function t(){this.group=new p["a"]}return t.prototype.updateData=function(t,e){this._clear();var a=this._create();a.setShape({points:t.getLayout("points")}),this._setCommon(a,t,e)},t.prototype.updateLayout=function(t){var e=t.getLayout("points");this.group.eachChild((function(t){if(null!=t.startIndex){var a=2*(t.endIndex-t.startIndex),n=4*t.startIndex*2;e=new Float32Array(e.buffer,n,a)}t.setShape("points",e),t.reset()}))},t.prototype.incrementalPrepareUpdate=function(t){this._clear()},t.prototype.incrementalUpdate=function(t,e,a){var n=this._newAdded[0],i=e.getLayout("points"),o=n&&n.shape.points;if(o&&o.length<2e4){var r=o.length,s=new Float32Array(r+i.length);s.set(o),s.set(i,r),n.endIndex=t.end,n.setShape({points:s})}else{this._newAdded=[];var c=this._create();c.startIndex=t.start,c.endIndex=t.end,c.incremental=!0,c.setShape({points:i}),this._setCommon(c,e,a)}},t.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},t.prototype._create=function(){var t=new g({cursor:"default"});return this.group.add(t),this._newAdded.push(t),t},t.prototype._setCommon=function(t,e,a){var n=e.hostModel;a=a||{};var i=e.getVisual("symbolSize");t.setShape("size",i instanceof Array?i:[i,i]),t.softClipShape=a.clipShape||null,t.symbolProxy=Object(_["a"])(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var o=t.shape.size[0]<f;t.useStyle(n.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var r=e.getVisual("style"),s=r&&r.fill;s&&t.setColor(s);var c=Object(h["a"])(t);c.seriesIndex=n.seriesIndex,t.on("mousemove",(function(e){c.dataIndex=null;var a=t.hoverDataIdx;a>=0&&(c.dataIndex=a+(t.startIndex||0))}))},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),v=A,b=a("87c3"),T=a("e887"),y=function(t){function e(){var a=null!==t&&t.apply(this,arguments)||this;return a.type=e.type,a}return Object(i["a"])(e,t),e.prototype.render=function(t,e,a){var n=t.getData(),i=this._updateSymbolDraw(n,t);i.updateData(n,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,a){var n=t.getData(),i=this._updateSymbolDraw(n,t);i.incrementalPrepareUpdate(n),this._finished=!1},e.prototype.incrementalRender=function(t,e,a){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},e.prototype.updateTransform=function(t,e,a){var n=t.getData();if(this.group.dirty(),!this._finished||n.count()>1e4)return{update:!0};var i=Object(b["a"])("").reset(t,e,a);i.progress&&i.progress({start:0,end:n.count(),count:n.count()},n),this._symbolDraw.updateLayout(n)},e.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},e.prototype._getClipShape=function(t){var e=t.coordinateSystem,a=e&&e.getArea&&e.getArea();return t.get("clip",!0)?a:null},e.prototype._updateSymbolDraw=function(t,e){var a=this._symbolDraw,n=e.pipelineContext,i=n.large;return a&&i===this._isLargeDraw||(a&&a.remove(),a=this._symbolDraw=i?new v:new l["a"],this._isLargeDraw=i,this.group.removeAll()),this.group.add(a.group),a},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(T["a"]),E=y,S=a("8702");function O(t){Object(n["a"])(S["a"]),t.registerSeriesModel(c),t.registerChartView(E),t.registerLayout(Object(b["a"])("scatter"))}},ad75:function(t,e,a){"use strict";a("dd0d")},b74a:function(t,e,a){"use strict";a("2b63")},b863:function(t,e,a){"use strict";a.d(e,"o",(function(){return o})),a.d(e,"p",(function(){return r})),a.d(e,"b",(function(){return s})),a.d(e,"j",(function(){return c})),a.d(e,"E",(function(){return l})),a.d(e,"i",(function(){return d})),a.d(e,"d",(function(){return u})),a.d(e,"t",(function(){return p})),a.d(e,"h",(function(){return _})),a.d(e,"c",(function(){return h})),a.d(e,"D",(function(){return f})),a.d(e,"g",(function(){return m})),a.d(e,"q",(function(){return g})),a.d(e,"u",(function(){return A})),a.d(e,"a",(function(){return v})),a.d(e,"l",(function(){return b})),a.d(e,"s",(function(){return T})),a.d(e,"f",(function(){return y})),a.d(e,"e",(function(){return E})),a.d(e,"w",(function(){return S})),a.d(e,"y",(function(){return O})),a.d(e,"B",(function(){return I})),a.d(e,"x",(function(){return M})),a.d(e,"v",(function(){return C})),a.d(e,"A",(function(){return k})),a.d(e,"m",(function(){return N})),a.d(e,"z",(function(){return x})),a.d(e,"C",(function(){return R})),a.d(e,"k",(function(){return D})),a.d(e,"n",(function(){return w})),a.d(e,"r",(function(){return P}));var n=a("5530"),i=(a("99af"),a("7f80")),o=function(t){return t.shopId?Object(i["e"])("/ad-pop/campaign?dasCurrentShop=".concat(t.shopId),t):Object(i["e"])("/ad-pop/campaign",t)},r=function(t){return t?Object(i["e"])("/ad-recommendation-subscription?dasCurrentShop=".concat(t)):Object(i["e"])("/ad-recommendation-subscription")},s=function(t,e){return e?Object(i["f"])("/ad-recommendation-subscription?dasCurrentShop=".concat(e),t):Object(i["f"])("/ad-recommendation-subscription",t)},c=function(t){return Object(i["e"])("/cpc/recommendation/setting",t)},l=function(t){return Object(i["g"])("/cpc/recommendation/setting",t)},d=function(t){return Object(i["e"])("/ad-recommendation-subscription/list",t)},u=function(t){return t.shopId?Object(i["d"])("/ad-recommendation-subscription?dasCurrentShop=".concat(t.shopId),t):Object(i["d"])("/ad-recommendation-subscription",t)},p=function(){return Object(i["g"])("/ad-recommendation-subscription/open")},_=function(t){return Object(i["e"])("/ad-recommendation-subscription/status",t)},h=function(){return Object(i["g"])("/ad-recommendation-subscription/close")},f=function(t,e){return e?Object(i["g"])("/ad-recommendation-subscription?dasCurrentShop=".concat(e),t):Object(i["g"])("/ad-recommendation-subscription",t)},m=function(t){return Object(i["e"])("/cpc/recommendation/count?version=1.0",t)},g=function(t){return Object(i["e"])("/cpc/recommendation/list",t)},A=function(t){return Object(i["g"])("/cpc/recommendation/read",t)},v=function(t){return t.shopId?Object(i["f"])("/cpc/recommendation/accept?type=".concat(t.type,"&dasCurrentShop=").concat(t.shopId),t.items):Object(i["f"])("/cpc/recommendation/accept?type=".concat(t.type),t.items)},b=function(t){return Object(i["e"])("/cpc/recommendation/campaignRecommendationCount",t)},T=function(t){var e=Object(n["a"])({},t);return delete e.campaignId,delete e.pageSize,delete e.currentPage,Object(i["e"])("/cpc/manage/campaignManage/".concat(t.campaignId),e)},y=function(t){return Object(i["e"])("/cpc/recommendation/accept/list",t)},E=function(t,e){return e?Object(i["c"])("/cpc/recommendation/".concat(t,"?dasCurrentShop=").concat(e)):Object(i["c"])("/cpc/recommendation/".concat(t))},S=function(t){return Object(i["e"])("/cpc/recommendation/acceptCampaign",t)},O=function(t){return Object(i["e"])("/cpc/recommendation/acceptGroup",t)},I=function(t){return Object(i["e"])("/cpc/recommendation/skuSameCount",t)},M=function(t,e){return Object(i["f"])("/cpc/recommendation/accept/check?type=".concat(e),t)},C=function(t,e,a){return a?Object(i["f"])("/cpc/recommendation/accept?type=".concat(e,"&dasCurrentShop=").concat(a),t):Object(i["f"])("/cpc/recommendation/accept?type=".concat(e),t)},k=function(t){return Object(i["g"])("/cpc/recommendation/read",t)},N=function(t,e){return e?Object(i["f"])("/cpc/recommendation/keyword/bid-recommendation?dasCurrentShop=".concat(e),t):Object(i["f"])("/cpc/recommendation/keyword/bid-recommendation",t)},x=function(t,e,a){return Object(i["f"])("/cpc/recommendation/keyword/create?campaignId=".concat(a,"&groupId=").concat(e),t)},R=function(t,e,a){return Object(i["f"])("/cpc/recommendation/target/create?campaignId=".concat(a,"&groupId=").concat(e),t)},D=function(t,e){return e?Object(i["f"])("/cpc/recommendation/asin/bid-recommendation?dasCurrentShop=".concat(e),t):Object(i["f"])("/cpc/recommendation/asin/bid-recommendation",t)},w=function(t){return Object(i["e"])("/cpc/recommendation/marketplace/count",t)},P=function(){return Object(i["e"])("/cpc/recommendation/lastUpdateTime")}},bb87:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-chart",{key:t.echartKey,ref:"line",style:"height:"+t.height+"px",attrs:{autoresize:"",option:t.options,theme:"theme-color","auto-resize":""},on:{click:function(e){return t.$emit("click",e)},datazoom:function(e){return t.$emit("datazoom",e)}}})},i=[],o=a("5530"),r=(a("a9e3"),a("d81d"),a("4fad"),a("4de4"),a("d3b7"),a("7db0"),a("b0c0"),a("159b"),a("e9c4"),a("99af"),a("22b4")),s=a("1be7"),c=a("acf6"),l=a("36205"),d=a("4cb5"),u=a("f95e"),p=a("9394"),_=a("2da7"),h=a("104d4"),f=a("ff32"),m=a("4b2a"),g=a("abd2"),A=a("a0c6"),v=a("3094"),b=a("5c7f"),T=a("366f");Object(r["a"])([u["a"],c["a"],l["a"],d["a"],p["a"],_["a"],h["a"],f["a"],m["a"],g["a"],A["a"],v["a"]]),Object(s["m"])("theme-color",T);var y={name:"AppEchartLineCustom",components:{VChart:b["a"]},props:{noCenterLine:{type:Boolean,default:!1},height:{type:Number,default:430},optionData:{type:Object,default:null},extraSeries:{type:Object,default:function(){return{}}}},watch:{optionData:{deep:!0,immediate:!0,handler:function(t){var e,a,n,i,r,s,c,l,d,u,p,_,h=this;try{this.$nextTick((function(){var t;null===(t=h.$refs.line)||void 0===t||t.chart.clear()}))}catch(S){console.warn(S)}var f=(null===(e=this.optionData)||void 0===e||null===(a=e.series)||void 0===a?void 0:a.map((function(t){return Object(o["a"])(Object(o["a"])({showSymbol:!0,symbol:"circle"},t),h.extraSeries)})))||[];this.noCenterLine||1!==f.length||(f[0]["markLine"]={data:[{type:"average",name:"average"}],symbol:["none","none"],position:"insideTopCenter",itemStyle:{normal:{lineStyle:{type:"dashed",color:"#333"},label:{show:!0,position:"insideEndTop"}}},large:!0});var m=Object(o["a"])(Object(o["a"])(Object(o["a"])({},this.options.legend),this.optionData.legend),{},{data:(null===(n=this.optionData)||void 0===n||null===(i=n.legend)||void 0===i||null===(r=i.data)||void 0===r?void 0:r.map((function(t){return{name:t,icon:"circle",textStyle:{padding:[0,24,0,0]}}})))||[]});m.diy&&(m=this.optionData.legend);var g=this.optionData.yAxis instanceof Array?this.optionData.yAxis:Object(o["a"])({type:"value",splitLine:{show:!1},axisLabel:{textStyle:{fontFamily:"PingFangSC-Regular,PingFang SC,-apple-system,Microsoft YaHei,Hiragino Sans GB,Helvetica Neue,Helvetica,Arial,sans-serif;"}}},this.optionData.yAxis),A=Object(o["a"])(Object(o["a"])({},this.options.title),null===(s=this.optionData)||void 0===s?void 0:s.title),v=Object(o["a"])(Object(o["a"])({},this.options.tooltip),null===(c=this.optionData)||void 0===c?void 0:c.tooltip),b=Object(o["a"])(Object(o["a"])({},this.options.xAxis),null===(l=this.optionData)||void 0===l?void 0:l.xAxis),T=Object(o["a"])(Object(o["a"])({},this.options.grid),null===(d=this.optionData)||void 0===d?void 0:d.grid),y=Object(o["a"])(Object(o["a"])({},this.options.toolbox),null===(u=this.optionData)||void 0===u?void 0:u.toolbox),E=(null===(p=this.optionData)||void 0===p?void 0:p.color)||this.options.color||[];this.options=Object(o["a"])(Object(o["a"])({},this.options),{},{series:f,legend:m,yAxis:g,grid:T,tooltip:v,title:A,xAxis:b,toolbox:y,color:E}),this.optionData.dataZoom&&(this.options.dataZoom=this.optionData.dataZoom),this.echartKey=Math.random(),!this.noCenterLine&&(null===(_=this.options)||void 0===_?void 0:_.series.length)>1&&this.$nextTick((function(){h.$refs.line.chart.off(),h.$refs.line.chart.on("click","series",(function(t){h.$emit("click",t)})),h.$refs.line.chart.on("datazoom",(function(t){h.$emit("datazoom",t)})),h.$refs.line.chart.on("legendselectchanged",(function(t){h.$emit("legendselectchanged",t);var e=Object.entries(t.selected),a=e.filter((function(t){return t[1]}));if(1===a.length){var n,i=null===(n=h.options)||void 0===n?void 0:n.series.find((function(t){return t.name==a[0][0]}));i.markLine={data:[{type:"average",name:"average"}],symbol:["none","none"],position:"insideTopCenter",itemStyle:{normal:{lineStyle:{type:"dashed",color:"#333"},label:{show:!0,position:"insideEndTop"}}},large:!0}}else{var o;null===(o=h.options)||void 0===o||o.series.forEach((function(t){t.markLine&&(t.markLine.data=[])}))}try{h.options.legend.selected=JSON.parse(JSON.stringify(t.selected)),h.$nextTick((function(){h.$refs.line.chart.setOption(h.options)}))}catch(S){console.warn(S)}}))}))}}},data:function(){var t=this;return{echartKey:"echartKey",initOptions:{renderer:"canvas"},options:{title:{padding:[0,0,10,0],textStyle:{color:"#5E5873",fontSize:18,fontWeight:400}},grid:{x:"5.5%",width:"89%",top:"90px"},tooltip:{trigger:"axis",textStyle:{color:"#6E6B7B"},backgroundColor:"#fff",padding:0,extraCssText:"box-shadow:0 0 18px #EBE9F1",formatter:function(e){var a=e.reduce((function(e,a){return e+"<div class='tooltip-item'>".concat(a.marker,"<span class='tooltip-item_label'>").concat(a.seriesName," : </span>").concat(t.$options.filters["thousand"](a.value)||"--","</div>")}),"");return"<div class='AppEchartLineCustom-tooltip-wrapper'>\n            <div class='tooltip-title'>".concat(e[0].axisValue,"</div>\n            <div class='line'></div>\n            <div class='tooltip-content'>").concat(a,"</div>\n            </div>")}},xAxis:{boundaryGap:!1,axisLabel:{textStyle:{fontFamily:"PingFangSC-Regular,PingFang SC,-apple-system,Microsoft YaHei,Hiragino Sans GB,Helvetica Neue,Helvetica,Arial,sans-serif;"}},data:[]},yAxis:[],legend:{top:30,left:0,data:[],textStyle:{fontFamily:"PingFangSC-Regular,PingFang SC,-apple-system,Microsoft YaHei,Hiragino Sans GB,Helvetica Neue,Helvetica,Arial,sans-serif;"}},series:[]}}},mounted:function(){this.optionData.tooltip&&(this.options.tooltip=Object(o["a"])(Object(o["a"])({},this.options.tooltip),this.optionData.tooltip))}},E=y,S=(a("823f"),a("2877")),O=Object(S["a"])(E,n,i,!1,null,null,null);e["a"]=O.exports},bd9e:function(t,e,a){"use strict";var n=a("6d8b"),i=a("2306"),o=a("f4a2"),r=a("e0d3"),s=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],c=function(){function t(t,e,a){var i=this;this._targetInfoList=[];var o=d(e,t);Object(n["k"])(u,(function(t,e){(!a||!a.include||Object(n["r"])(a.include,e)>=0)&&t(o,i._targetInfoList)}))}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,(function(t,e,a){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var n=h[t.brushType](0,a,e);t.__rangeOffset={offset:m[t.brushType](n.values,t.range,[1,1]),xyMinMax:n.xyMinMax}}})),t},t.prototype.matchOutputRanges=function(t,e,a){Object(n["k"])(t,(function(t){var i=this.findTargetInfo(t,e);i&&!0!==i&&Object(n["k"])(i.coordSyses,(function(n){var i=h[t.brushType](1,n,t.range,!0);a(t,i.values,n,e)}))}),this)},t.prototype.setInputRanges=function(t,e){Object(n["k"])(t,(function(t){var a=this.findTargetInfo(t,e);if(t.range=t.range||[],a&&!0!==a){t.panelId=a.panelId;var n=h[t.brushType](0,a.coordSys,t.coordRange),i=t.__rangeOffset;t.range=i?m[t.brushType](n.values,i.offset,A(n.xyMinMax,i.xyMinMax)):n.values}}),this)},t.prototype.makePanelOpts=function(t,e){return Object(n["H"])(this._targetInfoList,(function(a){var n=a.getPanelRect();return{panelId:a.panelId,defaultBrushType:e?e(a):null,clipPath:o["c"](n),isTargetByCursor:o["b"](n,t,a.coordSysModel),getLinearBrushOtherExtent:o["a"](n)}}))},t.prototype.controlSeries=function(t,e,a){var i=this.findTargetInfo(t,a);return!0===i||i&&Object(n["r"])(i.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var a=this._targetInfoList,n=d(e,t),i=0;i<a.length;i++){var o=a[i],r=t.panelId;if(r){if(o.panelId===r)return o}else for(var s=0;s<p.length;s++)if(p[s](n,o))return o}return!0},t}();function l(t){return t[0]>t[1]&&t.reverse(),t}function d(t,e){return Object(r["s"])(t,e,{includeMainTypes:s})}var u={grid:function(t,e){var a=t.xAxisModels,i=t.yAxisModels,o=t.gridModels,r=Object(n["f"])(),s={},c={};(a||i||o)&&(Object(n["k"])(a,(function(t){var e=t.axis.grid.model;r.set(e.id,e),s[e.id]=!0})),Object(n["k"])(i,(function(t){var e=t.axis.grid.model;r.set(e.id,e),c[e.id]=!0})),Object(n["k"])(o,(function(t){r.set(t.id,t),s[t.id]=!0,c[t.id]=!0})),r.each((function(t){var o=t.coordinateSystem,r=[];Object(n["k"])(o.getCartesians(),(function(t,e){(Object(n["r"])(a,t.getAxis("x").model)>=0||Object(n["r"])(i,t.getAxis("y").model)>=0)&&r.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:r[0],coordSyses:r,getPanelRect:_.grid,xAxisDeclared:s[t.id],yAxisDeclared:c[t.id]})})))},geo:function(t,e){Object(n["k"])(t.geoModels,(function(t){var a=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:a,coordSyses:[a],getPanelRect:_.geo})}))}},p=[function(t,e){var a=t.xAxisModel,n=t.yAxisModel,i=t.gridModel;return!i&&a&&(i=a.axis.grid.model),!i&&n&&(i=n.axis.grid.model),i&&i===e.gridModel},function(t,e){var a=t.geoModel;return a&&a===e.geoModel}],_={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(i["getTransform"](t)),e}},h={lineX:Object(n["h"])(f,0),lineY:Object(n["h"])(f,1),rect:function(t,e,a,n){var i=t?e.pointToData([a[0][0],a[1][0]],n):e.dataToPoint([a[0][0],a[1][0]],n),o=t?e.pointToData([a[0][1],a[1][1]],n):e.dataToPoint([a[0][1],a[1][1]],n),r=[l([i[0],o[0]]),l([i[1],o[1]])];return{values:r,xyMinMax:r}},polygon:function(t,e,a,i){var o=[[1/0,-1/0],[1/0,-1/0]],r=Object(n["H"])(a,(function(a){var n=t?e.pointToData(a,i):e.dataToPoint(a,i);return o[0][0]=Math.min(o[0][0],n[0]),o[1][0]=Math.min(o[1][0],n[1]),o[0][1]=Math.max(o[0][1],n[0]),o[1][1]=Math.max(o[1][1],n[1]),n}));return{values:r,xyMinMax:o}}};function f(t,e,a,i){var o=a.getAxis(["x","y"][t]),r=l(Object(n["H"])([0,1],(function(t){return e?o.coordToData(o.toLocalCoord(i[t]),!0):o.toGlobalCoord(o.dataToCoord(i[t]))}))),s=[];return s[t]=r,s[1-t]=[NaN,NaN],{values:r,xyMinMax:s}}var m={lineX:Object(n["h"])(g,0),lineY:Object(n["h"])(g,1),rect:function(t,e,a){return[[t[0][0]-a[0]*e[0][0],t[0][1]-a[0]*e[0][1]],[t[1][0]-a[1]*e[1][0],t[1][1]-a[1]*e[1][1]]]},polygon:function(t,e,a){return Object(n["H"])(t,(function(t,n){return[t[0]-a[0]*e[n][0],t[1]-a[1]*e[n][1]]}))}};function g(t,e,a,n){return[e[0]-n[t]*a[0],e[1]-n[t]*a[1]]}function A(t,e){var a=v(t),n=v(e),i=[a[0]/n[0],a[1]/n[1]];return isNaN(i[0])&&(i[0]=1),isNaN(i[1])&&(i[1]=1),i}function v(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}e["a"]=c},c12b:function(t,e,a){"use strict";a("dbb8")},c526:function(t,e,a){"use strict";a.d(e,"a",(function(){return i}));var n={axisPointer:1,tooltip:1,brush:1};function i(t,e,a){var i=e.getComponentByElement(t.topTarget),o=i&&i.coordinateSystem;return i&&i!==a&&!n.hasOwnProperty(i.mainType)&&o&&o.model!==a}},d771:function(t,e,a){"use strict";a.d(e,"a",(function(){return i})),a.d(e,"f",(function(){return o})),a.d(e,"c",(function(){return r})),a.d(e,"g",(function(){return s})),a.d(e,"k",(function(){return c})),a.d(e,"l",(function(){return l})),a.d(e,"j",(function(){return d})),a.d(e,"h",(function(){return u})),a.d(e,"i",(function(){return p})),a.d(e,"b",(function(){return _})),a.d(e,"d",(function(){return h})),a.d(e,"e",(function(){return f})),a.d(e,"m",(function(){return m})),a.d(e,"n",(function(){return g}));a("99af");var n=a("7f80"),i=function(t){return Object(n["f"])("/db/keywords/create",t)},o=function(t){return Object(n["e"])("/db/keywords/collection",t)},r=function(t){return Object(n["d"])("/db/delete",t)},s=function(t){return Object(n["e"])("/db/keywords",t)},c=function(t,e){return Object(n["e"])("/asin/search-terms/natural/s",{marketplaceId:t,asin:e})},l=function(t){return Object(n["e"])("/asin/search-terms/natural/s",t)},d=function(t){return Object(n["e"])("/asin/search-terms/natural/c",t)},u=function(t){return Object(n["e"])("/db/keywords/list",t)},p=function(t){var e=t.marketplaceId,a=t.asin,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(n["f"])("/asin/search-terms/natural/c?marketplaceId=".concat(e,"&asin=").concat(a),i)},_=function(t){var e=t.marketplaceId,a=t.asin;return Object(n["f"])("/asin/search-terms/ai-extractor?marketplaceId=".concat(e,"&asin=").concat(a))},h=function(t){return Object(n["d"])("/db/keywords/delete",t)},f=function(t){return Object(n["f"])("/db/keywords/add",t)},m=function(t){return Object(n["e"])("/keyword/extraction",t)},g=function(t){return Object(n["g"])("/db/keywords/update",t)}},d891:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"adProductCompareWrap das-table-margin_bottom"},[a("common-table",{ref:"commonTableCompareEle1",attrs:{tableId:"ppc_optimize_ad_advice_keyword_detail_pop_compare_table_1",border:"",tableData:t.matchItem.list,options:t.tableOptions},scopedSlots:t._u([{key:"head(product)",fn:function(e){return[t._v(" "+t._s(t.matchItem.name)+" ")]}}])}),t.targetItem.name?a("common-table",{ref:"commonTableCompareEle2",attrs:{tableId:"ppc_optimize_ad_advice_keyword_detail_pop_compare_table_2",border:"",tableData:t.targetItem.list,options:t.tableOptions},scopedSlots:t._u([{key:"head(product)",fn:function(){return[t._v(" "+t._s(t.targetItem.name)+" ")]},proxy:!0}],null,!1,482587263)}):t._e()],1)},i=[],o=(a("d3b7"),a("159b"),a("0823")),r={name:"adProductCompare",data:function(){return{sameArrays:[]}},props:{matchItem:{type:Object,default:function(){return{name:"",list:[]}}},targetItem:{type:Object,default:function(){return{name:"",list:[]}}}},components:{commonTable:o["a"]},computed:{tableOptions:function(){return{hasPageSizeOptions:!1,tbodyTrClass:this.rowClass,stickyHeader:!0,noDownload:!0,height:"402px",fields:[{key:"product",headerPosition:"left",type:"productInfo",keyMap:{},noGo:!0,label:this.$t("_ADVERTISEMENT_CAMPAIGN_MANAGER_THIRD_PRO"),width:500}]}}},methods:{rowClass:function(t){return t&&t.isSame?"sameColor":""},initSameKey:function(){var t=this,e=[];try{if(this.matchItem.list.length>this.targetItem.list.length)var a=this.matchItem.list,n=this.targetItem.list;else a=this.targetItem.list,n=this.matchItem.list;a.forEach((function(a){n.forEach((function(n){n.asin===a.asin&&(t.$set(n,"isSame",1),t.$set(a,"isSame",1),e.push(a.asin))}))}))}catch(i){console.warn(i)}this.$emit("sameArrays",e)}},mounted:function(){this.initSameKey()}},s=r,c=(a("1076"),a("2877")),l=Object(c["a"])(s,n,i,!1,null,null,null);e["a"]=l.exports},dbb8:function(t,e,a){},dd0d:function(t,e,a){},e1ff:function(t,e,a){"use strict";a.d(e,"a",(function(){return N}));var n=a("7fae"),i=a("3a56"),o=a("8918"),r=function(t){function e(){var a=null!==t&&t.apply(this,arguments)||this;return a.type=e.type,a}return Object(n["a"])(e,t),e.type="dataZoom.inside",e.defaultOption=Object(o["d"])(i["a"].defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(i["a"]),s=r,c=a("7dcf"),l=a("ef6a"),d=a("4a01"),u=a("88b3"),p=a("e0d3"),_=a("6d8b"),h=a("50e5"),f=Object(p["o"])();function m(t,e,a){f(t).coordSysRecordMap.each((function(t){var n=t.dataZoomInfoMap.get(e.uid);n&&(n.getRange=a)}))}function g(t,e){for(var a=f(t).coordSysRecordMap,n=a.keys(),i=0;i<n.length;i++){var o=n[i],r=a.get(o),s=r.dataZoomInfoMap;if(s){var c=e.uid,l=s.get(c);l&&(s.removeKey(c),s.keys().length||A(a,r))}}}function A(t,e){if(e){t.removeKey(e.model.uid);var a=e.controller;a&&a.dispose()}}function v(t,e){var a={model:e,containsPoint:Object(_["h"])(T,e),dispatchAction:Object(_["h"])(b,t),dataZoomInfoMap:null,controller:null},n=a.controller=new d["a"](t.getZr());return Object(_["k"])(["pan","zoom","scrollMove"],(function(t){n.on(t,(function(e){var n=[];a.dataZoomInfoMap.each((function(i){if(e.isAvailableBehavior(i.model.option)){var o=(i.getRange||{})[t],r=o&&o(i.dzReferCoordSysInfo,a.model.mainType,a.controller,e);!i.model.get("disabled",!0)&&r&&n.push({dataZoomId:i.model.id,start:r[0],end:r[1]})}})),n.length&&a.dispatchAction(n)}))})),a}function b(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function T(t,e,a,n){return t.coordinateSystem.containPoint([a,n])}function y(t){var e,a="type_",n={type_true:2,type_move:1,type_false:0,type_undefined:-1},i=!0;return t.each((function(t){var o=t.model,r=!o.get("disabled",!0)&&(!o.get("zoomLock",!0)||"move");n[a+r]>n[a+e]&&(e=r),i=i&&o.get("preventDefaultMouseMove",!0)})),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!i}}}function E(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,(function(t,e){var a=f(e),n=a.coordSysRecordMap||(a.coordSysRecordMap=Object(_["f"])());n.each((function(t){t.dataZoomInfoMap=null})),t.eachComponent({mainType:"dataZoom",subType:"inside"},(function(t){var a=Object(h["b"])(t);Object(_["k"])(a.infoList,(function(a){var i=a.model.uid,o=n.get(i)||n.set(i,v(e,a.model)),r=o.dataZoomInfoMap||(o.dataZoomInfoMap=Object(_["f"])());r.set(t.uid,{dzReferCoordSysInfo:a,model:t,getRange:null})}))})),n.each((function(t){var e,a=t.controller,i=t.dataZoomInfoMap;if(i){var o=i.keys()[0];null!=o&&(e=i.get(o))}if(e){var r=y(i);a.enable(r.controlType,r.opt),a.setPointerChecker(t.containsPoint),u["b"](t,"dispatchAction",e.model.get("throttle",!0),"fixRate")}else A(n,t)}))}))}var S=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return Object(n["a"])(e,t),e.prototype.render=function(e,a,n){t.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),m(n,e,{pan:Object(_["c"])(O.pan,this),zoom:Object(_["c"])(O.zoom,this),scrollMove:Object(_["c"])(O.scrollMove,this)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){g(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(c["a"]),O={zoom:function(t,e,a,n){var i=this.range,o=i.slice(),r=t.axisModels[0];if(r){var s=M[e](null,[n.originX,n.originY],r,a,t),c=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],d=Math.max(1/n.scale,0);o[0]=(o[0]-c)*d+c,o[1]=(o[1]-c)*d+c;var u=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return Object(l["a"])(0,o,[0,100],0,u.minSpan,u.maxSpan),this.range=o,i[0]!==o[0]||i[1]!==o[1]?o:void 0}},pan:I((function(t,e,a,n,i,o){var r=M[n]([o.oldX,o.oldY],[o.newX,o.newY],e,i,a);return r.signal*(t[1]-t[0])*r.pixel/r.pixelLength})),scrollMove:I((function(t,e,a,n,i,o){var r=M[n]([0,0],[o.scrollDelta,o.scrollDelta],e,i,a);return r.signal*(t[1]-t[0])*o.scrollDelta}))};function I(t){return function(e,a,n,i){var o=this.range,r=o.slice(),s=e.axisModels[0];if(s){var c=t(r,s,e,a,n,i);return Object(l["a"])(c,r,[0,100],"all"),this.range=r,o[0]!==r[0]||o[1]!==r[1]?r:void 0}}}var M={grid:function(t,e,a,n,i){var o=a.axis,r={},s=i.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(r.pixel=e[0]-t[0],r.pixelLength=s.width,r.pixelStart=s.x,r.signal=o.inverse?1:-1):(r.pixel=e[1]-t[1],r.pixelLength=s.height,r.pixelStart=s.y,r.signal=o.inverse?-1:1),r},polar:function(t,e,a,n,i){var o=a.axis,r={},s=i.model.coordinateSystem,c=s.getRadiusAxis().getExtent(),l=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===a.mainType?(r.pixel=e[0]-t[0],r.pixelLength=c[1]-c[0],r.pixelStart=c[0],r.signal=o.inverse?1:-1):(r.pixel=e[1]-t[1],r.pixelLength=l[1]-l[0],r.pixelStart=l[0],r.signal=o.inverse?-1:1),r},singleAxis:function(t,e,a,n,i){var o=a.axis,r=i.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=r.width,s.pixelStart=r.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=r.height,s.pixelStart=r.y,s.signal=o.inverse?-1:1),s}},C=S,k=a("1459");function N(t){Object(k["a"])(t),t.registerComponentModel(s),t.registerComponentView(C),E(t)}},e2a7:function(t,e,a){},f4a2:function(t,e,a){"use strict";a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return s})),a.d(e,"b",(function(){return c}));var n=a("9850"),i=a("c526"),o=a("2306");function r(t){return t=l(t),function(e){return o["clipPointsByRect"](e,t)}}function s(t,e){return t=l(t),function(a){var n=null!=e?e:a,i=n?t.width:t.height,o=n?t.x:t.y;return[o,o+(i||0)]}}function c(t,e,a){var n=l(t);return function(t,o){return n.contain(o[0],o[1])&&!Object(i["a"])(t,e,a)}}function l(t){return n["a"].create(t)}},fc82:function(t,e,a){"use strict";var n=a("7fae"),i=a("6d8b"),o=a("6fd3"),r=a("2dc5"),s=a("c7a2"),c=a("2306"),l=a("d498"),d=a("87b1"),u=a("a4fe"),p=a("80f0"),_=!0,h=Math.min,f=Math.max,m=Math.pow,g=1e4,A=6,v=6,b="globalPan",T={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},y={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},E={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},S=0,O=function(t){function e(e){var a=t.call(this)||this;return a._track=[],a._covers=[],a._handlers={},a._zr=e,a.group=new r["a"],a._uid="brushController_"+S++,Object(i["k"])(nt,(function(t,e){this._handlers[e]=Object(i["c"])(t,this)}),a),a}return Object(n["a"])(e,t),e.prototype.enableBrush=function(t){return this._brushType&&this._doDisableBrush(),t.brushType&&this._doEnableBrush(t),this},e.prototype._doEnableBrush=function(t){var e=this._zr;this._enableGlobalPan||u["c"](e,b,this._uid),Object(i["k"])(this._handlers,(function(t,a){e.on(a,t)})),this._brushType=t.brushType,this._brushOption=Object(i["I"])(Object(i["d"])(E),t,!0)},e.prototype._doDisableBrush=function(){var t=this._zr;u["b"](t,b,this._uid),Object(i["k"])(this._handlers,(function(e,a){t.off(a,e)})),this._brushType=this._brushOption=null},e.prototype.setPanels=function(t){if(t&&t.length){var e=this._panels={};Object(i["k"])(t,(function(t){e[t.panelId]=Object(i["d"])(t)}))}else this._panels=null;return this},e.prototype.mount=function(t){t=t||{},this._enableGlobalPan=t.enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({x:t.x||0,y:t.y||0,rotation:t.rotation||0,scaleX:t.scaleX||1,scaleY:t.scaleY||1}),this._transform=e.getLocalTransform(),this},e.prototype.updateCovers=function(t){t=Object(i["H"])(t,(function(t){return Object(i["I"])(Object(i["d"])(E),t,!0)}));var e="\0-brush-index-",a=this._covers,n=this._covers=[],o=this,r=this._creatingCover;return new p["a"](a,t,c,s).add(l).update(l).remove(d).execute(),this;function s(t,a){return(null!=t.id?t.id:e+a)+"-"+t.brushType}function c(t,e){return s(t.__brushOption,e)}function l(e,i){var s=t[e];if(null!=i&&a[i]===r)n[e]=a[i];else{var c=n[e]=null!=i?(a[i].__brushOption=s,a[i]):M(o,I(o,s));N(o,c)}}function d(t){a[t]!==r&&o.group.remove(a[t])}},e.prototype.unmount=function(){return this.enableBrush(!1),w(this),this._zr.remove(this.group),this},e.prototype.dispose=function(){this.unmount(),this.off()},e}(o["a"]);function I(t,e){var a=rt[e.brushType].createCover(t,e);return a.__brushOption=e,k(a,e),t.group.add(a),a}function M(t,e){var a=x(e);return a.endCreating&&(a.endCreating(t,e),k(e,e.__brushOption)),e}function C(t,e){var a=e.__brushOption;x(e).updateCoverShape(t,e,a.range,a)}function k(t,e){var a=e.z;null==a&&(a=g),t.traverse((function(t){t.z=a,t.z2=a}))}function N(t,e){x(e).updateCommon(t,e),C(t,e)}function x(t){return rt[t.__brushOption.brushType]}function R(t,e,a){var n,o=t._panels;if(!o)return _;var r=t._transform;return Object(i["k"])(o,(function(t){t.isTargetByCursor(e,a,r)&&(n=t)})),n}function D(t,e){var a=t._panels;if(!a)return _;var n=e.__brushOption.panelId;return null!=n?a[n]:_}function w(t){var e=t._covers,a=e.length;return Object(i["k"])(e,(function(e){t.group.remove(e)}),t),e.length=0,!!a}function P(t,e){var a=Object(i["H"])(t._covers,(function(t){var e=t.__brushOption,a=Object(i["d"])(e.range);return{brushType:e.brushType,panelId:e.panelId,range:a}}));t.trigger("brush",{areas:a,isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function L(t){var e=t._track;if(!e.length)return!1;var a=e[e.length-1],n=e[0],i=a[0]-n[0],o=a[1]-n[1],r=m(i*i+o*o,.5);return r>A}function j(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function G(t,e,a,n){var o=new r["a"];return o.add(new s["a"]({name:"main",style:H(a),silent:!0,draggable:!0,cursor:"move",drift:Object(i["h"])(Z,t,e,o,["n","s","w","e"]),ondragend:Object(i["h"])(P,e,{isEnd:!0})})),Object(i["k"])(n,(function(a){o.add(new s["a"]({name:a.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:Object(i["h"])(Z,t,e,o,a),ondragend:Object(i["h"])(P,e,{isEnd:!0})}))})),o}function V(t,e,a,n){var i=n.brushStyle.lineWidth||0,o=f(i,v),r=a[0][0],s=a[1][0],c=r-i/2,l=s-i/2,d=a[0][1],u=a[1][1],p=d-o+i/2,_=u-o+i/2,h=d-r,m=u-s,g=h+i,A=m+i;U(t,e,"main",r,s,h,m),n.transformable&&(U(t,e,"w",c,l,o,A),U(t,e,"e",p,l,o,A),U(t,e,"n",c,l,g,o),U(t,e,"s",c,_,g,o),U(t,e,"nw",c,l,o,o),U(t,e,"ne",p,l,o,o),U(t,e,"sw",c,_,o,o),U(t,e,"se",p,_,o,o))}function B(t,e){var a=e.__brushOption,n=a.transformable,o=e.childAt(0);o.useStyle(H(a)),o.attr({silent:!n,cursor:n?"move":"default"}),Object(i["k"])([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],(function(a){var i=e.childOfName(a.join("")),o=1===a.length?Y(t,a[0]):F(t,a);i&&i.attr({silent:!n,invisible:!n,cursor:n?y[o]+"-resize":null})}))}function U(t,e,a,n,i,o,r){var s=e.childOfName(a);s&&s.setShape(J(X(t,e,[[n,i],[n+o,i+r]])))}function H(t){return Object(i["i"])({strokeNoScale:!0},t.brushStyle)}function $(t,e,a,n){var i=[h(t,a),h(e,n)],o=[f(t,a),f(e,n)];return[[i[0],o[0]],[i[1],o[1]]]}function z(t){return c["getTransform"](t.group)}function Y(t,e){var a={w:"left",e:"right",n:"top",s:"bottom"},n={left:"w",right:"e",top:"n",bottom:"s"},i=c["transformDirection"](a[e],z(t));return n[i]}function F(t,e){var a=[Y(t,e[0]),Y(t,e[1])];return("e"===a[0]||"w"===a[0])&&a.reverse(),a.join("")}function Z(t,e,a,n,o,r){var s=a.__brushOption,c=t.toRectRange(s.range),l=K(e,o,r);Object(i["k"])(n,(function(t){var e=T[t];c[e[0]][e[1]]+=l[e[0]]})),s.range=t.fromRectRange($(c[0][0],c[1][0],c[0][1],c[1][1])),N(e,a),P(e,{isEnd:!1})}function W(t,e,a,n){var o=e.__brushOption.range,r=K(t,a,n);Object(i["k"])(o,(function(t){t[0]+=r[0],t[1]+=r[1]})),N(t,e),P(t,{isEnd:!1})}function K(t,e,a){var n=t.group,i=n.transformCoordToLocal(e,a),o=n.transformCoordToLocal(0,0);return[i[0]-o[0],i[1]-o[1]]}function X(t,e,a){var n=D(t,e);return n&&n!==_?n.clipPath(a,t._transform):Object(i["d"])(a)}function J(t){var e=h(t[0][0],t[1][0]),a=h(t[0][1],t[1][1]),n=f(t[0][0],t[1][0]),i=f(t[0][1],t[1][1]);return{x:e,y:a,width:n-e,height:i-a}}function q(t,e,a){if(t._brushType&&!ot(t,e.offsetX,e.offsetY)){var n=t._zr,i=t._covers,o=R(t,e,a);if(!t._dragging)for(var r=0;r<i.length;r++){var s=i[r].__brushOption;if(o&&(o===_||s.panelId===o.panelId)&&rt[s.brushType].contain(i[r],a[0],a[1]))return}o&&n.setCursorStyle("crosshair")}}function Q(t){var e=t.event;e.preventDefault&&e.preventDefault()}function tt(t,e,a){return t.childOfName("main").contain(e,a)}function et(t,e,a,n){var o,r=t._creatingCover,s=t._creatingPanel,c=t._brushOption;if(t._track.push(a.slice()),L(t)||r){if(s&&!r){"single"===c.brushMode&&w(t);var l=Object(i["d"])(c);l.brushType=at(l.brushType,s),l.panelId=s===_?null:s.panelId,r=t._creatingCover=I(t,l),t._covers.push(r)}if(r){var d=rt[at(t._brushType,s)],u=r.__brushOption;u.range=d.getCreatingRange(X(t,r,t._track)),n&&(M(t,r),d.updateCommon(t,r)),C(t,r),o={isEnd:n}}}else n&&"single"===c.brushMode&&c.removeOnClick&&R(t,e,a)&&w(t)&&(o={isEnd:n,removeOnClick:!0});return o}function at(t,e){return"auto"===t?e.defaultBrushType:t}var nt={mousedown:function(t){if(this._dragging)it(this,t);else if(!t.target||!t.target.draggable){Q(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null;var a=this._creatingPanel=R(this,t,e);a&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,a=t.offsetY,n=this.group.transformCoordToLocal(e,a);if(q(this,t,n),this._dragging){Q(t);var i=et(this,t,n,!1);i&&P(this,i)}},mouseup:function(t){it(this,t)}};function it(t,e){if(t._dragging){Q(e);var a=e.offsetX,n=e.offsetY,i=t.group.transformCoordToLocal(a,n),o=et(t,e,i,!0);t._dragging=!1,t._track=[],t._creatingCover=null,o&&P(t,o)}}function ot(t,e,a){var n=t._zr;return e<0||e>n.getWidth()||a<0||a>n.getHeight()}var rt={lineX:st(0),lineY:st(1),rect:{createCover:function(t,e){function a(t){return t}return G({toRectRange:a,fromRectRange:a},t,e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(t){var e=j(t);return $(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,a,n){V(t,e,a,n)},updateCommon:B,contain:tt},polygon:{createCover:function(t,e){var a=new r["a"];return a.add(new l["a"]({name:"main",style:H(e),silent:!0})),a},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new d["a"]({name:"main",draggable:!0,drift:Object(i["h"])(W,t,e),ondragend:Object(i["h"])(P,t,{isEnd:!0})}))},updateCoverShape:function(t,e,a,n){e.childAt(0).setShape({points:X(t,e,a)})},updateCommon:B,contain:tt}};function st(t){return{createCover:function(e,a){return G({toRectRange:function(e){var a=[e,[0,100]];return t&&a.reverse(),a},fromRectRange:function(e){return e[t]}},e,a,[[["w"],["e"]],[["n"],["s"]]][t])},getCreatingRange:function(e){var a=j(e),n=h(a[0][t],a[1][t]),i=f(a[0][t],a[1][t]);return[n,i]},updateCoverShape:function(e,a,n,i){var o,r=D(e,a);if(r!==_&&r.getLinearBrushOtherExtent)o=r.getLinearBrushOtherExtent(t);else{var s=e._zr;o=[0,[s.getWidth(),s.getHeight()][1-t]]}var c=[n,o];t&&c.reverse(),V(e,a,c,i)},updateCommon:B,contain:tt}}e["a"]=O}}]);