(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-1ed0e9be"],{"0769":function(t,e,a){"use strict";var i=a("8659");a.n(i).a},"0f0e":function(t,e,a){"use strict";a("d81d"),a("4de4"),a("d3b7"),a("a434"),a("e9c4");var i=a("c4c8"),o={name:"userLabel",props:{},data:function(){return{labelList:[],dataLabel:[],isUser:!1}},mounted:function(){this.setLabel()},methods:{inArray:function(t,e){for(var a in e)if(e[a].id==t)return!0;return!1},setLabel:function(){var t=this;Object(i.z)().then((function(e){e.data.map((function(e){e.children&&(t.isUser=!0,e.children.map((function(e){t.inArray(e.id,t.dataLabel)?e.disabled=!0:e.disabled=!1})))})),t.labelList=e.data})).catch((function(e){t.$message.error(e.msg)}))},selectLabel:function(t){var e;t.disabled?(e=this.dataLabel.indexOf(this.dataLabel.filter((function(e){return e.id==t.id}))[0]),this.dataLabel.splice(e,1),t.disabled=!1):(this.dataLabel.push({label_name:t.label_name,id:t.id}),t.disabled=!0)},subBtn:function(){this.$emit("activeData",JSON.parse(JSON.stringify(this.dataLabel)))},cancel:function(){this.$emit("close")}}};a("3a69"),a=a("2877"),a=Object(a.a)(o,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"label-wrapper"},[a("div",{staticClass:"list-box"},[t.isUser?t._l(t.labelList,(function(e,i){return a("div",{key:i,staticClass:"label-box"},[e.children?a("div",{staticClass:"title"},[t._v(t._s(e.label_name))]):t._e(),e.children&&e.children.length?a("div",{staticClass:"list"},t._l(e.children,(function(e,i){return a("div",{key:i,staticClass:"label-item",class:{on:e.disabled},on:{click:function(a){return t.selectLabel(e)}}},[t._v("\n "+t._s(e.label_name)+"\n ")])})),0):t._e()])})):t._e(),t.isUser?t._e():a("div",[t._v("暂无标签")])],2),a("div",{staticClass:"footer"},[a("el-button",{staticClass:"btns",attrs:{ghost:""},on:{click:t.cancel}},[t._v("取消")]),a("el-button",{staticClass:"btns",attrs:{type:"primary"},on:{click:t.subBtn}},[t._v("确定")])],1)])}),[],!1,null,"37eb90ed",null);e.a=a.exports},"27fb":function(t,e,a){},"2c3e":function(t,e,a){var i=a("da84"),o=a("83ab"),r=a("9f7f").MISSED_STICKY,s=a("c6b6"),n=a("edd0"),l=a("69f3").get,c=RegExp.prototype,d=i.TypeError;o&&r&&n(c,"sticky",{configurable:!0,get:function(){if(this!==c){if("RegExp"===s(this))return!!l(this).sticky;throw d("Incompatible receiver, RegExp required")}}})},"3a69":function(t,e,a){"use strict";var i=a("af76");a.n(i).a},"490a":function(t,e,a){},"4d63":function(t,e,a){var i=a("83ab"),o=a("da84"),r=a("e330"),s=a("94ca"),n=a("7156"),l=a("9112"),c=a("241c").f,d=a("3a9b"),m=a("44e7"),u=a("577e"),p=a("90d8"),f=a("9f7f"),h=a("aeb0"),v=a("cb2d"),_=a("d039"),b=a("1a2d"),g=a("69f3").enforce,y=a("2626"),V=a("b622"),k=a("fce3"),w=a("107c"),x=V("match"),C=o.RegExp,$=C.prototype,F=o.SyntaxError,B=r($.exec),T=r("".charAt),S=r("".replace),L=r("".indexOf),N=r("".slice),O=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,I=/a/g,D=/a/g,j=(a=new C(I)!==I,f.MISSED_STICKY),E=f.UNSUPPORTED_Y;V=i&&(!a||j||k||w||_((function(){return D[x]=!1,C(I)!=I||C(D)==D||"/a/i"!=C(I,"i")})));if(s("RegExp",V)){function R(t,e){var a,i,o=d($,this),r=m(t),s=void 0===e,c=[],f=t;if(!o&&r&&s&&t.constructor===R)return t;if((r||d($,t))&&(t=t.source,s&&(e=p(f))),t=void 0===t?"":u(t),e=void 0===e?"":u(e),f=t,r=e=k&&"dotAll"in I&&(a=!!e&&-1"===e&&l:if(""===d||b(s,d))throw new F("Invalid capture group name");s[d]=!0,l=!(r[r.length]=[d,c]),d="";continue}l?d+=e:o+=e}return[o,r]}(t))[0],c=s[1]),s=n(C(t,e),o?this:$,R),(a||i||c.length)&&(e=g(s),a&&(e.dotAll=!0,e.raw=R(function(t){for(var e,a=t.length,i=0,o="",r=!1;i<=a;i++)"\\"===(e=T(t,i))?o+=e+T(t,++i):r||"."!==e?("["===e?r=!0:"]"===e&&(r=!1),o+=e):o+="[\\s\\S]";return o}(t),r)),i&&(e.sticky=!0),c.length&&(e.groups=c)),t!==f)try{l(s,"source",""===f?"(?:)":f)}catch(t){}return s}for(var P=c(C),A=0;P.length>A;)h(R,C,P[A++]);($.constructor=R).prototype=$,v(o,"RegExp",R,{constructor:!0})}y("RegExp")},"564f":function(t,e,a){"use strict";var i=a("9839");a.n(i).a},"61f7":function(t,e,a){"use strict";a.d(e,"a",(function(){return r})),a.d(e,"c",(function(){return l})),a.d(e,"b",(function(){return c}));var i=a("fc11"),o=a("f3f3");function r(t,e){/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length)));var a,i,o={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds()};for(a in o)new RegExp("(".concat(a,")")).test(e)&&(i=o[a]+"",e=e.replace(RegExp.$1,1===RegExp.$1.length?i:("00"+i).substr(i.length)));return e}a("ac1f"),a("00b4"),a("5319"),a("4d63"),a("c607"),a("2c3e"),a("25f0"),a("498a"),a("d3b7"),a("b64b"),a("99af");var s={min:"%s最小长度为:min",max:"%s最大长度为:max",length:"%s长度必须为:length",range:"%s长度为:range",pattern:"$s格式错误"};function n(t,e){t.message=function(t){return e.replace("%s",t||"")}}function l(t){var e=1=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:e};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c=a("f3f3"),d=(a("fb6a"),a("d81d"),a("a9e3"),a("a434"),a("99af"),a("a4d3"),a("e01a"),a("4ec9"),a("d3b7"),a("3ca3"),a("ddb0"),a("4de4"),a("b0c0"),a("25f0"),a("498a"),a("159b"),a("caad"),a("e9c4"),a("ac1f"),a("5319"),a("0f0e")),m=a("2f62"),u=a("310e"),p=(u=a.n(u),a("b0e7")),f=a("5334"),h=a("e449"),v=a("6fd3"),_=a("c4ad"),b=(a("00b4"),a("c4c8")),g={name:"taoBao",data:function(){return{soure_link:"",spinShow:!1,grid:{xl:8,lg:8,md:12,sm:24,xs:24},grid2:{xl:12,lg:12,md:12,sm:24,xs:24},copyConfig:{copy_type:2,copy_num:0},artFrom:{type:"taobao",url:""}}},computed:{},created:function(){},mounted:function(){this.getCopyConfig()},methods:{mealPay:function(){this.$router.push({path:this.$routeProStr+"/setting/sms/sms_config/index"})},getCopyConfig:function(){var t=this;Object(b.g)().then((function(e){t.copyConfig.copy_type=e.data.copy_type,t.copyConfig.copy_num=e.data.copy_num}))},add:function(){var t=this;if(this.soure_link){if(!/(http|ftp|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&:/~\+#]*[\w\-\@?^=%&/~\+#])?/.test(this.soure_link))return this.$message.warning("请输入以http开头的地址!");this.spinShow=!0,this.artFrom.url=this.soure_link,Object(b.h)(this.artFrom).then((function(e){e=e.data.productInfo,t.$emit("on-close",e),t.spinShow=!1})).catch((function(e){t.spinShow=!1,t.$message.error(e.msg)}))}else this.$message.warning("请输入链接地址!")}}},y=(a("a4b8"),a("2877")),V=(g=Object(y.a)(g,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.spinShow,expression:"spinShow"}],staticClass:"Box"},[e("div",[e("div",{staticClass:"tips"},[t._v("\n 生成的商品默认是没有上架的,请手动上架商品!\n "),2==t.copyConfig.copy_type?e("a",{attrs:{href:"https://doc.crmeb.com/single/v5/7785",target:"_blank"}},[t._v("如何配置密钥")]):e("span",[t._v("您当前剩余"+t._s(t.copyConfig.copy_num)+"条采集次数,"),e("span",{staticClass:"add",on:{click:function(e){return t.mealPay()}}},[t._v("增加采集次数")])])]),e("div",[t._v("商品采集设置:设置 > 系统设置 > 第三方接口设置 > 采集商品配置")])]),e("el-form",{ref:"formValidate",staticClass:"formValidate mt20",attrs:{"label-width":"80px","label-position":"right"},nativeOn:{submit:function(t){t.preventDefault()}}},[e("el-form-item",{attrs:{label:"链接地址:"}},[e("el-input",{staticClass:"numPut",attrs:{clearable:"",placeholder:"请输入链接地址"},model:{value:t.soure_link,callback:function(e){t.soure_link=e},expression:"soure_link"}}),e("el-button",{staticClass:"ml15",attrs:{type:"primary"},on:{click:t.add}},[t._v("确定")])],1)],1)],1)}),[],!1,null,"347b0b62",null).exports,a("a069")),k=a("c24f"),w=a("d708"),x=a("c276"),C=a("0e5c");function $(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */$=function(){return t};var t={},e=Object.prototype,a=e.hasOwnProperty,o=Object.defineProperty||function(t,e,a){t[e]=a.value},r="function"==typeof Symbol?Symbol:{},s=r.iterator||"@@iterator",n=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function c(t,e,a){return Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(e){c=function(t,e,a){return t[e]=a}}function d(t,e,a,i){var r,s,n,l;e=e&&e.prototype instanceof p?e:p,e=Object.create(e.prototype),i=new k(i||[]);return o(e,"_invoke",{value:(r=t,s=a,n=i,l="suspendedStart",function(t,e){if("executing"===l)throw new Error("Generator is already running");if("completed"===l){if("throw"===t)throw e;return x()}for(n.method=t,n.arg=e;;){var a=n.delegate;if(a&&(a=function t(e,a){var i=a.method,o=e.iterator[i];return void 0===o?(a.delegate=null,"throw"===i&&e.iterator.return&&(a.method="return",a.arg=void 0,t(e,a),"throw"===a.method)||"return"!==i&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+i+"' method")),u):(i=m(o,e.iterator,a.arg),"throw"===i.type?(a.method="throw",a.arg=i.arg,a.delegate=null,u):(o=i.arg,o?o.done?(a[e.resultName]=o.value,a.next=e.nextLoc,"return"!==a.method&&(a.method="next",a.arg=void 0),a.delegate=null,u):o:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,u)))}(a,n),a)){if(a===u)continue;return a}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===l)throw l="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);if(l="executing",a=m(r,s,n),"normal"===a.type){if(l=n.done?"completed":"suspendedYield",a.arg===u)continue;return{value:a.arg,done:n.done}}"throw"===a.type&&(l="completed",n.method="throw",n.arg=a.arg)}})}),e}function m(t,e,a){try{return{type:"normal",arg:t.call(e,a)}}catch(t){return{type:"throw",arg:t}}}t.wrap=d;var u={};function p(){}function f(){}function h(){}r={};var v=(c(r,s,(function(){return this})),Object.getPrototypeOf),_=(v=v&&v(v(w([]))),v&&v!==e&&a.call(v,s)&&(r=v),h.prototype=p.prototype=Object.create(r));function b(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function g(t,e){var r;o(this,"_invoke",{value:function(o,s){function n(){return new e((function(r,n){!function o(r,s,n,l){var c;r=m(t[r],t,s);if("throw"!==r.type)return(s=(c=r.arg).value)&&"object"==Object(i.a)(s)&&a.call(s,"__await")?e.resolve(s.__await).then((function(t){o("next",t,n,l)}),(function(t){o("throw",t,n,l)})):e.resolve(s).then((function(t){c.value=t,n(c)}),(function(t){return o("throw",t,n,l)}));l(r.arg)}(o,s,r,n)}))}return r=r?r.then(n,n):n()}})}function y(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function V(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(y,this),this.reset(!0)}function w(t){if(t){var e,i=t[s];if(i)return i.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return e=-1,(i=function i(){for(;++e]*>/gi,(function(t,e){return(t=(t=t.replace(/style="[^"]+"/gi,"").replace(/style='[^']+'/gi,"")).replace(/width="[^"]+"/gi,"").replace(/width='[^']+'/gi,"")).replace(/height="[^"]+"/gi,"").replace(/height='[^']+'/gi,"")})),(t=(t=t.replace(/style="[^"]+"/gi,(function(t,e){return t.replace(/width:[^;]+;/gi,"max-width:100%;").replace(/width:[^;]+;/gi,"max-width:100%;")}))).replace(/]*\/>/gi,"")).replace(/\