wotokol-edm 1.2.32 → 1.2.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -87,13 +87,13 @@ var ao={};ao.lang={extend:function(e,t,n){if(!t||!e)throw new Error("YAHOO.lang.
87
87
  * @since jsrsasign 2.1
88
88
  * @license <a href="https://kjur.github.io/jsrsasign/license/">MIT License</a>
89
89
  */
90
- var so={};"undefined"!=typeof so.asn1&&so.asn1||(so.asn1={}),so.asn1.ASN1Util=new function(){this.integerToByteHex=function(e){var t=e.toString(16);return t.length%2==1&&(t="0"+t),t},this.bigIntToMinTwosComplementsHex=function(e){var t=e.toString(16);if("-"!=t.substr(0,1))t.length%2==1?t="0"+t:t.match(/^[0-7]/)||(t="00"+t);else{var n=t.substr(1),i=n.length;i%2==1?i+=1:t.match(/^[0-7]/)||(i+=2);for(var r="",o=0;o<i;o++)r+="f";var a=new Er(r,16),s=a.xor(e).add(Er.ONE);t=s.toString(16).replace(/^-/,"")}return t},this.getPEMStringFromHex=function(e,t){return hextopem(e,t)},this.newObject=function(e){var t=so,n=t.asn1,i=n.DERBoolean,r=n.DERInteger,o=n.DERBitString,a=n.DEROctetString,s=n.DERNull,l=n.DERObjectIdentifier,c=n.DEREnumerated,u=n.DERUTF8String,d=n.DERNumericString,h=n.DERPrintableString,p=n.DERTeletexString,f=n.DERIA5String,m=n.DERUTCTime,g=n.DERGeneralizedTime,v=n.DERSequence,y=n.DERSet,b=n.DERTaggedObject,w=n.ASN1Util.newObject,_=Object.keys(e);if(1!=_.length)throw"key of param shall be only one.";var C=_[0];if(-1==":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":"+C+":"))throw"undefined key: "+C;if("bool"==C)return new i(e[C]);if("int"==C)return new r(e[C]);if("bitstr"==C)return new o(e[C]);if("octstr"==C)return new a(e[C]);if("null"==C)return new s(e[C]);if("oid"==C)return new l(e[C]);if("enum"==C)return new c(e[C]);if("utf8str"==C)return new u(e[C]);if("numstr"==C)return new d(e[C]);if("prnstr"==C)return new h(e[C]);if("telstr"==C)return new p(e[C]);if("ia5str"==C)return new f(e[C]);if("utctime"==C)return new m(e[C]);if("gentime"==C)return new g(e[C]);if("seq"==C){for(var x=e[C],S=[],k=0;k<x.length;k++){var E=w(x[k]);S.push(E)}return new v({array:S})}if("set"==C){for(x=e[C],S=[],k=0;k<x.length;k++){E=w(x[k]);S.push(E)}return new y({array:S})}if("tag"==C){var A=e[C];if("[object Array]"===Object.prototype.toString.call(A)&&3==A.length){var D=w(A[2]);return new b({tag:A[0],explicit:A[1],obj:D})}var O={};if(void 0!==A.explicit&&(O.explicit=A.explicit),void 0!==A.tag&&(O.tag=A.tag),void 0===A.obj)throw"obj shall be specified for 'tag'.";return O.obj=w(A.obj),new b(O)}},this.jsonToASN1HEX=function(e){var t=this.newObject(e);return t.getEncodedHex()}},so.asn1.ASN1Util.oidHexToInt=function(e){for(var t="",n=parseInt(e.substr(0,2),16),i=Math.floor(n/40),r=n%40,o=(t=i+"."+r,""),a=2;a<e.length;a+=2){var s=parseInt(e.substr(a,2),16),l=("00000000"+s.toString(2)).slice(-8);if(o+=l.substr(1,7),"0"==l.substr(0,1)){var c=new Er(o,2);t=t+"."+c.toString(10),o=""}}return t},so.asn1.ASN1Util.oidIntToHex=function(e){var t=function(e){var t=e.toString(16);return 1==t.length&&(t="0"+t),t},n=function(e){var n="",i=new Er(e,10),r=i.toString(2),o=7-r.length%7;7==o&&(o=0);for(var a="",s=0;s<o;s++)a+="0";r=a+r;for(s=0;s<r.length-1;s+=7){var l=r.substr(s,7);s!=r.length-7&&(l="1"+l),n+=t(parseInt(l,2))}return n};if(!e.match(/^[0-9.]+$/))throw"malformed oid string: "+e;var i="",r=e.split("."),o=40*parseInt(r[0])+parseInt(r[1]);i+=t(o),r.splice(0,2);for(var a=0;a<r.length;a++)i+=n(r[a]);return i},so.asn1.ASN1Object=function(){var e="";this.getLengthHexFromValue=function(){if("undefined"==typeof this.hV||null==this.hV)throw"this.hV is null or undefined.";if(this.hV.length%2==1)throw"value hex must be even length: n="+e.length+",v="+this.hV;var t=this.hV.length/2,n=t.toString(16);if(n.length%2==1&&(n="0"+n),t<128)return n;var i=n.length/2;if(i>15)throw"ASN.1 length too long to represent by 8x: n = "+t.toString(16);var r=128+i;return r.toString(16)+n},this.getEncodedHex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},so.asn1.DERAbstractString=function(e){so.asn1.DERAbstractString.superclass.constructor.call(this);this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(this.s)},this.setStringHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof e&&("string"==typeof e?this.setString(e):"undefined"!=typeof e["str"]?this.setString(e["str"]):"undefined"!=typeof e["hex"]&&this.setStringHex(e["hex"]))},ao.lang.extend(so.asn1.DERAbstractString,so.asn1.ASN1Object),so.asn1.DERAbstractTime=function(e){so.asn1.DERAbstractTime.superclass.constructor.call(this);this.localDateToUTC=function(e){utc=e.getTime()+6e4*e.getTimezoneOffset();var t=new Date(utc);return t},this.formatDate=function(e,t,n){var i=this.zeroPadding,r=this.localDateToUTC(e),o=String(r.getFullYear());"utc"==t&&(o=o.substr(2,2));var a=i(String(r.getMonth()+1),2),s=i(String(r.getDate()),2),l=i(String(r.getHours()),2),c=i(String(r.getMinutes()),2),u=i(String(r.getSeconds()),2),d=o+a+s+l+c+u;if(!0===n){var h=r.getMilliseconds();if(0!=h){var p=i(String(h),3);p=p.replace(/[0]+$/,""),d=d+"."+p}}return d+"Z"},this.zeroPadding=function(e,t){return e.length>=t?e:new Array(t-e.length+1).join("0")+e},this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(e)},this.setByDateValue=function(e,t,n,i,r,o){var a=new Date(Date.UTC(e,t-1,n,i,r,o,0));this.setByDate(a)},this.getFreshValueHex=function(){return this.hV}},ao.lang.extend(so.asn1.DERAbstractTime,so.asn1.ASN1Object),so.asn1.DERAbstractStructured=function(e){so.asn1.DERAbstractString.superclass.constructor.call(this);this.setByASN1ObjectArray=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array=e},this.appendASN1Object=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array.push(e)},this.asn1Array=new Array,"undefined"!=typeof e&&"undefined"!=typeof e["array"]&&(this.asn1Array=e["array"])},ao.lang.extend(so.asn1.DERAbstractStructured,so.asn1.ASN1Object),so.asn1.DERBoolean=function(){so.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},ao.lang.extend(so.asn1.DERBoolean,so.asn1.ASN1Object),so.asn1.DERInteger=function(e){so.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=so.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var t=new Er(String(e),10);this.setByBigInteger(t)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof e&&("undefined"!=typeof e["bigint"]?this.setByBigInteger(e["bigint"]):"undefined"!=typeof e["int"]?this.setByInteger(e["int"]):"number"==typeof e?this.setByInteger(e):"undefined"!=typeof e["hex"]&&this.setValueHex(e["hex"]))},ao.lang.extend(so.asn1.DERInteger,so.asn1.ASN1Object),so.asn1.DERBitString=function(e){if(void 0!==e&&"undefined"!==typeof e.obj){var t=so.asn1.ASN1Util.newObject(e.obj);e.hex="00"+t.getEncodedHex()}so.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(e){this.hTLV=null,this.isModified=!0,this.hV=e},this.setUnusedBitsAndHexValue=function(e,t){if(e<0||7<e)throw"unused bits shall be from 0 to 7: u = "+e;var n="0"+e;this.hTLV=null,this.isModified=!0,this.hV=n+t},this.setByBinaryString=function(e){e=e.replace(/0+$/,"");var t=8-e.length%8;8==t&&(t=0);for(var n=0;n<=t;n++)e+="0";var i="";for(n=0;n<e.length-1;n+=8){var r=e.substr(n,8),o=parseInt(r,2).toString(16);1==o.length&&(o="0"+o),i+=o}this.hTLV=null,this.isModified=!0,this.hV="0"+t+i},this.setByBooleanArray=function(e){for(var t="",n=0;n<e.length;n++)1==e[n]?t+="1":t+="0";this.setByBinaryString(t)},this.newFalseArray=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]=!1;return t},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof e&&("string"==typeof e&&e.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(e):"undefined"!=typeof e["hex"]?this.setHexValueIncludingUnusedBits(e["hex"]):"undefined"!=typeof e["bin"]?this.setByBinaryString(e["bin"]):"undefined"!=typeof e["array"]&&this.setByBooleanArray(e["array"]))},ao.lang.extend(so.asn1.DERBitString,so.asn1.ASN1Object),so.asn1.DEROctetString=function(e){if(void 0!==e&&"undefined"!==typeof e.obj){var t=so.asn1.ASN1Util.newObject(e.obj);e.hex=t.getEncodedHex()}so.asn1.DEROctetString.superclass.constructor.call(this,e),this.hT="04"},ao.lang.extend(so.asn1.DEROctetString,so.asn1.DERAbstractString),so.asn1.DERNull=function(){so.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"},ao.lang.extend(so.asn1.DERNull,so.asn1.ASN1Object),so.asn1.DERObjectIdentifier=function(e){var t=function(e){var t=e.toString(16);return 1==t.length&&(t="0"+t),t},n=function(e){var n="",i=new Er(e,10),r=i.toString(2),o=7-r.length%7;7==o&&(o=0);for(var a="",s=0;s<o;s++)a+="0";r=a+r;for(s=0;s<r.length-1;s+=7){var l=r.substr(s,7);s!=r.length-7&&(l="1"+l),n+=t(parseInt(l,2))}return n};so.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.setValueOidString=function(e){if(!e.match(/^[0-9.]+$/))throw"malformed oid string: "+e;var i="",r=e.split("."),o=40*parseInt(r[0])+parseInt(r[1]);i+=t(o),r.splice(0,2);for(var a=0;a<r.length;a++)i+=n(r[a]);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=i},this.setValueName=function(e){var t=so.asn1.x509.OID.name2oid(e);if(""===t)throw"DERObjectIdentifier oidName undefined: "+e;this.setValueOidString(t)},this.getFreshValueHex=function(){return this.hV},void 0!==e&&("string"===typeof e?e.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(e):this.setValueName(e):void 0!==e.oid?this.setValueOidString(e.oid):void 0!==e.hex?this.setValueHex(e.hex):void 0!==e.name&&this.setValueName(e.name))},ao.lang.extend(so.asn1.DERObjectIdentifier,so.asn1.ASN1Object),so.asn1.DEREnumerated=function(e){so.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=so.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var t=new Er(String(e),10);this.setByBigInteger(t)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof e&&("undefined"!=typeof e["int"]?this.setByInteger(e["int"]):"number"==typeof e?this.setByInteger(e):"undefined"!=typeof e["hex"]&&this.setValueHex(e["hex"]))},ao.lang.extend(so.asn1.DEREnumerated,so.asn1.ASN1Object),so.asn1.DERUTF8String=function(e){so.asn1.DERUTF8String.superclass.constructor.call(this,e),this.hT="0c"},ao.lang.extend(so.asn1.DERUTF8String,so.asn1.DERAbstractString),so.asn1.DERNumericString=function(e){so.asn1.DERNumericString.superclass.constructor.call(this,e),this.hT="12"},ao.lang.extend(so.asn1.DERNumericString,so.asn1.DERAbstractString),so.asn1.DERPrintableString=function(e){so.asn1.DERPrintableString.superclass.constructor.call(this,e),this.hT="13"},ao.lang.extend(so.asn1.DERPrintableString,so.asn1.DERAbstractString),so.asn1.DERTeletexString=function(e){so.asn1.DERTeletexString.superclass.constructor.call(this,e),this.hT="14"},ao.lang.extend(so.asn1.DERTeletexString,so.asn1.DERAbstractString),so.asn1.DERIA5String=function(e){so.asn1.DERIA5String.superclass.constructor.call(this,e),this.hT="16"},ao.lang.extend(so.asn1.DERIA5String,so.asn1.DERAbstractString),so.asn1.DERUTCTime=function(e){so.asn1.DERUTCTime.superclass.constructor.call(this,e),this.hT="17",this.setByDate=function(e){this.hTLV=null,this.isModified=!0,this.date=e,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return"undefined"==typeof this.date&&"undefined"==typeof this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)),this.hV},void 0!==e&&(void 0!==e.str?this.setString(e.str):"string"==typeof e&&e.match(/^[0-9]{12}Z$/)?this.setString(e):void 0!==e.hex?this.setStringHex(e.hex):void 0!==e.date&&this.setByDate(e.date))},ao.lang.extend(so.asn1.DERUTCTime,so.asn1.DERAbstractTime),so.asn1.DERGeneralizedTime=function(e){so.asn1.DERGeneralizedTime.superclass.constructor.call(this,e),this.hT="18",this.withMillis=!1,this.setByDate=function(e){this.hTLV=null,this.isModified=!0,this.date=e,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)),this.hV},void 0!==e&&(void 0!==e.str?this.setString(e.str):"string"==typeof e&&e.match(/^[0-9]{14}Z$/)?this.setString(e):void 0!==e.hex?this.setStringHex(e.hex):void 0!==e.date&&this.setByDate(e.date),!0===e.millis&&(this.withMillis=!0))},ao.lang.extend(so.asn1.DERGeneralizedTime,so.asn1.DERAbstractTime),so.asn1.DERSequence=function(e){so.asn1.DERSequence.superclass.constructor.call(this,e),this.hT="30",this.getFreshValueHex=function(){for(var e="",t=0;t<this.asn1Array.length;t++){var n=this.asn1Array[t];e+=n.getEncodedHex()}return this.hV=e,this.hV}},ao.lang.extend(so.asn1.DERSequence,so.asn1.DERAbstractStructured),so.asn1.DERSet=function(e){so.asn1.DERSet.superclass.constructor.call(this,e),this.hT="31",this.sortFlag=!0,this.getFreshValueHex=function(){for(var e=new Array,t=0;t<this.asn1Array.length;t++){var n=this.asn1Array[t];e.push(n.getEncodedHex())}return 1==this.sortFlag&&e.sort(),this.hV=e.join(""),this.hV},"undefined"!=typeof e&&"undefined"!=typeof e.sortflag&&0==e.sortflag&&(this.sortFlag=!1)},ao.lang.extend(so.asn1.DERSet,so.asn1.DERAbstractStructured),so.asn1.DERTaggedObject=function(e){so.asn1.DERTaggedObject.superclass.constructor.call(this),this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(e,t,n){this.hT=t,this.isExplicit=e,this.asn1Object=n,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=n.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,t),this.isModified=!1)},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof e&&("undefined"!=typeof e["tag"]&&(this.hT=e["tag"]),"undefined"!=typeof e["explicit"]&&(this.isExplicit=e["explicit"]),"undefined"!=typeof e["obj"]&&(this.asn1Object=e["obj"],this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)))},ao.lang.extend(so.asn1.DERTaggedObject,so.asn1.ASN1Object);var lo,co,uo=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ho=function(e){function t(n){var i=e.call(this)||this;return n&&("string"===typeof n?i.parseKey(n):(t.hasPrivateKeyProperty(n)||t.hasPublicKeyProperty(n))&&i.parsePropertiesFrom(n)),i}return uo(t,e),t.prototype.parseKey=function(e){try{var t=0,n=0,i=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/,r=i.test(e)?ur.decode(e):dr.unarmor(e),o=wr.decode(r);if(3===o.sub.length&&(o=o.sub[2].sub[0]),9===o.sub.length){t=o.sub[1].getHexStringValue(),this.n=Pr(t,16),n=o.sub[2].getHexStringValue(),this.e=parseInt(n,16);var a=o.sub[3].getHexStringValue();this.d=Pr(a,16);var s=o.sub[4].getHexStringValue();this.p=Pr(s,16);var l=o.sub[5].getHexStringValue();this.q=Pr(l,16);var c=o.sub[6].getHexStringValue();this.dmp1=Pr(c,16);var u=o.sub[7].getHexStringValue();this.dmq1=Pr(u,16);var d=o.sub[8].getHexStringValue();this.coeff=Pr(d,16)}else{if(2!==o.sub.length)return!1;if(o.sub[0].sub){var h=o.sub[1],p=h.sub[0];t=p.sub[0].getHexStringValue(),this.n=Pr(t,16),n=p.sub[1].getHexStringValue(),this.e=parseInt(n,16)}else t=o.sub[0].getHexStringValue(),this.n=Pr(t,16),n=o.sub[1].getHexStringValue(),this.e=parseInt(n,16)}return!0}catch(vR){return!1}},t.prototype.getPrivateBaseKey=function(){var e={array:[new so.asn1.DERInteger({int:0}),new so.asn1.DERInteger({bigint:this.n}),new so.asn1.DERInteger({int:this.e}),new so.asn1.DERInteger({bigint:this.d}),new so.asn1.DERInteger({bigint:this.p}),new so.asn1.DERInteger({bigint:this.q}),new so.asn1.DERInteger({bigint:this.dmp1}),new so.asn1.DERInteger({bigint:this.dmq1}),new so.asn1.DERInteger({bigint:this.coeff})]},t=new so.asn1.DERSequence(e);return t.getEncodedHex()},t.prototype.getPrivateBaseKeyB64=function(){return sr(this.getPrivateBaseKey())},t.prototype.getPublicBaseKey=function(){var e=new so.asn1.DERSequence({array:[new so.asn1.DERObjectIdentifier({oid:"1.2.840.113549.1.1.1"}),new so.asn1.DERNull]}),t=new so.asn1.DERSequence({array:[new so.asn1.DERInteger({bigint:this.n}),new so.asn1.DERInteger({int:this.e})]}),n=new so.asn1.DERBitString({hex:"00"+t.getEncodedHex()}),i=new so.asn1.DERSequence({array:[e,n]});return i.getEncodedHex()},t.prototype.getPublicBaseKeyB64=function(){return sr(this.getPublicBaseKey())},t.wordwrap=function(e,t){if(t=t||64,!e)return e;var n="(.{1,"+t+"})( +|$\n?)|(.{1,"+t+"})";return e.match(RegExp(n,"g")).join("\n")},t.prototype.getPrivateKey=function(){var e="-----BEGIN RSA PRIVATE KEY-----\n";return e+=t.wordwrap(this.getPrivateBaseKeyB64())+"\n",e+="-----END RSA PRIVATE KEY-----",e},t.prototype.getPublicKey=function(){var e="-----BEGIN PUBLIC KEY-----\n";return e+=t.wordwrap(this.getPublicBaseKeyB64())+"\n",e+="-----END PUBLIC KEY-----",e},t.hasPublicKeyProperty=function(e){return e=e||{},e.hasOwnProperty("n")&&e.hasOwnProperty("e")},t.hasPrivateKeyProperty=function(e){return e=e||{},e.hasOwnProperty("n")&&e.hasOwnProperty("e")&&e.hasOwnProperty("d")&&e.hasOwnProperty("p")&&e.hasOwnProperty("q")&&e.hasOwnProperty("dmp1")&&e.hasOwnProperty("dmq1")&&e.hasOwnProperty("coeff")},t.prototype.parsePropertiesFrom=function(e){this.n=e.n,this.e=e.e,e.hasOwnProperty("d")&&(this.d=e.d,this.p=e.p,this.q=e.q,this.dmp1=e.dmp1,this.dmq1=e.dmq1,this.coeff=e.coeff)},t}(to),po="undefined"!==typeof process?null===(lo={NODE_ENV:"production",BASE_URL:"/"})||void 0===lo?void 0:lo.npm_package_version:void 0,fo=function(){function e(e){void 0===e&&(e={}),e=e||{},this.default_key_size=e.default_key_size?parseInt(e.default_key_size,10):1024,this.default_public_exponent=e.default_public_exponent||"010001",this.log=e.log||!1,this.key=null}return e.prototype.setKey=function(e){this.log&&this.key&&console.warn("A key was already set, overriding existing."),this.key=new ho(e)},e.prototype.setPrivateKey=function(e){this.setKey(e)},e.prototype.setPublicKey=function(e){this.setKey(e)},e.prototype.decrypt=function(e){try{return this.getKey().decrypt(lr(e))}catch(vR){return!1}},e.prototype.encrypt=function(e){try{return sr(this.getKey().encrypt(e))}catch(vR){return!1}},e.prototype.sign=function(e,t,n){try{return sr(this.getKey().sign(e,t,n))}catch(vR){return!1}},e.prototype.verify=function(e,t,n){try{return this.getKey().verify(e,lr(t),n)}catch(vR){return!1}},e.prototype.getKey=function(e){if(!this.key){if(this.key=new ho,e&&"[object Function]"==={}.toString.call(e))return void this.key.generateAsync(this.default_key_size,this.default_public_exponent,e);this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},e.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},e.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},e.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},e.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},e.version=po,e}(),mo=new Uint8Array(16);function go(){if(!co&&(co="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),!co))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return co(mo)}var vo=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function yo(e){return"string"===typeof e&&vo.test(e)}for(var bo=yo,wo=[],_o=0;_o<256;++_o)wo.push((_o+256).toString(16).substr(1));function Co(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(wo[e[t+0]]+wo[e[t+1]]+wo[e[t+2]]+wo[e[t+3]]+"-"+wo[e[t+4]]+wo[e[t+5]]+"-"+wo[e[t+6]]+wo[e[t+7]]+"-"+wo[e[t+8]]+wo[e[t+9]]+"-"+wo[e[t+10]]+wo[e[t+11]]+wo[e[t+12]]+wo[e[t+13]]+wo[e[t+14]]+wo[e[t+15]]).toLowerCase();if(!bo(n))throw TypeError("Stringified UUID is invalid");return n}var xo,So,ko=Co,Eo=0,Ao=0;function Do(e,t,n){var i=t&&n||0,r=t||new Array(16);e=e||{};var o=e.node||xo,a=void 0!==e.clockseq?e.clockseq:So;if(null==o||null==a){var s=e.random||(e.rng||go)();null==o&&(o=xo=[1|s[0],s[1],s[2],s[3],s[4],s[5]]),null==a&&(a=So=16383&(s[6]<<8|s[7]))}var l=void 0!==e.msecs?e.msecs:Date.now(),c=void 0!==e.nsecs?e.nsecs:Ao+1,u=l-Eo+(c-Ao)/1e4;if(u<0&&void 0===e.clockseq&&(a=a+1&16383),(u<0||l>Eo)&&void 0===e.nsecs&&(c=0),c>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Eo=l,Ao=c,So=a,l+=122192928e5;var d=(1e4*(268435455&l)+c)%4294967296;r[i++]=d>>>24&255,r[i++]=d>>>16&255,r[i++]=d>>>8&255,r[i++]=255&d;var h=l/4294967296*1e4&268435455;r[i++]=h>>>8&255,r[i++]=255&h,r[i++]=h>>>24&15|16,r[i++]=h>>>16&255,r[i++]=a>>>8|128,r[i++]=255&a;for(var p=0;p<6;++p)r[i+p]=o[p];return t||ko(r)}var Oo=Do;function To(e){if(!bo(e))throw TypeError("Invalid UUID");var t,n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n}var Io=To;function Po(e){e=unescape(encodeURIComponent(e));for(var t=[],n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}var Fo="6ba7b810-9dad-11d1-80b4-00c04fd430c8",Mo="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function Bo(e,t,n){function i(e,i,r,o){if("string"===typeof e&&(e=Po(e)),"string"===typeof i&&(i=Io(i)),16!==i.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var a=new Uint8Array(16+e.length);if(a.set(i),a.set(e,i.length),a=n(a),a[6]=15&a[6]|t,a[8]=63&a[8]|128,r){o=o||0;for(var s=0;s<16;++s)r[o+s]=a[s];return r}return ko(a)}try{i.name=e}catch(r){}return i.DNS=Fo,i.URL=Mo,i}function No(e){if("string"===typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var n=0;n<t.length;++n)e[n]=t.charCodeAt(n)}return Ro(jo(Lo(e),8*e.length))}function Ro(e){for(var t=[],n=32*e.length,i="0123456789abcdef",r=0;r<n;r+=8){var o=e[r>>5]>>>r%32&255,a=parseInt(i.charAt(o>>>4&15)+i.charAt(15&o),16);t.push(a)}return t}function $o(e){return 14+(e+64>>>9<<4)+1}function jo(e,t){e[t>>5]|=128<<t%32,e[$o(t)-1]=t;for(var n=1732584193,i=-271733879,r=-1732584194,o=271733878,a=0;a<e.length;a+=16){var s=n,l=i,c=r,u=o;n=Uo(n,i,r,o,e[a],7,-680876936),o=Uo(o,n,i,r,e[a+1],12,-389564586),r=Uo(r,o,n,i,e[a+2],17,606105819),i=Uo(i,r,o,n,e[a+3],22,-1044525330),n=Uo(n,i,r,o,e[a+4],7,-176418897),o=Uo(o,n,i,r,e[a+5],12,1200080426),r=Uo(r,o,n,i,e[a+6],17,-1473231341),i=Uo(i,r,o,n,e[a+7],22,-45705983),n=Uo(n,i,r,o,e[a+8],7,1770035416),o=Uo(o,n,i,r,e[a+9],12,-1958414417),r=Uo(r,o,n,i,e[a+10],17,-42063),i=Uo(i,r,o,n,e[a+11],22,-1990404162),n=Uo(n,i,r,o,e[a+12],7,1804603682),o=Uo(o,n,i,r,e[a+13],12,-40341101),r=Uo(r,o,n,i,e[a+14],17,-1502002290),i=Uo(i,r,o,n,e[a+15],22,1236535329),n=Wo(n,i,r,o,e[a+1],5,-165796510),o=Wo(o,n,i,r,e[a+6],9,-1069501632),r=Wo(r,o,n,i,e[a+11],14,643717713),i=Wo(i,r,o,n,e[a],20,-373897302),n=Wo(n,i,r,o,e[a+5],5,-701558691),o=Wo(o,n,i,r,e[a+10],9,38016083),r=Wo(r,o,n,i,e[a+15],14,-660478335),i=Wo(i,r,o,n,e[a+4],20,-405537848),n=Wo(n,i,r,o,e[a+9],5,568446438),o=Wo(o,n,i,r,e[a+14],9,-1019803690),r=Wo(r,o,n,i,e[a+3],14,-187363961),i=Wo(i,r,o,n,e[a+8],20,1163531501),n=Wo(n,i,r,o,e[a+13],5,-1444681467),o=Wo(o,n,i,r,e[a+2],9,-51403784),r=Wo(r,o,n,i,e[a+7],14,1735328473),i=Wo(i,r,o,n,e[a+12],20,-1926607734),n=qo(n,i,r,o,e[a+5],4,-378558),o=qo(o,n,i,r,e[a+8],11,-2022574463),r=qo(r,o,n,i,e[a+11],16,1839030562),i=qo(i,r,o,n,e[a+14],23,-35309556),n=qo(n,i,r,o,e[a+1],4,-1530992060),o=qo(o,n,i,r,e[a+4],11,1272893353),r=qo(r,o,n,i,e[a+7],16,-155497632),i=qo(i,r,o,n,e[a+10],23,-1094730640),n=qo(n,i,r,o,e[a+13],4,681279174),o=qo(o,n,i,r,e[a],11,-358537222),r=qo(r,o,n,i,e[a+3],16,-722521979),i=qo(i,r,o,n,e[a+6],23,76029189),n=qo(n,i,r,o,e[a+9],4,-640364487),o=qo(o,n,i,r,e[a+12],11,-421815835),r=qo(r,o,n,i,e[a+15],16,530742520),i=qo(i,r,o,n,e[a+2],23,-995338651),n=Yo(n,i,r,o,e[a],6,-198630844),o=Yo(o,n,i,r,e[a+7],10,1126891415),r=Yo(r,o,n,i,e[a+14],15,-1416354905),i=Yo(i,r,o,n,e[a+5],21,-57434055),n=Yo(n,i,r,o,e[a+12],6,1700485571),o=Yo(o,n,i,r,e[a+3],10,-1894986606),r=Yo(r,o,n,i,e[a+10],15,-1051523),i=Yo(i,r,o,n,e[a+1],21,-2054922799),n=Yo(n,i,r,o,e[a+8],6,1873313359),o=Yo(o,n,i,r,e[a+15],10,-30611744),r=Yo(r,o,n,i,e[a+6],15,-1560198380),i=Yo(i,r,o,n,e[a+13],21,1309151649),n=Yo(n,i,r,o,e[a+4],6,-145523070),o=Yo(o,n,i,r,e[a+11],10,-1120210379),r=Yo(r,o,n,i,e[a+2],15,718787259),i=Yo(i,r,o,n,e[a+9],21,-343485551),n=zo(n,s),i=zo(i,l),r=zo(r,c),o=zo(o,u)}return[n,i,r,o]}function Lo(e){if(0===e.length)return[];for(var t=8*e.length,n=new Uint32Array($o(t)),i=0;i<t;i+=8)n[i>>5]|=(255&e[i/8])<<i%32;return n}function zo(e,t){var n=(65535&e)+(65535&t),i=(e>>16)+(t>>16)+(n>>16);return i<<16|65535&n}function Vo(e,t){return e<<t|e>>>32-t}function Ho(e,t,n,i,r,o){return zo(Vo(zo(zo(t,e),zo(i,o)),r),n)}function Uo(e,t,n,i,r,o,a){return Ho(t&n|~t&i,e,t,r,o,a)}function Wo(e,t,n,i,r,o,a){return Ho(t&i|n&~i,e,t,r,o,a)}function qo(e,t,n,i,r,o,a){return Ho(t^n^i,e,t,r,o,a)}function Yo(e,t,n,i,r,o,a){return Ho(n^(t|~i),e,t,r,o,a)}var Go=No,Ko=Bo("v3",48,Go),Xo=Ko;function Zo(e,t,n){e=e||{};var i=e.random||(e.rng||go)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t){n=n||0;for(var r=0;r<16;++r)t[n+r]=i[r];return t}return ko(i)}var Jo=Zo;function Qo(e,t,n,i){switch(e){case 0:return t&n^~t&i;case 1:return t^n^i;case 2:return t&n^t&i^n&i;case 3:return t^n^i}}function ea(e,t){return e<<t|e>>>32-t}function ta(e){var t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"===typeof e){var i=unescape(encodeURIComponent(e));e=[];for(var r=0;r<i.length;++r)e.push(i.charCodeAt(r))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var o=e.length/4+2,a=Math.ceil(o/16),s=new Array(a),l=0;l<a;++l){for(var c=new Uint32Array(16),u=0;u<16;++u)c[u]=e[64*l+4*u]<<24|e[64*l+4*u+1]<<16|e[64*l+4*u+2]<<8|e[64*l+4*u+3];s[l]=c}s[a-1][14]=8*(e.length-1)/Math.pow(2,32),s[a-1][14]=Math.floor(s[a-1][14]),s[a-1][15]=8*(e.length-1)&4294967295;for(var d=0;d<a;++d){for(var h=new Uint32Array(80),p=0;p<16;++p)h[p]=s[d][p];for(var f=16;f<80;++f)h[f]=ea(h[f-3]^h[f-8]^h[f-14]^h[f-16],1);for(var m=n[0],g=n[1],v=n[2],y=n[3],b=n[4],w=0;w<80;++w){var _=Math.floor(w/20),C=ea(m,5)+Qo(_,g,v,y)+b+t[_]+h[w]>>>0;b=y,y=v,v=ea(g,30)>>>0,g=m,m=C}n[0]=n[0]+m>>>0,n[1]=n[1]+g>>>0,n[2]=n[2]+v>>>0,n[3]=n[3]+y>>>0,n[4]=n[4]+b>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]}var na=ta,ia=Bo("v5",80,na),ra=ia,oa={v1:Oo,v3:Xo,v4:Jo,v5:ra};function aa(e){let t=new fo;t.setPublicKey(sa("4ADS20wxtyAw"));let n=t.encrypt(e);return n}function sa(e){return!!Object.prototype.toString.call(e)&&la("M1Fw3wD5QYJKoZIhvcNAQEBBQADSwAwSAJBAPWZswFK/6")}function la(e){if(Object.prototype.toString.call(e)){let t=e.replace(new RegExp("1","g"),""),n=t.replace(new RegExp("3","g"),""),i=n.replace(new RegExp("5","g"),"");return ca("AJB5APWZ"+i)}return!1}function ca(e){if(Object.prototype.toString.call(e)){let t="++m2Kx72j8q73mLKCxi72MZG6knk7vQAz9Ed4SgbJ67juHT7Km",n=t.split("").reverse().join(""),i=n.split("").reverse().join(""),r=i.replace(new RegExp("3m","g"),""),o=r.replace(new RegExp("6k","g"),""),a=o.replace(new RegExp("gb","g"),"");return ua(e.slice(8)+a)}return!1}function ua(e){if(Object.prototype.toString.call(e)){let t="7kdTklfaAsccYCeQbhDr7Cd8mWFleQtVKM6mM90CAwEAAQ==",n=t.replace(new RegExp("cc","g"),""),i=n.replace(new RegExp("8m","g"),""),r="hDr7Cd98mWF"+i.replace(new RegExp("90","g"),"");return e.split("").reverse().join("").split("").reverse().join("")+r.slice(11)}return!1}function da(e,t=!1){const n=document.createElement("a");n.href=e,n.target="_blank",n.rel="noopener noreferrer",t&&(n.download="file"),document.body.appendChild(n),n.click(),document.body.removeChild(n)}let ha="",pa="";function fa(e){if(null!==e){if(Array.isArray(e))for(let t=0;t<e.length;t++)null===e[t]?e[t]=void 0:"object"===typeof e[t]&&fa(e[t]);else if("object"===typeof e)for(const t in e)e.hasOwnProperty(t)&&(null===e[t]?e[t]=void 0:"object"===typeof e[t]&&fa(e[t]));return e}}function ma(e){pa=e,localStorage.setItem("EDMDefaultEnv",e),"dev"===e||"development"===e||"test"===e||"pre"===e?ha="https://apipre.wotohub.com":"prod"!==e&&"production"!==e||(ha="https://api.wotohub.com/")}const ga=xn.create({baseURL:"",timeout:25e4});ga.interceptors.request.use((function(e){const t=(new Date).getTime(),n=In()+t;let i=oa.v4();const r=e.params||e.data;fa(r);let o={},a="";r?(o=$n(e.url,n,t,r,i,e.method),a=o.hmacBytes):(o=$n(e.url,n,t,null,i,e.method),a=o.hmacBytes),e.baseURL=pa?ha:"https://apipre.wotohub.com",e.headers["appkey"]=aa(i),e.headers["timestamp"]=t,e.headers["nonce"]=n,e.headers["cookieid"]=a,e.headers["sign"]=Ln(r).hmacBytes,e.headers["token"]=localStorage.getItem("token"),e.headers["Content-Type"]="application/json",e.config&&e.config.contentType&&"formData"===e.config.contentType&&(e.headers["Content-Type"]="multipart/form-data");let s=localStorage.getItem("sourceApp");return s&&(e.headers["sourceApp"]=localStorage.getItem("sourceApp")),localStorage.getItem("token")&&(e.headers["token"]=localStorage.getItem("token")),localStorage.getItem("Authorization")&&(e.headers["Authorization"]=localStorage.getItem("Authorization")),localStorage.getItem("dss_token")&&(e.headers["dss-token"]=localStorage.getItem("dss_token")),e}),(function(e){return Promise.reject(e)})),ga.interceptors.response.use((function(e){503===e.status&&alert("服务器不可用,请联系管理员"),200!==e.status&&0!==e.status||("1006"===e.data.code||"用户未登录"===e.data.message)&&(localStorage.removeItem("user_info"),localStorage.removeItem("user_equity"),localStorage.removeItem("token"),localStorage.removeItem("dss_token"),localStorage.removeItem("referrer"),localStorage.removeItem("isRemindUnlock"),localStorage.removeItem("inboxPage"),localStorage.removeItem("outboxPage"),localStorage.removeItem("omaToken"),localStorage.removeItem("oma_token"),["www.wotohub.com","pre-hub.kuku.info"].includes(window.location.host)&&(window.location.href="/login"));try{if("object"===typeof e.data&&e.data.hasOwnProperty("code")&&0!=e.data.code){const t=JSON.parse(localStorage.getItem("user_info")||"{}"),n=t.user_id?t.user_id+"_":"";throw new Error(n+e.request.responseURL+e.request.responseText||e.data.code)}}catch(Rl){console.error("An error occurred:",Rl),Sa(Rl)}return e.data}),(function(e){return Promise.reject(e)}));const va=(e,t)=>new Promise(((n,i)=>{ga.get(e,{params:t}).then((e=>{n(e)})).catch((e=>{i(e)}))})),ya=(e,t)=>new Promise(((n,i)=>{ga.delete(e,{params:t}).then((e=>{n(e)})).catch((e=>{i(e)}))})),ba=(e,t)=>new Promise(((n,i)=>{ga.delete(e,{data:t}).then((e=>{n(e)})).catch((e=>{i(e)}))})),wa=(e,t,n)=>new Promise(((i,r)=>{ga.post(e,t,{responseType:n?"blob":"json"}).then((e=>{i(e)})).catch((e=>{r(e)}))})),_a=(e,t)=>new Promise(((n,i)=>{ga.put(e,t).then((e=>{n(e)})).catch((e=>{i(e)}))})),Ca=(e,t,n)=>ga({method:"post",url:e,data:t,onUploadProgress:n,config:{contentType:"formData"},headers:{"Content-Type":"multipart/form-data"}}),xa=localStorage.getItem("EDMDefaultEnv");function Sa(e){"dev"!==xa&&Ki.reportFrameErrors({service:"wotohubService",serviceVersion:"10.1.0",traceSDKInternal:!0,pagePath:location.href,useFmp:!0,collector:location.origin,jsErrors:!0,apiErrors:!0,resourceErrors:!0,autoTracePerf:!0,enableSPA:!0,detailMode:!0,noTraceOrigins:[],traceTimeInterval:6e4,vue:qn()},e)}"dev"!==xa&&Ki.register({service:"wotohubService",serviceVersion:"10.1.0",traceSDKInternal:!0,pagePath:location.href,useFmp:!0,collector:location.origin,jsErrors:!0,apiErrors:!0,resourceErrors:!0,autoTracePerf:!0,enableSPA:!0,detailMode:!0,noTraceOrigins:[],vue:qn()});const ka=xn.create({baseURL:"https://dss-apis.kuku.info"});ka.interceptors.request.use((e=>{if(e.data)for(const t in e.data)Aa(e.data[t])&&delete e.data[t];if(e.params)for(const t in e.params)Aa(e.params[t])&&delete e.params[t];return zi.getters.token&&(e.headers["Authorization"]="Bearer "+Yi()),e}),(e=>Promise.reject(e))),ka.interceptors.response.use((e=>{const t=e.data;try{if("object"===typeof e.data&&e.data.hasOwnProperty("code")&&0!=e.data.code){const t=JSON.parse(localStorage.getItem("user_info")||"{}"),n=t.user_id?t.user_id+"_":"";throw new Error(n+e.request.responseURL+e.request.responseText||e.data.code)}}catch(Rl){console.error("An error occurred:",Rl),Sa(Rl)}return Promise.resolve(t)}),(e=>(100003===e.response.data.code?(0,Un.Message)({message:e.response.data.message,type:"error",duration:5e3}):(0,Un.Message)({message:e.response.data.message?e.response.data.message:"网络错误,请稍后再试~",type:"error",duration:5e3}),Promise.reject(e))));var Ea=ka;function Aa(e){return"undefined"===typeof e||null===e||""===e}async function Da(e){let t=await wa("/user/userSystem/loginWithPassword",e);return t.data}function Oa(e){return Ea({url:"https://dss-apis.kuku.info/user/account/password",method:"POST",data:e})}async function Ta(e){let t=await Hn("https://api.kuku.info/koc/task/search",e);return t.data}async function Ia(){let e=await Hn("http://192.168.4.10:9528/writeEmail",{});return e.data}async function Pa(e){let t={sourceApp:"hub",bloggerName:"",subject:"",taskName:"",type:"",currentPage:1,pageSize:10},n=await Hn("http://192.168.4.10:8080/edm/mail/selOutbox",t);return n.data}var Fa={name:"edm-button",created(){},methods:{test(){let e='<html>\n <head>\n <meta http-equiv="Content-Type" content="text/html; charset=gb2312">\n <style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>\n </head>\n <body dir="ltr">\n <div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">\n This is a great project. I like it very much. Can you tell me the specific way of cooperation?\n </div>\n <div id="appendonsend"></div>\n <hr style="display:inline-block;width:98%" tabindex="-1">\n <div id="divRplyFwdMsg" dir="ltr">\n <font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>发件人:</b> e9f2b200-3423-11ef-85f0-525400450766@viralpromotors.com &lt;e9f2b200-3423-11ef-85f0-525400450766@viralpromotors.com&gt; 代表 marywrogers@viralpromotors.com &lt;marywrogers@viralpromotors.com&gt;<br><b>发送时间:</b> 2024年6月27日 9:23<br><b>收件人:</b> lectmaha &lt;lectmaha@hotmail.com&gt;<br><b>主题:</b> Business inquiry-Hisense wants collaboration-allhostaria</font>\n <div>\n &nbsp;\n </div>\n </div>\n <div>\n <p style="text-align:left"><span style="font-size:14px">Hi allhostaria,</span></p>\n <p style="text-align:left"><span style="font-size:14px">Hope this email finds you well.</span></p>\n <p style="text-align:left"><span style="font-size:14px">This is Anna from Wotokol, a famous influencer marketing company that connects international influencers and world-famous brands from China.</span></p>\n <p style="text-align:left"><span style="font-size:14px">You do really great content on your channel and here\'s a campaign that I\'d like to invite you to join.</span></p>\n <p style="text-align:left"><br></p>\n <p style="text-align:left"><span style="font-size:14px">Here is the info about this activity:</span></p>\n <p style="text-align:left"><span style="font-size:14px">Brand: Hisense &nbsp;</span><a href="https://sctrack.sendcloud.net/track/click2/eNolj8FuwyAQRP8FpTeC2TWsza39jipCeE1qK8RUAZ-q_ntwoj2sZuZpR_uNoyU7SCGkgAGcsWB6bONB9w7JO2cJ_ThoqwqfQXvnjfZA5rxuU963WZ9S5HoPS_hccttrUpzvQmopllp_y0f_1XU_KU8hqWUtcSvxALoXcQ2pxFZtBjWOClGBoSbrYz_cI2AmRDMb5wA0BeoBeQIOzMhXMm-qcH0Evql2feaU91ltsQr59y_fXzTo8gRda0GI.html" target="_blank"><span style="color:rgb(120,6,80); font-size:14px">https://global.hisense.com/</span></a></p>\n <p style="text-align:left"><span style="font-size:14px">Product models for different countries:</span></p>\n <p style="text-align:left"><span style="font-size:14px"><u>US:</u></span><span style="font-size:14px"> Hisense 100" Class U76 4K Google TV 100U76N Hisense (hisense-usa.com), Hisense 100" L9 Series TriChroma Laser TV (100L9H-DLT100C) (hisense-usa.com)</span></p>\n <p style="text-align:left"><span style="font-size:14px"><u>UK:</u></span><span style="font-size:14px"> Mini-LED Smart TV - 100U7KQTUK - Hisense, 4K Smart Laser TV - 120L9HTUKA - Hisense</span></p>\n <p style="text-align:left"><span style="font-size:14px">Deliverables: one 5-8 mins dedicated YTB video + video commercial usage rights for 3 months</span></p>\n <p style="text-align:left"><span style="font-size:14px">Post time: July 7-July 14, 2024</span></p>\n <p style="text-align:left"><br></p>\n <p style="text-align:left"><span style="font-size:14px">One of the products will be given to you, please let me know your rate for this collab if you\'re interested.</span></p>\n <p style="text-align:left"><span style="font-size:14px">Please feel free to contact me if you have any questions, hope to hear from you soon.</span></p>\n <p style="text-align:left"><br></p>\n <p style="text-align:left"><span style="font-size:14px">Best Regards,</span></p>\n <p style="text-align:left"><span style="font-size:14px">Anna Chen</span></p>\n <div style="display:flex; overflow-x:auto"></div>\n <div>\n <br><img width="1px" height="1px" src="https://pixel.xin/collect.gif?trace_id=pixel_667cbf27e4b0b64ffa8b634c">\n </div>\n <table cellpadding="0" cellspacing="0" border="0" width="100%">\n <tbody>\n <tr>\n <td align="center" style="overflow:hidden; font-size:0; padding:0; margin:0; line-height:0"><img alt="" style="width:0; height:0" src="https://sctrack.sendcloud.net/track/open2/eNolTs0KwyAYexfZ0YpaP39ue48xxH46WuYUqj2NvfssJYeQEJI8pAUNhhJCiTDCKRBqlgNe8NlJ7Z0DLb01HFjDSXDvvOJeaDVtZalHifyWE_ZPWMN9rYO3zLB-COUD5BVyS6NaGWYtk5IJpYfs-3G65-aCBpzEqCAugo9RjDw6GCckaAxXqmHfA75ZSyVirkdkJXVCvz96vRyh5x_lOzaT.gif"></td>\n </tr>\n </tbody>\n </table>\n <center>\n <table width="100%" align="center" style="max-width:900px; margin:0 auto; width:100%">\n <tbody>\n <tr align="center">\n </tr>\n <tr align="center">\n <td width="560" style="border-top:1px #e5e5e5 solid; padding-top:15px; padding-bottom:15px">\n <table border="0" cellspacing="0" cellpadding="0" align="center">\n <tbody>\n <tr>\n <td style="background-color:#ddd; border:1px #ddd solid; border-radius:4px; padding:3px 15px; text-align:center"><a href="https://sctrack.sendcloud.net/track/unsubscribe2.do?p=eNptTssKAjEM_JfisVua9H3zP0RKt63sYt3CPk7ivxv1KjOQZMhMckFvrHGcMc7AQdAGtEJCBKkC2hiCsRi9k0ZseQAZQ9QygtXDvIz9WIo8tZr3R5rSeepU5yZyfzAuCeyW2lYpWjvhvUAUoC2N-3qQOsD37H87UwZzwVB1Skp7byEZGEsoNVGj8JNK3PK-pnwXW11Kbv0oYqk7488X__1PS9c3Zbc_0g%3D%3D" target="_blank" rel="noopener" style="color:#a6a6a6; background:#ddd; font-size:12px; text-decoration:none">点击这里取消订阅<br>\n click to unsubscribe</a></td>\n </tr>\n </tbody>\n </table></td>\n </tr>\n </tbody>\n </table>\n </center>\n </div>\n </body>\n</html>';e=e.replace("https://pixel.xin/emailControl.php?mid=",""),e=e.replace("https://pixel.xin/hub.gif?mid=",""),e=e.replace(new RegExp("unsubscribe","g"),""),e=e.replace(/<head>[\s\S]*?<\/head>/i,""),e=e.replace(/<[^>]+>/g,""),e=e.replace(new RegExp("&nbsp;","g")," "),console.log(e)},getData(){login()},change(){Pa();let e={id:"theme-hub"};l(e)},handleTest1(){},change1(){let e={id:"theme-dss"};l(e)},handleLoginHub(){localStorage.setItem("sourceApp","hub"),Da({mobileOrEmail:"18270829507",password:"123123"}).then((e=>{e&&(alert("登陆成功"),e.token&&(localStorage.setItem("token",e.token),localStorage.setItem("user_info",JSON.stringify({...e,user_id:e.id})),Gi(e.token)))}))},handleLoginDSS(){localStorage.setItem("sourceApp","dss"),Oa({login_account:"tankangkang0147",password:"123123123"}).then((e=>{0===e.code&&(localStorage.setItem("Authorization","Bearer "+e.data.token),Gi(e.token))}))},handleGetlist(){Ta({page:1,aa:"1"}).then((e=>{}))},getCros(){alert(1),Ia()}}},Ma=Fa;function Ba(e,t,n,i,r,o,a,s){var l,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):r&&(l=s?function(){r.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}var Na=Ba(Ma,o,a,!1,null,"4ee4e6c2",null),Ra=Na.exports,$a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"inbox-container"},[t("div",{staticClass:"search-box"},[t("el-row",{attrs:{gutter:16}},[t("el-col",{attrs:{span:6}},[t("div",{staticClass:"blogger-search-item"},[t("span",[e._v(e._s(e.$t("inboxMail.search.bloggerName")))]),t("el-input",{attrs:{placeholder:e.$t("inboxMail.search.default"),clearable:""},model:{value:e.searchForm.bloggerName,callback:function(t){e.$set(e.searchForm,"bloggerName",t)},expression:"searchForm.bloggerName"}})],1)]),t("el-col",{attrs:{span:6}},[t("div",{staticClass:"blogger-search-item"},[t("span",[e._v(e._s(e.$t("inboxMail.search.title")))]),t("el-input",{attrs:{placeholder:e.$t("inboxMail.search.default"),clearable:""},model:{value:e.searchForm.subject,callback:function(t){e.$set(e.searchForm,"subject",t)},expression:"searchForm.subject"}})],1)]),t("el-col",{attrs:{span:6}},[t("div",{staticClass:"blogger-search-item"},[t("span",[e._v(e._s(e.$t("inboxMail.search.target")))]),t("el-input",{attrs:{placeholder:e.$t("inboxMail.search.default"),clearable:""},model:{value:e.searchForm.popularizePlanName,callback:function(t){e.$set(e.searchForm,"popularizePlanName",t)},expression:"searchForm.popularizePlanName"}})],1)]),t("el-col",{attrs:{span:6}},[t("div",{staticClass:"blogger-search-item"},[t("span",[e._v(e._s(e.$t("inboxMail.search.tagName")))]),t("el-select",{staticClass:"normal-select",attrs:{clearable:"",multiple:"","collapse-tags":"",filterable:"",placeholder:e.$t("inboxMail.search.defaultSelect")},on:{change:e.handleTagChange},model:{value:e.searchForm.selectTag,callback:function(t){e.$set(e.searchForm,"selectTag",t)},expression:"searchForm.selectTag"}},e._l(e.tags,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)])],1),t("el-row",{staticClass:"second-row",attrs:{gutter:16}},[t("el-col",{attrs:{span:6}},[t("div",{staticClass:"blogger-search-item"},[t("span",[e._v(e._s(e.$t("inboxMail.search.isStar")))]),t("el-select",{staticClass:"normal-select",attrs:{clearable:"",placeholder:e.$t("inboxMail.search.defaultSelect")},model:{value:e.searchForm.isStar,callback:function(t){e.$set(e.searchForm,"isStar",t)},expression:"searchForm.isStar"}},[t("el-option",{attrs:{value:0,label:e.$t("inboxMail.search.all")}}),t("el-option",{attrs:{value:1,label:e.$t("inboxMail.search.starred")}})],1)],1)]),t("el-col",{attrs:{span:6}},[t("div",{staticClass:"blogger-search-item"},[t("span",[e._v(e._s(e.$t("inboxMail.search.isRead")))]),t("el-select",{staticClass:"normal-select",attrs:{clearable:"",placeholder:e.$t("inboxMail.search.defaultSelect")},model:{value:e.searchForm.isRead,callback:function(t){e.$set(e.searchForm,"isRead",t)},expression:"searchForm.isRead"}},[t("el-option",{attrs:{value:1,label:e.$t("inboxMail.search.unRead")}}),t("el-option",{attrs:{value:2,label:e.$t("inboxMail.search.read")}})],1)],1)]),t("el-col",{attrs:{span:6}},[t("div",{staticClass:"blogger-search-item"},[t("span",[e._v(e._s(e.$t("inboxMail.search.isReply")))]),t("el-select",{staticClass:"normal-select",attrs:{clearable:"",placeholder:e.$t("inboxMail.search.defaultSelect")},model:{value:e.searchForm.isReply,callback:function(t){e.$set(e.searchForm,"isReply",t)},expression:"searchForm.isReply"}},[t("el-option",{attrs:{value:1,label:e.$t("inboxMail.search.replyTrue")}}),t("el-option",{attrs:{value:0,label:e.$t("inboxMail.search.replyFalse")}})],1)],1)]),t("el-col",{attrs:{span:6}},[t("div",{staticClass:"blogger-search-item"},[t("span",[e._v(e._s(e.$t("inboxMail.search.replayTime")))]),t("el-select",{staticClass:"normal-select",attrs:{clearable:"",placeholder:e.$t("inboxMail.search.defaultSelect")},model:{value:e.searchForm.timeRange,callback:function(t){e.$set(e.searchForm,"timeRange",t)},expression:"searchForm.timeRange"}},[t("el-option",{attrs:{value:"1",label:e.$t("inboxMail.search.time1")}}),t("el-option",{attrs:{value:"2",label:e.$t("inboxMail.search.time2")}}),t("el-option",{attrs:{value:"3",label:e.$t("inboxMail.search.time3")}})],1)],1)])],1),t("el-row",{staticClass:"second-row last-row",attrs:{gutter:16}},[t("el-col",{attrs:{span:6}},[t("div",{staticClass:"blogger-search-item"},[t("span",[e._v(e._s(e.$t("inboxMail.search.sendEmail")))]),t("el-select",{staticClass:"normal-select",attrs:{placeholder:e.$t("inboxMail.search.defaultSelect"),clearable:""},model:{value:e.searchForm.sentMail,callback:function(t){e.$set(e.searchForm,"sentMail",t)},expression:"searchForm.sentMail"}},e._l(e.qyEmailList,(function(e){return t("el-option",{key:e.value,attrs:{value:e.value,label:e.label}})})),1)],1)]),t("el-col",{attrs:{span:6}},[t("div",{staticClass:"blogger-btn"},[t("el-button",{staticStyle:{width:"80px"},attrs:{size:"small",type:"primary"},on:{click:function(t){e.searchForm.currentPage=1,e.init()}}},[e._v(e._s(e.$t("inboxMail.searchButton.search")))]),t("el-button",{staticStyle:{width:"80px"},attrs:{size:"small"},on:{click:e.reset}},[e._v(e._s(e.$t("inboxMail.search.reset")))])],1)])],1)],1),t("div",{staticClass:"mail-wrap legacy relative"},[t("div",{staticClass:"tool"},[t("div",{staticClass:"flex"},[t("div",{staticClass:"tool-item mr8",on:{click:function(t){return e.init()}}},[t("el-tooltip",{staticClass:"item1",attrs:{"popper-class":"wt-tooltip-mail",content:e.$t("edm5.v1"),placement:"top"}},[t("i",{staticClass:"dss-iconfont icon-refresh-1"})])],1),t("div",{staticClass:"tool-item mr8",on:{click:function(t){return e.del()}}},[t("el-tooltip",{attrs:{"popper-class":"wt-tooltip-mail",content:e.$t("edm5.v2"),placement:"top"}},[t("i",{staticClass:"dss-iconfont icon-delete-2"})])],1),t("div",{staticClass:"tool-item mr8",on:{click:function(t){return e.setUnRead()}}},[t("el-tooltip",{attrs:{"popper-class":"wt-tooltip-mail",content:e.$i18n.t("inboxMail.search.setUnRead"),placement:"top"}},[t("i",{staticClass:"dss-iconfont relative icon-unread mail-unread mail-status"})])],1),t("div",{staticClass:"tool-item mr8",on:{click:function(t){return e.setHasRead()}}},[t("el-tooltip",{attrs:{"popper-class":"wt-tooltip-mail",content:e.$i18n.t("inboxMail.search.setHasRead"),placement:"top"}},[t("i",{staticClass:"dss-iconfont relative"},[e._v("")])])],1),t("div",{staticClass:"tool-item",on:{click:e.multiReply}},[t("el-tooltip",{attrs:{"popper-class":"wt-tooltip-mail",content:e.$i18n.t("inboxMail.search.batchReply"),placement:"top"}},[t("i",{staticClass:"dss-iconfont icon-plhf"})])],1),t("div",{staticClass:"tool-item",on:{click:e.hideAiMail}},[t("el-tooltip",{attrs:{"popper-class":"wt-tooltip-mail",content:e.isShowAiMail?"隐藏AI邮件":"显示AI邮件",placement:"top"}},[t("i",{staticClass:"dss-iconfont"},[e._v("")])])],1)])]),t("div",{ref:"mail",staticClass:"mail-body"},[t("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"table",style:{"min-height":`${e.tableHeight}px`},attrs:{data:e.tableData,"header-cell-class-name":e.headCellClass,"cell-class-name":e.cellClass,"row-class-name":e.rowClass,"row-key":e.getRowKeys},on:{"selection-change":e.switchMail,"row-contextmenu":e.rightClick,"row-click":e.skipDetail}},[t("el-table-column",{attrs:{"reserve-selection":!0,type:"selection",align:"center",width:"48"}}),t("el-table-column",{attrs:{width:"45"},scopedSlots:e._u([{key:"default",fn:function({row:n}){return[t("span",{on:{click:function(t){return t.stopPropagation(),e.isFavorites(n)}}},[t("i",{class:0===n.isStar?"start-icon pm-iconfont icon-star0":"start-icon pm-iconfont icon-star1 starcolor"})])]}}])}),t("el-table-column",{attrs:{width:"45"},scopedSlots:e._u([{key:"default",fn:function({row:n}){return["1"===n.mailStatus?t("span",[t("i",{staticClass:"dss-iconfont icon-contact2",style:{color:e.primary}})]):e._e(),"2"===n.mailStatus?t("span",{on:{click:function(t){return t.stopPropagation(),e.changeRead(n)}}},[t("el-tooltip",{attrs:{"popper-class":"wt-tooltip-mail",content:e.$i18n.t("inboxMail.search.setUnRead"),placement:"top"}},[t("i",{staticClass:"dss-iconfont relative icon-read-2 mail-read"})])],1):e._e()]}}])}),t("el-table-column",{attrs:{width:"70"},scopedSlots:e._u([{key:"default",fn:function({row:n}){return[1===n.isReply?t("span",[e._v(" "+e._s(e.$t("inboxMail.search.replyTrue"))+" ")]):t("span")]}}])}),t("el-table-column",{attrs:{width:"200"},scopedSlots:e._u([{key:"default",fn:function({row:n}){return[t("div",{staticClass:"blogger-column"},[t("el-tooltip",{attrs:{disabled:!(n.bloggerHover&&n.bloggerHover.bloggerId),"popper-class":"wt-tooltip-edm-blogger",placement:"top"}},[t("div",{staticClass:"blogger-card",attrs:{slot:"content"},slot:"content"},[t("div",{staticClass:"card-top"},[t("div",{staticClass:"top-left"},[t("el-image",{staticClass:"blogger-img",attrs:{src:n.bloggerHover.avatar}}),t("img",{staticClass:"platform-img",attrs:{src:i(2183)(`./${n.bloggerHover.platform||"youtube"}.png`)}})],1),t("div",{staticClass:"top-right"},[t("div",{staticClass:"blogger-name"},[t("div",{staticClass:"name"},[e._v(" "+e._s(n.bloggerHover.nickname)+" ")]),t("img",{staticClass:"flage",attrs:{src:n.bloggerHover.regionFlag,alt:""}}),t("div",{staticClass:"country"},[e._v(" "+e._s(n.bloggerHover.regionNameZh)+" ")])]),t("div",{staticClass:"blogger-data"},[t("div",{staticClass:"data-item"},[t("div",{staticClass:"item-label"},[e._v("粉丝数")]),t("div",{staticClass:"item-value"},[e._v(" "+e._s(e._f("numFormat")(n.bloggerHover.fansCount))+" ")])]),t("div",{staticClass:"data-item"},[t("div",{staticClass:"item-label"},[e._v("平均观看量")]),t("div",{staticClass:"item-value"},[e._v(" "+e._s(e._f("numFormat")(n.bloggerHover.viewVolumeAvg60d))+" ")])])])])]),t("div",{staticClass:"card-bottom"},[t("div",{staticClass:"bottom-item channel-item"},[t("div",{staticClass:"label"},[e._v("频道ID")]),t("div",{staticClass:"value"},[t("span",{staticClass:"text"},[e._v(e._s(n.bloggerHover.username))]),t("i",{staticClass:"dss-iconfont",on:{click:function(t){return e.copyText(n.bloggerHover.username)}}},[e._v("")])])]),t("div",{staticClass:"bottom-item tag-item"},[t("div",{staticClass:"label"},[e._v("标签")]),n.bloggerHover.tags&&n.bloggerHover.tags.length>0?t("div",{staticClass:"value"},e._l(n.bloggerHover.tags.slice(0,3),(function(n){return t("div",{key:n,staticClass:"tag"},[e._v(" "+e._s(n)+" ")])})),0):t("div",{staticClass:"value"},[e._v("-")])]),t("div",{staticClass:"bottom-item"},[t("div",{staticClass:"label"},[e._v("报价")]),t("div",{staticClass:"value"},[2==n.bloggerHover.quoteType&&n.bloggerHover.amount?t("span",{staticClass:"text"},[e._v(e._s(n.bloggerHover.amount)+e._s(n.bloggerHover.currencyName))]):1==n.bloggerHover.quoteType?t("span",[e._v("免费置换")]):t("span",{staticClass:"text"},[e._v("-")])])]),t("div",{staticClass:"bottom-item plan-item"},[t("div",{staticClass:"label"},[e._v("推广计划")]),n.bloggerHover.planCoop&&n.bloggerHover.planCoop.planId?t("div",{staticClass:"value"},[t("div",{staticClass:"plan-list"},[t("span",{staticClass:"text"},[e._v(e._s(n.bloggerHover.planCoop.planName))]),t("div",{staticClass:"other"},[n.bloggerHover.planCoop.coopModifyTime?t("span",{staticClass:"sub-text"},[e._v(e._s(e.formatDate(n.bloggerHover.planCoop.coopModifyTime)))]):e._e(),t("span",{staticClass:"sub-text"},[e._v(e._s(n.bloggerHover.planCoop.coopStatusStr))])])])]):t("div",{staticClass:"value"},[e._v("-")])])])]),t("div",{staticClass:"blogger-col",on:{click:function(t){return t.stopPropagation(),e.toBloggerDetail(n)}}},[n.bloggerHover.avatar?t("el-image",{staticClass:"blogger-img",attrs:{fit:"cover",src:n.bloggerHover.avatar}}):e._e(),t("p",{class:{beyond_eip:!0,is_not_Ai_Woto_mail:0==n.isAiWoto,"font-bold .text-gray-700":1===n.isRead}},[e._v(" "+e._s(n.bloggerName)+" ")])],1)]),1==n.isAiWoto?t("img",{staticClass:"ai-flag",attrs:{src:i(251),alt:""}}):e._e()],1)]}}])}),t("el-table-column",{attrs:{width:"140"},scopedSlots:e._u([{key:"default",fn:function({row:n}){return[t("div",{staticClass:"mail-task flex items-center"},[""!==n.popularizePlanName&&null!==n.popularizePlanName?[t("i",{staticClass:"dss-iconfont icon-task",staticStyle:{"font-size":"22px"},style:{color:2===n.isRead?"#999999":"#FF5277"},on:{click:function(t){return t.stopPropagation(),e.skipPlan(n)}}}),t("span",{staticClass:"beyond_eip",class:1===n.isRead?"font-bold text-gray-700":"",attrs:{title:n.popularizePlanName},on:{click:function(t){return t.stopPropagation(),e.skipPlan(n)}}},[e._v(e._s(n.popularizePlanName))])]:t("span",[e._v(e._s(e.$t("inboxMail.search.noTask")))])],2)]}}])}),t("el-table-column",{ref:"a1",scopedSlots:e._u([{key:"default",fn:function({row:n}){return[t("div",{staticClass:"mail-main"},[1===n.isAttachment?t("i",{staticClass:"dss-iconfont icon-file-3",staticStyle:{"margin-right":"2px"}}):e._e(),t("span",{staticClass:"mail-subject beyond_eip mr8",class:1===n.isRead?"font-bold text-gray-700":""},[e._v(e._s(n.subject))]),t("span",{staticClass:"mail-content beyond_eip ml6 mr16",staticStyle:{color:"#999999"},domProps:{innerHTML:e._s(e.filterHtmlTag(n.content))}}),t("div",{ref:"mailTagList",staticClass:"mail-tag"},e._l(n.tagList,(function(i,r){return t("div",{key:r,staticClass:"mail-tag-item inbox-item",style:{color:"#fff",background:i.tagColor},attrs:{title:i.tagName},on:{click:function(t){return t.stopPropagation(),e.handleBindTag(n,i)}}},[e._v(" "+e._s(i.tagName.length>6?i.tagName.slice(0,6)+" ...":i.tagName)+" "),t("i",{staticClass:"el-icon-close inbox-icon-close"})])})),0),t("div",{staticClass:"add-block"}),t("div",{staticClass:"tag-add"},[t("span",{staticClass:"tag-btn",staticStyle:{"font-size":"12px"},on:{click:function(t){return t.stopPropagation(),e.addMailTag(n)}}},[t("span",[e._v("+")]),e._v(" "+e._s(e.$t("inboxTable.addTag")))])])])]}}])}),t("el-table-column",{attrs:{width:"160"},scopedSlots:e._u([{key:"default",fn:function({row:n}){return[t("p",{staticStyle:{color:"#666666"}},[e._v(" "+e._s(n.createTime)+" ")])]}}])})],1)],1),t("div",{staticClass:"mail-foot mb16"},[e.tableTotal>0?t("el-pagination",{attrs:{"current-page":e.searchForm.currentPage,total:e.tableTotal,"page-size":e.searchForm.pageSize,background:"",layout:"total, sizes, prev, pager, next, jumper"},on:{"update:currentPage":function(t){return e.$set(e.searchForm,"currentPage",t)},"update:current-page":function(t){return e.$set(e.searchForm,"currentPage",t)},"current-change":e.changePage,"size-change":e.changeSize}}):e._e()],1)]),e.isShowSettag?t("AddTagsDialog",{attrs:{isShowDialog:e.isShowSettag,defaultTag:e.selectedTags},on:{updateTag:e.updateTag,closeAddTagsDialog:function(t){e.isShowSettag=!1}}}):e._e(),t("el-dialog",{attrs:{title:e.$t("inboxTable.tip"),visible:e.dialogVisible,width:"420px","show-close":!0},on:{"update:visible":function(t){e.dialogVisible=t}}},[t("div",{staticClass:"delete-shield",staticStyle:{display:"flex"}},[t("i",{staticClass:"delete-shield-icon el-icon-warning"}),t("div",{staticStyle:{display:"flex","flex-direction":"column"}},[t("span",[e._v(e._s(e.$t("inboxTable.delMail"))+"?")]),t("span",[e._v(e._s(e.$t("inboxTable.deleteTip")))])])]),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{size:"small"},on:{click:function(t){e.dialogVisible=!1}}},[e._v(e._s(e.$t("inboxTable.cancel")))]),t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.handleConfirmDel}},[e._v(e._s(e.$t("inboxTable.confirm")))]),t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.handleDelShield}},[e._v(e._s(e.$t("inboxTable.delShieldBtn")))])],1)])],1)},ja=[];i(8111),i(2489),i(7588),i(1701);async function La(e){let t=await wa("/edm/inbox/selInbox",e);return"0"===t.code?t.data:null}async function za(e){let t=await wa("/edm/inbox/setBatchAsUnread",e);return t}async function Va(e){let t=await wa("/edm/inbox/setBatchAsRead",e);return t}async function Ha(){let e=await va("/edm/inbox/mailRemind");return e?e.data:null}async function Ua(e){let t=await _a("/edm/inbox/signRead",e);return!!t.success||null}async function Wa(e){let t=await ba("/edm/inbox/delInbox",e);return t.success}async function qa(e){let t=await ba("/edm/inbox/delInboxAndShield",e);return t.success}async function Ya(e){let t=await _a("/edm/inbox/starInbox",e);return t.success}async function Ga(e){let t=await va(`/edm/inbox/inboxDetail/${e}`);return t.success?t.data:null}async function Ka(e){let t=await va(`/edm/inbox/inboxDialogue/${e}`);return t.success?t.data:(Un.Message.error(t.message),null)}async function Xa(e){let t=await ba("/edm/inbox/delOneMail",e);return t||null}async function Za(e){let t=await _a("/edm/tag/bindTag",e);return"0"===t.code||null}async function Ja(){let e=await va("/edm/tag/tags"),t=[{id:10464,tag:"很有希望",tagColor:"#1F81FF",tagType:2},{id:10465,tag:"系统标签1",tagColor:"#1F81FF",tagType:1},{id:10466,tag:"自定义标签3",tagColor:"#1F81FF",tagType:1},{id:10467,tag:"自定义标签2",tagColor:"#1F81FF",tagType:2},{id:10468,tag:"自定义标签1",tagColor:"#1F81FF",tagType:2}];return"0"===e.code?e.data:t}async function Qa(e){let t=await wa("/edm/mail/preUpload",e);return t||null}async function es(e){let t=await wa("/edm/mail/preAbroadUpload",e);return t||null}async function ts(e,t,n){return await Ca(e,t,n)}async function ns(e){let t=await wa("/edm/outboxV2/multiReply",e);return t}function is(e){return wa("/woto-crm/plan/planListToAdd",e)}function rs(e){return va(`/edm/inbox/inboxCrmData/${e}`)}function os(e){return wa("/woto-crm/planBlog/updatePlanBlogStatus",e)}function as(){return va("/user/equity/userAiPoint")}function ss(e){return va(`/edm/inbox/emailSummary/${e}`)}function ls(e){return va(`/edm/inbox/emailSummary/generate/${e}`)}function cs(e){return va(`/edm/inbox/smartReply/${e}`)}function us(e){return va(`/edm/inbox/keyInformation/${e}`)}function ds(e){return va(`/edm/inbox/keyInformation/extract/${e}`)}function hs(e){return wa("/edm/outbox/aiReply2Write/save",e)}function ps(e){return wa("/user/info/addBlogInfo",e)}function fs(e){return wa("/edm/inbox/aiUserFeedBack/save",e)}function ms(e){return va(`/edm/inbox/aiUserFeedBack/${e}`)}function gs(e){return wa("/woto-crm/planBlog/batchMovePlanBlog",e)}function vs(e){return wa("/edm/inbox/refreshInboxCrm",e)}function ys(e){return va(`/edm/inbox/aiReplyStrategy/generate/${e}`)}function bs(){return va("/edm/ai/aiEmailStrategy/get")}function ws(e){return va(`/edm/inbox/emailStrategy/${e}`)}function _s(){return va("/edm/dictionary/languages/get")}function Cs(){return va("/edm/dictionary/tones/get")}function xs(e){return wa("/edm/inbox/smartReply/generate",e)}function Ss(e){return va("/edm/qiye/mailOwnerCheck",e)}function ks(e){return wa("/woto-crm/planBlog/addPlanBlog",e)}function Es(e){return va("/edm/tag/searchTags",e)}function As(e){return ya(`/edm/tag/delTag/${e}`)}function Ds(e){return wa("/edm/tag/addSign",e)}function Os(e){return va("/user/hubUser/sonFather",e)}function Ts(e){return va("/edm/template/templates",e)}function Is(e){return va("/edm/inbox/selBloggerHover",e)}function Ps(e){return va(`/edm/conf/user/${e}/getBizEmails`)}function Fs(e){return va("/wonderland/api/invite/getJobBloggerInfoByChatId",e)}function Ms(e){return va("/user/user/allowAccess",e)}var Bs=function(){var e=this,t=e._self._c;return t("div",{staticClass:"wrap"},["inbox"===e.searchType?t("div",{staticClass:"search"},[e._l(e.inbox,(function(n,i){return t("div",{key:i,staticClass:"search-item"},[t("span",[e._v(e._s(e.$t(n.key)))]),t("div",[t("el-input",{attrs:{placeholder:"请输入内容",clearable:""},model:{value:e.query[n.key],callback:function(t){e.$set(e.query,n.key,t)},expression:"query[item.key]"}})],1)])})),t("div",{staticClass:"search-item"},[t("el-button",{staticClass:"search-btn",attrs:{type:"primary"},on:{click:e.handleSearch}},[e._v(e._s(e.$i18n.t("searchButton.search")))]),t("el-button",{staticClass:"search-btn",on:{click:e.handleReset}},[e._v(e._s(e.$i18n.t("searchButton.reset")))])],1)],2):e._e(),"outbox"===e.searchType?t("div",{staticClass:"search"},[e._l(e.outbox,(function(n,i){return t("div",{key:i,staticClass:"search-item"},[t("span",{key:i},[e._v(e._s(n.txt))]),t("div",[t("el-input",{attrs:{placeholder:"请输入内容",clearable:""},model:{value:e.query[n.key],callback:function(t){e.$set(e.query,n.key,t)},expression:"query[item.key]"}})],1)])})),t("div",{staticClass:"search-item"},[t("el-button",{staticClass:"search-btn",attrs:{type:"primary"},on:{click:e.handleSearch}},[e._v("查询")]),t("el-button",{staticClass:"search-btn",attrs:{type:"primary","&#x26;#x3C;el-button":""},on:{click:e.handleReset}},[e._v(e._s(e.$t("edm5.v44")))])],1)],2):e._e()])},Ns=[],Rs={name:"edm-search",props:{searchType:{default:"inbox",type:String}},data(){return{query:{},test:[{name:"search.name"}],aa:this.$i18n.t("search.name"),outbox:[{id:oa.v1(),key:"name",txt:"红人名称:",type:"input"},{id:oa.v1(),key:"title",txt:"标题正文:",type:"input"},{id:oa.v1(),key:"target",txt:"任务名称:",type:"input"},{id:oa.v1(),kety:"mail",txt:"邮件类型:",type:"select"}],inbox:[{id:oa.v1(),key:"search.name",txt:"红人名称",type:"input"},{id:oa.v1(),key:"search.title",txt:"正文标题:",type:"input"},{id:oa.v1(),key:"search.target",txt:"任务名称:",type:"input"},{id:oa.v1(),key:"search.tag",txt:"标签名称:",type:"select"},{id:oa.v1(),key:"search.isRead",txt:"已读状态:",type:"select"}]}},created(){},methods:{handleSearch(){let e=Object.entries(this.query),t=Object.fromEntries(e);this.$emit("handleSearch",t)},handleReset(){let e=Object.entries(this.query);Object.fromEntries(e);this.query["search.name"]&&(this.query["search.name"]=""),this.query["search.title"]&&(this.query["search.title"]=""),this.query["search.target"]&&(this.query["search.target"]=""),this.$emit("handleReset")}}},$s=Rs,js=Ba($s,Bs,Ns,!1,null,"4d651f22",null),Ls=js.exports;i(116);function zs(e,t){if(0===arguments.length||!e)return null;const n=t||"{y}-{m}-{d} {h}:{i}:{s}";let i;"object"===typeof e?i=e:("string"===typeof e&&(e=/^[0-9]+$/.test(e)?parseInt(e):e.replace(new RegExp(/-/gm),"/")),"number"===typeof e&&10===e.toString().length&&(e*=1e3),i=new Date(e));const r={y:i.getFullYear(),m:i.getMonth()+1,d:i.getDate(),h:i.getHours(),i:i.getMinutes(),s:i.getSeconds(),a:i.getDay()},o=n.replace(/{([ymdhisa])+}/g,((e,t)=>{const n=r[t];return"a"===t?["日","一","二","三","四","五","六"][n]:n.toString().padStart(2,"0")}));return o}function Vs(e,t){return e.map((function(e,n){return e[t]}))}function Hs(e){const t=new Date,n=new Date(t-864e5*(e-1)),i=t.getFullYear(),r=t.getMonth()+1,o=t.getDate(),a=n.getFullYear(),s=n.getMonth()+1,l=n.getDate(),c=i+"-"+(r<10?"0"+r:r)+"-"+(o<10?"0"+o:o),u=a+"-"+(s<10?"0"+s:s)+"-"+(l<10?"0"+l:l);return[u,c]}function Us(){var e=new Date,t=e.getFullYear(),n=e.getMonth()+1,i=e.getDate(),r=e.getHours(),o=e.getMinutes(),a=e.getSeconds();n>=1&&n<=9&&(n="0"+n),i>=0&&i<=9&&(i="0"+i),o>=0&&o<=9&&(o="0"+o),a>=0&&a<=9&&(a="0"+a);var s=t+n+i+r+o+a;return s}function Ws(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}function qs(e){const t=new Date((new Date).getTime()+6e4*(new Date).getTimezoneOffset()+288e5),n=new Date(e),i=(n-t)/1e3;return i<3600?"1小时内发送":i>=3600&&i<86400?Math.ceil(i/3600)+"小时后发送":i>=86400&&i<=2592e3?Math.ceil(i/86400)+"天后发送":e}function Ys(e,t){Gs(e,(function(e){Ks(e,t)}))}function Gs(e,t){let n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="blob",n.onload=function(){if(200!==n.status)return window.open(e,"_blank"),!1;t(n.response)},n.onerror=function(){return window.open(e,"_blank"),!1},n.send()}function Ks(e,t){if(window.navigator.msSaveOrOpenBlob)navigator.msSaveBlob(e,t);else{let n=document.createElement("a");n.href=window.URL.createObjectURL(e),n.download=t,n.click(),window.URL.revokeObjectURL(n.href)}}function Xs(e){const t=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;return t-e}function Zs(e){const t={};return Object.keys(e).forEach((n=>{Array.isArray(e[n])&&0===e[n].length||""===e[n]||null===e[n]||void 0===e[n]||(t[n]=e[n])})),t}async function Js(e=!1,t=0,n){try{let i=await as();return"0"===i.code?(e&&(0===i.data||i.data<t)?Un.Message.error("您的AI点数不足,请联系客服,充值后使用"):e&&i.data>=t&&n(i.data),i.data):0}catch(Rl){return 0}}function Qs(e){const t=[{label:"美元",value:0,code:"USD",symbol:"$"},{label:"欧元",value:1,code:"EUR",symbol:"€"},{label:"英镑",value:2,code:"GBP",symbol:"£"},{label:"日元",value:3,code:"JPY",symbol:"¥"},{label:"人民币",value:4,code:"CNY",symbol:"¥"},{label:"加拿大元",value:5,code:"CAD",symbol:"$"},{label:"澳大利亚元",value:6,code:"AUD",symbol:"$"},{label:"瑞士法郎",value:7,code:"CHF",symbol:"Fr"},{label:"新西兰元",value:8,code:"NZD",symbol:"$"},{label:"韩元",value:9,code:"KRW",symbol:"₩"},{label:"印度卢比",value:10,code:"INR",symbol:"₹"},{label:"巴西雷亚尔",value:11,code:"BRL",symbol:"R$"},{label:"南非兰特",value:12,code:"ZAR",symbol:"R"},{label:"西班牙比塞塔",value:13,code:"ESP",symbol:"₧"},{label:"泰国铢",value:14,code:"THB",symbol:"฿"},{label:"瑞典克朗",value:15,code:"SEK",symbol:"kr"},{label:"新加坡元",value:16,code:"SGD",symbol:"$"},{label:"阿联酋迪拉姆",value:17,code:"AED",symbol:"د.إ"},{label:"墨西哥比索",value:18,code:"MXN",symbol:"$"},{label:"俄罗斯卢布",value:19,code:"RUB",symbol:"₽"},{label:"沙特里亚尔",value:20,code:"SAR",symbol:"ر.س"},{label:"马来西亚林吉特",value:21,code:"MYR",symbol:"RM"},{label:"港元",value:22,code:"HKD",symbol:"HK$"},{label:"柬埔寨瑞尔",value:23,code:"KHR",symbol:"៛"},{label:"菲律宾比索",value:24,code:"PHP",symbol:"₱"},{label:"越南盾",value:25,code:"VND",symbol:"₫"},{label:"印尼盾",value:26,code:"IDR",symbol:"Rp"}];let n="";return t.forEach((t=>{t.value==e&&(n=t.symbol)})),n}var el=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{visible:e.isShowDialog,title:e.$t("NP.np65"),"close-on-click-modal":!1,width:"600px","custom-class":"add-tags-dialog","append-to-body":e.appendBody},on:{"update:visible":function(t){e.isShowDialog=t},close:e.closeAddTagsDialog}},[t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}]},[t("div",{staticClass:"operate-box"},["search"===e.optType?t("div",{staticClass:"search-tag"},[t("el-input",{staticClass:"search-input",attrs:{placeholder:e.$t("NP.np178"),clearable:""},on:{clear:e.getPublishTags},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.getPublishTags.apply(null,arguments)}},model:{value:e.searchKeywords,callback:function(t){e.searchKeywords=t},expression:"searchKeywords"}},[t("i",{staticClass:"iconfont icon-a-sousuoxiao15x",attrs:{slot:"suffix"},on:{click:e.getPublishTags},slot:"suffix"})]),t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.handleAddTag}},[t("i",{staticClass:"el-icon-plus"}),e._v(e._s(e.$t("NP.np179")))])],1):t("div",{staticClass:"add-tag"},[t("el-input",{attrs:{placeholder:e.$t("inboxTagDialog.default")},model:{value:e.tagInputValue,callback:function(t){e.tagInputValue=t},expression:"tagInputValue"}},[t("div",{staticClass:"popup-colorPicker",attrs:{slot:"suffix"},slot:"suffix"},[t("div",{staticClass:"custom-picker-icon"},[t("i",{staticClass:"dss-iconfont icon-tianse",style:{color:e.iconColor}}),t("el-color-picker",{attrs:{predefine:e.predefineColors,size:"mini","color-format":"hex"},on:{change:e.pickerChange},model:{value:e.tagColor,callback:function(t){e.tagColor=t},expression:"tagColor"}})],1)])]),t("div",{staticClass:"add",on:{click:e.addPublishTag}},[t("i",{staticClass:"el-icon-check"})]),t("div",{staticClass:"cancel",on:{click:e.handleCancelAdd}},[t("i",{staticClass:"el-icon-close"})])],1)]),t("div",{staticClass:"all-tag"},e._l(e.allTagsArr,(function(n){return t("el-tag",{key:n.id,staticClass:"tag-item",style:{"background-color":n.tagColor},on:{click:function(t){return e.selectTag(n)}}},[e._v(e._s(n.tag)),2===n.tagType?t("i",{staticClass:"dss-iconfont icon-close",on:{click:function(t){return t.stopPropagation(),e.deletePublishTag(n.id)}}}):e._e()])})),1),t("div",{staticClass:"title"},[e._v(e._s(e.$t("inboxTagDialog.selectTag"))+":")]),t("div",{staticClass:"selected-tags"},e._l(e.selectedTagsArr,(function(n){return t("el-tag",{key:n.tag,staticClass:"tag-item",style:{"background-color":n.tagColor}},[e._v(e._s(n.tag)),t("i",{staticClass:"dss-iconfont icon-close",on:{click:function(t){return e.clearTag(n.tag)}}})])})),1)]),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:e.cancelAddTags}},[e._v(e._s(e.$t("common.cancle")))]),t("el-button",{attrs:{type:"primary"},on:{click:e.confirmAddTags}},[e._v(" "+e._s(e.$t("common.confirm"))+" ")])],1)])},tl=[],nl={props:{isShowDialog:{type:Boolean,default:!1},defaultTag:{type:Array,default:()=>[]},appendBody:{type:Boolean,default:!1},isOnlyTagName:{type:Boolean,default:!1}},data(){return{loading:!1,searchKeywords:"",tagInputValue:"",tagColor:"#808080",iconColor:"#808080",predefineColors:["#FF5277","#FF9EC3","#BF9EFF","#4BB792","#FFAA36","#52BAFF","#5F52FF","#27C9B6"],allTagsArr:[],selectedTagsArr:[],optType:"search"}},async created(){await this.getPublishTags(),this.initDefaultTag()},methods:{initDefaultTag(){const e=[];this.defaultTag.forEach((t=>{const n=this.allTagsArr.find((e=>e.tag===t));n?e.push({...n}):e.push({tag:t,tagColor:"#808080",tagType:2})})),this.selectedTagsArr=e},closeAddTagsDialog(){this.$emit("closeAddTagsDialog")},cancelAddTags(){this.closeAddTagsDialog()},confirmAddTags(){const e=this.selectedTagsArr.map((e=>this.isOnlyTagName?e.tag:e));console.log(this.selectedTagsArr),this.$emit("updateTag",e),this.closeAddTagsDialog()},pickerChange(e){this.iconColor=e},handleAddTag(){this.optType="add",this.searchKeywords=""},handleCancelAdd(){this.optType="search"},async getPublishTags(){try{this.loading=!0;const e=await Es({tagValue:this.searchKeywords});"0"===e.code&&(this.allTagsArr=e.data||[])}catch(Rl){console.log(Rl)}finally{this.loading=!1}},async addPublishTag(){try{if(!this.validateTag())return!1;const e=await Ds({tag:this.tagInputValue,tagColor:this.tagColor});"0"===e.code?(this.selectedTagsArr.push({tag:this.tagInputValue,tagColor:this.tagColor}),this.tagInputValue="",this.getPublishTags()):this.$message.error(e.message)}catch(Rl){console.log(Rl)}},async deletePublishTag(e){try{const t=await As(e);"0"===t.code&&setTimeout((()=>{this.getPublishTags()}),500)}catch(Rl){console.log(Rl)}},validateTag(){const e=this.tagInputValue;return""===e?(this.$message({type:"warning",message:this.$t("inboxTagDialog.default")}),!1):!(e.length>30)||(this.$message({type:"warning",message:"标签最多30个字符!"}),!1)},selectTag(e){const t=this.selectedTagsArr.findIndex((t=>t.tag===e.tag));if(t>-1)return!1;this.selectedTagsArr.push(e)},clearTag(e){this.selectedTagsArr=this.selectedTagsArr.filter((t=>t.tag!==e))}}},il=nl,rl=Ba(il,el,tl,!1,null,"5db4fac2",null),ol=rl.exports,al=i(4353),sl=i.n(al),ll={name:"edm-inbox",components:{Search:Ls,AddTagsDialog:ol},props:{sourceApp:{type:String,default:""},taskDetailUrl:{type:String,default:"/taskDetail"},defaultTop:{type:Number,default:118}},data(){return{primary:"dss"===localStorage.getItem("sourceApp")?"#1990FF":"#FF5277",dialogVisible:!1,handleTime_inbox:null,handleTime_msg:null,tagOp:null,mailId:"",mailTags:[],isShowSettag:!1,tableHeight:0,page:1,value:"",searchForm:{timeRange:"1",selectTag:"",subject:"",popularizePlanName:"",tagName:[],isRead:"",isStar:"",isReply:"",currentPage:1,pageSize:20,bloggerName:"",sentMail:""},switchMailData:[],unReadIds:[],hasReadIds:[],loading:!1,tableData:[],tableTotal:0,selectData:[],qyEmailList:[],tags:[],tagList:[],defaultTagList:[],bloggerArr:[],selectedReplyIds:[],selectedTags:[],isShowAiMail:!0}},computed:{routeParams(){return this.$route.query}},watch:{routeParams(e,t){e.nums&&this.init()}},created(){this.getSendEmails()},mounted(){const{isdetail:e}=this.$route.query;e?(console.log("sss",JSON.parse(localStorage.getItem("searchFormInbox"))),this.searchForm=JSON.parse(localStorage.getItem("searchFormInbox"))):localStorage.removeItem("searchFormInbox"),this.$nextTick((()=>{this.init(),this.initTags(),this.tableHeight=window.innerHeight-this.$refs["table"].$el.getBoundingClientRect().top-66})),this.$bus.$on("mailTip",(()=>{this.init()}))},methods:{hideAiMail(){this.isShowAiMail=!this.isShowAiMail,this.searchForm.currentPage=1,this.init()},getSendEmails(){const e=JSON.parse(localStorage.getItem("user_info")||"{}");Ps(e?.user_id).then((e=>{this.qyEmailList=[{label:this.$t("inboxMail.search.sysEmail"),value:0},...e.data.map((e=>({label:e,value:e})))]||[{label:this.$t("inboxMail.search.sysEmail"),value:0}]}))},initTags(){this.tags=[],Ja().then((e=>{e&&e.map((e=>{this.tags.push({id:e.id,value:e.id.toString(),label:e.tag})}))}))},multiReply(){0!==this.selectedReplyIds.length?this.selectedReplyIds.length>50?this.$message.warning(this.$t("inboxMail.search.tip1")):(localStorage.setItem("multiReplyBlogInfo",JSON.stringify(this.bloggerArr)),localStorage.setItem("multiReplyIds",JSON.stringify(this.selectedReplyIds)),this.$emit("multiReply",this.bloggerArr.length!==this.selectedReplyIds.length)):this.$message({message:this.$t("inboxTable.delmailWarning"),type:"warning"})},init(){this.loading=!0;let e=this.searchForm.isStar;0===e&&(this.searchForm.isStar="");let t="",n="";this.searchForm.sentMail?(n=this.searchForm.sentMail,t=""):0===this.searchForm.sentMail?(n="",t=0):(n="",t=""),console.log("params",this.searchForm),localStorage.removeItem("hasInboxDetail"),La({...this.searchForm,email:n||void 0,sentMail:t,aiEmailScope:this.isShowAiMail?0:2}).then((e=>{this.loading=!1;let t=[];e?(e.rows.forEach(((e,n)=>{let i={};i.id=e.id,i.chatId=e.chatId,e.isRead&&1===e.isRead?i.mailStatus="1":e.isRead&&2===e.isRead&&(i.mailStatus="2"),i.taskId=e.taskId,i.isRead=e.isRead,i.maxId=e.maxId,i.isReply=e.isReply,i.isStar=e.isStar,i.popularizePlanName=e.popularizePlanName,i.bloggerName=e.bloggerName,i.subject=e.subject,i.content=e.content,i.isAttachment=e.isAttachment,i.popularizePlanName=e.popularizePlanName,i.popularizePlanId=e.popularizePlanId,i.bloggerId=e.bloggerId,i.addresser=e.addresser,i.bloggerHover=e.bloggerHover,i.upbEsId=e.upbEsId,i.isAiWoto=e.isAiWoto,e.tag||(e.tag=""),e.tagColor||(e.tagColor="");let r=e.tag.split(","),o=e.tagColor.split(",");if(i.tagList=[],r.length!==o.length)i.tagName=this.$t("inboxTable.errorTag");else{let e=[];r.forEach(((t,n)=>{e.push({tagName:t,tagColor:o[n]})})),i.tagList=e}i.createTime=e.createTime,t.push(i)})),this.tableData=t,this.tableTotal=e.total):this.$message.warning(this.$t("inboxTable.requestError"))}))},handleBindTag(e,t){if(t&&!t.tagColor&&!t.tagName)return!1;this.$confirm(this.$t("inboxTable.delTag"),this.$t("inboxTable.tip"),{confirmButtonText:this.$t("inboxTable.confirm"),cancelButtonText:this.$t("inboxTable.cancel"),customClass:"del-model",type:"warning"}).then((()=>{this.mailId=e.id+"";const n=e.tagList.filter((e=>!!e.tagName))||[];let i=[];n.length>1&&(i=n.filter((e=>e.tagName!==t.tagName)).map((e=>({tag:e.tagName,tagColor:e.tagColor})))),this.updateTag(i,!0)})).catch((()=>{}))},handleTagChange(e){if(e){let t=[];e.forEach((e=>{this.tags.forEach((n=>{e===n.id.toString()&&t.push(n.label)}))})),this.searchForm.tagName=t}else this.searchForm.tagName=[]},reset(){localStorage.removeItem("searchFormInbox"),localStorage.removeItem("hasInboxDetail"),this.searchForm.bloggerName="",this.searchForm.subject="",this.searchForm.popularizePlanName="",this.searchForm.selectTag=[],this.searchForm.tagName=[],this.searchForm.isStar="",this.searchForm.timeRange="1",this.searchForm.isRead="",this.searchForm.isReply="",this.searchForm.sentMail="",this.init()},changePage(e){this.searchForm.currentPage=e,this.init()},changeSize(e){this.searchForm.currentPage=1,this.searchForm.pageSize=e,this.init()},setUnRead(){if(0!==this.switchMailData.length)return 0===this.unReadIds.length?(this.$message.warning(this.$t("edm5.v3")),void this.$refs.table.clearSelection()):void za({ids:this.unReadIds}).then((e=>{e&&"0"===e.code?(this.$message({message:this.$t("inboxTable.unReadSuccess"),type:"success"}),this.unReadIds=[],this.switchMailData=[],this.$refs.table.clearSelection(),this.init()):this.$message.error(e.message)}));this.$message({message:this.$t("inboxTable.delmailWarning"),type:"warning"})},async setHasRead(){if(0!==this.switchMailData.length){if(0===this.hasReadIds.length)return this.$message.warning(this.$t("edm5.v270")),void this.$refs.table.clearSelection();try{const e=await Va({ids:this.hasReadIds});"0"===e.code?(this.$message({message:this.$t("inboxTable.unReadSuccess"),type:"success"}),this.hasReadIds=[],this.switchMailData=[],this.$refs.table.clearSelection(),this.init()):this.$message.error(e.message)}catch(Rl){console.log(Rl)}}else this.$message({message:this.$t("inboxTable.delmailWarning"),type:"warning"})},async changeRead(e){console.log(e);let t=await za({ids:[e.maxId]});t&&"0"===t.code?(this.$message({message:this.$t("inboxTable.unReadSuccess"),type:"success"}),this.init()):this.$message.error(t.message)},del(){0!==this.switchMailData.length?this.dialogVisible=!0:this.$message({message:this.$t("inboxTable.delmailWarning"),type:"warning"})},handleConfirmDel(){const e={chatId:this.switchMailData};Wa(e).then((e=>{e&&(this.$message({message:this.$t("inboxTable.del"),type:"success",duration:1500}),this.dialogVisible=!1,this.switchMailData=[],this.init())}))},handleDelShield(){const e={chatId:this.switchMailData};qa(e).then((e=>{e&&(this.$message({message:this.$t("inboxTable.del"),type:"success",duration:1500}),this.dialogVisible=!1,this.switchMailData=[],this.init())}))},isFavorites(e){const t={mailId:e.id,isStar:0===e.isStar?1:0};Ya(t).then((t=>{t&&(0===e.isStar?this.$message({message:this.$t("inboxTable.collMail"),type:"success",duration:1500}):this.$message({message:this.$t("inboxTable.cancelMail"),type:"success",duration:1500})),this.init()}))},handleReset(e){this.searchForm.bloggerName="",this.searchForm.subject=""},addMailTag(e){this.mailId=e.id.toString(),console.log(e),this.selectedTags=e.tagList?e.tagList.filter((e=>!!e.tagName)).map((e=>e.tagName)):[],this.isShowSettag=!0},async updateTag(e=[],t=!1){try{const n=await Za({mailId:this.mailId,tags:e});n&&(t?this.$message({type:"success",message:this.$t("inboxTagDialog.delTagSuccess")}):this.$message({type:"success",message:this.$t("inboxTagDialog.bindSuccess")}),this.init(),this.initTags())}catch(Rl){}},skipDetail(e){localStorage.setItem("searchFormInbox",JSON.stringify(this.searchForm)),localStorage.setItem("hasInboxDetail",!0),localStorage.setItem("currentPath",this.$route.path),console.log("dd",JSON.stringify(this.searchForm)),this.$router.push({path:"/inboxDetail",query:{id:e.id,chatId:e.chatId,popularizePlanId:e.popularizePlanId,popularizePlanName:e.popularizePlanName,maxId:e.maxId}})},skipTask(e){const t=this.$router.resolve({path:this.taskDetailUrl,query:{id:e.taskId,name:e.popularizePlanName,is_share:1,is_operate:1}});window.open(t.href,"_blank")},skipPlan(e){console.log(e),this.$emit("inboxSkipPlan",e)},switchMode(){this.$emit("switchMode")},getRowKeys(e){return e.id},switchMail(e){console.log("select",e),this.bloggerArr=[],this.selectedReplyIds=[],this.bloggerArr=Array.from(new Map(e.map((e=>[e.bloggerName,{bloggerId:e.bloggerId,bloggerName:e.bloggerId?e.bloggerName:e.addresser}]))).values()),this.selectedReplyIds=Vs(e,"maxId"),this.switchMailData=[],this.unReadIds=[],this.hasReadIds=[],e.forEach((e=>{this.switchMailData.push(e.chatId),2===e.isRead&&this.unReadIds.push(e.maxId),1===e.isRead&&this.hasReadIds.push(e.maxId)}))},clearTableData(){this.$refs.table.clearSelection(),this.selectData=[]},filterHtmlTag(e){return e&&(e=e.replace(/<head>[\s\S]*?<\/head>/i,""),e=e.replace(/<img[^>]*>/gi,""),e=e.replace(/<[^>]+>|&[^>]+;/g,""),e=e.replace(new RegExp("&nbsp;","g")," ")),e},headCellClass(){return"head"},rowClass(){return"row"},cellClass(){return"box-cell"},changeTagsHeight(e,t){if(e){let e=[],n=this.tagList.findIndex((e=>e.tag.trim()===t.trim()));this.tagList.forEach(((t,i)=>{i<=n&&e.push(t)})),this.tagList=e}else this.tagList=this.defaultTagList},rightClick(e,t,n){return n.preventDefault(),this.$contextmenu({items:[{label:"在新标签页中打开邮件",icon:"el-icon-plus",onClick:()=>{const t=this.$router.resolve({path:"/inboxDetail",query:{id:e.id,chatId:e.chatId,popularizePlanId:e.popularizePlanId,popularizePlanName:e.popularizePlanName,maxId:e.maxId}});window.open(t.href,"_blank")}},{label:"刷新列表数据",icon:"el-icon-refresh",onClick:()=>{this.init()}},{label:"复制邮件主题",icon:"el-icon-document-copy",disabled:!e.subject,onClick:()=>{this.copyText(e.subject)}},{label:"复制推广计划名",icon:"el-icon-document-copy",disabled:!e.popularizePlanName,onClick:()=>{this.copyText(e.popularizePlanName)}},{label:"添加标签",icon:"el-icon-edit-outline",onClick:()=>{this.addMailTag(e)}}],event:n,customClass:"contextmenu-container",zIndex:3,minWidth:230}),!1},copyText(e){const t=document.createElement("input");t.value=e,document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t),this.$message({type:"success",message:"已复制到剪贴板"})},formatDate(e){return sl()(e).format("YYYY-MM-DD")},toBloggerDetail(e){if(!e.bloggerId)return!1;this.$emit("toBloggerDetail",e)}},destroyed(){}},cl=ll,ul=Ba(cl,$a,ja,!1,null,"60e7f776",null),dl=ul.exports,hl=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.mailLoading,expression:"mailLoading"}],staticClass:"edm-inbox-detail"},[t("div",{staticClass:"wrap"},[t("div",{staticClass:"back",on:{click:e.goBack}},[t("i",{staticClass:"el-icon-arrow-left"})]),t("div",{staticClass:"tag-info"},[t("div",{staticClass:"tag"},[e._l(e.tagList,(function(n,i){return t("div",{key:i,staticClass:"tag-item mr12 mb8",style:{color:"#fff",background:n.tag_color}},[e._v(" "+e._s(n.tag)+" "),t("i",{staticClass:"dss-iconfont icon-close",staticStyle:{color:"#ffffff","padding-left":"5px",cursor:"pointer","z-index":"999"},on:{click:function(t){return e.delTag(n)}}})])})),t("div",{staticClass:"tag-btn cursor-pointer mr12 mb8",on:{click:e.addTagsStart}},[t("i",{staticClass:"dss-iconfont icon-add2"}),e._v(" "+e._s(e.$t("inboxDetail.addTag"))+" ")])],2),t("div",{staticClass:"turn-page"},[t("div",{staticClass:"send-email"},[e._v(" "+e._s(e.$t("edm5.v4"))+e._s(e.mailData.receiver)+" ")]),t("div",[t("el-button",{attrs:{type:"text",icon:"el-icon-arrow-left",disabled:0===e.checkEmailIndex},on:{click:e.handlePrevious}},[e._v(e._s(e.$t("inboxDetail.previousPage")))]),t("el-button",{attrs:{type:"text",disabled:e.checkEmailIndex===e.tableData.length-1},on:{click:e.handleNext}},[e._v(e._s(e.$t("inboxDetail.nextPage"))),t("i",{staticClass:"el-icon-arrow-right el-icon--right"})])],1)])]),t("div",{staticClass:"blogger-part"},[t("div",{staticClass:"blogger-info"},[e.bloggerInfo.bloggerId?t("div",{staticClass:"inner-blogger"},[t("el-image",{staticClass:"blogger-avatar",attrs:{fit:"cover",src:e.bloggerInfo.bloggerAvatar},on:{click:function(t){return e.toBloggerDetail(e.bloggerInfo.bloggerId,e.bloggerInfo)}}}),t("div",{staticClass:"info-right"},[t("div",{staticClass:"info-top"},[t("div",{staticClass:"blogger-name",on:{click:function(t){return e.toBloggerDetail(e.bloggerInfo.bloggerId,e.bloggerInfo)}}},[e._v(" "+e._s(e.bloggerInfo.bloggerName)+" ")]),t("div",{staticClass:"blogger-id"},[e._v(" (频道ID:"+e._s(e.bloggerInfo.bloggerUserName)+") ")]),t("img",{staticClass:"flag",attrs:{src:e.bloggerInfoRest.regionFlag,alt:""}}),t("div",{staticClass:"country"},[e._v(e._s(e.bloggerInfoRest.regionNameZh))]),t("div",{directives:[{name:"show",rawName:"v-show",value:e.bloggerInfoRest.tags&&e.bloggerInfoRest.tags.length>0,expression:"\n bloggerInfoRest.tags && bloggerInfoRest.tags.length > 0\n "}],staticClass:"tags"},[t("TagColumn",{attrs:{tags:e.bloggerInfoRest.tags}})],1)]),t("div",{staticClass:"info-bottom"},[t("div",{staticClass:"row-data"},[t("div",{staticClass:"row-data_item"},[t("div",{staticClass:"row-data_item-num"},[e._v(" "+e._s(e._f("numFormat")(e.bloggerInfoRest.fansCount))+" ")]),t("div",{staticClass:"row-data_item-name"},[e._v("粉丝数")])]),t("div",{staticClass:"row-data_item"},[t("div",{staticClass:"row-data_item-num"},[e._v(" "+e._s(e._f("numFormat")("instagram"===e.bloggerInfoRest.platform?e.bloggerInfoRest.likeVolumeAvg60d:e.bloggerInfoRest.viewVolumeAvg60d))+" ")]),t("div",{staticClass:"row-data_item-name"},[e._v(" "+e._s("instagram"===e.bloggerInfoRest.platform?"平均点赞量":"平均观看量")+" ")])]),t("div",{staticClass:"row-data_item"},[t("div",{staticClass:"row-data_item-num"},[e._v(" "+e._s(e._f("rateFormat")(e.bloggerInfoRest.interactiveRate60d))+" ")]),t("div",{staticClass:"row-data_item-name"},[e._v("平均互动率")])]),e.bloggerInfoRest.gmv30d?t("div",{staticClass:"row-data_item"},[t("div",{staticClass:"row-data_item-num"},[e._v(" "+e._s(e._f("numFormat")(e.bloggerInfoRest.gmv30d))+" ")]),t("div",{staticClass:"row-data_item-name"},[e._v("近30日新增GMV")])]):e._e()]),t("el-tooltip",{attrs:{"popper-class":"wt-tooltip",placement:"top"}},[t("div",{staticStyle:{color:"#333"},attrs:{slot:"content"},slot:"content"},[e._v("收藏")]),t("span",{staticClass:"btn",on:{click:e.handleAddFavorites}},[t("i",{class:{"icon-img":!0}})])]),t("button",{staticClass:"double-btn"},[t("el-tooltip",{attrs:{"popper-class":"btn-tooltip wt-tooltip",content:e.$t("inboxDetail.normalReply"),placement:"top"}},[t("div",{staticClass:"text",on:{click:function(t){return e.showReplyNew(!1,void 0)}}},[e._v(" "+e._s(e.$t("inboxDetail.reply2"))+" ")])]),t("el-divider",{staticClass:"search-divider",attrs:{direction:"vertical"}}),t("el-tooltip",{attrs:{"popper-class":"btn-tooltip wt-tooltip",content:e.$t("inboxDetail.simpleReply"),placement:"top"}},[t("div",{staticClass:"quick-reply",on:{click:e.simpleReplay}},[t("img",{staticClass:"img",attrs:{src:i(3074)}})])])],1)],1)])],1):t("div",{staticClass:"outer-blogger"},[t("div",{staticClass:"outer-name"},[e._v(e._s(e.$t("inboxDetail.outerBlogger")))]),t("div",{staticClass:"outer-email"},[e._v(" "+e._s(e.$t("inboxDetail.email"))+e._s(e.bloggerInfo.email)+" ")])])]),e.isShowAiAgent&&e.bloggerInfo.bloggerId&&"null"!==e.bloggerInfo.planId?t("div",{staticClass:"ai_box"},[e._v(" AI小兔 "),t("div",{staticClass:"ai_btn",on:{click:e.showAiSetting}},[t("img",{staticClass:"ai_icon",attrs:{src:"http://wotokol.oss-cn-hangzhou.aliyuncs.com/ai-agent-icon.png",alt:""}}),t("span",{staticClass:"ai_txt"},[e._v(e._s(e.bloggerJobInfo.jobId?"跟进中":"待命中"))]),t("i",{staticClass:"el-icon-arrow-right"})])]):e._e(),e.bloggerInfo.bloggerId&&"null"!==e.bloggerInfo.planId?t("div",{staticClass:"blogger-plan"},[t("div",{staticClass:"plan-top"},[t("span",{staticClass:"title"},[e._v(e._s(e.$t("inboxDetail.plan")))]),t("el-dropdown",{attrs:{trigger:"click"},on:{command:e.handleCommand}},[t("i",{staticClass:"el-icon-more more_icon"}),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",{attrs:{command:"a"}},[e._v("关联推广计划")]),t("el-dropdown-item",{attrs:{command:"b"}},[e._v("修改合作状态")])],1)],1)],1),t("div",{staticClass:"plan-bottom"},[t("span",{staticClass:"plan_name"},[e._v(e._s("-1"==e.bloggerInfo.planId||"null"==e.bloggerInfo.planId?e.$t("inboxDetail.noPlan"):e.bloggerInfo.planName))]),e.bloggerInfo.bloggerId&&"null"!==e.bloggerInfo.planId?t("div",{staticClass:"coo_status"},[e._v(" "+e._s(e._f("coopStatusFilter")(e.bloggerInfo.coopStatus))+" ")]):e._e()])]):e._e()]),e.bloggerInfo.bloggerId&&"null"!==e.bloggerInfo.planId?t("div",{staticClass:"blogger-opt"},[e._l(e.optList,(function(n,i){return t("div",{key:i,staticClass:"opt-item",on:{click:function(t){return e.clickHandle(n.key,n.activeName)}}},[t("i",{class:["dss-iconfont",n.icon]}),t("span",{staticClass:"txt"},[e._v(e._s(n.name))])])})),t("el-dropdown",{staticClass:"email-drop",on:{command:e.clickHandle}},[t("i",{staticClass:"dss-iconfont icon-gengduo-changguizhuangtai"}),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",{attrs:{command:"report"}},[e._v(e._s(e.$t("inboxDetail.menu7")))]),t("el-dropdown-item",{attrs:{command:"blackList"}},[e._v(e._s(e.$t("inboxDetail.menu8")))]),t("el-dropdown-item",{attrs:{command:"detail"}},[e._v(e._s(e.$t("inboxDetail.menu9")))])],1)],1)],2):e._e(),t("div",{staticClass:"email-part"},[t("div",{staticClass:"email-list"},e._l(e.mailList,(function(n,r){return t("div",{key:n.id,class:{"list-row":!0,"list-row-blogger":2===n.type}},[e.isHasAi&&n.isShowSummary&&1===n.type?t("AiSummary",{attrs:{id:n.id,aiPoint:e.aiPoint,isRebuild:n.isRebuild},on:{getEmailIntention:function(t){return e.getEmailIntention(n)},handleShow:e.handleSummaryShow,refreshAiPoint:e.getAiPoint,showAiReply:t=>e.showAiReply(n,t)}}):e._e(),t("div",{staticClass:"item-main"},[t("div",{staticClass:"top"},[t("div",{staticClass:"person"},[t("el-image",{staticStyle:{width:"24px",height:"24px","border-radius":"50%",cursor:"pointer"},attrs:{src:n.bloggerAvatar},on:{click:function(t){t.stopPropagation(),n.bloggerId&&1===n.type&&e.skipBlogDetail(n.bloggerId,n)}}}),1===n.type?[t("el-tooltip",{attrs:{placement:"top","popper-class":"wt-tooltip"}},[t("div",{attrs:{slot:"content"},slot:"content"},[t("div",{staticClass:"username"},[e._v(e._s(n.bloggerName))]),t("div",{staticClass:"nickname"},[e._v(" "+e._s(e.$t("inboxDetail.channelId"))+":"+e._s(n.bloggerUserName)+" ")])]),t("span",{staticClass:"nickname",staticStyle:{cursor:"pointer"},on:{click:function(t){t.stopPropagation(),n.bloggerId&&e.skipBlogDetail(n.bloggerId,n)}}},[e._v(" "+e._s(n.bloggerName)+" ")])])]:e._e(),2===n.type?[t("span",{staticClass:"nickname"},[e._v(" "+e._s(n.userName)+" ")])]:e._e()],2),t("div",{staticClass:"time"},[t("span",{directives:[{name:"show",rawName:"v-show",value:n.isExpand,expression:"mail.isExpand"}],staticClass:"show-full",on:{click:function(t){return e.toggleFullContent(n)}}},[e._v(e._s(n.isShowFull?"隐藏原始邮件":"查看原始邮件"))]),1==n.type?t("el-popover",{attrs:{placement:"top",width:"150",trigger:"click","popper-class":"emoji-popover input-popper",content:"邮件ID:"+n.id}},[t("span",{staticClass:"date",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(n.createTime))])]):t("span",{staticClass:"date"},[e._v(e._s(n.createTime))]),1===n.type&&e.isHasAi?t("span",{class:{keywords:!0,"summary-btn":!0,"not-allowed":n.isShowSummary},on:{click:function(t){return e.openAiSummary(n.id)}}},[t("img",{staticStyle:{width:"88px",height:"18px"},attrs:{src:i(7862),alt:""}})]):e._e(),2===n.type&&0===r?t("span",{class:{read:!0,"has-read":2==n.isRead}},[t("i",{class:["dss-iconfont",2==n.isRead?"icon-kejian":"icon-bukejian"]}),t("span",[e._v(e._s(2==n.isRead?e.$t("inboxDetail.read"):e.$t("inboxDetail.unRead")))])]):e._e()],1)]),n.attachment?.length>0&&n.isExpand?t("div",{staticClass:"item-files"},e._l(n.attachment,(function(n){return t("div",{key:n.uuid,staticClass:"file",on:{click:function(t){return e.downFile(n)}}},[t("i",{staticClass:"dss-iconfont icon-file-3"}),t("span",{staticClass:"name"},[e._v(e._s(n.name))]),t("i",{staticClass:"dss-iconfont icon-download"})])})),0):e._e(),t("div",{staticClass:"center"},[t("div",{staticClass:"ai-box2"},[t("div",{staticClass:"box-txt"},[n.isExpand?t("div",{staticClass:"txt-content"},[t("EmailBox",{attrs:{content:n.isShowFull?n.cleanContent:n.content}})],1):t("div",{staticClass:"txt-base",domProps:{innerHTML:e._s(e.delHtmlTag(n.content))}})]),t("div",{staticClass:"box-toggle",on:{click:function(t){return e.toggleEmailExpand(n)}}},[t("i",{staticClass:"dss-iconfont icon-arrow",class:{aiOpen:n.isExpand}}),t("span",[e._v(e._s(n.isExpand?e.$t("inboxDetail.close"):e.$t("inboxDetail.open")))])])])]),t("div",{staticClass:"bottom"})]),n.attachment?.length>0&&!n.isExpand?t("div",{staticClass:"item-files"},e._l(n.attachment,(function(n){return t("div",{key:n.uuid,staticClass:"file",on:{click:function(t){return e.downFile(n)}}},[t("i",{staticClass:"dss-iconfont icon-file-3"}),t("span",{staticClass:"name"},[e._v(e._s(n.name))]),t("i",{staticClass:"dss-iconfont icon-download"})])})),0):e._e()],1)})),0)])]),e.isShowSettag?t("AddTagsDialog",{attrs:{isShowDialog:e.isShowSettag,defaultTag:e.selectedTags},on:{updateTag:e.updateTag,closeAddTagsDialog:function(t){e.isShowSettag=!1}}}):e._e(),e.showSimpleReplay?t("SimpleReplay",{attrs:{maxId:e.maxId},on:{close:function(t){e.showSimpleReplay=!1},fullWrite:e.fullWrite,refresh:e.getMailGroup}}):e._e(),e.intentionVisible?t("EmailIntention",{attrs:{id:e.id,maxId:e.maxId,visible:e.intentionVisible,bloggerId:e.bloggerInfo.bloggerId,currentMail:e.currentMail},on:{"update:visible":function(t){e.intentionVisible=t},refreshPoint:e.getAiPoint}}):e._e(),e.planVisible?t("EmailPlan",{attrs:{visible:e.planVisible,bloggerId:e.bloggerInfo.bloggerId,upbEsId:e.bloggerInfo.upbEsId,platform:e.bloggerInfo.platform,planIdRel:e.bloggerInfo.planId,maxId:e.maxId,detailData:e.mailData},on:{"update:visible":function(t){e.planVisible=t},change:e.changeEmailPlan}}):e._e(),e.coopStatusVisible?t("CoopStatus",{attrs:{visible:e.coopStatusVisible,upbEsId:e.bloggerInfo.upbEsId,coopStatus:e.bloggerInfo.coopStatus,planId:e.bloggerInfo.planId},on:{"update:visible":function(t){e.coopStatusVisible=t},change:e.getCrmInfo}}):e._e(),e.emailRelyVisible?t("EmailRely",{attrs:{visible:e.emailRelyVisible,loading:e.aiReplayBtnLoading,content:e.replayInfo.replyContent},on:{"update:visible":function(t){e.emailRelyVisible=t},confirm:function(t){return e.handleAiReplay(e.replayInfo.replyContent,e.replayInfo.id)}}}):e._e(),e.aiRelyVisible?t("AiReply",{attrs:{visible:e.aiRelyVisible,summaryInfo:e.summaryInfo,aiPoint:e.aiPoint,maxId:e.maxId,currentMail:e.currentMail},on:{"update:visible":function(t){e.aiRelyVisible=t},refreshPoint:e.getAiPoint,finished:e.getMailGroup,fullWrite:e.fullWrite}}):e._e()],1)},pl=[];function fl(e){return wa("/edm/outboxV2/writeMultipleEmail",e)}async function ml(e){let t=await wa("/edm/mail/dayNumber",e);return t}async function gl(e){return wa("/edm/mail/getRepeatContactBlogger",e)}async function vl(e){let t=await wa("/edm/mail/checkMultiEmailVariables",e);return t}async function yl(e){let t=await wa("/edm/conf/bindGmail",e);return t}async function bl(e){let t=await va("/edm/conf/getGmail",e);return t}async function wl(e){let t=await wa("/edm/gmail/auth",e);return t}async function _l(e){let t=await wa(`/dataService/data/query/${e.code}`,e.data);return t}async function Cl(e){let t=await wa("/edm/conf/sendType/bind",e);return t}function xl(e){return va("/edm/conf/sendType/get",e)}function Sl(){return va("/edm/qiye/haveOtherMailProvider")}function kl(e){return va("/edm/qiye/unbindCheck",e)}function El(e){return va("/edm/qiye/oauth2Config",e)}function Al(e){return va("/edm/qiye/saveToken",e)}function Dl(e){return wa("/woto-crm/bloggerRisk/selectBloggerRiskByIds",e)}function Ol(e){return wa("/edm/mail/getCooperatedBlogger",e)}function Tl(e){return va(`/edm/template/template/${e}`)}function Il(e){return va(`/user/equity/getUnlockBloggerEmailNum/${e}`)}function Pl(e){return wa("/edm/gmail/alias_email/auth",e)}function Fl(e){return wa("/edm/gmail/alias_email/cancel_auth",e)}
90
+ var so={};"undefined"!=typeof so.asn1&&so.asn1||(so.asn1={}),so.asn1.ASN1Util=new function(){this.integerToByteHex=function(e){var t=e.toString(16);return t.length%2==1&&(t="0"+t),t},this.bigIntToMinTwosComplementsHex=function(e){var t=e.toString(16);if("-"!=t.substr(0,1))t.length%2==1?t="0"+t:t.match(/^[0-7]/)||(t="00"+t);else{var n=t.substr(1),i=n.length;i%2==1?i+=1:t.match(/^[0-7]/)||(i+=2);for(var r="",o=0;o<i;o++)r+="f";var a=new Er(r,16),s=a.xor(e).add(Er.ONE);t=s.toString(16).replace(/^-/,"")}return t},this.getPEMStringFromHex=function(e,t){return hextopem(e,t)},this.newObject=function(e){var t=so,n=t.asn1,i=n.DERBoolean,r=n.DERInteger,o=n.DERBitString,a=n.DEROctetString,s=n.DERNull,l=n.DERObjectIdentifier,c=n.DEREnumerated,u=n.DERUTF8String,d=n.DERNumericString,h=n.DERPrintableString,p=n.DERTeletexString,f=n.DERIA5String,m=n.DERUTCTime,g=n.DERGeneralizedTime,v=n.DERSequence,y=n.DERSet,b=n.DERTaggedObject,w=n.ASN1Util.newObject,_=Object.keys(e);if(1!=_.length)throw"key of param shall be only one.";var C=_[0];if(-1==":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":"+C+":"))throw"undefined key: "+C;if("bool"==C)return new i(e[C]);if("int"==C)return new r(e[C]);if("bitstr"==C)return new o(e[C]);if("octstr"==C)return new a(e[C]);if("null"==C)return new s(e[C]);if("oid"==C)return new l(e[C]);if("enum"==C)return new c(e[C]);if("utf8str"==C)return new u(e[C]);if("numstr"==C)return new d(e[C]);if("prnstr"==C)return new h(e[C]);if("telstr"==C)return new p(e[C]);if("ia5str"==C)return new f(e[C]);if("utctime"==C)return new m(e[C]);if("gentime"==C)return new g(e[C]);if("seq"==C){for(var x=e[C],S=[],k=0;k<x.length;k++){var E=w(x[k]);S.push(E)}return new v({array:S})}if("set"==C){for(x=e[C],S=[],k=0;k<x.length;k++){E=w(x[k]);S.push(E)}return new y({array:S})}if("tag"==C){var A=e[C];if("[object Array]"===Object.prototype.toString.call(A)&&3==A.length){var D=w(A[2]);return new b({tag:A[0],explicit:A[1],obj:D})}var O={};if(void 0!==A.explicit&&(O.explicit=A.explicit),void 0!==A.tag&&(O.tag=A.tag),void 0===A.obj)throw"obj shall be specified for 'tag'.";return O.obj=w(A.obj),new b(O)}},this.jsonToASN1HEX=function(e){var t=this.newObject(e);return t.getEncodedHex()}},so.asn1.ASN1Util.oidHexToInt=function(e){for(var t="",n=parseInt(e.substr(0,2),16),i=Math.floor(n/40),r=n%40,o=(t=i+"."+r,""),a=2;a<e.length;a+=2){var s=parseInt(e.substr(a,2),16),l=("00000000"+s.toString(2)).slice(-8);if(o+=l.substr(1,7),"0"==l.substr(0,1)){var c=new Er(o,2);t=t+"."+c.toString(10),o=""}}return t},so.asn1.ASN1Util.oidIntToHex=function(e){var t=function(e){var t=e.toString(16);return 1==t.length&&(t="0"+t),t},n=function(e){var n="",i=new Er(e,10),r=i.toString(2),o=7-r.length%7;7==o&&(o=0);for(var a="",s=0;s<o;s++)a+="0";r=a+r;for(s=0;s<r.length-1;s+=7){var l=r.substr(s,7);s!=r.length-7&&(l="1"+l),n+=t(parseInt(l,2))}return n};if(!e.match(/^[0-9.]+$/))throw"malformed oid string: "+e;var i="",r=e.split("."),o=40*parseInt(r[0])+parseInt(r[1]);i+=t(o),r.splice(0,2);for(var a=0;a<r.length;a++)i+=n(r[a]);return i},so.asn1.ASN1Object=function(){var e="";this.getLengthHexFromValue=function(){if("undefined"==typeof this.hV||null==this.hV)throw"this.hV is null or undefined.";if(this.hV.length%2==1)throw"value hex must be even length: n="+e.length+",v="+this.hV;var t=this.hV.length/2,n=t.toString(16);if(n.length%2==1&&(n="0"+n),t<128)return n;var i=n.length/2;if(i>15)throw"ASN.1 length too long to represent by 8x: n = "+t.toString(16);var r=128+i;return r.toString(16)+n},this.getEncodedHex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},so.asn1.DERAbstractString=function(e){so.asn1.DERAbstractString.superclass.constructor.call(this);this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(this.s)},this.setStringHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof e&&("string"==typeof e?this.setString(e):"undefined"!=typeof e["str"]?this.setString(e["str"]):"undefined"!=typeof e["hex"]&&this.setStringHex(e["hex"]))},ao.lang.extend(so.asn1.DERAbstractString,so.asn1.ASN1Object),so.asn1.DERAbstractTime=function(e){so.asn1.DERAbstractTime.superclass.constructor.call(this);this.localDateToUTC=function(e){utc=e.getTime()+6e4*e.getTimezoneOffset();var t=new Date(utc);return t},this.formatDate=function(e,t,n){var i=this.zeroPadding,r=this.localDateToUTC(e),o=String(r.getFullYear());"utc"==t&&(o=o.substr(2,2));var a=i(String(r.getMonth()+1),2),s=i(String(r.getDate()),2),l=i(String(r.getHours()),2),c=i(String(r.getMinutes()),2),u=i(String(r.getSeconds()),2),d=o+a+s+l+c+u;if(!0===n){var h=r.getMilliseconds();if(0!=h){var p=i(String(h),3);p=p.replace(/[0]+$/,""),d=d+"."+p}}return d+"Z"},this.zeroPadding=function(e,t){return e.length>=t?e:new Array(t-e.length+1).join("0")+e},this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(e)},this.setByDateValue=function(e,t,n,i,r,o){var a=new Date(Date.UTC(e,t-1,n,i,r,o,0));this.setByDate(a)},this.getFreshValueHex=function(){return this.hV}},ao.lang.extend(so.asn1.DERAbstractTime,so.asn1.ASN1Object),so.asn1.DERAbstractStructured=function(e){so.asn1.DERAbstractString.superclass.constructor.call(this);this.setByASN1ObjectArray=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array=e},this.appendASN1Object=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array.push(e)},this.asn1Array=new Array,"undefined"!=typeof e&&"undefined"!=typeof e["array"]&&(this.asn1Array=e["array"])},ao.lang.extend(so.asn1.DERAbstractStructured,so.asn1.ASN1Object),so.asn1.DERBoolean=function(){so.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},ao.lang.extend(so.asn1.DERBoolean,so.asn1.ASN1Object),so.asn1.DERInteger=function(e){so.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=so.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var t=new Er(String(e),10);this.setByBigInteger(t)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof e&&("undefined"!=typeof e["bigint"]?this.setByBigInteger(e["bigint"]):"undefined"!=typeof e["int"]?this.setByInteger(e["int"]):"number"==typeof e?this.setByInteger(e):"undefined"!=typeof e["hex"]&&this.setValueHex(e["hex"]))},ao.lang.extend(so.asn1.DERInteger,so.asn1.ASN1Object),so.asn1.DERBitString=function(e){if(void 0!==e&&"undefined"!==typeof e.obj){var t=so.asn1.ASN1Util.newObject(e.obj);e.hex="00"+t.getEncodedHex()}so.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(e){this.hTLV=null,this.isModified=!0,this.hV=e},this.setUnusedBitsAndHexValue=function(e,t){if(e<0||7<e)throw"unused bits shall be from 0 to 7: u = "+e;var n="0"+e;this.hTLV=null,this.isModified=!0,this.hV=n+t},this.setByBinaryString=function(e){e=e.replace(/0+$/,"");var t=8-e.length%8;8==t&&(t=0);for(var n=0;n<=t;n++)e+="0";var i="";for(n=0;n<e.length-1;n+=8){var r=e.substr(n,8),o=parseInt(r,2).toString(16);1==o.length&&(o="0"+o),i+=o}this.hTLV=null,this.isModified=!0,this.hV="0"+t+i},this.setByBooleanArray=function(e){for(var t="",n=0;n<e.length;n++)1==e[n]?t+="1":t+="0";this.setByBinaryString(t)},this.newFalseArray=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]=!1;return t},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof e&&("string"==typeof e&&e.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(e):"undefined"!=typeof e["hex"]?this.setHexValueIncludingUnusedBits(e["hex"]):"undefined"!=typeof e["bin"]?this.setByBinaryString(e["bin"]):"undefined"!=typeof e["array"]&&this.setByBooleanArray(e["array"]))},ao.lang.extend(so.asn1.DERBitString,so.asn1.ASN1Object),so.asn1.DEROctetString=function(e){if(void 0!==e&&"undefined"!==typeof e.obj){var t=so.asn1.ASN1Util.newObject(e.obj);e.hex=t.getEncodedHex()}so.asn1.DEROctetString.superclass.constructor.call(this,e),this.hT="04"},ao.lang.extend(so.asn1.DEROctetString,so.asn1.DERAbstractString),so.asn1.DERNull=function(){so.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"},ao.lang.extend(so.asn1.DERNull,so.asn1.ASN1Object),so.asn1.DERObjectIdentifier=function(e){var t=function(e){var t=e.toString(16);return 1==t.length&&(t="0"+t),t},n=function(e){var n="",i=new Er(e,10),r=i.toString(2),o=7-r.length%7;7==o&&(o=0);for(var a="",s=0;s<o;s++)a+="0";r=a+r;for(s=0;s<r.length-1;s+=7){var l=r.substr(s,7);s!=r.length-7&&(l="1"+l),n+=t(parseInt(l,2))}return n};so.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.setValueOidString=function(e){if(!e.match(/^[0-9.]+$/))throw"malformed oid string: "+e;var i="",r=e.split("."),o=40*parseInt(r[0])+parseInt(r[1]);i+=t(o),r.splice(0,2);for(var a=0;a<r.length;a++)i+=n(r[a]);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=i},this.setValueName=function(e){var t=so.asn1.x509.OID.name2oid(e);if(""===t)throw"DERObjectIdentifier oidName undefined: "+e;this.setValueOidString(t)},this.getFreshValueHex=function(){return this.hV},void 0!==e&&("string"===typeof e?e.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(e):this.setValueName(e):void 0!==e.oid?this.setValueOidString(e.oid):void 0!==e.hex?this.setValueHex(e.hex):void 0!==e.name&&this.setValueName(e.name))},ao.lang.extend(so.asn1.DERObjectIdentifier,so.asn1.ASN1Object),so.asn1.DEREnumerated=function(e){so.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=so.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var t=new Er(String(e),10);this.setByBigInteger(t)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof e&&("undefined"!=typeof e["int"]?this.setByInteger(e["int"]):"number"==typeof e?this.setByInteger(e):"undefined"!=typeof e["hex"]&&this.setValueHex(e["hex"]))},ao.lang.extend(so.asn1.DEREnumerated,so.asn1.ASN1Object),so.asn1.DERUTF8String=function(e){so.asn1.DERUTF8String.superclass.constructor.call(this,e),this.hT="0c"},ao.lang.extend(so.asn1.DERUTF8String,so.asn1.DERAbstractString),so.asn1.DERNumericString=function(e){so.asn1.DERNumericString.superclass.constructor.call(this,e),this.hT="12"},ao.lang.extend(so.asn1.DERNumericString,so.asn1.DERAbstractString),so.asn1.DERPrintableString=function(e){so.asn1.DERPrintableString.superclass.constructor.call(this,e),this.hT="13"},ao.lang.extend(so.asn1.DERPrintableString,so.asn1.DERAbstractString),so.asn1.DERTeletexString=function(e){so.asn1.DERTeletexString.superclass.constructor.call(this,e),this.hT="14"},ao.lang.extend(so.asn1.DERTeletexString,so.asn1.DERAbstractString),so.asn1.DERIA5String=function(e){so.asn1.DERIA5String.superclass.constructor.call(this,e),this.hT="16"},ao.lang.extend(so.asn1.DERIA5String,so.asn1.DERAbstractString),so.asn1.DERUTCTime=function(e){so.asn1.DERUTCTime.superclass.constructor.call(this,e),this.hT="17",this.setByDate=function(e){this.hTLV=null,this.isModified=!0,this.date=e,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return"undefined"==typeof this.date&&"undefined"==typeof this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)),this.hV},void 0!==e&&(void 0!==e.str?this.setString(e.str):"string"==typeof e&&e.match(/^[0-9]{12}Z$/)?this.setString(e):void 0!==e.hex?this.setStringHex(e.hex):void 0!==e.date&&this.setByDate(e.date))},ao.lang.extend(so.asn1.DERUTCTime,so.asn1.DERAbstractTime),so.asn1.DERGeneralizedTime=function(e){so.asn1.DERGeneralizedTime.superclass.constructor.call(this,e),this.hT="18",this.withMillis=!1,this.setByDate=function(e){this.hTLV=null,this.isModified=!0,this.date=e,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)),this.hV},void 0!==e&&(void 0!==e.str?this.setString(e.str):"string"==typeof e&&e.match(/^[0-9]{14}Z$/)?this.setString(e):void 0!==e.hex?this.setStringHex(e.hex):void 0!==e.date&&this.setByDate(e.date),!0===e.millis&&(this.withMillis=!0))},ao.lang.extend(so.asn1.DERGeneralizedTime,so.asn1.DERAbstractTime),so.asn1.DERSequence=function(e){so.asn1.DERSequence.superclass.constructor.call(this,e),this.hT="30",this.getFreshValueHex=function(){for(var e="",t=0;t<this.asn1Array.length;t++){var n=this.asn1Array[t];e+=n.getEncodedHex()}return this.hV=e,this.hV}},ao.lang.extend(so.asn1.DERSequence,so.asn1.DERAbstractStructured),so.asn1.DERSet=function(e){so.asn1.DERSet.superclass.constructor.call(this,e),this.hT="31",this.sortFlag=!0,this.getFreshValueHex=function(){for(var e=new Array,t=0;t<this.asn1Array.length;t++){var n=this.asn1Array[t];e.push(n.getEncodedHex())}return 1==this.sortFlag&&e.sort(),this.hV=e.join(""),this.hV},"undefined"!=typeof e&&"undefined"!=typeof e.sortflag&&0==e.sortflag&&(this.sortFlag=!1)},ao.lang.extend(so.asn1.DERSet,so.asn1.DERAbstractStructured),so.asn1.DERTaggedObject=function(e){so.asn1.DERTaggedObject.superclass.constructor.call(this),this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(e,t,n){this.hT=t,this.isExplicit=e,this.asn1Object=n,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=n.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,t),this.isModified=!1)},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof e&&("undefined"!=typeof e["tag"]&&(this.hT=e["tag"]),"undefined"!=typeof e["explicit"]&&(this.isExplicit=e["explicit"]),"undefined"!=typeof e["obj"]&&(this.asn1Object=e["obj"],this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)))},ao.lang.extend(so.asn1.DERTaggedObject,so.asn1.ASN1Object);var lo,co,uo=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ho=function(e){function t(n){var i=e.call(this)||this;return n&&("string"===typeof n?i.parseKey(n):(t.hasPrivateKeyProperty(n)||t.hasPublicKeyProperty(n))&&i.parsePropertiesFrom(n)),i}return uo(t,e),t.prototype.parseKey=function(e){try{var t=0,n=0,i=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/,r=i.test(e)?ur.decode(e):dr.unarmor(e),o=wr.decode(r);if(3===o.sub.length&&(o=o.sub[2].sub[0]),9===o.sub.length){t=o.sub[1].getHexStringValue(),this.n=Pr(t,16),n=o.sub[2].getHexStringValue(),this.e=parseInt(n,16);var a=o.sub[3].getHexStringValue();this.d=Pr(a,16);var s=o.sub[4].getHexStringValue();this.p=Pr(s,16);var l=o.sub[5].getHexStringValue();this.q=Pr(l,16);var c=o.sub[6].getHexStringValue();this.dmp1=Pr(c,16);var u=o.sub[7].getHexStringValue();this.dmq1=Pr(u,16);var d=o.sub[8].getHexStringValue();this.coeff=Pr(d,16)}else{if(2!==o.sub.length)return!1;if(o.sub[0].sub){var h=o.sub[1],p=h.sub[0];t=p.sub[0].getHexStringValue(),this.n=Pr(t,16),n=p.sub[1].getHexStringValue(),this.e=parseInt(n,16)}else t=o.sub[0].getHexStringValue(),this.n=Pr(t,16),n=o.sub[1].getHexStringValue(),this.e=parseInt(n,16)}return!0}catch(vR){return!1}},t.prototype.getPrivateBaseKey=function(){var e={array:[new so.asn1.DERInteger({int:0}),new so.asn1.DERInteger({bigint:this.n}),new so.asn1.DERInteger({int:this.e}),new so.asn1.DERInteger({bigint:this.d}),new so.asn1.DERInteger({bigint:this.p}),new so.asn1.DERInteger({bigint:this.q}),new so.asn1.DERInteger({bigint:this.dmp1}),new so.asn1.DERInteger({bigint:this.dmq1}),new so.asn1.DERInteger({bigint:this.coeff})]},t=new so.asn1.DERSequence(e);return t.getEncodedHex()},t.prototype.getPrivateBaseKeyB64=function(){return sr(this.getPrivateBaseKey())},t.prototype.getPublicBaseKey=function(){var e=new so.asn1.DERSequence({array:[new so.asn1.DERObjectIdentifier({oid:"1.2.840.113549.1.1.1"}),new so.asn1.DERNull]}),t=new so.asn1.DERSequence({array:[new so.asn1.DERInteger({bigint:this.n}),new so.asn1.DERInteger({int:this.e})]}),n=new so.asn1.DERBitString({hex:"00"+t.getEncodedHex()}),i=new so.asn1.DERSequence({array:[e,n]});return i.getEncodedHex()},t.prototype.getPublicBaseKeyB64=function(){return sr(this.getPublicBaseKey())},t.wordwrap=function(e,t){if(t=t||64,!e)return e;var n="(.{1,"+t+"})( +|$\n?)|(.{1,"+t+"})";return e.match(RegExp(n,"g")).join("\n")},t.prototype.getPrivateKey=function(){var e="-----BEGIN RSA PRIVATE KEY-----\n";return e+=t.wordwrap(this.getPrivateBaseKeyB64())+"\n",e+="-----END RSA PRIVATE KEY-----",e},t.prototype.getPublicKey=function(){var e="-----BEGIN PUBLIC KEY-----\n";return e+=t.wordwrap(this.getPublicBaseKeyB64())+"\n",e+="-----END PUBLIC KEY-----",e},t.hasPublicKeyProperty=function(e){return e=e||{},e.hasOwnProperty("n")&&e.hasOwnProperty("e")},t.hasPrivateKeyProperty=function(e){return e=e||{},e.hasOwnProperty("n")&&e.hasOwnProperty("e")&&e.hasOwnProperty("d")&&e.hasOwnProperty("p")&&e.hasOwnProperty("q")&&e.hasOwnProperty("dmp1")&&e.hasOwnProperty("dmq1")&&e.hasOwnProperty("coeff")},t.prototype.parsePropertiesFrom=function(e){this.n=e.n,this.e=e.e,e.hasOwnProperty("d")&&(this.d=e.d,this.p=e.p,this.q=e.q,this.dmp1=e.dmp1,this.dmq1=e.dmq1,this.coeff=e.coeff)},t}(to),po="undefined"!==typeof process?null===(lo={NODE_ENV:"production",BASE_URL:"/"})||void 0===lo?void 0:lo.npm_package_version:void 0,fo=function(){function e(e){void 0===e&&(e={}),e=e||{},this.default_key_size=e.default_key_size?parseInt(e.default_key_size,10):1024,this.default_public_exponent=e.default_public_exponent||"010001",this.log=e.log||!1,this.key=null}return e.prototype.setKey=function(e){this.log&&this.key&&console.warn("A key was already set, overriding existing."),this.key=new ho(e)},e.prototype.setPrivateKey=function(e){this.setKey(e)},e.prototype.setPublicKey=function(e){this.setKey(e)},e.prototype.decrypt=function(e){try{return this.getKey().decrypt(lr(e))}catch(vR){return!1}},e.prototype.encrypt=function(e){try{return sr(this.getKey().encrypt(e))}catch(vR){return!1}},e.prototype.sign=function(e,t,n){try{return sr(this.getKey().sign(e,t,n))}catch(vR){return!1}},e.prototype.verify=function(e,t,n){try{return this.getKey().verify(e,lr(t),n)}catch(vR){return!1}},e.prototype.getKey=function(e){if(!this.key){if(this.key=new ho,e&&"[object Function]"==={}.toString.call(e))return void this.key.generateAsync(this.default_key_size,this.default_public_exponent,e);this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},e.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},e.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},e.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},e.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},e.version=po,e}(),mo=new Uint8Array(16);function go(){if(!co&&(co="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),!co))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return co(mo)}var vo=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function yo(e){return"string"===typeof e&&vo.test(e)}for(var bo=yo,wo=[],_o=0;_o<256;++_o)wo.push((_o+256).toString(16).substr(1));function Co(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(wo[e[t+0]]+wo[e[t+1]]+wo[e[t+2]]+wo[e[t+3]]+"-"+wo[e[t+4]]+wo[e[t+5]]+"-"+wo[e[t+6]]+wo[e[t+7]]+"-"+wo[e[t+8]]+wo[e[t+9]]+"-"+wo[e[t+10]]+wo[e[t+11]]+wo[e[t+12]]+wo[e[t+13]]+wo[e[t+14]]+wo[e[t+15]]).toLowerCase();if(!bo(n))throw TypeError("Stringified UUID is invalid");return n}var xo,So,ko=Co,Eo=0,Ao=0;function Do(e,t,n){var i=t&&n||0,r=t||new Array(16);e=e||{};var o=e.node||xo,a=void 0!==e.clockseq?e.clockseq:So;if(null==o||null==a){var s=e.random||(e.rng||go)();null==o&&(o=xo=[1|s[0],s[1],s[2],s[3],s[4],s[5]]),null==a&&(a=So=16383&(s[6]<<8|s[7]))}var l=void 0!==e.msecs?e.msecs:Date.now(),c=void 0!==e.nsecs?e.nsecs:Ao+1,u=l-Eo+(c-Ao)/1e4;if(u<0&&void 0===e.clockseq&&(a=a+1&16383),(u<0||l>Eo)&&void 0===e.nsecs&&(c=0),c>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Eo=l,Ao=c,So=a,l+=122192928e5;var d=(1e4*(268435455&l)+c)%4294967296;r[i++]=d>>>24&255,r[i++]=d>>>16&255,r[i++]=d>>>8&255,r[i++]=255&d;var h=l/4294967296*1e4&268435455;r[i++]=h>>>8&255,r[i++]=255&h,r[i++]=h>>>24&15|16,r[i++]=h>>>16&255,r[i++]=a>>>8|128,r[i++]=255&a;for(var p=0;p<6;++p)r[i+p]=o[p];return t||ko(r)}var Oo=Do;function To(e){if(!bo(e))throw TypeError("Invalid UUID");var t,n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n}var Io=To;function Po(e){e=unescape(encodeURIComponent(e));for(var t=[],n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}var Fo="6ba7b810-9dad-11d1-80b4-00c04fd430c8",Mo="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function Bo(e,t,n){function i(e,i,r,o){if("string"===typeof e&&(e=Po(e)),"string"===typeof i&&(i=Io(i)),16!==i.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var a=new Uint8Array(16+e.length);if(a.set(i),a.set(e,i.length),a=n(a),a[6]=15&a[6]|t,a[8]=63&a[8]|128,r){o=o||0;for(var s=0;s<16;++s)r[o+s]=a[s];return r}return ko(a)}try{i.name=e}catch(r){}return i.DNS=Fo,i.URL=Mo,i}function No(e){if("string"===typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var n=0;n<t.length;++n)e[n]=t.charCodeAt(n)}return Ro(jo(Lo(e),8*e.length))}function Ro(e){for(var t=[],n=32*e.length,i="0123456789abcdef",r=0;r<n;r+=8){var o=e[r>>5]>>>r%32&255,a=parseInt(i.charAt(o>>>4&15)+i.charAt(15&o),16);t.push(a)}return t}function $o(e){return 14+(e+64>>>9<<4)+1}function jo(e,t){e[t>>5]|=128<<t%32,e[$o(t)-1]=t;for(var n=1732584193,i=-271733879,r=-1732584194,o=271733878,a=0;a<e.length;a+=16){var s=n,l=i,c=r,u=o;n=Uo(n,i,r,o,e[a],7,-680876936),o=Uo(o,n,i,r,e[a+1],12,-389564586),r=Uo(r,o,n,i,e[a+2],17,606105819),i=Uo(i,r,o,n,e[a+3],22,-1044525330),n=Uo(n,i,r,o,e[a+4],7,-176418897),o=Uo(o,n,i,r,e[a+5],12,1200080426),r=Uo(r,o,n,i,e[a+6],17,-1473231341),i=Uo(i,r,o,n,e[a+7],22,-45705983),n=Uo(n,i,r,o,e[a+8],7,1770035416),o=Uo(o,n,i,r,e[a+9],12,-1958414417),r=Uo(r,o,n,i,e[a+10],17,-42063),i=Uo(i,r,o,n,e[a+11],22,-1990404162),n=Uo(n,i,r,o,e[a+12],7,1804603682),o=Uo(o,n,i,r,e[a+13],12,-40341101),r=Uo(r,o,n,i,e[a+14],17,-1502002290),i=Uo(i,r,o,n,e[a+15],22,1236535329),n=Wo(n,i,r,o,e[a+1],5,-165796510),o=Wo(o,n,i,r,e[a+6],9,-1069501632),r=Wo(r,o,n,i,e[a+11],14,643717713),i=Wo(i,r,o,n,e[a],20,-373897302),n=Wo(n,i,r,o,e[a+5],5,-701558691),o=Wo(o,n,i,r,e[a+10],9,38016083),r=Wo(r,o,n,i,e[a+15],14,-660478335),i=Wo(i,r,o,n,e[a+4],20,-405537848),n=Wo(n,i,r,o,e[a+9],5,568446438),o=Wo(o,n,i,r,e[a+14],9,-1019803690),r=Wo(r,o,n,i,e[a+3],14,-187363961),i=Wo(i,r,o,n,e[a+8],20,1163531501),n=Wo(n,i,r,o,e[a+13],5,-1444681467),o=Wo(o,n,i,r,e[a+2],9,-51403784),r=Wo(r,o,n,i,e[a+7],14,1735328473),i=Wo(i,r,o,n,e[a+12],20,-1926607734),n=qo(n,i,r,o,e[a+5],4,-378558),o=qo(o,n,i,r,e[a+8],11,-2022574463),r=qo(r,o,n,i,e[a+11],16,1839030562),i=qo(i,r,o,n,e[a+14],23,-35309556),n=qo(n,i,r,o,e[a+1],4,-1530992060),o=qo(o,n,i,r,e[a+4],11,1272893353),r=qo(r,o,n,i,e[a+7],16,-155497632),i=qo(i,r,o,n,e[a+10],23,-1094730640),n=qo(n,i,r,o,e[a+13],4,681279174),o=qo(o,n,i,r,e[a],11,-358537222),r=qo(r,o,n,i,e[a+3],16,-722521979),i=qo(i,r,o,n,e[a+6],23,76029189),n=qo(n,i,r,o,e[a+9],4,-640364487),o=qo(o,n,i,r,e[a+12],11,-421815835),r=qo(r,o,n,i,e[a+15],16,530742520),i=qo(i,r,o,n,e[a+2],23,-995338651),n=Yo(n,i,r,o,e[a],6,-198630844),o=Yo(o,n,i,r,e[a+7],10,1126891415),r=Yo(r,o,n,i,e[a+14],15,-1416354905),i=Yo(i,r,o,n,e[a+5],21,-57434055),n=Yo(n,i,r,o,e[a+12],6,1700485571),o=Yo(o,n,i,r,e[a+3],10,-1894986606),r=Yo(r,o,n,i,e[a+10],15,-1051523),i=Yo(i,r,o,n,e[a+1],21,-2054922799),n=Yo(n,i,r,o,e[a+8],6,1873313359),o=Yo(o,n,i,r,e[a+15],10,-30611744),r=Yo(r,o,n,i,e[a+6],15,-1560198380),i=Yo(i,r,o,n,e[a+13],21,1309151649),n=Yo(n,i,r,o,e[a+4],6,-145523070),o=Yo(o,n,i,r,e[a+11],10,-1120210379),r=Yo(r,o,n,i,e[a+2],15,718787259),i=Yo(i,r,o,n,e[a+9],21,-343485551),n=zo(n,s),i=zo(i,l),r=zo(r,c),o=zo(o,u)}return[n,i,r,o]}function Lo(e){if(0===e.length)return[];for(var t=8*e.length,n=new Uint32Array($o(t)),i=0;i<t;i+=8)n[i>>5]|=(255&e[i/8])<<i%32;return n}function zo(e,t){var n=(65535&e)+(65535&t),i=(e>>16)+(t>>16)+(n>>16);return i<<16|65535&n}function Vo(e,t){return e<<t|e>>>32-t}function Ho(e,t,n,i,r,o){return zo(Vo(zo(zo(t,e),zo(i,o)),r),n)}function Uo(e,t,n,i,r,o,a){return Ho(t&n|~t&i,e,t,r,o,a)}function Wo(e,t,n,i,r,o,a){return Ho(t&i|n&~i,e,t,r,o,a)}function qo(e,t,n,i,r,o,a){return Ho(t^n^i,e,t,r,o,a)}function Yo(e,t,n,i,r,o,a){return Ho(n^(t|~i),e,t,r,o,a)}var Go=No,Ko=Bo("v3",48,Go),Xo=Ko;function Zo(e,t,n){e=e||{};var i=e.random||(e.rng||go)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t){n=n||0;for(var r=0;r<16;++r)t[n+r]=i[r];return t}return ko(i)}var Jo=Zo;function Qo(e,t,n,i){switch(e){case 0:return t&n^~t&i;case 1:return t^n^i;case 2:return t&n^t&i^n&i;case 3:return t^n^i}}function ea(e,t){return e<<t|e>>>32-t}function ta(e){var t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"===typeof e){var i=unescape(encodeURIComponent(e));e=[];for(var r=0;r<i.length;++r)e.push(i.charCodeAt(r))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var o=e.length/4+2,a=Math.ceil(o/16),s=new Array(a),l=0;l<a;++l){for(var c=new Uint32Array(16),u=0;u<16;++u)c[u]=e[64*l+4*u]<<24|e[64*l+4*u+1]<<16|e[64*l+4*u+2]<<8|e[64*l+4*u+3];s[l]=c}s[a-1][14]=8*(e.length-1)/Math.pow(2,32),s[a-1][14]=Math.floor(s[a-1][14]),s[a-1][15]=8*(e.length-1)&4294967295;for(var d=0;d<a;++d){for(var h=new Uint32Array(80),p=0;p<16;++p)h[p]=s[d][p];for(var f=16;f<80;++f)h[f]=ea(h[f-3]^h[f-8]^h[f-14]^h[f-16],1);for(var m=n[0],g=n[1],v=n[2],y=n[3],b=n[4],w=0;w<80;++w){var _=Math.floor(w/20),C=ea(m,5)+Qo(_,g,v,y)+b+t[_]+h[w]>>>0;b=y,y=v,v=ea(g,30)>>>0,g=m,m=C}n[0]=n[0]+m>>>0,n[1]=n[1]+g>>>0,n[2]=n[2]+v>>>0,n[3]=n[3]+y>>>0,n[4]=n[4]+b>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]}var na=ta,ia=Bo("v5",80,na),ra=ia,oa={v1:Oo,v3:Xo,v4:Jo,v5:ra};function aa(e){let t=new fo;t.setPublicKey(sa("4ADS20wxtyAw"));let n=t.encrypt(e);return n}function sa(e){return!!Object.prototype.toString.call(e)&&la("M1Fw3wD5QYJKoZIhvcNAQEBBQADSwAwSAJBAPWZswFK/6")}function la(e){if(Object.prototype.toString.call(e)){let t=e.replace(new RegExp("1","g"),""),n=t.replace(new RegExp("3","g"),""),i=n.replace(new RegExp("5","g"),"");return ca("AJB5APWZ"+i)}return!1}function ca(e){if(Object.prototype.toString.call(e)){let t="++m2Kx72j8q73mLKCxi72MZG6knk7vQAz9Ed4SgbJ67juHT7Km",n=t.split("").reverse().join(""),i=n.split("").reverse().join(""),r=i.replace(new RegExp("3m","g"),""),o=r.replace(new RegExp("6k","g"),""),a=o.replace(new RegExp("gb","g"),"");return ua(e.slice(8)+a)}return!1}function ua(e){if(Object.prototype.toString.call(e)){let t="7kdTklfaAsccYCeQbhDr7Cd8mWFleQtVKM6mM90CAwEAAQ==",n=t.replace(new RegExp("cc","g"),""),i=n.replace(new RegExp("8m","g"),""),r="hDr7Cd98mWF"+i.replace(new RegExp("90","g"),"");return e.split("").reverse().join("").split("").reverse().join("")+r.slice(11)}return!1}function da(e,t=!1){const n=document.createElement("a");n.href=e,n.target="_blank",n.rel="noopener noreferrer",t&&(n.download="file"),document.body.appendChild(n),n.click(),document.body.removeChild(n)}let ha="",pa="";function fa(e){if(null!==e){if(Array.isArray(e))for(let t=0;t<e.length;t++)null===e[t]?e[t]=void 0:"object"===typeof e[t]&&fa(e[t]);else if("object"===typeof e)for(const t in e)e.hasOwnProperty(t)&&(null===e[t]?e[t]=void 0:"object"===typeof e[t]&&fa(e[t]));return e}}function ma(e){pa=e,localStorage.setItem("EDMDefaultEnv",e),"dev"===e||"development"===e||"test"===e||"pre"===e?ha="https://apipre.wotohub.com":"prod"!==e&&"production"!==e||(ha="https://api.wotohub.com/")}const ga=xn.create({baseURL:"",timeout:25e4});ga.interceptors.request.use((function(e){const t=(new Date).getTime(),n=In()+t;let i=oa.v4();const r=e.params||e.data;fa(r);let o={},a="";r?(o=$n(e.url,n,t,r,i,e.method),a=o.hmacBytes):(o=$n(e.url,n,t,null,i,e.method),a=o.hmacBytes),e.baseURL=pa?ha:"https://apipre.wotohub.com",e.headers["appkey"]=aa(i),e.headers["timestamp"]=t,e.headers["nonce"]=n,e.headers["cookieid"]=a,e.headers["sign"]=Ln(r).hmacBytes,e.headers["token"]=localStorage.getItem("token"),e.headers["Content-Type"]="application/json",e.config&&e.config.contentType&&"formData"===e.config.contentType&&(e.headers["Content-Type"]="multipart/form-data");let s=localStorage.getItem("sourceApp");return s&&(e.headers["sourceApp"]=localStorage.getItem("sourceApp")),localStorage.getItem("token")&&(e.headers["token"]=localStorage.getItem("token")),localStorage.getItem("Authorization")&&(e.headers["Authorization"]=localStorage.getItem("Authorization")),localStorage.getItem("dss_token")&&(e.headers["dss-token"]=localStorage.getItem("dss_token")),e}),(function(e){return Promise.reject(e)})),ga.interceptors.response.use((function(e){503===e.status&&alert("服务器不可用,请联系管理员"),200!==e.status&&0!==e.status||("1006"===e.data.code||"用户未登录"===e.data.message)&&(localStorage.removeItem("user_info"),localStorage.removeItem("user_equity"),localStorage.removeItem("token"),localStorage.removeItem("dss_token"),localStorage.removeItem("referrer"),localStorage.removeItem("isRemindUnlock"),localStorage.removeItem("inboxPage"),localStorage.removeItem("outboxPage"),localStorage.removeItem("omaToken"),localStorage.removeItem("oma_token"),["www.wotohub.com","pre-hub.kuku.info"].includes(window.location.host)&&(window.location.href="/login"));try{if("object"===typeof e.data&&e.data.hasOwnProperty("code")&&0!=e.data.code){const t=JSON.parse(localStorage.getItem("user_info")||"{}"),n=t.user_id?t.user_id+"_":"";throw new Error(n+e.request.responseURL+e.request.responseText||e.data.code)}}catch(Rl){console.error("An error occurred:",Rl),Sa(Rl)}return e.data}),(function(e){return Promise.reject(e)}));const va=(e,t)=>new Promise(((n,i)=>{ga.get(e,{params:t}).then((e=>{n(e)})).catch((e=>{i(e)}))})),ya=(e,t)=>new Promise(((n,i)=>{ga.delete(e,{params:t}).then((e=>{n(e)})).catch((e=>{i(e)}))})),ba=(e,t)=>new Promise(((n,i)=>{ga.delete(e,{data:t}).then((e=>{n(e)})).catch((e=>{i(e)}))})),wa=(e,t,n)=>new Promise(((i,r)=>{ga.post(e,t,{responseType:n?"blob":"json"}).then((e=>{i(e)})).catch((e=>{r(e)}))})),_a=(e,t)=>new Promise(((n,i)=>{ga.put(e,t).then((e=>{n(e)})).catch((e=>{i(e)}))})),Ca=(e,t,n)=>ga({method:"post",url:e,data:t,onUploadProgress:n,config:{contentType:"formData"},headers:{"Content-Type":"multipart/form-data"}}),xa=localStorage.getItem("EDMDefaultEnv");function Sa(e){"dev"!==xa&&Ki.reportFrameErrors({service:"wotohubService",serviceVersion:"10.1.0",traceSDKInternal:!0,pagePath:location.href,useFmp:!0,collector:location.origin,jsErrors:!0,apiErrors:!0,resourceErrors:!0,autoTracePerf:!0,enableSPA:!0,detailMode:!0,noTraceOrigins:[],traceTimeInterval:6e4,vue:qn()},e)}"dev"!==xa&&Ki.register({service:"wotohubService",serviceVersion:"10.1.0",traceSDKInternal:!0,pagePath:location.href,useFmp:!0,collector:location.origin,jsErrors:!0,apiErrors:!0,resourceErrors:!0,autoTracePerf:!0,enableSPA:!0,detailMode:!0,noTraceOrigins:[],vue:qn()});const ka=xn.create({baseURL:"https://dss-apis.kuku.info"});ka.interceptors.request.use((e=>{if(e.data)for(const t in e.data)Aa(e.data[t])&&delete e.data[t];if(e.params)for(const t in e.params)Aa(e.params[t])&&delete e.params[t];return zi.getters.token&&(e.headers["Authorization"]="Bearer "+Yi()),e}),(e=>Promise.reject(e))),ka.interceptors.response.use((e=>{const t=e.data;try{if("object"===typeof e.data&&e.data.hasOwnProperty("code")&&0!=e.data.code){const t=JSON.parse(localStorage.getItem("user_info")||"{}"),n=t.user_id?t.user_id+"_":"";throw new Error(n+e.request.responseURL+e.request.responseText||e.data.code)}}catch(Rl){console.error("An error occurred:",Rl),Sa(Rl)}return Promise.resolve(t)}),(e=>(100003===e.response.data.code?(0,Un.Message)({message:e.response.data.message,type:"error",duration:5e3}):(0,Un.Message)({message:e.response.data.message?e.response.data.message:"网络错误,请稍后再试~",type:"error",duration:5e3}),Promise.reject(e))));var Ea=ka;function Aa(e){return"undefined"===typeof e||null===e||""===e}async function Da(e){let t=await wa("/user/userSystem/loginWithPassword",e);return t.data}function Oa(e){return Ea({url:"https://dss-apis.kuku.info/user/account/password",method:"POST",data:e})}async function Ta(e){let t=await Hn("https://api.kuku.info/koc/task/search",e);return t.data}async function Ia(){let e=await Hn("http://192.168.4.10:9528/writeEmail",{});return e.data}async function Pa(e){let t={sourceApp:"hub",bloggerName:"",subject:"",taskName:"",type:"",currentPage:1,pageSize:10},n=await Hn("http://192.168.4.10:8080/edm/mail/selOutbox",t);return n.data}var Fa={name:"edm-button",created(){},methods:{test(){let e='<html>\n <head>\n <meta http-equiv="Content-Type" content="text/html; charset=gb2312">\n <style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>\n </head>\n <body dir="ltr">\n <div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">\n This is a great project. I like it very much. Can you tell me the specific way of cooperation?\n </div>\n <div id="appendonsend"></div>\n <hr style="display:inline-block;width:98%" tabindex="-1">\n <div id="divRplyFwdMsg" dir="ltr">\n <font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>发件人:</b> e9f2b200-3423-11ef-85f0-525400450766@viralpromotors.com &lt;e9f2b200-3423-11ef-85f0-525400450766@viralpromotors.com&gt; 代表 marywrogers@viralpromotors.com &lt;marywrogers@viralpromotors.com&gt;<br><b>发送时间:</b> 2024年6月27日 9:23<br><b>收件人:</b> lectmaha &lt;lectmaha@hotmail.com&gt;<br><b>主题:</b> Business inquiry-Hisense wants collaboration-allhostaria</font>\n <div>\n &nbsp;\n </div>\n </div>\n <div>\n <p style="text-align:left"><span style="font-size:14px">Hi allhostaria,</span></p>\n <p style="text-align:left"><span style="font-size:14px">Hope this email finds you well.</span></p>\n <p style="text-align:left"><span style="font-size:14px">This is Anna from Wotokol, a famous influencer marketing company that connects international influencers and world-famous brands from China.</span></p>\n <p style="text-align:left"><span style="font-size:14px">You do really great content on your channel and here\'s a campaign that I\'d like to invite you to join.</span></p>\n <p style="text-align:left"><br></p>\n <p style="text-align:left"><span style="font-size:14px">Here is the info about this activity:</span></p>\n <p style="text-align:left"><span style="font-size:14px">Brand: Hisense &nbsp;</span><a href="https://sctrack.sendcloud.net/track/click2/eNolj8FuwyAQRP8FpTeC2TWsza39jipCeE1qK8RUAZ-q_ntwoj2sZuZpR_uNoyU7SCGkgAGcsWB6bONB9w7JO2cJ_ThoqwqfQXvnjfZA5rxuU963WZ9S5HoPS_hccttrUpzvQmopllp_y0f_1XU_KU8hqWUtcSvxALoXcQ2pxFZtBjWOClGBoSbrYz_cI2AmRDMb5wA0BeoBeQIOzMhXMm-qcH0Evql2feaU91ltsQr59y_fXzTo8gRda0GI.html" target="_blank"><span style="color:rgb(120,6,80); font-size:14px">https://global.hisense.com/</span></a></p>\n <p style="text-align:left"><span style="font-size:14px">Product models for different countries:</span></p>\n <p style="text-align:left"><span style="font-size:14px"><u>US:</u></span><span style="font-size:14px"> Hisense 100" Class U76 4K Google TV 100U76N Hisense (hisense-usa.com), Hisense 100" L9 Series TriChroma Laser TV (100L9H-DLT100C) (hisense-usa.com)</span></p>\n <p style="text-align:left"><span style="font-size:14px"><u>UK:</u></span><span style="font-size:14px"> Mini-LED Smart TV - 100U7KQTUK - Hisense, 4K Smart Laser TV - 120L9HTUKA - Hisense</span></p>\n <p style="text-align:left"><span style="font-size:14px">Deliverables: one 5-8 mins dedicated YTB video + video commercial usage rights for 3 months</span></p>\n <p style="text-align:left"><span style="font-size:14px">Post time: July 7-July 14, 2024</span></p>\n <p style="text-align:left"><br></p>\n <p style="text-align:left"><span style="font-size:14px">One of the products will be given to you, please let me know your rate for this collab if you\'re interested.</span></p>\n <p style="text-align:left"><span style="font-size:14px">Please feel free to contact me if you have any questions, hope to hear from you soon.</span></p>\n <p style="text-align:left"><br></p>\n <p style="text-align:left"><span style="font-size:14px">Best Regards,</span></p>\n <p style="text-align:left"><span style="font-size:14px">Anna Chen</span></p>\n <div style="display:flex; overflow-x:auto"></div>\n <div>\n <br><img width="1px" height="1px" src="https://pixel.xin/collect.gif?trace_id=pixel_667cbf27e4b0b64ffa8b634c">\n </div>\n <table cellpadding="0" cellspacing="0" border="0" width="100%">\n <tbody>\n <tr>\n <td align="center" style="overflow:hidden; font-size:0; padding:0; margin:0; line-height:0"><img alt="" style="width:0; height:0" src="https://sctrack.sendcloud.net/track/open2/eNolTs0KwyAYexfZ0YpaP39ue48xxH46WuYUqj2NvfssJYeQEJI8pAUNhhJCiTDCKRBqlgNe8NlJ7Z0DLb01HFjDSXDvvOJeaDVtZalHifyWE_ZPWMN9rYO3zLB-COUD5BVyS6NaGWYtk5IJpYfs-3G65-aCBpzEqCAugo9RjDw6GCckaAxXqmHfA75ZSyVirkdkJXVCvz96vRyh5x_lOzaT.gif"></td>\n </tr>\n </tbody>\n </table>\n <center>\n <table width="100%" align="center" style="max-width:900px; margin:0 auto; width:100%">\n <tbody>\n <tr align="center">\n </tr>\n <tr align="center">\n <td width="560" style="border-top:1px #e5e5e5 solid; padding-top:15px; padding-bottom:15px">\n <table border="0" cellspacing="0" cellpadding="0" align="center">\n <tbody>\n <tr>\n <td style="background-color:#ddd; border:1px #ddd solid; border-radius:4px; padding:3px 15px; text-align:center"><a href="https://sctrack.sendcloud.net/track/unsubscribe2.do?p=eNptTssKAjEM_JfisVua9H3zP0RKt63sYt3CPk7ivxv1KjOQZMhMckFvrHGcMc7AQdAGtEJCBKkC2hiCsRi9k0ZseQAZQ9QygtXDvIz9WIo8tZr3R5rSeepU5yZyfzAuCeyW2lYpWjvhvUAUoC2N-3qQOsD37H87UwZzwVB1Skp7byEZGEsoNVGj8JNK3PK-pnwXW11Kbv0oYqk7488X__1PS9c3Zbc_0g%3D%3D" target="_blank" rel="noopener" style="color:#a6a6a6; background:#ddd; font-size:12px; text-decoration:none">点击这里取消订阅<br>\n click to unsubscribe</a></td>\n </tr>\n </tbody>\n </table></td>\n </tr>\n </tbody>\n </table>\n </center>\n </div>\n </body>\n</html>';e=e.replace("https://pixel.xin/emailControl.php?mid=",""),e=e.replace("https://pixel.xin/hub.gif?mid=",""),e=e.replace(new RegExp("unsubscribe","g"),""),e=e.replace(/<head>[\s\S]*?<\/head>/i,""),e=e.replace(/<[^>]+>/g,""),e=e.replace(new RegExp("&nbsp;","g")," "),console.log(e)},getData(){login()},change(){Pa();let e={id:"theme-hub"};l(e)},handleTest1(){},change1(){let e={id:"theme-dss"};l(e)},handleLoginHub(){localStorage.setItem("sourceApp","hub"),Da({mobileOrEmail:"18270829507",password:"123123"}).then((e=>{e&&(alert("登陆成功"),e.token&&(localStorage.setItem("token",e.token),localStorage.setItem("user_info",JSON.stringify({...e,user_id:e.id})),Gi(e.token)))}))},handleLoginDSS(){localStorage.setItem("sourceApp","dss"),Oa({login_account:"tankangkang0147",password:"123123123"}).then((e=>{0===e.code&&(localStorage.setItem("Authorization","Bearer "+e.data.token),Gi(e.token))}))},handleGetlist(){Ta({page:1,aa:"1"}).then((e=>{}))},getCros(){alert(1),Ia()}}},Ma=Fa;function Ba(e,t,n,i,r,o,a,s){var l,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):r&&(l=s?function(){r.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}var Na=Ba(Ma,o,a,!1,null,"4ee4e6c2",null),Ra=Na.exports,$a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"inbox-container"},[t("div",{staticClass:"search-box"},[t("el-row",{attrs:{gutter:16}},[t("el-col",{attrs:{span:6}},[t("div",{staticClass:"blogger-search-item"},[t("span",[e._v(e._s(e.$t("inboxMail.search.bloggerName")))]),t("el-input",{attrs:{placeholder:e.$t("inboxMail.search.default"),clearable:""},model:{value:e.searchForm.bloggerName,callback:function(t){e.$set(e.searchForm,"bloggerName",t)},expression:"searchForm.bloggerName"}})],1)]),t("el-col",{attrs:{span:6}},[t("div",{staticClass:"blogger-search-item"},[t("span",[e._v(e._s(e.$t("inboxMail.search.title")))]),t("el-input",{attrs:{placeholder:e.$t("inboxMail.search.default"),clearable:""},model:{value:e.searchForm.subject,callback:function(t){e.$set(e.searchForm,"subject",t)},expression:"searchForm.subject"}})],1)]),t("el-col",{attrs:{span:6}},[t("div",{staticClass:"blogger-search-item"},[t("span",[e._v(e._s(e.$t("inboxMail.search.target")))]),t("el-input",{attrs:{placeholder:e.$t("inboxMail.search.default"),clearable:""},model:{value:e.searchForm.popularizePlanName,callback:function(t){e.$set(e.searchForm,"popularizePlanName",t)},expression:"searchForm.popularizePlanName"}})],1)]),t("el-col",{attrs:{span:6}},[t("div",{staticClass:"blogger-search-item"},[t("span",[e._v(e._s(e.$t("inboxMail.search.tagName")))]),t("el-select",{staticClass:"normal-select",attrs:{clearable:"",multiple:"","collapse-tags":"",filterable:"",placeholder:e.$t("inboxMail.search.defaultSelect")},on:{change:e.handleTagChange},model:{value:e.searchForm.selectTag,callback:function(t){e.$set(e.searchForm,"selectTag",t)},expression:"searchForm.selectTag"}},e._l(e.tags,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)])],1),t("el-row",{staticClass:"second-row",attrs:{gutter:16}},[t("el-col",{attrs:{span:6}},[t("div",{staticClass:"blogger-search-item"},[t("span",[e._v(e._s(e.$t("inboxMail.search.isStar")))]),t("el-select",{staticClass:"normal-select",attrs:{clearable:"",placeholder:e.$t("inboxMail.search.defaultSelect")},model:{value:e.searchForm.isStar,callback:function(t){e.$set(e.searchForm,"isStar",t)},expression:"searchForm.isStar"}},[t("el-option",{attrs:{value:0,label:e.$t("inboxMail.search.all")}}),t("el-option",{attrs:{value:1,label:e.$t("inboxMail.search.starred")}})],1)],1)]),t("el-col",{attrs:{span:6}},[t("div",{staticClass:"blogger-search-item"},[t("span",[e._v(e._s(e.$t("inboxMail.search.isRead")))]),t("el-select",{staticClass:"normal-select",attrs:{clearable:"",placeholder:e.$t("inboxMail.search.defaultSelect")},model:{value:e.searchForm.isRead,callback:function(t){e.$set(e.searchForm,"isRead",t)},expression:"searchForm.isRead"}},[t("el-option",{attrs:{value:1,label:e.$t("inboxMail.search.unRead")}}),t("el-option",{attrs:{value:2,label:e.$t("inboxMail.search.read")}})],1)],1)]),t("el-col",{attrs:{span:6}},[t("div",{staticClass:"blogger-search-item"},[t("span",[e._v(e._s(e.$t("inboxMail.search.isReply")))]),t("el-select",{staticClass:"normal-select",attrs:{clearable:"",placeholder:e.$t("inboxMail.search.defaultSelect")},model:{value:e.searchForm.isReply,callback:function(t){e.$set(e.searchForm,"isReply",t)},expression:"searchForm.isReply"}},[t("el-option",{attrs:{value:1,label:e.$t("inboxMail.search.replyTrue")}}),t("el-option",{attrs:{value:0,label:e.$t("inboxMail.search.replyFalse")}})],1)],1)]),t("el-col",{attrs:{span:6}},[t("div",{staticClass:"blogger-search-item"},[t("span",[e._v(e._s(e.$t("inboxMail.search.replayTime")))]),t("el-select",{staticClass:"normal-select",attrs:{clearable:"",placeholder:e.$t("inboxMail.search.defaultSelect")},model:{value:e.searchForm.timeRange,callback:function(t){e.$set(e.searchForm,"timeRange",t)},expression:"searchForm.timeRange"}},[t("el-option",{attrs:{value:"1",label:e.$t("inboxMail.search.time1")}}),t("el-option",{attrs:{value:"2",label:e.$t("inboxMail.search.time2")}}),t("el-option",{attrs:{value:"3",label:e.$t("inboxMail.search.time3")}})],1)],1)])],1),t("el-row",{staticClass:"second-row last-row",attrs:{gutter:16}},[t("el-col",{attrs:{span:6}},[t("div",{staticClass:"blogger-search-item"},[t("span",[e._v(e._s(e.$t("inboxMail.search.sendEmail")))]),t("el-select",{staticClass:"normal-select",attrs:{placeholder:e.$t("inboxMail.search.defaultSelect"),clearable:""},model:{value:e.searchForm.sentMail,callback:function(t){e.$set(e.searchForm,"sentMail",t)},expression:"searchForm.sentMail"}},e._l(e.qyEmailList,(function(e){return t("el-option",{key:e.value,attrs:{value:e.value,label:e.label}})})),1)],1)]),t("el-col",{attrs:{span:6}},[t("div",{staticClass:"blogger-btn"},[t("el-button",{staticStyle:{width:"80px"},attrs:{size:"small",type:"primary"},on:{click:function(t){e.searchForm.currentPage=1,e.init()}}},[e._v(e._s(e.$t("inboxMail.searchButton.search")))]),t("el-button",{staticStyle:{width:"80px"},attrs:{size:"small"},on:{click:e.reset}},[e._v(e._s(e.$t("inboxMail.search.reset")))])],1)])],1)],1),t("div",{staticClass:"mail-wrap legacy relative"},[t("div",{staticClass:"tool"},[t("div",{staticClass:"flex"},[t("div",{staticClass:"tool-item mr8",on:{click:function(t){return e.init()}}},[t("el-tooltip",{staticClass:"item1",attrs:{"popper-class":"wt-tooltip-mail",content:e.$t("edm5.v1"),placement:"top"}},[t("i",{staticClass:"dss-iconfont icon-refresh-1"})])],1),t("div",{staticClass:"tool-item mr8",on:{click:function(t){return e.del()}}},[t("el-tooltip",{attrs:{"popper-class":"wt-tooltip-mail",content:e.$t("edm5.v2"),placement:"top"}},[t("i",{staticClass:"dss-iconfont icon-delete-2"})])],1),t("div",{staticClass:"tool-item mr8",on:{click:function(t){return e.setUnRead()}}},[t("el-tooltip",{attrs:{"popper-class":"wt-tooltip-mail",content:e.$i18n.t("inboxMail.search.setUnRead"),placement:"top"}},[t("i",{staticClass:"dss-iconfont relative icon-unread mail-unread mail-status"})])],1),t("div",{staticClass:"tool-item mr8",on:{click:function(t){return e.setHasRead()}}},[t("el-tooltip",{attrs:{"popper-class":"wt-tooltip-mail",content:e.$i18n.t("inboxMail.search.setHasRead"),placement:"top"}},[t("i",{staticClass:"dss-iconfont relative"},[e._v("")])])],1),t("div",{staticClass:"tool-item",on:{click:e.multiReply}},[t("el-tooltip",{attrs:{"popper-class":"wt-tooltip-mail",content:e.$i18n.t("inboxMail.search.batchReply"),placement:"top"}},[t("i",{staticClass:"dss-iconfont icon-plhf"})])],1),t("div",{staticClass:"tool-item",on:{click:e.hideAiMail}},[t("el-tooltip",{attrs:{"popper-class":"wt-tooltip-mail",content:e.isShowAiMail?"隐藏AI邮件":"显示AI邮件",placement:"top"}},[t("i",{staticClass:"dss-iconfont"},[e._v("")])])],1)])]),t("div",{ref:"mail",staticClass:"mail-body"},[t("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"table",style:{"min-height":`${e.tableHeight}px`},attrs:{data:e.tableData,"header-cell-class-name":e.headCellClass,"cell-class-name":e.cellClass,"row-class-name":e.rowClass,"row-key":e.getRowKeys},on:{"selection-change":e.switchMail,"row-contextmenu":e.rightClick,"row-click":e.skipDetail}},[t("el-table-column",{attrs:{"reserve-selection":!0,type:"selection",align:"center",width:"48"}}),t("el-table-column",{attrs:{width:"45"},scopedSlots:e._u([{key:"default",fn:function({row:n}){return[t("span",{on:{click:function(t){return t.stopPropagation(),e.isFavorites(n)}}},[t("i",{class:0===n.isStar?"start-icon pm-iconfont icon-star0":"start-icon pm-iconfont icon-star1 starcolor"})])]}}])}),t("el-table-column",{attrs:{width:"45"},scopedSlots:e._u([{key:"default",fn:function({row:n}){return["1"===n.mailStatus?t("span",[t("i",{staticClass:"dss-iconfont icon-contact2",style:{color:e.primary}})]):e._e(),"2"===n.mailStatus?t("span",{on:{click:function(t){return t.stopPropagation(),e.changeRead(n)}}},[t("el-tooltip",{attrs:{"popper-class":"wt-tooltip-mail",content:e.$i18n.t("inboxMail.search.setUnRead"),placement:"top"}},[t("i",{staticClass:"dss-iconfont relative icon-read-2 mail-read"})])],1):e._e()]}}])}),t("el-table-column",{attrs:{width:"70"},scopedSlots:e._u([{key:"default",fn:function({row:n}){return[1===n.isReply?t("span",[e._v(" "+e._s(e.$t("inboxMail.search.replyTrue"))+" ")]):t("span")]}}])}),t("el-table-column",{attrs:{width:"200"},scopedSlots:e._u([{key:"default",fn:function({row:n}){return[t("div",{staticClass:"blogger-column"},[t("el-tooltip",{attrs:{disabled:!(n.bloggerHover&&n.bloggerHover.bloggerId),"popper-class":"wt-tooltip-edm-blogger",placement:"top"}},[t("div",{staticClass:"blogger-card",attrs:{slot:"content"},slot:"content"},[t("div",{staticClass:"card-top"},[t("div",{staticClass:"top-left"},[t("el-image",{staticClass:"blogger-img",attrs:{src:n.bloggerHover.avatar}}),t("img",{staticClass:"platform-img",attrs:{src:i(2183)(`./${n.bloggerHover.platform||"youtube"}.png`)}})],1),t("div",{staticClass:"top-right"},[t("div",{staticClass:"blogger-name"},[t("div",{staticClass:"name"},[e._v(" "+e._s(n.bloggerHover.nickname)+" ")]),t("img",{staticClass:"flage",attrs:{src:n.bloggerHover.regionFlag,alt:""}}),t("div",{staticClass:"country"},[e._v(" "+e._s(n.bloggerHover.regionNameZh)+" ")])]),t("div",{staticClass:"blogger-data"},[t("div",{staticClass:"data-item"},[t("div",{staticClass:"item-label"},[e._v("粉丝数")]),t("div",{staticClass:"item-value"},[e._v(" "+e._s(e._f("numFormat")(n.bloggerHover.fansCount))+" ")])]),t("div",{staticClass:"data-item"},[t("div",{staticClass:"item-label"},[e._v("平均观看量")]),t("div",{staticClass:"item-value"},[e._v(" "+e._s(e._f("numFormat")(n.bloggerHover.viewVolumeAvg60d))+" ")])])])])]),t("div",{staticClass:"card-bottom"},[t("div",{staticClass:"bottom-item channel-item"},[t("div",{staticClass:"label"},[e._v("频道ID")]),t("div",{staticClass:"value"},[t("span",{staticClass:"text"},[e._v(e._s(n.bloggerHover.username))]),t("i",{staticClass:"dss-iconfont",on:{click:function(t){return e.copyText(n.bloggerHover.username)}}},[e._v("")])])]),t("div",{staticClass:"bottom-item tag-item"},[t("div",{staticClass:"label"},[e._v("标签")]),n.bloggerHover.tags&&n.bloggerHover.tags.length>0?t("div",{staticClass:"value"},e._l(n.bloggerHover.tags.slice(0,3),(function(n){return t("div",{key:n,staticClass:"tag"},[e._v(" "+e._s(n)+" ")])})),0):t("div",{staticClass:"value"},[e._v("-")])]),t("div",{staticClass:"bottom-item"},[t("div",{staticClass:"label"},[e._v("报价")]),t("div",{staticClass:"value"},[2==n.bloggerHover.quoteType&&n.bloggerHover.amount?t("span",{staticClass:"text"},[e._v(e._s(n.bloggerHover.amount)+e._s(n.bloggerHover.currencyName))]):1==n.bloggerHover.quoteType?t("span",[e._v("免费置换")]):t("span",{staticClass:"text"},[e._v("-")])])]),t("div",{staticClass:"bottom-item plan-item"},[t("div",{staticClass:"label"},[e._v("推广计划")]),n.bloggerHover.planCoop&&n.bloggerHover.planCoop.planId?t("div",{staticClass:"value"},[t("div",{staticClass:"plan-list"},[t("span",{staticClass:"text"},[e._v(e._s(n.bloggerHover.planCoop.planName))]),t("div",{staticClass:"other"},[n.bloggerHover.planCoop.coopModifyTime?t("span",{staticClass:"sub-text"},[e._v(e._s(e.formatDate(n.bloggerHover.planCoop.coopModifyTime)))]):e._e(),t("span",{staticClass:"sub-text"},[e._v(e._s(n.bloggerHover.planCoop.coopStatusStr))])])])]):t("div",{staticClass:"value"},[e._v("-")])])])]),t("div",{staticClass:"blogger-col",on:{click:function(t){return t.stopPropagation(),e.toBloggerDetail(n)}}},[n.bloggerHover.avatar?t("el-image",{staticClass:"blogger-img",attrs:{fit:"cover",src:n.bloggerHover.avatar}}):e._e(),t("p",{class:{beyond_eip:!0,is_not_Ai_Woto_mail:0==n.isAiWoto,"font-bold .text-gray-700":1===n.isRead}},[e._v(" "+e._s(n.bloggerName)+" ")])],1)]),1==n.isAiWoto?t("img",{staticClass:"ai-flag",attrs:{src:i(251),alt:""}}):e._e()],1)]}}])}),t("el-table-column",{attrs:{width:"140"},scopedSlots:e._u([{key:"default",fn:function({row:n}){return[t("div",{staticClass:"mail-task flex items-center"},[""!==n.popularizePlanName&&null!==n.popularizePlanName?[t("i",{staticClass:"dss-iconfont icon-task",staticStyle:{"font-size":"22px"},style:{color:2===n.isRead?"#999999":"#FF5277"},on:{click:function(t){return t.stopPropagation(),e.skipPlan(n)}}}),t("span",{staticClass:"beyond_eip",class:1===n.isRead?"font-bold text-gray-700":"",attrs:{title:n.popularizePlanName},on:{click:function(t){return t.stopPropagation(),e.skipPlan(n)}}},[e._v(e._s(n.popularizePlanName))])]:t("span",[e._v(e._s(e.$t("inboxMail.search.noTask")))])],2)]}}])}),t("el-table-column",{ref:"a1",scopedSlots:e._u([{key:"default",fn:function({row:n}){return[t("div",{staticClass:"mail-main"},[1===n.isAttachment?t("i",{staticClass:"dss-iconfont icon-file-3",staticStyle:{"margin-right":"2px"}}):e._e(),t("span",{staticClass:"mail-subject beyond_eip mr8",class:1===n.isRead?"font-bold text-gray-700":""},[e._v(e._s(n.subject))]),t("span",{staticClass:"mail-content beyond_eip ml6 mr16",staticStyle:{color:"#999999"},domProps:{innerHTML:e._s(e.filterHtmlTag(n.content))}}),t("div",{ref:"mailTagList",staticClass:"mail-tag"},e._l(n.tagList,(function(i,r){return t("div",{key:r,staticClass:"mail-tag-item inbox-item",style:{color:"#fff",background:i.tagColor},attrs:{title:i.tagName},on:{click:function(t){return t.stopPropagation(),e.handleBindTag(n,i)}}},[e._v(" "+e._s(i.tagName.length>6?i.tagName.slice(0,6)+" ...":i.tagName)+" "),t("i",{staticClass:"el-icon-close inbox-icon-close"})])})),0),t("div",{staticClass:"add-block"}),t("div",{staticClass:"tag-add"},[t("span",{staticClass:"tag-btn",staticStyle:{"font-size":"12px"},on:{click:function(t){return t.stopPropagation(),e.addMailTag(n)}}},[t("span",[e._v("+")]),e._v(" "+e._s(e.$t("inboxTable.addTag")))])])])]}}])}),t("el-table-column",{attrs:{width:"160"},scopedSlots:e._u([{key:"default",fn:function({row:n}){return[t("p",{staticStyle:{color:"#666666"}},[e._v(" "+e._s(n.createTime)+" ")])]}}])})],1)],1),t("div",{staticClass:"mail-foot mb16"},[e.tableTotal>0?t("el-pagination",{attrs:{"current-page":e.searchForm.currentPage,total:e.tableTotal,"page-size":e.searchForm.pageSize,background:"",layout:"total, sizes, prev, pager, next, jumper"},on:{"update:currentPage":function(t){return e.$set(e.searchForm,"currentPage",t)},"update:current-page":function(t){return e.$set(e.searchForm,"currentPage",t)},"current-change":e.changePage,"size-change":e.changeSize}}):e._e()],1)]),e.isShowSettag?t("AddTagsDialog",{attrs:{isShowDialog:e.isShowSettag,defaultTag:e.selectedTags},on:{updateTag:e.updateTag,closeAddTagsDialog:function(t){e.isShowSettag=!1}}}):e._e(),t("el-dialog",{attrs:{title:e.$t("inboxTable.tip"),visible:e.dialogVisible,width:"420px","show-close":!0},on:{"update:visible":function(t){e.dialogVisible=t}}},[t("div",{staticClass:"delete-shield",staticStyle:{display:"flex"}},[t("i",{staticClass:"delete-shield-icon el-icon-warning"}),t("div",{staticStyle:{display:"flex","flex-direction":"column"}},[t("span",[e._v(e._s(e.$t("inboxTable.delMail"))+"?")]),t("span",[e._v(e._s(e.$t("inboxTable.deleteTip")))])])]),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{size:"small"},on:{click:function(t){e.dialogVisible=!1}}},[e._v(e._s(e.$t("inboxTable.cancel")))]),t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.handleConfirmDel}},[e._v(e._s(e.$t("inboxTable.confirm")))]),t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.handleDelShield}},[e._v(e._s(e.$t("inboxTable.delShieldBtn")))])],1)])],1)},ja=[];i(8111),i(2489),i(7588),i(1701);async function La(e){let t=await wa("/edm/inbox/selInbox",e);return"0"===t.code?t.data:null}async function za(e){let t=await wa("/edm/inbox/setBatchAsUnread",e);return t}async function Va(e){let t=await wa("/edm/inbox/setBatchAsRead",e);return t}async function Ha(){let e=await va("/edm/inbox/mailRemind");return e?e.data:null}async function Ua(e){let t=await _a("/edm/inbox/signRead",e);return!!t.success||null}async function Wa(e){let t=await ba("/edm/inbox/delInbox",e);return t.success}async function qa(e){let t=await ba("/edm/inbox/delInboxAndShield",e);return t.success}async function Ya(e){let t=await _a("/edm/inbox/starInbox",e);return t.success}async function Ga(e){let t=await va(`/edm/inbox/inboxDetail/${e}`);return t.success?t.data:null}async function Ka(e){let t=await va(`/edm/inbox/inboxDialogue/${e}`);return t.success?t.data:(Un.Message.error(t.message),null)}async function Xa(e){let t=await ba("/edm/inbox/delOneMail",e);return t||null}async function Za(e){let t=await _a("/edm/tag/bindTag",e);return"0"===t.code||null}async function Ja(){let e=await va("/edm/tag/tags"),t=[{id:10464,tag:"很有希望",tagColor:"#1F81FF",tagType:2},{id:10465,tag:"系统标签1",tagColor:"#1F81FF",tagType:1},{id:10466,tag:"自定义标签3",tagColor:"#1F81FF",tagType:1},{id:10467,tag:"自定义标签2",tagColor:"#1F81FF",tagType:2},{id:10468,tag:"自定义标签1",tagColor:"#1F81FF",tagType:2}];return"0"===e.code?e.data:t}async function Qa(e){let t=await wa("/edm/mail/preUpload",e);return t||null}async function es(e){let t=await wa("/edm/mail/preAbroadUpload",e);return t||null}async function ts(e,t,n){return await Ca(e,t,n)}async function ns(e){let t=await wa("/edm/outboxV2/multiReply",e);return t}function is(e){return wa("/woto-crm/plan/planListToAdd",e)}function rs(e){return va(`/edm/inbox/inboxCrmData/${e}`)}function os(e){return wa("/woto-crm/planBlog/updatePlanBlogStatus",e)}function as(){return va("/user/equity/userAiPoint")}function ss(e){return va(`/edm/inbox/emailSummary/${e}`)}function ls(e){return va(`/edm/inbox/emailSummary/generate/${e}`)}function cs(e){return va(`/edm/inbox/smartReply/${e}`)}function us(e){return va(`/edm/inbox/keyInformation/${e}`)}function ds(e){return va(`/edm/inbox/keyInformation/extract/${e}`)}function hs(e){return wa("/edm/outbox/aiReply2Write/save",e)}function ps(e){return wa("/user/info/addBlogInfo",e)}function fs(e){return wa("/edm/inbox/aiUserFeedBack/save",e)}function ms(e){return va(`/edm/inbox/aiUserFeedBack/${e}`)}function gs(e){return wa("/woto-crm/planBlog/batchMovePlanBlog",e)}function vs(e){return wa("/edm/inbox/refreshInboxCrm",e)}function ys(e){return va(`/edm/inbox/aiReplyStrategy/generate/${e}`)}function bs(){return va("/edm/ai/aiEmailStrategy/get")}function ws(e){return va(`/edm/inbox/emailStrategy/${e}`)}function _s(){return va("/edm/dictionary/languages/get")}function Cs(){return va("/edm/dictionary/tones/get")}function xs(e){return wa("/edm/inbox/smartReply/generate",e)}function Ss(e){return va("/edm/qiye/mailOwnerCheck",e)}function ks(e){return wa("/woto-crm/planBlog/addPlanBlog",e)}function Es(e){return va("/edm/tag/searchTags",e)}function As(e){return ya(`/edm/tag/delTag/${e}`)}function Ds(e){return wa("/edm/tag/addSign",e)}function Os(e){return va("/user/hubUser/sonFather",e)}function Ts(e){return va("/edm/template/templates",e)}function Is(e){return va("/edm/inbox/selBloggerHover",e)}function Ps(e){return va(`/edm/conf/user/${e}/getBizEmails`)}function Fs(e){return va("/wonderland/api/invite/getJobBloggerInfoByChatId",e)}function Ms(e){return va("/user/user/allowAccess",e)}var Bs=function(){var e=this,t=e._self._c;return t("div",{staticClass:"wrap"},["inbox"===e.searchType?t("div",{staticClass:"search"},[e._l(e.inbox,(function(n,i){return t("div",{key:i,staticClass:"search-item"},[t("span",[e._v(e._s(e.$t(n.key)))]),t("div",[t("el-input",{attrs:{placeholder:"请输入内容",clearable:""},model:{value:e.query[n.key],callback:function(t){e.$set(e.query,n.key,t)},expression:"query[item.key]"}})],1)])})),t("div",{staticClass:"search-item"},[t("el-button",{staticClass:"search-btn",attrs:{type:"primary"},on:{click:e.handleSearch}},[e._v(e._s(e.$i18n.t("searchButton.search")))]),t("el-button",{staticClass:"search-btn",on:{click:e.handleReset}},[e._v(e._s(e.$i18n.t("searchButton.reset")))])],1)],2):e._e(),"outbox"===e.searchType?t("div",{staticClass:"search"},[e._l(e.outbox,(function(n,i){return t("div",{key:i,staticClass:"search-item"},[t("span",{key:i},[e._v(e._s(n.txt))]),t("div",[t("el-input",{attrs:{placeholder:"请输入内容",clearable:""},model:{value:e.query[n.key],callback:function(t){e.$set(e.query,n.key,t)},expression:"query[item.key]"}})],1)])})),t("div",{staticClass:"search-item"},[t("el-button",{staticClass:"search-btn",attrs:{type:"primary"},on:{click:e.handleSearch}},[e._v("查询")]),t("el-button",{staticClass:"search-btn",attrs:{type:"primary","&#x26;#x3C;el-button":""},on:{click:e.handleReset}},[e._v(e._s(e.$t("edm5.v44")))])],1)],2):e._e()])},Ns=[],Rs={name:"edm-search",props:{searchType:{default:"inbox",type:String}},data(){return{query:{},test:[{name:"search.name"}],aa:this.$i18n.t("search.name"),outbox:[{id:oa.v1(),key:"name",txt:"红人名称:",type:"input"},{id:oa.v1(),key:"title",txt:"标题正文:",type:"input"},{id:oa.v1(),key:"target",txt:"任务名称:",type:"input"},{id:oa.v1(),kety:"mail",txt:"邮件类型:",type:"select"}],inbox:[{id:oa.v1(),key:"search.name",txt:"红人名称",type:"input"},{id:oa.v1(),key:"search.title",txt:"正文标题:",type:"input"},{id:oa.v1(),key:"search.target",txt:"任务名称:",type:"input"},{id:oa.v1(),key:"search.tag",txt:"标签名称:",type:"select"},{id:oa.v1(),key:"search.isRead",txt:"已读状态:",type:"select"}]}},created(){},methods:{handleSearch(){let e=Object.entries(this.query),t=Object.fromEntries(e);this.$emit("handleSearch",t)},handleReset(){let e=Object.entries(this.query);Object.fromEntries(e);this.query["search.name"]&&(this.query["search.name"]=""),this.query["search.title"]&&(this.query["search.title"]=""),this.query["search.target"]&&(this.query["search.target"]=""),this.$emit("handleReset")}}},$s=Rs,js=Ba($s,Bs,Ns,!1,null,"4d651f22",null),Ls=js.exports;i(116);function zs(e,t){if(0===arguments.length||!e)return null;const n=t||"{y}-{m}-{d} {h}:{i}:{s}";let i;"object"===typeof e?i=e:("string"===typeof e&&(e=/^[0-9]+$/.test(e)?parseInt(e):e.replace(new RegExp(/-/gm),"/")),"number"===typeof e&&10===e.toString().length&&(e*=1e3),i=new Date(e));const r={y:i.getFullYear(),m:i.getMonth()+1,d:i.getDate(),h:i.getHours(),i:i.getMinutes(),s:i.getSeconds(),a:i.getDay()},o=n.replace(/{([ymdhisa])+}/g,((e,t)=>{const n=r[t];return"a"===t?["日","一","二","三","四","五","六"][n]:n.toString().padStart(2,"0")}));return o}function Vs(e,t){return e.map((function(e,n){return e[t]}))}function Hs(e){const t=new Date,n=new Date(t-864e5*(e-1)),i=t.getFullYear(),r=t.getMonth()+1,o=t.getDate(),a=n.getFullYear(),s=n.getMonth()+1,l=n.getDate(),c=i+"-"+(r<10?"0"+r:r)+"-"+(o<10?"0"+o:o),u=a+"-"+(s<10?"0"+s:s)+"-"+(l<10?"0"+l:l);return[u,c]}function Us(){var e=new Date,t=e.getFullYear(),n=e.getMonth()+1,i=e.getDate(),r=e.getHours(),o=e.getMinutes(),a=e.getSeconds();n>=1&&n<=9&&(n="0"+n),i>=0&&i<=9&&(i="0"+i),o>=0&&o<=9&&(o="0"+o),a>=0&&a<=9&&(a="0"+a);var s=t+n+i+r+o+a;return s}function Ws(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}function qs(e){const t=new Date((new Date).getTime()+6e4*(new Date).getTimezoneOffset()+288e5),n=new Date(e),i=(n-t)/1e3;return i<3600?"1小时内发送":i>=3600&&i<86400?Math.ceil(i/3600)+"小时后发送":i>=86400&&i<=2592e3?Math.ceil(i/86400)+"天后发送":e}function Ys(e,t){Gs(e,(function(e){Ks(e,t)}))}function Gs(e,t){let n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="blob",n.onload=function(){if(200!==n.status)return window.open(e,"_blank"),!1;t(n.response)},n.onerror=function(){return window.open(e,"_blank"),!1},n.send()}function Ks(e,t){if(window.navigator.msSaveOrOpenBlob)navigator.msSaveBlob(e,t);else{let n=document.createElement("a");n.href=window.URL.createObjectURL(e),n.download=t,n.click(),window.URL.revokeObjectURL(n.href)}}function Xs(e){const t=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;return t-e}function Zs(e){const t={};return Object.keys(e).forEach((n=>{Array.isArray(e[n])&&0===e[n].length||""===e[n]||null===e[n]||void 0===e[n]||(t[n]=e[n])})),t}async function Js(e=!1,t=0,n){try{let i=await as();return"0"===i.code?(e&&(0===i.data||i.data<t)?Un.Message.error("您的AI点数不足,请联系客服,充值后使用"):e&&i.data>=t&&n(i.data),i.data):0}catch(Rl){return 0}}function Qs(e){const t=[{label:"美元",value:0,code:"USD",symbol:"$"},{label:"欧元",value:1,code:"EUR",symbol:"€"},{label:"英镑",value:2,code:"GBP",symbol:"£"},{label:"日元",value:3,code:"JPY",symbol:"¥"},{label:"人民币",value:4,code:"CNY",symbol:"¥"},{label:"加拿大元",value:5,code:"CAD",symbol:"$"},{label:"澳大利亚元",value:6,code:"AUD",symbol:"$"},{label:"瑞士法郎",value:7,code:"CHF",symbol:"Fr"},{label:"新西兰元",value:8,code:"NZD",symbol:"$"},{label:"韩元",value:9,code:"KRW",symbol:"₩"},{label:"印度卢比",value:10,code:"INR",symbol:"₹"},{label:"巴西雷亚尔",value:11,code:"BRL",symbol:"R$"},{label:"南非兰特",value:12,code:"ZAR",symbol:"R"},{label:"西班牙比塞塔",value:13,code:"ESP",symbol:"₧"},{label:"泰国铢",value:14,code:"THB",symbol:"฿"},{label:"瑞典克朗",value:15,code:"SEK",symbol:"kr"},{label:"新加坡元",value:16,code:"SGD",symbol:"$"},{label:"阿联酋迪拉姆",value:17,code:"AED",symbol:"د.إ"},{label:"墨西哥比索",value:18,code:"MXN",symbol:"$"},{label:"俄罗斯卢布",value:19,code:"RUB",symbol:"₽"},{label:"沙特里亚尔",value:20,code:"SAR",symbol:"ر.س"},{label:"马来西亚林吉特",value:21,code:"MYR",symbol:"RM"},{label:"港元",value:22,code:"HKD",symbol:"HK$"},{label:"柬埔寨瑞尔",value:23,code:"KHR",symbol:"៛"},{label:"菲律宾比索",value:24,code:"PHP",symbol:"₱"},{label:"越南盾",value:25,code:"VND",symbol:"₫"},{label:"印尼盾",value:26,code:"IDR",symbol:"Rp"}];let n="";return t.forEach((t=>{t.value==e&&(n=t.symbol)})),n}var el=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{visible:e.isShowDialog,title:e.$t("NP.np65"),"close-on-click-modal":!1,width:"600px","custom-class":"add-tags-dialog","append-to-body":e.appendBody},on:{"update:visible":function(t){e.isShowDialog=t},close:e.closeAddTagsDialog}},[t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}]},[t("div",{staticClass:"operate-box"},["search"===e.optType?t("div",{staticClass:"search-tag"},[t("el-input",{staticClass:"search-input",attrs:{placeholder:e.$t("NP.np178"),clearable:""},on:{clear:e.getPublishTags},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.getPublishTags.apply(null,arguments)}},model:{value:e.searchKeywords,callback:function(t){e.searchKeywords=t},expression:"searchKeywords"}},[t("i",{staticClass:"iconfont icon-a-sousuoxiao15x",attrs:{slot:"suffix"},on:{click:e.getPublishTags},slot:"suffix"})]),t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.handleAddTag}},[t("i",{staticClass:"el-icon-plus"}),e._v(e._s(e.$t("NP.np179")))])],1):t("div",{staticClass:"add-tag"},[t("el-input",{attrs:{placeholder:e.$t("inboxTagDialog.default")},model:{value:e.tagInputValue,callback:function(t){e.tagInputValue=t},expression:"tagInputValue"}},[t("div",{staticClass:"popup-colorPicker",attrs:{slot:"suffix"},slot:"suffix"},[t("div",{staticClass:"custom-picker-icon"},[t("i",{staticClass:"dss-iconfont icon-tianse",style:{color:e.iconColor}}),t("el-color-picker",{attrs:{predefine:e.predefineColors,size:"mini","color-format":"hex"},on:{change:e.pickerChange},model:{value:e.tagColor,callback:function(t){e.tagColor=t},expression:"tagColor"}})],1)])]),t("div",{staticClass:"add",on:{click:e.addPublishTag}},[t("i",{staticClass:"el-icon-check"})]),t("div",{staticClass:"cancel",on:{click:e.handleCancelAdd}},[t("i",{staticClass:"el-icon-close"})])],1)]),t("div",{staticClass:"all-tag"},e._l(e.allTagsArr,(function(n){return t("el-tag",{key:n.id,staticClass:"tag-item",style:{"background-color":n.tagColor},on:{click:function(t){return e.selectTag(n)}}},[e._v(e._s(n.tag)),2===n.tagType?t("i",{staticClass:"dss-iconfont icon-close",on:{click:function(t){return t.stopPropagation(),e.deletePublishTag(n.id)}}}):e._e()])})),1),t("div",{staticClass:"title"},[e._v(e._s(e.$t("inboxTagDialog.selectTag"))+":")]),t("div",{staticClass:"selected-tags"},e._l(e.selectedTagsArr,(function(n){return t("el-tag",{key:n.tag,staticClass:"tag-item",style:{"background-color":n.tagColor}},[e._v(e._s(n.tag)),t("i",{staticClass:"dss-iconfont icon-close",on:{click:function(t){return e.clearTag(n.tag)}}})])})),1)]),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:e.cancelAddTags}},[e._v(e._s(e.$t("common.cancle")))]),t("el-button",{attrs:{type:"primary"},on:{click:e.confirmAddTags}},[e._v(" "+e._s(e.$t("common.confirm"))+" ")])],1)])},tl=[],nl={props:{isShowDialog:{type:Boolean,default:!1},defaultTag:{type:Array,default:()=>[]},appendBody:{type:Boolean,default:!1},isOnlyTagName:{type:Boolean,default:!1}},data(){return{loading:!1,searchKeywords:"",tagInputValue:"",tagColor:"#808080",iconColor:"#808080",predefineColors:["#FF5277","#FF9EC3","#BF9EFF","#4BB792","#FFAA36","#52BAFF","#5F52FF","#27C9B6"],allTagsArr:[],selectedTagsArr:[],optType:"search"}},async created(){await this.getPublishTags(),this.initDefaultTag()},methods:{initDefaultTag(){const e=[];this.defaultTag.forEach((t=>{const n=this.allTagsArr.find((e=>e.tag===t));n?e.push({...n}):e.push({tag:t,tagColor:"#808080",tagType:2})})),this.selectedTagsArr=e},closeAddTagsDialog(){this.$emit("closeAddTagsDialog")},cancelAddTags(){this.closeAddTagsDialog()},confirmAddTags(){const e=this.selectedTagsArr.map((e=>this.isOnlyTagName?e.tag:e));console.log(this.selectedTagsArr),this.$emit("updateTag",e),this.closeAddTagsDialog()},pickerChange(e){this.iconColor=e},handleAddTag(){this.optType="add",this.searchKeywords=""},handleCancelAdd(){this.optType="search"},async getPublishTags(){try{this.loading=!0;const e=await Es({tagValue:this.searchKeywords});"0"===e.code&&(this.allTagsArr=e.data||[])}catch(Rl){console.log(Rl)}finally{this.loading=!1}},async addPublishTag(){try{if(!this.validateTag())return!1;const e=await Ds({tag:this.tagInputValue,tagColor:this.tagColor});"0"===e.code?(this.selectedTagsArr.push({tag:this.tagInputValue,tagColor:this.tagColor}),this.tagInputValue="",this.getPublishTags()):this.$message.error(e.message)}catch(Rl){console.log(Rl)}},async deletePublishTag(e){try{const t=await As(e);"0"===t.code&&setTimeout((()=>{this.getPublishTags()}),500)}catch(Rl){console.log(Rl)}},validateTag(){const e=this.tagInputValue;return""===e?(this.$message({type:"warning",message:this.$t("inboxTagDialog.default")}),!1):!(e.length>30)||(this.$message({type:"warning",message:"标签最多30个字符!"}),!1)},selectTag(e){const t=this.selectedTagsArr.findIndex((t=>t.tag===e.tag));if(t>-1)return!1;this.selectedTagsArr.push(e)},clearTag(e){this.selectedTagsArr=this.selectedTagsArr.filter((t=>t.tag!==e))}}},il=nl,rl=Ba(il,el,tl,!1,null,"5db4fac2",null),ol=rl.exports,al=i(4353),sl=i.n(al),ll={name:"edm-inbox",components:{Search:Ls,AddTagsDialog:ol},props:{sourceApp:{type:String,default:""},taskDetailUrl:{type:String,default:"/taskDetail"},defaultTop:{type:Number,default:118}},data(){return{primary:"dss"===localStorage.getItem("sourceApp")?"#1990FF":"#FF5277",dialogVisible:!1,handleTime_inbox:null,handleTime_msg:null,tagOp:null,mailId:"",mailTags:[],isShowSettag:!1,tableHeight:0,page:1,value:"",searchForm:{timeRange:"1",selectTag:"",subject:"",popularizePlanName:"",tagName:[],isRead:"",isStar:"",isReply:"",currentPage:1,pageSize:20,bloggerName:"",sentMail:""},switchMailData:[],unReadIds:[],hasReadIds:[],loading:!1,tableData:[],tableTotal:0,selectData:[],qyEmailList:[],tags:[],tagList:[],defaultTagList:[],bloggerArr:[],selectedReplyIds:[],selectedTags:[],isShowAiMail:!0}},computed:{routeParams(){return this.$route.query}},watch:{routeParams(e,t){e.nums&&this.init()}},created(){this.getSendEmails()},mounted(){const{isdetail:e}=this.$route.query;e?(console.log("sss",JSON.parse(localStorage.getItem("searchFormInbox"))),this.searchForm=JSON.parse(localStorage.getItem("searchFormInbox"))):localStorage.removeItem("searchFormInbox"),this.$nextTick((()=>{this.init(),this.initTags(),this.tableHeight=window.innerHeight-this.$refs["table"].$el.getBoundingClientRect().top-66})),this.$bus.$on("mailTip",(()=>{this.init()}))},methods:{hideAiMail(){this.isShowAiMail=!this.isShowAiMail,this.searchForm.currentPage=1,this.init()},getSendEmails(){const e=JSON.parse(localStorage.getItem("user_info")||"{}");Ps(e?.user_id).then((e=>{this.qyEmailList=[{label:this.$t("inboxMail.search.sysEmail"),value:0},...e.data.map((e=>({label:e,value:e})))]||[{label:this.$t("inboxMail.search.sysEmail"),value:0}]}))},initTags(){this.tags=[],Ja().then((e=>{e&&e.map((e=>{this.tags.push({id:e.id,value:e.id.toString(),label:e.tag})}))}))},multiReply(){0!==this.selectedReplyIds.length?this.selectedReplyIds.length>50?this.$message.warning(this.$t("inboxMail.search.tip1")):(localStorage.setItem("multiReplyBlogInfo",JSON.stringify(this.bloggerArr)),localStorage.setItem("multiReplyIds",JSON.stringify(this.selectedReplyIds)),this.$emit("multiReply",this.bloggerArr.length!==this.selectedReplyIds.length)):this.$message({message:this.$t("inboxTable.delmailWarning"),type:"warning"})},init(){this.loading=!0;let e=this.searchForm.isStar;0===e&&(this.searchForm.isStar="");let t="",n="";this.searchForm.sentMail?(n=this.searchForm.sentMail,t=""):0===this.searchForm.sentMail?(n="",t=0):(n="",t=""),console.log("params",this.searchForm),localStorage.removeItem("hasInboxDetail"),La({...this.searchForm,email:n||void 0,sentMail:t,aiEmailScope:this.isShowAiMail?0:2}).then((e=>{this.loading=!1;let t=[];e?(e.rows.forEach(((e,n)=>{let i={};i.id=e.id,i.chatId=e.chatId,e.isRead&&1===e.isRead?i.mailStatus="1":e.isRead&&2===e.isRead&&(i.mailStatus="2"),i.taskId=e.taskId,i.isRead=e.isRead,i.maxId=e.maxId,i.isReply=e.isReply,i.isStar=e.isStar,i.popularizePlanName=e.popularizePlanName,i.bloggerName=e.bloggerName,i.subject=e.subject,i.content=e.content,i.isAttachment=e.isAttachment,i.popularizePlanName=e.popularizePlanName,i.popularizePlanId=e.popularizePlanId,i.bloggerId=e.bloggerId,i.addresser=e.addresser,i.bloggerHover=e.bloggerHover,i.upbEsId=e.upbEsId,i.isAiWoto=e.isAiWoto,e.tag||(e.tag=""),e.tagColor||(e.tagColor="");let r=e.tag.split(","),o=e.tagColor.split(",");if(i.tagList=[],r.length!==o.length)i.tagName=this.$t("inboxTable.errorTag");else{let e=[];r.forEach(((t,n)=>{e.push({tagName:t,tagColor:o[n]})})),i.tagList=e}i.createTime=e.createTime,t.push(i)})),this.tableData=t,this.tableTotal=e.total):this.$message.warning(this.$t("inboxTable.requestError"))}))},handleBindTag(e,t){if(t&&!t.tagColor&&!t.tagName)return!1;this.$confirm(this.$t("inboxTable.delTag"),this.$t("inboxTable.tip"),{confirmButtonText:this.$t("inboxTable.confirm"),cancelButtonText:this.$t("inboxTable.cancel"),customClass:"del-model",type:"warning"}).then((()=>{this.mailId=e.id+"";const n=e.tagList.filter((e=>!!e.tagName))||[];let i=[];n.length>1&&(i=n.filter((e=>e.tagName!==t.tagName)).map((e=>({tag:e.tagName,tagColor:e.tagColor})))),this.updateTag(i,!0)})).catch((()=>{}))},handleTagChange(e){if(e){let t=[];e.forEach((e=>{this.tags.forEach((n=>{e===n.id.toString()&&t.push(n.label)}))})),this.searchForm.tagName=t}else this.searchForm.tagName=[]},reset(){localStorage.removeItem("searchFormInbox"),localStorage.removeItem("hasInboxDetail"),this.searchForm.bloggerName="",this.searchForm.subject="",this.searchForm.popularizePlanName="",this.searchForm.selectTag=[],this.searchForm.tagName=[],this.searchForm.isStar="",this.searchForm.timeRange="1",this.searchForm.isRead="",this.searchForm.isReply="",this.searchForm.sentMail="",this.init()},changePage(e){this.searchForm.currentPage=e,this.init()},changeSize(e){this.searchForm.currentPage=1,this.searchForm.pageSize=e,this.init()},setUnRead(){if(0!==this.switchMailData.length)return 0===this.unReadIds.length?(this.$message.warning(this.$t("edm5.v3")),void this.$refs.table.clearSelection()):void za({ids:this.unReadIds}).then((e=>{e&&"0"===e.code?(this.$message({message:this.$t("inboxTable.unReadSuccess"),type:"success"}),this.unReadIds=[],this.switchMailData=[],this.$refs.table.clearSelection(),this.init()):this.$message.error(e.message)}));this.$message({message:this.$t("inboxTable.delmailWarning"),type:"warning"})},async setHasRead(){if(0!==this.switchMailData.length){if(0===this.hasReadIds.length)return this.$message.warning(this.$t("edm5.v270")),void this.$refs.table.clearSelection();try{const e=await Va({ids:this.hasReadIds});"0"===e.code?(this.$message({message:this.$t("inboxTable.unReadSuccess"),type:"success"}),this.hasReadIds=[],this.switchMailData=[],this.$refs.table.clearSelection(),this.init()):this.$message.error(e.message)}catch(Rl){console.log(Rl)}}else this.$message({message:this.$t("inboxTable.delmailWarning"),type:"warning"})},async changeRead(e){console.log(e);let t=await za({ids:[e.maxId]});t&&"0"===t.code?(this.$message({message:this.$t("inboxTable.unReadSuccess"),type:"success"}),this.init()):this.$message.error(t.message)},del(){0!==this.switchMailData.length?this.dialogVisible=!0:this.$message({message:this.$t("inboxTable.delmailWarning"),type:"warning"})},handleConfirmDel(){const e={chatId:this.switchMailData};Wa(e).then((e=>{e&&(this.$message({message:this.$t("inboxTable.del"),type:"success",duration:1500}),this.dialogVisible=!1,this.switchMailData=[],this.init())}))},handleDelShield(){const e={chatId:this.switchMailData};qa(e).then((e=>{e&&(this.$message({message:this.$t("inboxTable.del"),type:"success",duration:1500}),this.dialogVisible=!1,this.switchMailData=[],this.init())}))},isFavorites(e){const t={mailId:e.id,isStar:0===e.isStar?1:0};Ya(t).then((t=>{t&&(0===e.isStar?this.$message({message:this.$t("inboxTable.collMail"),type:"success",duration:1500}):this.$message({message:this.$t("inboxTable.cancelMail"),type:"success",duration:1500})),this.init()}))},handleReset(e){this.searchForm.bloggerName="",this.searchForm.subject=""},addMailTag(e){this.mailId=e.id.toString(),console.log(e),this.selectedTags=e.tagList?e.tagList.filter((e=>!!e.tagName)).map((e=>e.tagName)):[],this.isShowSettag=!0},async updateTag(e=[],t=!1){try{const n=await Za({mailId:this.mailId,tags:e});n&&(t?this.$message({type:"success",message:this.$t("inboxTagDialog.delTagSuccess")}):this.$message({type:"success",message:this.$t("inboxTagDialog.bindSuccess")}),this.init(),this.initTags())}catch(Rl){}},skipDetail(e){localStorage.setItem("searchFormInbox",JSON.stringify(this.searchForm)),localStorage.setItem("hasInboxDetail",!0),localStorage.setItem("currentPath",this.$route.path),console.log("dd",JSON.stringify(this.searchForm)),this.$router.push({path:"/inboxDetail",query:{id:e.id,chatId:e.chatId,popularizePlanId:e.popularizePlanId,popularizePlanName:e.popularizePlanName,maxId:e.maxId}})},skipTask(e){const t=this.$router.resolve({path:this.taskDetailUrl,query:{id:e.taskId,name:e.popularizePlanName,is_share:1,is_operate:1}});window.open(t.href,"_blank")},skipPlan(e){console.log(e),this.$emit("inboxSkipPlan",e)},switchMode(){this.$emit("switchMode")},getRowKeys(e){return e.id},switchMail(e){console.log("select",e),this.bloggerArr=[],this.selectedReplyIds=[],this.bloggerArr=Array.from(new Map(e.map((e=>[e.bloggerName,{bloggerId:e.bloggerId,bloggerName:e.bloggerId?e.bloggerName:e.addresser}]))).values()),this.selectedReplyIds=Vs(e,"maxId"),this.switchMailData=[],this.unReadIds=[],this.hasReadIds=[],e.forEach((e=>{this.switchMailData.push(e.chatId),2===e.isRead&&this.unReadIds.push(e.maxId),1===e.isRead&&this.hasReadIds.push(e.maxId)}))},clearTableData(){this.$refs.table.clearSelection(),this.selectData=[]},filterHtmlTag(e){return e&&(e=e.replace(/<head>[\s\S]*?<\/head>/i,""),e=e.replace(/<img[^>]*>/gi,""),e=e.replace(/<[^>]+>|&[^>]+;/g,""),e=e.replace(new RegExp("&nbsp;","g")," ")),e},headCellClass(){return"head"},rowClass(){return"row"},cellClass(){return"box-cell"},changeTagsHeight(e,t){if(e){let e=[],n=this.tagList.findIndex((e=>e.tag.trim()===t.trim()));this.tagList.forEach(((t,i)=>{i<=n&&e.push(t)})),this.tagList=e}else this.tagList=this.defaultTagList},rightClick(e,t,n){return n.preventDefault(),this.$contextmenu({items:[{label:"在新标签页中打开邮件",icon:"el-icon-plus",onClick:()=>{const t=this.$router.resolve({path:"/inboxDetail",query:{id:e.id,chatId:e.chatId,popularizePlanId:e.popularizePlanId,popularizePlanName:e.popularizePlanName,maxId:e.maxId}});window.open(t.href,"_blank")}},{label:"刷新列表数据",icon:"el-icon-refresh",onClick:()=>{this.init()}},{label:"复制邮件主题",icon:"el-icon-document-copy",disabled:!e.subject,onClick:()=>{this.copyText(e.subject)}},{label:"复制推广计划名",icon:"el-icon-document-copy",disabled:!e.popularizePlanName,onClick:()=>{this.copyText(e.popularizePlanName)}},{label:"添加标签",icon:"el-icon-edit-outline",onClick:()=>{this.addMailTag(e)}}],event:n,customClass:"contextmenu-container",zIndex:3,minWidth:230}),!1},copyText(e){const t=document.createElement("input");t.value=e,document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t),this.$message({type:"success",message:"已复制到剪贴板"})},formatDate(e){return sl()(e).format("YYYY-MM-DD")},toBloggerDetail(e){if(!e.bloggerId)return!1;this.$emit("toBloggerDetail",e)}},destroyed(){}},cl=ll,ul=Ba(cl,$a,ja,!1,null,"60e7f776",null),dl=ul.exports,hl=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.mailLoading,expression:"mailLoading"}],staticClass:"edm-inbox-detail"},[t("div",{staticClass:"wrap"},[t("div",{staticClass:"back",on:{click:e.goBack}},[t("i",{staticClass:"el-icon-arrow-left"})]),t("div",{staticClass:"tag-info"},[t("div",{staticClass:"tag"},[e._l(e.tagList,(function(n,i){return t("div",{key:i,staticClass:"tag-item mr12 mb8",style:{color:"#fff",background:n.tag_color}},[e._v(" "+e._s(n.tag)+" "),t("i",{staticClass:"dss-iconfont icon-close",staticStyle:{color:"#ffffff","padding-left":"5px",cursor:"pointer","z-index":"999"},on:{click:function(t){return e.delTag(n)}}})])})),t("div",{staticClass:"tag-btn cursor-pointer mr12 mb8",on:{click:e.addTagsStart}},[t("i",{staticClass:"dss-iconfont icon-add2"}),e._v(" "+e._s(e.$t("inboxDetail.addTag"))+" ")])],2),t("div",{staticClass:"turn-page"},[t("div",{staticClass:"send-email"},[e._v(" "+e._s(e.$t("edm5.v4"))+e._s(e.mailData.receiver)+" ")]),t("div",[t("el-button",{attrs:{type:"text",icon:"el-icon-arrow-left",disabled:0===e.checkEmailIndex},on:{click:e.handlePrevious}},[e._v(e._s(e.$t("inboxDetail.previousPage")))]),t("el-button",{attrs:{type:"text",disabled:e.checkEmailIndex===e.tableData.length-1},on:{click:e.handleNext}},[e._v(e._s(e.$t("inboxDetail.nextPage"))),t("i",{staticClass:"el-icon-arrow-right el-icon--right"})])],1)])]),t("div",{staticClass:"blogger-part"},[t("div",{staticClass:"blogger-info"},[e.bloggerInfo.bloggerId?t("div",{staticClass:"inner-blogger"},[t("el-image",{staticClass:"blogger-avatar",attrs:{fit:"cover",src:e.bloggerInfo.bloggerAvatar},on:{click:function(t){return e.toBloggerDetail(e.bloggerInfo.bloggerId,e.bloggerInfo)}}}),t("div",{staticClass:"info-right"},[t("div",{staticClass:"info-top"},[t("div",{staticClass:"blogger-name",on:{click:function(t){return e.toBloggerDetail(e.bloggerInfo.bloggerId,e.bloggerInfo)}}},[e._v(" "+e._s(e.bloggerInfo.bloggerName)+" ")]),t("div",{staticClass:"blogger-id"},[e._v(" (频道ID:"+e._s(e.bloggerInfo.bloggerUserName)+") ")]),t("img",{staticClass:"flag",attrs:{src:e.bloggerInfoRest.regionFlag,alt:""}}),t("div",{staticClass:"country"},[e._v(e._s(e.bloggerInfoRest.regionNameZh))]),t("div",{directives:[{name:"show",rawName:"v-show",value:e.bloggerInfoRest.tags&&e.bloggerInfoRest.tags.length>0,expression:"\n bloggerInfoRest.tags && bloggerInfoRest.tags.length > 0\n "}],staticClass:"tags"},[t("TagColumn",{attrs:{tags:e.bloggerInfoRest.tags}})],1)]),t("div",{staticClass:"info-bottom"},[t("div",{staticClass:"row-data"},[t("div",{staticClass:"row-data_item"},[t("div",{staticClass:"row-data_item-num"},[e._v(" "+e._s(e._f("numFormat")(e.bloggerInfoRest.fansCount))+" ")]),t("div",{staticClass:"row-data_item-name"},[e._v("粉丝数")])]),t("div",{staticClass:"row-data_item"},[t("div",{staticClass:"row-data_item-num"},[e._v(" "+e._s(e._f("numFormat")("instagram"===e.bloggerInfoRest.platform?e.bloggerInfoRest.likeVolumeAvg60d:e.bloggerInfoRest.viewVolumeAvg60d))+" ")]),t("div",{staticClass:"row-data_item-name"},[e._v(" "+e._s("instagram"===e.bloggerInfoRest.platform?"平均点赞量":"平均观看量")+" ")])]),t("div",{staticClass:"row-data_item"},[t("div",{staticClass:"row-data_item-num"},[e._v(" "+e._s(e._f("rateFormat")(e.bloggerInfoRest.interactiveRate60d))+" ")]),t("div",{staticClass:"row-data_item-name"},[e._v("平均互动率")])]),e.bloggerInfoRest.gmv30d?t("div",{staticClass:"row-data_item"},[t("div",{staticClass:"row-data_item-num"},[e._v(" "+e._s(e._f("numFormat")(e.bloggerInfoRest.gmv30d))+" ")]),t("div",{staticClass:"row-data_item-name"},[e._v("近30日新增GMV")])]):e._e()]),t("el-tooltip",{attrs:{"popper-class":"wt-tooltip",placement:"top"}},[t("div",{staticStyle:{color:"#333"},attrs:{slot:"content"},slot:"content"},[e._v("收藏")]),t("span",{staticClass:"btn",on:{click:e.handleAddFavorites}},[t("i",{class:{"icon-img":!0}})])]),t("button",{staticClass:"double-btn"},[t("el-tooltip",{attrs:{"popper-class":"btn-tooltip wt-tooltip",content:e.$t("inboxDetail.normalReply"),placement:"top"}},[t("div",{staticClass:"text",on:{click:function(t){return e.showReplyNew(!1,void 0)}}},[e._v(" "+e._s(e.$t("inboxDetail.reply2"))+" ")])]),t("el-divider",{staticClass:"search-divider",attrs:{direction:"vertical"}}),t("el-tooltip",{attrs:{"popper-class":"btn-tooltip wt-tooltip",content:e.$t("inboxDetail.simpleReply"),placement:"top"}},[t("div",{staticClass:"quick-reply",on:{click:e.simpleReplay}},[t("img",{staticClass:"img",attrs:{src:i(3074)}})])])],1)],1)])],1):t("div",{staticClass:"outer-blogger"},[t("div",[t("div",{staticClass:"outer-name"},[e._v(e._s(e.$t("inboxDetail.outerBlogger")))]),t("div",{staticClass:"outer-email"},[e._v(" "+e._s(e.$t("inboxDetail.email"))+e._s(e.bloggerInfo.email)+" ")])]),t("button",{staticClass:"double-btn"},[t("el-tooltip",{attrs:{"popper-class":"btn-tooltip wt-tooltip",content:e.$t("inboxDetail.normalReply"),placement:"top"}},[t("div",{staticClass:"text",on:{click:function(t){return e.showReplyNew(!1,void 0)}}},[e._v(" "+e._s(e.$t("inboxDetail.reply2"))+" ")])]),t("el-divider",{staticClass:"search-divider",attrs:{direction:"vertical"}}),t("el-tooltip",{attrs:{"popper-class":"btn-tooltip wt-tooltip",content:e.$t("inboxDetail.simpleReply"),placement:"top"}},[t("div",{staticClass:"quick-reply",on:{click:e.simpleReplay}},[t("img",{staticClass:"img",attrs:{src:i(3074)}})])])],1)])]),e.isShowAiAgent&&e.bloggerInfo.bloggerId&&"null"!==e.bloggerInfo.planId?t("div",{staticClass:"ai_box"},[e._v(" AI小兔 "),t("div",{staticClass:"ai_btn",on:{click:e.showAiSetting}},[t("img",{staticClass:"ai_icon",attrs:{src:"http://wotokol.oss-cn-hangzhou.aliyuncs.com/ai-agent-icon.png",alt:""}}),t("span",{staticClass:"ai_txt"},[e._v(e._s(e.bloggerJobInfo.jobId?"跟进中":"待命中"))]),t("i",{staticClass:"el-icon-arrow-right"})])]):e._e(),e.bloggerInfo.bloggerId&&"null"!==e.bloggerInfo.planId?t("div",{staticClass:"blogger-plan"},[t("div",{staticClass:"plan-top"},[t("span",{staticClass:"title"},[e._v(e._s(e.$t("inboxDetail.plan")))]),t("el-dropdown",{attrs:{trigger:"click"},on:{command:e.handleCommand}},[t("i",{staticClass:"el-icon-more more_icon"}),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",{attrs:{command:"a"}},[e._v("关联推广计划")]),t("el-dropdown-item",{attrs:{command:"b"}},[e._v("修改合作状态")])],1)],1)],1),t("div",{staticClass:"plan-bottom"},[t("span",{staticClass:"plan_name"},[e._v(e._s("-1"==e.bloggerInfo.planId||"null"==e.bloggerInfo.planId?e.$t("inboxDetail.noPlan"):e.bloggerInfo.planName))]),e.bloggerInfo.bloggerId&&"null"!==e.bloggerInfo.planId?t("div",{staticClass:"coo_status"},[e._v(" "+e._s(e._f("coopStatusFilter")(e.bloggerInfo.coopStatus))+" ")]):e._e()])]):e._e()]),e.bloggerInfo.bloggerId&&"null"!==e.bloggerInfo.planId?t("div",{staticClass:"blogger-opt"},[e._l(e.optList,(function(n,i){return t("div",{key:i,staticClass:"opt-item",on:{click:function(t){return e.clickHandle(n.key,n.activeName)}}},[t("i",{class:["dss-iconfont",n.icon]}),t("span",{staticClass:"txt"},[e._v(e._s(n.name))])])})),t("el-dropdown",{staticClass:"email-drop",on:{command:e.clickHandle}},[t("i",{staticClass:"dss-iconfont icon-gengduo-changguizhuangtai"}),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",{attrs:{command:"report"}},[e._v(e._s(e.$t("inboxDetail.menu7")))]),t("el-dropdown-item",{attrs:{command:"blackList"}},[e._v(e._s(e.$t("inboxDetail.menu8")))]),t("el-dropdown-item",{attrs:{command:"detail"}},[e._v(e._s(e.$t("inboxDetail.menu9")))])],1)],1)],2):e._e(),t("div",{staticClass:"email-part"},[t("div",{staticClass:"email-list"},e._l(e.mailList,(function(n,r){return t("div",{key:n.id,class:{"list-row":!0,"list-row-blogger":2===n.type}},[e.isHasAi&&n.isShowSummary&&1===n.type?t("AiSummary",{attrs:{id:n.id,aiPoint:e.aiPoint,isRebuild:n.isRebuild},on:{getEmailIntention:function(t){return e.getEmailIntention(n)},handleShow:e.handleSummaryShow,refreshAiPoint:e.getAiPoint,showAiReply:t=>e.showAiReply(n,t)}}):e._e(),t("div",{staticClass:"item-main"},[t("div",{staticClass:"top"},[t("div",{staticClass:"person"},[t("el-image",{staticStyle:{width:"24px",height:"24px","border-radius":"50%",cursor:"pointer"},attrs:{src:n.bloggerAvatar},on:{click:function(t){t.stopPropagation(),n.bloggerId&&1===n.type&&e.skipBlogDetail(n.bloggerId,n)}}}),1===n.type?[t("el-tooltip",{attrs:{placement:"top","popper-class":"wt-tooltip"}},[t("div",{attrs:{slot:"content"},slot:"content"},[t("div",{staticClass:"username"},[e._v(e._s(n.bloggerName))]),t("div",{staticClass:"nickname"},[e._v(" "+e._s(e.$t("inboxDetail.channelId"))+":"+e._s(n.bloggerUserName)+" ")])]),t("span",{staticClass:"nickname",staticStyle:{cursor:"pointer"},on:{click:function(t){t.stopPropagation(),n.bloggerId&&e.skipBlogDetail(n.bloggerId,n)}}},[e._v(" "+e._s(n.bloggerName)+" ")])])]:e._e(),2===n.type?[t("span",{staticClass:"nickname"},[e._v(" "+e._s(n.userName)+" ")])]:e._e()],2),t("div",{staticClass:"time"},[t("span",{directives:[{name:"show",rawName:"v-show",value:n.isExpand,expression:"mail.isExpand"}],staticClass:"show-full",on:{click:function(t){return e.toggleFullContent(n)}}},[e._v(e._s(n.isShowFull?"隐藏原始邮件":"查看原始邮件"))]),1==n.type?t("el-popover",{attrs:{placement:"top",width:"150",trigger:"click","popper-class":"emoji-popover input-popper",content:"邮件ID:"+n.id}},[t("span",{staticClass:"date",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(n.createTime))])]):t("span",{staticClass:"date"},[e._v(e._s(n.createTime))]),1===n.type&&e.isHasAi?t("span",{class:{keywords:!0,"summary-btn":!0,"not-allowed":n.isShowSummary},on:{click:function(t){return e.openAiSummary(n.id)}}},[t("img",{staticStyle:{width:"88px",height:"18px"},attrs:{src:i(7862),alt:""}})]):e._e(),2===n.type&&0===r?t("span",{class:{read:!0,"has-read":2==n.isRead}},[t("i",{class:["dss-iconfont",2==n.isRead?"icon-kejian":"icon-bukejian"]}),t("span",[e._v(e._s(2==n.isRead?e.$t("inboxDetail.read"):e.$t("inboxDetail.unRead")))])]):e._e()],1)]),n.attachment?.length>0&&n.isExpand?t("div",{staticClass:"item-files"},e._l(n.attachment,(function(n){return t("div",{key:n.uuid,staticClass:"file",on:{click:function(t){return e.downFile(n)}}},[t("i",{staticClass:"dss-iconfont icon-file-3"}),t("span",{staticClass:"name"},[e._v(e._s(n.name))]),t("i",{staticClass:"dss-iconfont icon-download"})])})),0):e._e(),t("div",{staticClass:"center"},[t("div",{staticClass:"ai-box2"},[t("div",{staticClass:"box-txt"},[n.isExpand?t("div",{staticClass:"txt-content"},[t("EmailBox",{attrs:{content:n.isShowFull?n.cleanContent:n.content}})],1):t("div",{staticClass:"txt-base",domProps:{innerHTML:e._s(e.delHtmlTag(n.content))}})]),t("div",{staticClass:"box-toggle",on:{click:function(t){return e.toggleEmailExpand(n)}}},[t("i",{staticClass:"dss-iconfont icon-arrow",class:{aiOpen:n.isExpand}}),t("span",[e._v(e._s(n.isExpand?e.$t("inboxDetail.close"):e.$t("inboxDetail.open")))])])])]),t("div",{staticClass:"bottom"})]),n.attachment?.length>0&&!n.isExpand?t("div",{staticClass:"item-files"},e._l(n.attachment,(function(n){return t("div",{key:n.uuid,staticClass:"file",on:{click:function(t){return e.downFile(n)}}},[t("i",{staticClass:"dss-iconfont icon-file-3"}),t("span",{staticClass:"name"},[e._v(e._s(n.name))]),t("i",{staticClass:"dss-iconfont icon-download"})])})),0):e._e()],1)})),0)])]),e.isShowSettag?t("AddTagsDialog",{attrs:{isShowDialog:e.isShowSettag,defaultTag:e.selectedTags},on:{updateTag:e.updateTag,closeAddTagsDialog:function(t){e.isShowSettag=!1}}}):e._e(),e.showSimpleReplay?t("SimpleReplay",{attrs:{maxId:e.maxId},on:{close:function(t){e.showSimpleReplay=!1},fullWrite:e.fullWrite,refresh:e.getMailGroup}}):e._e(),e.intentionVisible?t("EmailIntention",{attrs:{id:e.id,maxId:e.maxId,visible:e.intentionVisible,bloggerId:e.bloggerInfo.bloggerId,currentMail:e.currentMail},on:{"update:visible":function(t){e.intentionVisible=t},refreshPoint:e.getAiPoint}}):e._e(),e.planVisible?t("EmailPlan",{attrs:{visible:e.planVisible,bloggerId:e.bloggerInfo.bloggerId,upbEsId:e.bloggerInfo.upbEsId,platform:e.bloggerInfo.platform,planIdRel:e.bloggerInfo.planId,maxId:e.maxId,detailData:e.mailData},on:{"update:visible":function(t){e.planVisible=t},change:e.changeEmailPlan}}):e._e(),e.coopStatusVisible?t("CoopStatus",{attrs:{visible:e.coopStatusVisible,upbEsId:e.bloggerInfo.upbEsId,coopStatus:e.bloggerInfo.coopStatus,planId:e.bloggerInfo.planId},on:{"update:visible":function(t){e.coopStatusVisible=t},change:e.getCrmInfo}}):e._e(),e.emailRelyVisible?t("EmailRely",{attrs:{visible:e.emailRelyVisible,loading:e.aiReplayBtnLoading,content:e.replayInfo.replyContent},on:{"update:visible":function(t){e.emailRelyVisible=t},confirm:function(t){return e.handleAiReplay(e.replayInfo.replyContent,e.replayInfo.id)}}}):e._e(),e.aiRelyVisible?t("AiReply",{attrs:{visible:e.aiRelyVisible,summaryInfo:e.summaryInfo,aiPoint:e.aiPoint,maxId:e.maxId,currentMail:e.currentMail},on:{"update:visible":function(t){e.aiRelyVisible=t},refreshPoint:e.getAiPoint,finished:e.getMailGroup,fullWrite:e.fullWrite}}):e._e()],1)},pl=[];function fl(e){return wa("/edm/outboxV2/writeMultipleEmail",e)}async function ml(e){let t=await wa("/edm/mail/dayNumber",e);return t}async function gl(e){return wa("/edm/mail/getRepeatContactBlogger",e)}async function vl(e){let t=await wa("/edm/mail/checkMultiEmailVariables",e);return t}async function yl(e){let t=await wa("/edm/conf/bindGmail",e);return t}async function bl(e){let t=await va("/edm/conf/getGmail",e);return t}async function wl(e){let t=await wa("/edm/gmail/auth",e);return t}async function _l(e){let t=await wa(`/dataService/data/query/${e.code}`,e.data);return t}async function Cl(e){let t=await wa("/edm/conf/sendType/bind",e);return t}function xl(e){return va("/edm/conf/sendType/get",e)}function Sl(){return va("/edm/qiye/haveOtherMailProvider")}function kl(e){return va("/edm/qiye/unbindCheck",e)}function El(e){return va("/edm/qiye/oauth2Config",e)}function Al(e){return va("/edm/qiye/saveToken",e)}function Dl(e){return wa("/woto-crm/bloggerRisk/selectBloggerRiskByIds",e)}function Ol(e){return wa("/edm/mail/getCooperatedBlogger",e)}function Tl(e){return va(`/edm/template/template/${e}`)}function Il(e){return va(`/user/equity/getUnlockBloggerEmailNum/${e}`)}function Pl(e){return wa("/edm/gmail/alias_email/auth",e)}function Fl(e){return wa("/edm/gmail/alias_email/cancel_auth",e)}
91
91
  /*!
92
92
  * vue-i18n v8.28.2
93
93
  * (c) 2022 kazuya kawaguchi
94
94
  * Released under the MIT License.
95
95
  */
96
- var Ml=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"],Bl=["dateStyle","timeStyle","calendar","localeMatcher","hour12","hourCycle","timeZone","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function Nl(e,t){"undefined"!==typeof console&&(console.warn("[vue-i18n] "+e),t&&console.warn(t.stack))}function Rl(e,t){"undefined"!==typeof console&&(console.error("[vue-i18n] "+e),t&&console.error(t.stack))}var $l=Array.isArray;function jl(e){return null!==e&&"object"===typeof e}function Ll(e){return"boolean"===typeof e}function zl(e){return"string"===typeof e}var Vl=Object.prototype.toString,Hl="[object Object]";function Ul(e){return Vl.call(e)===Hl}function Wl(e){return null===e||void 0===e}function ql(e){return"function"===typeof e}function Yl(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];var n=null,i=null;return 1===e.length?jl(e[0])||$l(e[0])?i=e[0]:"string"===typeof e[0]&&(n=e[0]):2===e.length&&("string"===typeof e[0]&&(n=e[0]),(jl(e[1])||$l(e[1]))&&(i=e[1])),{locale:n,params:i}}function Gl(e){return JSON.parse(JSON.stringify(e))}function Kl(e,t){if(e.delete(t))return e}function Xl(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}function Zl(e,t){return!!~e.indexOf(t)}var Jl=Object.prototype.hasOwnProperty;function Ql(e,t){return Jl.call(e,t)}function ec(e){for(var t=arguments,n=Object(e),i=1;i<arguments.length;i++){var r=t[i];if(void 0!==r&&null!==r){var o=void 0;for(o in r)Ql(r,o)&&(jl(r[o])?n[o]=ec(n[o],r[o]):n[o]=r[o])}}return n}function tc(e,t){if(e===t)return!0;var n=jl(e),i=jl(t);if(!n||!i)return!n&&!i&&String(e)===String(t);try{var r=$l(e),o=$l(t);if(r&&o)return e.length===t.length&&e.every((function(e,n){return tc(e,t[n])}));if(r||o)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every((function(n){return tc(e[n],t[n])}))}catch(wh){return!1}}function nc(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}function ic(e){return null!=e&&Object.keys(e).forEach((function(t){"string"==typeof e[t]&&(e[t]=nc(e[t]))})),e}function rc(e){e.prototype.hasOwnProperty("$i18n")||Object.defineProperty(e.prototype,"$i18n",{get:function(){return this._i18n}}),e.prototype.$t=function(e){var t=[],n=arguments.length-1;while(n-- >0)t[n]=arguments[n+1];var i=this.$i18n;return i._t.apply(i,[e,i.locale,i._getMessages(),this].concat(t))},e.prototype.$tc=function(e,t){var n=[],i=arguments.length-2;while(i-- >0)n[i]=arguments[i+2];var r=this.$i18n;return r._tc.apply(r,[e,r.locale,r._getMessages(),this,t].concat(n))},e.prototype.$te=function(e,t){var n=this.$i18n;return n._te(e,n.locale,n._getMessages(),t)},e.prototype.$d=function(e){var t,n=[],i=arguments.length-1;while(i-- >0)n[i]=arguments[i+1];return(t=this.$i18n).d.apply(t,[e].concat(n))},e.prototype.$n=function(e){var t,n=[],i=arguments.length-1;while(i-- >0)n[i]=arguments[i+1];return(t=this.$i18n).n.apply(t,[e].concat(n))}}function oc(e){function t(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return void 0===e&&(e=!1),e?{mounted:t}:{beforeCreate:function(){var e=this.$options;if(e.i18n=e.i18n||(e.__i18nBridge||e.__i18n?{}:null),e.i18n)if(e.i18n instanceof iu){if(e.__i18nBridge||e.__i18n)try{var t=e.i18n&&e.i18n.messages?e.i18n.messages:{},n=e.__i18nBridge||e.__i18n;n.forEach((function(e){t=ec(t,JSON.parse(e))})),Object.keys(t).forEach((function(n){e.i18n.mergeLocaleMessage(n,t[n])}))}catch(wh){0}this._i18n=e.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(Ul(e.i18n)){var i=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof iu?this.$root.$i18n:null;if(i&&(e.i18n.root=this.$root,e.i18n.formatter=i.formatter,e.i18n.fallbackLocale=i.fallbackLocale,e.i18n.formatFallbackMessages=i.formatFallbackMessages,e.i18n.silentTranslationWarn=i.silentTranslationWarn,e.i18n.silentFallbackWarn=i.silentFallbackWarn,e.i18n.pluralizationRules=i.pluralizationRules,e.i18n.preserveDirectiveContent=i.preserveDirectiveContent),e.__i18nBridge||e.__i18n)try{var r=e.i18n&&e.i18n.messages?e.i18n.messages:{},o=e.__i18nBridge||e.__i18n;o.forEach((function(e){r=ec(r,JSON.parse(e))})),e.i18n.messages=r}catch(wh){0}var a=e.i18n,s=a.sharedMessages;s&&Ul(s)&&(e.i18n.messages=ec(e.i18n.messages,s)),this._i18n=new iu(e.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===e.i18n.sync||e.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),i&&i.onComponentInstanceCreated(this._i18n)}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof iu?this._i18n=this.$root.$i18n:e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof iu&&(this._i18n=e.parent.$i18n)},beforeMount:function(){var e=this.$options;e.i18n=e.i18n||(e.__i18nBridge||e.__i18n?{}:null),e.i18n?(e.i18n instanceof iu||Ul(e.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof iu||e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof iu)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:t,beforeDestroy:function(){if(this._i18n){var e=this;this.$nextTick((function(){e._subscribing&&(e._i18n.unsubscribeDataChanging(e),delete e._subscribing),e._i18nWatcher&&(e._i18nWatcher(),e._i18n.destroyVM(),delete e._i18nWatcher),e._localeWatcher&&(e._localeWatcher(),delete e._localeWatcher)}))}}}}var ac={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(e,t){var n=t.data,i=t.parent,r=t.props,o=t.slots,a=i.$i18n;if(a){var s=r.path,l=r.locale,c=r.places,u=o(),d=a.i(s,l,sc(u)||c?lc(u.default,c):u),h=r.tag&&!0!==r.tag||!1===r.tag?r.tag:"span";return h?e(h,n,d):d}}};function sc(e){var t;for(t in e)if("default"!==t)return!1;return Boolean(t)}function lc(e,t){var n=t?cc(t):{};if(!e)return n;e=e.filter((function(e){return e.tag||""!==e.text.trim()}));var i=e.every(hc);return e.reduce(i?uc:dc,n)}function cc(e){return Array.isArray(e)?e.reduce(dc,{}):Object.assign({},e)}function uc(e,t){return t.data&&t.data.attrs&&t.data.attrs.place&&(e[t.data.attrs.place]=t),e}function dc(e,t,n){return e[n]=t,e}function hc(e){return Boolean(e.data&&e.data.attrs&&e.data.attrs.place)}var pc,fc={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(e,t){var n=t.props,i=t.parent,r=t.data,o=i.$i18n;if(!o)return null;var a=null,s=null;zl(n.format)?a=n.format:jl(n.format)&&(n.format.key&&(a=n.format.key),s=Object.keys(n.format).reduce((function(e,t){var i;return Zl(Ml,t)?Object.assign({},e,(i={},i[t]=n.format[t],i)):e}),null));var l=n.locale||o.locale,c=o._ntp(n.value,l,a,s),u=c.map((function(e,t){var n,i=r.scopedSlots&&r.scopedSlots[e.type];return i?i((n={},n[e.type]=e.value,n.index=t,n.parts=c,n)):e.value})),d=n.tag&&!0!==n.tag||!1===n.tag?n.tag:"span";return d?e(d,{attrs:r.attrs,class:r["class"],staticClass:r.staticClass},u):u}};function mc(e,t,n){yc(e,n)&&wc(e,t,n)}function gc(e,t,n,i){if(yc(e,n)){var r=n.context.$i18n;bc(e,n)&&tc(t.value,t.oldValue)&&tc(e._localeMessage,r.getLocaleMessage(r.locale))||wc(e,t,n)}}function vc(e,t,n,i){var r=n.context;if(r){var o=n.context.$i18n||{};t.modifiers.preserve||o.preserveDirectiveContent||(e.textContent=""),e._vt=void 0,delete e["_vt"],e._locale=void 0,delete e["_locale"],e._localeMessage=void 0,delete e["_localeMessage"]}else Nl("Vue instance does not exists in VNode context")}function yc(e,t){var n=t.context;return n?!!n.$i18n||(Nl("VueI18n instance does not exists in Vue instance"),!1):(Nl("Vue instance does not exists in VNode context"),!1)}function bc(e,t){var n=t.context;return e._locale===n.$i18n.locale}function wc(e,t,n){var i,r,o=t.value,a=_c(o),s=a.path,l=a.locale,c=a.args,u=a.choice;if(s||l||c)if(s){var d=n.context;e._vt=e.textContent=null!=u?(i=d.$i18n).tc.apply(i,[s,u].concat(Cc(l,c))):(r=d.$i18n).t.apply(r,[s].concat(Cc(l,c))),e._locale=d.$i18n.locale,e._localeMessage=d.$i18n.getLocaleMessage(d.$i18n.locale)}else Nl("`path` is required in v-t directive");else Nl("value type not supported")}function _c(e){var t,n,i,r;return zl(e)?t=e:Ul(e)&&(t=e.path,n=e.locale,i=e.args,r=e.choice),{path:t,locale:n,args:i,choice:r}}function Cc(e,t){var n=[];return e&&n.push(e),t&&(Array.isArray(t)||Ul(t))&&n.push(t),n}function xc(e,t){void 0===t&&(t={bridge:!1}),xc.installed=!0,pc=e;pc.version&&Number(pc.version.split(".")[0]);rc(pc),pc.mixin(oc(t.bridge)),pc.directive("t",{bind:mc,update:gc,unbind:vc}),pc.component(ac.name,ac),pc.component(fc.name,fc);var n=pc.config.optionMergeStrategies;n.i18n=function(e,t){return void 0===t?e:t}}var Sc=function(){this._caches=Object.create(null)};Sc.prototype.interpolate=function(e,t){if(!t)return[e];var n=this._caches[e];return n||(n=Ac(e),this._caches[e]=n),Dc(n,t)};var kc=/^(?:\d)+/,Ec=/^(?:\w)+/;function Ac(e){var t=[],n=0,i="";while(n<e.length){var r=e[n++];if("{"===r){i&&t.push({type:"text",value:i}),i="";var o="";r=e[n++];while(void 0!==r&&"}"!==r)o+=r,r=e[n++];var a="}"===r,s=kc.test(o)?"list":a&&Ec.test(o)?"named":"unknown";t.push({value:o,type:s})}else"%"===r?"{"!==e[n]&&(i+=r):i+=r}return i&&t.push({type:"text",value:i}),t}function Dc(e,t){var n=[],i=0,r=Array.isArray(t)?"list":jl(t)?"named":"unknown";if("unknown"===r)return n;while(i<e.length){var o=e[i];switch(o.type){case"text":n.push(o.value);break;case"list":n.push(t[parseInt(o.value,10)]);break;case"named":"named"===r&&n.push(t[o.value]);break;case"unknown":0;break}i++}return n}var Oc=0,Tc=1,Ic=2,Pc=3,Fc=0,Mc=1,Bc=2,Nc=3,Rc=4,$c=5,jc=6,Lc=7,zc=8,Vc=[];Vc[Fc]={ws:[Fc],ident:[Nc,Oc],"[":[Rc],eof:[Lc]},Vc[Mc]={ws:[Mc],".":[Bc],"[":[Rc],eof:[Lc]},Vc[Bc]={ws:[Bc],ident:[Nc,Oc],0:[Nc,Oc],number:[Nc,Oc]},Vc[Nc]={ident:[Nc,Oc],0:[Nc,Oc],number:[Nc,Oc],ws:[Mc,Tc],".":[Bc,Tc],"[":[Rc,Tc],eof:[Lc,Tc]},Vc[Rc]={"'":[$c,Oc],'"':[jc,Oc],"[":[Rc,Ic],"]":[Mc,Pc],eof:zc,else:[Rc,Oc]},Vc[$c]={"'":[Rc,Oc],eof:zc,else:[$c,Oc]},Vc[jc]={'"':[Rc,Oc],eof:zc,else:[jc,Oc]};var Hc=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Uc(e){return Hc.test(e)}function Wc(e){var t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t!==n||34!==t&&39!==t?e:e.slice(1,-1)}function qc(e){if(void 0===e||null===e)return"eof";var t=e.charCodeAt(0);switch(t){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function Yc(e){var t=e.trim();return("0"!==e.charAt(0)||!isNaN(e))&&(Uc(t)?Wc(t):"*"+t)}function Gc(e){var t,n,i,r,o,a,s,l=[],c=-1,u=Fc,d=0,h=[];function p(){var t=e[c+1];if(u===$c&&"'"===t||u===jc&&'"'===t)return c++,i="\\"+t,h[Oc](),!0}h[Tc]=function(){void 0!==n&&(l.push(n),n=void 0)},h[Oc]=function(){void 0===n?n=i:n+=i},h[Ic]=function(){h[Oc](),d++},h[Pc]=function(){if(d>0)d--,u=Rc,h[Oc]();else{if(d=0,void 0===n)return!1;if(n=Yc(n),!1===n)return!1;h[Tc]()}};while(null!==u)if(c++,t=e[c],"\\"!==t||!p()){if(r=qc(t),s=Vc[u],o=s[r]||s["else"]||zc,o===zc)return;if(u=o[0],a=h[o[1]],a&&(i=o[2],i=void 0===i?t:i,!1===a()))return;if(u===Lc)return l}}var Kc=function(){this._cache=Object.create(null)};Kc.prototype.parsePath=function(e){var t=this._cache[e];return t||(t=Gc(e),t&&(this._cache[e]=t)),t||[]},Kc.prototype.getPathValue=function(e,t){if(!jl(e))return null;var n=this.parsePath(t);if(0===n.length)return null;var i=n.length,r=e,o=0;while(o<i){var a=r[n[o]];if(void 0===a||null===a)return null;r=a,o++}return r};var Xc,Zc=/<\/?[\w\s="/.':;#-\/]+>/,Jc=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,Qc=/^@(?:\.([a-zA-Z]+))?:/,eu=/[()]/g,tu={upper:function(e){return e.toLocaleUpperCase()},lower:function(e){return e.toLocaleLowerCase()},capitalize:function(e){return""+e.charAt(0).toLocaleUpperCase()+e.substr(1)}},nu=new Sc,iu=function(e){var t=this;void 0===e&&(e={}),!pc&&"undefined"!==typeof window&&window.Vue&&xc(window.Vue);var n=e.locale||"en-US",i=!1!==e.fallbackLocale&&(e.fallbackLocale||"en-US"),r=e.messages||{},o=e.dateTimeFormats||e.datetimeFormats||{},a=e.numberFormats||{};this._vm=null,this._formatter=e.formatter||nu,this._modifiers=e.modifiers||{},this._missing=e.missing||null,this._root=e.root||null,this._sync=void 0===e.sync||!!e.sync,this._fallbackRoot=void 0===e.fallbackRoot||!!e.fallbackRoot,this._fallbackRootWithEmptyString=void 0===e.fallbackRootWithEmptyString||!!e.fallbackRootWithEmptyString,this._formatFallbackMessages=void 0!==e.formatFallbackMessages&&!!e.formatFallbackMessages,this._silentTranslationWarn=void 0!==e.silentTranslationWarn&&e.silentTranslationWarn,this._silentFallbackWarn=void 0!==e.silentFallbackWarn&&!!e.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new Kc,this._dataListeners=new Set,this._componentInstanceCreatedListener=e.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==e.preserveDirectiveContent&&!!e.preserveDirectiveContent,this.pluralizationRules=e.pluralizationRules||{},this._warnHtmlInMessage=e.warnHtmlInMessage||"off",this._postTranslation=e.postTranslation||null,this._escapeParameterHtml=e.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in e&&(this.__VUE_I18N_BRIDGE__=e.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(e,n){var i=Object.getPrototypeOf(t);if(i&&i.getChoiceIndex){var r=i.getChoiceIndex;return r.call(t,e,n)}var o=function(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0};return t.locale in t.pluralizationRules?t.pluralizationRules[t.locale].apply(t,[e,n]):o(e,n)},this._exist=function(e,n){return!(!e||!n)&&(!Wl(t._path.getPathValue(e,n))||!!e[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(r).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,r[e])})),this._initVM({locale:n,fallbackLocale:i,messages:r,dateTimeFormats:o,numberFormats:a})},ru={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};iu.prototype._checkLocaleMessage=function(e,t,n){var i=[],r=function(e,t,n,i){if(Ul(n))Object.keys(n).forEach((function(o){var a=n[o];Ul(a)?(i.push(o),i.push("."),r(e,t,a,i),i.pop(),i.pop()):(i.push(o),r(e,t,a,i),i.pop())}));else if($l(n))n.forEach((function(n,o){Ul(n)?(i.push("["+o+"]"),i.push("."),r(e,t,n,i),i.pop(),i.pop()):(i.push("["+o+"]"),r(e,t,n,i),i.pop())}));else if(zl(n)){var o=Zc.test(n);if(o){var a="Detected HTML in message '"+n+"' of keypath '"+i.join("")+"' at '"+t+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===e?Nl(a):"error"===e&&Rl(a)}}};r(t,e,n,i)},iu.prototype._initVM=function(e){var t=pc.config.silent;pc.config.silent=!0,this._vm=new pc({data:e,__VUE18N__INSTANCE__:!0}),pc.config.silent=t},iu.prototype.destroyVM=function(){this._vm.$destroy()},iu.prototype.subscribeDataChanging=function(e){this._dataListeners.add(e)},iu.prototype.unsubscribeDataChanging=function(e){Kl(this._dataListeners,e)},iu.prototype.watchI18nData=function(){var e=this;return this._vm.$watch("$data",(function(){var t=Xl(e._dataListeners),n=t.length;while(n--)pc.nextTick((function(){t[n]&&t[n].$forceUpdate()}))}),{deep:!0})},iu.prototype.watchLocale=function(e){if(e){if(!this.__VUE_I18N_BRIDGE__)return null;var t=this,n=this._vm;return this.vm.$watch("locale",(function(i){n.$set(n,"locale",i),t.__VUE_I18N_BRIDGE__&&e&&(e.locale.value=i),n.$forceUpdate()}),{immediate:!0})}if(!this._sync||!this._root)return null;var i=this._vm;return this._root.$i18n.vm.$watch("locale",(function(e){i.$set(i,"locale",e),i.$forceUpdate()}),{immediate:!0})},iu.prototype.onComponentInstanceCreated=function(e){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(e,this)},ru.vm.get=function(){return this._vm},ru.messages.get=function(){return Gl(this._getMessages())},ru.dateTimeFormats.get=function(){return Gl(this._getDateTimeFormats())},ru.numberFormats.get=function(){return Gl(this._getNumberFormats())},ru.availableLocales.get=function(){return Object.keys(this.messages).sort()},ru.locale.get=function(){return this._vm.locale},ru.locale.set=function(e){this._vm.$set(this._vm,"locale",e)},ru.fallbackLocale.get=function(){return this._vm.fallbackLocale},ru.fallbackLocale.set=function(e){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",e)},ru.formatFallbackMessages.get=function(){return this._formatFallbackMessages},ru.formatFallbackMessages.set=function(e){this._formatFallbackMessages=e},ru.missing.get=function(){return this._missing},ru.missing.set=function(e){this._missing=e},ru.formatter.get=function(){return this._formatter},ru.formatter.set=function(e){this._formatter=e},ru.silentTranslationWarn.get=function(){return this._silentTranslationWarn},ru.silentTranslationWarn.set=function(e){this._silentTranslationWarn=e},ru.silentFallbackWarn.get=function(){return this._silentFallbackWarn},ru.silentFallbackWarn.set=function(e){this._silentFallbackWarn=e},ru.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},ru.preserveDirectiveContent.set=function(e){this._preserveDirectiveContent=e},ru.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},ru.warnHtmlInMessage.set=function(e){var t=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=e,n!==e&&("warn"===e||"error"===e)){var i=this._getMessages();Object.keys(i).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,i[e])}))}},ru.postTranslation.get=function(){return this._postTranslation},ru.postTranslation.set=function(e){this._postTranslation=e},ru.sync.get=function(){return this._sync},ru.sync.set=function(e){this._sync=e},iu.prototype._getMessages=function(){return this._vm.messages},iu.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},iu.prototype._getNumberFormats=function(){return this._vm.numberFormats},iu.prototype._warnDefault=function(e,t,n,i,r,o){if(!Wl(n))return n;if(this._missing){var a=this._missing.apply(null,[e,t,i,r]);if(zl(a))return a}else 0;if(this._formatFallbackMessages){var s=Yl.apply(void 0,r);return this._render(t,o,s.params,t)}return t},iu.prototype._isFallbackRoot=function(e){return(this._fallbackRootWithEmptyString?!e:Wl(e))&&!Wl(this._root)&&this._fallbackRoot},iu.prototype._isSilentFallbackWarn=function(e){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(e):this._silentFallbackWarn},iu.prototype._isSilentFallback=function(e,t){return this._isSilentFallbackWarn(t)&&(this._isFallbackRoot()||e!==this.fallbackLocale)},iu.prototype._isSilentTranslationWarn=function(e){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(e):this._silentTranslationWarn},iu.prototype._interpolate=function(e,t,n,i,r,o,a){if(!t)return null;var s,l=this._path.getPathValue(t,n);if($l(l)||Ul(l))return l;if(Wl(l)){if(!Ul(t))return null;if(s=t[n],!zl(s)&&!ql(s))return null}else{if(!zl(l)&&!ql(l))return null;s=l}return zl(s)&&(s.indexOf("@:")>=0||s.indexOf("@.")>=0)&&(s=this._link(e,t,s,i,"raw",o,a)),this._render(s,r,o,n)},iu.prototype._link=function(e,t,n,i,r,o,a){var s=n,l=s.match(Jc);for(var c in l)if(l.hasOwnProperty(c)){var u=l[c],d=u.match(Qc),h=d[0],p=d[1],f=u.replace(h,"").replace(eu,"");if(Zl(a,f))return s;a.push(f);var m=this._interpolate(e,t,f,i,"raw"===r?"string":r,"raw"===r?void 0:o,a);if(this._isFallbackRoot(m)){if(!this._root)throw Error("unexpected error");var g=this._root.$i18n;m=g._translate(g._getMessages(),g.locale,g.fallbackLocale,f,i,r,o)}m=this._warnDefault(e,f,m,i,$l(o)?o:[o],r),this._modifiers.hasOwnProperty(p)?m=this._modifiers[p](m):tu.hasOwnProperty(p)&&(m=tu[p](m)),a.pop(),s=m?s.replace(u,m):s}return s},iu.prototype._createMessageContext=function(e,t,n,i){var r=this,o=$l(e)?e:[],a=jl(e)?e:{},s=function(e){return o[e]},l=function(e){return a[e]},c=this._getMessages(),u=this.locale;return{list:s,named:l,values:e,formatter:t,path:n,messages:c,locale:u,linked:function(e){return r._interpolate(u,c[u]||{},e,null,i,void 0,[e])}}},iu.prototype._render=function(e,t,n,i){if(ql(e))return e(this._createMessageContext(n,this._formatter||nu,i,t));var r=this._formatter.interpolate(e,n,i);return r||(r=nu.interpolate(e,n,i)),"string"!==t||zl(r)?r:r.join("")},iu.prototype._appendItemToChain=function(e,t,n){var i=!1;return Zl(e,t)||(i=!0,t&&(i="!"!==t[t.length-1],t=t.replace(/!/g,""),e.push(t),n&&n[t]&&(i=n[t]))),i},iu.prototype._appendLocaleToChain=function(e,t,n){var i,r=t.split("-");do{var o=r.join("-");i=this._appendItemToChain(e,o,n),r.splice(-1,1)}while(r.length&&!0===i);return i},iu.prototype._appendBlockToChain=function(e,t,n){for(var i=!0,r=0;r<t.length&&Ll(i);r++){var o=t[r];zl(o)&&(i=this._appendLocaleToChain(e,o,n))}return i},iu.prototype._getLocaleChain=function(e,t){if(""===e)return[];this._localeChainCache||(this._localeChainCache={});var n=this._localeChainCache[e];if(!n){t||(t=this.fallbackLocale),n=[];var i,r=[e];while($l(r))r=this._appendBlockToChain(n,r,t);i=$l(t)?t:jl(t)?t["default"]?t["default"]:null:t,r=zl(i)?[i]:i,r&&this._appendBlockToChain(n,r,null),this._localeChainCache[e]=n}return n},iu.prototype._translate=function(e,t,n,i,r,o,a){for(var s,l=this._getLocaleChain(t,n),c=0;c<l.length;c++){var u=l[c];if(s=this._interpolate(u,e[u],i,r,o,a,[i]),!Wl(s))return s}return null},iu.prototype._t=function(e,t,n,i){var r,o=[],a=arguments.length-4;while(a-- >0)o[a]=arguments[a+4];if(!e)return"";var s=Yl.apply(void 0,o);this._escapeParameterHtml&&(s.params=ic(s.params));var l=s.locale||t,c=this._translate(n,l,this.fallbackLocale,e,i,"string",s.params);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return(r=this._root).$t.apply(r,[e].concat(o))}return c=this._warnDefault(l,e,c,i,o,"string"),this._postTranslation&&null!==c&&void 0!==c&&(c=this._postTranslation(c,e)),c},iu.prototype.t=function(e){var t,n=[],i=arguments.length-1;while(i-- >0)n[i]=arguments[i+1];return(t=this)._t.apply(t,[e,this.locale,this._getMessages(),null].concat(n))},iu.prototype._i=function(e,t,n,i,r){var o=this._translate(n,t,this.fallbackLocale,e,i,"raw",r);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(e,t,r)}return this._warnDefault(t,e,o,i,[r],"raw")},iu.prototype.i=function(e,t,n){return e?(zl(t)||(t=this.locale),this._i(e,t,this._getMessages(),null,n)):""},iu.prototype._tc=function(e,t,n,i,r){var o,a=[],s=arguments.length-5;while(s-- >0)a[s]=arguments[s+5];if(!e)return"";void 0===r&&(r=1);var l={count:r,n:r},c=Yl.apply(void 0,a);return c.params=Object.assign(l,c.params),a=null===c.locale?[c.params]:[c.locale,c.params],this.fetchChoice((o=this)._t.apply(o,[e,t,n,i].concat(a)),r)},iu.prototype.fetchChoice=function(e,t){if(!e||!zl(e))return null;var n=e.split("|");return t=this.getChoiceIndex(t,n.length),n[t]?n[t].trim():e},iu.prototype.tc=function(e,t){var n,i=[],r=arguments.length-2;while(r-- >0)i[r]=arguments[r+2];return(n=this)._tc.apply(n,[e,this.locale,this._getMessages(),null,t].concat(i))},iu.prototype._te=function(e,t,n){var i=[],r=arguments.length-3;while(r-- >0)i[r]=arguments[r+3];var o=Yl.apply(void 0,i).locale||t;return this._exist(n[o],e)},iu.prototype.te=function(e,t){return this._te(e,this.locale,this._getMessages(),t)},iu.prototype.getLocaleMessage=function(e){return Gl(this._vm.messages[e]||{})},iu.prototype.setLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,t)},iu.prototype.mergeLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,ec("undefined"!==typeof this._vm.messages[e]&&Object.keys(this._vm.messages[e]).length?Object.assign({},this._vm.messages[e]):{},t))},iu.prototype.getDateTimeFormat=function(e){return Gl(this._vm.dateTimeFormats[e]||{})},iu.prototype.setDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,t),this._clearDateTimeFormat(e,t)},iu.prototype.mergeDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,ec(this._vm.dateTimeFormats[e]||{},t)),this._clearDateTimeFormat(e,t)},iu.prototype._clearDateTimeFormat=function(e,t){for(var n in t){var i=e+"__"+n;this._dateTimeFormatters.hasOwnProperty(i)&&delete this._dateTimeFormatters[i]}},iu.prototype._localizeDateTime=function(e,t,n,i,r,o){for(var a=t,s=i[a],l=this._getLocaleChain(t,n),c=0;c<l.length;c++){var u=l[c];if(s=i[u],a=u,!Wl(s)&&!Wl(s[r]))break}if(Wl(s)||Wl(s[r]))return null;var d,h=s[r];if(o)d=new Intl.DateTimeFormat(a,Object.assign({},h,o));else{var p=a+"__"+r;d=this._dateTimeFormatters[p],d||(d=this._dateTimeFormatters[p]=new Intl.DateTimeFormat(a,h))}return d.format(e)},iu.prototype._d=function(e,t,n,i){if(!n){var r=i?new Intl.DateTimeFormat(t,i):new Intl.DateTimeFormat(t);return r.format(e)}var o=this._localizeDateTime(e,t,this.fallbackLocale,this._getDateTimeFormats(),n,i);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(e,n,t)}return o||""},iu.prototype.d=function(e){var t=[],n=arguments.length-1;while(n-- >0)t[n]=arguments[n+1];var i=this.locale,r=null,o=null;return 1===t.length?(zl(t[0])?r=t[0]:jl(t[0])&&(t[0].locale&&(i=t[0].locale),t[0].key&&(r=t[0].key)),o=Object.keys(t[0]).reduce((function(e,n){var i;return Zl(Bl,n)?Object.assign({},e,(i={},i[n]=t[0][n],i)):e}),null)):2===t.length&&(zl(t[0])&&(r=t[0]),zl(t[1])&&(i=t[1])),this._d(e,i,r,o)},iu.prototype.getNumberFormat=function(e){return Gl(this._vm.numberFormats[e]||{})},iu.prototype.setNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,t),this._clearNumberFormat(e,t)},iu.prototype.mergeNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,ec(this._vm.numberFormats[e]||{},t)),this._clearNumberFormat(e,t)},iu.prototype._clearNumberFormat=function(e,t){for(var n in t){var i=e+"__"+n;this._numberFormatters.hasOwnProperty(i)&&delete this._numberFormatters[i]}},iu.prototype._getNumberFormatter=function(e,t,n,i,r,o){for(var a=t,s=i[a],l=this._getLocaleChain(t,n),c=0;c<l.length;c++){var u=l[c];if(s=i[u],a=u,!Wl(s)&&!Wl(s[r]))break}if(Wl(s)||Wl(s[r]))return null;var d,h=s[r];if(o)d=new Intl.NumberFormat(a,Object.assign({},h,o));else{var p=a+"__"+r;d=this._numberFormatters[p],d||(d=this._numberFormatters[p]=new Intl.NumberFormat(a,h))}return d},iu.prototype._n=function(e,t,n,i){if(!iu.availabilities.numberFormat)return"";if(!n){var r=i?new Intl.NumberFormat(t,i):new Intl.NumberFormat(t);return r.format(e)}var o=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),n,i),a=o&&o.format(e);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(e,Object.assign({},{key:n,locale:t},i))}return a||""},iu.prototype.n=function(e){var t=[],n=arguments.length-1;while(n-- >0)t[n]=arguments[n+1];var i=this.locale,r=null,o=null;return 1===t.length?zl(t[0])?r=t[0]:jl(t[0])&&(t[0].locale&&(i=t[0].locale),t[0].key&&(r=t[0].key),o=Object.keys(t[0]).reduce((function(e,n){var i;return Zl(Ml,n)?Object.assign({},e,(i={},i[n]=t[0][n],i)):e}),null)):2===t.length&&(zl(t[0])&&(r=t[0]),zl(t[1])&&(i=t[1])),this._n(e,i,r,o)},iu.prototype._ntp=function(e,t,n,i){if(!iu.availabilities.numberFormat)return[];if(!n){var r=i?new Intl.NumberFormat(t,i):new Intl.NumberFormat(t);return r.formatToParts(e)}var o=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),n,i),a=o&&o.formatToParts(e);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(e,t,n,i)}return a||[]},Object.defineProperties(iu.prototype,ru),Object.defineProperty(iu,"availabilities",{get:function(){if(!Xc){var e="undefined"!==typeof Intl;Xc={dateTimeFormat:e&&"undefined"!==typeof Intl.DateTimeFormat,numberFormat:e&&"undefined"!==typeof Intl.NumberFormat}}return Xc}}),iu.install=xc,iu.version="8.28.2";var ou=iu,au=i(4093),su=i(9952),lu=i(3527);const cu={sendData:{sendTitle:"sendData",search:{sendingTime:"sendingTime",phoneNumber:"phoneNumber",companyName:"companyName",addressee:"addressee",textSearch:"textSearch",send:"send",open:"open",LinkClick:"LinkClick",reply:"reply",return:"return",unsubscribe:"unsubscribe",emailComplaints:"emailComplaints",search:"search",download:"download",reset:"reset",collapse:"collapse",operate:"operate"},table:{createTime:"createTime",sender:"sender",name:"name",company:"company",addressee:"addressee",subject:"subject",text:"text",send:"send",open:"open",linkClick:"linkClick",reply:"reply",return:"return",unsubscribe:"unsubscribe",spamComplaints:"spamComplaints",view:"view",AIreplies:"AIreplies"}},receiveData:{receiveTitle:"Received Data",search:{sendingTime:"Sent Time:",sender:"Sender",receivingAccount:"Recipient Account:",recipientName:"Recipient Name:",companyName:"Company Name:",textSearch:"Content Search:",search:"Search",download:"Download",reset:"Reset"},table:{sendTime:"Received Time",sender:"Sender",addressee:"Recipient",name:"Name",company:"Company",subject:"Subject",content:"Content",isRead:"Read Status",operate:"Action"}},inboxMail:{search:{default:"Please enter",defaultSelect:"Please select",bloggerName:"Influencer Name",title:"Title and Content",target:"Popularization Plan",tagName:"Tag Name",isRead:"Read Status",read:"Read",unRead:"Unread",isStar:"Starred Emails",sendEmail:"Sending email",emailStatus:"Email status",all:"All Emails",starred:"Starred",allEmail:"All emails",sysEmail:"System emails",businessEmail:"Enterprise emails",isReply:"Replied to Email",replyTrue:"Replied",replyFalse:"Unreplied",replayTime:"Received Time",time1:"Last Three Months",time2:"Last Six Months",time3:"All Emails",search:"Search",reset:"Reset",refresh:"Refresh",delete:"Delete",setUnRead:"Mark as Unread",batchReply:"Bulk Reply",noTask:"No campaign",setHasRead:"Mark as Read"},searchButton:{search:"search",reset:"reset"}},inboxTable:{noTask:"no task",addTag:"new label",delTag:"Are you sure you want to remove this label?",confirm:"Confirm",cancel:"Cancel",tip:"tip",cancelTagDel:"Undo delete",successTagDel:"The mailing label was deleted successfully",errorTag:"The label displays an error",delmailWarning:"Please select at least one",unReadSuccess:"The operation was successful",delMail:"This action will permanently delete, do you want to continue?",del:"Email deleted successfully",collMail:"Collected",cancelMail:"Cancel Favorite",requestError:"Request error",deleteTip:"If this email is spam, you can block emails from this address.",delShieldBtn:"Delete and block this email address."},newMail:{title:"New mail notification",content:"You have received a new email. Please check your inbox"},inboxDetail:{addTag:"Add Tag",addFavorites:"Add to Favorites",send:"Send",to:"Addressee",me:"Me",reply:"Reply",mailContent:"Email body cannot be empty",replySuccess:"Reply successful",delSuccess:"Delete successful",confirmContent:"This action will permanently delete, continue?",tagError:"Tag error",tip:"Notice",mailError:"Failed to read email",confirm:"Confirm",cancel:"Cancel",omail:"Original email",subject:"Subject",content:"Body",outerBlogger:"External influencer or agent",email:"Email:",normalReply:"Standard reply",reply2:"Reply",simpleReply:"Quick reply",plan:"Associated campaign",noPlan:"No associated campaign",coopStatus:"Cooperation status",coop1:"Not cooperating",coop2:"Confirm cooperation",coop3:"Sample sent",coop4:"Content in production",coop5:"Waiting to go online",coop6:"Cooperation completed",empty:"None",menu1:"Influencer profile",menu2:"Sample delivery management",menu3:"Cooperation content",menu4:"Cooperation amount",menu5:"Affiliate distribution",menu6:"Remarks",menu7:"Report influencer",menu8:"Blacklist",menu9:"Influencer details",menu10:"Payment",aiTip1:"AI-generated content may contain risks, please review and confirm",open:"Expand",close:"Collapse",like:"Like",unLike:"Dislike",redo:"Regenerate",stop:"Stop generation",restPoint:"Available AI points",aiRule:"Click to view AI points usage rules",aiContentReply:"AI content reply",channelId:"Channel ID",read:"read",unRead:"unread",tips1:"Please add an associated campaign first!",tips2:"Content generation timed out, please try again!",tip3:"No content to reply!",tips4:"Sent successfully!",tips5:"Operation successful",quickReply:"Quick reply",fullWrite:"Switch to full writing mode",sendNow:"Send now",keywords:"Key information",isBuilding:"AI key information generation in progress...",waring1:"The following information is extracted by AI after analyzing the email content",info1:"Quotation",info2:"Contact information",info3:"Shipping address",info4:"Payment information",saveInfo:"Enter into influencer profile",noInfo:"No key information extracted from this email",aiTips2:"No information to enter",infoSuccess:"Entry successful!",planTitle1:"Add associated campaign",planTitle2:"Transfer associated campaign",planTip1:"Note: The influencer's contact status, cooperation status, bound tracking links, videos, etc. will be synchronized into the target campaign",planTip2:"Note: The influencer's contact status, cooperation status, videos, etc. will be moved into the target campaign",choosePlan:"Select campaign",planPlace:"Please select a campaign",noPlan2:"No campaign currently available",createPlan:"Create campaign",planTips3:"Please select a campaign",planVal:"Campaign",planMove:"Transfer",planGL:"Associate",success:"Successful",coopStatusTitle:"Select cooperation status",previousPage:"Previous Page",nextPage:"Next Page"},inboxTagDialog:{title:"label",tip:"tip",default:"Please enter a new label name",selectTag:"Selected labels",collapse:"Show less",unfold:"Show more",bindTagTip:"Select the label to which the message is bound",bindSuccess:"Binding succeeded",addTagSuccess:"The tag was added successfully",addTagFail:"Label already exists",tagMaxLen1:"The label length cannot exceed six characters",tagMaxLen2:"The label length cannot exceed twelve characters",tagMaxLen:"The tag name cannot exceed 30 characters (15 Chinese characters)",delTagSuccess:"The tag is deleted successfully",confirm:"Confirm",cancel:"Cancel"},searchButton:{search:"Search",reset:"Reset"},writeMail:{receiver:"To",cc_person:"Cc",subject:"Subject",add_attachment:"Attach Files",notice:"Tip",tip:"The maximum number of attachments is 10, and the total size of attachments should not exceed 200MB.",content:"content",template_var:"Template variables",channel_name:"Channel name",channel_Id:"Channel Id",blogger:"Influencer",name:"Name",fans_num:"Number of fans",channel_link:"Channel link",goback:"Return",save_draft:"Save",delayed_sending:"Schedule send",send_now:"Send",template:"Template",signature:"Signature",product:"Product",task:"Task",creativity:"Idea",retract:"Show less",other:"",person:"",time_limit:"Sending time cannot be earlier than the current time",save_draft_tip:"Do you want to save the edited content to the draft box?",save_mail:"Do you want to save the email content?",prompt:"Tip",save:"Save",cancle:"Cancel",no_receiver:"Please specify at least one recipient.",check_receiver:"Please check if the recipient’s email address is correct",check_ccperson:"Please check if the CC recipient’s email address is correct",no_subject:"Please fill in the email subject before sending",subject_limit:"Email subject cannot exceed 100 characters",no_content:"Please fill in the email body before sending",content_limit:"Email content cannot exceed 5000 characters",attachment_length_limit:"Up to 10 attachments can be uploaded",attachment_size_limit:"Total attachment size cannot exceed 200MB",choose_send_time:"Select scheduled sending time",will:"the email will be sent at ",post_to:"Beijing Time and is temporarily saved in 'Draft'",send:"send",choose_time_date:"Select date and time",cancle_timer:"Cancel scheduled sending",change_timer:"Modify sending time",mail_will:"The email will be sent at",save_tip:". Before sending, it will be temporarily saved in 'Draft' and can be viewed or modified at any time.",set_delay_success:"Scheduled email saved",i_know:"OK",cancle_delay_tip:"After canceling the scheduled sending, the email will be restored to a regular draft email.",whether_cancle_delay:"Do you want to cancel the scheduled sending?",cancle_delay:"confirm",no_cancle:"cancel",infoPop:"Usually, using template variables in emails can effectively improve work efficiency"},uploadDialog:{title:"Upload Attachment",btnUpload:"Select File",tip:"The total size limit for files is 200 MB and the number of files cannot exceed 10",tip1:"The rest size limit for files is ",tip2:"and the rest number of files cannot exceed",btnOk:"Upload",btnClear:"Clear",empty:"File upload cannot be empty",maxSize:"The total size of files cannot exceed 100 MB. Please upload again",maxNum:"The number of files uploaded cannot exceed 10",success:"Upload successful",wait:"Please wait for the upload to finish",not:"This file format is currently not supported"},outboxMail:{blogger_name:"Recipient",title_content:"subject/content",task_name:"task",mail_type:"Mail types",mail_status:"Mail status",star_mail:"Starred mail",all_read:"All read",all_unread:"Unread",read:"Read",no_task:"No task",no_plan:"No campaign",normal:"Normal",delay:"Scheduled",failed:"Failed to send",all_mail:"All emails",choose:"Please select at least one item.",confirm_del:"Are you sure you want to delete?",success:"Operation successful."},draftMail:{draft:"Drafts",no_receiver:"Please specify at least one recipient.",send:"send",empty:"empty",no_subject:"Empty subject"},outboxDetail:{back:"return",me:"me",send_to:"to",retract:"Show less",more:"Show more",read:"read",unreviewed_resend:"Resend unread emails",resend_all:"Resend all",show_all:"Show all",file_num:"attachments",down_all:"Download all"},blogMail:{search_mail:"Search email",read:"read",unread:"unread",receive_mail:"Inbox",send_mail:"Sent"},template:{invite_cooperation:"Cooperation invitation",price_negotiation:"negotiation price",contract_template:"Contract",video_production:"Video making",expense_settlement:"Payment",create_template:"Create template",system_template:"System template",custom_template:"Custom template",new_template:"New template",template_title:"Template title",mail_title:"subject",apply_scene:"Application scenario",language:"Language",template_language:"Template language",set_system_template:"Set system template",edit_template:"Edit template",word_limit:"Limit within words ",title_not_empty:"Template title cannot be empty",title_word_limit:"Template title should be within 30 words",subject_not_empty:"Email subject cannot be empty",scene_not_empty:"Application scenario cannot be empty",scene_word_limit:"Application scenario should be within 20 words",language_not_empty:"Language cannot be empty",no_content:"Email body cannot be empty",choose_type:"Select type",confirm:"Confirm",template_type:"Template type",set_success:"Settings saved successfully"},signature:{create_sign:"New Signature",edite_sign:"Edit Signature",sign_not_empty:"Signature cannot be empty",confirm_del:"Are you sure you want to delete the singature?"},product:{no_data:"Create a product now to get started! No products found.",add_product:"Add product",create_product:"New product",upload_picture:"Upload product image",length_limit:"File size should not exceed",product_name:"Product name",en_name:"English name",product_type:"Product type",E_COMMERCE:"E-commerce platform",produce_link:"Product link",product_price:"Product price",dollar:"USD",link:"Original link",link_goods:"commodity",link_app:"APP promotion",link_web:"Website promotion",link_amazon:"Amazon",link_aliExpress:"AliExpress",link_lazada:"Lazada",link_shopee:"Shopee",link_independent:"Independent station",link_other:"other",empty_link_name:"Product name cannot be empty",limit_link_words:"The product name cannot exceed 20 words",empty_en_name:"English name cannot be empty",limit_en_words:"English name cannot exceed 100 characters",false_en_name:"The English name is entered incorrectly",select_link_type:"Please select a product type",select_platform:"Please select an e-commerce platform",empty_link:"Product link cannot be empty",empty_price:"The product price cannot be empty",no_img:"No product images uploaded",create_success:"Created successfully",false_link:"Product link format error, please re-enter",re_link_name:"The product name already exists, please re-enter",limit_upload:"Upload image size cannot exceed 5MB"},task:{choose:"Select",blogger_classify:"KOL category",blogger_country:"KOL country",blogger_platform:"KOL platform",create_date:"Creation date",no_data:"Create a task now to get started! No tasks found."},creativity:{no_data:"Only favorited ideas will appear here",content:"Creative content",script:"Creative script",insert:"Insert",interaction_rate:"Interaction rate",script_name:"Script name",script_classify:"Script category",script_num:"Script number",collect:"Favorite",cancle_collect:"Unfavorite",storyboard:"Storyboard",suggested_duration:"Suggested duration",plot_summary:"Plot summary",key_point:"Key points",case_name:"Case name",case_classify:"Case category",playback_volume:"Views",likes:"Likes",comments_num:"Comments",content_title:"Content title",content_validity:"Content summary",video_num:"Number of videos",channel_createtime:"Channel creation time",blogger_area:"KOL region",blogger_detail:"KOL details",case_detail:"Case details",no_title:"No title",no_validity:"No summary",script_content:"Script content",average_play:"Average views",total_watch:"Total views"},common:{please_select:"Please select",please_input:"Please enter",no_data:"No data available",confirm:"Confirm",cancle:"Cancel",delete:"Delete",apply:"Apply",detail:"Details",download:"Download",update_on:"Last update time",second:"seconds",minute:"minutes"},productForm:{product_selection_form:"Product Selection Form",creation_time:"Creation Time",selection_form_name:"Product Selection Form Name",number_of_product_cards:"Number of Product Cards",viewing_frequency:"View Count",update_time:"Last Updated",operation:"Operation",cancel:"Cancel",confirm:"Confirm",see:"View"},productCard:{product_card:"Product Card",example:"Example",add_product_card:"Add Product Card"},newProduct:{product:"Product",product_name:"Product Name",please_enter:"Please enter",please_enter_num:"Please enter a number.",productName:"Product Name",productId:"Product ID",productRemark:"Product Remark",query:"Search",reset:"Reset",details:"Details",shopifyProduct:"Shopify Products",product_remarks:"Product Notes",product_en:"English name",channel:"Channel",product_details:"Product Details",view_cards_times:"Product Card Views",basic_information:"Basic Information",name:"Name",chinese:"Chinese",english:"English",remarks:"Note",picture:"Image",category:"Category",describe:"Description",source:"Source",sales_information:"Sales Information",price:"Price",sku_description:"SKU Description",shippable_regions:"Shippable Regions",search_keywords:"Search Keywords",Main_image:"Main Image",Manual_addition:"Add Manually",Shopify_import:"Shopify Import",TikTok_import:"Import from TikTok",Cancel:"Cancel",preservation:"Save"},setMail:{Sending_settings:"Sender Settings",Current_settings:"Current Settings",mailbox_system:"System Email",unbind:"Unbind",tip1:"Are you sure you want to unlink your Gmail account from WotoHub? Once unlinked, you will no longer be able to use the related functions for sending and receiving emails via Gmail, and you will need to reauthorize to use them again. To cancel the authorization, you need to adjust the settings in your Gmail account.",guide:"Click here for the user guide.",cancle:"Cancel",confirm_unbinding:"Confirm Unlinking",no_bind_mail:"No email address linked yet.",bind:"Bind",tip2:"Please save the drafted email content first, as the compose page will refresh during authorization.",tip3:"Please ensure the VPN is enabled before granting authorization.",tip4:"Please enter the Gmail address you want to link",auth:"Authorization",tip5:"Gmail limits outgoing emails to 20 per hour.",confirm:"Confirm",auth_success:"Gmail authorization successful",auth_failed:"Gmail authorization failed",tip6:"Please link your Gmail account first.",tip7:"System email set successfully.",tip8:"GMAIL account setup successful",tip9:"Please enter your Gmail address first",tip10:"Please enter a valid email address format",tip11:"Enterprise email set successfully"},deliveryTime:{Delivery_time:"Sent Time",three_months:"Within the past three months",past_six_months:"The past six months",all_emails:"All Emails",no_promotion_plan:"No Campaign",Channel_ID:"Channel ID",tips:"To ensure your emails are delivered efficiently and accurately to influencers, we have limited the maximum number of bulk emails to 500. Therefore, this batch will only be sent to the first 500 unread influencers.",know:"Got it.",tip:"Prompt"},checkMail:{filtering:"Filtering",filter_completed:"Filtering complete",tip1_1:"valid recipients, all contacted for the first time within 30 days, will automatically proceed to the next step after",tip1_2:"seconds.",tip2:"Valid Sender: To ensure the health of your mailbox, the platform will automatically filter out influencers who have sent emails with duplicate titles on the same day.",tip3_1:"We have detected",tip3_2:"valid recipients, of which",tip3_3:"have been contacted via email within the last 30 days. Would you like to filter these influencers to avoid duplicate sending?",variable_replacement:"Variable substitution",tip4:"It's recommended to use variables in the email subject and body to increase the open rate.",tip5:"Checking email. Once the check is complete, it will automatically proceed to the next step of creating the email.",tip6_1:"The email has passed the quality check and will be automatically created in",tip6_2:"seconds.",continue_sending_emails:"Continue Sending",optimize_emails:"Optimize Email",email_created_successfully:"Email created successfully.",tip7_1:"Please keep a close eye on your incoming messages. You will be redirected to your outbox in",tip7_2:"seconds",jump_immediately:"Jump Now",creation_failed:"Creation failed.",tip8_1:"Recipient field is empty. Email creation failed. This window will close automatically in",tip8_2:"seconds.",close:"Close",filter_duplicate_touchpoints:"Filter duplicate contacts",filter_contacted_influencers:"Filter contacted influencers",email_quality_inspection:"Email Quality Check",create_email:"Create Email",tip9:"Exceeded daily email sending limit.",tip10_1:"To ensure the health of your mailbox, the daily email sending limit is {value} emails. You have",tip10_2:"emails remaining to send today. You can",tip11:"Save the email to drafts",tip12:"Schedule to send the next day",know:"Got it.",send_notice:"Sending Guidelines",tip13:"For more email optimization tips, please contact customer service.",tip14:"Do not show again for 14 days",tip15:"To ensure the health of the email, there is a limit on the total number of daily emails sent by the primary and secondary accounts.",tip16:"Using variables in the subject and body can help increase email open rates.",tip17:"Recommended usage of template variables",tip18:"Using variables in the email subject and body can enrich bulk email content, effectively improving delivery and open rates.",messageTip1:"Mailbox unlocking limit reached! Please contact support for more quota."},edm2:{mailEn1:"Single-round invitation",mailEn2:"Multi-round invitation",mailEn3:"Reply to sender",mailEn4:"Filter",mailEn5:"Compose email",mailEn6:"Email subject",mailEn7:"Email body",mailEn8:"Select date",mailEn9:"Delivery rate",mailEn10:"Open rate",mailEn11:"Reply rate",mailEn12:"Sending time",mailEn13:"Email content",mailEn14:"Email",mailEn15:"Attachment",mailEn16:"Influencer list",mailEn17:"Country",mailEn18:"Platform",mailEn19:"Replied or not",mailEn20:"Hide AI auto-invite emails",mailEn21:"No",mailEn22:"Yes",mailEn23:"Recipient list",mailEn24:"Add recipient",mailEn25:"Next step",mailEn26:"Add source",mailEn27:"Remove recipient",mailEn28:"Cancel removal",mailEn29:"There are still unconfirmed duplicate influencers in the recipient list. To avoid duplicate contacts, the system will automatically filter them out and will not send emails to them. Do you want to continue?",mailEn30:"You have selected duplicate influencers, and emails will only be sent to the selected duplicates.",mailEn31:"Duplicate recipients",mailEn32:"The recipients you added contain duplicates. To avoid wasting email resources, please confirm again."},edm5:{v1:"Refresh",v2:"Delete",v3:"Please select read emails",v4:"Sender's Email:",v5:"Please reply using the original email address",v6:"AI Email Summary",v7:"Extract Key Information",v8:"Extract Quotes, Contact Information, Delivery Address, Payment Information",v9:"AI Reply",v10:"Operation Successful",v11:"Content generation timed out, please try again!",v12:"Content generated by AI may contain risks, please review and confirm",v13:"Reply Strategy",v14:"Please enter your reply requirements",v15:"Generating Reply Strategy",v16:"Not helpful? Try another option",v17:"Available AI Points:",v18:"Click to view AI points usage rules",v19:"Cancel",v20:"Generate",v21:"English",v22:"Friendly",v23:"One",v24:"Two",v25:"Three",v26:"Four",v27:"Five",v28:"Six",v29:"Please enter the subject you wish to reply to",v30:"AI-generated Reply Content (Chinese)",v31:"AI-generated Reply Content ({ value })",v32:"Like",v33:"Dislike",v34:"Regenerate",v35:"Stop Generating",v36:"Confirm",v37:"Recipient:",v38:"Card Number:",v39:"Bank:",v40:"Delivery Rate, Open Rate, and Reply Rate data will be updated and corrected daily at 12 AM and 12 PM",v41:"Channel ID:",v42:"Influencer",v43:"Please enter the influencer's name to search",v44:"Reset",v45:"Confirm",v46:"Unread",v47:"Read",v48:"Yes",v49:"No",v50:"Email Status",v51:"Estimated Send Time",v52:"Draft",v53:"Pending Send",v54:"Send Failed",v55:"Content",v56:"Attachments",v57:"Multiple email templates can be set and sent in rotation",v58:"Add/Remove Recipients",v59:"Email",v60:"Add Email Content",v61:"Sender's Nickname",v62:"Send Now",v63:"Send",v64:"Schedule Send",v65:"Generate Email",v66:"Optimize Content",v67:"Paraphrase Email",v68:"Translate",v69:"AI Email",v70:"Email Template",v71:"Content Variables",v72:"Template",v73:"Signature",v74:"Product",v75:"Product Form",v76:"Close Prompt",v77:"Recipient and email are both empty, failed to save draft",v78:"Are you sure you want to delete this content? It cannot be recovered once deleted",v79:"Prompt",v80:"Email content is empty, operation cannot be performed!",v81:"Editing failed, please try again!",v82:"AI-generated Email",v83:"AI instantly customizes professional email content based on selected products and collaboration requirements",v84:"Step One:",v85:"Select Product",v86:"Selected",v87:"Product",v88:"Step Two:",v89:"Collaboration Requirements",v90:"Generate",v91:"Fill in Collaboration Requirements",v92:"*Share more details with AI to make your invitation email more compelling",v93:"Email Closing",v94:"Product or Brand Advantages",v95:"Please Enter",v96:"Free Sample Delivery?",v97:"Basic Compensation Provided?",v98:"Please Select",v99:"Influencer Commission",v100:"Video Style",v101:"Video Duration",v102:"seconds",v103:"Press Enter after entering the content to add it",v104:"Other requirements",v105:"Generate language:",v106:"For better AI parsing, please use the target language",v107:"Product Information",v108:"Product Name:",v109:"English Name:",v110:"Channel:",v111:"Product Link:",v112:"Shipping Regions:",v113:"Description:",v114:"Collaboration Requirements",v115:"Product or Brand Advantages:",v116:"Collaboration Method:",v117:"Video Style:",v118:"Video Duration:",v119:"Other Requirements:",v120:"Currently using DeepSeek to generate an email for you.",v121:"Subject:",v122:"Content:",v123:"No emails added yet",v124:"Application",v125:"Free Samples Provided",v126:"No Free Samples Provided",v127:"Basic Compensation Provided",v128:"No Basic Compensation Provided",v129:"Product Placement",v130:"Contrast Comparison",v131:"Experience Sharing",v132:"Direct Display",v133:"Unboxing Review",v134:"Email signature cannot be empty!",v135:"Complete at least one step!",v136:"No applicable emails available!",v137:"Corporate Email Configuration Guide",v138:"To invite influencers via corporate email, you can authorize a third-party client (e.g., WotoHub platform) to log in to the corporate email to send emails. Authorization is only used to call the corporate email's send email function. Essentially, the bulk emails are still sent through the user's corporate email, so they are subject to the corporate email's sending and receiving rules.",v139:"Authorization Method",v140:"1. Click on [Send Settings] on the email editing page to bind a third-party email",v141:"2. After selecting [Bind New Email], choose the email type (Gmail or corporate email)",v142:"3. For Gmail, proceed with authorization binding. For corporate email, fill in the relevant fields",v143:"Note: Currently, QQ Mail and Tencent Corporate Mail require an [Authorization Code] to log in. Refer to the [SMTP Configuration Help Document] below for the method to obtain it.",v144:"Gmail Authorization",v145:"Ensure VPN is enabled when authorizing Gmail. Manually check the first two permissions (not all).",v146:"If you accidentally select all and authorization fails, go to Gmail account settings [Security] to clear WotoKOL authorization and rebind.",v147:"Step 1: Go to Account Management",v148:"Step 2: Go to the Security page and find WotoKOL under Your Connections with Third-Party Apps and Services",v149:"Step 3: Revoke all connections. After completion, rebind the email in WotoHub.",v150:"SMTP Configuration Help Document",v151:"Refer to the help document of your email service provider on how to enable and configure the SMTP server and obtain the authorization code. Below are some common corporate email help documents. If authorization fails under default advanced options, check the configuration according to the relevant documents and verify. If you need assistance, contact customer service.",v152:"Email",v153:"SMTP Server",v154:"Is an authorization code required to log in?",v155:"Help Document",v156:"Platform Control Rules",v157:"View Details",v158:"Common Reasons for Email Verification Failure and Solutions",v159:"1. This email has already been bound",v160:"Each email can only be bound to one account. The system found that the email you entered is already bound to another account. Please enter a suitable email.",v161:"2. Incorrect information entered, please check the details again",v162:"Check if the email account and password are correct. Some corporate emails require an [Authorization Code] to log in. Check if the authorization code is correct.",v163:"Special cases like Alibaba Corporate Mail, ensure [Third-Party Client Security Password] is disabled, as shown below:",v164:"3. Invalid email address",v165:"The email address you provided has a format error, does not exist, or is not within the platform's supported corporate email range, making it unusable. Please verify and enter the correct information.",v166:"4. Authorization failed, please check the configuration instructions",v167:"There may be an error in the permissions selected when authorizing Gmail. Check the Gmail authorization notes above and try again.",v168:"Alibaba Corporate Mail",v169:"1. Bulk email limit is 300 emails",v170:"2. Individual recipient limit is 100 emails",v171:"Tencent Corporate Mail",v172:"Enable STMP Service",v173:"Configure Alibaba Corporate Mail to Third-Party Client",v174:"Enable POP/SMTP/IMAP functions",v175:"Obtain Client-Specific Password",v176:"1. For enterprises with fewer than 30 users, the daily email limit is 1500 emails;",v177:"2. For enterprises with more than 30 users, the daily email limit is the number of users * 50 emails/day;",v178:"3. No sending limit for accounts with prior email exchanges.",v179:"QQ Mail",v180:"Configure QQ Mail Authorization Code",v181:"There is no maximum sending limit for normal emails. If your email content is deemed as advertising or spam, it will be restricted. This is determined by the system, so avoid sending such emails.",v182:"Outlook Mail",v183:"Configuration Document",v184:"Learn about the Outlook SMTP Settings Interface:",v185:"Outlook SMTP Settings Interface",v186:"1. Daily recipients: 5,000",v187:"2. Maximum recipients per email: 500",v188:"3. Daily non-relationship recipients: 1,000",v189:"Sending Notes",v190:"1. To ensure email health, the combined daily sending limit for master and sub-accounts is {value} emails",v191:"2. When sending emails from non-system emails, the email unlock quota will be consumed simultaneously",v192:"When sending emails from non-system emails, the email unlock quota will be consumed simultaneously",v193:"Default",v194:"Set as Default",v195:"Unbind",v196:"Bind New Email",v197:"Email Type",v198:"Configuration Instructions",v199:"Please enter the Gmail email to bind",v200:"Please save the drafted email content first, as the email page will refresh during authorization",v201:"Ensure VPN is enabled before authorization",v202:"Gmail limits to 20 outgoing emails per hour",v203:"Please enter the Outlook email to bind",v204:"Email address",v205:"Email password/authorization password",v206:"SMTP Outgoing Mail",v207:"Please enter the domain name",v208:"Unencrypted",v209:"Please enter the port",v210:"IMAP Incoming Mail",v211:"This email has pending messages. If you unbind now, these messages will fail to send. Are you sure you want to continue?",v212:"Are you sure you want to unbind {currentUnbindEmail} from WotoHub? After unbinding, you will no longer be able to use the related functions for sending and receiving emails with {currentUnbindEmail}, and you will need to reauthorize to use it again.",v213:"Please select your business email provider",v214:"Please enter the email address",v215:"Please enter a valid email address",v216:"Please enter the email password/authorization password",v217:"Please enter the domain name",v218:"Please enter the port",v219:"Select Outbox",v220:"Outlook Personal Email",v221:"Default email set successfully",v222:"Binding successful",v223:"When sending emails from this address, it will automatically unlock the influencer's email. This will consume your email unlocking quota. Are you sure you want to continue?",v224:"Friendly Reminder",v225:"Continue",v226:"Cancel",v227:"Settings saved successfully",v228:"Gmail has been bound. The system currently supports binding only one Gmail account. To switch, please unbind the current email first.",v229:"Please enter the Outlook email",v230:"Outlook authorization successful",v231:"Unbinding successful",v232:"Email channel test successful",v233:"Incorrect port format",v234:"Incorrect domain format",v235:"Note: The maximum number of attachments is 10, and the total size of attachments must not exceed 200MB",v236:"Add Attachment",v237:"AI Optimized Content",v238:"Content Variables",v239:"Influencer Name",v240:"Target Language",v241:"Translate",v242:"Tone",v243:"Generate",v244:"Original Text",v245:"Email Template",v246:"*Applying the template will overwrite the current email content",v247:"To ensure your emails are efficiently and accurately delivered to the influencer's inbox, we limit the maximum number of bulk emails to 500. We hope you can use your email resources wisely to better communicate with bloggers.",v248:"Got it",v249:"Contacts without email addresses have been automatically filtered out for you.",v250:"Cancel Operation",v251:"Selected influencer has not disclosed contact information, unable to send email directly",v252:"Sender's Nickname",v253:"By setting a personalized sender nickname, your nickname will be directly displayed in the influencer's inbox. This helps establish a more approachable and professional brand image.",v254:"Sender nickname cannot be empty!",v255:"Signature",v256:"Search Signature",v257:"Create New Signature",v258:"Details",v259:"Last Updated:",v260:"Delete",v261:"Apply",v262:"text:",v263:"Selected",v264:"",v265:"Optimize grammar",v266:"Shorten content",v267:"Expand content",v268:"Enhance structure",v269:"Change tone",v270:"Please select not read emails"}};var uu=cu;const du={sendData:{sendTitle:"发信数据",search:{sendingTime:"发信时间:",phoneNumber:"手机号:",companyName:"公司名称:",addressee:"收件人:",textSearch:"正文检索:",send:"发送:",open:"打开:",LinkClick:"链接点击:",reply:"回复:",return:"退回:",unsubscribe:"退订:",emailComplaints:"邮件投诉:",search:"查询",download:"下载",reset:"重置",collapse:"收起",unfold:"展开",operate:"操作"},table:{createTime:"创建时间",sender:"发件人",name:"姓名",company:"公司",addressee:"收件人",subject:"主题",text:"正文",send:"发送",open:"打开",linkClick:"链接点击",reply:"回复",return:"退回",unsubscribe:"退订",spamComplaints:"垃圾邮件投诉",view:"查看",AIreplies:"AI回复"}},receiveData:{receiveTitle:"收信数据",search:{sendingTime:"发信时间:",sender:"发件人",receivingAccount:"收件账号:",recipientName:"收件姓名:",companyName:"公司名称:",textSearch:"正文检索:",search:"查询",download:"下载",reset:"重置"},table:{sendTime:"收件时间",sender:"发件人",addressee:"收件人",name:"姓名",company:"公司",subject:"主题",content:"正文",isRead:"是否已读",operate:"操作"}},inboxMail:{search:{default:"请输入",defaultSelect:"请选择",bloggerName:"红人名称",title:"标题正文",target:"推广计划",tagName:"标签名称",isRead:"已读状态",read:"已读",unRead:"未读",isStar:"星标邮件",sendEmail:"发件邮箱",emailStatus:"邮件状态",all:"所有邮件",starred:"星标",allEmail:"全部邮箱",sysEmail:"系统邮箱",businessEmail:"企业邮箱",isReply:"是否回复邮件",replyTrue:"已回复",replyFalse:"未回复",replayTime:"收件时间",time1:"近三个月内",time2:"近半年",time3:"全部邮件",search:"查询",reset:"重置",refresh:"刷新",delete:"删除",setUnRead:"设为未读邮件",batchReply:"批量回复",noTask:"无推广计划",tip1:"单次回复不得超出50条,请重新选择。",setHasRead:"设为已读邮件"},searchButton:{search:"查 询",reset:"重 置"}},inboxTable:{noTask:"无任务",addTag:"添加标签",delTag:"是否确认删除该邮件标签?",confirm:"确认",cancel:"取消",tip:"提示",cancelTagDel:"已取消删除",successTagDel:"邮件标签删除成功",errorTag:"标签显示错误",delmailWarning:"请至少选择一项",unReadSuccess:"操作成功",delMail:"此操作将永久删除,是否继续",del:"邮件删除成功",collMail:"已收藏",cancelMail:"取消收藏",requestError:"请求异常",deleteTip:"若该邮件为垃圾邮件,可屏蔽该邮箱发来的邮件",delShieldBtn:"删除并屏蔽邮箱"},newMail:{title:"新邮件提醒",content:"您已收到新邮件,快去收件箱看看吧"},inboxDetail:{addTag:"添加标签",addFavorites:"添加至收藏夹",send:"发送",to:"至",me:"我",reply:"回复",mailContent:"邮件正文不能为空",replySuccess:"回复成功",delSuccess:"删除成功",confirmContent:"此操作将永久删除,是否继续",tagError:"标签异常",tip:"提示",mailError:"邮件读取失败",confirm:"确 定",cancel:"取 消",omail:"原始邮件",to:"收件人",subject:"主题",content:"正文",outerBlogger:"库外红人或经纪人",email:"邮箱:",normalReply:"普通回信",reply2:"回信",simpleReply:"快捷回复",plan:"关联推广计划",noPlan:"暂无关联推广计划",coopStatus:"合作状态",coop1:"未合作",coop2:"确认合作",coop3:"已寄样",coop4:"内容制作中",coop5:"待上线",coop6:"合作完成",empty:"暂无",menu1:"红人档案",menu2:"寄样管理",menu3:"合作记录",menu4:"合作金额",menu5:"联盟分销",menu6:"备注",menu7:"举报红人",menu8:"加入黑名单",menu9:"红人详情",menu10:"支付",aiTip1:"AI生成的内容可能存在风险,请审查和确认",open:"展开",close:"收起",like:"赞",unLike:"踩",redo:"重新生成",stop:"停止生成",restPoint:"可用AI点数",aiRule:"点击查看AI点数权益消耗规则",aiContentReply:"AI内容回复",channelId:"频道ID",read:"红人已阅",unRead:"红人未阅",tips1:"请先添加关联推广计划!",tips2:"生成内容超时,请重试!",tip3:"暂无可回复内容!",tips4:"发送成功!",tips5:"操作成功",quickReply:"快捷回信",fullWrite:"切换到完整写信模式",sendNow:"立即发送",keywords:"关键信息",isBuilding:"AI关键信息生成中...",waring1:"以下信息由AI智能分析邮件内容后,提取关键信息生成",info1:"报价",info2:"联系方式",info3:"收货地址",info4:"收款信息",saveInfo:"录入至红人档案",noInfo:"本封邮件未提取到关键信息",aiTips2:"暂无可录入信息",infoSuccess:"录入成功!",planTitle1:"增加关联推广计划",planTitle2:"转移关联推广计划",planTip1:"注意:红人的联系状态、合作状态、绑定的追踪链接、视频等信息会同步关联进目标推广计划里面",planTip2:"注意:红人的联系状态、合作状态、视频等信息会同步的移动进目标推广计划里面",choosePlan:"选择推广计划",planPlace:"请选择推广计划",noPlan2:"当前暂无推广计划",createPlan:"创建推广计划",planTips3:"请选择推广计划",planVal:"推广计划",planMove:"转移",planGL:"关联",success:"成功",coopStatusTitle:"选择合作状态",previousPage:"上一页",nextPage:"下一页"},inboxTagDialog:{title:"标签",tip:"提示",default:"请输入标签",selectTag:"已选标签",collapse:"收起",unfold:"展开",bindTagTip:"请选择该邮件绑定的标签",bindSuccess:"绑定成功",addTagSuccess:"添加标签成功",addTagFail:"标签已存在",tagMaxLen1:"标签长度不能超过六个字符",tagMaxLen2:"标签长度不能超过十二个字符",tagMaxLen:"标签名称不能大于30个字符(15个汉字)",delTagSuccess:"标签删除成功",confirm:"确认",cancel:"取消"},searchButton:{search:"查 询",reset:"重 置"},writeMail:{receiver:"收件人",cc_person:"抄送人",subject:"主题",add_attachment:"添加附件",notice:"注",tip:"附件数量上限为10个,且附件总大小不超过200MB",content:"正文",template_var:"模板变量",channel_name:"频道名",channel_Id:"频道ID",blogger:"红人",name:"名称",fans_num:"粉丝数",channel_link:"频道链接",goback:"返 回",save_draft:"存草稿",delayed_sending:"定时发送",send_now:"立即发送",template:"模板",signature:"签名",product:"产品",task:"任务",creativity:"创意",retract:"收起",other:"另外",person:"人",time_limit:"发送时间不得早于当前时间",save_draft_tip:"是否将编辑内容保存入草稿箱?",save_mail:"是否保存邮件内容?",prompt:"提示",save:"保 存",cancle:"取 消",no_receiver:"收件人为空,不可发送",check_receiver:"请检查收件人邮箱是否正确",check_ccperson:"请检查抄送人邮箱是否正确",no_subject:"请输入邮件主题",subject_limit:"邮件主题不可超过100个字",no_content:"邮件正文不可为空",content_limit:"邮件正文不可超过5000个字",attachment_length_limit:"最多上传10个附件",attachment_size_limit:"附件总大小不能超过200MB",choose_send_time:"选择定时发送时间",will:"本邮件将在北京时间",post_to:"投递到对方邮箱",send:"发 送",choose_time_date:"选择日期时间",cancle_timer:"取消定时发送",change_timer:"修改发送时间",mail_will:"邮件将在",save_tip:"发送。邮件发送前,暂时保存在草稿箱,可随时查看或修改",set_delay_success:"定时发送设置成功",i_know:"我知道了",cancle_delay_tip:"发送。取消定时发送后,该邮件将恢复为普通的草稿邮件",whether_cancle_delay:"是否取消定时发送?",cancle_delay:"取消定时发送",no_cancle:"暂不取消",infoPop:"通常在邮件中使用一下模板变量,能够有效提高工作效率。"},uploadDialog:{title:"上传附件",btnUpload:"请选择文件",tip:"文件总大小上限为200MB且文件数量不能超过10个",tip1:"添加文件总大小剩余",tip2:"且文件剩余数量为",btnOk:"上传",btnClear:"清空",empty:"上传文件不能为空",maxSize:"文件总大小不能超过200M,请重新上传",maxNum:"上传文件数量不能超过10",success:"上传成功",wait:"请等待上传结束",not:"该文件格式不支持"},outboxMail:{blogger_name:"红人名称",title_content:"标题正文",task_name:"任务名称",mail_type:"邮件类型",mail_status:"邮件状态",star_mail:"星标邮件",all_read:"全部已读",all_unread:"全部未读",read:"人已读",no_task:"无任务",no_plan:"无推广计划",normal:"正常",delay:"定时",failed:"发送失败",all_mail:"所有邮件",choose:"请至少选择一项",confirm_del:"确认删除?",success:"操作成功"},draftMail:{draft:"草稿",no_receiver:"收件人未填写",send:"发送",empty:"为空",no_subject:"无主题"},outboxDetail:{back:"返回",me:"我",send_to:"发送至",retract:"收起",more:"展开更多",read:"已阅",unreviewed_resend:"未阅重发",resend_all:"全部重发",show_all:"显示全部",file_num:" 个附件",down_all:"全部下载"},blogMail:{search_mail:"搜索邮件",read:"已读",unread:"未读",receive_mail:"收件",send_mail:"发件"},template:{invite_cooperation:"合作邀请",price_negotiation:"价格协商",contract_template:"合同模板",video_production:"视频制作",expense_settlement:"费用结算",create_template:"创建模板",system_template:"系统模板",custom_template:"自定义模板",new_template:"新建模板",template_title:"模板标题",mail_title:"邮件标题",apply_scene:"应用场景",language:"语言",template_language:"模板语言",set_system_template:"设置系统模板",edit_template:"编辑模板",word_limit:"字以内",title_not_empty:"模板标题不可为空",title_word_limit:"模板标题在30个字以内",subject_not_empty:"邮件标题不可为空",scene_not_empty:"应用场景不可为空",scene_word_limit:"应用场景在20个字以内",language_not_empty:"语系不可为空",no_content:"邮件正文不可为空",choose_type:"选择类型",confirm:"确 定",template_type:"模板类型",set_success:"设置成功"},signature:{create_sign:"新建签名",edite_sign:"编辑签名",sign_not_empty:"签名不可为空",confirm_del:"确认删除该签名?"},product:{no_data:"还没有产品,赶快创建一个吧!",add_product:"添加产品",create_product:"新建产品",upload_picture:"上传产品图片",length_limit:"大小不超过",product_name:"产品名称",en_name:"英文名称",product_type:"产品类型",E_COMMERCE:"电商平台",produce_link:"产品链接",product_price:"产品售价",dollar:"美元",link:"原链接",link_goods:"商品",link_app:"APP推广",link_web:"网站推广",link_amazon:"亚马逊 Amazon",link_aliExpress:"速卖通 AliExpress",link_lazada:"来赞达 Lazada",link_shopee:"虾皮 Shopee",link_independent:"独立站",link_other:"其他",empty_link_name:"产品名称不能为空",limit_link_words:"产品名称不可超过20个字",empty_en_name:"英文名称不能为空",limit_en_words:"英文名称不可超过100个字",false_en_name:"英文名称输入不正确",select_link_type:"请选择产品类型",select_platform:"请选择电商平台",empty_link:"产品链接不能为空",empty_price:"产品售价不能为空",no_img:"没有上传产品图片",create_success:"创建成功",false_link:"产品链接格式错误,请重新输入",re_link_name:"产品名称已经存在,请重新输入",limit_upload:"上传图片大小不能超过5MB"},task:{choose:"选择",blogger_classify:"红人分类",blogger_country:"红人国家",blogger_platform:"红人平台",create_date:"创建日期",no_data:"还没有任务,赶快创建一个吧!"},creativity:{no_data:"收藏过的创意才会出现在这里哦",content:"创意内容",script:"创意脚本",insert:"插入",interaction_rate:"互动率",script_name:"脚本名称",script_classify:"脚本分类",script_num:"脚本编号",collect:"收 藏",cancle_collect:"取消收藏",storyboard:"分镜",suggested_duration:"建议时长",plot_summary:"情节概要",key_point:"要点",case_name:"案例名称",case_classify:"案例分类",playback_volume:"播放量",likes:"点赞量",comments_num:"评论数",content_title:"内容标题",content_validity:"内容简介",video_num:"视频数",channel_createtime:"频道创建时间",blogger_area:"红人地区",blogger_detail:"红人详情",case_detail:"案例详情",no_title:"暂无标题",no_validity:"暂无简介",script_content:"脚本内容",average_play:"平均播放量",total_watch:"总观看量"},common:{please_select:"请选择",please_input:"请输入",no_data:"暂无数据",confirm:"确定",cancle:"取消",delete:"删除",apply:"应用",detail:"详情",download:"下载",update_on:"更新于",second:"秒",minute:"分"},productForm:{product_selection_form:"选品表单",creation_time:"创建时间",selection_form_name:"选品表单名称",number_of_product_cards:"商品卡数量",viewing_frequency:"查看次数",update_time:"更新时间",operation:"操作",cancel:"取 消",confirm:"确 认",see:"查看"},productCard:{product_card:"商品卡",example:"示例",add_product_card:"添加商品卡"},newProduct:{product:"产品",product_name:"产品名称",please_enter:"请输入",please_enter_num:"请输入数字",productName:"产品名称",productId:"产品ID",productRemark:"产品备注",query:"查 询",reset:"重 置",details:"详情",shopifyProduct:"独立站产品",product_remarks:"产品备注",product_en:"英文名称",channel:"渠道",product_details:"产品详情",view_cards_times:"商品卡查看次数",basic_information:"基础信息",name:"名称",chinese:"中文",english:"英文",remarks:"备注",picture:"图片",category:"类别",describe:"描述",source:"来源",sales_information:"销售信息",price:"售价",sku_description:"SKU说明",shippable_regions:"可发货地区",search_keywords:"搜索关键词",Main_image:"主图",Manual_addition:"手动添加",Shopify_import:"Shopify导入",TikTok_import:"TikTok导入",Cancel:"取 消",preservation:"保 存"},setMail:{Sending_settings:"发件设置",Current_settings:"当前设置",mailbox_system:"系统邮箱",unbind:"解绑",tip1:"您确定要解除邮箱{currentUnbindEmail}与WotoHub的绑定关系么?解除绑定后,您将无法再使用{currentUnbindEmail}邮箱代收发的相关功能,并且需要重新进行授权才能使用。取消授权需要在Gmail邮箱中进行设置。",guide:"点击查看操作指引",cancle:"取消",confirm_unbinding:"确定解绑",no_bind_mail:"暂无绑定邮箱",bind:"绑定",tip2:"请先保存已编写的邮件内容,授权时将会刷新写信页面",tip3:"授权前请先保证VPN已开启",tip4:"请输入要绑定的Gmail邮箱",auth:"授权",tip5:"Gmail限制每小时20封外发电子邮件",confirm:"确定",auth_success:"Gmail授权成功",auth_failed:"Gmail授权失败",tip6:"请先绑定Gmail邮箱",tip7:"设置系统邮箱成功",tip8:"设置GMAIL邮箱成功",tip9:"请先输入Gmail邮箱",tip10:"请输入正确格式的邮箱格式",tip11:"设置企业邮箱成功"},deliveryTime:{Delivery_time:"发件时间",three_months:"近三个月内",past_six_months:"近半年",all_emails:"全部邮件",no_promotion_plan:"无推广计划",Channel_ID:"频道ID",tips:"为了确保您的邮件能够高效准确地送达至红人,我们限制了群发邮件的数量最大为500封,因此本次发送只限前500位未阅红人。",know:"我知道了",tip:"提示"},checkMail:{filtering:"过滤中",filter_completed:"过滤完成",tip1_1:"所有收件人在30天内均为首次触达,将在",tip1_2:"后自动进行到下一步",tip2:"有效发件人:为了保障邮箱健康度,平台会自动过滤掉当天有过重复标题发送的红人",tip3_1:"检测发现",tip3_2:"个有效收件人中,其中",tip3_3:"位红人30天内邮件联系过,请问是否要过滤这些红人,避免重复触达",variable_replacement:"变量替换",tip4:"推荐在邮件标题和正文中使用变量,以提升邮件打开率",tip5:"邮件检测中,检测完成后,将会自动进入下一步创建邮件",tip6_1:"邮件已完成质量检测,将会在",tip6_2:"内自动创建邮件",continue_sending_emails:"继续发件",optimize_emails:"优化邮件",email_created_successfully:"邮件创建成功",tip7_1:"后续请密切关注收件情况.将在",tip7_2:"后跳转发件箱",jump_immediately:"立即跳转",creation_failed:"创建失败",tip8_1:"收件人为空,邮件创建失败。将在",tip8_2:"后自动关闭",close:"关闭",filter_duplicate_touchpoints:"过滤重复触达",filter_contacted_influencers:"过滤已联系红人",email_quality_inspection:"邮件质量检测",create_email:"创建邮件",tip9:"超过当日邮件发送限额",tip10_1:"为保障邮箱健康,每日邮件发送上限为{value}封。今日剩余发送数",tip10_2:"封。您可以",tip11:"将邮件暂存至草稿箱",tip12:"设置次日的定时发送",know:"我知道了",send_notice:"发件需知",tip13:"了解更多邮件优化技巧,请咨询客服人员。",tip14:"14天内不再提示",tip15:"为保障邮箱健康度,主子账号合计单日发送数存在上限。",tip16:"标题和正文中使用变量,有助于提升邮件打开率。",tip17:"模版变量推荐用法",tip18:"邮件标题和正文中使用变量,可增加群发内容的丰富度,有效提升邮件的送达率和打开率",messageTip1:"邮箱解锁已达上限!请联系服务人员以获得更多额度。"},edm2:{mailEn1:"单轮邀约",mailEn2:"多轮邀约",mailEn3:"回复发件",mailEn4:"筛选",mailEn5:"写信",mailEn6:"邮件主题",mailEn7:"邮件正文",mailEn8:"选择日期",mailEn9:"送达率",mailEn10:"打开率",mailEn11:"回复率",mailEn12:"发送时间",mailEn13:"邮件内容",mailEn14:"邮件",mailEn15:"附件",mailEn16:"红人列表",mailEn17:"国家",mailEn18:"平台",mailEn19:"是否回复",mailEn20:"隐藏AI自动邀约邮件",mailEn21:"否",mailEn22:"是",mailEn23:"收件人列表",mailEn24:"添加收件人",mailEn25:"下一步",mailEn26:"添加来源",mailEn27:"移除收件人",mailEn28:"取消移除",mailEn29:"收件人列表中尚有未确认的重复红人。为了避免重复触达,系统将自动过滤,不会给他们发信。确认继续吗?",mailEn30:"您勾选了重复红人,只会给已勾选的重复红人发信",mailEn31:"重复收件人",mailEn32:"您添加的收件人存在重复, 为避免浪费邮件资源,请再次确认"},edm5:{v1:"刷新",v2:"删除",v3:"请选择已读邮件",v4:"发件邮箱:",v5:"请使用原邮箱回信",v6:"AI邮件总结",v7:"提取关键信息",v8:"提取报价、联系方式、收货地址、收款信息",v9:"AI回信",v10:"操作成功",v11:"生成内容超时,请重试!",v12:"AI生成的内容可能存在风险,请审查和确认",v13:"回信策略",v14:"请输入您的回复要求",v15:"回信策略生成中",v16:"没有帮助?试试其他",v17:"可用AI点数:",v18:"点击查看AI点数权益消耗规则",v19:"取 消",v20:"生 成",v21:"英文",v22:"友好的",v23:"一",v24:"二",v25:"三",v26:"四",v27:"五",v28:"六",v29:"请输入您要回复的主题",v30:"AI生成的回信内容(中文)",v31:"AI生成的回信内容({ value })",v32:"赞",v33:"踩",v34:"重新生成",v35:"停止生成",v36:"确 定",v37:"收款人:",v38:"卡号:",v39:"银行:",v40:"送达率、打开率、回复率数据,会在每日0点和12点进行更新及校对",v41:"频道ID:",v42:"红人",v43:"请输入红人名搜索",v44:"重置",v45:"确定",v46:"未读",v47:"已读",v48:"是",v49:"否",v50:"邮件状态",v51:"预计发送时间",v52:"草稿",v53:"待发送",v54:"发送失败",v55:"邮件内容",v56:"附件",v57:"可设置多个邮件模版,发送时轮流发送",v58:"增加/删除收件人",v59:"邮件",v60:"添加邮件内容",v61:"发件人昵称",v62:"立即发送",v63:"发送",v64:"定时发送",v65:"生成邮件",v66:"优化内容",v67:"仿写邮件",v68:"翻译",v69:"AI邮件",v70:"邮件模版",v71:"内容变量",v72:"模板",v73:"签名",v74:"产品",v75:"选品表单",v76:"关闭提示",v77:"收件人和邮件都为空,保存草稿失败",v78:"确定要删除该内容吗?删除后无法恢复",v79:"提示",v80:"写信内容为空,暂无法操作!",v81:"编辑失败,请重试!",v82:"AI生成邮件",v83:"根据选定产品和合作要求,AI即时定制专业邮件内容",v84:"第一步:",v85:"选择产品",v86:"已选择",v87:"产品",v88:"第二步:",v89:"填写合作要求",v90:"生成",v91:"填写合作要求",v92:"*分享更多细节给AI,让您的邀约邮件更加精彩",v93:"邮件落款",v94:"产品或品牌优势",v95:"请输入",v96:"是否免费寄送样品",v97:"是否提供基础报酬",v98:"请选择",v99:"红人佣金",v100:"视频风格",v101:"视频时长",v102:"秒",v103:"请输入内容后点击回车添加",v104:"其他要求",v105:"生成语言:",v106:"为了AI更好的解析,请使用目标语言填写",v107:"产品信息",v108:"产品名称:",v109:"英文名称:",v110:"渠道:",v111:"产品链接:",v112:"可发货地区:",v113:"描述:",v114:"合作要求",v115:"产品或品牌优势:",v116:"合作方式:",v117:"视频风格:",v118:"视频时长:",v119:"其他要求:",v120:"正在使用 DeepSeek 为您生成邮件",v121:"主题:",v122:"内容:",v123:"暂未添加任何邮件",v124:"应 用",v125:"免费提供样品",v126:"不免费提供样品",v127:"有基础报酬",v128:"没有基础报酬",v129:"场景植入",v130:"反差对比",v131:"体验分享",v132:"直接展示",v133:"开箱测评",v134:"邮件落款不能为空!",v135:"至少完善其中一个步骤!",v136:"暂无可应用的邮件!",v137:"企业邮箱配置指南",v138:"想通过企业邮箱来邀约网红,可以授权给第三方客户端(例如WotoHub平台)登录企业邮箱来发送邮件。授权只用于调用企业邮箱的发送邮件功能,本质上群发的邮件还是通过用户的企业邮箱发出,因此会受限于企业邮箱的收发件规则。",v139:"授权方法",v140:"1.在邮件编辑页面点击进入【发件设置】去绑定第三方邮箱",v141:"2.选择【绑定新邮箱】后选择邮箱类型(Gmail邮箱或企业邮箱)",v142:"3.选择Gmail邮箱后去授权绑定,选择企业邮箱后填写相关字段",v143:"备注:目前使用QQ邮箱、腾讯企业邮箱时需要【授权码】登录,获取方法详见下方【SMTP配置帮助文档】。",v144:"Gmail邮箱授权",v145:"Gmail邮箱授权绑定时请保证VPN已开启,授权时请手动勾选前两个权益(不是全选)。",v146:"若您不小心勾选全部导致授权一直不成功,请在Gmail账号设置中【安全性】清除对WotoKOL的授权,重新绑定即可。",v147:"第一步:进入账号管理",v148:"第二步:进入安全性页面,在 您与第三方应用和服务的关联 中找到WotoKOL",v149:"第三步:撤销所有关联即可,完成后请在WotoHub重新进行邮箱绑定操作。",v150:"SMTP配置帮助文档",v151:"不同的企业邮箱如何开启、配置SMTP服务器以及获取授权码,方法可参考用户所使用的邮件服务商的帮助文档。以下整理了部分常用的企业邮箱的帮助文档,在高级选项默认配置下无法授权成功时,请按相关文档检查配置并验证,如需要帮助可以联系客成人员。",v152:"邮箱",v153:"SMTP服务器",v154:"是否需要授权码登录",v155:"帮助文档",v156:"平台封控规则",v157:"查看详情",v158:"邮件验证失败的常见原因及解决方法",v159:"1.该邮箱已被绑定",v160:"每个邮箱仅能绑定一个账号,系统发现您填写的邮箱已被其他账号绑定占用,请您重新输入合适的邮箱。",v161:"2.填写信息有误,请再次确认所填写的内容",v162:"请检查邮箱账号和密码是否正确,部分企业邮箱需要【授权码】登录请检查授权码是否正确。",v163:"特殊情况如阿里企业邮箱,请确保【三方客户端安全密码】已关闭,如下图:",v164:"3.邮箱地址无效",v165:"您所提供的邮箱地址存在格式错误、该邮箱不存在或者邮箱地址不在平台支持的企业邮箱范围内等问题,导致无法正常使用该邮箱进行通信或相关操作,请您核对后重新填写正确信息。",v166:"4.授权失败,请查看配置说明",v167:"存在您授权Gmail邮箱时,权益勾选错误,请您查看上方Gmail邮箱授权注意事项,按操作重新尝试即可。",v168:"阿里企业邮箱",v169:"1.群发邮件限制300封",v170:"2.分别发送收件人限制100封",v171:"腾讯企业邮箱",v172:"开启STMP服务",v173:"阿里企业邮箱配置到第三方客户端",v174:"开启POP/SMTP/IMAP功能",v175:"获取客户端专用密码",v176:"1.30用户以下的企业日发信量限制是不超过1500封;",v177:"2.30用户以上的企业日发信量为用户数*50封/天;",v178:"3.对有过邮件来往的成员账号不限发信量的限制。",v179:"QQ邮箱",v180:"配置QQ邮箱授权码",v181:"如果您是正常发送邮件的,则没有最大发信量的限制,如果您发送的邮件内容属于广告邮件或垃圾邮件,则会受到限制,这个是系统判定的,建议您不要发送此类邮件。",v182:"outlook邮箱",v183:"配置文档",v184:"了解Outlook SMTP设置界面:",v185:"Outlook SMTP设置界面",v186:"1.每日收件人:5,000",v187:"2.每封邮件的最大收件人数:500",v188:"3.每日非关系收件人:1,000",v189:"发件须知",v190:"1.为保障邮箱健康度,主子账号合计单日发送上限为{value}封",v191:"2.非系统邮箱发送邮件时,将同步消耗邮箱解锁配额",v192:"非系统邮箱发送邮件时,将同步消耗邮箱解锁配额",v193:"默认",v194:"设为默认",v195:"解绑",v196:"绑定新邮箱",v197:"邮箱类型",v198:"配置说明",v199:"请输入要绑定的Gmail邮箱",v200:"请先保存已编写的邮件内容,授权时将会刷新写信页面",v201:"授权前请先保证VPN已开启",v202:"Gmail限制每小时20封外发电子邮件",v203:"请输入要绑定的Outlook邮箱",v204:"邮箱地址",v205:"邮箱密码/授权密码",v206:"SMTP发件",v207:"请输入域名",v208:"不加密",v209:"请输入端口",v210:"IMAP收件",v211:"该邮箱有待发送的邮件,如果您现在解绑,这些邮件将会发送失败,请确认是否继续?",v212:"您确定要解除{currentUnbindEmail}与WotoHub的绑定关系吗?解除绑定后,您将无法再使用{currentUnbindEmail}邮箱代收发的相关功能,并且需要重新进行授权才能使用。",v213:"请选择企业邮箱服务商",v214:"请输入邮箱地址",v215:"请输入正确的邮箱地址",v216:"请输入邮箱密码/授权密码",v217:"请输入域名",v218:"请输入端口",v219:"发件箱选择",v220:"Outlook个人邮箱",v221:"设置默认邮箱成功",v222:"绑定成功",v223:"使用该邮箱发件时,将自动解锁红人邮箱,这将消耗您的解锁邮箱权益数,请确认是否继续。",v224:"温馨提醒",v225:"继续",v226:"取消",v227:"设置成功",v228:"Gmail邮箱已绑定,目前系统仅支持绑定一个Gmail邮箱,如需更换,请先解绑当前邮箱。",v229:"请输入Outlook邮箱",v230:"OutLook授权成功",v231:"解绑成功",v232:"邮件通道测试正常",v233:"端口号格式不正确",v234:"域名格式不正确",v235:"注:附件数量上限为10个,且附件总大小不超过200MB",v236:"添加附件",v237:"AI优化内容",v238:"内容变量",v239:"红人名",v240:"目标语言",v241:"翻译",v242:"语气",v243:"生成",v244:"原文",v245:"邮件模版",v246:"*套用模版将会覆盖当前邮件内容",v247:"为了确保您的邮件能够高效准确地送达到红人的邮箱中,我们限制了群发邮件的数量最大为500封。希望您能够合理利用邮件资源,以便更好地与博主进行沟通。",v248:"我知道了",v249:"已自动为您过滤无邮箱红人。",v250:"取消操作",v251:"选中红人暂未公开联系方式,无法直接发送邮件",v252:"发件人昵称",v253:"通过设置个性化的发件人昵称,您的昵称将直接展示在红人的收件箱中。有助于树立更亲近、更专业的品牌形象。",v254:"发件人昵称不能为空!",v255:"签名",v256:"搜索签名",v257:"新建签名",v258:"详情",v259:"更新时间:",v260:"删除",v261:"应用",v262:"正文:",v263:"已选中",v264:"项",v265:"优化拼写与语法",v266:"缩短内容",v267:"扩充内容",v268:"优化结构",v269:"改变语气",v270:"请选择未读邮件"}};var hu=du;qn().use(ou);const pu={en:{...uu,...au.A},zh:{...hu,...su["default"]}},fu=new ou({locale:Wi.get("language")||"zh",messages:pu,silentTranslationWarn:!0});lu["default"].i18n(((e,t)=>fu.t(e,t)));var mu=fu;const gu=[{icon:"icon-caidan-kehudangan",name:mu.t("inboxDetail.menu1"),key:"blogger",activeName:"1"},{icon:"icon-wuliu",name:mu.t("inboxDetail.menu2"),key:"logistics",activeName:"3"},{icon:"icon-fenxiao",name:mu.t("inboxDetail.menu5"),key:"unit",activeName:"5"},{icon:"icon-hezuoneirong",name:mu.t("inboxDetail.menu3"),key:"content",activeName:"6"}],vu=[{coopStatus:mu.t("inboxDetail.coop1"),ccode:0},{coopStatus:mu.t("inboxDetail.coop2"),ccode:1},{coopStatus:mu.t("inboxDetail.coop3"),ccode:6},{coopStatus:mu.t("inboxDetail.coop4"),ccode:2},{coopStatus:mu.t("inboxDetail.coop5"),ccode:3},{coopStatus:mu.t("inboxDetail.coop6"),ccode:4}];var yu=function(){var e=this,t=e._self._c;return t("div",[t("el-tooltip",{attrs:{"popper-class":"wt-email-tooltip",placement:"top"}},[t("div",{staticClass:"wt-email-tooltip-content",attrs:{slot:"content"},slot:"content"},[e._v(e._s(e.content))]),t("i",{staticClass:"dss-iconfont icon-bangzhushuomingbeifen",staticStyle:{"font-size":"14px",color:"#a9a9a9",cursor:"pointer"},on:{click:e.handleEvent}})]),e.aiRuleVisible?t("AiRuleDialog",{attrs:{visible:e.aiRuleVisible},on:{"update:visible":function(t){e.aiRuleVisible=t}}}):e._e()],1)},bu=[],wu=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{title:"",visible:e.visible,width:"600px","append-to-body":"","custom-class":"ai-rule-setting-dialog"},on:{close:e.close}},[t("i",{staticClass:"closeIcon dss-iconfont icon-close",on:{click:e.close}}),t("div",{staticClass:"title"},[e._v("AI点数权益消耗规则")]),t("div",{staticClass:"content2"},[t("el-table",{staticClass:"ai-point-table",staticStyle:{width:"100%"},attrs:{border:"",data:e.tableData}},[t("el-table-column",{attrs:{align:"center",prop:"name",label:"功能项"}}),t("el-table-column",{attrs:{align:"center",prop:"value",label:"消耗点数"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("div",{staticClass:"point"},[t("span",{staticClass:"num"},[e._v(e._s(n.row.point))]),t("span",{staticClass:"unit"},[e._v(e._s(n.row.unit))])])]}}])})],1)],1)])},_u=[],Cu={props:{visible:{type:Boolean,default:!1}},components:{},data(){return{tableData:[{name:this.$t("edm5.v82"),unit:"/每次操作",point:1},{name:"内容优化",unit:"/每次操作",point:1},{name:"仿写邮件",unit:"/每次操作",point:1},{name:"翻译",unit:"/每次操作",point:1},{name:"AI总结邮件内容",unit:"/每封邮件",point:1},{name:"AI回信",unit:"/每封邮件",point:1},{name:this.$t("edm5.v34"),unit:"/每封邮件",point:1}]}},created(){},methods:{close(){this.$emit("update:visible",!1)}}},xu=Cu,Su=Ba(xu,wu,_u,!1,null,"f55f06f4",null),ku=Su.exports,Eu={props:["content","isShowRule"],components:{AiRuleDialog:ku},data(){return{aiRuleVisible:!1}},methods:{handleEvent(){this.isShowRule&&(this.aiRuleVisible=!0)}}},Au=Eu,Du=Ba(Au,yu,bu,!1,null,null,null),Ou=Du.exports,Tu=function(){var e=this,t=e._self._c;return t("div",{staticClass:"email-box-main",domProps:{innerHTML:e._s(e.filterBaseTag(e.content))}})},Iu=[],Pu={props:["content"],methods:{filterBaseTag(e){return e&&(e=e.replace("https://pixel.xin/emailControl.php?mid=","").replace("https://pixel.xin/hub.gif?mid=","").replace(new RegExp("unsubscribe","g"),"").replace(/\r\n/g,"<br />").replace(/ツ?/g,"").replace(/<base.*?(?:>|\/>)/gi,"").replace(/&gt; &gt;/g,"<br /><br />")),e}}},Fu=Pu,Mu=Ba(Fu,Tu,Iu,!1,null,"5fe8cdd4",null),Bu=Mu.exports,Nu=function(){var e=this,t=e._self._c;return t("div",{staticClass:"simple-replay"},[t("div",{staticClass:"header"},[t("span",{staticClass:"title"},[e._v(e._s(e.$t("inboxDetail.quickReply")))]),t("span",{staticClass:"right"},[t("el-tooltip",{attrs:{placement:"top","popper-class":"wt-tooltip"}},[t("i",{staticClass:"dss-iconfont icon-zuidahua",on:{click:e.toFullWrite}}),t("div",{staticStyle:{color:"#333"},attrs:{slot:"content"},slot:"content"},[e._v(" "+e._s(e.$t("inboxDetail.fullWrite"))+" ")])]),t("i",{staticClass:"el-icon-close",on:{click:e.drawerClose}})],1)]),t("div",{staticClass:"txt-content"},[t("el-input",{staticClass:"ai-simple-textarea",staticStyle:{"font-size":"16px"},attrs:{type:"textarea",rows:15,placeholder:"",resize:"none"},model:{value:e.content,callback:function(t){e.content=t},expression:"content"}}),t("el-popover",{attrs:{placement:"left-end",width:"300",trigger:"click","popper-class":"emoji-popover"},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[t("i",{staticClass:"dss-iconfont icon-xiaolian emoji-icon",attrs:{slot:"reference"},slot:"reference"}),t("div",{staticClass:"emoji-box"},e._l(e.allEmoji,(function(n,i){return t("span",{key:i,staticClass:"box-item",on:{click:function(t){return e.chooseEmoji(n)}}},[e._v(e._s(n))])})),0)])],1),t("div",{staticClass:"footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{size:"small"},on:{click:e.drawerClose}},[e._v(e._s(e.$t("inboxDetail.cancel")))]),t("el-button",{attrs:{loading:e.loading,size:"small",type:"primary"},on:{click:e.sendMessage}},[e._v(e._s(e.$t("inboxDetail.sendNow")))])],1)])},Ru=[],$u={props:{visible:{type:Boolean,default:!1},maxId:{type:[String,Number],default:""}},data(){return{content:"",show:!1,allEmoji:["😀","😁","😂","😃","😄","😅","😆","😉","😊","😋","😎","😍","😘","😗","😙","😚","😇","😐","😑","😶","😏","😣","😥","😮","😯","😪","😫","😴","😌","😛","😜","😝","😒","😓","😔","😕","😲","😷","😖","😞","😟","😤","😢","😭","😦","😧","😨","😬","😰","😱","😳","😵","😡","😠","💘","❤","💓","💔","💕","💖","💗","💙","💚","💛","💜","💝","💞","💟","❣","💪","👈","👉","☝","👆","👇","✌","✋","👌","👍","👎","✊","👊","👋","👏","👐","✍","🍇","🍈","🍉","🍊","🍋","🍌","🍍","🍎","🍏","🍐","🍑","🍒","🍓","🍅","🍆","🌽","🍄","🌰","🍞","🍖","🍗","🍔","🍟","🍕","🍳","🍲","🍱","🍘","🍙","🍚","🍛","🍜","🍝","🍠","🍢","🍣","🍤","🍥","🍡","🍦","🍧","🍨","🍩","🍪","🎂","🍰","🍫","🍬","🍭","🍮","🍯","🍼","☕","🍵","🍶","🍷","🍸","🍹","🍺","🍻","🍴","🌹","🍀","🍎","💰","📱","🌙","🍁","🍂","🍃","🌷","💎","🔪","🔫","🏀","⚽","⚡","👄","👍","🔥","🙈","🙉","🙊","🐵","🐒","🐶","🐕","🐩","🐺","🐱","😺","😸","😹","😻","😼","😽","🙀","😿","😾","🐈","🐯","🐅","🐆","🐴","🐎","🐮","🐂","🐃","🐄","🐷","🐖","🐗","🐽","🐏","🐑","🐐","🐪","🐫","🐘","🐭","🐁","🐀","🐹","🐰","🐇","🐻","🐨","🐼","🐾","🐔","🐓","🐣","🐤","🐥","🐦","🐧","🐸","🐊","🐢","🐍","🐲","🐉","🐳","🐋","🐬","🐟","🐠","🐡","🐙","🐚","🐌","🐛","🐜","🐝","🐞","🦋","😈","👿","👹","👺","💀","☠","👻","👽","👾","💣","0️⃣","1️⃣","2️⃣","3️⃣","4️⃣","5️⃣","6️⃣","7️⃣","8️⃣","9️⃣","🔟","➡️","⬅️","⬆️","⬇️","↗️","↘️","↙️","↖️","↕️","↔️","🔴","🟣","🔵","🟢","🟡","🟠","⚫","⚪️","🟤"],loading:!1,timer:null}},methods:{drawerClose(){this.$emit("close")},chooseEmoji(e){this.content=this.content+e,this.show=!1},toFullWrite(){this.$emit("fullWrite",this.content),this.drawerClose(),this.content=""},sendMessage(){if(!this.content)return this.$message.error("请输入回信内容!");let e={replyIds:[this.maxId],content:`<p>${this.content.replace(/\n/g,"<br>")}</p>`,sendEntryKey:"quickReply"};this.loading=!0,ns(e).then((e=>{"0"===e.code?(this.$message.success("发送成功!"),this.timer&&clearTimeout(this.timer),this.timer=setTimeout((()=>{this.$emit("refresh"),this.drawerClose()}),500)):this.$message.error(e.message)})).finally((()=>{this.loading=!1}))},addEmoji(e){console.log(e)}}},ju=$u,Lu=Ba(ju,Nu,Ru,!1,null,"582e18f7",null),zu=Lu.exports,Vu=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{title:e.$t("inboxDetail.keywords"),visible:e.visible,width:"480px","append-to-body":"","custom-class":"email-intention-dialog"},on:{close:e.close}},[t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.isReplayIng,expression:"isReplayIng"}],attrs:{"element-loading-customclass":"ai-intention-loading","element-loading-text":e.$t("inboxDetail.isBuilding")}},[e.noKeyInformation?[t("div",{staticClass:"no-icon"},[t("i",{staticClass:"dss-iconfont icon-no-keyInformation"})]),t("div",{staticClass:"no-tips"},[e._v(e._s(e.$t("inboxDetail.noInfo")))])]:[t("div",{staticClass:"tip"},[e._v(e._s(e.$t("inboxDetail.waring1")))]),t("div",{staticClass:"info"},[t("div",{staticClass:"item"},[e._v(" "+e._s(e.$t("inboxDetail.info1"))+":"+e._s(e.detail.monetaryUnit)+e._s(e.detail.quoteNumber)+" ")]),t("div",{staticClass:"item"},[e._v(" "+e._s(e.$t("inboxDetail.info2"))+":"+e._s(e.detail.phoneNumber)+" ")]),t("div",{staticClass:"item"},[e._v(" "+e._s(e.$t("inboxDetail.info3"))+":"+e._s(e.detail.shippingAddress)+" ")]),t("div",{staticClass:"item"},[e._v(" "+e._s(e.$t("inboxDetail.info4"))+":"+e._s(e.detail.billingMessage)+" ")])]),t("div",{staticClass:"bottom"},[t("span",{staticClass:"sub-tip"},[e._v(e._s(e.$t("inboxDetail.aiTip1")))])])]],2)])},Hu=[],Uu={props:{visible:{type:Boolean,default:!1},id:{type:String,default:""},bloggerId:{type:String,default:""},maxId:{type:[String,Number],default:""},currentMail:{type:Object,default:()=>{}}},data(){return{btnLoading:!1,detail:{quoteNumber:"-",monetaryUnit:"",phoneNumber:"-",shippingAddress:"-",billingMessage:"-"},isReplayIng:!1,ReplayTimer:null,counter:0}},computed:{noKeyInformation(){return!this.detail||0===Object.keys(this.detail).length||!this.detail.quoteNumber&&!this.detail.phoneNumber&&!this.detail.shippingAddress&&!this.detail.billingMessage}},created(){this.initProgress()},methods:{close(){this.stopReplaySetInterval(),this.$emit("update:visible",!1)},async initProgress(){try{this.isReplayIng=!0;const e=await us(this.currentMail.id);if("0"==e.code){if(null===e.data?.isComplete)this.setEmailIntentionExtract();else if(!1===e.data?.isComplete)this.getInformationProgress();else if(!0===e.data?.isComplete){this.isReplayIng=!1;const t=e.data?.keyInformation||{};let n=[];t.payeeName&&n.push(`${this.$t("edm5.v37")}${t.payeeName}`),t.PayPal&&n.push(`PayPal:${t.PayPal}`),t.bankCardNumber&&n.push(`${this.$t("edm5.v38")}${t.bankCardNumber}`),t.bankName&&n.push(`${this.$t("edm5.v39")}${t.bankName}`),t.billingMessage=n.join("、"),this.detail=t}}else this.isReplayIng=!1,this.stopReplaySetInterval(),this.$message.error(e.message)}catch(Rl){console.log(Rl),this.isReplayIng=!1}},async setEmailIntentionExtract(){try{const e=await ds(this.currentMail.id);"0"===e.code?this.getInformationProgress():(this.isReplayIng=!1,this.stopReplaySetInterval(),this.detail={quoteNumber:"",monetaryUnit:"",phoneNumber:"",shippingAddress:"",billingMessage:""},this.$message.error(e.message))}catch(Rl){console.log(Rl)}},getInformationProgress(){this.isReplayIng=!0,this.stopReplaySetInterval(),this.ReplayTimer=setInterval((async()=>{this.counter+=1;const e=await this.getAiKeyInformation();e&&(this.$emit("refreshPoint"),this.isReplayIng=!1,this.stopReplaySetInterval()),this.counter>=60&&(this.isReplayIng=!1,this.stopReplaySetInterval(),this.$message.error(this.$t("inboxDetail.tips2")))}),2e3)},stopReplaySetInterval(){this.ReplayTimer&&(clearInterval(this.ReplayTimer),this.ReplayTimer=null)},async getAiKeyInformation(){try{const e=await us(this.currentMail.id);if("0"==e.code){if(e.data?.isComplete){const t=e.data?.keyInformation||{};let n=[];t.payeeName&&n.push(`收款人:${t.payeeName}`),t.PayPal&&n.push(`PayPal:${t.PayPal}`),t.bankCardNumber&&n.push(`卡号:${t.bankCardNumber}`),t.bankName&&n.push(`银行:${t.bankName}`),t.billingMessage=n.join("、"),this.detail=t}return e.data?.isComplete}return this.isReplayIng=!1,this.$message.error(e.message),!0}catch(Rl){return console.log(Rl),this.isReplayIng=!1,!0}},async addBloggerInfo(){const{quoteNumber:e,monetaryUnit:t,phoneNumber:n,shippingAddress:i,billingMessage:r}=this.detail;if(!e&&!n&&!i&&!r)return this.$message.error(this.$t("inboxDetail.aiTips2"));try{this.btnLoading=!0;const o=await ps({bloggerId:this.bloggerId,quote:e,contactWay:n,contactAddr:i,proceedsMsg:r,monetaryUnit:t});"0"===o.code?(this.close(),this.$message.success(this.$t("inboxDetail.infoSuccess"))):this.$message.error(o.message)}catch(Rl){console.log(Rl)}finally{this.btnLoading=!1}}}},Wu=Uu,qu=Ba(Wu,Vu,Hu,!1,null,"bddd0426",null),Yu=qu.exports,Gu=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{title:e.isHasPlan?e.$t("inboxDetail.planTitle2"):e.$t("inboxDetail.planTitle1"),visible:e.visible,width:"480px","append-to-body":"","custom-class":"email-plan-dialog"},on:{close:e.close}},[t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}]},[e.isHasPlan?t("div",{staticClass:"tips"},[e._v(" "+e._s(e.$t("inboxDetail.planTip2"))+" ")]):t("div",{staticClass:"tips"},[e._v(" "+e._s(e.$t("inboxDetail.planTip1"))+" ")]),e.planOpts.length>0?t("div",{staticClass:"label"},[e._v(" "+e._s(e.$t("inboxDetail.choosePlan"))+" ")]):e._e(),t("div",{staticClass:"plan-box"},[0!==e.planOpts.length?[t("div",[t("el-select",{staticStyle:{width:"100%"},attrs:{"popper-class":"edm-select-popper",placeholder:e.$t("inboxDetail.planPlace"),clearable:""},model:{value:e.planId,callback:function(t){e.planId=t},expression:"planId"}},e._l(e.planOpts,(function(n,i){return t("el-option",{key:i,attrs:{label:n.name,value:n.planId,disabled:1===n.isAdd}},[t("span",{staticStyle:{float:"left"}},[e._v(e._s(n.name))]),1===n.isAdd?t("span",{staticStyle:{float:"right"}},[t("i",{staticClass:"el-icon-check"})]):e._e()])})),1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:e.close}},[e._v(e._s(e.$t("inboxDetail.cancel")))]),t("el-button",{attrs:{type:"primary"},on:{click:e.confirmPlan}},[e._v(e._s(e.$t("inboxDetail.confirm")))])],1)]:[t("div",{staticClass:"no-datas"},[t("div",{staticClass:"no-data"},[e._v(e._s(e.$t("inboxDetail.noPlan2")))]),t("div",{staticClass:"create-btn",on:{click:e.goPlan}},[t("span",[e._v(e._s(e.$t("inboxDetail.createPlan")))]),t("i",{staticClass:"el-icon-right"})])])]],2)])])},Ku=[];function Xu(e){return wa("/edm/outboxV2/pageOutboxSingle",e)}function Zu(e){return wa("/edm/outboxV2/starOutbox",e)}function Ju(e){return wa("/edm/outboxV2/pageReply",e)}async function Qu(e){let t=await ba("/edm/outboxV2/delOutbox",e);return t}function ed(e){return wa("/edm/outboxV2/outboxV2Detail",e)}function td(e){return wa("/edm/outboxV2/outboxBloggerPage",e)}function nd(e){return wa("/edm/outboxV2/refreshOutboxCrm",e)}function id(e){return wa("/edm/outboxV2/comeGoBloggerPage",e)}function rd(e){return va(`/edm/outbox/withdraw/groupId/${e}`)}var od={props:{visible:{type:Boolean,default:!1},upbEsId:{type:String,default:""},planIdRel:{type:String,default:""},platform:{type:String,default:""},maxId:{type:[String,Number],default:""},bloggerId:{type:String,default:""},pageSource:{type:String,default:""},rowData:{type:Object,default:()=>({})},detailData:{type:Object,default:()=>({})}},data(){return{planId:"",planOpts:[],loading:!1}},computed:{isHasPlan(){return this.planIdRel&&"-1"!==this.planIdRel}},created(){this.planIdRel&&"-1"!==this.planIdRel&&(this.planId=Number(this.planIdRel)),this.getPlanList()},methods:{close(){console.log("okkk"),this.$emit("update:visible",!1)},getPlanList(){this.loading=!0,is({blogId:""}).then((e=>{"0"===e.code?this.planOpts=e.data:this.$message({type:"error",message:e.message,customClass:"custom-message"})})).finally((()=>{this.loading=!1}))},confirmPlan(){if(console.log(this.planOpts),""!==this.planId)if("outboxDetail"!==this.pageSource){const e=this.isHasPlan?gs:ks,t=this.isHasPlan?{ids:[this.upbEsId],planId:this.planId}:{planId:this.planId,blogList:[{blogId:this.bloggerId,platform:this.platform}],contactStatus:1,inviteStatus:1,replyUserId:this.detailData.userId};e(t).then((e=>{if(e&&"0"===e.code){this.$message({type:"success",message:`${this.$t("inboxDetail.planVal")}${this.isHasPlan?this.$t("inboxDetail.planMove"):this.$t("inboxDetail.planGL")}${this.$t("inboxDetail.success")}`});const e=this.planOpts.find((e=>e.planId===this.planId))?.name;vs({maxId:this.maxId,planId:this.planId,planName:e}).then((t=>{t&&"0"===t.code&&(this.$emit("change",this.planId,e),this.close())}))}else this.$message({type:"error",message:e.message})}))}else ks({planId:this.planId,blogList:[{blogId:this.bloggerId,platform:this.platform}],contactStatus:1,inviteStatus:1,latestSendTime:this.detailData.sendTime}).then((e=>{if("0"==e.code){this.$message({type:"success",message:e.message,customClass:"custom-message"});const t=this.planOpts.find((e=>e.planId===this.planId))?.name;nd({id:this.rowData.id,outboxId:this.rowData.outboxId,planId:this.planId,planName:t}).then((e=>{e&&"0"===e.code&&(this.$emit("change",this.planId,t),this.close())}))}else this.$message({type:"error",message:e.message,customClass:"custom-message"})}));else this.$message({type:"warning",message:this.$t("inboxDetail.planTips3"),customClass:"custom-message"})},goPlan(){this.close();const e=this.$router.resolve({path:"/plan"});window.open(e.href,"_blank")}}},ad=od,sd=Ba(ad,Gu,Ku,!1,null,"4fad5252",null),ld=sd.exports,cd=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{title:e.$t("inboxDetail.coopStatus"),visible:e.visible,width:"480px","append-to-body":"","custom-class":"email-plan-dialog"},on:{close:e.close}},[t("div",{staticClass:"label"},[e._v(e._s(e.$t("inboxDetail.coopStatusTitle")))]),t("div",{staticClass:"plan-box"},[t("div",[t("el-select",{staticStyle:{width:"100%"},attrs:{"popper-class":"edm-select-popper",clearable:""},model:{value:e.status,callback:function(t){e.status=t},expression:"status"}},e._l(e.coopStatusList,(function(e,n){return t("el-option",{key:n,attrs:{label:e.coopStatus,value:e.ccode}})})),1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:e.close}},[e._v(e._s(e.$t("inboxDetail.cancel")))]),t("el-button",{attrs:{type:"primary"},on:{click:e.confirm}},[e._v(e._s(e.$t("inboxDetail.confirm")))])],1)])])},ud=[],dd={props:{visible:{type:Boolean,default:!1},upbEsId:{type:String,default:""},coopStatus:{type:Number,default:""},planId:{type:[Number,String],default:""}},data(){return{status:"",coopStatusList:[{coopStatus:this.$t("inboxDetail.coop1"),ccode:0},{coopStatus:this.$t("inboxDetail.coop2"),ccode:1},{coopStatus:this.$t("inboxDetail.coop3"),ccode:6},{coopStatus:this.$t("inboxDetail.coop4"),ccode:2},{coopStatus:this.$t("inboxDetail.coop5"),ccode:3},{coopStatus:this.$t("inboxDetail.coop6"),ccode:4}],loading:!1}},created(){this.status=this.coopStatus},methods:{close(){this.$emit("update:visible",!1)},async confirm(){try{const e=await os({ids:[this.upbEsId],coopStatus:this.status,planId:this.planId});"0"==e.code?(this.$message.success("修改成功"),this.close(),this.$emit("change")):this.$message.error(e.message)}catch(Rl){console.log(Rl)}}}},hd=dd,pd=Ba(hd,cd,ud,!1,null,"23d89b7a",null),fd=pd.exports,md=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{title:"快捷回复",visible:e.visible,width:"700px","append-to-body":"","custom-class":"email-ai-replay-dialog"},on:{close:e.close}},[t("div",{staticClass:"reply-box"},[t("div",{staticClass:"top"},[t("img",{staticClass:"icon",attrs:{src:i(7346),alt:""}}),t("span",{staticClass:"title"},[e._v(e._s(e.$t("edm5.v12")))])]),t("div",{staticClass:"content",domProps:{innerHTML:e._s(e.content)}}),t("div",{staticClass:"bottom"},[t("img",{attrs:{src:i(4643),alt:""}})])]),t("div",{staticClass:"footer"},[t("el-button",{staticClass:"reply-btn",attrs:{size:"small"},on:{click:e.close}},[e._v(e._s(e.$t("edm5.v19")))]),t("el-button",{staticClass:"reply-btn",attrs:{loading:e.loading,size:"small",type:"primary"},on:{click:e.confirm}},[e._v("确认发送")])],1)])},gd=[],vd={props:{visible:{type:Boolean,default:!1},content:{type:String,default:""},loading:{type:Boolean,default:!1}},data(){return{}},created(){},methods:{close(){this.$emit("update:visible",!1)},confirm(){this.$emit("confirm")}}},yd=vd,bd=Ba(yd,md,gd,!1,null,"7627823c",null),wd=bd.exports,_d=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"show",rawName:"v-show",value:!e.isFirstHidden,expression:"!isFirstHidden"}],staticClass:"ai-summary-container"},[t("div",{staticClass:"item-summary"},[t("div",{staticClass:"ai-top"},[t("span",{staticClass:"title"},[e._v(e._s(e.$t("edm5.v6")))]),e.isSummaryIng?t("i",{staticClass:"el-icon-loading ai-loading",staticStyle:{"margin-left":"4px"}}):e._e(),t("i",{staticClass:"dss-iconfont icon-close",class:{notAllow:e.isSummaryIng},on:{click:e.closeSummary}})]),t("div",{staticClass:"ai-box",staticStyle:{"white-space":"pre-wrap"}},[e._v(" "+e._s(e.summaryInfo.summary)+" ")]),t("div",{staticClass:"ai-bottom"},[t("div",{staticClass:"like-item first",class:{notAllow:e.isSummaryIng,active:1===e.summaryInfo.isLike},on:{click:function(t){return e.evaluateAi(1,e.summaryInfo.historyId)}}},[t("i",{staticClass:"dss-iconfont icon-like-dz"}),t("span",{staticStyle:{"font-size":"14px","margin-left":"8px"}},[e._v(e._s(e.$t("inboxDetail.like")))])]),t("div",{staticClass:"like-item",class:{notAllow:e.isSummaryIng,active:2===e.summaryInfo.isLike},on:{click:function(t){return e.evaluateAi(2,e.summaryInfo.historyId)}}},[t("i",{staticClass:"dss-iconfont icon-dianzan_kuaibeifen"}),t("span",{staticStyle:{"font-size":"14px","margin-left":"8px"}},[e._v(e._s(e.$t("inboxDetail.unLike")))])]),t("div",{staticClass:"redo",on:{click:e.rebuildSummary}},[e.isSummaryIng?t("span",{staticClass:"stop-icon",staticStyle:{width:"12px",height:"12px","border-radius":"4px",background:"#f85277","margin-right":"7px"}}):t("i",{staticClass:"dss-iconfont icon-a-zhongxinshengchengbeifen2"}),e.isSummaryIng?t("span",{staticStyle:{color:"#f85277"}},[e._v(e._s(e.$t("inboxDetail.stop")))]):t("span",[e._v(e._s(e.$t("inboxDetail.redo")))])]),t("div",{staticClass:"point"},[t("span",{staticClass:"txt"},[e._v(e._s(e.$t("inboxDetail.restPoint"))+":"+e._s(e.aiPoint))]),t("Tooltip",{attrs:{content:e.$t("inboxDetail.aiRule"),isShowRule:!0}})],1),t("el-tooltip",{attrs:{placement:"top","popper-class":"wt-tooltip ai-intention-tooltip",content:e.$t("edm5.v8")}},[t("div",{staticClass:"keywords",staticStyle:{"margin-right":"12px"},on:{click:e.getEmailIntention}},[t("i",{staticClass:"dss-iconfont icon-guanjianziguanli"}),t("span",[e._v(e._s(e.$t("edm5.v7")))])])]),t("div",{staticClass:"reply"},[t("button",{staticClass:"reply-btn",on:{click:e.showAiReply}},[t("img",{attrs:{src:i(4075),alt:""}}),t("span",[e._v(e._s(e.$t("edm5.v9")))])])])],1)])])},Cd=[],xd={components:{Tooltip:Ou},props:{id:{type:Number,default:0},aiPoint:{type:Number,default:0},isRebuild:{type:Boolean,default:!1}},data(){return{isSummaryIng:!1,summaryInfo:{},isLike:0,SummaryTimer:null,aiSummaryCounter:0,isFirstHidden:!0}},watch:{isRebuild:{handler(e){e?this.rebuildSummary():this.getAiEmailSummary()},immediate:!0}},methods:{async getAiEmailSummary(){try{const e=await ss(this.id);"0"==e.code?null===e.data?.isComplete?(this.summaryInfo={},this.$emit("handleShow",this.id,!1),this.isFirstHidden=!0):e.data?.isComplete?(this.isFirstHidden=!1,this.$emit("handleShow",this.id,!0),this.summaryInfo=e.data?.emailSummary||{}):(this.isFirstHidden=!1,this.$emit("handleShow",this.id,!0),this.isSummaryIng=!0,this.createSummarySetInterval()):this.$message.error(e.message)}catch(Rl){console.log(Rl)}},async getAiEmailSummaryProgress(e){try{const t=await ss(this.id);return"0"==t.code?(t.data?.isComplete&&(this.summaryInfo=t.data?.emailSummary||{},e&&(this.isSummaryIng=!1)),t.data?.isComplete):(this.$message.error(t.message),!0)}catch(Rl){return console.log(Rl),!0}},async rebuildSummary(){if(this.isFirstHidden=!1,this.isSummaryIng)this.stopSummarySetInterval(),this.isSummaryIng=!1;else{this.isLike=0;const e=await ls(this.id);"0"==e.code?(this.isSummaryIng=!0,this.createSummarySetInterval()):(this.isSummaryIng=!1,this.stopSummarySetInterval(),this.$message.error(e.message))}},createSummarySetInterval(){this.stopSummarySetInterval(),this.aiSummaryCounter=0,this.SummaryTimer=setInterval((async()=>{this.aiSummaryCounter+=1;const e=await this.getAiEmailSummaryProgress();e&&(this.isSummaryIng=!1,this.stopSummarySetInterval(),this.$emit("refreshAiPoint")),this.aiSummaryCounter>=60&&(this.isSummaryIng=!1,this.aiSummaryCounter=0,this.stopSummarySetInterval(),this.$message.error(this.$t("edm5.v11")),this.$emit("refreshAiPoint"))}),2e3)},stopSummarySetInterval(){this.SummaryTimer&&(clearInterval(this.SummaryTimer),this.SummaryTimer=null)},closeSummary(){if(this.isSummaryIng)return!1;this.summaryInfo={},this.isLike=0,this.$emit("handleShow",this.id,!1)},async evaluateAi(e,t){try{const n=this.summaryInfo.isLike===e?0:e,i=await fs({historyId:t,isLike:n,aiScene:"summarize"});"0"===i.code&&(this.getAiEmailSummaryProgress(),this.$message.success(this.$t("edm5.v10")))}catch(Rl){console.log(Rl)}},showAiReply(){this.$emit("showAiReply",this.summaryInfo)},getEmailIntention(){this.$emit("getEmailIntention")}}},Sd=xd,kd=Ba(Sd,_d,Cd,!1,null,"2ad67469",null),Ed=kd.exports,Ad=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{visible:e.visible,width:"900px","append-to-body":"","custom-class":"ai-replaying-dialog"},on:{close:e.close}},[t("div",{staticClass:"ai-title"},[1===e.step||2===e.step?t("img",{attrs:{src:i(5169),alt:""}}):e._e(),2===e.step?t("span",{staticClass:"text"},[e._v(e._s(e.$t("edm5.v12")))]):e._e(),3===e.step?t("div",{staticClass:"rule"},[t("i",{staticClass:"dss-iconfont icon-arrow",on:{click:e.backToOne}}),t("span",[e._v(e._s(e.$t("edm5.v13")))])]):e._e()]),t("div",{directives:[{name:"show",rawName:"v-show",value:1===e.step,expression:"step === 1"}],staticClass:"step-one"},[t("div",{staticClass:"summary-part"},[t("div",[t("img",{attrs:{src:i(9054),alt:""}})]),t("div",{staticClass:"content"},[e._v(" "+e._s(e.summaryInfo.summary)+" ")])]),t("div",{staticClass:"write-part"},[t("div",{staticClass:"write-input"},[t("el-input",{staticClass:"write-textarea",staticStyle:{"font-size":"14px"},attrs:{type:"textarea",rows:5,placeholder:e.$t("edm5.v14"),resize:"none"},model:{value:e.replyWords,callback:function(t){e.replyWords=t},expression:"replyWords"}})],1),t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.aiRulesLoading,expression:"aiRulesLoading"}],staticClass:"write-example",attrs:{"element-loading-customclass":"ai-rule-loading","element-loading-spinner":"el-icon-loading","element-loading-text":e.$t("edm5.v15")}},[t("div",{staticClass:"example-title"},[t("span",{staticClass:"title"},[e._v(e._s(e.$t("edm5.v13")))]),t("span",{staticClass:"others",on:{click:e.backToTree}},[e._v(e._s(e.$t("edm5.v16")))])]),0===e.aiRules.length?t("div",{staticClass:"no-rule"},[t("Empty")],1):e._l(e.aiRules,(function(n,i){return t("div",{key:i,staticClass:"example-item",on:{click:function(t){return e.toBuildAiReply(n)}}},[t("span",{staticClass:"icon"},[e._v(e._s(n.emoji))]),t("span",{staticClass:"txt"},[e._v(e._s(n.desc))])])}))],2)]),t("div",{staticClass:"footer"},[t("div",{staticClass:"footer-left"},[t("el-select",{staticClass:"ai-prompt-select",attrs:{clearable:!1},model:{value:e.language,callback:function(t){e.language=t},expression:"language"}},e._l(e.languageList,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1),t("el-select",{staticClass:"ai-prompt-select",attrs:{clearable:!1},model:{value:e.tone,callback:function(t){e.tone=t},expression:"tone"}},e._l(e.toneList,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1),t("div",{staticClass:"point"},[t("span",{staticClass:"txt"},[e._v(e._s(e.$t("edm5.v17"))+e._s(e.aiPoint))]),t("Tooltip",{attrs:{content:e.$t("edm5.v18"),isShowRule:!0}})],1)],1),t("div",{staticClass:"footer-right"},[t("el-button",{staticClass:"reply-btn cancel-btn",attrs:{size:"small"},on:{click:e.stepOneClose}},[e._v(e._s(e.$t("edm5.v19")))]),t("el-button",{staticClass:"reply-btn make-btn",attrs:{loading:e.loading,size:"small",type:"primary",disabled:e.aiRulesLoading},on:{click:e.stepOneConfirm}},[e._v(e._s(e.$t("edm5.v20")))])],1)])]),2===e.step?t("div",{staticClass:"step-two"},[t("ReplyContent",{attrs:{maxId:e.maxId,aiPoint:e.aiPoint,currentMail:e.currentMail,tone:e.tone,language:e.language,replyWords:e.replyWords,chooseRuleCode:e.chooseRuleCode},on:{refreshPoint:e.refreshPoint,changeStep:e.changeStep,finished:e.finished,toFullWrite:e.toFullWrite}})],1):e._e(),3===e.step?t("div",{staticClass:"step-three"},[t("el-tree",{staticClass:"ai-rule-tree",attrs:{"node-key":"scenario",accordion:"",data:e.list,props:e.defaultProps,"default-expanded-keys":[0]},on:{"node-click":e.toBuildAiReply}})],1):e._e()])},Dd=[],Od=function(){var e=this,t=e._self._c;return t("div",{staticClass:"reply-content"},[t("div",{staticClass:"ai-result-part"},[t("div",{staticClass:"chinese language"},[t("div",{staticClass:"title"},[e._v(e._s(e.$t("edm5.v30")))]),t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.isReplying,expression:"isReplying"}],staticClass:"content",staticStyle:{"white-space":"pre-wrap"},attrs:{"element-loading-spinner":"el-icon-loading","element-loading-background":"rgba(0, 0, 0, 0)","element-loading-customClass":"ai-reply-loading"},domProps:{innerHTML:e._s(e.replayInfo.replyContentCn)}})]),t("div",{staticClass:"split"}),t("div",{staticClass:"foreign language"},[t("div",{staticClass:"title"},[e._v(e._s(e.$t("edm5.v31",{value:e.language}))+")")]),t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.isReplying,expression:"isReplying"}],staticClass:"content",staticStyle:{"white-space":"pre-wrap"},attrs:{"element-loading-spinner":"el-icon-loading","element-loading-background":"rgba(0, 0, 0, 0)","element-loading-customClass":"ai-reply-loading"},domProps:{innerHTML:e._s(e.replayInfo.replyContent)}})]),t("img",{staticClass:"email-icon",attrs:{src:i(4643),alt:""}})]),t("div",{staticClass:"footer"},[t("div",{staticClass:"ai-bottom"},[t("div",{staticClass:"like-item first",class:{notAllow:e.isReplying,active:1===e.feedLike},on:{click:function(t){return e.evaluateAi(1,e.replayInfo.historyId)}}},[t("i",{staticClass:"dss-iconfont icon-like-dz"}),t("span",{staticStyle:{"font-size":"14px","margin-left":"8px"}},[e._v(e._s(e.$t("edm5.v32")))])]),t("div",{staticClass:"like-item",class:{notAllow:e.isReplying,active:2===e.feedLike},on:{click:function(t){return e.evaluateAi(2,e.replayInfo.historyId)}}},[t("i",{staticClass:"dss-iconfont icon-dianzan_kuaibeifen"}),t("span",{staticStyle:{"font-size":"14px","margin-left":"8px"}},[e._v(e._s(e.$t("edm5.v33")))])]),t("div",{staticClass:"redo",on:{click:e.rebuildReplay}},[e.isReplying?t("span",{staticClass:"stop-icon",staticStyle:{width:"12px",height:"12px","border-radius":"4px",background:"#f85277","margin-right":"7px"}}):t("i",{staticClass:"dss-iconfont icon-a-zhongxinshengchengbeifen2"}),e.isReplying?t("span",{staticStyle:{color:"#f85277"}},[e._v(e._s(e.$t("edm5.v35")))]):t("span",[e._v(e._s(e.$t("edm5.v34")))])]),t("div",{staticClass:"point"},[t("span",{staticClass:"txt"},[e._v(e._s(e.$t("edm5.v17"))+e._s(e.aiPoint))]),t("Tooltip",{attrs:{content:e.$t("edm5.v18"),isShowRule:!0}})],1)]),t("div",{staticClass:"footer-right"},[t("el-button",{staticClass:"reply-btn cancel-btn",attrs:{size:"small"},on:{click:e.close}},[e._v(e._s(e.$t("edm5.v19")))]),t("el-button",{staticClass:"reply-btn make-btn",attrs:{loading:e.aiReplayBtnLoading,size:"small",type:"primary",disabled:e.isReplying},on:{click:e.confirm}},[e._v(e._s(e.$t("edm5.v36")))])],1)])])},Td=[],Id={components:{Tooltip:Ou},props:{aiPoint:{type:Number,default:0},currentMail:{type:Object,default:()=>{}},tone:{type:String,default:""},language:{type:String,default:""},replyWords:{type:String,default:""},chooseRuleCode:{type:[String,Number],default:""},maxId:{type:[String,Number],default:""}},data(){return{isReplying:!1,replayInfo:{},feedLike:0,aiReplayCounter:0,ReplayTimer:null,aiReplayBtnLoading:!1}},created(){this.buildAiReply()},methods:{async buildAiReply(){try{const e=await xs({inboxId:this.currentMail.id,emailStrategy:""===this.chooseRuleCode?void 0:this.chooseRuleCode,customizedStrategy:""===this.chooseRuleCode?this.replyWords:void 0,language:this.language,tone:this.tone});"0"===e.code?this.getAiEmailReplay():this.$message.error(e.message)}catch(Rl){console.log(Rl)}},async getAiEmailReplay(){try{const e=await cs(this.currentMail.id);"0"==e.code?e.data?.isComplete?this.replayInfo=e.data?.smartReply||{}:(this.isReplying=!0,this.createReplaySetInterval()):this.$message.error(e.message)}catch(Rl){console.log(Rl)}},async getAiEmailReplayProgress(){try{const e=await cs(this.currentMail.id);return"0"==e.code?(e.data?.isComplete&&(this.replayInfo=e.data?.smartReply||{}),e.data?.isComplete):(this.$message.error(e.message),!0)}catch(Rl){return console.log(Rl),!0}},createReplaySetInterval(){this.stopReplaySetInterval(),this.aiReplayCounter=0,this.ReplayTimer=setInterval((async()=>{this.aiReplayCounter+=1;const e=await this.getAiEmailReplayProgress();e&&(this.$emit("refreshPoint"),this.isReplying=!1,this.stopReplaySetInterval()),this.aiReplayCounter>=60&&(this.isReplying=!1,this.aiReplayCounter=0,this.stopReplaySetInterval(),this.$message.error(this.$t("inboxDetail.tips2")))}),2e3)},async rebuildReplay(){if(this.isReplying)this.stopReplaySetInterval(),this.isReplying=!1;else{const e=await xs({inboxId:this.currentMail.id,emailStrategy:""===this.chooseRuleCode?void 0:this.chooseRuleCode,customizedStrategy:""===this.chooseRuleCode?this.replyWords:void 0,language:this.language,tone:this.tone});"0"==e.code?(this.isReplying=!0,this.feedLike=0,this.createReplaySetInterval()):(this.isReplying=!1,this.stopReplaySetInterval(),this.$message.error(e.message))}},stopReplaySetInterval(){this.ReplayTimer&&(clearInterval(this.ReplayTimer),this.ReplayTimer=null)},async evaluateAi(e,t){try{const n=this.feedLike===e?0:e,i=await fs({historyId:t,isLike:n,aiScene:"reply"});"0"===i.code&&(this.feedLike=n,this.$message.success(this.$t("inboxDetail.tips5")))}catch(Rl){console.log(Rl)}},close(){this.stopReplaySetInterval(),this.$emit("changeStep",1)},confirm(){this.$emit("toFullWrite",this.replayInfo.replyContent,this.replayInfo.id)}}},Pd=Id,Fd=Ba(Pd,Od,Td,!1,null,"ba5a8f8c",null),Md=Fd.exports,Bd=function(){var e=this,t=e._self._c;return t("div",{staticClass:"empty-contain",style:{...e.currentStyle}},[t("img",{attrs:{src:i(3442),alt:""}}),t("p",[e._v(e._s(e.tips||"暂无数据"))])])},Nd=[],Rd={props:["currentStyle","tips"]},$d=Rd,jd=Ba($d,Bd,Nd,!1,null,"37b97e56",null),Ld=jd.exports,zd={props:{visible:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},aiPoint:{type:Number,default:0},summaryInfo:{type:Object,default:()=>{}},currentMail:{type:Object,default:()=>{}},maxId:{type:[String,Number],default:""}},components:{Tooltip:Ou,Empty:Ld,ReplyContent:Md},data(){return{step:1,replyWords:"",languageList:[],toneList:[],language:"英文",tone:"友好的",isReplying:!1,defaultProps:{children:"children",label:"desc"},list:[],aiRulesCounter:0,aiRulesLoading:!0,aiRulesInfo:{children:[{},{},{}]},RulesTimer:null,chooseRuleCode:""}},computed:{aiRules(){return this.aiRulesInfo&&this.aiRulesInfo.children?this.aiRulesInfo.children:[]}},created(){this.getAiRules(),this.getLanguages(),this.getTones()},beforeDestroy(){this.stopRulesSetInterval()},mounted(){this.initAi()},methods:{initAi(){this.buildAiRules()},async getAiRules(){try{const e=await bs();"0"===e.code&&(this.list=JSON.parse(e.data),this.handleRules())}catch(Rl){console.log(Rl)}},async buildAiRules(){try{const e=await ys(this.currentMail.id);"0"===e.code?this.getAiReplyTips():(this.$message.error(e.message),this.aiRulesLoading=!1)}catch(Rl){this.aiRulesLoading=!1,console.log(Rl)}},async getAiReplyTips(){try{const e=await ws(this.currentMail.id);if("0"===e.code)if(e.data?.isComplete){let t=e.data?.emailStrategy||{};t.children&&(t.children=t.children.map((e=>({...e,emoji:this.getEmojiByNum()})))),this.aiRulesInfo=t}else this.aiRulesLoading=!0,this.createRulesSetInterval();else this.stopRulesSetInterval(),this.$message.error(e.message),this.aiRulesLoading=!1}catch(Rl){console.log(Rl),this.stopRulesSetInterval(),this.aiRulesLoading=!1}},createRulesSetInterval(){this.stopRulesSetInterval(),this.aiRulesCounter=0,this.RulesTimer=setInterval((async()=>{this.aiRulesCounter+=1;const e=await this.getAiRulesProgress();e&&(this.aiRulesLoading=!1,this.stopRulesSetInterval()),this.aiRulesCounter>=60&&(this.aiRulesLoading=!1,this.aiRulesCounter=0,this.stopRulesSetInterval(),this.$message.error(this.$t("inboxDetail.tips2")))}),2e3)},async getAiRulesProgress(){try{const e=await ws(this.currentMail.id);if("0"==e.code){if(e.data?.isComplete){let t=e.data?.emailStrategy||{};t.children&&(t.children=t.children.map((e=>({...e,emoji:this.getEmojiByNum()})))),this.aiRulesInfo=t}return e.data?.isComplete}return this.$message.error(e.message),this.aiRulesLoading=!1,!0}catch(Rl){return console.log(Rl),!0}},stopRulesSetInterval(){this.RulesTimer&&(clearInterval(this.RulesTimer),this.RulesTimer=null)},async getLanguages(){try{const e=await _s();"0"===e.code&&(this.languageList=e.data?.map((e=>({label:e,value:e}))))}catch(Rl){console.log(Rl)}},async getTones(){try{const e=await Cs();"0"===e.code&&(this.toneList=e.data?.map((e=>({label:e,value:e}))))}catch(Rl){console.log(Rl)}},getEmojiByNum(){const e=["😄","🎉","🌟","🎯","💰","🔮","🛍️","🎁","💬","💭"],t=Math.floor(10*Math.random());return e[t]},getUpByNum(e){const t={1:"一",2:"二",3:"三",4:"四",5:"五",6:"六"};return t[e]||e},handleRules(){this.list=this.list.map((e=>{if(e.children){const t=e.children.map(((e,t)=>({...e,order:t+1})));return{...e,children:t}}return e})),this.handleRulesLoop(this.list)},handleRulesLoop(e){for(let t in e){const n=e[t];n.children?(1===n.level&&(n.desc=this.getUpByNum(n.phase+1)+"、"+n.desc),2===n.level&&(n.desc=n.order+". "+n.desc),3===n.level&&(n.desc=this.getEmojiByNum()+" "+n.desc),this.handleRulesLoop(n.children)):(1===n.level&&(n.desc=this.getUpByNum(n.phase)+"、"+n.desc),2===n.level&&(n.desc=n.order+". "+n.desc),3===n.level&&(n.desc=this.getEmojiByNum()+" "+n.desc))}},toBuildAiReply({code:e}){if(null===e||""===e||void 0===e)return!1;this.chooseRuleCode=e,this.aiRulesLoading=!1,this.step=2},close(){this.$emit("update:visible",!1)},stepOneConfirm(){if(!this.replyWords)return this.$message.error(this.$t("edm5.v29"));this.chooseRuleCode="",this.stopRulesSetInterval(),this.aiRulesLoading=!1,this.step=2},stepOneClose(){this.stopRulesSetInterval(),this.close()},backToOne(){this.step=1},backToTree(){this.step=3},changeStep(e){this.step=e},refreshPoint(){this.$emit("refreshPoint")},finished(){this.$emit("finished"),this.close()},toFullWrite(e,t){this.$emit("fullWrite",e,t)}}},Vd=zd,Hd=Ba(Vd,Ad,Dd,!1,null,"394b0cd6",null),Ud=Hd.exports,Wd=function(){var e=this,t=e._self._c;return t("div",{staticClass:"tag-column"},[t("div",{directives:[{name:"tagOverFlow",rawName:"v-tagOverFlow",value:{data:e.tagObj,maxWidth:e.maxWidth-25},expression:"{ data: tagObj, maxWidth: maxWidth - 25 }"}],staticClass:"row-tags"},[e._l(e.tagObj.list.slice(0,e.tagObj.showNum),(function(n){return t("span",{staticClass:"tag"},[e._v(e._s(n))])})),e.tagObj.showNum!==e.tagObj.list.length?t("el-tooltip",{attrs:{value:!1,placement:"top","popper-class":"blogger-tags-popper wt-tooltip"}},[t("div",{attrs:{slot:"content"},slot:"content"},[t("div",{staticClass:"tooltip-box"},e._l(e.tagObj.list,(function(n){return t("span",{staticClass:"tag"},[e._v(e._s(n))])})),0)]),t("div",{staticClass:"tag",staticStyle:{"margin-left":"8px",cursor:"pointer"}},[e._v("···")])]):e._e()],2),0===e.tagObj.list.length?t("div",{staticClass:"empty"},[e._v("-")]):e._e()])},qd=[],Yd={props:{tags:{type:Array,default:()=>[]},maxWidth:{type:Number,default:300}},data(){return{tagObj:{showNum:0,list:[]}}},directives:{tagOverFlow:{inserted(e,t){const{data:n,maxWidth:i}=t.value;n.showNum=n.list.length||0,e.clientWidth>i&&(n.showNum=n.showNum-1)},componentUpdated(e,t){const{data:n,maxWidth:i}=t.value;e.clientWidth>i&&(n.showNum=n.showNum-1)}}},watch:{tags:{deep:!0,handler(e){e&&!!e.length>0?this.handleTag(e):(this.tagObj.showNum=0,this.list=[])},immediate:!0}},methods:{handleTag(e){e&&Array.isArray(e)&&(this.tagObj.showNum=e.length,this.tagObj.list=[...e])}}},Gd=Yd,Kd=Ba(Gd,Wd,qd,!1,null,"12212717",null),Xd=Kd.exports,Zd=i(1930),Jd=i.n(Zd),Qd={name:"edm-inboxDetail",components:{AddTagsDialog:ol,Tooltip:Ou,EmailBox:Bu,SimpleReplay:zu,EmailIntention:Yu,EmailPlan:ld,CoopStatus:fd,EmailRely:wd,AiSummary:Ed,AiReply:Ud,TagColumn:Xd},props:{goBackUrl:{type:String,default:"/inbox"},mailId_inbox:{type:String,default:""},chatId_inbox:{type:String,default:""},blogDetailUrl:{type:String,default:"/blogDetail"},crmGrayUser:{type:Boolean,default:!1}},filters:{coopStatusFilter(e){return vu.find((t=>t.ccode===e))?.coopStatus||mu.t("inboxDetail.empty")}},data(){return{bloggerInfo:{},bloggerInfoRest:{},primary:"dss"===localStorage.getItem("sourceApp")?"#1990FF":"#FF5277",maxId:"",id:this.mailId_inbox,chatId:this.chatId_inbox,mailId:this.mailId_inbox,popularizePlanId:this.$route.query.popularizePlanId,popularizePlanName:this.$route.query.popularizePlanName,mailData:"",mailTaglist:[],tags:[],mailTags:[],mailList:[],isShowSettag:!1,selectedTags:[],tagList:[],isShowReply:!1,fileList:[],isSubmit:!1,optList:[],aiOpen:!1,showSimpleReplay:!1,intentionVisible:!1,planVisible:!1,coopStatusVisible:!1,emailRelyVisible:!1,isOpenAi:!1,summaryInfo:{},aiPoint:0,replayInfo:{},aiFeed:{single_invitation:0,summarize:0},aiReplayBtnLoading:!1,timer:null,mailLoading:!1,aiRelyVisible:!1,currentMail:{},searchForm:{},tableData:[],checkEmailIndex:null,bloggerJobInfo:{},isShowAiAgent:!1}},computed:{isHasAi(){const e=Array.isArray(this.mailList)&&this.mailList.length>0&&1==this.mailList[0]?.type;return this.isOpenAi&&e||!0}},watch:{isHasAi(e){}},async created(){this.getInboxList(),this.getMailGroup(),await this.initTags(),await this.getMailDetailById(),this.getCrmInfo(),this.setReadstatus(),this.isOpenAiSetting(),this.getAiPoint(),this.getJobIdByBloggerId(),this.getAiAgentShow()},destroyed(){},methods:{getAiAgentShow(){Ms({sceneId:1}).then((e=>{"0"===e.code&&(this.isShowAiAgent=e.data)}))},getJobIdByBloggerId(){Fs({bloggerId:this.mailData.bloggerId,chatId:this.chatId}).then((e=>{"0"==e.code&&(this.bloggerJobInfo=e.data||{})}))},showAiSetting(){this.$emit("showAiSetting",this.bloggerInfo,this.bloggerJobInfo)},handleCommand(e){"a"===e?this.openPlan():this.changeCoopStatus()},async pageInit(){console.log(this.checkEmailIndex),this.id=this.tableData[this.checkEmailIndex].id,this.chatId=this.tableData[this.checkEmailIndex].chatId,this.mailId=this.tableData[this.checkEmailIndex].mailId,this.maxId=this.tableData[this.checkEmailIndex].maxId,this.popularizePlanId=this.tableData[this.checkEmailIndex].popularizePlanId,this.popularizePlanName=this.tableData[this.checkEmailIndex].popularizePlanName,this.getMailGroup(),await this.initTags(),await this.getMailDetailById(),this.getCrmInfo(),this.setReadstatus()},handleNext(){this.checkEmailIndex++,this.pageInit()},handlePrevious(){this.checkEmailIndex--,this.pageInit()},getInboxList(){localStorage.getItem("searchFormInbox")&&(this.searchForm=JSON.parse(localStorage.getItem("searchFormInbox")),La({...this.searchForm,sentMail:0===this.searchForm.sentMail?0:"",email:this.searchForm.sentMail?this.searchForm.sentMail:""}).then((e=>{e?(this.tableData=e.rows,this.tableData.forEach(((e,t)=>{e.id==this.$route.query.id&&(this.checkEmailIndex=t)}))):this.$message.warning(this.$t("inboxTable.requestError"))})))},handleAddFavorites(){this.$emit("AddFavorites",{besId:this.mailData.bloggerId})},changeCoopStatus(){this.bloggerInfo.planId&&"-1"!=this.bloggerInfo.planId?this.coopStatusVisible=!0:this.$message({type:"warning",message:"请先关联推广计划",customClass:"custom-message"})},async getCrmInfo(){try{const e=await rs(this.maxId);"0"===e.code&&(this.bloggerInfo=e.data||{},this.getBloggerDetails(e.data.bloggerId),this.getBloggerGmv(e.data.bloggerId),"-1"==e.data.planId||"null"==e.data.planId?this.optList=[{icon:"icon-caidan-kehudangan",name:mu.t("inboxDetail.menu1"),key:"blogger",activeName:"1"},{icon:"icon-hezuoneirong",name:mu.t("inboxDetail.menu3"),key:"content",activeName:"6"}]:this.optList=Object.freeze(gu))}catch(Rl){console.log(Rl)}},async getBloggerDetails(e){if(!e)return!1;try{const e=await Is({inboxId:this.$route.query.id});"0"===e.code&&(this.bloggerInfoRest=e.data||{})}catch(Rl){console.log(Rl)}},async isOpenAiSetting(){return this.isOpenAi=!0,!1},getAiInit(){},async getAiPoint(){this.aiPoint=await Js()},clickHandle(e,t){console.log(e),this.$emit("showFn",e,t,this.bloggerInfo)},goBack(){this.$router.push({path:localStorage.getItem("currentPath"),query:{isdetail:!0}})},initDetail(){this.getMailDetailById(),this.isShowSettag=!1},async initTags(){const e=await Ja();e&&(this.mailTaglist=e,e.map((e=>{this.tags.push({id:e.id,value:e.id.toString(),label:e.tag})})),this.mailTaglist=e)},handleAddTag(){this.initTags()},initTagList(){this.initTags()},async getMailDetailById(){if(this.id){const e=await Ga(this.id);if(e&&(this.handleTagData(e),this.mailData=e,this.maxId=e.maxId,e.tag)){this.mailTags=[];let t=e.tag.split(",");t.forEach((e=>{let t=this.mailTaglist.find((t=>t.tag===e));t&&this.mailTags.push(t)}))}}},getMailGroup(){this.mailLoading=!0,Ka(this.chatId).then((e=>{e&&(e.map(((e,t)=>{e.uid=t+1e4,e.isExpand=0===t,e.attachment||(e.attachment=[]),e.isShowFull=!0,e.isOut=!1,2===e.type&&(e.bloggerAvatar="https://wotokol-oss.oss-cn-hangzhou.aliyuncs.com/koc/user_avatar/koc_default_man.png"),1===e.type&&(e.bloggerAvatar&&""!==e.bloggerAvatar||(e.bloggerAvatar="https://wotokol-oss.oss-cn-hangzhou.aliyuncs.com/koc/user_avatar/defaultUser.svg",e.isOut=!0)),e.isShowSummary=!0,e.isRebuild=!1})),console.log(e),this.mailList=e,this.mailLoading=!1)})).catch((e=>{this.mailLoading=!1})).finally((()=>{this.mailLoading=!1}))},filterBaseTag(e){return e&&(e=e.replace("https://pixel.xin/emailControl.php?mid=","").replace("https://pixel.xin/hub.gif?mid=","").replace(new RegExp("unsubscribe","g"),"").replace(/<base.*?(?:>|\/>)/gi,"").replace(/This email was sent to(.*?)from this list/g,"").replace(/\(http\:\/\/mandrillapp.com(.*?)\)/g,"")),e},delHtmlTag(e){if(e)return e=e.replace("https://pixel.xin/emailControl.php?mid=",""),e=e.replace("https://pixel.xin/hub.gif?mid=",""),e=e.replace(new RegExp("unsubscribe","g"),""),e=e.replace(/<head>[\s\S]*?<\/head>/i,""),e=e.replace(/<img[^>]*>/gi,""),e=e.replace(/<[^>]+>/g,""),e=e.replace(new RegExp("&nbsp;","g")," "),e},imgClick(e){if(1===e.type){if(e.isOut)return;this.$emit("toBloggerDetail",e)}},delOneMail(e){this.$confirm(this.$t("inboxDetail.confirmContent"),this.$t("inboxDetail.tip"),{confirmButtonText:this.$t("inboxDetail.confirm"),cancelButtonText:this.$t("inboxDetail.cancel"),type:"warning"}).then((()=>{Xa({id:e.id,type:e.type}).then((e=>{e&&(this.$message({message:this.$t("inboxDetail.delSuccess"),type:"success",duration:1500}),this.initTags(),this.getMailGroup())}))}),(()=>{}))},delFile(e){this.fileList.splice(e,1)},handleTagData(e){if(this.tagList=[],e.tag&&e.tagColor&&""!==e.tag&&""!==e.tagColor){let t=e.tag.split(","),n=e.tagColor.split(",");t.length!==n.length?this.tagList.push({tag:this.$t("inboxDetail.tagError"),tag_color:"#777"}):t.forEach(((e,t)=>{this.tagList.push({tag:e,tag_color:n[t]})}))}},delTag(e){const t=this.tagList.filter((e=>!!e.tag))||[];let n=[];t.length>1&&(n=t.filter((t=>t.tag!==e.tag)).map((e=>({tag:e.tag,tagColor:e.tag_color})))),this.updateTag(n,!0)},setReadstatus(){let e={read:2,chatId:[this.chatId]};Ua(e).then((e=>{e||this.$message({type:"error",message:this.$t("inboxDetail.mailError"),duration:1500})}))},showReply(e){if(this.isShowReply){localStorage.setItem("mailReply",JSON.stringify(e)),"dss"===localStorage.getItem("sourceApp")?localStorage.setItem("sendEntryKey","inboxDetailDssReply"):localStorage.setItem("sendEntryKey","inboxDetailHubReply");let t=this.$route.query.popularizePlanId?this.$route.query.popularizePlanId:"";if(this.crmGrayUser){const n=this.$router.resolve({path:`/inboxReply?replyId=${e.id}&chatId=${this.chatId}&popularizePlanId=${t}&popularizePlanName=${this.$route.query.popularizePlanName}`});window.open(n.href,"_blank")}else{const n=this.$router.resolve({path:`/inboxReply?replyId=${e.id}&chatId=${this.chatId}&popularizePlanId=${t}&taskId=${this.$route.query.taskId}&taskName=${this.$route.query.taskName}`});window.open(n.href,"_blank")}}},async showReplyNew(e=!1,t=void 0){const n=await this.checkEmailOwner();if(!n)return!1;if(this.mailList.length>0){let n=this.mailList,i=this.mailList.filter((e=>1===e.type));if(console.log("最新回复list",n),console.log("type 1的list",i),n.length>0&&i.length>0){"dss"===localStorage.getItem("sourceApp")?localStorage.setItem("sendEntryKey","inboxDetailDssReply"):localStorage.setItem("sendEntryKey","inboxDetailHubReply");let i=this.$route.query.popularizePlanId?this.$route.query.popularizePlanId:"",r=`/inboxReply?replyId=${this.maxId}&chatId=${this.chatId}&popularizePlanId=${i}&popularizePlanName=${this.$route.query.popularizePlanName}&replyContentId=${n[0].id}`;e&&(r+="&isSimple=true"),t&&(r+=`&aiId=${t}`),console.log("-----",r);const o=this.$router.resolve({path:r});window.open(o.href,"_blank")}}},fullWrite(e,t=void 0){console.log(e),console.log(t),localStorage.setItem("simpleWiteTxt",e||""),this.showReplyNew(!0,t)},skipBlogDetail(e,t){this.$emit("toBloggerDetail",t)},downFile(e){Ys(e.link,e.name)},async simpleReplay(){const e=await this.checkEmailOwner();if(!e)return!1;this.showSimpleReplay=!0},toggleEmailExpand(e){this.mailList=this.mailList.map((t=>({...t,isExpand:e.id===t.id&&!t.isExpand,isShowFull:!0})))},toggleFullContent(e){this.mailList=this.mailList.map((t=>({...t,isShowFull:e.id===t.id&&!t.isShowFull})))},async getEmailIntention(e){this.currentMail=e,this.intentionVisible=!0},openPlan(){this.planVisible=!0},toBloggerDetail(e,t){if(!e)return!1;this.$emit("toBloggerDetail",t)},openAiSummary(e){const t=this.mailList.findIndex((t=>t.id===e));if(t>-1){if(this.mailList[t]?.isShowSummary)return!1;this.$set(this.mailList,t,{...this.mailList[t],isShowSummary:!0,isRebuild:!0})}},showAiReplay(e){if(!e)return this.$message.error(this.$t("inboxDetail.tip3"));this.emailRelyVisible=!0},async handleAiReplay(e,t){if(!e)return!1;this.aiReplayBtnLoading=!0,ns({replyIds:[this.maxId],content:e,sendEntryKey:"aiReply"}).then((e=>{if("0"===e.code){const n=Array.isArray(e.data)&&e.data.length>0?e.data[0]:void 0;this.$message.success(this.$t("inboxDetail.tips4")),hs({aiEmailId:t,writeId:n}),this.timer&&clearTimeout(this.timer),this.timer=setTimeout((()=>{this.getMailGroup()}),500)}else this.aiReplayBtnLoading=!1,this.$message.error(e.message)})).catch((e=>{console.log(e),this.aiReplayBtnLoading=!1})).finally((()=>{this.aiReplayBtnLoading=!1}))},async getEvaluateAi(){try{const e=await ms(this.maxId);"0"===e.code?e.data.forEach((e=>{"single_invitation"===e.aiScene&&(this.aiFeed.single_invitation=e.isLike),"summarize"===e.aiScene&&(this.aiFeed.summarize=e.isLike)})):this.$message.error(e.message)}catch(Rl){console.log(Rl)}},async evaluateAi(e,t,n){try{const i=this.aiFeed[e]===t?0:t,r=await fs({historyId:n,isLike:i,aiScene:e});"0"===r.code&&(this.getEvaluateAi(),this.$message.success(this.$t("inboxDetail.tips5")))}catch(Rl){console.log(Rl)}},handleSummaryShow(e,t){const n=this.mailList.findIndex((t=>t.id===e));n>-1&&this.$set(this.mailList,n,{...this.mailList[n],isShowSummary:t})},showAiReply(e,t){this.currentMail=e,this.summaryInfo=t,this.aiRelyVisible=!0},async checkEmailOwner(){try{const e=await Ss({inboxId:this.id});return"0"===e.code?!!e.data||(this.$message.error(this.$t("edm5.v5")),!1):(this.$message.error(e.message),!1)}catch(Rl){return console.log(Rl),!1}},changeEmailPlan(e,t){this.$router.push({query:Jd()(this.$route.query,{popularizePlanId:e||-1,popularizePlanName:t||""})}),this.getCrmInfo()},addTagsStart(){this.selectedTags=this.tagList&&Array.isArray(this.tagList)?this.tagList.filter((e=>!!e.tag)).map((e=>e.tag)):[],this.isShowSettag=!0},async updateTag(e=[],t=!1){try{const n=await Za({mailId:this.id,tags:e});n&&(t?this.$message({type:"success",message:this.$t("inboxTagDialog.delTagSuccess")}):this.$message({type:"success",message:this.$t("inboxTagDialog.bindSuccess")}),this.getMailDetailById())}catch(Rl){}},async getBloggerGmv(e){try{const t=await _l({code:"adsTkStatsBloggerBaseService",data:{sqlManager:"dataService",param:{bEsId:e,dimDate:"30d"}}});"0"===t.code&&this.$set(this.bloggerInfoRest,"gmv30d",t.data[0]?.gmv||"-")}catch(Rl){console.log(Rl)}}}},eh=Qd,th=Ba(eh,hl,pl,!1,null,"27365197",null),nh=th.exports,ih=function(){var e=this,t=e._self._c;return t("div",{ref:"pageContainer",staticClass:"page-container-write"},[t("div",{staticClass:"write-part"},[t("div",{staticClass:"write-container"},[t("div",{staticClass:"write-wrap"},["AIinvitePlan"!==e.pageFrom?t("div",{staticClass:"form-item mb12"},[t("span",{on:{click:e.test}},[e._v(e._s(e.$i18n.t("writeMail.receiver")))]),t("div",{staticClass:"edm-input-container"},[e.isSpreadAddress?e._e():e._l(e.addresseeArr.slice(0,5),(function(n,i){return t("span",{key:i,staticClass:"edm-input-tags"},[e._v(" "+e._s(n.bloggerName)+" ")])})),e.isSpreadAddress?e._l(e.addresseeArr,(function(n,i){return t("span",{key:i,staticClass:"edm-input-tags"},[e._v(" "+e._s(n.bloggerName)+" ")])})):e._e(),e.addresseeArr.length?t("p",{staticClass:"edm-tag-dot"},[e._v(" "+e._s(e.addresseeArr.length>9999?e.addresseeArr.length+"+":e.addresseeArr.length)+" ")]):e._e(),e.addresseeArr.length>5?t("div",{staticClass:"edm-tags-action",on:{click:function(t){e.isSpreadAddress=!e.isSpreadAddress}}},[e._v(" "+e._s(e.isSpreadAddress?`- ${e.$i18n.t("writeMail.retract")}`:`+ ${e.$i18n.t("writeMail.other")}`+(e.addresseeArr.length-5)+`${e.$i18n.t("writeMail.person")}`)+" ")]):e._e()],2),e.isReply||e.isMultiReply||"payStatusDetail"===e.$route.query.pageFrom?e._e():t("el-button",{staticClass:"edit-btn",attrs:{loading:e.editBloggerLoading},on:{click:e.toEditBlogger}},[e._v(e._s(e.$t("edm5.v58")))])],1):e._e(),e.isReply||e.isMultiReply?e._e():t("div",{staticClass:"form-item"},[t("span",{staticClass:"email-label"},[e._v(" "+e._s(e.$t("edm5.v55"))+" "),t("Tooltip",{staticClass:"label-tooltip",attrs:{content:e.$t("edm5.v57"),isShowRule:!1}})],1),t("div",{staticClass:"email-box"},[t("div",{staticClass:"email-tab"},e._l(e.mailList,(function(n,i){return t("div",{key:n.id,class:{tab:!0,"active-tab":n.active},on:{click:function(t){return e.toggleEmailTag(n.id)}}},[t("span",{staticClass:"tab-txt"},[e._v(e._s(e.$t("edm5.v59"))+e._s(i+1))]),e.mailList.length>1?t("i",{staticClass:"dss-iconfont icon-close",on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.deleteEmail(n.id)}}}):e._e()])})),0),!e.isReply&&!e.isMultiReply&&e.mailList.length<5?t("div",{staticClass:"email-add",on:{click:function(t){return e.toAddEmail()}}},[t("i",{staticClass:"dss-iconfont icon-add2"}),t("span",[e._v(e._s(e.$t("edm5.v60")))])]):e._e()])]),t("div",{staticClass:"email-container",staticStyle:{position:"relative"}},[e._l(e.mailList,(function(n){return t("div",{key:n.id,staticClass:"email-main"},[t("ContentBox",{directives:[{name:"show",rawName:"v-show",value:n.active,expression:"mail.active"}],attrs:{editorHeight:e.editorHeight+e.editorHeightMore,form:n,replyInfo:e.replyInfo,isDraft:!!e.draftId,isOuterBox:!!e.outboxId,isReply:e.isReply,isMultiReply:e.isMultiReply,aiPoint:e.aiPoint},on:{handleOptimize:e.handleOptimize,expandEditor:e.expandEditor}})],1)})),t("div",{directives:[{name:"show",rawName:"v-show",value:e.isAutoSave,expression:"isAutoSave"}],staticClass:"save-icon"},[e.isAutoSaving?t("i",{staticClass:"el-icon-refresh-right"}):e._e(),e.isAutoSaved?t("img",{attrs:{src:i(3475)}}):e._e()])],2),t("div",{staticClass:"form-item cards"},[t("span",{staticStyle:{"white-space":"normal"}},[e._v(" "+e._s(e.$i18n.t("productCard.product_card"))+" ")]),t("div",{staticClass:"cards-content"},[t("Draggable",{staticClass:"cards-draggable",attrs:{"chosen-class":"email-chosen","force-fallback":"true",group:"list",animation:"500",handle:".card-wrap","ghost-class":"ghost"},model:{value:e.cardsArr,callback:function(t){e.cardsArr=t},expression:"cardsArr"}},[t("transition-group",{staticStyle:{display:"flex","align-items":"center"}},e._l(e.cardsArr,(function(n,r){return t("div",{key:r,staticClass:"card-wrap"},[t("div",{staticClass:"product-card"},[t("div",{staticClass:"card-top"},[t("el-image",{staticClass:"product-img",staticStyle:{border:"1px solid #e8e8e8"},attrs:{src:n.imageUrls[0]}}),t("div",{staticClass:"card-tags"},[e._l(n.promotePlatformType,(function(n,r){return t("div",{key:"platform"+r,staticClass:"product-platform"},[0==n?t("img",{staticClass:"platform-img",attrs:{src:i(4321)}}):e._e(),1==n?t("img",{staticClass:"platform-img",attrs:{src:i(634)}}):e._e(),2==n?t("img",{staticClass:"platform-img",attrs:{src:i(7682)}}):e._e()])})),e._l(n.typeName3,(function(n,i){return t("span",{key:"typeName"+i},[e._v(" "+e._s(n)+" ")])})),n.typeName.length>3?t("el-tooltip",{attrs:{placement:"top","popper-class":"wt-tooltip tooltip-tips type-tooltip"}},[t("div",{staticClass:"content",attrs:{slot:"content"},slot:"content"},e._l(n.typeName,(function(n,i){return t("span",{key:"allTypeName"+i,staticClass:"type-item"},[e._v(" "+e._s(n)+" ")])})),0),t("span",{staticClass:"more-types"},[e._v("···")])]):e._e()],2),t("div",{staticClass:"card-delete",on:{click:function(t){return e.deleteItem(r)}}},[t("i",{staticClass:"el-icon-delete"})])],1),t("div",{staticClass:"card-center"},[t("div",{staticClass:"product-name"},[e._v(e._s(n.nameEn||"—"))]),t("div",{staticClass:"product-price"},[e._v(" Price:"+e._s(e._f("getMoneySymbol")(n.currency))+e._s(n.priceDollar||"—")+" ")]),t("div",{staticClass:"product-price product-commission"},[e._v(" Commission rate:"+e._s(n.commissionPercent||"—")+"% ")])]),t("div",{staticClass:"card-bottom",class:{"only-btn":null==n.commissionPercent||0==n.commissionPercent}},[null!==n.commissionPercent&&0!==n.commissionPercent?t("div",{staticClass:"price"},[t("span",[e._v(" "+e._s(e._f("getMoneySymbol")(n.currency))+e._s((n.priceDollar*(n.commissionPercent/100)).toFixed(2))+" ")]),e._v(" /per ordered item ")]):e._e(),t("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.skipApply(n.id)}}},[e._v(" Apply ")])],1)])])})),0)],1),0==e.cardsArr.length?t("div",{staticClass:"product-card"},[t("div",{staticClass:"card-top"},[t("img",{staticClass:"product-img",staticStyle:{border:"1px solid #e8e8e8"},attrs:{src:"https://m.media-amazon.com/images/I/616058e2AYL._AC_SL1360_.jpg"}}),e._m(0),t("p",{staticClass:"flag"},[t("i",{staticClass:"el-icon-s-opportunity",staticStyle:{"padding-right":"6px"}}),e._v(" "+e._s(e.$i18n.t("productCard.example"))+" ")])]),t("div",{staticClass:"card-center"},[t("div",{staticClass:"product-name"},[e._v(" "+e._s("Lenovo Thinkpad X500 Blueto…")+" ")]),t("div",{staticClass:"product-price"},[e._v("Price:"+e._s("$49.93"))]),t("div",{staticClass:"product-price product-commission"},[e._v(" Commission rate:"+e._s("10")+"% ")])]),t("div",{staticClass:"card-bottom"},[e._m(1),t("el-button",{attrs:{type:"primary",size:"small"}},[e._v("Apply")])],1)]):e._e(),t("div",{staticClass:"add-card",on:{click:e.addProduct}},[t("i",{staticClass:"el-icon-plus"}),t("p",[e._v(e._s(e.$i18n.t("productCard.add_product_card")))])])],1)])]),t("div",{staticClass:"operate-wrap"},[t("div",{staticClass:"operate-left"},[e.isReply||e.isMultiReply||"AIinvitePlan"==e.pageFrom?e._e():t("div",{staticClass:"set-mail"},[t("div",{staticClass:"operate-set",on:{click:()=>{e.isCheckType=!1,e.showChooseMail=!0}}},[t("i",{staticClass:"el-icon-s-tools"}),t("span",{staticClass:"mail-tip"},[e._v(" "+e._s(e.$i18n.t("setMail.Sending_settings"))+" ")])]),t("div",{staticClass:"current-set"},[t("el-tooltip",{attrs:{placement:"top","popper-class":"wt-tooltip"}},[t("div",{staticClass:"content",staticStyle:{color:"#333"},attrs:{slot:"content"},slot:"content"},["WOTOMAIL"===e.sendType?t("span",[e._v(" "+e._s(e.$i18n.t("setMail.mailbox_system"))+" ")]):t("span",[e._v(e._s(e.email))])]),"WOTOMAIL"===e.sendType?t("span",{staticClass:"current-email"},[e._v(" "+e._s(e.$i18n.t("setMail.mailbox_system"))+" ")]):t("span",{staticClass:"current-email"},[e._v(e._s(e.email))])])],1)]),e.isReply||e.isMultiReply||"AIinvitePlan"==e.pageFrom?e._e():t("div",{staticClass:"set-nickname"},[t("div",{staticClass:"set-btn",on:{click:function(t){e.settingNicknameVisible=!0}}},[t("i",{staticClass:"dss-iconfont icon-nickname"}),t("span",[e._v(e._s(e.$t("edm5.v61")))])]),e.nickName?t("span",{staticClass:"set-value"},[t("el-tooltip",{attrs:{placement:"top","popper-class":"wt-tooltip"}},[t("div",{staticClass:"content",staticStyle:{color:"#333"},attrs:{slot:"content"},slot:"content"},[e._v(" "+e._s(e.nickName)+" ")]),t("span",{staticClass:"current-nickName"},[e._v(e._s(e.nickName))])])],1):e._e()])]),"AIinvitePlan"==e.pageFrom?t("div",{staticClass:"operate-right"},[t("el-button",{staticClass:"double-btn save_btn",attrs:{disabled:e.loading},on:{click:e.saveInviteEmail}},[e.loading?t("i",{staticClass:"el-icon-loading"}):e._e(),e._v(" 保存 ")])],1):t("div",{staticClass:"operate-right"},[e.isReply?e._e():t("el-button",{staticClass:"operate-btn",attrs:{disabled:e.loading},on:{click:e.saveMailTemplate}},[e.loading?t("i",{staticClass:"el-icon-loading"}):e._e(),e._v(" 存为模版 ")]),0!=e.isTiming||e.isMultiReply?e._e():t("el-button",{staticClass:"operate-btn",attrs:{disabled:e.loading},on:{click:function(t){e.isShowSave=!1,e.saveDraft(!0)}}},[e.loading?t("i",{staticClass:"el-icon-loading"}):e._e(),e._v(" "+e._s(e.$i18n.t("writeMail.save_draft"))+" ")]),1!=e.isTiming||e.isMultiReply?e._e():t("el-button",{staticClass:"operate-btn",attrs:{disabled:e.loading},on:{click:e.cancelDelaySend}},[e._v(" "+e._s(e.$i18n.t("writeMail.cancle_timer"))+" ")]),1!=e.isTiming||e.isMultiReply?e._e():t("el-button",{staticClass:"operate-btn",attrs:{disabled:e.loading},on:{click:function(t){return e.sendTime(e.rowTime)}}},[e._v(" "+e._s(e.$i18n.t("writeMail.save"))+" ")]),e.isMultiReply?e._e():t("el-button",{staticClass:"double-btn",attrs:{disabled:e.loading,loading:e.loading}},[t("el-tooltip",{attrs:{"popper-class":"btn-tooltip wt-tooltip",content:e.$t("edm5.v62"),placement:"top"}},[t("div",{staticClass:"text",on:{click:e.send}},[e._v(e._s(e.$t("edm5.v63")))])]),t("el-divider",{staticClass:"search-divider",attrs:{direction:"vertical"}}),t("el-tooltip",{attrs:{"popper-class":"btn-tooltip wt-tooltip",content:e.$t("edm5.v64"),placement:"top"}},[t("div",{staticClass:"quick-reply",on:{click:e.showDelayedTx}},[t("img",{staticClass:"img",attrs:{src:i(9717)}})])])],1),e.isMultiReply?t("el-button",{staticClass:"operate-btn",attrs:{disabled:e.loading,loading:e.loading},on:{click:e.multiSendNow}},[e._v(" "+e._s(e.$i18n.t("writeMail.send_now"))+" ")]):e._e()],1)])]),t("div",{staticClass:"write-aside"},[t("el-popover",{attrs:{"popper-class":"email-popover",trigger:"hover",placement:"left-start"}},[t("div",{staticClass:"popover-content"},[t("div",{staticClass:"popover-item",on:{click:function(t){e.aiMailVisible=!0}}},[t("i",{staticClass:"dss-iconfont icon-ai1"}),t("span",{staticClass:"item-label"},[e._v(e._s(e.$t("edm5.v65")))])]),t("div",{staticClass:"popover-item",on:{click:function(t){return e.singleSetEmail("setEditorBar","aiBar")}}},[t("i",{staticClass:"dss-iconfont icon-ai2"}),t("span",{staticClass:"item-label"},[e._v(e._s(e.$t("edm5.v66")))])]),t("div",{staticClass:"popover-item",on:{click:function(t){return e.handleOptimize("6")}}},[t("i",{staticClass:"dss-iconfont icon-ai3"}),t("span",{staticClass:"item-label"},[e._v(e._s(e.$t("edm5.v67")))])]),t("div",{staticClass:"popover-item",on:{click:function(t){return e.handleOptimize("7")}}},[t("i",{staticClass:"dss-iconfont icon-ai4"}),t("span",{staticClass:"item-label"},[e._v(e._s(e.$t("edm5.v68")))])])]),e.isReply||e.isMultiReply?e._e():t("div",{staticClass:"aside-item",attrs:{slot:"reference"},slot:"reference"},[t("img",{staticClass:"icon",attrs:{src:i(9954),alt:""}}),t("span",{staticClass:"name"},[e._v(e._s(e.$t("edm5.v69")))])])]),t("el-popover",{attrs:{"popper-class":"email-popover",trigger:"hover",placement:"left-start"}},[t("div",{staticClass:"popover-content"},[t("div",{staticClass:"popover-item",on:{click:function(t){e.mailTemplateDrawerVisible=!0}}},[t("i",{staticClass:"dss-iconfont icon-temp2"}),t("span",{staticClass:"item-label"},[e._v(e._s(e.$t("edm5.v70")))])]),t("div",{staticClass:"popover-item",on:{click:function(t){return e.singleSetEmail("setEditorBar","variableBar")}}},[t("i",{staticClass:"dss-iconfont icon-temp1"}),t("span",{staticClass:"item-label"},[e._v(e._s(e.$t("edm5.v71")))])])]),t("div",{staticClass:"aside-item",attrs:{slot:"reference"},slot:"reference"},[t("i",{staticClass:"icon dss-iconfont icon-side1"}),t("span",{staticClass:"name"},[e._v(e._s(e.$t("edm5.v72")))])])]),t("div",{staticClass:"aside-item",on:{click:function(t){e.signTextDrawerVisible=!0}}},[t("i",{staticClass:"icon dss-iconfont icon-side2"}),t("span",{staticClass:"name"},[e._v(e._s(e.$t("edm5.v73")))])]),t("div",{staticClass:"aside-item",on:{click:e.isShowProductDrawerEvt}},[t("i",{staticClass:"icon dss-iconfont icon-side3"}),t("span",{staticClass:"name"},[e._v(e._s(e.$t("edm5.v74")))])]),t("div",{staticClass:"aside-item",on:{click:function(t){e.isShowProductFormDrawer=!0}}},[t("i",{staticClass:"icon dss-iconfont icon-side4"}),t("span",{staticClass:"name"},[e._v(e._s(e.$t("edm5.v75")))])])],1)]),e.signTextDrawerVisible?t("SignTextDrawer",{attrs:{visible:e.signTextDrawerVisible},on:{"update:visible":function(t){e.signTextDrawerVisible=t},setMailSign:e.setMailSign}}):e._e(),e.mailTemplateDrawerVisible?t("MailTemplateDrawer",{attrs:{userId:e.userId,visible:e.mailTemplateDrawerVisible},on:{"update:visible":function(t){e.mailTemplateDrawerVisible=t},setMailTemplate:e.setMailTemplate}}):e._e(),e.isShowDelayed?t("delayed-tx",{ref:"delayedTxRef",attrs:{"is-show":e.isShowDelayed,rowTime:e.rowTime},on:{affirm:e.sendTime,close:function(t){e.isShowDelayed=!1}}}):e._e(),e.isShowNotice&&"AIinvitePlan"!==e.pageFrom?t("send-notice",{attrs:{isShow:e.isShowNotice},on:{closeNotice:e.closeNoticeEvt}}):e._e(),e.isShowLimit?t("send-limit",{attrs:{isShow:e.isShowLimit,totalSendNum:e.totalSendNum,restSendNum:e.restSendNum},on:{closeLimit:function(t){e.isShowLimit=!1}}}):e._e(),e.isShowCheck?t("check-mail",{attrs:{isShow:e.isShowCheck,reContactNum:e.reContactList.length,riskNum:e.riskList.length,cooperatedNum:e.cooperatedList.length,filterBloggerArr:e.filterBloggerArr,checkEmails:e.checkEmails,isSendSuccess:e.isSendSuccess,isReply:e.isReply,totalNum:e.totalNum,checkLoading:e.checkLoading},on:{closeCheck:e.closeCheckEvt,skipToOut:e.skipToOut,selfSend:e.selfSend,openAutoJump:function(t){e.isSelfClick=!1},updateFilterBloggerArr:e.updateFilterBloggerArr}}):e._e(),e.showChooseMail?t("chooseMailNew",{attrs:{isShow:e.showChooseMail,currentRadio:e.currentRadio,currentEnv:e.currentEnv,currentRadioId:e.bizId,currentSendType:e.sendType,isCheckType:e.isCheckType,userId:e.userId,addresseeArrLength:e.addresseeArr.length,totalSendNum:e.totalSendNum},on:{toGuide:e.toGuide,closeChooseMail:e.closeChooseMail,updateCurrentEmail:e.updateCurrentEmail,openCheckNext:e.openCheckNext}}):e._e(),e.isShowProductDrawer?t("product-new-drawer",{attrs:{isShowProductDrawer:e.isShowProductDrawer},on:{setProduct:e.setProduct,closeProductDrawer:e.closeProductDrawer}}):e._e(),e.isShowProductFormDrawer?t("product-form-drawer",{attrs:{isShowProductFormDrawer:e.isShowProductFormDrawer,currentEnv:e.currentEnv},on:{setProductFormLink:e.setProductFormLink,closeProductFormDrawer:function(t){e.isShowProductFormDrawer=!1}}}):e._e(),e.isShowProductCardDrawer?t("product-cards-drawer",{attrs:{isShowProductCardDrawer:e.isShowProductCardDrawer},on:{addProductCard:e.addProductCard,closeProductCardDrawer:function(t){e.isShowProductCardDrawer=!1}}}):e._e(),!e.aiMailVisible||e.isReply||e.isMultiReply?e._e():t("AiMailDialog",{attrs:{visible:e.aiMailVisible,aiPoint:e.aiPoint},on:{"update:visible":function(t){e.aiMailVisible=t},refreshPoint:e.getAiPoint,applyEmails:e.applyEmails}}),e.mailOptimizeDrawerVisible?t("MailOptimizeDrawer",{attrs:{visible:e.mailOptimizeDrawerVisible,aiPoint:e.aiPoint,type:e.aiOptimizeType,originSubject:e.aiOptimizeOriginSubject,originContent:e.aiOptimizeOriginContent},on:{"update:visible":function(t){e.mailOptimizeDrawerVisible=t},applyEmail:e.applyEmail,refreshPoint:e.getAiPoint}}):e._e(),e.settingNicknameVisible?t("SettingNickName",{attrs:{nickNameDefault:e.nickName,visible:e.settingNicknameVisible},on:{"update:visible":function(t){e.settingNicknameVisible=t},updateNickName:t=>e.nickName=t}}):e._e(),e.saveMailTempDialogVisible?t("saveMailTempDialog",{attrs:{tempProductCard:e.tempProductCard,mailTempList:e.mailList,visible:e.saveMailTempDialogVisible},on:{"update:visible":function(t){e.saveMailTempDialogVisible=t},setMailTempHandle:e.setMailTempHandle}}):e._e()],1)},rh=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"card-tags"},[t("div",{staticClass:"product-platform"},[t("img",{staticClass:"platform-img",attrs:{src:i(634)}})]),t("span",[e._v("Teach")]),t("span",[e._v("Lifestyle")])])},function(){var e=this,t=e._self._c;return t("div",{staticClass:"price"},[t("span",[e._v("$4.98")]),e._v(" /per ordered item ")])}],oh=(i(1148),i(3579),i(7642),i(8004),i(3853),i(5876),i(2475),i(5024),i(1698),function(){var e=this,t=e._self._c;return t("div",{staticClass:"body mb24",domProps:{innerHTML:e._s(e.filterBaseTag(e.body))}})}),ah=[],sh={props:{content:{default:"",type:String}},data(){return{body:this.content}},methods:{filterBaseTag(e){return e&&(e=e.replace("https://pixel.xin/emailControl.php?mid=","").replace("https://pixel.xin/hub.gif?mid=","").replace(new RegExp("unsubscribe","g"),"").replace(/\r\n/g,"<br />").replace(/ツ?/g,"").replace(/<base.*?(?:>|\/>)/gi,"").replace(/&gt; &gt;/g,"<br /><br />")),e}}},lh=sh,ch=Ba(lh,oh,ah,!1,null,"344d58de",null),uh=ch.exports;function dh(e){return va(`/edm/draftsV2/draftV2Detail/${e}`)}function hh(e){return wa("/edm/outboxV2/againInvite",e)}function ph(e){return va("/edm/qiye/getUserRegisters",e)}function fh(e){return va("/edm/qiye/getTemplates",e)}function mh(e){return wa("/edm/qiye/saveUserRegister",e)}function gh(e){return wa("/edm/qiye/check",e)}function vh(e){return va("/edm/qiye/unbindByEmail",e)}var yh=function(){var e=this,t=e._self._c;return t("div",{staticClass:"editor-main",class:"gray"===e.theme?"editor-gray":"light"===e.theme?"editor-light":""},[t("Toolbar",{staticClass:"relative edm-wang-toolbar",staticStyle:{"z-index":"101"},attrs:{editor:e.editor,"default-config":e.toolbarConfig}}),t("Editor",{staticClass:"relative",style:"height: "+e.height+"px; overflow-y: hidden;z-index: 100;",attrs:{"default-config":e.editorConfig},on:{onCreated:e.onCreated},model:{value:e.content,callback:function(t){e.content=t},expression:"content"}})],1)},bh=[],wh="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof i.g?i.g:"undefined"!=typeof self?self:{};function _h(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Ch(e){var t={exports:{}};return e(t,t.exports),t.exports}var xh,Sh,kh=function(e){return e&&e.Math==Math&&e},Eh=kh("object"==typeof globalThis&&globalThis)||kh("object"==typeof window&&window)||kh("object"==typeof self&&self)||kh("object"==typeof wh&&wh)||function(){return this}()||Function("return this")(),Ah=Function.prototype,Dh=Ah.apply,Oh=Ah.bind,Th=Ah.call,Ih="object"==typeof Reflect&&Reflect.apply||(Oh?Th.bind(Dh):function(){return Th.apply(Dh,arguments)}),Ph=Function.prototype,Fh=Ph.bind,Mh=Ph.call,Bh=Fh&&Fh.bind(Mh),Nh=Fh?function(e){return e&&Bh(Mh,e)}:function(e){return e&&function(){return Mh.apply(e,arguments)}},Rh=function(e){return"function"==typeof e},$h=function(e){try{return!!e()}catch(e){return!0}},jh=!$h((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),Lh=Function.prototype.call,zh=Lh.bind?Lh.bind(Lh):function(){return Lh.apply(Lh,arguments)},Vh={}.propertyIsEnumerable,Hh=Object.getOwnPropertyDescriptor,Uh=Hh&&!Vh.call({1:2},1)?function(e){var t=Hh(this,e);return!!t&&t.enumerable}:Vh,Wh={f:Uh},qh=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Yh=Nh({}.toString),Gh=Nh("".slice),Kh=function(e){return Gh(Yh(e),8,-1)},Xh=Eh.Object,Zh=Nh("".split),Jh=$h((function(){return!Xh("z").propertyIsEnumerable(0)}))?function(e){return"String"==Kh(e)?Zh(e,""):Xh(e)}:Xh,Qh=Eh.TypeError,ep=function(e){if(null==e)throw Qh("Can't call method on "+e);return e},tp=function(e){return Jh(ep(e))},np=function(e){return"object"==typeof e?null!==e:Rh(e)},ip={},rp=function(e){return Rh(e)?e:void 0},op=function(e,t){return arguments.length<2?rp(ip[e])||rp(Eh[e]):ip[e]&&ip[e][t]||Eh[e]&&Eh[e][t]},ap=Nh({}.isPrototypeOf),sp=op("navigator","userAgent")||"",lp=Eh.process,cp=Eh.Deno,up=lp&&lp.versions||cp&&cp.version,dp=up&&up.v8;dp&&(Sh=(xh=dp.split("."))[0]>0&&xh[0]<4?1:+(xh[0]+xh[1])),!Sh&&sp&&(!(xh=sp.match(/Edge\/(\d+)/))||xh[1]>=74)&&(xh=sp.match(/Chrome\/(\d+)/))&&(Sh=+xh[1]);var hp,pp=Sh,fp=!!Object.getOwnPropertySymbols&&!$h((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&pp&&pp<41})),mp=fp&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,gp=Eh.Object,vp=mp?function(e){return"symbol"==typeof e}:function(e){var t=op("Symbol");return Rh(t)&&ap(t.prototype,gp(e))},yp=Eh.String,bp=function(e){try{return yp(e)}catch(e){return"Object"}},wp=Eh.TypeError,_p=function(e){if(Rh(e))return e;throw wp(bp(e)+" is not a function")},Cp=function(e,t){var n=e[t];return null==n?void 0:_p(n)},xp=Eh.TypeError,Sp=Object.defineProperty,kp=Eh["__core-js_shared__"]||function(e,t){try{Sp(Eh,e,{value:t,configurable:!0,writable:!0})}catch(Ch){Eh[e]=t}return t}("__core-js_shared__",{}),Ep=Ch((function(e){(e.exports=function(e,t){return kp[e]||(kp[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"pure",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),Ap=Eh.Object,Dp=function(e){return Ap(ep(e))},Op=Nh({}.hasOwnProperty),Tp=Object.hasOwn||function(e,t){return Op(Dp(e),t)},Ip=0,Pp=Math.random(),Fp=Nh(1..toString),Mp=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Fp(++Ip+Pp,36)},Bp=Ep("wks"),Np=Eh.Symbol,Rp=Np&&Np.for,$p=mp?Np:Np&&Np.withoutSetter||Mp,jp=function(e){if(!Tp(Bp,e)||!fp&&"string"!=typeof Bp[e]){var t="Symbol."+e;fp&&Tp(Np,e)?Bp[e]=Np[e]:Bp[e]=mp&&Rp?Rp(t):$p(t)}return Bp[e]},Lp=Eh.TypeError,zp=jp("toPrimitive"),Vp=function(e,t){if(!np(e)||vp(e))return e;var n,i=Cp(e,zp);if(i){if(void 0===t&&(t="default"),n=zh(i,e,t),!np(n)||vp(n))return n;throw Lp("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,i;if("string"===t&&Rh(n=e.toString)&&!np(i=zh(n,e)))return i;if(Rh(n=e.valueOf)&&!np(i=zh(n,e)))return i;if("string"!==t&&Rh(n=e.toString)&&!np(i=zh(n,e)))return i;throw xp("Can't convert object to primitive value")}(e,t)},Hp=function(e){var t=Vp(e,"string");return vp(t)?t:t+""},Up=Eh.document,Wp=np(Up)&&np(Up.createElement),qp=function(e){return Wp?Up.createElement(e):{}},Yp=!jh&&!$h((function(){return 7!=Object.defineProperty(qp("div"),"a",{get:function(){return 7}}).a})),Gp=Object.getOwnPropertyDescriptor,Kp=jh?Gp:function(e,t){if(e=tp(e),t=Hp(t),Yp)try{return Gp(e,t)}catch(e){}if(Tp(e,t))return qh(!zh(Wh.f,e,t),e[t])},Xp={f:Kp},Zp=/#|\.prototype\./,Jp=function(e,t){var n=ef[Qp(e)];return n==nf||n!=tf&&(Rh(t)?$h(t):!!t)},Qp=Jp.normalize=function(e){return String(e).replace(Zp,".").toLowerCase()},ef=Jp.data={},tf=Jp.NATIVE="N",nf=Jp.POLYFILL="P",rf=Jp,of=Nh(Nh.bind),af=function(e,t){return _p(e),void 0===t?e:of?of(e,t):function(){return e.apply(t,arguments)}},sf=Eh.String,lf=Eh.TypeError,cf=function(e){if(np(e))return e;throw lf(sf(e)+" is not an object")},uf=Eh.TypeError,df=Object.defineProperty,hf=jh?df:function(e,t,n){if(cf(e),t=Hp(t),cf(n),Yp)try{return df(e,t,n)}catch(e){}if("get"in n||"set"in n)throw uf("Accessors not supported");return"value"in n&&(e[t]=n.value),e},pf={f:hf},ff=jh?function(e,t,n){return pf.f(e,t,qh(1,n))}:function(e,t,n){return e[t]=n,e},mf=Xp.f,gf=function(e){var t=function(n,i,r){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,i)}return new e(n,i,r)}return Ih(e,this,arguments)};return t.prototype=e.prototype,t},vf=function(e,t){var n,i,r,o,a,s,l,c,u=e.target,d=e.global,h=e.stat,p=e.proto,f=d?Eh:h?Eh[u]:(Eh[u]||{}).prototype,m=d?ip:ip[u]||ff(ip,u,{})[u],g=m.prototype;for(r in t)n=!rf(d?r:u+(h?".":"#")+r,e.forced)&&f&&Tp(f,r),a=m[r],n&&(s=e.noTargetGet?(c=mf(f,r))&&c.value:f[r]),o=n&&s?s:t[r],n&&typeof a==typeof o||(l=e.bind&&n?af(o,Eh):e.wrap&&n?gf(o):p&&Rh(o)?Nh(o):o,(e.sham||o&&o.sham||a&&a.sham)&&ff(l,"sham",!0),ff(m,r,l),p&&(Tp(ip,i=u+"Prototype")||ff(ip,i,{}),ff(ip[i],r,o),e.real&&g&&!g[r]&&ff(g,r,o)))},yf=Ep("keys"),bf=function(e){return yf[e]||(yf[e]=Mp(e))},wf=!$h((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),_f=bf("IE_PROTO"),Cf=Eh.Object,xf=Cf.prototype,Sf=wf?Cf.getPrototypeOf:function(e){var t=Dp(e);if(Tp(t,_f))return t[_f];var n=t.constructor;return Rh(n)&&t instanceof n?n.prototype:t instanceof Cf?xf:null},kf=Eh.String,Ef=Eh.TypeError,Af=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Nh(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return cf(n),function(e){if("object"==typeof e||Rh(e))return e;throw Ef("Can't set "+kf(e)+" as a prototype")}(i),t?e(n,i):n.__proto__=i,n}}():void 0),Df=Math.ceil,Of=Math.floor,Tf=function(e){var t=+e;return t!=t||0===t?0:(t>0?Of:Df)(t)},If=Math.max,Pf=Math.min,Ff=function(e,t){var n=Tf(e);return n<0?If(n+t,0):Pf(n,t)},Mf=Math.min,Bf=function(e){return(t=e.length)>0?Mf(Tf(t),9007199254740991):0;var t},Nf=function(e){return function(t,n,i){var r,o=tp(t),a=Bf(o),s=Ff(i,a);if(e&&n!=n){for(;a>s;)if((r=o[s++])!=r)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},Rf={includes:Nf(!0),indexOf:Nf(!1)},$f={},jf=Rf.indexOf,Lf=Nh([].push),zf=function(e,t){var n,i=tp(e),r=0,o=[];for(n in i)!Tp($f,n)&&Tp(i,n)&&Lf(o,n);for(;t.length>r;)Tp(i,n=t[r++])&&(~jf(o,n)||Lf(o,n));return o},Vf=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Hf=Vf.concat("length","prototype"),Uf=Object.getOwnPropertyNames||function(e){return zf(e,Hf)},Wf={f:Uf},qf={f:Object.getOwnPropertySymbols},Yf=Nh([].concat),Gf=op("Reflect","ownKeys")||function(e){var t=Wf.f(cf(e)),n=qf.f;return n?Yf(t,n(e)):t},Kf=Object.keys||function(e){return zf(e,Vf)},Xf=jh?Object.defineProperties:function(e,t){cf(e);for(var n,i=tp(t),r=Kf(t),o=r.length,a=0;o>a;)pf.f(e,n=r[a++],i[n]);return e},Zf=op("document","documentElement"),Jf=bf("IE_PROTO"),Qf=function(){},em=function(e){return"<script>"+e+"<\/script>"},tm=function(e){e.write(em("")),e.close();var t=e.parentWindow.Object;return e=null,t},nm=function(){try{hp=new ActiveXObject("htmlfile")}catch(e){}var e,t;nm="undefined"!=typeof document?document.domain&&hp?tm(hp):((t=qp("iframe")).style.display="none",Zf.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(em("document.F=Object")),e.close(),e.F):tm(hp);for(var n=Vf.length;n--;)delete nm.prototype[Vf[n]];return nm()};$f[Jf]=!0;var im=Object.create||function(e,t){var n;return null!==e?(Qf.prototype=cf(e),n=new Qf,Qf.prototype=null,n[Jf]=e):n=nm(),void 0===t?n:Xf(n,t)},rm=function(e,t,n){var i=Hp(t);i in e?pf.f(e,i,qh(0,n)):e[i]=n},om=Eh.Array,am=Math.max,sm=function(e,t,n){for(var i=Bf(e),r=Ff(t,i),o=Ff(void 0===n?i:n,i),a=om(am(o-r,0)),s=0;r<o;r++,s++)rm(a,s,e[r]);return a.length=s,a},lm=Nh("".replace),cm=Nh("".split),um=Nh([].join),dm=String(Error("zxcasd").stack),hm=/\n\s*at [^:]*:[^\n]*/,pm=hm.test(dm),fm=/@[^\n]*\n/.test(dm)&&!/zxcasd/.test(dm),mm=function(e,t){if("string"!=typeof e)return e;if(pm)for(;t--;)e=lm(e,hm,"");else if(fm)return um(sm(cm(e,"\n"),t),"\n");return e},gm=function(e,t){np(t)&&"cause"in t&&ff(e,"cause",t.cause)},vm={},ym=jp("iterator"),bm=Array.prototype,wm={};wm[jp("toStringTag")]="z";var _m="[object z]"===String(wm),Cm=jp("toStringTag"),xm=Eh.Object,Sm="Arguments"==Kh(function(){return arguments}()),km=_m?Kh:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=xm(e),Cm))?n:Sm?Kh(t):"Object"==(i=Kh(t))&&Rh(t.callee)?"Arguments":i},Em=jp("iterator"),Am=function(e){if(null!=e)return Cp(e,Em)||Cp(e,"@@iterator")||vm[km(e)]},Dm=Eh.TypeError,Om=function(e,t,n){var i,r;cf(e);try{if(!(i=Cp(e,"return"))){if("throw"===t)throw n;return n}i=zh(i,e)}catch(e){r=!0,i=e}if("throw"===t)throw n;if(r)throw i;return cf(i),n},Tm=Eh.TypeError,Im=function(e,t){this.stopped=e,this.result=t},Pm=Im.prototype,Fm=function(e,t,n){var i,r,o,a,s,l,c,u=n&&n.that,d=!(!n||!n.AS_ENTRIES),h=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),f=af(t,u),m=function(e){return i&&Om(i,"normal",e),new Im(!0,e)},g=function(e){return d?(cf(e),p?f(e[0],e[1],m):f(e[0],e[1])):p?f(e,m):f(e)};if(h)i=e;else{if(!(r=Am(e)))throw Tm(bp(e)+" is not iterable");if(function(e){return void 0!==e&&(vm.Array===e||bm[ym]===e)}(r)){for(o=0,a=Bf(e);a>o;o++)if((s=g(e[o]))&&ap(Pm,s))return s;return new Im(!1)}i=function(e,t){var n=arguments.length<2?Am(e):t;if(_p(n))return cf(zh(n,e));throw Dm(bp(e)+" is not iterable")}(e,r)}for(l=i.next;!(c=zh(l,i)).done;){try{s=g(c.value)}catch(e){Om(i,"throw",e)}if("object"==typeof s&&s&&ap(Pm,s))return s}return new Im(!1)},Mm=Eh.String,Bm=function(e){if("Symbol"===km(e))throw TypeError("Cannot convert a Symbol value to a string");return Mm(e)},Nm=function(e,t){return void 0===e?arguments.length<2?"":t:Bm(e)},Rm=!$h((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",qh(1,7)),7!==e.stack)})),$m=jp("toStringTag"),jm=Eh.Error,Lm=[].push,zm=function(e,t){var n,i=arguments.length>2?arguments[2]:void 0,r=ap(Vm,this);Af?n=Af(new jm(void 0),r?Sf(this):Vm):(n=r?this:im(Vm),ff(n,$m,"Error")),ff(n,"message",Nm(t,"")),Rm&&ff(n,"stack",mm(n.stack,1)),gm(n,i);var o=[];return Fm(e,Lm,{that:o}),ff(n,"errors",o),n};Af?Af(zm,jm):function(e,t){for(var n=Gf(t),i=pf.f,r=Xp.f,o=0;o<n.length;o++){var a=n[o];Tp(e,a)||i(e,a,r(t,a))}}(zm,jm);var Vm=zm.prototype=im(jm.prototype,{constructor:qh(1,zm),message:qh(1,""),name:qh(1,"AggregateError")});vf({global:!0},{AggregateError:zm});var Hm=Nh(Function.toString);Rh(kp.inspectSource)||(kp.inspectSource=function(e){return Hm(e)});var Um,Wm,qm,Ym=kp.inspectSource,Gm=Eh.WeakMap,Km=Rh(Gm)&&/native code/.test(Ym(Gm)),Xm=Eh.TypeError,Zm=Eh.WeakMap;if(Km||kp.state){var Jm=kp.state||(kp.state=new Zm),Qm=Nh(Jm.get),eg=Nh(Jm.has),tg=Nh(Jm.set);Um=function(e,t){if(eg(Jm,e))throw new Xm("Object already initialized");return t.facade=e,tg(Jm,e,t),t},Wm=function(e){return Qm(Jm,e)||{}},qm=function(e){return eg(Jm,e)}}else{var ng=bf("state");$f[ng]=!0,Um=function(e,t){if(Tp(e,ng))throw new Xm("Object already initialized");return t.facade=e,ff(e,ng,t),t},Wm=function(e){return Tp(e,ng)?e[ng]:{}},qm=function(e){return Tp(e,ng)}}var ig,rg,og,ag={set:Um,get:Wm,has:qm,enforce:function(e){return qm(e)?Wm(e):Um(e,{})},getterFor:function(e){return function(t){var n;if(!np(t)||(n=Wm(t)).type!==e)throw Xm("Incompatible receiver, "+e+" required");return n}}},sg=Function.prototype,lg=jh&&Object.getOwnPropertyDescriptor,cg=Tp(sg,"name"),ug={EXISTS:cg,PROPER:cg&&"something"===function(){}.name,CONFIGURABLE:cg&&(!jh||jh&&lg(sg,"name").configurable)},dg=function(e,t,n,i){i&&i.enumerable?e[t]=n:ff(e,t,n)},hg=jp("iterator"),pg=!1;[].keys&&("next"in(og=[].keys())?(rg=Sf(Sf(og)))!==Object.prototype&&(ig=rg):pg=!0);var fg=null==ig||$h((function(){var e={};return ig[hg].call(e)!==e}));ig=fg?{}:im(ig),Rh(ig[hg])||dg(ig,hg,(function(){return this}));var mg={IteratorPrototype:ig,BUGGY_SAFARI_ITERATORS:pg},gg=_m?{}.toString:function(){return"[object "+km(this)+"]"},vg=pf.f,yg=jp("toStringTag"),bg=function(e,t,n,i){if(e){var r=n?e:e.prototype;Tp(r,yg)||vg(r,yg,{configurable:!0,value:t}),i&&!_m&&ff(r,"toString",gg)}},wg=mg.IteratorPrototype,_g=function(){return this},Cg=ug.PROPER,xg=mg.BUGGY_SAFARI_ITERATORS,Sg=jp("iterator"),kg=function(){return this},Eg=function(e,t,n,i,r,o,a){!function(e,t,n,i){var r=t+" Iterator";e.prototype=im(wg,{next:qh(+!i,n)}),bg(e,r,!1,!0),vm[r]=_g}(n,t,i);var s,l,c,u=function(e){if(e===r&&m)return m;if(!xg&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",h=!1,p=e.prototype,f=p[Sg]||p["@@iterator"]||r&&p[r],m=!xg&&f||u(r),g="Array"==t&&p.entries||f;if(g&&(s=Sf(g.call(new e)))!==Object.prototype&&s.next&&(bg(s,d,!0,!0),vm[d]=kg),Cg&&"values"==r&&f&&"values"!==f.name&&(h=!0,m=function(){return zh(f,this)}),r)if(l={values:u("values"),keys:o?m:u("keys"),entries:u("entries")},a)for(c in l)(xg||h||!(c in p))&&dg(p,c,l[c]);else vf({target:t,proto:!0,forced:xg||h},l);return a&&p[Sg]!==m&&dg(p,Sg,m,{name:r}),vm[t]=m,l},Ag=ag.set,Dg=ag.getterFor("Array Iterator");Eg(Array,"Array",(function(e,t){Ag(this,{type:"Array Iterator",target:tp(e),index:0,kind:t})}),(function(){var e=Dg(this),t=e.target,n=e.kind,i=e.index++;return!t||i>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:t[i],done:!1}:{value:[i,t[i]],done:!1}}),"values"),vm.Arguments=vm.Array;var Og=Nh("".charAt),Tg=Nh("".charCodeAt),Ig=Nh("".slice),Pg=function(e){return function(t,n){var i,r,o=Bm(ep(t)),a=Tf(n),s=o.length;return a<0||a>=s?e?"":void 0:(i=Tg(o,a))<55296||i>56319||a+1===s||(r=Tg(o,a+1))<56320||r>57343?e?Og(o,a):i:e?Ig(o,a,a+2):r-56320+(i-55296<<10)+65536}},Fg={codeAt:Pg(!1),charAt:Pg(!0)}.charAt,Mg=ag.set,Bg=ag.getterFor("String Iterator");Eg(String,"String",(function(e){Mg(this,{type:"String Iterator",string:Bm(e),index:0})}),(function(){var e,t=Bg(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=Fg(n,i),t.index+=e.length,{value:e,done:!1})}));var Ng=ip.AggregateError,Rg=jp("toStringTag");for(var $g in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var jg=Eh[$g],Lg=jg&&jg.prototype;Lg&&km(Lg)!==Rg&&ff(Lg,Rg,$g),vm[$g]=vm.Array}var zg,Vg,Hg=Ng,Ug=function(e){return e&&e.Math==Math&&e},Wg=Ug("object"==typeof globalThis&&globalThis)||Ug("object"==typeof window&&window)||Ug("object"==typeof self&&self)||Ug("object"==typeof wh&&wh)||function(){return this}()||Function("return this")(),qg=function(e){try{return!!e()}catch(e){return!0}},Yg=!qg((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),Gg=Function.prototype.call,Kg=Gg.bind?Gg.bind(Gg):function(){return Gg.apply(Gg,arguments)},Xg={}.propertyIsEnumerable,Zg=Object.getOwnPropertyDescriptor,Jg=Zg&&!Xg.call({1:2},1)?function(e){var t=Zg(this,e);return!!t&&t.enumerable}:Xg,Qg={f:Jg},ev=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},tv=Function.prototype,nv=tv.bind,iv=tv.call,rv=nv&&nv.bind(iv),ov=nv?function(e){return e&&rv(iv,e)}:function(e){return e&&function(){return iv.apply(e,arguments)}},av=ov({}.toString),sv=ov("".slice),lv=function(e){return sv(av(e),8,-1)},cv=Wg.Object,uv=ov("".split),dv=qg((function(){return!cv("z").propertyIsEnumerable(0)}))?function(e){return"String"==lv(e)?uv(e,""):cv(e)}:cv,hv=Wg.TypeError,pv=function(e){if(null==e)throw hv("Can't call method on "+e);return e},fv=function(e){return dv(pv(e))},mv=function(e){return"function"==typeof e},gv=function(e){return"object"==typeof e?null!==e:mv(e)},vv=function(e){return mv(e)?e:void 0},yv=function(e,t){return arguments.length<2?vv(Wg[e]):Wg[e]&&Wg[e][t]},bv=ov({}.isPrototypeOf),wv=yv("navigator","userAgent")||"",_v=Wg.process,Cv=Wg.Deno,xv=_v&&_v.versions||Cv&&Cv.version,Sv=xv&&xv.v8;Sv&&(Vg=(zg=Sv.split("."))[0]>0&&zg[0]<4?1:+(zg[0]+zg[1])),!Vg&&wv&&(!(zg=wv.match(/Edge\/(\d+)/))||zg[1]>=74)&&(zg=wv.match(/Chrome\/(\d+)/))&&(Vg=+zg[1]);var kv=Vg,Ev=!!Object.getOwnPropertySymbols&&!qg((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&kv&&kv<41})),Av=Ev&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Dv=Wg.Object,Ov=Av?function(e){return"symbol"==typeof e}:function(e){var t=yv("Symbol");return mv(t)&&bv(t.prototype,Dv(e))},Tv=Wg.String,Iv=function(e){try{return Tv(e)}catch(e){return"Object"}},Pv=Wg.TypeError,Fv=function(e){if(mv(e))return e;throw Pv(Iv(e)+" is not a function")},Mv=function(e,t){var n=e[t];return null==n?void 0:Fv(n)},Bv=Wg.TypeError,Nv=Object.defineProperty,Rv=function(e,t){try{Nv(Wg,e,{value:t,configurable:!0,writable:!0})}catch(Ch){Wg[e]=t}return t},$v=Wg["__core-js_shared__"]||Rv("__core-js_shared__",{}),jv=Ch((function(e){(e.exports=function(e,t){return $v[e]||($v[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),Lv=Wg.Object,zv=function(e){return Lv(pv(e))},Vv=ov({}.hasOwnProperty),Hv=Object.hasOwn||function(e,t){return Vv(zv(e),t)},Uv=0,Wv=Math.random(),qv=ov(1..toString),Yv=function(e){return"Symbol("+(void 0===e?"":e)+")_"+qv(++Uv+Wv,36)},Gv=jv("wks"),Kv=Wg.Symbol,Xv=Kv&&Kv.for,Zv=Av?Kv:Kv&&Kv.withoutSetter||Yv,Jv=function(e){if(!Hv(Gv,e)||!Ev&&"string"!=typeof Gv[e]){var t="Symbol."+e;Ev&&Hv(Kv,e)?Gv[e]=Kv[e]:Gv[e]=Av&&Xv?Xv(t):Zv(t)}return Gv[e]},Qv=Wg.TypeError,ey=Jv("toPrimitive"),ty=function(e,t){if(!gv(e)||Ov(e))return e;var n,i=Mv(e,ey);if(i){if(void 0===t&&(t="default"),n=Kg(i,e,t),!gv(n)||Ov(n))return n;throw Qv("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,i;if("string"===t&&mv(n=e.toString)&&!gv(i=Kg(n,e)))return i;if(mv(n=e.valueOf)&&!gv(i=Kg(n,e)))return i;if("string"!==t&&mv(n=e.toString)&&!gv(i=Kg(n,e)))return i;throw Bv("Can't convert object to primitive value")}(e,t)},ny=function(e){var t=ty(e,"string");return Ov(t)?t:t+""},iy=Wg.document,ry=gv(iy)&&gv(iy.createElement),oy=function(e){return ry?iy.createElement(e):{}},ay=!Yg&&!qg((function(){return 7!=Object.defineProperty(oy("div"),"a",{get:function(){return 7}}).a})),sy=Object.getOwnPropertyDescriptor,ly=Yg?sy:function(e,t){if(e=fv(e),t=ny(t),ay)try{return sy(e,t)}catch(e){}if(Hv(e,t))return ev(!Kg(Qg.f,e,t),e[t])},cy={f:ly},uy=Wg.String,dy=Wg.TypeError,hy=function(e){if(gv(e))return e;throw dy(uy(e)+" is not an object")},py=Wg.TypeError,fy=Object.defineProperty,my=Yg?fy:function(e,t,n){if(hy(e),t=ny(t),hy(n),ay)try{return fy(e,t,n)}catch(e){}if("get"in n||"set"in n)throw py("Accessors not supported");return"value"in n&&(e[t]=n.value),e},gy={f:my},vy=Yg?function(e,t,n){return gy.f(e,t,ev(1,n))}:function(e,t,n){return e[t]=n,e},yy=ov(Function.toString);mv($v.inspectSource)||($v.inspectSource=function(e){return yy(e)});var by,wy,_y,Cy=$v.inspectSource,xy=Wg.WeakMap,Sy=mv(xy)&&/native code/.test(Cy(xy)),ky=jv("keys"),Ey=function(e){return ky[e]||(ky[e]=Yv(e))},Ay={},Dy=Wg.TypeError,Oy=Wg.WeakMap;if(Sy||$v.state){var Ty=$v.state||($v.state=new Oy),Iy=ov(Ty.get),Py=ov(Ty.has),Fy=ov(Ty.set);by=function(e,t){if(Py(Ty,e))throw new Dy("Object already initialized");return t.facade=e,Fy(Ty,e,t),t},wy=function(e){return Iy(Ty,e)||{}},_y=function(e){return Py(Ty,e)}}else{var My=Ey("state");Ay[My]=!0,by=function(e,t){if(Hv(e,My))throw new Dy("Object already initialized");return t.facade=e,vy(e,My,t),t},wy=function(e){return Hv(e,My)?e[My]:{}},_y=function(e){return Hv(e,My)}}var By={set:by,get:wy,has:_y,enforce:function(e){return _y(e)?wy(e):by(e,{})},getterFor:function(e){return function(t){var n;if(!gv(t)||(n=wy(t)).type!==e)throw Dy("Incompatible receiver, "+e+" required");return n}}},Ny=Function.prototype,Ry=Yg&&Object.getOwnPropertyDescriptor,$y=Hv(Ny,"name"),jy={EXISTS:$y,PROPER:$y&&"something"===function(){}.name,CONFIGURABLE:$y&&(!Yg||Yg&&Ry(Ny,"name").configurable)},Ly=Ch((function(e){var t=jy.CONFIGURABLE,n=By.get,i=By.enforce,r=String(String).split("String");(e.exports=function(e,n,o,a){var s,l=!!a&&!!a.unsafe,c=!!a&&!!a.enumerable,u=!!a&&!!a.noTargetGet,d=a&&void 0!==a.name?a.name:n;mv(o)&&("Symbol("===String(d).slice(0,7)&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Hv(o,"name")||t&&o.name!==d)&&vy(o,"name",d),(s=i(o)).source||(s.source=r.join("string"==typeof d?d:""))),e!==Wg?(l?!u&&e[n]&&(c=!0):delete e[n],c?e[n]=o:vy(e,n,o)):c?e[n]=o:Rv(n,o)})(Function.prototype,"toString",(function(){return mv(this)&&n(this).source||Cy(this)}))})),zy=Math.ceil,Vy=Math.floor,Hy=function(e){var t=+e;return t!=t||0===t?0:(t>0?Vy:zy)(t)},Uy=Math.max,Wy=Math.min,qy=function(e,t){var n=Hy(e);return n<0?Uy(n+t,0):Wy(n,t)},Yy=Math.min,Gy=function(e){return e>0?Yy(Hy(e),9007199254740991):0},Ky=function(e){return Gy(e.length)},Xy=function(e){return function(t,n,i){var r,o=fv(t),a=Ky(o),s=qy(i,a);if(e&&n!=n){for(;a>s;)if((r=o[s++])!=r)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},Zy={includes:Xy(!0),indexOf:Xy(!1)}.indexOf,Jy=ov([].push),Qy=function(e,t){var n,i=fv(e),r=0,o=[];for(n in i)!Hv(Ay,n)&&Hv(i,n)&&Jy(o,n);for(;t.length>r;)Hv(i,n=t[r++])&&(~Zy(o,n)||Jy(o,n));return o},eb=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],tb=eb.concat("length","prototype"),nb=Object.getOwnPropertyNames||function(e){return Qy(e,tb)},ib={f:nb},rb={f:Object.getOwnPropertySymbols},ob=ov([].concat),ab=yv("Reflect","ownKeys")||function(e){var t=ib.f(hy(e)),n=rb.f;return n?ob(t,n(e)):t},sb=function(e,t){for(var n=ab(t),i=gy.f,r=cy.f,o=0;o<n.length;o++){var a=n[o];Hv(e,a)||i(e,a,r(t,a))}},lb=/#|\.prototype\./,cb=function(e,t){var n=db[ub(e)];return n==pb||n!=hb&&(mv(t)?qg(t):!!t)},ub=cb.normalize=function(e){return String(e).replace(lb,".").toLowerCase()},db=cb.data={},hb=cb.NATIVE="N",pb=cb.POLYFILL="P",fb=cb,mb=cy.f,gb=function(e,t){var n,i,r,o,a,s=e.target,l=e.global,c=e.stat;if(n=l?Wg:c?Wg[s]||Rv(s,{}):(Wg[s]||{}).prototype)for(i in t){if(o=t[i],r=e.noTargetGet?(a=mb(n,i))&&a.value:n[i],!fb(l?i:s+(c?".":"#")+i,e.forced)&&void 0!==r){if(typeof o==typeof r)continue;sb(o,r)}(e.sham||r&&r.sham)&&vy(o,"sham",!0),Ly(n,i,o,e)}},vb={};vb[Jv("toStringTag")]="z";var yb,bb="[object z]"===String(vb),wb=Jv("toStringTag"),_b=Wg.Object,Cb="Arguments"==lv(function(){return arguments}()),xb=bb?lv:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=_b(e),wb))?n:Cb?lv(t):"Object"==(i=lv(t))&&mv(t.callee)?"Arguments":i},Sb=Wg.String,kb=function(e){if("Symbol"===xb(e))throw TypeError("Cannot convert a Symbol value to a string");return Sb(e)},Eb=function(){var e=hy(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},Ab=Wg.RegExp,Db=qg((function(){var e=Ab("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),Ob=Db||qg((function(){return!Ab("a","y").sticky})),Tb=Db||qg((function(){var e=Ab("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),Ib={BROKEN_CARET:Tb,MISSED_STICKY:Ob,UNSUPPORTED_Y:Db},Pb=Object.keys||function(e){return Qy(e,eb)},Fb=Yg?Object.defineProperties:function(e,t){hy(e);for(var n,i=fv(t),r=Pb(t),o=r.length,a=0;o>a;)gy.f(e,n=r[a++],i[n]);return e},Mb=yv("document","documentElement"),Bb=Ey("IE_PROTO"),Nb=function(){},Rb=function(e){return"<script>"+e+"<\/script>"},$b=function(e){e.write(Rb("")),e.close();var t=e.parentWindow.Object;return e=null,t},jb=function(){try{yb=new ActiveXObject("htmlfile")}catch(e){}var e,t;jb="undefined"!=typeof document?document.domain&&yb?$b(yb):((t=oy("iframe")).style.display="none",Mb.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Rb("document.F=Object")),e.close(),e.F):$b(yb);for(var n=eb.length;n--;)delete jb.prototype[eb[n]];return jb()};Ay[Bb]=!0;var Lb,zb,Vb=Object.create||function(e,t){var n;return null!==e?(Nb.prototype=hy(e),n=new Nb,Nb.prototype=null,n[Bb]=e):n=jb(),void 0===t?n:Fb(n,t)},Hb=Wg.RegExp,Ub=qg((function(){var e=Hb(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),Wb=Wg.RegExp,qb=qg((function(){var e=Wb("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),Yb=By.get,Gb=jv("native-string-replace",String.prototype.replace),Kb=RegExp.prototype.exec,Xb=Kb,Zb=ov("".charAt),Jb=ov("".indexOf),Qb=ov("".replace),ew=ov("".slice),tw=(zb=/b*/g,Kg(Kb,Lb=/a/,"a"),Kg(Kb,zb,"a"),0!==Lb.lastIndex||0!==zb.lastIndex),nw=Ib.BROKEN_CARET,iw=void 0!==/()??/.exec("")[1];(tw||iw||nw||Ub||qb)&&(Xb=function(e){var t,n,i,r,o,a,s,l=this,c=Yb(l),u=kb(e),d=c.raw;if(d)return d.lastIndex=l.lastIndex,t=Kg(Xb,d,u),l.lastIndex=d.lastIndex,t;var h=c.groups,p=nw&&l.sticky,f=Kg(Eb,l),m=l.source,g=0,v=u;if(p&&(f=Qb(f,"y",""),-1===Jb(f,"g")&&(f+="g"),v=ew(u,l.lastIndex),l.lastIndex>0&&(!l.multiline||l.multiline&&"\n"!==Zb(u,l.lastIndex-1))&&(m="(?: "+m+")",v=" "+v,g++),n=new RegExp("^(?:"+m+")",f)),iw&&(n=new RegExp("^"+m+"$(?!\\s)",f)),tw&&(i=l.lastIndex),r=Kg(Kb,p?n:l,v),p?r?(r.input=ew(r.input,g),r[0]=ew(r[0],g),r.index=l.lastIndex,l.lastIndex+=r[0].length):l.lastIndex=0:tw&&r&&(l.lastIndex=l.global?r.index+r[0].length:i),iw&&r&&r.length>1&&Kg(Gb,r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r&&h)for(r.groups=a=Vb(null),o=0;o<h.length;o++)a[(s=h[o])[0]]=r[s[1]];return r});var rw=Xb;gb({target:"RegExp",proto:!0,forced:/./.exec!==rw},{exec:rw});var ow=Jv("species"),aw=RegExp.prototype,sw=ov("".charAt),lw=ov("".charCodeAt),cw=ov("".slice),uw=function(e){return function(t,n){var i,r,o=kb(pv(t)),a=Hy(n),s=o.length;return a<0||a>=s?e?"":void 0:(i=lw(o,a))<55296||i>56319||a+1===s||(r=lw(o,a+1))<56320||r>57343?e?sw(o,a):i:e?cw(o,a,a+2):r-56320+(i-55296<<10)+65536}},dw={codeAt:uw(!1),charAt:uw(!0)},hw=dw.charAt,pw=function(e,t,n){return t+(n?hw(e,t).length:1)},fw=Wg.TypeError,mw=function(e,t){var n=e.exec;if(mv(n)){var i=Kg(n,e,t);return null!==i&&hy(i),i}if("RegExp"===lv(e))return Kg(rw,e,t);throw fw("RegExp#exec called on incompatible receiver")};!function(e,t,n,i){var r=Jv(e),o=!qg((function(){var t={};return t[r]=function(){return 7},7!=""[e](t)})),a=o&&!qg((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[ow]=function(){return n},n.flags="",n[r]=/./[r]),n.exec=function(){return t=!0,null},n[r](""),!t}));if(!o||!a||n){var s=ov(/./[r]),l=t(r,""[e],(function(e,t,n,i,r){var a=ov(e),l=t.exec;return l===rw||l===aw.exec?o&&!r?{done:!0,value:s(t,n,i)}:{done:!0,value:a(n,t,i)}:{done:!1}}));Ly(String.prototype,e,l[0]),Ly(aw,r,l[1])}i&&vy(aw[r],"sham",!0)}("match",(function(e,t,n){return[function(t){var n=pv(this),i=null==t?void 0:Mv(t,e);return i?Kg(i,t,n):new RegExp(t)[e](kb(n))},function(e){var i=hy(this),r=kb(e),o=n(t,i,r);if(o.done)return o.value;if(!i.global)return mw(i,r);var a=i.unicode;i.lastIndex=0;for(var s,l=[],c=0;null!==(s=mw(i,r));){var u=kb(s[0]);l[c]=u,""===u&&(i.lastIndex=pw(r,Gy(i.lastIndex),a)),c++}return 0===c?null:l}]})),gb({global:!0},{globalThis:Wg});var gw=!qg((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),vw=Ey("IE_PROTO"),yw=Wg.Object,bw=yw.prototype,ww=gw?yw.getPrototypeOf:function(e){var t=zv(e);if(Hv(t,vw))return t[vw];var n=t.constructor;return mv(n)&&t instanceof n?n.prototype:t instanceof yw?bw:null},_w=Wg.String,Cw=Wg.TypeError,xw=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=ov(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return hy(n),function(e){if("object"==typeof e||mv(e))return e;throw Cw("Can't set "+_w(e)+" as a prototype")}(i),t?e(n,i):n.__proto__=i,n}}():void 0),Sw=Wg.Array,kw=Math.max,Ew=ov("".replace),Aw=ov("".split),Dw=ov([].join),Ow=String(Error("zxcasd").stack),Tw=/\n\s*at [^:]*:[^\n]*/,Iw=Tw.test(Ow),Pw=/@[^\n]*\n/.test(Ow)&&!/zxcasd/.test(Ow),Fw=function(e,t){if("string"!=typeof e)return e;if(Iw)for(;t--;)e=Ew(e,Tw,"");else if(Pw)return Dw(function(e,t,n){for(var i,r,o,a,s=Ky(e),l=qy(t,s),c=qy(void 0===n?s:n,s),u=Sw(kw(c-l,0)),d=0;l<c;l++,d++)i=u,r=d,o=e[l],a=void 0,(a=ny(r))in i?gy.f(i,a,ev(0,o)):i[a]=o;return u.length=d,u}(Aw(e,"\n"),t),"\n");return e},Mw=function(e,t){gv(t)&&"cause"in t&&vy(e,"cause",t.cause)},Bw=ov(ov.bind),Nw=function(e,t){return Fv(e),void 0===t?e:Bw?Bw(e,t):function(){return e.apply(t,arguments)}},Rw={},$w=Jv("iterator"),jw=Array.prototype,Lw=Jv("iterator"),zw=function(e){if(null!=e)return Mv(e,Lw)||Mv(e,"@@iterator")||Rw[xb(e)]},Vw=Wg.TypeError,Hw=function(e,t,n){var i,r;hy(e);try{if(!(i=Mv(e,"return"))){if("throw"===t)throw n;return n}i=Kg(i,e)}catch(e){r=!0,i=e}if("throw"===t)throw n;if(r)throw i;return hy(i),n},Uw=Wg.TypeError,Ww=function(e,t){this.stopped=e,this.result=t},qw=Ww.prototype,Yw=function(e,t,n){var i,r,o,a,s,l,c,u=n&&n.that,d=!(!n||!n.AS_ENTRIES),h=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),f=Nw(t,u),m=function(e){return i&&Hw(i,"normal",e),new Ww(!0,e)},g=function(e){return d?(hy(e),p?f(e[0],e[1],m):f(e[0],e[1])):p?f(e,m):f(e)};if(h)i=e;else{if(!(r=zw(e)))throw Uw(Iv(e)+" is not iterable");if(function(e){return void 0!==e&&(Rw.Array===e||jw[$w]===e)}(r)){for(o=0,a=Ky(e);a>o;o++)if((s=g(e[o]))&&bv(qw,s))return s;return new Ww(!1)}i=function(e,t){var n=arguments.length<2?zw(e):t;if(Fv(n))return hy(Kg(n,e));throw Vw(Iv(e)+" is not iterable")}(e,r)}for(l=i.next;!(c=Kg(l,i)).done;){try{s=g(c.value)}catch(e){Hw(i,"throw",e)}if("object"==typeof s&&s&&bv(qw,s))return s}return new Ww(!1)},Gw=function(e,t){return void 0===e?arguments.length<2?"":t:kb(e)},Kw=!qg((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",ev(1,7)),7!==e.stack)})),Xw=Jv("toStringTag"),Zw=Wg.Error,Jw=[].push,Qw=function(e,t){var n,i=arguments.length>2?arguments[2]:void 0,r=bv(e_,this);xw?n=xw(new Zw(void 0),r?ww(this):e_):(n=r?this:Vb(e_),vy(n,Xw,"Error")),vy(n,"message",Gw(t,"")),Kw&&vy(n,"stack",Fw(n.stack,1)),Mw(n,i);var o=[];return Yw(e,Jw,{that:o}),vy(n,"errors",o),n};xw?xw(Qw,Zw):sb(Qw,Zw);var e_=Qw.prototype=Vb(Zw.prototype,{constructor:ev(1,Qw),message:ev(1,""),name:ev(1,"AggregateError")});gb({global:!0},{AggregateError:Qw});var t_=Jv("unscopables"),n_=Array.prototype;null==n_[t_]&&gy.f(n_,t_,{configurable:!0,value:Vb(null)});var i_,r_,o_,a_=function(e){n_[t_][e]=!0},s_=Jv("iterator"),l_=!1;[].keys&&("next"in(o_=[].keys())?(r_=ww(ww(o_)))!==Object.prototype&&(i_=r_):l_=!0);var c_=null==i_||qg((function(){var e={};return i_[s_].call(e)!==e}));c_&&(i_={}),mv(i_[s_])||Ly(i_,s_,(function(){return this}));var u_={IteratorPrototype:i_,BUGGY_SAFARI_ITERATORS:l_},d_=gy.f,h_=Jv("toStringTag"),p_=function(e,t,n){e&&!Hv(e=n?e:e.prototype,h_)&&d_(e,h_,{configurable:!0,value:t})},f_=u_.IteratorPrototype,m_=function(){return this},g_=jy.PROPER,v_=jy.CONFIGURABLE,y_=u_.IteratorPrototype,b_=u_.BUGGY_SAFARI_ITERATORS,w_=Jv("iterator"),__=function(){return this},C_=function(e,t,n,i,r,o,a){!function(e,t,n,i){var r=t+" Iterator";e.prototype=Vb(f_,{next:ev(+!i,n)}),p_(e,r,!1),Rw[r]=m_}(n,t,i);var s,l,c,u=function(e){if(e===r&&m)return m;if(!b_&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",h=!1,p=e.prototype,f=p[w_]||p["@@iterator"]||r&&p[r],m=!b_&&f||u(r),g="Array"==t&&p.entries||f;if(g&&(s=ww(g.call(new e)))!==Object.prototype&&s.next&&(ww(s)!==y_&&(xw?xw(s,y_):mv(s[w_])||Ly(s,w_,__)),p_(s,d,!0)),g_&&"values"==r&&f&&"values"!==f.name&&(v_?vy(p,"name","values"):(h=!0,m=function(){return Kg(f,this)})),r)if(l={values:u("values"),keys:o?m:u("keys"),entries:u("entries")},a)for(c in l)(b_||h||!(c in p))&&Ly(p,c,l[c]);else gb({target:t,proto:!0,forced:b_||h},l);return p[w_]!==m&&Ly(p,w_,m,{name:r}),Rw[t]=m,l},x_=By.set,S_=By.getterFor("Array Iterator"),k_=C_(Array,"Array",(function(e,t){x_(this,{type:"Array Iterator",target:fv(e),index:0,kind:t})}),(function(){var e=S_(this),t=e.target,n=e.kind,i=e.index++;return!t||i>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:t[i],done:!1}:{value:[i,t[i]],done:!1}}),"values");Rw.Arguments=Rw.Array,a_("keys"),a_("values"),a_("entries");var E_=dw.charAt,A_=By.set,D_=By.getterFor("String Iterator");C_(String,"String",(function(e){A_(this,{type:"String Iterator",string:kb(e),index:0})}),(function(){var e,t=D_(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=E_(n,i),t.index+=e.length,{value:e,done:!1})}));var O_,T_={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},I_=oy("span").classList,P_=I_&&I_.constructor&&I_.constructor.prototype,F_=P_===Object.prototype?void 0:P_,M_=Jv("iterator"),B_=Jv("toStringTag"),N_=k_.values,R_=function(e,t){if(e){if(e[M_]!==N_)try{vy(e,M_,N_)}catch(t){e[M_]=N_}if(e[B_]||vy(e,B_,t),T_[t])for(var n in k_)if(e[n]!==k_[n])try{vy(e,n,k_[n])}catch(t){e[n]=k_[n]}}};for(var $_ in T_)R_(Wg[$_]&&Wg[$_].prototype,$_);function j_(){"undefined"==typeof globalThis&&(window.globalThis=window)}function L_(){void 0===Hg&&(window.AggregateError=function(e,t){var n=new Error(t);return n.errors=e,n})}R_(F_,"DOMTokenList"),"undefined"==typeof i.g?("ActiveXObject"in window&&console.error("抱歉,wangEditor V5+ 版本开始,不在支持 IE 浏览器\n Sorry, wangEditor V5+ versions do not support IE browser."),j_(),L_()):i.g&&(null===(O_=i.g.navigator)||void 0===O_?void 0:O_.userAgent.match("QQBrowser"))&&(j_(),L_());var z_,V_=Array.isArray||function(e){return"Array"==Kh(e)},H_=function(){},U_=[],W_=op("Reflect","construct"),q_=/^\s*(?:class|function)\b/,Y_=Nh(q_.exec),G_=!q_.exec(H_),K_=function(e){if(!Rh(e))return!1;try{return W_(H_,U_,e),!0}catch(e){return!1}},X_=!W_||$h((function(){var e;return K_(K_.call)||!K_(Object)||!K_((function(){e=!0}))||e}))?function(e){if(!Rh(e))return!1;switch(km(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return G_||!!Y_(q_,Ym(e))}:K_,Z_=jp("species"),J_=Eh.Array,Q_=function(e,t){return new(function(e){var t;return V_(e)&&(t=e.constructor,(X_(t)&&(t===J_||V_(t.prototype))||np(t)&&null===(t=t[Z_]))&&(t=void 0)),void 0===t?J_:t}(e))(0===t?0:t)},eC=jp("species"),tC=jp("isConcatSpreadable"),nC=Eh.TypeError,iC=pp>=51||!$h((function(){var e=[];return e[tC]=!1,e.concat()[0]!==e})),rC=(z_="concat",pp>=51||!$h((function(){var e=[];return(e.constructor={})[eC]=function(){return{foo:1}},1!==e[z_](Boolean).foo}))),oC=function(e){if(!np(e))return!1;var t=e[tC];return void 0!==t?!!t:V_(e)};vf({target:"Array",proto:!0,forced:!iC||!rC},{concat:function(e){var t,n,i,r,o,a=Dp(this),s=Q_(a,0),l=0;for(t=-1,i=arguments.length;t<i;t++)if(oC(o=-1===t?a:arguments[t])){if(l+(r=Bf(o))>9007199254740991)throw nC("Maximum allowed index exceeded");for(n=0;n<r;n++,l++)n in o&&rm(s,l,o[n])}else{if(l>=9007199254740991)throw nC("Maximum allowed index exceeded");rm(s,l++,o)}return s.length=l,s}});var aC=Wf.f,sC="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],lC={f:function(e){return sC&&"Window"==Kh(e)?function(e){try{return aC(e)}catch(e){return sm(sC)}}(e):aC(tp(e))}},cC=Nh([].slice),uC={f:jp},dC=pf.f,hC=function(e){var t=ip.Symbol||(ip.Symbol={});Tp(t,e)||dC(t,e,{value:uC.f(e)})},pC=Nh([].push),fC=function(e){var t=1==e,n=2==e,i=3==e,r=4==e,o=6==e,a=7==e,s=5==e||o;return function(l,c,u,d){for(var h,p,f=Dp(l),m=Jh(f),g=af(c,u),v=Bf(m),y=0,b=d||Q_,w=t?b(l,v):n||a?b(l,0):void 0;v>y;y++)if((s||y in m)&&(p=g(h=m[y],y,f),e))if(t)w[y]=p;else if(p)switch(e){case 3:return!0;case 5:return h;case 6:return y;case 2:pC(w,h)}else switch(e){case 4:return!1;case 7:pC(w,h)}return o?-1:i||r?r:w}},mC={forEach:fC(0),map:fC(1),filter:fC(2),some:fC(3),every:fC(4),find:fC(5),findIndex:fC(6),filterReject:fC(7)}.forEach,gC=bf("hidden"),vC=jp("toPrimitive"),yC=ag.set,bC=ag.getterFor("Symbol"),wC=Object.prototype,_C=Eh.Symbol,CC=_C&&_C.prototype,xC=Eh.TypeError,SC=Eh.QObject,kC=op("JSON","stringify"),EC=Xp.f,AC=pf.f,DC=lC.f,OC=Wh.f,TC=Nh([].push),IC=Ep("symbols"),PC=Ep("op-symbols"),FC=Ep("string-to-symbol-registry"),MC=Ep("symbol-to-string-registry"),BC=Ep("wks"),NC=!SC||!SC.prototype||!SC.prototype.findChild,RC=jh&&$h((function(){return 7!=im(AC({},"a",{get:function(){return AC(this,"a",{value:7}).a}})).a}))?function(e,t,n){var i=EC(wC,t);i&&delete wC[t],AC(e,t,n),i&&e!==wC&&AC(wC,t,i)}:AC,$C=function(e,t){var n=IC[e]=im(CC);return yC(n,{type:"Symbol",tag:e,description:t}),jh||(n.description=t),n},jC=function(e,t,n){e===wC&&jC(PC,t,n),cf(e);var i=Hp(t);return cf(n),Tp(IC,i)?(n.enumerable?(Tp(e,gC)&&e[gC][i]&&(e[gC][i]=!1),n=im(n,{enumerable:qh(0,!1)})):(Tp(e,gC)||AC(e,gC,qh(1,{})),e[gC][i]=!0),RC(e,i,n)):AC(e,i,n)},LC=function(e,t){cf(e);var n=tp(t),i=Kf(n).concat(UC(n));return mC(i,(function(t){jh&&!zh(zC,n,t)||jC(e,t,n[t])})),e},zC=function(e){var t=Hp(e),n=zh(OC,this,t);return!(this===wC&&Tp(IC,t)&&!Tp(PC,t))&&(!(n||!Tp(this,t)||!Tp(IC,t)||Tp(this,gC)&&this[gC][t])||n)},VC=function(e,t){var n=tp(e),i=Hp(t);if(n!==wC||!Tp(IC,i)||Tp(PC,i)){var r=EC(n,i);return!r||!Tp(IC,i)||Tp(n,gC)&&n[gC][i]||(r.enumerable=!0),r}},HC=function(e){var t=DC(tp(e)),n=[];return mC(t,(function(e){Tp(IC,e)||Tp($f,e)||TC(n,e)})),n},UC=function(e){var t=e===wC,n=DC(t?PC:tp(e)),i=[];return mC(n,(function(e){!Tp(IC,e)||t&&!Tp(wC,e)||TC(i,IC[e])})),i};if(fp||(CC=(_C=function(){if(ap(CC,this))throw xC("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?Bm(arguments[0]):void 0,t=Mp(e),n=function(e){this===wC&&zh(n,PC,e),Tp(this,gC)&&Tp(this[gC],t)&&(this[gC][t]=!1),RC(this,t,qh(1,e))};return jh&&NC&&RC(wC,t,{configurable:!0,set:n}),$C(t,e)}).prototype,dg(CC,"toString",(function(){return bC(this).tag})),dg(_C,"withoutSetter",(function(e){return $C(Mp(e),e)})),Wh.f=zC,pf.f=jC,Xp.f=VC,Wf.f=lC.f=HC,qf.f=UC,uC.f=function(e){return $C(jp(e),e)},jh&&AC(CC,"description",{configurable:!0,get:function(){return bC(this).description}})),vf({global:!0,wrap:!0,forced:!fp,sham:!fp},{Symbol:_C}),mC(Kf(BC),(function(e){hC(e)})),vf({target:"Symbol",stat:!0,forced:!fp},{for:function(e){var t=Bm(e);if(Tp(FC,t))return FC[t];var n=_C(t);return FC[t]=n,MC[n]=t,n},keyFor:function(e){if(!vp(e))throw xC(e+" is not a symbol");if(Tp(MC,e))return MC[e]},useSetter:function(){NC=!0},useSimple:function(){NC=!1}}),vf({target:"Object",stat:!0,forced:!fp,sham:!jh},{create:function(e,t){return void 0===t?im(e):LC(im(e),t)},defineProperty:jC,defineProperties:LC,getOwnPropertyDescriptor:VC}),vf({target:"Object",stat:!0,forced:!fp},{getOwnPropertyNames:HC,getOwnPropertySymbols:UC}),vf({target:"Object",stat:!0,forced:$h((function(){qf.f(1)}))},{getOwnPropertySymbols:function(e){return qf.f(Dp(e))}}),kC){var WC=!fp||$h((function(){var e=_C();return"[null]"!=kC([e])||"{}"!=kC({a:e})||"{}"!=kC(Object(e))}));vf({target:"JSON",stat:!0,forced:WC},{stringify:function(e,t,n){var i=cC(arguments),r=t;if((np(t)||void 0!==e)&&!vp(e))return V_(t)||(t=function(e,t){if(Rh(r)&&(t=zh(r,this,e,t)),!vp(t))return t}),i[1]=t,Ih(kC,null,i)}})}if(!CC[vC]){var qC=CC.valueOf;dg(CC,vC,(function(e){return zh(qC,this)}))}bg(_C,"Symbol"),$f[gC]=!0,hC("asyncIterator"),hC("hasInstance"),hC("isConcatSpreadable"),hC("iterator"),hC("match"),hC("matchAll"),hC("replace"),hC("search"),hC("species"),hC("split"),hC("toPrimitive"),hC("toStringTag"),hC("unscopables"),bg(Eh.JSON,"JSON",!0);var YC=ip.Symbol;hC("asyncDispose"),hC("dispose"),hC("matcher"),hC("metadata"),hC("observable"),hC("patternMatch"),hC("replaceAll");var GC=YC,KC=uC.f("iterator"),XC=Ch((function(e){function t(n){return"function"==typeof GC&&"symbol"==typeof KC?(e.exports=t=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=t=function(e){return e&&"function"==typeof GC&&e.constructor===GC&&e!==GC.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),t(n)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0})),ZC=_h(XC),JC=cy.f,QC=qg((function(){JC(1)}));if(gb({target:"Object",stat:!0,forced:!Yg||QC,sham:!Yg},{getOwnPropertyDescriptor:function(e,t){return JC(fv(e),t)}}),"object"===("undefined"==typeof i.g?"undefined":ZC(i.g))){var ex=Object.getOwnPropertyDescriptor(i.g,"window");i.g.window&&!ex.set||(i.g.window=i.g,i.g.requestAnimationFrame=function(){},i.g.navigator={userAgent:""},i.g.location={hostname:"0.0.0.0",port:0,protocol:"http:"},i.g.btoa=function(){},i.g.crypto={getRandomValues:function(e){return nodeCrypto.randomFillSync(e)}}),null!=i.g.document&&null==i.g.document.getElementsByTagName&&(i.g.document.getElementsByTagName=function(){return[]})}
96
+ var Ml=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"],Bl=["dateStyle","timeStyle","calendar","localeMatcher","hour12","hourCycle","timeZone","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function Nl(e,t){"undefined"!==typeof console&&(console.warn("[vue-i18n] "+e),t&&console.warn(t.stack))}function Rl(e,t){"undefined"!==typeof console&&(console.error("[vue-i18n] "+e),t&&console.error(t.stack))}var $l=Array.isArray;function jl(e){return null!==e&&"object"===typeof e}function Ll(e){return"boolean"===typeof e}function zl(e){return"string"===typeof e}var Vl=Object.prototype.toString,Hl="[object Object]";function Ul(e){return Vl.call(e)===Hl}function Wl(e){return null===e||void 0===e}function ql(e){return"function"===typeof e}function Yl(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];var n=null,i=null;return 1===e.length?jl(e[0])||$l(e[0])?i=e[0]:"string"===typeof e[0]&&(n=e[0]):2===e.length&&("string"===typeof e[0]&&(n=e[0]),(jl(e[1])||$l(e[1]))&&(i=e[1])),{locale:n,params:i}}function Gl(e){return JSON.parse(JSON.stringify(e))}function Kl(e,t){if(e.delete(t))return e}function Xl(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}function Zl(e,t){return!!~e.indexOf(t)}var Jl=Object.prototype.hasOwnProperty;function Ql(e,t){return Jl.call(e,t)}function ec(e){for(var t=arguments,n=Object(e),i=1;i<arguments.length;i++){var r=t[i];if(void 0!==r&&null!==r){var o=void 0;for(o in r)Ql(r,o)&&(jl(r[o])?n[o]=ec(n[o],r[o]):n[o]=r[o])}}return n}function tc(e,t){if(e===t)return!0;var n=jl(e),i=jl(t);if(!n||!i)return!n&&!i&&String(e)===String(t);try{var r=$l(e),o=$l(t);if(r&&o)return e.length===t.length&&e.every((function(e,n){return tc(e,t[n])}));if(r||o)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every((function(n){return tc(e[n],t[n])}))}catch(wh){return!1}}function nc(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}function ic(e){return null!=e&&Object.keys(e).forEach((function(t){"string"==typeof e[t]&&(e[t]=nc(e[t]))})),e}function rc(e){e.prototype.hasOwnProperty("$i18n")||Object.defineProperty(e.prototype,"$i18n",{get:function(){return this._i18n}}),e.prototype.$t=function(e){var t=[],n=arguments.length-1;while(n-- >0)t[n]=arguments[n+1];var i=this.$i18n;return i._t.apply(i,[e,i.locale,i._getMessages(),this].concat(t))},e.prototype.$tc=function(e,t){var n=[],i=arguments.length-2;while(i-- >0)n[i]=arguments[i+2];var r=this.$i18n;return r._tc.apply(r,[e,r.locale,r._getMessages(),this,t].concat(n))},e.prototype.$te=function(e,t){var n=this.$i18n;return n._te(e,n.locale,n._getMessages(),t)},e.prototype.$d=function(e){var t,n=[],i=arguments.length-1;while(i-- >0)n[i]=arguments[i+1];return(t=this.$i18n).d.apply(t,[e].concat(n))},e.prototype.$n=function(e){var t,n=[],i=arguments.length-1;while(i-- >0)n[i]=arguments[i+1];return(t=this.$i18n).n.apply(t,[e].concat(n))}}function oc(e){function t(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return void 0===e&&(e=!1),e?{mounted:t}:{beforeCreate:function(){var e=this.$options;if(e.i18n=e.i18n||(e.__i18nBridge||e.__i18n?{}:null),e.i18n)if(e.i18n instanceof iu){if(e.__i18nBridge||e.__i18n)try{var t=e.i18n&&e.i18n.messages?e.i18n.messages:{},n=e.__i18nBridge||e.__i18n;n.forEach((function(e){t=ec(t,JSON.parse(e))})),Object.keys(t).forEach((function(n){e.i18n.mergeLocaleMessage(n,t[n])}))}catch(wh){0}this._i18n=e.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(Ul(e.i18n)){var i=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof iu?this.$root.$i18n:null;if(i&&(e.i18n.root=this.$root,e.i18n.formatter=i.formatter,e.i18n.fallbackLocale=i.fallbackLocale,e.i18n.formatFallbackMessages=i.formatFallbackMessages,e.i18n.silentTranslationWarn=i.silentTranslationWarn,e.i18n.silentFallbackWarn=i.silentFallbackWarn,e.i18n.pluralizationRules=i.pluralizationRules,e.i18n.preserveDirectiveContent=i.preserveDirectiveContent),e.__i18nBridge||e.__i18n)try{var r=e.i18n&&e.i18n.messages?e.i18n.messages:{},o=e.__i18nBridge||e.__i18n;o.forEach((function(e){r=ec(r,JSON.parse(e))})),e.i18n.messages=r}catch(wh){0}var a=e.i18n,s=a.sharedMessages;s&&Ul(s)&&(e.i18n.messages=ec(e.i18n.messages,s)),this._i18n=new iu(e.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===e.i18n.sync||e.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),i&&i.onComponentInstanceCreated(this._i18n)}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof iu?this._i18n=this.$root.$i18n:e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof iu&&(this._i18n=e.parent.$i18n)},beforeMount:function(){var e=this.$options;e.i18n=e.i18n||(e.__i18nBridge||e.__i18n?{}:null),e.i18n?(e.i18n instanceof iu||Ul(e.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof iu||e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof iu)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:t,beforeDestroy:function(){if(this._i18n){var e=this;this.$nextTick((function(){e._subscribing&&(e._i18n.unsubscribeDataChanging(e),delete e._subscribing),e._i18nWatcher&&(e._i18nWatcher(),e._i18n.destroyVM(),delete e._i18nWatcher),e._localeWatcher&&(e._localeWatcher(),delete e._localeWatcher)}))}}}}var ac={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(e,t){var n=t.data,i=t.parent,r=t.props,o=t.slots,a=i.$i18n;if(a){var s=r.path,l=r.locale,c=r.places,u=o(),d=a.i(s,l,sc(u)||c?lc(u.default,c):u),h=r.tag&&!0!==r.tag||!1===r.tag?r.tag:"span";return h?e(h,n,d):d}}};function sc(e){var t;for(t in e)if("default"!==t)return!1;return Boolean(t)}function lc(e,t){var n=t?cc(t):{};if(!e)return n;e=e.filter((function(e){return e.tag||""!==e.text.trim()}));var i=e.every(hc);return e.reduce(i?uc:dc,n)}function cc(e){return Array.isArray(e)?e.reduce(dc,{}):Object.assign({},e)}function uc(e,t){return t.data&&t.data.attrs&&t.data.attrs.place&&(e[t.data.attrs.place]=t),e}function dc(e,t,n){return e[n]=t,e}function hc(e){return Boolean(e.data&&e.data.attrs&&e.data.attrs.place)}var pc,fc={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(e,t){var n=t.props,i=t.parent,r=t.data,o=i.$i18n;if(!o)return null;var a=null,s=null;zl(n.format)?a=n.format:jl(n.format)&&(n.format.key&&(a=n.format.key),s=Object.keys(n.format).reduce((function(e,t){var i;return Zl(Ml,t)?Object.assign({},e,(i={},i[t]=n.format[t],i)):e}),null));var l=n.locale||o.locale,c=o._ntp(n.value,l,a,s),u=c.map((function(e,t){var n,i=r.scopedSlots&&r.scopedSlots[e.type];return i?i((n={},n[e.type]=e.value,n.index=t,n.parts=c,n)):e.value})),d=n.tag&&!0!==n.tag||!1===n.tag?n.tag:"span";return d?e(d,{attrs:r.attrs,class:r["class"],staticClass:r.staticClass},u):u}};function mc(e,t,n){yc(e,n)&&wc(e,t,n)}function gc(e,t,n,i){if(yc(e,n)){var r=n.context.$i18n;bc(e,n)&&tc(t.value,t.oldValue)&&tc(e._localeMessage,r.getLocaleMessage(r.locale))||wc(e,t,n)}}function vc(e,t,n,i){var r=n.context;if(r){var o=n.context.$i18n||{};t.modifiers.preserve||o.preserveDirectiveContent||(e.textContent=""),e._vt=void 0,delete e["_vt"],e._locale=void 0,delete e["_locale"],e._localeMessage=void 0,delete e["_localeMessage"]}else Nl("Vue instance does not exists in VNode context")}function yc(e,t){var n=t.context;return n?!!n.$i18n||(Nl("VueI18n instance does not exists in Vue instance"),!1):(Nl("Vue instance does not exists in VNode context"),!1)}function bc(e,t){var n=t.context;return e._locale===n.$i18n.locale}function wc(e,t,n){var i,r,o=t.value,a=_c(o),s=a.path,l=a.locale,c=a.args,u=a.choice;if(s||l||c)if(s){var d=n.context;e._vt=e.textContent=null!=u?(i=d.$i18n).tc.apply(i,[s,u].concat(Cc(l,c))):(r=d.$i18n).t.apply(r,[s].concat(Cc(l,c))),e._locale=d.$i18n.locale,e._localeMessage=d.$i18n.getLocaleMessage(d.$i18n.locale)}else Nl("`path` is required in v-t directive");else Nl("value type not supported")}function _c(e){var t,n,i,r;return zl(e)?t=e:Ul(e)&&(t=e.path,n=e.locale,i=e.args,r=e.choice),{path:t,locale:n,args:i,choice:r}}function Cc(e,t){var n=[];return e&&n.push(e),t&&(Array.isArray(t)||Ul(t))&&n.push(t),n}function xc(e,t){void 0===t&&(t={bridge:!1}),xc.installed=!0,pc=e;pc.version&&Number(pc.version.split(".")[0]);rc(pc),pc.mixin(oc(t.bridge)),pc.directive("t",{bind:mc,update:gc,unbind:vc}),pc.component(ac.name,ac),pc.component(fc.name,fc);var n=pc.config.optionMergeStrategies;n.i18n=function(e,t){return void 0===t?e:t}}var Sc=function(){this._caches=Object.create(null)};Sc.prototype.interpolate=function(e,t){if(!t)return[e];var n=this._caches[e];return n||(n=Ac(e),this._caches[e]=n),Dc(n,t)};var kc=/^(?:\d)+/,Ec=/^(?:\w)+/;function Ac(e){var t=[],n=0,i="";while(n<e.length){var r=e[n++];if("{"===r){i&&t.push({type:"text",value:i}),i="";var o="";r=e[n++];while(void 0!==r&&"}"!==r)o+=r,r=e[n++];var a="}"===r,s=kc.test(o)?"list":a&&Ec.test(o)?"named":"unknown";t.push({value:o,type:s})}else"%"===r?"{"!==e[n]&&(i+=r):i+=r}return i&&t.push({type:"text",value:i}),t}function Dc(e,t){var n=[],i=0,r=Array.isArray(t)?"list":jl(t)?"named":"unknown";if("unknown"===r)return n;while(i<e.length){var o=e[i];switch(o.type){case"text":n.push(o.value);break;case"list":n.push(t[parseInt(o.value,10)]);break;case"named":"named"===r&&n.push(t[o.value]);break;case"unknown":0;break}i++}return n}var Oc=0,Tc=1,Ic=2,Pc=3,Fc=0,Mc=1,Bc=2,Nc=3,Rc=4,$c=5,jc=6,Lc=7,zc=8,Vc=[];Vc[Fc]={ws:[Fc],ident:[Nc,Oc],"[":[Rc],eof:[Lc]},Vc[Mc]={ws:[Mc],".":[Bc],"[":[Rc],eof:[Lc]},Vc[Bc]={ws:[Bc],ident:[Nc,Oc],0:[Nc,Oc],number:[Nc,Oc]},Vc[Nc]={ident:[Nc,Oc],0:[Nc,Oc],number:[Nc,Oc],ws:[Mc,Tc],".":[Bc,Tc],"[":[Rc,Tc],eof:[Lc,Tc]},Vc[Rc]={"'":[$c,Oc],'"':[jc,Oc],"[":[Rc,Ic],"]":[Mc,Pc],eof:zc,else:[Rc,Oc]},Vc[$c]={"'":[Rc,Oc],eof:zc,else:[$c,Oc]},Vc[jc]={'"':[Rc,Oc],eof:zc,else:[jc,Oc]};var Hc=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Uc(e){return Hc.test(e)}function Wc(e){var t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t!==n||34!==t&&39!==t?e:e.slice(1,-1)}function qc(e){if(void 0===e||null===e)return"eof";var t=e.charCodeAt(0);switch(t){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function Yc(e){var t=e.trim();return("0"!==e.charAt(0)||!isNaN(e))&&(Uc(t)?Wc(t):"*"+t)}function Gc(e){var t,n,i,r,o,a,s,l=[],c=-1,u=Fc,d=0,h=[];function p(){var t=e[c+1];if(u===$c&&"'"===t||u===jc&&'"'===t)return c++,i="\\"+t,h[Oc](),!0}h[Tc]=function(){void 0!==n&&(l.push(n),n=void 0)},h[Oc]=function(){void 0===n?n=i:n+=i},h[Ic]=function(){h[Oc](),d++},h[Pc]=function(){if(d>0)d--,u=Rc,h[Oc]();else{if(d=0,void 0===n)return!1;if(n=Yc(n),!1===n)return!1;h[Tc]()}};while(null!==u)if(c++,t=e[c],"\\"!==t||!p()){if(r=qc(t),s=Vc[u],o=s[r]||s["else"]||zc,o===zc)return;if(u=o[0],a=h[o[1]],a&&(i=o[2],i=void 0===i?t:i,!1===a()))return;if(u===Lc)return l}}var Kc=function(){this._cache=Object.create(null)};Kc.prototype.parsePath=function(e){var t=this._cache[e];return t||(t=Gc(e),t&&(this._cache[e]=t)),t||[]},Kc.prototype.getPathValue=function(e,t){if(!jl(e))return null;var n=this.parsePath(t);if(0===n.length)return null;var i=n.length,r=e,o=0;while(o<i){var a=r[n[o]];if(void 0===a||null===a)return null;r=a,o++}return r};var Xc,Zc=/<\/?[\w\s="/.':;#-\/]+>/,Jc=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,Qc=/^@(?:\.([a-zA-Z]+))?:/,eu=/[()]/g,tu={upper:function(e){return e.toLocaleUpperCase()},lower:function(e){return e.toLocaleLowerCase()},capitalize:function(e){return""+e.charAt(0).toLocaleUpperCase()+e.substr(1)}},nu=new Sc,iu=function(e){var t=this;void 0===e&&(e={}),!pc&&"undefined"!==typeof window&&window.Vue&&xc(window.Vue);var n=e.locale||"en-US",i=!1!==e.fallbackLocale&&(e.fallbackLocale||"en-US"),r=e.messages||{},o=e.dateTimeFormats||e.datetimeFormats||{},a=e.numberFormats||{};this._vm=null,this._formatter=e.formatter||nu,this._modifiers=e.modifiers||{},this._missing=e.missing||null,this._root=e.root||null,this._sync=void 0===e.sync||!!e.sync,this._fallbackRoot=void 0===e.fallbackRoot||!!e.fallbackRoot,this._fallbackRootWithEmptyString=void 0===e.fallbackRootWithEmptyString||!!e.fallbackRootWithEmptyString,this._formatFallbackMessages=void 0!==e.formatFallbackMessages&&!!e.formatFallbackMessages,this._silentTranslationWarn=void 0!==e.silentTranslationWarn&&e.silentTranslationWarn,this._silentFallbackWarn=void 0!==e.silentFallbackWarn&&!!e.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new Kc,this._dataListeners=new Set,this._componentInstanceCreatedListener=e.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==e.preserveDirectiveContent&&!!e.preserveDirectiveContent,this.pluralizationRules=e.pluralizationRules||{},this._warnHtmlInMessage=e.warnHtmlInMessage||"off",this._postTranslation=e.postTranslation||null,this._escapeParameterHtml=e.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in e&&(this.__VUE_I18N_BRIDGE__=e.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(e,n){var i=Object.getPrototypeOf(t);if(i&&i.getChoiceIndex){var r=i.getChoiceIndex;return r.call(t,e,n)}var o=function(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0};return t.locale in t.pluralizationRules?t.pluralizationRules[t.locale].apply(t,[e,n]):o(e,n)},this._exist=function(e,n){return!(!e||!n)&&(!Wl(t._path.getPathValue(e,n))||!!e[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(r).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,r[e])})),this._initVM({locale:n,fallbackLocale:i,messages:r,dateTimeFormats:o,numberFormats:a})},ru={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};iu.prototype._checkLocaleMessage=function(e,t,n){var i=[],r=function(e,t,n,i){if(Ul(n))Object.keys(n).forEach((function(o){var a=n[o];Ul(a)?(i.push(o),i.push("."),r(e,t,a,i),i.pop(),i.pop()):(i.push(o),r(e,t,a,i),i.pop())}));else if($l(n))n.forEach((function(n,o){Ul(n)?(i.push("["+o+"]"),i.push("."),r(e,t,n,i),i.pop(),i.pop()):(i.push("["+o+"]"),r(e,t,n,i),i.pop())}));else if(zl(n)){var o=Zc.test(n);if(o){var a="Detected HTML in message '"+n+"' of keypath '"+i.join("")+"' at '"+t+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===e?Nl(a):"error"===e&&Rl(a)}}};r(t,e,n,i)},iu.prototype._initVM=function(e){var t=pc.config.silent;pc.config.silent=!0,this._vm=new pc({data:e,__VUE18N__INSTANCE__:!0}),pc.config.silent=t},iu.prototype.destroyVM=function(){this._vm.$destroy()},iu.prototype.subscribeDataChanging=function(e){this._dataListeners.add(e)},iu.prototype.unsubscribeDataChanging=function(e){Kl(this._dataListeners,e)},iu.prototype.watchI18nData=function(){var e=this;return this._vm.$watch("$data",(function(){var t=Xl(e._dataListeners),n=t.length;while(n--)pc.nextTick((function(){t[n]&&t[n].$forceUpdate()}))}),{deep:!0})},iu.prototype.watchLocale=function(e){if(e){if(!this.__VUE_I18N_BRIDGE__)return null;var t=this,n=this._vm;return this.vm.$watch("locale",(function(i){n.$set(n,"locale",i),t.__VUE_I18N_BRIDGE__&&e&&(e.locale.value=i),n.$forceUpdate()}),{immediate:!0})}if(!this._sync||!this._root)return null;var i=this._vm;return this._root.$i18n.vm.$watch("locale",(function(e){i.$set(i,"locale",e),i.$forceUpdate()}),{immediate:!0})},iu.prototype.onComponentInstanceCreated=function(e){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(e,this)},ru.vm.get=function(){return this._vm},ru.messages.get=function(){return Gl(this._getMessages())},ru.dateTimeFormats.get=function(){return Gl(this._getDateTimeFormats())},ru.numberFormats.get=function(){return Gl(this._getNumberFormats())},ru.availableLocales.get=function(){return Object.keys(this.messages).sort()},ru.locale.get=function(){return this._vm.locale},ru.locale.set=function(e){this._vm.$set(this._vm,"locale",e)},ru.fallbackLocale.get=function(){return this._vm.fallbackLocale},ru.fallbackLocale.set=function(e){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",e)},ru.formatFallbackMessages.get=function(){return this._formatFallbackMessages},ru.formatFallbackMessages.set=function(e){this._formatFallbackMessages=e},ru.missing.get=function(){return this._missing},ru.missing.set=function(e){this._missing=e},ru.formatter.get=function(){return this._formatter},ru.formatter.set=function(e){this._formatter=e},ru.silentTranslationWarn.get=function(){return this._silentTranslationWarn},ru.silentTranslationWarn.set=function(e){this._silentTranslationWarn=e},ru.silentFallbackWarn.get=function(){return this._silentFallbackWarn},ru.silentFallbackWarn.set=function(e){this._silentFallbackWarn=e},ru.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},ru.preserveDirectiveContent.set=function(e){this._preserveDirectiveContent=e},ru.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},ru.warnHtmlInMessage.set=function(e){var t=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=e,n!==e&&("warn"===e||"error"===e)){var i=this._getMessages();Object.keys(i).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,i[e])}))}},ru.postTranslation.get=function(){return this._postTranslation},ru.postTranslation.set=function(e){this._postTranslation=e},ru.sync.get=function(){return this._sync},ru.sync.set=function(e){this._sync=e},iu.prototype._getMessages=function(){return this._vm.messages},iu.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},iu.prototype._getNumberFormats=function(){return this._vm.numberFormats},iu.prototype._warnDefault=function(e,t,n,i,r,o){if(!Wl(n))return n;if(this._missing){var a=this._missing.apply(null,[e,t,i,r]);if(zl(a))return a}else 0;if(this._formatFallbackMessages){var s=Yl.apply(void 0,r);return this._render(t,o,s.params,t)}return t},iu.prototype._isFallbackRoot=function(e){return(this._fallbackRootWithEmptyString?!e:Wl(e))&&!Wl(this._root)&&this._fallbackRoot},iu.prototype._isSilentFallbackWarn=function(e){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(e):this._silentFallbackWarn},iu.prototype._isSilentFallback=function(e,t){return this._isSilentFallbackWarn(t)&&(this._isFallbackRoot()||e!==this.fallbackLocale)},iu.prototype._isSilentTranslationWarn=function(e){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(e):this._silentTranslationWarn},iu.prototype._interpolate=function(e,t,n,i,r,o,a){if(!t)return null;var s,l=this._path.getPathValue(t,n);if($l(l)||Ul(l))return l;if(Wl(l)){if(!Ul(t))return null;if(s=t[n],!zl(s)&&!ql(s))return null}else{if(!zl(l)&&!ql(l))return null;s=l}return zl(s)&&(s.indexOf("@:")>=0||s.indexOf("@.")>=0)&&(s=this._link(e,t,s,i,"raw",o,a)),this._render(s,r,o,n)},iu.prototype._link=function(e,t,n,i,r,o,a){var s=n,l=s.match(Jc);for(var c in l)if(l.hasOwnProperty(c)){var u=l[c],d=u.match(Qc),h=d[0],p=d[1],f=u.replace(h,"").replace(eu,"");if(Zl(a,f))return s;a.push(f);var m=this._interpolate(e,t,f,i,"raw"===r?"string":r,"raw"===r?void 0:o,a);if(this._isFallbackRoot(m)){if(!this._root)throw Error("unexpected error");var g=this._root.$i18n;m=g._translate(g._getMessages(),g.locale,g.fallbackLocale,f,i,r,o)}m=this._warnDefault(e,f,m,i,$l(o)?o:[o],r),this._modifiers.hasOwnProperty(p)?m=this._modifiers[p](m):tu.hasOwnProperty(p)&&(m=tu[p](m)),a.pop(),s=m?s.replace(u,m):s}return s},iu.prototype._createMessageContext=function(e,t,n,i){var r=this,o=$l(e)?e:[],a=jl(e)?e:{},s=function(e){return o[e]},l=function(e){return a[e]},c=this._getMessages(),u=this.locale;return{list:s,named:l,values:e,formatter:t,path:n,messages:c,locale:u,linked:function(e){return r._interpolate(u,c[u]||{},e,null,i,void 0,[e])}}},iu.prototype._render=function(e,t,n,i){if(ql(e))return e(this._createMessageContext(n,this._formatter||nu,i,t));var r=this._formatter.interpolate(e,n,i);return r||(r=nu.interpolate(e,n,i)),"string"!==t||zl(r)?r:r.join("")},iu.prototype._appendItemToChain=function(e,t,n){var i=!1;return Zl(e,t)||(i=!0,t&&(i="!"!==t[t.length-1],t=t.replace(/!/g,""),e.push(t),n&&n[t]&&(i=n[t]))),i},iu.prototype._appendLocaleToChain=function(e,t,n){var i,r=t.split("-");do{var o=r.join("-");i=this._appendItemToChain(e,o,n),r.splice(-1,1)}while(r.length&&!0===i);return i},iu.prototype._appendBlockToChain=function(e,t,n){for(var i=!0,r=0;r<t.length&&Ll(i);r++){var o=t[r];zl(o)&&(i=this._appendLocaleToChain(e,o,n))}return i},iu.prototype._getLocaleChain=function(e,t){if(""===e)return[];this._localeChainCache||(this._localeChainCache={});var n=this._localeChainCache[e];if(!n){t||(t=this.fallbackLocale),n=[];var i,r=[e];while($l(r))r=this._appendBlockToChain(n,r,t);i=$l(t)?t:jl(t)?t["default"]?t["default"]:null:t,r=zl(i)?[i]:i,r&&this._appendBlockToChain(n,r,null),this._localeChainCache[e]=n}return n},iu.prototype._translate=function(e,t,n,i,r,o,a){for(var s,l=this._getLocaleChain(t,n),c=0;c<l.length;c++){var u=l[c];if(s=this._interpolate(u,e[u],i,r,o,a,[i]),!Wl(s))return s}return null},iu.prototype._t=function(e,t,n,i){var r,o=[],a=arguments.length-4;while(a-- >0)o[a]=arguments[a+4];if(!e)return"";var s=Yl.apply(void 0,o);this._escapeParameterHtml&&(s.params=ic(s.params));var l=s.locale||t,c=this._translate(n,l,this.fallbackLocale,e,i,"string",s.params);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return(r=this._root).$t.apply(r,[e].concat(o))}return c=this._warnDefault(l,e,c,i,o,"string"),this._postTranslation&&null!==c&&void 0!==c&&(c=this._postTranslation(c,e)),c},iu.prototype.t=function(e){var t,n=[],i=arguments.length-1;while(i-- >0)n[i]=arguments[i+1];return(t=this)._t.apply(t,[e,this.locale,this._getMessages(),null].concat(n))},iu.prototype._i=function(e,t,n,i,r){var o=this._translate(n,t,this.fallbackLocale,e,i,"raw",r);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(e,t,r)}return this._warnDefault(t,e,o,i,[r],"raw")},iu.prototype.i=function(e,t,n){return e?(zl(t)||(t=this.locale),this._i(e,t,this._getMessages(),null,n)):""},iu.prototype._tc=function(e,t,n,i,r){var o,a=[],s=arguments.length-5;while(s-- >0)a[s]=arguments[s+5];if(!e)return"";void 0===r&&(r=1);var l={count:r,n:r},c=Yl.apply(void 0,a);return c.params=Object.assign(l,c.params),a=null===c.locale?[c.params]:[c.locale,c.params],this.fetchChoice((o=this)._t.apply(o,[e,t,n,i].concat(a)),r)},iu.prototype.fetchChoice=function(e,t){if(!e||!zl(e))return null;var n=e.split("|");return t=this.getChoiceIndex(t,n.length),n[t]?n[t].trim():e},iu.prototype.tc=function(e,t){var n,i=[],r=arguments.length-2;while(r-- >0)i[r]=arguments[r+2];return(n=this)._tc.apply(n,[e,this.locale,this._getMessages(),null,t].concat(i))},iu.prototype._te=function(e,t,n){var i=[],r=arguments.length-3;while(r-- >0)i[r]=arguments[r+3];var o=Yl.apply(void 0,i).locale||t;return this._exist(n[o],e)},iu.prototype.te=function(e,t){return this._te(e,this.locale,this._getMessages(),t)},iu.prototype.getLocaleMessage=function(e){return Gl(this._vm.messages[e]||{})},iu.prototype.setLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,t)},iu.prototype.mergeLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,ec("undefined"!==typeof this._vm.messages[e]&&Object.keys(this._vm.messages[e]).length?Object.assign({},this._vm.messages[e]):{},t))},iu.prototype.getDateTimeFormat=function(e){return Gl(this._vm.dateTimeFormats[e]||{})},iu.prototype.setDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,t),this._clearDateTimeFormat(e,t)},iu.prototype.mergeDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,ec(this._vm.dateTimeFormats[e]||{},t)),this._clearDateTimeFormat(e,t)},iu.prototype._clearDateTimeFormat=function(e,t){for(var n in t){var i=e+"__"+n;this._dateTimeFormatters.hasOwnProperty(i)&&delete this._dateTimeFormatters[i]}},iu.prototype._localizeDateTime=function(e,t,n,i,r,o){for(var a=t,s=i[a],l=this._getLocaleChain(t,n),c=0;c<l.length;c++){var u=l[c];if(s=i[u],a=u,!Wl(s)&&!Wl(s[r]))break}if(Wl(s)||Wl(s[r]))return null;var d,h=s[r];if(o)d=new Intl.DateTimeFormat(a,Object.assign({},h,o));else{var p=a+"__"+r;d=this._dateTimeFormatters[p],d||(d=this._dateTimeFormatters[p]=new Intl.DateTimeFormat(a,h))}return d.format(e)},iu.prototype._d=function(e,t,n,i){if(!n){var r=i?new Intl.DateTimeFormat(t,i):new Intl.DateTimeFormat(t);return r.format(e)}var o=this._localizeDateTime(e,t,this.fallbackLocale,this._getDateTimeFormats(),n,i);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(e,n,t)}return o||""},iu.prototype.d=function(e){var t=[],n=arguments.length-1;while(n-- >0)t[n]=arguments[n+1];var i=this.locale,r=null,o=null;return 1===t.length?(zl(t[0])?r=t[0]:jl(t[0])&&(t[0].locale&&(i=t[0].locale),t[0].key&&(r=t[0].key)),o=Object.keys(t[0]).reduce((function(e,n){var i;return Zl(Bl,n)?Object.assign({},e,(i={},i[n]=t[0][n],i)):e}),null)):2===t.length&&(zl(t[0])&&(r=t[0]),zl(t[1])&&(i=t[1])),this._d(e,i,r,o)},iu.prototype.getNumberFormat=function(e){return Gl(this._vm.numberFormats[e]||{})},iu.prototype.setNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,t),this._clearNumberFormat(e,t)},iu.prototype.mergeNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,ec(this._vm.numberFormats[e]||{},t)),this._clearNumberFormat(e,t)},iu.prototype._clearNumberFormat=function(e,t){for(var n in t){var i=e+"__"+n;this._numberFormatters.hasOwnProperty(i)&&delete this._numberFormatters[i]}},iu.prototype._getNumberFormatter=function(e,t,n,i,r,o){for(var a=t,s=i[a],l=this._getLocaleChain(t,n),c=0;c<l.length;c++){var u=l[c];if(s=i[u],a=u,!Wl(s)&&!Wl(s[r]))break}if(Wl(s)||Wl(s[r]))return null;var d,h=s[r];if(o)d=new Intl.NumberFormat(a,Object.assign({},h,o));else{var p=a+"__"+r;d=this._numberFormatters[p],d||(d=this._numberFormatters[p]=new Intl.NumberFormat(a,h))}return d},iu.prototype._n=function(e,t,n,i){if(!iu.availabilities.numberFormat)return"";if(!n){var r=i?new Intl.NumberFormat(t,i):new Intl.NumberFormat(t);return r.format(e)}var o=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),n,i),a=o&&o.format(e);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(e,Object.assign({},{key:n,locale:t},i))}return a||""},iu.prototype.n=function(e){var t=[],n=arguments.length-1;while(n-- >0)t[n]=arguments[n+1];var i=this.locale,r=null,o=null;return 1===t.length?zl(t[0])?r=t[0]:jl(t[0])&&(t[0].locale&&(i=t[0].locale),t[0].key&&(r=t[0].key),o=Object.keys(t[0]).reduce((function(e,n){var i;return Zl(Ml,n)?Object.assign({},e,(i={},i[n]=t[0][n],i)):e}),null)):2===t.length&&(zl(t[0])&&(r=t[0]),zl(t[1])&&(i=t[1])),this._n(e,i,r,o)},iu.prototype._ntp=function(e,t,n,i){if(!iu.availabilities.numberFormat)return[];if(!n){var r=i?new Intl.NumberFormat(t,i):new Intl.NumberFormat(t);return r.formatToParts(e)}var o=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),n,i),a=o&&o.formatToParts(e);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(e,t,n,i)}return a||[]},Object.defineProperties(iu.prototype,ru),Object.defineProperty(iu,"availabilities",{get:function(){if(!Xc){var e="undefined"!==typeof Intl;Xc={dateTimeFormat:e&&"undefined"!==typeof Intl.DateTimeFormat,numberFormat:e&&"undefined"!==typeof Intl.NumberFormat}}return Xc}}),iu.install=xc,iu.version="8.28.2";var ou=iu,au=i(4093),su=i(9952),lu=i(3527);const cu={sendData:{sendTitle:"sendData",search:{sendingTime:"sendingTime",phoneNumber:"phoneNumber",companyName:"companyName",addressee:"addressee",textSearch:"textSearch",send:"send",open:"open",LinkClick:"LinkClick",reply:"reply",return:"return",unsubscribe:"unsubscribe",emailComplaints:"emailComplaints",search:"search",download:"download",reset:"reset",collapse:"collapse",operate:"operate"},table:{createTime:"createTime",sender:"sender",name:"name",company:"company",addressee:"addressee",subject:"subject",text:"text",send:"send",open:"open",linkClick:"linkClick",reply:"reply",return:"return",unsubscribe:"unsubscribe",spamComplaints:"spamComplaints",view:"view",AIreplies:"AIreplies"}},receiveData:{receiveTitle:"Received Data",search:{sendingTime:"Sent Time:",sender:"Sender",receivingAccount:"Recipient Account:",recipientName:"Recipient Name:",companyName:"Company Name:",textSearch:"Content Search:",search:"Search",download:"Download",reset:"Reset"},table:{sendTime:"Received Time",sender:"Sender",addressee:"Recipient",name:"Name",company:"Company",subject:"Subject",content:"Content",isRead:"Read Status",operate:"Action"}},inboxMail:{search:{default:"Please enter",defaultSelect:"Please select",bloggerName:"Influencer Name",title:"Title and Content",target:"Popularization Plan",tagName:"Tag Name",isRead:"Read Status",read:"Read",unRead:"Unread",isStar:"Starred Emails",sendEmail:"Sending email",emailStatus:"Email status",all:"All Emails",starred:"Starred",allEmail:"All emails",sysEmail:"System emails",businessEmail:"Enterprise emails",isReply:"Replied to Email",replyTrue:"Replied",replyFalse:"Unreplied",replayTime:"Received Time",time1:"Last Three Months",time2:"Last Six Months",time3:"All Emails",search:"Search",reset:"Reset",refresh:"Refresh",delete:"Delete",setUnRead:"Mark as Unread",batchReply:"Bulk Reply",noTask:"No campaign",setHasRead:"Mark as Read"},searchButton:{search:"search",reset:"reset"}},inboxTable:{noTask:"no task",addTag:"new label",delTag:"Are you sure you want to remove this label?",confirm:"Confirm",cancel:"Cancel",tip:"tip",cancelTagDel:"Undo delete",successTagDel:"The mailing label was deleted successfully",errorTag:"The label displays an error",delmailWarning:"Please select at least one",unReadSuccess:"The operation was successful",delMail:"This action will permanently delete, do you want to continue?",del:"Email deleted successfully",collMail:"Collected",cancelMail:"Cancel Favorite",requestError:"Request error",deleteTip:"If this email is spam, you can block emails from this address.",delShieldBtn:"Delete and block this email address."},newMail:{title:"New mail notification",content:"You have received a new email. Please check your inbox"},inboxDetail:{addTag:"Add Tag",addFavorites:"Add to Favorites",send:"Send",to:"Addressee",me:"Me",reply:"Reply",mailContent:"Email body cannot be empty",replySuccess:"Reply successful",delSuccess:"Delete successful",confirmContent:"This action will permanently delete, continue?",tagError:"Tag error",tip:"Notice",mailError:"Failed to read email",confirm:"Confirm",cancel:"Cancel",omail:"Original email",subject:"Subject",content:"Body",outerBlogger:"External influencer or agent",email:"Email:",normalReply:"Standard reply",reply2:"Reply",simpleReply:"Quick reply",plan:"Associated campaign",noPlan:"No associated campaign",coopStatus:"Cooperation status",coop1:"Not cooperating",coop2:"Confirm cooperation",coop3:"Sample sent",coop4:"Content in production",coop5:"Waiting to go online",coop6:"Cooperation completed",empty:"None",menu1:"Influencer profile",menu2:"Sample delivery management",menu3:"Cooperation content",menu4:"Cooperation amount",menu5:"Affiliate distribution",menu6:"Remarks",menu7:"Report influencer",menu8:"Blacklist",menu9:"Influencer details",menu10:"Payment",aiTip1:"AI-generated content may contain risks, please review and confirm",open:"Expand",close:"Collapse",like:"Like",unLike:"Dislike",redo:"Regenerate",stop:"Stop generation",restPoint:"Available AI points",aiRule:"Click to view AI points usage rules",aiContentReply:"AI content reply",channelId:"Channel ID",read:"read",unRead:"unread",tips1:"Please add an associated campaign first!",tips2:"Content generation timed out, please try again!",tip3:"No content to reply!",tips4:"Sent successfully!",tips5:"Operation successful",quickReply:"Quick reply",fullWrite:"Switch to full writing mode",sendNow:"Send now",keywords:"Key information",isBuilding:"AI key information generation in progress...",waring1:"The following information is extracted by AI after analyzing the email content",info1:"Quotation",info2:"Contact information",info3:"Shipping address",info4:"Payment information",saveInfo:"Enter into influencer profile",noInfo:"No key information extracted from this email",aiTips2:"No information to enter",infoSuccess:"Entry successful!",planTitle1:"Add associated campaign",planTitle2:"Transfer associated campaign",planTip1:"Note: The influencer's contact status, cooperation status, bound tracking links, videos, etc. will be synchronized into the target campaign",planTip2:"Note: The influencer's contact status, cooperation status, videos, etc. will be moved into the target campaign",choosePlan:"Select campaign",planPlace:"Please select a campaign",noPlan2:"No campaign currently available",createPlan:"Create campaign",planTips3:"Please select a campaign",planVal:"Campaign",planMove:"Transfer",planGL:"Associate",success:"Successful",coopStatusTitle:"Select cooperation status",previousPage:"Previous Page",nextPage:"Next Page"},inboxTagDialog:{title:"label",tip:"tip",default:"Please enter a new label name",selectTag:"Selected labels",collapse:"Show less",unfold:"Show more",bindTagTip:"Select the label to which the message is bound",bindSuccess:"Binding succeeded",addTagSuccess:"The tag was added successfully",addTagFail:"Label already exists",tagMaxLen1:"The label length cannot exceed six characters",tagMaxLen2:"The label length cannot exceed twelve characters",tagMaxLen:"The tag name cannot exceed 30 characters (15 Chinese characters)",delTagSuccess:"The tag is deleted successfully",confirm:"Confirm",cancel:"Cancel"},searchButton:{search:"Search",reset:"Reset"},writeMail:{receiver:"To",cc_person:"Cc",subject:"Subject",add_attachment:"Attach Files",notice:"Tip",tip:"The maximum number of attachments is 10, and the total size of attachments should not exceed 200MB.",content:"content",template_var:"Template variables",channel_name:"Channel name",channel_Id:"Channel Id",blogger:"Influencer",name:"Name",fans_num:"Number of fans",channel_link:"Channel link",goback:"Return",save_draft:"Save",delayed_sending:"Schedule send",send_now:"Send",template:"Template",signature:"Signature",product:"Product",task:"Task",creativity:"Idea",retract:"Show less",other:"",person:"",time_limit:"Sending time cannot be earlier than the current time",save_draft_tip:"Do you want to save the edited content to the draft box?",save_mail:"Do you want to save the email content?",prompt:"Tip",save:"Save",cancle:"Cancel",no_receiver:"Please specify at least one recipient.",check_receiver:"Please check if the recipient’s email address is correct",check_ccperson:"Please check if the CC recipient’s email address is correct",no_subject:"Please fill in the email subject before sending",subject_limit:"Email subject cannot exceed 100 characters",no_content:"Please fill in the email body before sending",content_limit:"Email content cannot exceed 5000 characters",attachment_length_limit:"Up to 10 attachments can be uploaded",attachment_size_limit:"Total attachment size cannot exceed 200MB",choose_send_time:"Select scheduled sending time",will:"the email will be sent at ",post_to:"Beijing Time and is temporarily saved in 'Draft'",send:"send",choose_time_date:"Select date and time",cancle_timer:"Cancel scheduled sending",change_timer:"Modify sending time",mail_will:"The email will be sent at",save_tip:". Before sending, it will be temporarily saved in 'Draft' and can be viewed or modified at any time.",set_delay_success:"Scheduled email saved",i_know:"OK",cancle_delay_tip:"After canceling the scheduled sending, the email will be restored to a regular draft email.",whether_cancle_delay:"Do you want to cancel the scheduled sending?",cancle_delay:"confirm",no_cancle:"cancel",infoPop:"Usually, using template variables in emails can effectively improve work efficiency"},uploadDialog:{title:"Upload Attachment",btnUpload:"Select File",tip:"The total size limit for files is 200 MB and the number of files cannot exceed 10",tip1:"The rest size limit for files is ",tip2:"and the rest number of files cannot exceed",btnOk:"Upload",btnClear:"Clear",empty:"File upload cannot be empty",maxSize:"The total size of files cannot exceed 100 MB. Please upload again",maxNum:"The number of files uploaded cannot exceed 10",success:"Upload successful",wait:"Please wait for the upload to finish",not:"This file format is currently not supported"},outboxMail:{blogger_name:"Recipient",title_content:"subject/content",task_name:"task",mail_type:"Mail types",mail_status:"Mail status",star_mail:"Starred mail",all_read:"All read",all_unread:"Unread",read:"Read",no_task:"No task",no_plan:"No campaign",normal:"Normal",delay:"Scheduled",failed:"Failed to send",all_mail:"All emails",choose:"Please select at least one item.",confirm_del:"Are you sure you want to delete?",success:"Operation successful."},draftMail:{draft:"Drafts",no_receiver:"Please specify at least one recipient.",send:"send",empty:"empty",no_subject:"Empty subject"},outboxDetail:{back:"return",me:"me",send_to:"to",retract:"Show less",more:"Show more",read:"read",unreviewed_resend:"Resend unread emails",resend_all:"Resend all",show_all:"Show all",file_num:"attachments",down_all:"Download all"},blogMail:{search_mail:"Search email",read:"read",unread:"unread",receive_mail:"Inbox",send_mail:"Sent"},template:{invite_cooperation:"Cooperation invitation",price_negotiation:"negotiation price",contract_template:"Contract",video_production:"Video making",expense_settlement:"Payment",create_template:"Create template",system_template:"System template",custom_template:"Custom template",new_template:"New template",template_title:"Template title",mail_title:"subject",apply_scene:"Application scenario",language:"Language",template_language:"Template language",set_system_template:"Set system template",edit_template:"Edit template",word_limit:"Limit within words ",title_not_empty:"Template title cannot be empty",title_word_limit:"Template title should be within 30 words",subject_not_empty:"Email subject cannot be empty",scene_not_empty:"Application scenario cannot be empty",scene_word_limit:"Application scenario should be within 20 words",language_not_empty:"Language cannot be empty",no_content:"Email body cannot be empty",choose_type:"Select type",confirm:"Confirm",template_type:"Template type",set_success:"Settings saved successfully"},signature:{create_sign:"New Signature",edite_sign:"Edit Signature",sign_not_empty:"Signature cannot be empty",confirm_del:"Are you sure you want to delete the singature?"},product:{no_data:"Create a product now to get started! No products found.",add_product:"Add product",create_product:"New product",upload_picture:"Upload product image",length_limit:"File size should not exceed",product_name:"Product name",en_name:"English name",product_type:"Product type",E_COMMERCE:"E-commerce platform",produce_link:"Product link",product_price:"Product price",dollar:"USD",link:"Original link",link_goods:"commodity",link_app:"APP promotion",link_web:"Website promotion",link_amazon:"Amazon",link_aliExpress:"AliExpress",link_lazada:"Lazada",link_shopee:"Shopee",link_independent:"Independent station",link_other:"other",empty_link_name:"Product name cannot be empty",limit_link_words:"The product name cannot exceed 20 words",empty_en_name:"English name cannot be empty",limit_en_words:"English name cannot exceed 100 characters",false_en_name:"The English name is entered incorrectly",select_link_type:"Please select a product type",select_platform:"Please select an e-commerce platform",empty_link:"Product link cannot be empty",empty_price:"The product price cannot be empty",no_img:"No product images uploaded",create_success:"Created successfully",false_link:"Product link format error, please re-enter",re_link_name:"The product name already exists, please re-enter",limit_upload:"Upload image size cannot exceed 5MB"},task:{choose:"Select",blogger_classify:"KOL category",blogger_country:"KOL country",blogger_platform:"KOL platform",create_date:"Creation date",no_data:"Create a task now to get started! No tasks found."},creativity:{no_data:"Only favorited ideas will appear here",content:"Creative content",script:"Creative script",insert:"Insert",interaction_rate:"Interaction rate",script_name:"Script name",script_classify:"Script category",script_num:"Script number",collect:"Favorite",cancle_collect:"Unfavorite",storyboard:"Storyboard",suggested_duration:"Suggested duration",plot_summary:"Plot summary",key_point:"Key points",case_name:"Case name",case_classify:"Case category",playback_volume:"Views",likes:"Likes",comments_num:"Comments",content_title:"Content title",content_validity:"Content summary",video_num:"Number of videos",channel_createtime:"Channel creation time",blogger_area:"KOL region",blogger_detail:"KOL details",case_detail:"Case details",no_title:"No title",no_validity:"No summary",script_content:"Script content",average_play:"Average views",total_watch:"Total views"},common:{please_select:"Please select",please_input:"Please enter",no_data:"No data available",confirm:"Confirm",cancle:"Cancel",delete:"Delete",apply:"Apply",detail:"Details",download:"Download",update_on:"Last update time",second:"seconds",minute:"minutes"},productForm:{product_selection_form:"Product Selection Form",creation_time:"Creation Time",selection_form_name:"Product Selection Form Name",number_of_product_cards:"Number of Product Cards",viewing_frequency:"View Count",update_time:"Last Updated",operation:"Operation",cancel:"Cancel",confirm:"Confirm",see:"View"},productCard:{product_card:"Product Card",example:"Example",add_product_card:"Add Product Card"},newProduct:{product:"Product",product_name:"Product Name",please_enter:"Please enter",please_enter_num:"Please enter a number.",productName:"Product Name",productId:"Product ID",productRemark:"Product Remark",query:"Search",reset:"Reset",details:"Details",shopifyProduct:"Shopify Products",product_remarks:"Product Notes",product_en:"English name",channel:"Channel",product_details:"Product Details",view_cards_times:"Product Card Views",basic_information:"Basic Information",name:"Name",chinese:"Chinese",english:"English",remarks:"Note",picture:"Image",category:"Category",describe:"Description",source:"Source",sales_information:"Sales Information",price:"Price",sku_description:"SKU Description",shippable_regions:"Shippable Regions",search_keywords:"Search Keywords",Main_image:"Main Image",Manual_addition:"Add Manually",Shopify_import:"Shopify Import",TikTok_import:"Import from TikTok",Cancel:"Cancel",preservation:"Save"},setMail:{Sending_settings:"Sender Settings",Current_settings:"Current Settings",mailbox_system:"System Email",unbind:"Unbind",tip1:"Are you sure you want to unlink your Gmail account from WotoHub? Once unlinked, you will no longer be able to use the related functions for sending and receiving emails via Gmail, and you will need to reauthorize to use them again. To cancel the authorization, you need to adjust the settings in your Gmail account.",guide:"Click here for the user guide.",cancle:"Cancel",confirm_unbinding:"Confirm Unlinking",no_bind_mail:"No email address linked yet.",bind:"Bind",tip2:"Please save the drafted email content first, as the compose page will refresh during authorization.",tip3:"Please ensure the VPN is enabled before granting authorization.",tip4:"Please enter the Gmail address you want to link",auth:"Authorization",tip5:"Gmail limits outgoing emails to 20 per hour.",confirm:"Confirm",auth_success:"Gmail authorization successful",auth_failed:"Gmail authorization failed",tip6:"Please link your Gmail account first.",tip7:"System email set successfully.",tip8:"GMAIL account setup successful",tip9:"Please enter your Gmail address first",tip10:"Please enter a valid email address format",tip11:"Enterprise email set successfully"},deliveryTime:{Delivery_time:"Sent Time",three_months:"Within the past three months",past_six_months:"The past six months",all_emails:"All Emails",no_promotion_plan:"No Campaign",Channel_ID:"Channel ID",tips:"To ensure your emails are delivered efficiently and accurately to influencers, we have limited the maximum number of bulk emails to 500. Therefore, this batch will only be sent to the first 500 unread influencers.",know:"Got it.",tip:"Prompt"},checkMail:{filtering:"Filtering",filter_completed:"Filtering complete",tip1_1:"valid recipients, all contacted for the first time within 30 days, will automatically proceed to the next step after",tip1_2:"seconds.",tip2:"Valid Sender: To ensure the health of your mailbox, the platform will automatically filter out influencers who have sent emails with duplicate titles on the same day.",tip3_1:"We have detected",tip3_2:"valid recipients, of which",tip3_3:"have been contacted via email within the last 30 days. Would you like to filter these influencers to avoid duplicate sending?",variable_replacement:"Variable substitution",tip4:"It's recommended to use variables in the email subject and body to increase the open rate.",tip5:"Checking email. Once the check is complete, it will automatically proceed to the next step of creating the email.",tip6_1:"The email has passed the quality check and will be automatically created in",tip6_2:"seconds.",continue_sending_emails:"Continue Sending",optimize_emails:"Optimize Email",email_created_successfully:"Email created successfully.",tip7_1:"Please keep a close eye on your incoming messages. You will be redirected to your outbox in",tip7_2:"seconds",jump_immediately:"Jump Now",creation_failed:"Creation failed.",tip8_1:"Recipient field is empty. Email creation failed. This window will close automatically in",tip8_2:"seconds.",close:"Close",filter_duplicate_touchpoints:"Filter duplicate contacts",filter_contacted_influencers:"Filter contacted influencers",email_quality_inspection:"Email Quality Check",create_email:"Create Email",tip9:"Exceeded daily email sending limit.",tip10_1:"To ensure the health of your mailbox, the daily email sending limit is {value} emails. You have",tip10_2:"emails remaining to send today. You can",tip11:"Save the email to drafts",tip12:"Schedule to send the next day",know:"Got it.",send_notice:"Sending Guidelines",tip13:"For more email optimization tips, please contact customer service.",tip14:"Do not show again for 14 days",tip15:"To ensure the health of the email, there is a limit on the total number of daily emails sent by the primary and secondary accounts.",tip16:"Using variables in the subject and body can help increase email open rates.",tip17:"Recommended usage of template variables",tip18:"Using variables in the email subject and body can enrich bulk email content, effectively improving delivery and open rates.",messageTip1:"Mailbox unlocking limit reached! Please contact support for more quota."},edm2:{mailEn1:"Single-round invitation",mailEn2:"Multi-round invitation",mailEn3:"Reply to sender",mailEn4:"Filter",mailEn5:"Compose email",mailEn6:"Email subject",mailEn7:"Email body",mailEn8:"Select date",mailEn9:"Delivery rate",mailEn10:"Open rate",mailEn11:"Reply rate",mailEn12:"Sending time",mailEn13:"Email content",mailEn14:"Email",mailEn15:"Attachment",mailEn16:"Influencer list",mailEn17:"Country",mailEn18:"Platform",mailEn19:"Replied or not",mailEn20:"Hide AI auto-invite emails",mailEn21:"No",mailEn22:"Yes",mailEn23:"Recipient list",mailEn24:"Add recipient",mailEn25:"Next step",mailEn26:"Add source",mailEn27:"Remove recipient",mailEn28:"Cancel removal",mailEn29:"There are still unconfirmed duplicate influencers in the recipient list. To avoid duplicate contacts, the system will automatically filter them out and will not send emails to them. Do you want to continue?",mailEn30:"You have selected duplicate influencers, and emails will only be sent to the selected duplicates.",mailEn31:"Duplicate recipients",mailEn32:"The recipients you added contain duplicates. To avoid wasting email resources, please confirm again."},edm5:{v1:"Refresh",v2:"Delete",v3:"Please select read emails",v4:"Sender's Email:",v5:"Please reply using the original email address",v6:"AI Email Summary",v7:"Extract Key Information",v8:"Extract Quotes, Contact Information, Delivery Address, Payment Information",v9:"AI Reply",v10:"Operation Successful",v11:"Content generation timed out, please try again!",v12:"Content generated by AI may contain risks, please review and confirm",v13:"Reply Strategy",v14:"Please enter your reply requirements",v15:"Generating Reply Strategy",v16:"Not helpful? Try another option",v17:"Available AI Points:",v18:"Click to view AI points usage rules",v19:"Cancel",v20:"Generate",v21:"English",v22:"Friendly",v23:"One",v24:"Two",v25:"Three",v26:"Four",v27:"Five",v28:"Six",v29:"Please enter the subject you wish to reply to",v30:"AI-generated Reply Content (Chinese)",v31:"AI-generated Reply Content ({ value })",v32:"Like",v33:"Dislike",v34:"Regenerate",v35:"Stop Generating",v36:"Confirm",v37:"Recipient:",v38:"Card Number:",v39:"Bank:",v40:"Delivery Rate, Open Rate, and Reply Rate data will be updated and corrected daily at 12 AM and 12 PM",v41:"Channel ID:",v42:"Influencer",v43:"Please enter the influencer's name to search",v44:"Reset",v45:"Confirm",v46:"Unread",v47:"Read",v48:"Yes",v49:"No",v50:"Email Status",v51:"Estimated Send Time",v52:"Draft",v53:"Pending Send",v54:"Send Failed",v55:"Content",v56:"Attachments",v57:"Multiple email templates can be set and sent in rotation",v58:"Add/Remove Recipients",v59:"Email",v60:"Add Email Content",v61:"Sender's Nickname",v62:"Send Now",v63:"Send",v64:"Schedule Send",v65:"Generate Email",v66:"Optimize Content",v67:"Paraphrase Email",v68:"Translate",v69:"AI Email",v70:"Email Template",v71:"Content Variables",v72:"Template",v73:"Signature",v74:"Product",v75:"Product Form",v76:"Close Prompt",v77:"Recipient and email are both empty, failed to save draft",v78:"Are you sure you want to delete this content? It cannot be recovered once deleted",v79:"Prompt",v80:"Email content is empty, operation cannot be performed!",v81:"Editing failed, please try again!",v82:"AI-generated Email",v83:"AI instantly customizes professional email content based on selected products and collaboration requirements",v84:"Step One:",v85:"Select Product",v86:"Selected",v87:"Product",v88:"Step Two:",v89:"Collaboration Requirements",v90:"Generate",v91:"Fill in Collaboration Requirements",v92:"*Share more details with AI to make your invitation email more compelling",v93:"Email Closing",v94:"Product or Brand Advantages",v95:"Please Enter",v96:"Free Sample Delivery?",v97:"Basic Compensation Provided?",v98:"Please Select",v99:"Influencer Commission",v100:"Video Style",v101:"Video Duration",v102:"seconds",v103:"Press Enter after entering the content to add it",v104:"Other requirements",v105:"Generate language:",v106:"For better AI parsing, please use the target language",v107:"Product Information",v108:"Product Name:",v109:"English Name:",v110:"Channel:",v111:"Product Link:",v112:"Shipping Regions:",v113:"Description:",v114:"Collaboration Requirements",v115:"Product or Brand Advantages:",v116:"Collaboration Method:",v117:"Video Style:",v118:"Video Duration:",v119:"Other Requirements:",v120:"Currently using DeepSeek to generate an email for you.",v121:"Subject:",v122:"Content:",v123:"No emails added yet",v124:"Application",v125:"Free Samples Provided",v126:"No Free Samples Provided",v127:"Basic Compensation Provided",v128:"No Basic Compensation Provided",v129:"Product Placement",v130:"Contrast Comparison",v131:"Experience Sharing",v132:"Direct Display",v133:"Unboxing Review",v134:"Email signature cannot be empty!",v135:"Complete at least one step!",v136:"No applicable emails available!",v137:"Corporate Email Configuration Guide",v138:"To invite influencers via corporate email, you can authorize a third-party client (e.g., WotoHub platform) to log in to the corporate email to send emails. Authorization is only used to call the corporate email's send email function. Essentially, the bulk emails are still sent through the user's corporate email, so they are subject to the corporate email's sending and receiving rules.",v139:"Authorization Method",v140:"1. Click on [Send Settings] on the email editing page to bind a third-party email",v141:"2. After selecting [Bind New Email], choose the email type (Gmail or corporate email)",v142:"3. For Gmail, proceed with authorization binding. For corporate email, fill in the relevant fields",v143:"Note: Currently, QQ Mail and Tencent Corporate Mail require an [Authorization Code] to log in. Refer to the [SMTP Configuration Help Document] below for the method to obtain it.",v144:"Gmail Authorization",v145:"Ensure VPN is enabled when authorizing Gmail. Manually check the first two permissions (not all).",v146:"If you accidentally select all and authorization fails, go to Gmail account settings [Security] to clear WotoKOL authorization and rebind.",v147:"Step 1: Go to Account Management",v148:"Step 2: Go to the Security page and find WotoKOL under Your Connections with Third-Party Apps and Services",v149:"Step 3: Revoke all connections. After completion, rebind the email in WotoHub.",v150:"SMTP Configuration Help Document",v151:"Refer to the help document of your email service provider on how to enable and configure the SMTP server and obtain the authorization code. Below are some common corporate email help documents. If authorization fails under default advanced options, check the configuration according to the relevant documents and verify. If you need assistance, contact customer service.",v152:"Email",v153:"SMTP Server",v154:"Is an authorization code required to log in?",v155:"Help Document",v156:"Platform Control Rules",v157:"View Details",v158:"Common Reasons for Email Verification Failure and Solutions",v159:"1. This email has already been bound",v160:"Each email can only be bound to one account. The system found that the email you entered is already bound to another account. Please enter a suitable email.",v161:"2. Incorrect information entered, please check the details again",v162:"Check if the email account and password are correct. Some corporate emails require an [Authorization Code] to log in. Check if the authorization code is correct.",v163:"Special cases like Alibaba Corporate Mail, ensure [Third-Party Client Security Password] is disabled, as shown below:",v164:"3. Invalid email address",v165:"The email address you provided has a format error, does not exist, or is not within the platform's supported corporate email range, making it unusable. Please verify and enter the correct information.",v166:"4. Authorization failed, please check the configuration instructions",v167:"There may be an error in the permissions selected when authorizing Gmail. Check the Gmail authorization notes above and try again.",v168:"Alibaba Corporate Mail",v169:"1. Bulk email limit is 300 emails",v170:"2. Individual recipient limit is 100 emails",v171:"Tencent Corporate Mail",v172:"Enable STMP Service",v173:"Configure Alibaba Corporate Mail to Third-Party Client",v174:"Enable POP/SMTP/IMAP functions",v175:"Obtain Client-Specific Password",v176:"1. For enterprises with fewer than 30 users, the daily email limit is 1500 emails;",v177:"2. For enterprises with more than 30 users, the daily email limit is the number of users * 50 emails/day;",v178:"3. No sending limit for accounts with prior email exchanges.",v179:"QQ Mail",v180:"Configure QQ Mail Authorization Code",v181:"There is no maximum sending limit for normal emails. If your email content is deemed as advertising or spam, it will be restricted. This is determined by the system, so avoid sending such emails.",v182:"Outlook Mail",v183:"Configuration Document",v184:"Learn about the Outlook SMTP Settings Interface:",v185:"Outlook SMTP Settings Interface",v186:"1. Daily recipients: 5,000",v187:"2. Maximum recipients per email: 500",v188:"3. Daily non-relationship recipients: 1,000",v189:"Sending Notes",v190:"1. To ensure email health, the combined daily sending limit for master and sub-accounts is {value} emails",v191:"2. When sending emails from non-system emails, the email unlock quota will be consumed simultaneously",v192:"When sending emails from non-system emails, the email unlock quota will be consumed simultaneously",v193:"Default",v194:"Set as Default",v195:"Unbind",v196:"Bind New Email",v197:"Email Type",v198:"Configuration Instructions",v199:"Please enter the Gmail email to bind",v200:"Please save the drafted email content first, as the email page will refresh during authorization",v201:"Ensure VPN is enabled before authorization",v202:"Gmail limits to 20 outgoing emails per hour",v203:"Please enter the Outlook email to bind",v204:"Email address",v205:"Email password/authorization password",v206:"SMTP Outgoing Mail",v207:"Please enter the domain name",v208:"Unencrypted",v209:"Please enter the port",v210:"IMAP Incoming Mail",v211:"This email has pending messages. If you unbind now, these messages will fail to send. Are you sure you want to continue?",v212:"Are you sure you want to unbind {currentUnbindEmail} from WotoHub? After unbinding, you will no longer be able to use the related functions for sending and receiving emails with {currentUnbindEmail}, and you will need to reauthorize to use it again.",v213:"Please select your business email provider",v214:"Please enter the email address",v215:"Please enter a valid email address",v216:"Please enter the email password/authorization password",v217:"Please enter the domain name",v218:"Please enter the port",v219:"Select Outbox",v220:"Outlook Personal Email",v221:"Default email set successfully",v222:"Binding successful",v223:"When sending emails from this address, it will automatically unlock the influencer's email. This will consume your email unlocking quota. Are you sure you want to continue?",v224:"Friendly Reminder",v225:"Continue",v226:"Cancel",v227:"Settings saved successfully",v228:"Gmail has been bound. The system currently supports binding only one Gmail account. To switch, please unbind the current email first.",v229:"Please enter the Outlook email",v230:"Outlook authorization successful",v231:"Unbinding successful",v232:"Email channel test successful",v233:"Incorrect port format",v234:"Incorrect domain format",v235:"Note: The maximum number of attachments is 10, and the total size of attachments must not exceed 200MB",v236:"Add Attachment",v237:"AI Optimized Content",v238:"Content Variables",v239:"Influencer Name",v240:"Target Language",v241:"Translate",v242:"Tone",v243:"Generate",v244:"Original Text",v245:"Email Template",v246:"*Applying the template will overwrite the current email content",v247:"To ensure your emails are efficiently and accurately delivered to the influencer's inbox, we limit the maximum number of bulk emails to 500. We hope you can use your email resources wisely to better communicate with bloggers.",v248:"Got it",v249:"Contacts without email addresses have been automatically filtered out for you.",v250:"Cancel Operation",v251:"Selected influencer has not disclosed contact information, unable to send email directly",v252:"Sender's Nickname",v253:"By setting a personalized sender nickname, your nickname will be directly displayed in the influencer's inbox. This helps establish a more approachable and professional brand image.",v254:"Sender nickname cannot be empty!",v255:"Signature",v256:"Search Signature",v257:"Create New Signature",v258:"Details",v259:"Last Updated:",v260:"Delete",v261:"Apply",v262:"text:",v263:"Selected",v264:"",v265:"Optimize grammar",v266:"Shorten content",v267:"Expand content",v268:"Enhance structure",v269:"Change tone",v270:"Please select not read emails"}};var uu=cu;const du={sendData:{sendTitle:"发信数据",search:{sendingTime:"发信时间:",phoneNumber:"手机号:",companyName:"公司名称:",addressee:"收件人:",textSearch:"正文检索:",send:"发送:",open:"打开:",LinkClick:"链接点击:",reply:"回复:",return:"退回:",unsubscribe:"退订:",emailComplaints:"邮件投诉:",search:"查询",download:"下载",reset:"重置",collapse:"收起",unfold:"展开",operate:"操作"},table:{createTime:"创建时间",sender:"发件人",name:"姓名",company:"公司",addressee:"收件人",subject:"主题",text:"正文",send:"发送",open:"打开",linkClick:"链接点击",reply:"回复",return:"退回",unsubscribe:"退订",spamComplaints:"垃圾邮件投诉",view:"查看",AIreplies:"AI回复"}},receiveData:{receiveTitle:"收信数据",search:{sendingTime:"发信时间:",sender:"发件人",receivingAccount:"收件账号:",recipientName:"收件姓名:",companyName:"公司名称:",textSearch:"正文检索:",search:"查询",download:"下载",reset:"重置"},table:{sendTime:"收件时间",sender:"发件人",addressee:"收件人",name:"姓名",company:"公司",subject:"主题",content:"正文",isRead:"是否已读",operate:"操作"}},inboxMail:{search:{default:"请输入",defaultSelect:"请选择",bloggerName:"红人名称",title:"标题正文",target:"推广计划",tagName:"标签名称",isRead:"已读状态",read:"已读",unRead:"未读",isStar:"星标邮件",sendEmail:"发件邮箱",emailStatus:"邮件状态",all:"所有邮件",starred:"星标",allEmail:"全部邮箱",sysEmail:"系统邮箱",businessEmail:"企业邮箱",isReply:"是否回复邮件",replyTrue:"已回复",replyFalse:"未回复",replayTime:"收件时间",time1:"近三个月内",time2:"近半年",time3:"全部邮件",search:"查询",reset:"重置",refresh:"刷新",delete:"删除",setUnRead:"设为未读邮件",batchReply:"批量回复",noTask:"无推广计划",tip1:"单次回复不得超出50条,请重新选择。",setHasRead:"设为已读邮件"},searchButton:{search:"查 询",reset:"重 置"}},inboxTable:{noTask:"无任务",addTag:"添加标签",delTag:"是否确认删除该邮件标签?",confirm:"确认",cancel:"取消",tip:"提示",cancelTagDel:"已取消删除",successTagDel:"邮件标签删除成功",errorTag:"标签显示错误",delmailWarning:"请至少选择一项",unReadSuccess:"操作成功",delMail:"此操作将永久删除,是否继续",del:"邮件删除成功",collMail:"已收藏",cancelMail:"取消收藏",requestError:"请求异常",deleteTip:"若该邮件为垃圾邮件,可屏蔽该邮箱发来的邮件",delShieldBtn:"删除并屏蔽邮箱"},newMail:{title:"新邮件提醒",content:"您已收到新邮件,快去收件箱看看吧"},inboxDetail:{addTag:"添加标签",addFavorites:"添加至收藏夹",send:"发送",to:"至",me:"我",reply:"回复",mailContent:"邮件正文不能为空",replySuccess:"回复成功",delSuccess:"删除成功",confirmContent:"此操作将永久删除,是否继续",tagError:"标签异常",tip:"提示",mailError:"邮件读取失败",confirm:"确 定",cancel:"取 消",omail:"原始邮件",to:"收件人",subject:"主题",content:"正文",outerBlogger:"库外红人或经纪人",email:"邮箱:",normalReply:"普通回信",reply2:"回信",simpleReply:"快捷回复",plan:"关联推广计划",noPlan:"暂无关联推广计划",coopStatus:"合作状态",coop1:"未合作",coop2:"确认合作",coop3:"已寄样",coop4:"内容制作中",coop5:"待上线",coop6:"合作完成",empty:"暂无",menu1:"红人档案",menu2:"寄样管理",menu3:"合作记录",menu4:"合作金额",menu5:"联盟分销",menu6:"备注",menu7:"举报红人",menu8:"加入黑名单",menu9:"红人详情",menu10:"支付",aiTip1:"AI生成的内容可能存在风险,请审查和确认",open:"展开",close:"收起",like:"赞",unLike:"踩",redo:"重新生成",stop:"停止生成",restPoint:"可用AI点数",aiRule:"点击查看AI点数权益消耗规则",aiContentReply:"AI内容回复",channelId:"频道ID",read:"红人已阅",unRead:"红人未阅",tips1:"请先添加关联推广计划!",tips2:"生成内容超时,请重试!",tip3:"暂无可回复内容!",tips4:"发送成功!",tips5:"操作成功",quickReply:"快捷回信",fullWrite:"切换到完整写信模式",sendNow:"立即发送",keywords:"关键信息",isBuilding:"AI关键信息生成中...",waring1:"以下信息由AI智能分析邮件内容后,提取关键信息生成",info1:"报价",info2:"联系方式",info3:"收货地址",info4:"收款信息",saveInfo:"录入至红人档案",noInfo:"本封邮件未提取到关键信息",aiTips2:"暂无可录入信息",infoSuccess:"录入成功!",planTitle1:"增加关联推广计划",planTitle2:"转移关联推广计划",planTip1:"注意:红人的联系状态、合作状态、绑定的追踪链接、视频等信息会同步关联进目标推广计划里面",planTip2:"注意:红人的联系状态、合作状态、视频等信息会同步的移动进目标推广计划里面",choosePlan:"选择推广计划",planPlace:"请选择推广计划",noPlan2:"当前暂无推广计划",createPlan:"创建推广计划",planTips3:"请选择推广计划",planVal:"推广计划",planMove:"转移",planGL:"关联",success:"成功",coopStatusTitle:"选择合作状态",previousPage:"上一页",nextPage:"下一页"},inboxTagDialog:{title:"标签",tip:"提示",default:"请输入标签",selectTag:"已选标签",collapse:"收起",unfold:"展开",bindTagTip:"请选择该邮件绑定的标签",bindSuccess:"绑定成功",addTagSuccess:"添加标签成功",addTagFail:"标签已存在",tagMaxLen1:"标签长度不能超过六个字符",tagMaxLen2:"标签长度不能超过十二个字符",tagMaxLen:"标签名称不能大于30个字符(15个汉字)",delTagSuccess:"标签删除成功",confirm:"确认",cancel:"取消"},searchButton:{search:"查 询",reset:"重 置"},writeMail:{receiver:"收件人",cc_person:"抄送人",subject:"主题",add_attachment:"添加附件",notice:"注",tip:"附件数量上限为10个,且附件总大小不超过200MB",content:"正文",template_var:"模板变量",channel_name:"频道名",channel_Id:"频道ID",blogger:"红人",name:"名称",fans_num:"粉丝数",channel_link:"频道链接",goback:"返 回",save_draft:"存草稿",delayed_sending:"定时发送",send_now:"立即发送",template:"模板",signature:"签名",product:"产品",task:"任务",creativity:"创意",retract:"收起",other:"另外",person:"人",time_limit:"发送时间不得早于当前时间",save_draft_tip:"是否将编辑内容保存入草稿箱?",save_mail:"是否保存邮件内容?",prompt:"提示",save:"保 存",cancle:"取 消",no_receiver:"收件人为空,不可发送",check_receiver:"请检查收件人邮箱是否正确",check_ccperson:"请检查抄送人邮箱是否正确",no_subject:"请输入邮件主题",subject_limit:"邮件主题不可超过100个字",no_content:"邮件正文不可为空",content_limit:"邮件正文不可超过5000个字",attachment_length_limit:"最多上传10个附件",attachment_size_limit:"附件总大小不能超过200MB",choose_send_time:"选择定时发送时间",will:"本邮件将在北京时间",post_to:"投递到对方邮箱",send:"发 送",choose_time_date:"选择日期时间",cancle_timer:"取消定时发送",change_timer:"修改发送时间",mail_will:"邮件将在",save_tip:"发送。邮件发送前,暂时保存在草稿箱,可随时查看或修改",set_delay_success:"定时发送设置成功",i_know:"我知道了",cancle_delay_tip:"发送。取消定时发送后,该邮件将恢复为普通的草稿邮件",whether_cancle_delay:"是否取消定时发送?",cancle_delay:"取消定时发送",no_cancle:"暂不取消",infoPop:"通常在邮件中使用一下模板变量,能够有效提高工作效率。"},uploadDialog:{title:"上传附件",btnUpload:"请选择文件",tip:"文件总大小上限为200MB且文件数量不能超过10个",tip1:"添加文件总大小剩余",tip2:"且文件剩余数量为",btnOk:"上传",btnClear:"清空",empty:"上传文件不能为空",maxSize:"文件总大小不能超过200M,请重新上传",maxNum:"上传文件数量不能超过10",success:"上传成功",wait:"请等待上传结束",not:"该文件格式不支持"},outboxMail:{blogger_name:"红人名称",title_content:"标题正文",task_name:"任务名称",mail_type:"邮件类型",mail_status:"邮件状态",star_mail:"星标邮件",all_read:"全部已读",all_unread:"全部未读",read:"人已读",no_task:"无任务",no_plan:"无推广计划",normal:"正常",delay:"定时",failed:"发送失败",all_mail:"所有邮件",choose:"请至少选择一项",confirm_del:"确认删除?",success:"操作成功"},draftMail:{draft:"草稿",no_receiver:"收件人未填写",send:"发送",empty:"为空",no_subject:"无主题"},outboxDetail:{back:"返回",me:"我",send_to:"发送至",retract:"收起",more:"展开更多",read:"已阅",unreviewed_resend:"未阅重发",resend_all:"全部重发",show_all:"显示全部",file_num:" 个附件",down_all:"全部下载"},blogMail:{search_mail:"搜索邮件",read:"已读",unread:"未读",receive_mail:"收件",send_mail:"发件"},template:{invite_cooperation:"合作邀请",price_negotiation:"价格协商",contract_template:"合同模板",video_production:"视频制作",expense_settlement:"费用结算",create_template:"创建模板",system_template:"系统模板",custom_template:"自定义模板",new_template:"新建模板",template_title:"模板标题",mail_title:"邮件标题",apply_scene:"应用场景",language:"语言",template_language:"模板语言",set_system_template:"设置系统模板",edit_template:"编辑模板",word_limit:"字以内",title_not_empty:"模板标题不可为空",title_word_limit:"模板标题在30个字以内",subject_not_empty:"邮件标题不可为空",scene_not_empty:"应用场景不可为空",scene_word_limit:"应用场景在20个字以内",language_not_empty:"语系不可为空",no_content:"邮件正文不可为空",choose_type:"选择类型",confirm:"确 定",template_type:"模板类型",set_success:"设置成功"},signature:{create_sign:"新建签名",edite_sign:"编辑签名",sign_not_empty:"签名不可为空",confirm_del:"确认删除该签名?"},product:{no_data:"还没有产品,赶快创建一个吧!",add_product:"添加产品",create_product:"新建产品",upload_picture:"上传产品图片",length_limit:"大小不超过",product_name:"产品名称",en_name:"英文名称",product_type:"产品类型",E_COMMERCE:"电商平台",produce_link:"产品链接",product_price:"产品售价",dollar:"美元",link:"原链接",link_goods:"商品",link_app:"APP推广",link_web:"网站推广",link_amazon:"亚马逊 Amazon",link_aliExpress:"速卖通 AliExpress",link_lazada:"来赞达 Lazada",link_shopee:"虾皮 Shopee",link_independent:"独立站",link_other:"其他",empty_link_name:"产品名称不能为空",limit_link_words:"产品名称不可超过20个字",empty_en_name:"英文名称不能为空",limit_en_words:"英文名称不可超过100个字",false_en_name:"英文名称输入不正确",select_link_type:"请选择产品类型",select_platform:"请选择电商平台",empty_link:"产品链接不能为空",empty_price:"产品售价不能为空",no_img:"没有上传产品图片",create_success:"创建成功",false_link:"产品链接格式错误,请重新输入",re_link_name:"产品名称已经存在,请重新输入",limit_upload:"上传图片大小不能超过5MB"},task:{choose:"选择",blogger_classify:"红人分类",blogger_country:"红人国家",blogger_platform:"红人平台",create_date:"创建日期",no_data:"还没有任务,赶快创建一个吧!"},creativity:{no_data:"收藏过的创意才会出现在这里哦",content:"创意内容",script:"创意脚本",insert:"插入",interaction_rate:"互动率",script_name:"脚本名称",script_classify:"脚本分类",script_num:"脚本编号",collect:"收 藏",cancle_collect:"取消收藏",storyboard:"分镜",suggested_duration:"建议时长",plot_summary:"情节概要",key_point:"要点",case_name:"案例名称",case_classify:"案例分类",playback_volume:"播放量",likes:"点赞量",comments_num:"评论数",content_title:"内容标题",content_validity:"内容简介",video_num:"视频数",channel_createtime:"频道创建时间",blogger_area:"红人地区",blogger_detail:"红人详情",case_detail:"案例详情",no_title:"暂无标题",no_validity:"暂无简介",script_content:"脚本内容",average_play:"平均播放量",total_watch:"总观看量"},common:{please_select:"请选择",please_input:"请输入",no_data:"暂无数据",confirm:"确定",cancle:"取消",delete:"删除",apply:"应用",detail:"详情",download:"下载",update_on:"更新于",second:"秒",minute:"分"},productForm:{product_selection_form:"选品表单",creation_time:"创建时间",selection_form_name:"选品表单名称",number_of_product_cards:"商品卡数量",viewing_frequency:"查看次数",update_time:"更新时间",operation:"操作",cancel:"取 消",confirm:"确 认",see:"查看"},productCard:{product_card:"商品卡",example:"示例",add_product_card:"添加商品卡"},newProduct:{product:"产品",product_name:"产品名称",please_enter:"请输入",please_enter_num:"请输入数字",productName:"产品名称",productId:"产品ID",productRemark:"产品备注",query:"查 询",reset:"重 置",details:"详情",shopifyProduct:"独立站产品",product_remarks:"产品备注",product_en:"英文名称",channel:"渠道",product_details:"产品详情",view_cards_times:"商品卡查看次数",basic_information:"基础信息",name:"名称",chinese:"中文",english:"英文",remarks:"备注",picture:"图片",category:"类别",describe:"描述",source:"来源",sales_information:"销售信息",price:"售价",sku_description:"SKU说明",shippable_regions:"可发货地区",search_keywords:"搜索关键词",Main_image:"主图",Manual_addition:"手动添加",Shopify_import:"Shopify导入",TikTok_import:"TikTok导入",Cancel:"取 消",preservation:"保 存"},setMail:{Sending_settings:"发件设置",Current_settings:"当前设置",mailbox_system:"系统邮箱",unbind:"解绑",tip1:"您确定要解除邮箱{currentUnbindEmail}与WotoHub的绑定关系么?解除绑定后,您将无法再使用{currentUnbindEmail}邮箱代收发的相关功能,并且需要重新进行授权才能使用。取消授权需要在Gmail邮箱中进行设置。",guide:"点击查看操作指引",cancle:"取消",confirm_unbinding:"确定解绑",no_bind_mail:"暂无绑定邮箱",bind:"绑定",tip2:"请先保存已编写的邮件内容,授权时将会刷新写信页面",tip3:"授权前请先保证VPN已开启",tip4:"请输入要绑定的Gmail邮箱",auth:"授权",tip5:"Gmail限制每小时20封外发电子邮件",confirm:"确定",auth_success:"Gmail授权成功",auth_failed:"Gmail授权失败",tip6:"请先绑定Gmail邮箱",tip7:"设置系统邮箱成功",tip8:"设置GMAIL邮箱成功",tip9:"请先输入Gmail邮箱",tip10:"请输入正确格式的邮箱格式",tip11:"设置企业邮箱成功"},deliveryTime:{Delivery_time:"发件时间",three_months:"近三个月内",past_six_months:"近半年",all_emails:"全部邮件",no_promotion_plan:"无推广计划",Channel_ID:"频道ID",tips:"为了确保您的邮件能够高效准确地送达至红人,我们限制了群发邮件的数量最大为500封,因此本次发送只限前500位未阅红人。",know:"我知道了",tip:"提示"},checkMail:{filtering:"过滤中",filter_completed:"过滤完成",tip1_1:"所有收件人在30天内均为首次触达,将在",tip1_2:"后自动进行到下一步",tip2:"有效发件人:为了保障邮箱健康度,平台会自动过滤掉当天有过重复标题发送的红人",tip3_1:"检测发现",tip3_2:"个有效收件人中,其中",tip3_3:"位红人30天内邮件联系过,请问是否要过滤这些红人,避免重复触达",variable_replacement:"变量替换",tip4:"推荐在邮件标题和正文中使用变量,以提升邮件打开率",tip5:"邮件检测中,检测完成后,将会自动进入下一步创建邮件",tip6_1:"邮件已完成质量检测,将会在",tip6_2:"内自动创建邮件",continue_sending_emails:"继续发件",optimize_emails:"优化邮件",email_created_successfully:"邮件创建成功",tip7_1:"后续请密切关注收件情况.将在",tip7_2:"后跳转发件箱",jump_immediately:"立即跳转",creation_failed:"创建失败",tip8_1:"收件人为空,邮件创建失败。将在",tip8_2:"后自动关闭",close:"关闭",filter_duplicate_touchpoints:"过滤重复触达",filter_contacted_influencers:"过滤已联系红人",email_quality_inspection:"邮件质量检测",create_email:"创建邮件",tip9:"超过当日邮件发送限额",tip10_1:"为保障邮箱健康,每日邮件发送上限为{value}封。今日剩余发送数",tip10_2:"封。您可以",tip11:"将邮件暂存至草稿箱",tip12:"设置次日的定时发送",know:"我知道了",send_notice:"发件需知",tip13:"了解更多邮件优化技巧,请咨询客服人员。",tip14:"14天内不再提示",tip15:"为保障邮箱健康度,主子账号合计单日发送数存在上限。",tip16:"标题和正文中使用变量,有助于提升邮件打开率。",tip17:"模版变量推荐用法",tip18:"邮件标题和正文中使用变量,可增加群发内容的丰富度,有效提升邮件的送达率和打开率",messageTip1:"邮箱解锁已达上限!请联系服务人员以获得更多额度。"},edm2:{mailEn1:"单轮邀约",mailEn2:"多轮邀约",mailEn3:"回复发件",mailEn4:"筛选",mailEn5:"写信",mailEn6:"邮件主题",mailEn7:"邮件正文",mailEn8:"选择日期",mailEn9:"送达率",mailEn10:"打开率",mailEn11:"回复率",mailEn12:"发送时间",mailEn13:"邮件内容",mailEn14:"邮件",mailEn15:"附件",mailEn16:"红人列表",mailEn17:"国家",mailEn18:"平台",mailEn19:"是否回复",mailEn20:"隐藏AI自动邀约邮件",mailEn21:"否",mailEn22:"是",mailEn23:"收件人列表",mailEn24:"添加收件人",mailEn25:"下一步",mailEn26:"添加来源",mailEn27:"移除收件人",mailEn28:"取消移除",mailEn29:"收件人列表中尚有未确认的重复红人。为了避免重复触达,系统将自动过滤,不会给他们发信。确认继续吗?",mailEn30:"您勾选了重复红人,只会给已勾选的重复红人发信",mailEn31:"重复收件人",mailEn32:"您添加的收件人存在重复, 为避免浪费邮件资源,请再次确认"},edm5:{v1:"刷新",v2:"删除",v3:"请选择已读邮件",v4:"发件邮箱:",v5:"请使用原邮箱回信",v6:"AI邮件总结",v7:"提取关键信息",v8:"提取报价、联系方式、收货地址、收款信息",v9:"AI回信",v10:"操作成功",v11:"生成内容超时,请重试!",v12:"AI生成的内容可能存在风险,请审查和确认",v13:"回信策略",v14:"请输入您的回复要求",v15:"回信策略生成中",v16:"没有帮助?试试其他",v17:"可用AI点数:",v18:"点击查看AI点数权益消耗规则",v19:"取 消",v20:"生 成",v21:"英文",v22:"友好的",v23:"一",v24:"二",v25:"三",v26:"四",v27:"五",v28:"六",v29:"请输入您要回复的主题",v30:"AI生成的回信内容(中文)",v31:"AI生成的回信内容({ value })",v32:"赞",v33:"踩",v34:"重新生成",v35:"停止生成",v36:"确 定",v37:"收款人:",v38:"卡号:",v39:"银行:",v40:"送达率、打开率、回复率数据,会在每日0点和12点进行更新及校对",v41:"频道ID:",v42:"红人",v43:"请输入红人名搜索",v44:"重置",v45:"确定",v46:"未读",v47:"已读",v48:"是",v49:"否",v50:"邮件状态",v51:"预计发送时间",v52:"草稿",v53:"待发送",v54:"发送失败",v55:"邮件内容",v56:"附件",v57:"可设置多个邮件模版,发送时轮流发送",v58:"增加/删除收件人",v59:"邮件",v60:"添加邮件内容",v61:"发件人昵称",v62:"立即发送",v63:"发送",v64:"定时发送",v65:"生成邮件",v66:"优化内容",v67:"仿写邮件",v68:"翻译",v69:"AI邮件",v70:"邮件模版",v71:"内容变量",v72:"模板",v73:"签名",v74:"产品",v75:"选品表单",v76:"关闭提示",v77:"收件人和邮件都为空,保存草稿失败",v78:"确定要删除该内容吗?删除后无法恢复",v79:"提示",v80:"写信内容为空,暂无法操作!",v81:"编辑失败,请重试!",v82:"AI生成邮件",v83:"根据选定产品和合作要求,AI即时定制专业邮件内容",v84:"第一步:",v85:"选择产品",v86:"已选择",v87:"产品",v88:"第二步:",v89:"填写合作要求",v90:"生成",v91:"填写合作要求",v92:"*分享更多细节给AI,让您的邀约邮件更加精彩",v93:"邮件落款",v94:"产品或品牌优势",v95:"请输入",v96:"是否免费寄送样品",v97:"是否提供基础报酬",v98:"请选择",v99:"红人佣金",v100:"视频风格",v101:"视频时长",v102:"秒",v103:"请输入内容后点击回车添加",v104:"其他要求",v105:"生成语言:",v106:"为了AI更好的解析,请使用目标语言填写",v107:"产品信息",v108:"产品名称:",v109:"英文名称:",v110:"渠道:",v111:"产品链接:",v112:"可发货地区:",v113:"描述:",v114:"合作要求",v115:"产品或品牌优势:",v116:"合作方式:",v117:"视频风格:",v118:"视频时长:",v119:"其他要求:",v120:"正在使用 DeepSeek 为您生成邮件",v121:"主题:",v122:"内容:",v123:"暂未添加任何邮件",v124:"应 用",v125:"免费提供样品",v126:"不免费提供样品",v127:"有基础报酬",v128:"没有基础报酬",v129:"场景植入",v130:"反差对比",v131:"体验分享",v132:"直接展示",v133:"开箱测评",v134:"邮件落款不能为空!",v135:"至少完善其中一个步骤!",v136:"暂无可应用的邮件!",v137:"企业邮箱配置指南",v138:"想通过企业邮箱来邀约网红,可以授权给第三方客户端(例如WotoHub平台)登录企业邮箱来发送邮件。授权只用于调用企业邮箱的发送邮件功能,本质上群发的邮件还是通过用户的企业邮箱发出,因此会受限于企业邮箱的收发件规则。",v139:"授权方法",v140:"1.在邮件编辑页面点击进入【发件设置】去绑定第三方邮箱",v141:"2.选择【绑定新邮箱】后选择邮箱类型(Gmail邮箱或企业邮箱)",v142:"3.选择Gmail邮箱后去授权绑定,选择企业邮箱后填写相关字段",v143:"备注:目前使用QQ邮箱、腾讯企业邮箱时需要【授权码】登录,获取方法详见下方【SMTP配置帮助文档】。",v144:"Gmail邮箱授权",v145:"Gmail邮箱授权绑定时请保证VPN已开启,授权时请手动勾选前两个权益(不是全选)。",v146:"若您不小心勾选全部导致授权一直不成功,请在Gmail账号设置中【安全性】清除对WotoKOL的授权,重新绑定即可。",v147:"第一步:进入账号管理",v148:"第二步:进入安全性页面,在 您与第三方应用和服务的关联 中找到WotoKOL",v149:"第三步:撤销所有关联即可,完成后请在WotoHub重新进行邮箱绑定操作。",v150:"SMTP配置帮助文档",v151:"不同的企业邮箱如何开启、配置SMTP服务器以及获取授权码,方法可参考用户所使用的邮件服务商的帮助文档。以下整理了部分常用的企业邮箱的帮助文档,在高级选项默认配置下无法授权成功时,请按相关文档检查配置并验证,如需要帮助可以联系客成人员。",v152:"邮箱",v153:"SMTP服务器",v154:"是否需要授权码登录",v155:"帮助文档",v156:"平台封控规则",v157:"查看详情",v158:"邮件验证失败的常见原因及解决方法",v159:"1.该邮箱已被绑定",v160:"每个邮箱仅能绑定一个账号,系统发现您填写的邮箱已被其他账号绑定占用,请您重新输入合适的邮箱。",v161:"2.填写信息有误,请再次确认所填写的内容",v162:"请检查邮箱账号和密码是否正确,部分企业邮箱需要【授权码】登录请检查授权码是否正确。",v163:"特殊情况如阿里企业邮箱,请确保【三方客户端安全密码】已关闭,如下图:",v164:"3.邮箱地址无效",v165:"您所提供的邮箱地址存在格式错误、该邮箱不存在或者邮箱地址不在平台支持的企业邮箱范围内等问题,导致无法正常使用该邮箱进行通信或相关操作,请您核对后重新填写正确信息。",v166:"4.授权失败,请查看配置说明",v167:"存在您授权Gmail邮箱时,权益勾选错误,请您查看上方Gmail邮箱授权注意事项,按操作重新尝试即可。",v168:"阿里企业邮箱",v169:"1.群发邮件限制300封",v170:"2.分别发送收件人限制100封",v171:"腾讯企业邮箱",v172:"开启STMP服务",v173:"阿里企业邮箱配置到第三方客户端",v174:"开启POP/SMTP/IMAP功能",v175:"获取客户端专用密码",v176:"1.30用户以下的企业日发信量限制是不超过1500封;",v177:"2.30用户以上的企业日发信量为用户数*50封/天;",v178:"3.对有过邮件来往的成员账号不限发信量的限制。",v179:"QQ邮箱",v180:"配置QQ邮箱授权码",v181:"如果您是正常发送邮件的,则没有最大发信量的限制,如果您发送的邮件内容属于广告邮件或垃圾邮件,则会受到限制,这个是系统判定的,建议您不要发送此类邮件。",v182:"outlook邮箱",v183:"配置文档",v184:"了解Outlook SMTP设置界面:",v185:"Outlook SMTP设置界面",v186:"1.每日收件人:5,000",v187:"2.每封邮件的最大收件人数:500",v188:"3.每日非关系收件人:1,000",v189:"发件须知",v190:"1.为保障邮箱健康度,主子账号合计单日发送上限为{value}封",v191:"2.非系统邮箱发送邮件时,将同步消耗邮箱解锁配额",v192:"非系统邮箱发送邮件时,将同步消耗邮箱解锁配额",v193:"默认",v194:"设为默认",v195:"解绑",v196:"绑定新邮箱",v197:"邮箱类型",v198:"配置说明",v199:"请输入要绑定的Gmail邮箱",v200:"请先保存已编写的邮件内容,授权时将会刷新写信页面",v201:"授权前请先保证VPN已开启",v202:"Gmail限制每小时20封外发电子邮件",v203:"请输入要绑定的Outlook邮箱",v204:"邮箱地址",v205:"邮箱密码/授权密码",v206:"SMTP发件",v207:"请输入域名",v208:"不加密",v209:"请输入端口",v210:"IMAP收件",v211:"该邮箱有待发送的邮件,如果您现在解绑,这些邮件将会发送失败,请确认是否继续?",v212:"您确定要解除{currentUnbindEmail}与WotoHub的绑定关系吗?解除绑定后,您将无法再使用{currentUnbindEmail}邮箱代收发的相关功能,并且需要重新进行授权才能使用。",v213:"请选择企业邮箱服务商",v214:"请输入邮箱地址",v215:"请输入正确的邮箱地址",v216:"请输入邮箱密码/授权密码",v217:"请输入域名",v218:"请输入端口",v219:"发件箱选择",v220:"Outlook个人邮箱",v221:"设置默认邮箱成功",v222:"绑定成功",v223:"使用该邮箱发件时,将自动解锁红人邮箱,这将消耗您的解锁邮箱权益数,请确认是否继续。",v224:"温馨提醒",v225:"继续",v226:"取消",v227:"设置成功",v228:"Gmail邮箱已绑定,目前系统仅支持绑定一个Gmail邮箱,如需更换,请先解绑当前邮箱。",v229:"请输入Outlook邮箱",v230:"OutLook授权成功",v231:"解绑成功",v232:"邮件通道测试正常",v233:"端口号格式不正确",v234:"域名格式不正确",v235:"注:附件数量上限为10个,且附件总大小不超过200MB",v236:"添加附件",v237:"AI优化内容",v238:"内容变量",v239:"红人名",v240:"目标语言",v241:"翻译",v242:"语气",v243:"生成",v244:"原文",v245:"邮件模版",v246:"*套用模版将会覆盖当前邮件内容",v247:"为了确保您的邮件能够高效准确地送达到红人的邮箱中,我们限制了群发邮件的数量最大为500封。希望您能够合理利用邮件资源,以便更好地与博主进行沟通。",v248:"我知道了",v249:"已自动为您过滤无邮箱红人。",v250:"取消操作",v251:"选中红人暂未公开联系方式,无法直接发送邮件",v252:"发件人昵称",v253:"通过设置个性化的发件人昵称,您的昵称将直接展示在红人的收件箱中。有助于树立更亲近、更专业的品牌形象。",v254:"发件人昵称不能为空!",v255:"签名",v256:"搜索签名",v257:"新建签名",v258:"详情",v259:"更新时间:",v260:"删除",v261:"应用",v262:"正文:",v263:"已选中",v264:"项",v265:"优化拼写与语法",v266:"缩短内容",v267:"扩充内容",v268:"优化结构",v269:"改变语气",v270:"请选择未读邮件"}};var hu=du;qn().use(ou);const pu={en:{...uu,...au.A},zh:{...hu,...su["default"]}},fu=new ou({locale:Wi.get("language")||"zh",messages:pu,silentTranslationWarn:!0});lu["default"].i18n(((e,t)=>fu.t(e,t)));var mu=fu;const gu=[{icon:"icon-caidan-kehudangan",name:mu.t("inboxDetail.menu1"),key:"blogger",activeName:"1"},{icon:"icon-wuliu",name:mu.t("inboxDetail.menu2"),key:"logistics",activeName:"3"},{icon:"icon-fenxiao",name:mu.t("inboxDetail.menu5"),key:"unit",activeName:"5"},{icon:"icon-hezuoneirong",name:mu.t("inboxDetail.menu3"),key:"content",activeName:"6"}],vu=[{coopStatus:mu.t("inboxDetail.coop1"),ccode:0},{coopStatus:mu.t("inboxDetail.coop2"),ccode:1},{coopStatus:mu.t("inboxDetail.coop3"),ccode:6},{coopStatus:mu.t("inboxDetail.coop4"),ccode:2},{coopStatus:mu.t("inboxDetail.coop5"),ccode:3},{coopStatus:mu.t("inboxDetail.coop6"),ccode:4}];var yu=function(){var e=this,t=e._self._c;return t("div",[t("el-tooltip",{attrs:{"popper-class":"wt-email-tooltip",placement:"top"}},[t("div",{staticClass:"wt-email-tooltip-content",attrs:{slot:"content"},slot:"content"},[e._v(e._s(e.content))]),t("i",{staticClass:"dss-iconfont icon-bangzhushuomingbeifen",staticStyle:{"font-size":"14px",color:"#a9a9a9",cursor:"pointer"},on:{click:e.handleEvent}})]),e.aiRuleVisible?t("AiRuleDialog",{attrs:{visible:e.aiRuleVisible},on:{"update:visible":function(t){e.aiRuleVisible=t}}}):e._e()],1)},bu=[],wu=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{title:"",visible:e.visible,width:"600px","append-to-body":"","custom-class":"ai-rule-setting-dialog"},on:{close:e.close}},[t("i",{staticClass:"closeIcon dss-iconfont icon-close",on:{click:e.close}}),t("div",{staticClass:"title"},[e._v("AI点数权益消耗规则")]),t("div",{staticClass:"content2"},[t("el-table",{staticClass:"ai-point-table",staticStyle:{width:"100%"},attrs:{border:"",data:e.tableData}},[t("el-table-column",{attrs:{align:"center",prop:"name",label:"功能项"}}),t("el-table-column",{attrs:{align:"center",prop:"value",label:"消耗点数"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("div",{staticClass:"point"},[t("span",{staticClass:"num"},[e._v(e._s(n.row.point))]),t("span",{staticClass:"unit"},[e._v(e._s(n.row.unit))])])]}}])})],1)],1)])},_u=[],Cu={props:{visible:{type:Boolean,default:!1}},components:{},data(){return{tableData:[{name:this.$t("edm5.v82"),unit:"/每次操作",point:1},{name:"内容优化",unit:"/每次操作",point:1},{name:"仿写邮件",unit:"/每次操作",point:1},{name:"翻译",unit:"/每次操作",point:1},{name:"AI总结邮件内容",unit:"/每封邮件",point:1},{name:"AI回信",unit:"/每封邮件",point:1},{name:this.$t("edm5.v34"),unit:"/每封邮件",point:1}]}},created(){},methods:{close(){this.$emit("update:visible",!1)}}},xu=Cu,Su=Ba(xu,wu,_u,!1,null,"f55f06f4",null),ku=Su.exports,Eu={props:["content","isShowRule"],components:{AiRuleDialog:ku},data(){return{aiRuleVisible:!1}},methods:{handleEvent(){this.isShowRule&&(this.aiRuleVisible=!0)}}},Au=Eu,Du=Ba(Au,yu,bu,!1,null,null,null),Ou=Du.exports,Tu=function(){var e=this,t=e._self._c;return t("div",{staticClass:"email-box-main",domProps:{innerHTML:e._s(e.filterBaseTag(e.content))}})},Iu=[],Pu={props:["content"],methods:{filterBaseTag(e){return e&&(e=e.replace("https://pixel.xin/emailControl.php?mid=","").replace("https://pixel.xin/hub.gif?mid=","").replace(new RegExp("unsubscribe","g"),"").replace(/\r\n/g,"<br />").replace(/ツ?/g,"").replace(/<base.*?(?:>|\/>)/gi,"").replace(/&gt; &gt;/g,"<br /><br />")),e}}},Fu=Pu,Mu=Ba(Fu,Tu,Iu,!1,null,"5fe8cdd4",null),Bu=Mu.exports,Nu=function(){var e=this,t=e._self._c;return t("div",{staticClass:"simple-replay"},[t("div",{staticClass:"header"},[t("span",{staticClass:"title"},[e._v(e._s(e.$t("inboxDetail.quickReply")))]),t("span",{staticClass:"right"},[t("el-tooltip",{attrs:{placement:"top","popper-class":"wt-tooltip"}},[t("i",{staticClass:"dss-iconfont icon-zuidahua",on:{click:e.toFullWrite}}),t("div",{staticStyle:{color:"#333"},attrs:{slot:"content"},slot:"content"},[e._v(" "+e._s(e.$t("inboxDetail.fullWrite"))+" ")])]),t("i",{staticClass:"el-icon-close",on:{click:e.drawerClose}})],1)]),t("div",{staticClass:"txt-content"},[t("el-input",{staticClass:"ai-simple-textarea",staticStyle:{"font-size":"16px"},attrs:{type:"textarea",rows:15,placeholder:"",resize:"none"},model:{value:e.content,callback:function(t){e.content=t},expression:"content"}}),t("el-popover",{attrs:{placement:"left-end",width:"300",trigger:"click","popper-class":"emoji-popover"},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[t("i",{staticClass:"dss-iconfont icon-xiaolian emoji-icon",attrs:{slot:"reference"},slot:"reference"}),t("div",{staticClass:"emoji-box"},e._l(e.allEmoji,(function(n,i){return t("span",{key:i,staticClass:"box-item",on:{click:function(t){return e.chooseEmoji(n)}}},[e._v(e._s(n))])})),0)])],1),t("div",{staticClass:"footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{size:"small"},on:{click:e.drawerClose}},[e._v(e._s(e.$t("inboxDetail.cancel")))]),t("el-button",{attrs:{loading:e.loading,size:"small",type:"primary"},on:{click:e.sendMessage}},[e._v(e._s(e.$t("inboxDetail.sendNow")))])],1)])},Ru=[],$u={props:{visible:{type:Boolean,default:!1},maxId:{type:[String,Number],default:""}},data(){return{content:"",show:!1,allEmoji:["😀","😁","😂","😃","😄","😅","😆","😉","😊","😋","😎","😍","😘","😗","😙","😚","😇","😐","😑","😶","😏","😣","😥","😮","😯","😪","😫","😴","😌","😛","😜","😝","😒","😓","😔","😕","😲","😷","😖","😞","😟","😤","😢","😭","😦","😧","😨","😬","😰","😱","😳","😵","😡","😠","💘","❤","💓","💔","💕","💖","💗","💙","💚","💛","💜","💝","💞","💟","❣","💪","👈","👉","☝","👆","👇","✌","✋","👌","👍","👎","✊","👊","👋","👏","👐","✍","🍇","🍈","🍉","🍊","🍋","🍌","🍍","🍎","🍏","🍐","🍑","🍒","🍓","🍅","🍆","🌽","🍄","🌰","🍞","🍖","🍗","🍔","🍟","🍕","🍳","🍲","🍱","🍘","🍙","🍚","🍛","🍜","🍝","🍠","🍢","🍣","🍤","🍥","🍡","🍦","🍧","🍨","🍩","🍪","🎂","🍰","🍫","🍬","🍭","🍮","🍯","🍼","☕","🍵","🍶","🍷","🍸","🍹","🍺","🍻","🍴","🌹","🍀","🍎","💰","📱","🌙","🍁","🍂","🍃","🌷","💎","🔪","🔫","🏀","⚽","⚡","👄","👍","🔥","🙈","🙉","🙊","🐵","🐒","🐶","🐕","🐩","🐺","🐱","😺","😸","😹","😻","😼","😽","🙀","😿","😾","🐈","🐯","🐅","🐆","🐴","🐎","🐮","🐂","🐃","🐄","🐷","🐖","🐗","🐽","🐏","🐑","🐐","🐪","🐫","🐘","🐭","🐁","🐀","🐹","🐰","🐇","🐻","🐨","🐼","🐾","🐔","🐓","🐣","🐤","🐥","🐦","🐧","🐸","🐊","🐢","🐍","🐲","🐉","🐳","🐋","🐬","🐟","🐠","🐡","🐙","🐚","🐌","🐛","🐜","🐝","🐞","🦋","😈","👿","👹","👺","💀","☠","👻","👽","👾","💣","0️⃣","1️⃣","2️⃣","3️⃣","4️⃣","5️⃣","6️⃣","7️⃣","8️⃣","9️⃣","🔟","➡️","⬅️","⬆️","⬇️","↗️","↘️","↙️","↖️","↕️","↔️","🔴","🟣","🔵","🟢","🟡","🟠","⚫","⚪️","🟤"],loading:!1,timer:null}},methods:{drawerClose(){this.$emit("close")},chooseEmoji(e){this.content=this.content+e,this.show=!1},toFullWrite(){this.$emit("fullWrite",this.content),this.drawerClose(),this.content=""},sendMessage(){if(!this.content)return this.$message.error("请输入回信内容!");let e={replyIds:[this.maxId],content:`<p>${this.content.replace(/\n/g,"<br>")}</p>`,sendEntryKey:"quickReply"};this.loading=!0,ns(e).then((e=>{"0"===e.code?(this.$message.success("发送成功!"),this.timer&&clearTimeout(this.timer),this.timer=setTimeout((()=>{this.$emit("refresh"),this.drawerClose()}),500)):this.$message.error(e.message)})).finally((()=>{this.loading=!1}))},addEmoji(e){console.log(e)}}},ju=$u,Lu=Ba(ju,Nu,Ru,!1,null,"582e18f7",null),zu=Lu.exports,Vu=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{title:e.$t("inboxDetail.keywords"),visible:e.visible,width:"480px","append-to-body":"","custom-class":"email-intention-dialog"},on:{close:e.close}},[t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.isReplayIng,expression:"isReplayIng"}],attrs:{"element-loading-customclass":"ai-intention-loading","element-loading-text":e.$t("inboxDetail.isBuilding")}},[e.noKeyInformation?[t("div",{staticClass:"no-icon"},[t("i",{staticClass:"dss-iconfont icon-no-keyInformation"})]),t("div",{staticClass:"no-tips"},[e._v(e._s(e.$t("inboxDetail.noInfo")))])]:[t("div",{staticClass:"tip"},[e._v(e._s(e.$t("inboxDetail.waring1")))]),t("div",{staticClass:"info"},[t("div",{staticClass:"item"},[e._v(" "+e._s(e.$t("inboxDetail.info1"))+":"+e._s(e.detail.monetaryUnit)+e._s(e.detail.quoteNumber)+" ")]),t("div",{staticClass:"item"},[e._v(" "+e._s(e.$t("inboxDetail.info2"))+":"+e._s(e.detail.phoneNumber)+" ")]),t("div",{staticClass:"item"},[e._v(" "+e._s(e.$t("inboxDetail.info3"))+":"+e._s(e.detail.shippingAddress)+" ")]),t("div",{staticClass:"item"},[e._v(" "+e._s(e.$t("inboxDetail.info4"))+":"+e._s(e.detail.billingMessage)+" ")])]),t("div",{staticClass:"bottom"},[t("span",{staticClass:"sub-tip"},[e._v(e._s(e.$t("inboxDetail.aiTip1")))])])]],2)])},Hu=[],Uu={props:{visible:{type:Boolean,default:!1},id:{type:String,default:""},bloggerId:{type:String,default:""},maxId:{type:[String,Number],default:""},currentMail:{type:Object,default:()=>{}}},data(){return{btnLoading:!1,detail:{quoteNumber:"-",monetaryUnit:"",phoneNumber:"-",shippingAddress:"-",billingMessage:"-"},isReplayIng:!1,ReplayTimer:null,counter:0}},computed:{noKeyInformation(){return!this.detail||0===Object.keys(this.detail).length||!this.detail.quoteNumber&&!this.detail.phoneNumber&&!this.detail.shippingAddress&&!this.detail.billingMessage}},created(){this.initProgress()},methods:{close(){this.stopReplaySetInterval(),this.$emit("update:visible",!1)},async initProgress(){try{this.isReplayIng=!0;const e=await us(this.currentMail.id);if("0"==e.code){if(null===e.data?.isComplete)this.setEmailIntentionExtract();else if(!1===e.data?.isComplete)this.getInformationProgress();else if(!0===e.data?.isComplete){this.isReplayIng=!1;const t=e.data?.keyInformation||{};let n=[];t.payeeName&&n.push(`${this.$t("edm5.v37")}${t.payeeName}`),t.PayPal&&n.push(`PayPal:${t.PayPal}`),t.bankCardNumber&&n.push(`${this.$t("edm5.v38")}${t.bankCardNumber}`),t.bankName&&n.push(`${this.$t("edm5.v39")}${t.bankName}`),t.billingMessage=n.join("、"),this.detail=t}}else this.isReplayIng=!1,this.stopReplaySetInterval(),this.$message.error(e.message)}catch(Rl){console.log(Rl),this.isReplayIng=!1}},async setEmailIntentionExtract(){try{const e=await ds(this.currentMail.id);"0"===e.code?this.getInformationProgress():(this.isReplayIng=!1,this.stopReplaySetInterval(),this.detail={quoteNumber:"",monetaryUnit:"",phoneNumber:"",shippingAddress:"",billingMessage:""},this.$message.error(e.message))}catch(Rl){console.log(Rl)}},getInformationProgress(){this.isReplayIng=!0,this.stopReplaySetInterval(),this.ReplayTimer=setInterval((async()=>{this.counter+=1;const e=await this.getAiKeyInformation();e&&(this.$emit("refreshPoint"),this.isReplayIng=!1,this.stopReplaySetInterval()),this.counter>=60&&(this.isReplayIng=!1,this.stopReplaySetInterval(),this.$message.error(this.$t("inboxDetail.tips2")))}),2e3)},stopReplaySetInterval(){this.ReplayTimer&&(clearInterval(this.ReplayTimer),this.ReplayTimer=null)},async getAiKeyInformation(){try{const e=await us(this.currentMail.id);if("0"==e.code){if(e.data?.isComplete){const t=e.data?.keyInformation||{};let n=[];t.payeeName&&n.push(`收款人:${t.payeeName}`),t.PayPal&&n.push(`PayPal:${t.PayPal}`),t.bankCardNumber&&n.push(`卡号:${t.bankCardNumber}`),t.bankName&&n.push(`银行:${t.bankName}`),t.billingMessage=n.join("、"),this.detail=t}return e.data?.isComplete}return this.isReplayIng=!1,this.$message.error(e.message),!0}catch(Rl){return console.log(Rl),this.isReplayIng=!1,!0}},async addBloggerInfo(){const{quoteNumber:e,monetaryUnit:t,phoneNumber:n,shippingAddress:i,billingMessage:r}=this.detail;if(!e&&!n&&!i&&!r)return this.$message.error(this.$t("inboxDetail.aiTips2"));try{this.btnLoading=!0;const o=await ps({bloggerId:this.bloggerId,quote:e,contactWay:n,contactAddr:i,proceedsMsg:r,monetaryUnit:t});"0"===o.code?(this.close(),this.$message.success(this.$t("inboxDetail.infoSuccess"))):this.$message.error(o.message)}catch(Rl){console.log(Rl)}finally{this.btnLoading=!1}}}},Wu=Uu,qu=Ba(Wu,Vu,Hu,!1,null,"bddd0426",null),Yu=qu.exports,Gu=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{title:e.isHasPlan?e.$t("inboxDetail.planTitle2"):e.$t("inboxDetail.planTitle1"),visible:e.visible,width:"480px","append-to-body":"","custom-class":"email-plan-dialog"},on:{close:e.close}},[t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}]},[e.isHasPlan?t("div",{staticClass:"tips"},[e._v(" "+e._s(e.$t("inboxDetail.planTip2"))+" ")]):t("div",{staticClass:"tips"},[e._v(" "+e._s(e.$t("inboxDetail.planTip1"))+" ")]),e.planOpts.length>0?t("div",{staticClass:"label"},[e._v(" "+e._s(e.$t("inboxDetail.choosePlan"))+" ")]):e._e(),t("div",{staticClass:"plan-box"},[0!==e.planOpts.length?[t("div",[t("el-select",{staticStyle:{width:"100%"},attrs:{"popper-class":"edm-select-popper",placeholder:e.$t("inboxDetail.planPlace"),clearable:""},model:{value:e.planId,callback:function(t){e.planId=t},expression:"planId"}},e._l(e.planOpts,(function(n,i){return t("el-option",{key:i,attrs:{label:n.name,value:n.planId,disabled:1===n.isAdd}},[t("span",{staticStyle:{float:"left"}},[e._v(e._s(n.name))]),1===n.isAdd?t("span",{staticStyle:{float:"right"}},[t("i",{staticClass:"el-icon-check"})]):e._e()])})),1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:e.close}},[e._v(e._s(e.$t("inboxDetail.cancel")))]),t("el-button",{attrs:{type:"primary"},on:{click:e.confirmPlan}},[e._v(e._s(e.$t("inboxDetail.confirm")))])],1)]:[t("div",{staticClass:"no-datas"},[t("div",{staticClass:"no-data"},[e._v(e._s(e.$t("inboxDetail.noPlan2")))]),t("div",{staticClass:"create-btn",on:{click:e.goPlan}},[t("span",[e._v(e._s(e.$t("inboxDetail.createPlan")))]),t("i",{staticClass:"el-icon-right"})])])]],2)])])},Ku=[];function Xu(e){return wa("/edm/outboxV2/pageOutboxSingle",e)}function Zu(e){return wa("/edm/outboxV2/starOutbox",e)}function Ju(e){return wa("/edm/outboxV2/pageReply",e)}async function Qu(e){let t=await ba("/edm/outboxV2/delOutbox",e);return t}function ed(e){return wa("/edm/outboxV2/outboxV2Detail",e)}function td(e){return wa("/edm/outboxV2/outboxBloggerPage",e)}function nd(e){return wa("/edm/outboxV2/refreshOutboxCrm",e)}function id(e){return wa("/edm/outboxV2/comeGoBloggerPage",e)}function rd(e){return va(`/edm/outbox/withdraw/groupId/${e}`)}var od={props:{visible:{type:Boolean,default:!1},upbEsId:{type:String,default:""},planIdRel:{type:String,default:""},platform:{type:String,default:""},maxId:{type:[String,Number],default:""},bloggerId:{type:String,default:""},pageSource:{type:String,default:""},rowData:{type:Object,default:()=>({})},detailData:{type:Object,default:()=>({})}},data(){return{planId:"",planOpts:[],loading:!1}},computed:{isHasPlan(){return this.planIdRel&&"-1"!==this.planIdRel}},created(){this.planIdRel&&"-1"!==this.planIdRel&&(this.planId=Number(this.planIdRel)),this.getPlanList()},methods:{close(){console.log("okkk"),this.$emit("update:visible",!1)},getPlanList(){this.loading=!0,is({blogId:""}).then((e=>{"0"===e.code?this.planOpts=e.data:this.$message({type:"error",message:e.message,customClass:"custom-message"})})).finally((()=>{this.loading=!1}))},confirmPlan(){if(console.log(this.planOpts),""!==this.planId)if("outboxDetail"!==this.pageSource){const e=this.isHasPlan?gs:ks,t=this.isHasPlan?{ids:[this.upbEsId],planId:this.planId}:{planId:this.planId,blogList:[{blogId:this.bloggerId,platform:this.platform}],contactStatus:1,inviteStatus:1,replyUserId:this.detailData.userId};e(t).then((e=>{if(e&&"0"===e.code){this.$message({type:"success",message:`${this.$t("inboxDetail.planVal")}${this.isHasPlan?this.$t("inboxDetail.planMove"):this.$t("inboxDetail.planGL")}${this.$t("inboxDetail.success")}`});const e=this.planOpts.find((e=>e.planId===this.planId))?.name;vs({maxId:this.maxId,planId:this.planId,planName:e}).then((t=>{t&&"0"===t.code&&(this.$emit("change",this.planId,e),this.close())}))}else this.$message({type:"error",message:e.message})}))}else ks({planId:this.planId,blogList:[{blogId:this.bloggerId,platform:this.platform}],contactStatus:1,inviteStatus:1,latestSendTime:this.detailData.sendTime}).then((e=>{if("0"==e.code){this.$message({type:"success",message:e.message,customClass:"custom-message"});const t=this.planOpts.find((e=>e.planId===this.planId))?.name;nd({id:this.rowData.id,outboxId:this.rowData.outboxId,planId:this.planId,planName:t}).then((e=>{e&&"0"===e.code&&(this.$emit("change",this.planId,t),this.close())}))}else this.$message({type:"error",message:e.message,customClass:"custom-message"})}));else this.$message({type:"warning",message:this.$t("inboxDetail.planTips3"),customClass:"custom-message"})},goPlan(){this.close();const e=this.$router.resolve({path:"/plan"});window.open(e.href,"_blank")}}},ad=od,sd=Ba(ad,Gu,Ku,!1,null,"4fad5252",null),ld=sd.exports,cd=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{title:e.$t("inboxDetail.coopStatus"),visible:e.visible,width:"480px","append-to-body":"","custom-class":"email-plan-dialog"},on:{close:e.close}},[t("div",{staticClass:"label"},[e._v(e._s(e.$t("inboxDetail.coopStatusTitle")))]),t("div",{staticClass:"plan-box"},[t("div",[t("el-select",{staticStyle:{width:"100%"},attrs:{"popper-class":"edm-select-popper",clearable:""},model:{value:e.status,callback:function(t){e.status=t},expression:"status"}},e._l(e.coopStatusList,(function(e,n){return t("el-option",{key:n,attrs:{label:e.coopStatus,value:e.ccode}})})),1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:e.close}},[e._v(e._s(e.$t("inboxDetail.cancel")))]),t("el-button",{attrs:{type:"primary"},on:{click:e.confirm}},[e._v(e._s(e.$t("inboxDetail.confirm")))])],1)])])},ud=[],dd={props:{visible:{type:Boolean,default:!1},upbEsId:{type:String,default:""},coopStatus:{type:Number,default:""},planId:{type:[Number,String],default:""}},data(){return{status:"",coopStatusList:[{coopStatus:this.$t("inboxDetail.coop1"),ccode:0},{coopStatus:this.$t("inboxDetail.coop2"),ccode:1},{coopStatus:this.$t("inboxDetail.coop3"),ccode:6},{coopStatus:this.$t("inboxDetail.coop4"),ccode:2},{coopStatus:this.$t("inboxDetail.coop5"),ccode:3},{coopStatus:this.$t("inboxDetail.coop6"),ccode:4}],loading:!1}},created(){this.status=this.coopStatus},methods:{close(){this.$emit("update:visible",!1)},async confirm(){try{const e=await os({ids:[this.upbEsId],coopStatus:this.status,planId:this.planId});"0"==e.code?(this.$message.success("修改成功"),this.close(),this.$emit("change")):this.$message.error(e.message)}catch(Rl){console.log(Rl)}}}},hd=dd,pd=Ba(hd,cd,ud,!1,null,"23d89b7a",null),fd=pd.exports,md=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{title:"快捷回复",visible:e.visible,width:"700px","append-to-body":"","custom-class":"email-ai-replay-dialog"},on:{close:e.close}},[t("div",{staticClass:"reply-box"},[t("div",{staticClass:"top"},[t("img",{staticClass:"icon",attrs:{src:i(7346),alt:""}}),t("span",{staticClass:"title"},[e._v(e._s(e.$t("edm5.v12")))])]),t("div",{staticClass:"content",domProps:{innerHTML:e._s(e.content)}}),t("div",{staticClass:"bottom"},[t("img",{attrs:{src:i(4643),alt:""}})])]),t("div",{staticClass:"footer"},[t("el-button",{staticClass:"reply-btn",attrs:{size:"small"},on:{click:e.close}},[e._v(e._s(e.$t("edm5.v19")))]),t("el-button",{staticClass:"reply-btn",attrs:{loading:e.loading,size:"small",type:"primary"},on:{click:e.confirm}},[e._v("确认发送")])],1)])},gd=[],vd={props:{visible:{type:Boolean,default:!1},content:{type:String,default:""},loading:{type:Boolean,default:!1}},data(){return{}},created(){},methods:{close(){this.$emit("update:visible",!1)},confirm(){this.$emit("confirm")}}},yd=vd,bd=Ba(yd,md,gd,!1,null,"7627823c",null),wd=bd.exports,_d=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"show",rawName:"v-show",value:!e.isFirstHidden,expression:"!isFirstHidden"}],staticClass:"ai-summary-container"},[t("div",{staticClass:"item-summary"},[t("div",{staticClass:"ai-top"},[t("span",{staticClass:"title"},[e._v(e._s(e.$t("edm5.v6")))]),e.isSummaryIng?t("i",{staticClass:"el-icon-loading ai-loading",staticStyle:{"margin-left":"4px"}}):e._e(),t("i",{staticClass:"dss-iconfont icon-close",class:{notAllow:e.isSummaryIng},on:{click:e.closeSummary}})]),t("div",{staticClass:"ai-box",staticStyle:{"white-space":"pre-wrap"}},[e._v(" "+e._s(e.summaryInfo.summary)+" ")]),t("div",{staticClass:"ai-bottom"},[t("div",{staticClass:"like-item first",class:{notAllow:e.isSummaryIng,active:1===e.summaryInfo.isLike},on:{click:function(t){return e.evaluateAi(1,e.summaryInfo.historyId)}}},[t("i",{staticClass:"dss-iconfont icon-like-dz"}),t("span",{staticStyle:{"font-size":"14px","margin-left":"8px"}},[e._v(e._s(e.$t("inboxDetail.like")))])]),t("div",{staticClass:"like-item",class:{notAllow:e.isSummaryIng,active:2===e.summaryInfo.isLike},on:{click:function(t){return e.evaluateAi(2,e.summaryInfo.historyId)}}},[t("i",{staticClass:"dss-iconfont icon-dianzan_kuaibeifen"}),t("span",{staticStyle:{"font-size":"14px","margin-left":"8px"}},[e._v(e._s(e.$t("inboxDetail.unLike")))])]),t("div",{staticClass:"redo",on:{click:e.rebuildSummary}},[e.isSummaryIng?t("span",{staticClass:"stop-icon",staticStyle:{width:"12px",height:"12px","border-radius":"4px",background:"#f85277","margin-right":"7px"}}):t("i",{staticClass:"dss-iconfont icon-a-zhongxinshengchengbeifen2"}),e.isSummaryIng?t("span",{staticStyle:{color:"#f85277"}},[e._v(e._s(e.$t("inboxDetail.stop")))]):t("span",[e._v(e._s(e.$t("inboxDetail.redo")))])]),t("div",{staticClass:"point"},[t("span",{staticClass:"txt"},[e._v(e._s(e.$t("inboxDetail.restPoint"))+":"+e._s(e.aiPoint))]),t("Tooltip",{attrs:{content:e.$t("inboxDetail.aiRule"),isShowRule:!0}})],1),t("el-tooltip",{attrs:{placement:"top","popper-class":"wt-tooltip ai-intention-tooltip",content:e.$t("edm5.v8")}},[t("div",{staticClass:"keywords",staticStyle:{"margin-right":"12px"},on:{click:e.getEmailIntention}},[t("i",{staticClass:"dss-iconfont icon-guanjianziguanli"}),t("span",[e._v(e._s(e.$t("edm5.v7")))])])]),t("div",{staticClass:"reply"},[t("button",{staticClass:"reply-btn",on:{click:e.showAiReply}},[t("img",{attrs:{src:i(4075),alt:""}}),t("span",[e._v(e._s(e.$t("edm5.v9")))])])])],1)])])},Cd=[],xd={components:{Tooltip:Ou},props:{id:{type:Number,default:0},aiPoint:{type:Number,default:0},isRebuild:{type:Boolean,default:!1}},data(){return{isSummaryIng:!1,summaryInfo:{},isLike:0,SummaryTimer:null,aiSummaryCounter:0,isFirstHidden:!0}},watch:{isRebuild:{handler(e){e?this.rebuildSummary():this.getAiEmailSummary()},immediate:!0}},methods:{async getAiEmailSummary(){try{const e=await ss(this.id);"0"==e.code?null===e.data?.isComplete?(this.summaryInfo={},this.$emit("handleShow",this.id,!1),this.isFirstHidden=!0):e.data?.isComplete?(this.isFirstHidden=!1,this.$emit("handleShow",this.id,!0),this.summaryInfo=e.data?.emailSummary||{}):(this.isFirstHidden=!1,this.$emit("handleShow",this.id,!0),this.isSummaryIng=!0,this.createSummarySetInterval()):this.$message.error(e.message)}catch(Rl){console.log(Rl)}},async getAiEmailSummaryProgress(e){try{const t=await ss(this.id);return"0"==t.code?(t.data?.isComplete&&(this.summaryInfo=t.data?.emailSummary||{},e&&(this.isSummaryIng=!1)),t.data?.isComplete):(this.$message.error(t.message),!0)}catch(Rl){return console.log(Rl),!0}},async rebuildSummary(){if(this.isFirstHidden=!1,this.isSummaryIng)this.stopSummarySetInterval(),this.isSummaryIng=!1;else{this.isLike=0;const e=await ls(this.id);"0"==e.code?(this.isSummaryIng=!0,this.createSummarySetInterval()):(this.isSummaryIng=!1,this.stopSummarySetInterval(),this.$message.error(e.message))}},createSummarySetInterval(){this.stopSummarySetInterval(),this.aiSummaryCounter=0,this.SummaryTimer=setInterval((async()=>{this.aiSummaryCounter+=1;const e=await this.getAiEmailSummaryProgress();e&&(this.isSummaryIng=!1,this.stopSummarySetInterval(),this.$emit("refreshAiPoint")),this.aiSummaryCounter>=60&&(this.isSummaryIng=!1,this.aiSummaryCounter=0,this.stopSummarySetInterval(),this.$message.error(this.$t("edm5.v11")),this.$emit("refreshAiPoint"))}),2e3)},stopSummarySetInterval(){this.SummaryTimer&&(clearInterval(this.SummaryTimer),this.SummaryTimer=null)},closeSummary(){if(this.isSummaryIng)return!1;this.summaryInfo={},this.isLike=0,this.$emit("handleShow",this.id,!1)},async evaluateAi(e,t){try{const n=this.summaryInfo.isLike===e?0:e,i=await fs({historyId:t,isLike:n,aiScene:"summarize"});"0"===i.code&&(this.getAiEmailSummaryProgress(),this.$message.success(this.$t("edm5.v10")))}catch(Rl){console.log(Rl)}},showAiReply(){this.$emit("showAiReply",this.summaryInfo)},getEmailIntention(){this.$emit("getEmailIntention")}}},Sd=xd,kd=Ba(Sd,_d,Cd,!1,null,"2ad67469",null),Ed=kd.exports,Ad=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{visible:e.visible,width:"900px","append-to-body":"","custom-class":"ai-replaying-dialog"},on:{close:e.close}},[t("div",{staticClass:"ai-title"},[1===e.step||2===e.step?t("img",{attrs:{src:i(5169),alt:""}}):e._e(),2===e.step?t("span",{staticClass:"text"},[e._v(e._s(e.$t("edm5.v12")))]):e._e(),3===e.step?t("div",{staticClass:"rule"},[t("i",{staticClass:"dss-iconfont icon-arrow",on:{click:e.backToOne}}),t("span",[e._v(e._s(e.$t("edm5.v13")))])]):e._e()]),t("div",{directives:[{name:"show",rawName:"v-show",value:1===e.step,expression:"step === 1"}],staticClass:"step-one"},[t("div",{staticClass:"summary-part"},[t("div",[t("img",{attrs:{src:i(9054),alt:""}})]),t("div",{staticClass:"content"},[e._v(" "+e._s(e.summaryInfo.summary)+" ")])]),t("div",{staticClass:"write-part"},[t("div",{staticClass:"write-input"},[t("el-input",{staticClass:"write-textarea",staticStyle:{"font-size":"14px"},attrs:{type:"textarea",rows:5,placeholder:e.$t("edm5.v14"),resize:"none"},model:{value:e.replyWords,callback:function(t){e.replyWords=t},expression:"replyWords"}})],1),t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.aiRulesLoading,expression:"aiRulesLoading"}],staticClass:"write-example",attrs:{"element-loading-customclass":"ai-rule-loading","element-loading-spinner":"el-icon-loading","element-loading-text":e.$t("edm5.v15")}},[t("div",{staticClass:"example-title"},[t("span",{staticClass:"title"},[e._v(e._s(e.$t("edm5.v13")))]),t("span",{staticClass:"others",on:{click:e.backToTree}},[e._v(e._s(e.$t("edm5.v16")))])]),0===e.aiRules.length?t("div",{staticClass:"no-rule"},[t("Empty")],1):e._l(e.aiRules,(function(n,i){return t("div",{key:i,staticClass:"example-item",on:{click:function(t){return e.toBuildAiReply(n)}}},[t("span",{staticClass:"icon"},[e._v(e._s(n.emoji))]),t("span",{staticClass:"txt"},[e._v(e._s(n.desc))])])}))],2)]),t("div",{staticClass:"footer"},[t("div",{staticClass:"footer-left"},[t("el-select",{staticClass:"ai-prompt-select",attrs:{clearable:!1},model:{value:e.language,callback:function(t){e.language=t},expression:"language"}},e._l(e.languageList,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1),t("el-select",{staticClass:"ai-prompt-select",attrs:{clearable:!1},model:{value:e.tone,callback:function(t){e.tone=t},expression:"tone"}},e._l(e.toneList,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1),t("div",{staticClass:"point"},[t("span",{staticClass:"txt"},[e._v(e._s(e.$t("edm5.v17"))+e._s(e.aiPoint))]),t("Tooltip",{attrs:{content:e.$t("edm5.v18"),isShowRule:!0}})],1)],1),t("div",{staticClass:"footer-right"},[t("el-button",{staticClass:"reply-btn cancel-btn",attrs:{size:"small"},on:{click:e.stepOneClose}},[e._v(e._s(e.$t("edm5.v19")))]),t("el-button",{staticClass:"reply-btn make-btn",attrs:{loading:e.loading,size:"small",type:"primary",disabled:e.aiRulesLoading},on:{click:e.stepOneConfirm}},[e._v(e._s(e.$t("edm5.v20")))])],1)])]),2===e.step?t("div",{staticClass:"step-two"},[t("ReplyContent",{attrs:{maxId:e.maxId,aiPoint:e.aiPoint,currentMail:e.currentMail,tone:e.tone,language:e.language,replyWords:e.replyWords,chooseRuleCode:e.chooseRuleCode},on:{refreshPoint:e.refreshPoint,changeStep:e.changeStep,finished:e.finished,toFullWrite:e.toFullWrite}})],1):e._e(),3===e.step?t("div",{staticClass:"step-three"},[t("el-tree",{staticClass:"ai-rule-tree",attrs:{"node-key":"scenario",accordion:"",data:e.list,props:e.defaultProps,"default-expanded-keys":[0]},on:{"node-click":e.toBuildAiReply}})],1):e._e()])},Dd=[],Od=function(){var e=this,t=e._self._c;return t("div",{staticClass:"reply-content"},[t("div",{staticClass:"ai-result-part"},[t("div",{staticClass:"chinese language"},[t("div",{staticClass:"title"},[e._v(e._s(e.$t("edm5.v30")))]),t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.isReplying,expression:"isReplying"}],staticClass:"content",staticStyle:{"white-space":"pre-wrap"},attrs:{"element-loading-spinner":"el-icon-loading","element-loading-background":"rgba(0, 0, 0, 0)","element-loading-customClass":"ai-reply-loading"},domProps:{innerHTML:e._s(e.replayInfo.replyContentCn)}})]),t("div",{staticClass:"split"}),t("div",{staticClass:"foreign language"},[t("div",{staticClass:"title"},[e._v(e._s(e.$t("edm5.v31",{value:e.language}))+")")]),t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.isReplying,expression:"isReplying"}],staticClass:"content",staticStyle:{"white-space":"pre-wrap"},attrs:{"element-loading-spinner":"el-icon-loading","element-loading-background":"rgba(0, 0, 0, 0)","element-loading-customClass":"ai-reply-loading"},domProps:{innerHTML:e._s(e.replayInfo.replyContent)}})]),t("img",{staticClass:"email-icon",attrs:{src:i(4643),alt:""}})]),t("div",{staticClass:"footer"},[t("div",{staticClass:"ai-bottom"},[t("div",{staticClass:"like-item first",class:{notAllow:e.isReplying,active:1===e.feedLike},on:{click:function(t){return e.evaluateAi(1,e.replayInfo.historyId)}}},[t("i",{staticClass:"dss-iconfont icon-like-dz"}),t("span",{staticStyle:{"font-size":"14px","margin-left":"8px"}},[e._v(e._s(e.$t("edm5.v32")))])]),t("div",{staticClass:"like-item",class:{notAllow:e.isReplying,active:2===e.feedLike},on:{click:function(t){return e.evaluateAi(2,e.replayInfo.historyId)}}},[t("i",{staticClass:"dss-iconfont icon-dianzan_kuaibeifen"}),t("span",{staticStyle:{"font-size":"14px","margin-left":"8px"}},[e._v(e._s(e.$t("edm5.v33")))])]),t("div",{staticClass:"redo",on:{click:e.rebuildReplay}},[e.isReplying?t("span",{staticClass:"stop-icon",staticStyle:{width:"12px",height:"12px","border-radius":"4px",background:"#f85277","margin-right":"7px"}}):t("i",{staticClass:"dss-iconfont icon-a-zhongxinshengchengbeifen2"}),e.isReplying?t("span",{staticStyle:{color:"#f85277"}},[e._v(e._s(e.$t("edm5.v35")))]):t("span",[e._v(e._s(e.$t("edm5.v34")))])]),t("div",{staticClass:"point"},[t("span",{staticClass:"txt"},[e._v(e._s(e.$t("edm5.v17"))+e._s(e.aiPoint))]),t("Tooltip",{attrs:{content:e.$t("edm5.v18"),isShowRule:!0}})],1)]),t("div",{staticClass:"footer-right"},[t("el-button",{staticClass:"reply-btn cancel-btn",attrs:{size:"small"},on:{click:e.close}},[e._v(e._s(e.$t("edm5.v19")))]),t("el-button",{staticClass:"reply-btn make-btn",attrs:{loading:e.aiReplayBtnLoading,size:"small",type:"primary",disabled:e.isReplying},on:{click:e.confirm}},[e._v(e._s(e.$t("edm5.v36")))])],1)])])},Td=[],Id={components:{Tooltip:Ou},props:{aiPoint:{type:Number,default:0},currentMail:{type:Object,default:()=>{}},tone:{type:String,default:""},language:{type:String,default:""},replyWords:{type:String,default:""},chooseRuleCode:{type:[String,Number],default:""},maxId:{type:[String,Number],default:""}},data(){return{isReplying:!1,replayInfo:{},feedLike:0,aiReplayCounter:0,ReplayTimer:null,aiReplayBtnLoading:!1}},created(){this.buildAiReply()},methods:{async buildAiReply(){try{const e=await xs({inboxId:this.currentMail.id,emailStrategy:""===this.chooseRuleCode?void 0:this.chooseRuleCode,customizedStrategy:""===this.chooseRuleCode?this.replyWords:void 0,language:this.language,tone:this.tone});"0"===e.code?this.getAiEmailReplay():this.$message.error(e.message)}catch(Rl){console.log(Rl)}},async getAiEmailReplay(){try{const e=await cs(this.currentMail.id);"0"==e.code?e.data?.isComplete?this.replayInfo=e.data?.smartReply||{}:(this.isReplying=!0,this.createReplaySetInterval()):this.$message.error(e.message)}catch(Rl){console.log(Rl)}},async getAiEmailReplayProgress(){try{const e=await cs(this.currentMail.id);return"0"==e.code?(e.data?.isComplete&&(this.replayInfo=e.data?.smartReply||{}),e.data?.isComplete):(this.$message.error(e.message),!0)}catch(Rl){return console.log(Rl),!0}},createReplaySetInterval(){this.stopReplaySetInterval(),this.aiReplayCounter=0,this.ReplayTimer=setInterval((async()=>{this.aiReplayCounter+=1;const e=await this.getAiEmailReplayProgress();e&&(this.$emit("refreshPoint"),this.isReplying=!1,this.stopReplaySetInterval()),this.aiReplayCounter>=60&&(this.isReplying=!1,this.aiReplayCounter=0,this.stopReplaySetInterval(),this.$message.error(this.$t("inboxDetail.tips2")))}),2e3)},async rebuildReplay(){if(this.isReplying)this.stopReplaySetInterval(),this.isReplying=!1;else{const e=await xs({inboxId:this.currentMail.id,emailStrategy:""===this.chooseRuleCode?void 0:this.chooseRuleCode,customizedStrategy:""===this.chooseRuleCode?this.replyWords:void 0,language:this.language,tone:this.tone});"0"==e.code?(this.isReplying=!0,this.feedLike=0,this.createReplaySetInterval()):(this.isReplying=!1,this.stopReplaySetInterval(),this.$message.error(e.message))}},stopReplaySetInterval(){this.ReplayTimer&&(clearInterval(this.ReplayTimer),this.ReplayTimer=null)},async evaluateAi(e,t){try{const n=this.feedLike===e?0:e,i=await fs({historyId:t,isLike:n,aiScene:"reply"});"0"===i.code&&(this.feedLike=n,this.$message.success(this.$t("inboxDetail.tips5")))}catch(Rl){console.log(Rl)}},close(){this.stopReplaySetInterval(),this.$emit("changeStep",1)},confirm(){this.$emit("toFullWrite",this.replayInfo.replyContent,this.replayInfo.id)}}},Pd=Id,Fd=Ba(Pd,Od,Td,!1,null,"ba5a8f8c",null),Md=Fd.exports,Bd=function(){var e=this,t=e._self._c;return t("div",{staticClass:"empty-contain",style:{...e.currentStyle}},[t("img",{attrs:{src:i(3442),alt:""}}),t("p",[e._v(e._s(e.tips||"暂无数据"))])])},Nd=[],Rd={props:["currentStyle","tips"]},$d=Rd,jd=Ba($d,Bd,Nd,!1,null,"37b97e56",null),Ld=jd.exports,zd={props:{visible:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},aiPoint:{type:Number,default:0},summaryInfo:{type:Object,default:()=>{}},currentMail:{type:Object,default:()=>{}},maxId:{type:[String,Number],default:""}},components:{Tooltip:Ou,Empty:Ld,ReplyContent:Md},data(){return{step:1,replyWords:"",languageList:[],toneList:[],language:"英文",tone:"友好的",isReplying:!1,defaultProps:{children:"children",label:"desc"},list:[],aiRulesCounter:0,aiRulesLoading:!0,aiRulesInfo:{children:[{},{},{}]},RulesTimer:null,chooseRuleCode:""}},computed:{aiRules(){return this.aiRulesInfo&&this.aiRulesInfo.children?this.aiRulesInfo.children:[]}},created(){this.getAiRules(),this.getLanguages(),this.getTones()},beforeDestroy(){this.stopRulesSetInterval()},mounted(){this.initAi()},methods:{initAi(){this.buildAiRules()},async getAiRules(){try{const e=await bs();"0"===e.code&&(this.list=JSON.parse(e.data),this.handleRules())}catch(Rl){console.log(Rl)}},async buildAiRules(){try{const e=await ys(this.currentMail.id);"0"===e.code?this.getAiReplyTips():(this.$message.error(e.message),this.aiRulesLoading=!1)}catch(Rl){this.aiRulesLoading=!1,console.log(Rl)}},async getAiReplyTips(){try{const e=await ws(this.currentMail.id);if("0"===e.code)if(e.data?.isComplete){let t=e.data?.emailStrategy||{};t.children&&(t.children=t.children.map((e=>({...e,emoji:this.getEmojiByNum()})))),this.aiRulesInfo=t}else this.aiRulesLoading=!0,this.createRulesSetInterval();else this.stopRulesSetInterval(),this.$message.error(e.message),this.aiRulesLoading=!1}catch(Rl){console.log(Rl),this.stopRulesSetInterval(),this.aiRulesLoading=!1}},createRulesSetInterval(){this.stopRulesSetInterval(),this.aiRulesCounter=0,this.RulesTimer=setInterval((async()=>{this.aiRulesCounter+=1;const e=await this.getAiRulesProgress();e&&(this.aiRulesLoading=!1,this.stopRulesSetInterval()),this.aiRulesCounter>=60&&(this.aiRulesLoading=!1,this.aiRulesCounter=0,this.stopRulesSetInterval(),this.$message.error(this.$t("inboxDetail.tips2")))}),2e3)},async getAiRulesProgress(){try{const e=await ws(this.currentMail.id);if("0"==e.code){if(e.data?.isComplete){let t=e.data?.emailStrategy||{};t.children&&(t.children=t.children.map((e=>({...e,emoji:this.getEmojiByNum()})))),this.aiRulesInfo=t}return e.data?.isComplete}return this.$message.error(e.message),this.aiRulesLoading=!1,!0}catch(Rl){return console.log(Rl),!0}},stopRulesSetInterval(){this.RulesTimer&&(clearInterval(this.RulesTimer),this.RulesTimer=null)},async getLanguages(){try{const e=await _s();"0"===e.code&&(this.languageList=e.data?.map((e=>({label:e,value:e}))))}catch(Rl){console.log(Rl)}},async getTones(){try{const e=await Cs();"0"===e.code&&(this.toneList=e.data?.map((e=>({label:e,value:e}))))}catch(Rl){console.log(Rl)}},getEmojiByNum(){const e=["😄","🎉","🌟","🎯","💰","🔮","🛍️","🎁","💬","💭"],t=Math.floor(10*Math.random());return e[t]},getUpByNum(e){const t={1:"一",2:"二",3:"三",4:"四",5:"五",6:"六"};return t[e]||e},handleRules(){this.list=this.list.map((e=>{if(e.children){const t=e.children.map(((e,t)=>({...e,order:t+1})));return{...e,children:t}}return e})),this.handleRulesLoop(this.list)},handleRulesLoop(e){for(let t in e){const n=e[t];n.children?(1===n.level&&(n.desc=this.getUpByNum(n.phase+1)+"、"+n.desc),2===n.level&&(n.desc=n.order+". "+n.desc),3===n.level&&(n.desc=this.getEmojiByNum()+" "+n.desc),this.handleRulesLoop(n.children)):(1===n.level&&(n.desc=this.getUpByNum(n.phase)+"、"+n.desc),2===n.level&&(n.desc=n.order+". "+n.desc),3===n.level&&(n.desc=this.getEmojiByNum()+" "+n.desc))}},toBuildAiReply({code:e}){if(null===e||""===e||void 0===e)return!1;this.chooseRuleCode=e,this.aiRulesLoading=!1,this.step=2},close(){this.$emit("update:visible",!1)},stepOneConfirm(){if(!this.replyWords)return this.$message.error(this.$t("edm5.v29"));this.chooseRuleCode="",this.stopRulesSetInterval(),this.aiRulesLoading=!1,this.step=2},stepOneClose(){this.stopRulesSetInterval(),this.close()},backToOne(){this.step=1},backToTree(){this.step=3},changeStep(e){this.step=e},refreshPoint(){this.$emit("refreshPoint")},finished(){this.$emit("finished"),this.close()},toFullWrite(e,t){this.$emit("fullWrite",e,t)}}},Vd=zd,Hd=Ba(Vd,Ad,Dd,!1,null,"394b0cd6",null),Ud=Hd.exports,Wd=function(){var e=this,t=e._self._c;return t("div",{staticClass:"tag-column"},[t("div",{directives:[{name:"tagOverFlow",rawName:"v-tagOverFlow",value:{data:e.tagObj,maxWidth:e.maxWidth-25},expression:"{ data: tagObj, maxWidth: maxWidth - 25 }"}],staticClass:"row-tags"},[e._l(e.tagObj.list.slice(0,e.tagObj.showNum),(function(n){return t("span",{staticClass:"tag"},[e._v(e._s(n))])})),e.tagObj.showNum!==e.tagObj.list.length?t("el-tooltip",{attrs:{value:!1,placement:"top","popper-class":"blogger-tags-popper wt-tooltip"}},[t("div",{attrs:{slot:"content"},slot:"content"},[t("div",{staticClass:"tooltip-box"},e._l(e.tagObj.list,(function(n){return t("span",{staticClass:"tag"},[e._v(e._s(n))])})),0)]),t("div",{staticClass:"tag",staticStyle:{"margin-left":"8px",cursor:"pointer"}},[e._v("···")])]):e._e()],2),0===e.tagObj.list.length?t("div",{staticClass:"empty"},[e._v("-")]):e._e()])},qd=[],Yd={props:{tags:{type:Array,default:()=>[]},maxWidth:{type:Number,default:300}},data(){return{tagObj:{showNum:0,list:[]}}},directives:{tagOverFlow:{inserted(e,t){const{data:n,maxWidth:i}=t.value;n.showNum=n.list.length||0,e.clientWidth>i&&(n.showNum=n.showNum-1)},componentUpdated(e,t){const{data:n,maxWidth:i}=t.value;e.clientWidth>i&&(n.showNum=n.showNum-1)}}},watch:{tags:{deep:!0,handler(e){e&&!!e.length>0?this.handleTag(e):(this.tagObj.showNum=0,this.list=[])},immediate:!0}},methods:{handleTag(e){e&&Array.isArray(e)&&(this.tagObj.showNum=e.length,this.tagObj.list=[...e])}}},Gd=Yd,Kd=Ba(Gd,Wd,qd,!1,null,"12212717",null),Xd=Kd.exports,Zd=i(1930),Jd=i.n(Zd),Qd={name:"edm-inboxDetail",components:{AddTagsDialog:ol,Tooltip:Ou,EmailBox:Bu,SimpleReplay:zu,EmailIntention:Yu,EmailPlan:ld,CoopStatus:fd,EmailRely:wd,AiSummary:Ed,AiReply:Ud,TagColumn:Xd},props:{goBackUrl:{type:String,default:"/inbox"},mailId_inbox:{type:String,default:""},chatId_inbox:{type:String,default:""},blogDetailUrl:{type:String,default:"/blogDetail"},crmGrayUser:{type:Boolean,default:!1}},filters:{coopStatusFilter(e){return vu.find((t=>t.ccode===e))?.coopStatus||mu.t("inboxDetail.empty")}},data(){return{bloggerInfo:{},bloggerInfoRest:{},primary:"dss"===localStorage.getItem("sourceApp")?"#1990FF":"#FF5277",maxId:"",id:this.mailId_inbox,chatId:this.chatId_inbox,mailId:this.mailId_inbox,popularizePlanId:this.$route.query.popularizePlanId,popularizePlanName:this.$route.query.popularizePlanName,mailData:"",mailTaglist:[],tags:[],mailTags:[],mailList:[],isShowSettag:!1,selectedTags:[],tagList:[],isShowReply:!1,fileList:[],isSubmit:!1,optList:[],aiOpen:!1,showSimpleReplay:!1,intentionVisible:!1,planVisible:!1,coopStatusVisible:!1,emailRelyVisible:!1,isOpenAi:!1,summaryInfo:{},aiPoint:0,replayInfo:{},aiFeed:{single_invitation:0,summarize:0},aiReplayBtnLoading:!1,timer:null,mailLoading:!1,aiRelyVisible:!1,currentMail:{},searchForm:{},tableData:[],checkEmailIndex:null,bloggerJobInfo:{},isShowAiAgent:!1}},computed:{isHasAi(){const e=Array.isArray(this.mailList)&&this.mailList.length>0&&1==this.mailList[0]?.type;return this.isOpenAi&&e||!0}},watch:{isHasAi(e){}},async created(){this.getInboxList(),this.getMailGroup(),await this.initTags(),await this.getMailDetailById(),this.getCrmInfo(),this.setReadstatus(),this.isOpenAiSetting(),this.getAiPoint(),this.getJobIdByBloggerId(),this.getAiAgentShow()},destroyed(){},methods:{getAiAgentShow(){Ms({sceneId:1}).then((e=>{"0"===e.code&&(this.isShowAiAgent=e.data)}))},getJobIdByBloggerId(){Fs({bloggerId:this.mailData.bloggerId,chatId:this.chatId}).then((e=>{"0"==e.code&&(this.bloggerJobInfo=e.data||{})}))},showAiSetting(){this.$emit("showAiSetting",this.bloggerInfo,this.bloggerJobInfo)},handleCommand(e){"a"===e?this.openPlan():this.changeCoopStatus()},async pageInit(){console.log(this.checkEmailIndex),this.id=this.tableData[this.checkEmailIndex].id,this.chatId=this.tableData[this.checkEmailIndex].chatId,this.mailId=this.tableData[this.checkEmailIndex].mailId,this.maxId=this.tableData[this.checkEmailIndex].maxId,this.popularizePlanId=this.tableData[this.checkEmailIndex].popularizePlanId,this.popularizePlanName=this.tableData[this.checkEmailIndex].popularizePlanName,this.getMailGroup(),await this.initTags(),await this.getMailDetailById(),this.getCrmInfo(),this.setReadstatus()},handleNext(){this.checkEmailIndex++,this.pageInit()},handlePrevious(){this.checkEmailIndex--,this.pageInit()},getInboxList(){localStorage.getItem("searchFormInbox")&&(this.searchForm=JSON.parse(localStorage.getItem("searchFormInbox")),La({...this.searchForm,sentMail:0===this.searchForm.sentMail?0:"",email:this.searchForm.sentMail?this.searchForm.sentMail:""}).then((e=>{e?(this.tableData=e.rows,this.tableData.forEach(((e,t)=>{e.id==this.$route.query.id&&(this.checkEmailIndex=t)}))):this.$message.warning(this.$t("inboxTable.requestError"))})))},handleAddFavorites(){this.$emit("AddFavorites",{besId:this.mailData.bloggerId})},changeCoopStatus(){this.bloggerInfo.planId&&"-1"!=this.bloggerInfo.planId?this.coopStatusVisible=!0:this.$message({type:"warning",message:"请先关联推广计划",customClass:"custom-message"})},async getCrmInfo(){try{const e=await rs(this.maxId);"0"===e.code&&(this.bloggerInfo=e.data||{},this.getBloggerDetails(e.data.bloggerId),this.getBloggerGmv(e.data.bloggerId),"-1"==e.data.planId||"null"==e.data.planId?this.optList=[{icon:"icon-caidan-kehudangan",name:mu.t("inboxDetail.menu1"),key:"blogger",activeName:"1"},{icon:"icon-hezuoneirong",name:mu.t("inboxDetail.menu3"),key:"content",activeName:"6"}]:this.optList=Object.freeze(gu))}catch(Rl){console.log(Rl)}},async getBloggerDetails(e){if(!e)return!1;try{const e=await Is({inboxId:this.$route.query.id});"0"===e.code&&(this.bloggerInfoRest=e.data||{})}catch(Rl){console.log(Rl)}},async isOpenAiSetting(){return this.isOpenAi=!0,!1},getAiInit(){},async getAiPoint(){this.aiPoint=await Js()},clickHandle(e,t){console.log(e),this.$emit("showFn",e,t,this.bloggerInfo)},goBack(){this.$router.push({path:localStorage.getItem("currentPath"),query:{isdetail:!0}})},initDetail(){this.getMailDetailById(),this.isShowSettag=!1},async initTags(){const e=await Ja();e&&(this.mailTaglist=e,e.map((e=>{this.tags.push({id:e.id,value:e.id.toString(),label:e.tag})})),this.mailTaglist=e)},handleAddTag(){this.initTags()},initTagList(){this.initTags()},async getMailDetailById(){if(this.id){const e=await Ga(this.id);if(e&&(this.handleTagData(e),this.mailData=e,this.maxId=e.maxId,e.tag)){this.mailTags=[];let t=e.tag.split(",");t.forEach((e=>{let t=this.mailTaglist.find((t=>t.tag===e));t&&this.mailTags.push(t)}))}}},getMailGroup(){this.mailLoading=!0,Ka(this.chatId).then((e=>{e&&(e.map(((e,t)=>{e.uid=t+1e4,e.isExpand=0===t,e.attachment||(e.attachment=[]),e.isShowFull=!0,e.isOut=!1,2===e.type&&(e.bloggerAvatar="https://wotokol-oss.oss-cn-hangzhou.aliyuncs.com/koc/user_avatar/koc_default_man.png"),1===e.type&&(e.bloggerAvatar&&""!==e.bloggerAvatar||(e.bloggerAvatar="https://wotokol-oss.oss-cn-hangzhou.aliyuncs.com/koc/user_avatar/defaultUser.svg",e.isOut=!0)),e.isShowSummary=!0,e.isRebuild=!1})),console.log(e),this.mailList=e,this.mailLoading=!1)})).catch((e=>{this.mailLoading=!1})).finally((()=>{this.mailLoading=!1}))},filterBaseTag(e){return e&&(e=e.replace("https://pixel.xin/emailControl.php?mid=","").replace("https://pixel.xin/hub.gif?mid=","").replace(new RegExp("unsubscribe","g"),"").replace(/<base.*?(?:>|\/>)/gi,"").replace(/This email was sent to(.*?)from this list/g,"").replace(/\(http\:\/\/mandrillapp.com(.*?)\)/g,"")),e},delHtmlTag(e){if(e)return e=e.replace("https://pixel.xin/emailControl.php?mid=",""),e=e.replace("https://pixel.xin/hub.gif?mid=",""),e=e.replace(new RegExp("unsubscribe","g"),""),e=e.replace(/<head>[\s\S]*?<\/head>/i,""),e=e.replace(/<img[^>]*>/gi,""),e=e.replace(/<[^>]+>/g,""),e=e.replace(new RegExp("&nbsp;","g")," "),e},imgClick(e){if(1===e.type){if(e.isOut)return;this.$emit("toBloggerDetail",e)}},delOneMail(e){this.$confirm(this.$t("inboxDetail.confirmContent"),this.$t("inboxDetail.tip"),{confirmButtonText:this.$t("inboxDetail.confirm"),cancelButtonText:this.$t("inboxDetail.cancel"),type:"warning"}).then((()=>{Xa({id:e.id,type:e.type}).then((e=>{e&&(this.$message({message:this.$t("inboxDetail.delSuccess"),type:"success",duration:1500}),this.initTags(),this.getMailGroup())}))}),(()=>{}))},delFile(e){this.fileList.splice(e,1)},handleTagData(e){if(this.tagList=[],e.tag&&e.tagColor&&""!==e.tag&&""!==e.tagColor){let t=e.tag.split(","),n=e.tagColor.split(",");t.length!==n.length?this.tagList.push({tag:this.$t("inboxDetail.tagError"),tag_color:"#777"}):t.forEach(((e,t)=>{this.tagList.push({tag:e,tag_color:n[t]})}))}},delTag(e){const t=this.tagList.filter((e=>!!e.tag))||[];let n=[];t.length>1&&(n=t.filter((t=>t.tag!==e.tag)).map((e=>({tag:e.tag,tagColor:e.tag_color})))),this.updateTag(n,!0)},setReadstatus(){let e={read:2,chatId:[this.chatId]};Ua(e).then((e=>{e||this.$message({type:"error",message:this.$t("inboxDetail.mailError"),duration:1500})}))},showReply(e){if(this.isShowReply){localStorage.setItem("mailReply",JSON.stringify(e)),"dss"===localStorage.getItem("sourceApp")?localStorage.setItem("sendEntryKey","inboxDetailDssReply"):localStorage.setItem("sendEntryKey","inboxDetailHubReply");let t=this.$route.query.popularizePlanId?this.$route.query.popularizePlanId:"";if(this.crmGrayUser){const n=this.$router.resolve({path:`/inboxReply?replyId=${e.id}&chatId=${this.chatId}&popularizePlanId=${t}&popularizePlanName=${this.$route.query.popularizePlanName}`});window.open(n.href,"_blank")}else{const n=this.$router.resolve({path:`/inboxReply?replyId=${e.id}&chatId=${this.chatId}&popularizePlanId=${t}&taskId=${this.$route.query.taskId}&taskName=${this.$route.query.taskName}`});window.open(n.href,"_blank")}}},async showReplyNew(e=!1,t=void 0){const n=await this.checkEmailOwner();if(!n)return!1;if(this.mailList.length>0){let n=this.mailList,i=this.mailList.filter((e=>1===e.type));if(console.log("最新回复list",n),console.log("type 1的list",i),n.length>0&&i.length>0){"dss"===localStorage.getItem("sourceApp")?localStorage.setItem("sendEntryKey","inboxDetailDssReply"):localStorage.setItem("sendEntryKey","inboxDetailHubReply");let i=this.$route.query.popularizePlanId?this.$route.query.popularizePlanId:"",r=`/inboxReply?replyId=${this.maxId}&chatId=${this.chatId}&popularizePlanId=${i}&popularizePlanName=${this.$route.query.popularizePlanName}&replyContentId=${n[0].id}`;e&&(r+="&isSimple=true"),t&&(r+=`&aiId=${t}`),console.log("-----",r);const o=this.$router.resolve({path:r});window.open(o.href,"_blank")}}},fullWrite(e,t=void 0){console.log(e),console.log(t),localStorage.setItem("simpleWiteTxt",e||""),this.showReplyNew(!0,t)},skipBlogDetail(e,t){this.$emit("toBloggerDetail",t)},downFile(e){Ys(e.link,e.name)},async simpleReplay(){const e=await this.checkEmailOwner();if(!e)return!1;this.showSimpleReplay=!0},toggleEmailExpand(e){this.mailList=this.mailList.map((t=>({...t,isExpand:e.id===t.id&&!t.isExpand,isShowFull:!0})))},toggleFullContent(e){this.mailList=this.mailList.map((t=>({...t,isShowFull:e.id===t.id&&!t.isShowFull})))},async getEmailIntention(e){this.currentMail=e,this.intentionVisible=!0},openPlan(){this.planVisible=!0},toBloggerDetail(e,t){if(!e)return!1;this.$emit("toBloggerDetail",t)},openAiSummary(e){const t=this.mailList.findIndex((t=>t.id===e));if(t>-1){if(this.mailList[t]?.isShowSummary)return!1;this.$set(this.mailList,t,{...this.mailList[t],isShowSummary:!0,isRebuild:!0})}},showAiReplay(e){if(!e)return this.$message.error(this.$t("inboxDetail.tip3"));this.emailRelyVisible=!0},async handleAiReplay(e,t){if(!e)return!1;this.aiReplayBtnLoading=!0,ns({replyIds:[this.maxId],content:e,sendEntryKey:"aiReply"}).then((e=>{if("0"===e.code){const n=Array.isArray(e.data)&&e.data.length>0?e.data[0]:void 0;this.$message.success(this.$t("inboxDetail.tips4")),hs({aiEmailId:t,writeId:n}),this.timer&&clearTimeout(this.timer),this.timer=setTimeout((()=>{this.getMailGroup()}),500)}else this.aiReplayBtnLoading=!1,this.$message.error(e.message)})).catch((e=>{console.log(e),this.aiReplayBtnLoading=!1})).finally((()=>{this.aiReplayBtnLoading=!1}))},async getEvaluateAi(){try{const e=await ms(this.maxId);"0"===e.code?e.data.forEach((e=>{"single_invitation"===e.aiScene&&(this.aiFeed.single_invitation=e.isLike),"summarize"===e.aiScene&&(this.aiFeed.summarize=e.isLike)})):this.$message.error(e.message)}catch(Rl){console.log(Rl)}},async evaluateAi(e,t,n){try{const i=this.aiFeed[e]===t?0:t,r=await fs({historyId:n,isLike:i,aiScene:e});"0"===r.code&&(this.getEvaluateAi(),this.$message.success(this.$t("inboxDetail.tips5")))}catch(Rl){console.log(Rl)}},handleSummaryShow(e,t){const n=this.mailList.findIndex((t=>t.id===e));n>-1&&this.$set(this.mailList,n,{...this.mailList[n],isShowSummary:t})},showAiReply(e,t){this.currentMail=e,this.summaryInfo=t,this.aiRelyVisible=!0},async checkEmailOwner(){try{const e=await Ss({inboxId:this.id});return"0"===e.code?!!e.data||(this.$message.error(this.$t("edm5.v5")),!1):(this.$message.error(e.message),!1)}catch(Rl){return console.log(Rl),!1}},changeEmailPlan(e,t){this.$router.push({query:Jd()(this.$route.query,{popularizePlanId:e||-1,popularizePlanName:t||""})}),this.getCrmInfo()},addTagsStart(){this.selectedTags=this.tagList&&Array.isArray(this.tagList)?this.tagList.filter((e=>!!e.tag)).map((e=>e.tag)):[],this.isShowSettag=!0},async updateTag(e=[],t=!1){try{const n=await Za({mailId:this.id,tags:e});n&&(t?this.$message({type:"success",message:this.$t("inboxTagDialog.delTagSuccess")}):this.$message({type:"success",message:this.$t("inboxTagDialog.bindSuccess")}),this.getMailDetailById())}catch(Rl){}},async getBloggerGmv(e){try{const t=await _l({code:"adsTkStatsBloggerBaseService",data:{sqlManager:"dataService",param:{bEsId:e,dimDate:"30d"}}});"0"===t.code&&this.$set(this.bloggerInfoRest,"gmv30d",t.data[0]?.gmv||"-")}catch(Rl){console.log(Rl)}}}},eh=Qd,th=Ba(eh,hl,pl,!1,null,"28ceb53d",null),nh=th.exports,ih=function(){var e=this,t=e._self._c;return t("div",{ref:"pageContainer",staticClass:"page-container-write"},[t("div",{staticClass:"write-part"},[t("div",{staticClass:"write-container"},[t("div",{staticClass:"write-wrap"},["AIinvitePlan"!==e.pageFrom?t("div",{staticClass:"form-item mb12"},[t("span",{on:{click:e.test}},[e._v(e._s(e.$i18n.t("writeMail.receiver")))]),t("div",{staticClass:"edm-input-container"},[e.isSpreadAddress?e._e():e._l(e.addresseeArr.slice(0,5),(function(n,i){return t("span",{key:i,staticClass:"edm-input-tags"},[e._v(" "+e._s(n.bloggerName)+" ")])})),e.isSpreadAddress?e._l(e.addresseeArr,(function(n,i){return t("span",{key:i,staticClass:"edm-input-tags"},[e._v(" "+e._s(n.bloggerName)+" ")])})):e._e(),e.addresseeArr.length?t("p",{staticClass:"edm-tag-dot"},[e._v(" "+e._s(e.addresseeArr.length>9999?e.addresseeArr.length+"+":e.addresseeArr.length)+" ")]):e._e(),e.addresseeArr.length>5?t("div",{staticClass:"edm-tags-action",on:{click:function(t){e.isSpreadAddress=!e.isSpreadAddress}}},[e._v(" "+e._s(e.isSpreadAddress?`- ${e.$i18n.t("writeMail.retract")}`:`+ ${e.$i18n.t("writeMail.other")}`+(e.addresseeArr.length-5)+`${e.$i18n.t("writeMail.person")}`)+" ")]):e._e()],2),e.isReply||e.isMultiReply||"payStatusDetail"===e.$route.query.pageFrom?e._e():t("el-button",{staticClass:"edit-btn",attrs:{loading:e.editBloggerLoading},on:{click:e.toEditBlogger}},[e._v(e._s(e.$t("edm5.v58")))])],1):e._e(),e.isReply||e.isMultiReply?e._e():t("div",{staticClass:"form-item"},[t("span",{staticClass:"email-label"},[e._v(" "+e._s(e.$t("edm5.v55"))+" "),t("Tooltip",{staticClass:"label-tooltip",attrs:{content:e.$t("edm5.v57"),isShowRule:!1}})],1),t("div",{staticClass:"email-box"},[t("div",{staticClass:"email-tab"},e._l(e.mailList,(function(n,i){return t("div",{key:n.id,class:{tab:!0,"active-tab":n.active},on:{click:function(t){return e.toggleEmailTag(n.id)}}},[t("span",{staticClass:"tab-txt"},[e._v(e._s(e.$t("edm5.v59"))+e._s(i+1))]),e.mailList.length>1?t("i",{staticClass:"dss-iconfont icon-close",on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.deleteEmail(n.id)}}}):e._e()])})),0),!e.isReply&&!e.isMultiReply&&e.mailList.length<5?t("div",{staticClass:"email-add",on:{click:function(t){return e.toAddEmail()}}},[t("i",{staticClass:"dss-iconfont icon-add2"}),t("span",[e._v(e._s(e.$t("edm5.v60")))])]):e._e()])]),t("div",{staticClass:"email-container",staticStyle:{position:"relative"}},[e._l(e.mailList,(function(n){return t("div",{key:n.id,staticClass:"email-main"},[t("ContentBox",{directives:[{name:"show",rawName:"v-show",value:n.active,expression:"mail.active"}],attrs:{editorHeight:e.editorHeight+e.editorHeightMore,form:n,replyInfo:e.replyInfo,isDraft:!!e.draftId,isOuterBox:!!e.outboxId,isReply:e.isReply,isMultiReply:e.isMultiReply,aiPoint:e.aiPoint},on:{handleOptimize:e.handleOptimize,expandEditor:e.expandEditor}})],1)})),t("div",{directives:[{name:"show",rawName:"v-show",value:e.isAutoSave,expression:"isAutoSave"}],staticClass:"save-icon"},[e.isAutoSaving?t("i",{staticClass:"el-icon-refresh-right"}):e._e(),e.isAutoSaved?t("img",{attrs:{src:i(3475)}}):e._e()])],2),t("div",{staticClass:"form-item cards"},[t("span",{staticStyle:{"white-space":"normal"}},[e._v(" "+e._s(e.$i18n.t("productCard.product_card"))+" ")]),t("div",{staticClass:"cards-content"},[t("Draggable",{staticClass:"cards-draggable",attrs:{"chosen-class":"email-chosen","force-fallback":"true",group:"list",animation:"500",handle:".card-wrap","ghost-class":"ghost"},model:{value:e.cardsArr,callback:function(t){e.cardsArr=t},expression:"cardsArr"}},[t("transition-group",{staticStyle:{display:"flex","align-items":"center"}},e._l(e.cardsArr,(function(n,r){return t("div",{key:r,staticClass:"card-wrap"},[t("div",{staticClass:"product-card"},[t("div",{staticClass:"card-top"},[t("el-image",{staticClass:"product-img",staticStyle:{border:"1px solid #e8e8e8"},attrs:{src:n.imageUrls[0]}}),t("div",{staticClass:"card-tags"},[e._l(n.promotePlatformType,(function(n,r){return t("div",{key:"platform"+r,staticClass:"product-platform"},[0==n?t("img",{staticClass:"platform-img",attrs:{src:i(4321)}}):e._e(),1==n?t("img",{staticClass:"platform-img",attrs:{src:i(634)}}):e._e(),2==n?t("img",{staticClass:"platform-img",attrs:{src:i(7682)}}):e._e()])})),e._l(n.typeName3,(function(n,i){return t("span",{key:"typeName"+i},[e._v(" "+e._s(n)+" ")])})),n.typeName.length>3?t("el-tooltip",{attrs:{placement:"top","popper-class":"wt-tooltip tooltip-tips type-tooltip"}},[t("div",{staticClass:"content",attrs:{slot:"content"},slot:"content"},e._l(n.typeName,(function(n,i){return t("span",{key:"allTypeName"+i,staticClass:"type-item"},[e._v(" "+e._s(n)+" ")])})),0),t("span",{staticClass:"more-types"},[e._v("···")])]):e._e()],2),t("div",{staticClass:"card-delete",on:{click:function(t){return e.deleteItem(r)}}},[t("i",{staticClass:"el-icon-delete"})])],1),t("div",{staticClass:"card-center"},[t("div",{staticClass:"product-name"},[e._v(e._s(n.nameEn||"—"))]),t("div",{staticClass:"product-price"},[e._v(" Price:"+e._s(e._f("getMoneySymbol")(n.currency))+e._s(n.priceDollar||"—")+" ")]),t("div",{staticClass:"product-price product-commission"},[e._v(" Commission rate:"+e._s(n.commissionPercent||"—")+"% ")])]),t("div",{staticClass:"card-bottom",class:{"only-btn":null==n.commissionPercent||0==n.commissionPercent}},[null!==n.commissionPercent&&0!==n.commissionPercent?t("div",{staticClass:"price"},[t("span",[e._v(" "+e._s(e._f("getMoneySymbol")(n.currency))+e._s((n.priceDollar*(n.commissionPercent/100)).toFixed(2))+" ")]),e._v(" /per ordered item ")]):e._e(),t("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.skipApply(n.id)}}},[e._v(" Apply ")])],1)])])})),0)],1),0==e.cardsArr.length?t("div",{staticClass:"product-card"},[t("div",{staticClass:"card-top"},[t("img",{staticClass:"product-img",staticStyle:{border:"1px solid #e8e8e8"},attrs:{src:"https://m.media-amazon.com/images/I/616058e2AYL._AC_SL1360_.jpg"}}),e._m(0),t("p",{staticClass:"flag"},[t("i",{staticClass:"el-icon-s-opportunity",staticStyle:{"padding-right":"6px"}}),e._v(" "+e._s(e.$i18n.t("productCard.example"))+" ")])]),t("div",{staticClass:"card-center"},[t("div",{staticClass:"product-name"},[e._v(" "+e._s("Lenovo Thinkpad X500 Blueto…")+" ")]),t("div",{staticClass:"product-price"},[e._v("Price:"+e._s("$49.93"))]),t("div",{staticClass:"product-price product-commission"},[e._v(" Commission rate:"+e._s("10")+"% ")])]),t("div",{staticClass:"card-bottom"},[e._m(1),t("el-button",{attrs:{type:"primary",size:"small"}},[e._v("Apply")])],1)]):e._e(),t("div",{staticClass:"add-card",on:{click:e.addProduct}},[t("i",{staticClass:"el-icon-plus"}),t("p",[e._v(e._s(e.$i18n.t("productCard.add_product_card")))])])],1)])]),t("div",{staticClass:"operate-wrap"},[t("div",{staticClass:"operate-left"},[e.isReply||e.isMultiReply||"AIinvitePlan"==e.pageFrom?e._e():t("div",{staticClass:"set-mail"},[t("div",{staticClass:"operate-set",on:{click:()=>{e.isCheckType=!1,e.showChooseMail=!0}}},[t("i",{staticClass:"el-icon-s-tools"}),t("span",{staticClass:"mail-tip"},[e._v(" "+e._s(e.$i18n.t("setMail.Sending_settings"))+" ")])]),t("div",{staticClass:"current-set"},[t("el-tooltip",{attrs:{placement:"top","popper-class":"wt-tooltip"}},[t("div",{staticClass:"content",staticStyle:{color:"#333"},attrs:{slot:"content"},slot:"content"},["WOTOMAIL"===e.sendType?t("span",[e._v(" "+e._s(e.$i18n.t("setMail.mailbox_system"))+" ")]):t("span",[e._v(e._s(e.email))])]),"WOTOMAIL"===e.sendType?t("span",{staticClass:"current-email"},[e._v(" "+e._s(e.$i18n.t("setMail.mailbox_system"))+" ")]):t("span",{staticClass:"current-email"},[e._v(e._s(e.email))])])],1)]),e.isReply||e.isMultiReply||"AIinvitePlan"==e.pageFrom?e._e():t("div",{staticClass:"set-nickname"},[t("div",{staticClass:"set-btn",on:{click:function(t){e.settingNicknameVisible=!0}}},[t("i",{staticClass:"dss-iconfont icon-nickname"}),t("span",[e._v(e._s(e.$t("edm5.v61")))])]),e.nickName?t("span",{staticClass:"set-value"},[t("el-tooltip",{attrs:{placement:"top","popper-class":"wt-tooltip"}},[t("div",{staticClass:"content",staticStyle:{color:"#333"},attrs:{slot:"content"},slot:"content"},[e._v(" "+e._s(e.nickName)+" ")]),t("span",{staticClass:"current-nickName"},[e._v(e._s(e.nickName))])])],1):e._e()])]),"AIinvitePlan"==e.pageFrom?t("div",{staticClass:"operate-right"},[t("el-button",{staticClass:"double-btn save_btn",attrs:{disabled:e.loading},on:{click:e.saveInviteEmail}},[e.loading?t("i",{staticClass:"el-icon-loading"}):e._e(),e._v(" 保存 ")])],1):t("div",{staticClass:"operate-right"},[e.isReply?e._e():t("el-button",{staticClass:"operate-btn",attrs:{disabled:e.loading},on:{click:e.saveMailTemplate}},[e.loading?t("i",{staticClass:"el-icon-loading"}):e._e(),e._v(" 存为模版 ")]),0!=e.isTiming||e.isMultiReply?e._e():t("el-button",{staticClass:"operate-btn",attrs:{disabled:e.loading},on:{click:function(t){e.isShowSave=!1,e.saveDraft(!0)}}},[e.loading?t("i",{staticClass:"el-icon-loading"}):e._e(),e._v(" "+e._s(e.$i18n.t("writeMail.save_draft"))+" ")]),1!=e.isTiming||e.isMultiReply?e._e():t("el-button",{staticClass:"operate-btn",attrs:{disabled:e.loading},on:{click:e.cancelDelaySend}},[e._v(" "+e._s(e.$i18n.t("writeMail.cancle_timer"))+" ")]),1!=e.isTiming||e.isMultiReply?e._e():t("el-button",{staticClass:"operate-btn",attrs:{disabled:e.loading},on:{click:function(t){return e.sendTime(e.rowTime)}}},[e._v(" "+e._s(e.$i18n.t("writeMail.save"))+" ")]),e.isMultiReply?e._e():t("el-button",{staticClass:"double-btn",attrs:{disabled:e.loading,loading:e.loading}},[t("el-tooltip",{attrs:{"popper-class":"btn-tooltip wt-tooltip",content:e.$t("edm5.v62"),placement:"top"}},[t("div",{staticClass:"text",on:{click:e.send}},[e._v(e._s(e.$t("edm5.v63")))])]),t("el-divider",{staticClass:"search-divider",attrs:{direction:"vertical"}}),t("el-tooltip",{attrs:{"popper-class":"btn-tooltip wt-tooltip",content:e.$t("edm5.v64"),placement:"top"}},[t("div",{staticClass:"quick-reply",on:{click:e.showDelayedTx}},[t("img",{staticClass:"img",attrs:{src:i(9717)}})])])],1),e.isMultiReply?t("el-button",{staticClass:"operate-btn",attrs:{disabled:e.loading,loading:e.loading},on:{click:e.multiSendNow}},[e._v(" "+e._s(e.$i18n.t("writeMail.send_now"))+" ")]):e._e()],1)])]),t("div",{staticClass:"write-aside"},[t("el-popover",{attrs:{"popper-class":"email-popover",trigger:"hover",placement:"left-start"}},[t("div",{staticClass:"popover-content"},[t("div",{staticClass:"popover-item",on:{click:function(t){e.aiMailVisible=!0}}},[t("i",{staticClass:"dss-iconfont icon-ai1"}),t("span",{staticClass:"item-label"},[e._v(e._s(e.$t("edm5.v65")))])]),t("div",{staticClass:"popover-item",on:{click:function(t){return e.singleSetEmail("setEditorBar","aiBar")}}},[t("i",{staticClass:"dss-iconfont icon-ai2"}),t("span",{staticClass:"item-label"},[e._v(e._s(e.$t("edm5.v66")))])]),t("div",{staticClass:"popover-item",on:{click:function(t){return e.handleOptimize("6")}}},[t("i",{staticClass:"dss-iconfont icon-ai3"}),t("span",{staticClass:"item-label"},[e._v(e._s(e.$t("edm5.v67")))])]),t("div",{staticClass:"popover-item",on:{click:function(t){return e.handleOptimize("7")}}},[t("i",{staticClass:"dss-iconfont icon-ai4"}),t("span",{staticClass:"item-label"},[e._v(e._s(e.$t("edm5.v68")))])])]),e.isReply||e.isMultiReply?e._e():t("div",{staticClass:"aside-item",attrs:{slot:"reference"},slot:"reference"},[t("img",{staticClass:"icon",attrs:{src:i(9954),alt:""}}),t("span",{staticClass:"name"},[e._v(e._s(e.$t("edm5.v69")))])])]),t("el-popover",{attrs:{"popper-class":"email-popover",trigger:"hover",placement:"left-start"}},[t("div",{staticClass:"popover-content"},[t("div",{staticClass:"popover-item",on:{click:function(t){e.mailTemplateDrawerVisible=!0}}},[t("i",{staticClass:"dss-iconfont icon-temp2"}),t("span",{staticClass:"item-label"},[e._v(e._s(e.$t("edm5.v70")))])]),t("div",{staticClass:"popover-item",on:{click:function(t){return e.singleSetEmail("setEditorBar","variableBar")}}},[t("i",{staticClass:"dss-iconfont icon-temp1"}),t("span",{staticClass:"item-label"},[e._v(e._s(e.$t("edm5.v71")))])])]),t("div",{staticClass:"aside-item",attrs:{slot:"reference"},slot:"reference"},[t("i",{staticClass:"icon dss-iconfont icon-side1"}),t("span",{staticClass:"name"},[e._v(e._s(e.$t("edm5.v72")))])])]),t("div",{staticClass:"aside-item",on:{click:function(t){e.signTextDrawerVisible=!0}}},[t("i",{staticClass:"icon dss-iconfont icon-side2"}),t("span",{staticClass:"name"},[e._v(e._s(e.$t("edm5.v73")))])]),t("div",{staticClass:"aside-item",on:{click:e.isShowProductDrawerEvt}},[t("i",{staticClass:"icon dss-iconfont icon-side3"}),t("span",{staticClass:"name"},[e._v(e._s(e.$t("edm5.v74")))])]),t("div",{staticClass:"aside-item",on:{click:function(t){e.isShowProductFormDrawer=!0}}},[t("i",{staticClass:"icon dss-iconfont icon-side4"}),t("span",{staticClass:"name"},[e._v(e._s(e.$t("edm5.v75")))])])],1)]),e.signTextDrawerVisible?t("SignTextDrawer",{attrs:{visible:e.signTextDrawerVisible},on:{"update:visible":function(t){e.signTextDrawerVisible=t},setMailSign:e.setMailSign}}):e._e(),e.mailTemplateDrawerVisible?t("MailTemplateDrawer",{attrs:{userId:e.userId,visible:e.mailTemplateDrawerVisible},on:{"update:visible":function(t){e.mailTemplateDrawerVisible=t},setMailTemplate:e.setMailTemplate}}):e._e(),e.isShowDelayed?t("delayed-tx",{ref:"delayedTxRef",attrs:{"is-show":e.isShowDelayed,rowTime:e.rowTime},on:{affirm:e.sendTime,close:function(t){e.isShowDelayed=!1}}}):e._e(),e.isShowNotice&&"AIinvitePlan"!==e.pageFrom?t("send-notice",{attrs:{isShow:e.isShowNotice},on:{closeNotice:e.closeNoticeEvt}}):e._e(),e.isShowLimit?t("send-limit",{attrs:{isShow:e.isShowLimit,totalSendNum:e.totalSendNum,restSendNum:e.restSendNum},on:{closeLimit:function(t){e.isShowLimit=!1}}}):e._e(),e.isShowCheck?t("check-mail",{attrs:{isShow:e.isShowCheck,reContactNum:e.reContactList.length,riskNum:e.riskList.length,cooperatedNum:e.cooperatedList.length,filterBloggerArr:e.filterBloggerArr,checkEmails:e.checkEmails,isSendSuccess:e.isSendSuccess,isReply:e.isReply,totalNum:e.totalNum,checkLoading:e.checkLoading},on:{closeCheck:e.closeCheckEvt,skipToOut:e.skipToOut,selfSend:e.selfSend,openAutoJump:function(t){e.isSelfClick=!1},updateFilterBloggerArr:e.updateFilterBloggerArr}}):e._e(),e.showChooseMail?t("chooseMailNew",{attrs:{isShow:e.showChooseMail,currentRadio:e.currentRadio,currentEnv:e.currentEnv,currentRadioId:e.bizId,currentSendType:e.sendType,isCheckType:e.isCheckType,userId:e.userId,addresseeArrLength:e.addresseeArr.length,totalSendNum:e.totalSendNum},on:{toGuide:e.toGuide,closeChooseMail:e.closeChooseMail,updateCurrentEmail:e.updateCurrentEmail,openCheckNext:e.openCheckNext}}):e._e(),e.isShowProductDrawer?t("product-new-drawer",{attrs:{isShowProductDrawer:e.isShowProductDrawer},on:{setProduct:e.setProduct,closeProductDrawer:e.closeProductDrawer}}):e._e(),e.isShowProductFormDrawer?t("product-form-drawer",{attrs:{isShowProductFormDrawer:e.isShowProductFormDrawer,currentEnv:e.currentEnv},on:{setProductFormLink:e.setProductFormLink,closeProductFormDrawer:function(t){e.isShowProductFormDrawer=!1}}}):e._e(),e.isShowProductCardDrawer?t("product-cards-drawer",{attrs:{isShowProductCardDrawer:e.isShowProductCardDrawer},on:{addProductCard:e.addProductCard,closeProductCardDrawer:function(t){e.isShowProductCardDrawer=!1}}}):e._e(),!e.aiMailVisible||e.isReply||e.isMultiReply?e._e():t("AiMailDialog",{attrs:{visible:e.aiMailVisible,aiPoint:e.aiPoint},on:{"update:visible":function(t){e.aiMailVisible=t},refreshPoint:e.getAiPoint,applyEmails:e.applyEmails}}),e.mailOptimizeDrawerVisible?t("MailOptimizeDrawer",{attrs:{visible:e.mailOptimizeDrawerVisible,aiPoint:e.aiPoint,type:e.aiOptimizeType,originSubject:e.aiOptimizeOriginSubject,originContent:e.aiOptimizeOriginContent},on:{"update:visible":function(t){e.mailOptimizeDrawerVisible=t},applyEmail:e.applyEmail,refreshPoint:e.getAiPoint}}):e._e(),e.settingNicknameVisible?t("SettingNickName",{attrs:{nickNameDefault:e.nickName,visible:e.settingNicknameVisible},on:{"update:visible":function(t){e.settingNicknameVisible=t},updateNickName:t=>e.nickName=t}}):e._e(),e.saveMailTempDialogVisible?t("saveMailTempDialog",{attrs:{tempProductCard:e.tempProductCard,mailTempList:e.mailList,visible:e.saveMailTempDialogVisible},on:{"update:visible":function(t){e.saveMailTempDialogVisible=t},setMailTempHandle:e.setMailTempHandle}}):e._e()],1)},rh=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"card-tags"},[t("div",{staticClass:"product-platform"},[t("img",{staticClass:"platform-img",attrs:{src:i(634)}})]),t("span",[e._v("Teach")]),t("span",[e._v("Lifestyle")])])},function(){var e=this,t=e._self._c;return t("div",{staticClass:"price"},[t("span",[e._v("$4.98")]),e._v(" /per ordered item ")])}],oh=(i(1148),i(3579),i(7642),i(8004),i(3853),i(5876),i(2475),i(5024),i(1698),function(){var e=this,t=e._self._c;return t("div",{staticClass:"body mb24",domProps:{innerHTML:e._s(e.filterBaseTag(e.body))}})}),ah=[],sh={props:{content:{default:"",type:String}},data(){return{body:this.content}},methods:{filterBaseTag(e){return e&&(e=e.replace("https://pixel.xin/emailControl.php?mid=","").replace("https://pixel.xin/hub.gif?mid=","").replace(new RegExp("unsubscribe","g"),"").replace(/\r\n/g,"<br />").replace(/ツ?/g,"").replace(/<base.*?(?:>|\/>)/gi,"").replace(/&gt; &gt;/g,"<br /><br />")),e}}},lh=sh,ch=Ba(lh,oh,ah,!1,null,"344d58de",null),uh=ch.exports;function dh(e){return va(`/edm/draftsV2/draftV2Detail/${e}`)}function hh(e){return wa("/edm/outboxV2/againInvite",e)}function ph(e){return va("/edm/qiye/getUserRegisters",e)}function fh(e){return va("/edm/qiye/getTemplates",e)}function mh(e){return wa("/edm/qiye/saveUserRegister",e)}function gh(e){return wa("/edm/qiye/check",e)}function vh(e){return va("/edm/qiye/unbindByEmail",e)}var yh=function(){var e=this,t=e._self._c;return t("div",{staticClass:"editor-main",class:"gray"===e.theme?"editor-gray":"light"===e.theme?"editor-light":""},[t("Toolbar",{staticClass:"relative edm-wang-toolbar",staticStyle:{"z-index":"101"},attrs:{editor:e.editor,"default-config":e.toolbarConfig}}),t("Editor",{staticClass:"relative",style:"height: "+e.height+"px; overflow-y: hidden;z-index: 100;",attrs:{"default-config":e.editorConfig},on:{onCreated:e.onCreated},model:{value:e.content,callback:function(t){e.content=t},expression:"content"}})],1)},bh=[],wh="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof i.g?i.g:"undefined"!=typeof self?self:{};function _h(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Ch(e){var t={exports:{}};return e(t,t.exports),t.exports}var xh,Sh,kh=function(e){return e&&e.Math==Math&&e},Eh=kh("object"==typeof globalThis&&globalThis)||kh("object"==typeof window&&window)||kh("object"==typeof self&&self)||kh("object"==typeof wh&&wh)||function(){return this}()||Function("return this")(),Ah=Function.prototype,Dh=Ah.apply,Oh=Ah.bind,Th=Ah.call,Ih="object"==typeof Reflect&&Reflect.apply||(Oh?Th.bind(Dh):function(){return Th.apply(Dh,arguments)}),Ph=Function.prototype,Fh=Ph.bind,Mh=Ph.call,Bh=Fh&&Fh.bind(Mh),Nh=Fh?function(e){return e&&Bh(Mh,e)}:function(e){return e&&function(){return Mh.apply(e,arguments)}},Rh=function(e){return"function"==typeof e},$h=function(e){try{return!!e()}catch(e){return!0}},jh=!$h((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),Lh=Function.prototype.call,zh=Lh.bind?Lh.bind(Lh):function(){return Lh.apply(Lh,arguments)},Vh={}.propertyIsEnumerable,Hh=Object.getOwnPropertyDescriptor,Uh=Hh&&!Vh.call({1:2},1)?function(e){var t=Hh(this,e);return!!t&&t.enumerable}:Vh,Wh={f:Uh},qh=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Yh=Nh({}.toString),Gh=Nh("".slice),Kh=function(e){return Gh(Yh(e),8,-1)},Xh=Eh.Object,Zh=Nh("".split),Jh=$h((function(){return!Xh("z").propertyIsEnumerable(0)}))?function(e){return"String"==Kh(e)?Zh(e,""):Xh(e)}:Xh,Qh=Eh.TypeError,ep=function(e){if(null==e)throw Qh("Can't call method on "+e);return e},tp=function(e){return Jh(ep(e))},np=function(e){return"object"==typeof e?null!==e:Rh(e)},ip={},rp=function(e){return Rh(e)?e:void 0},op=function(e,t){return arguments.length<2?rp(ip[e])||rp(Eh[e]):ip[e]&&ip[e][t]||Eh[e]&&Eh[e][t]},ap=Nh({}.isPrototypeOf),sp=op("navigator","userAgent")||"",lp=Eh.process,cp=Eh.Deno,up=lp&&lp.versions||cp&&cp.version,dp=up&&up.v8;dp&&(Sh=(xh=dp.split("."))[0]>0&&xh[0]<4?1:+(xh[0]+xh[1])),!Sh&&sp&&(!(xh=sp.match(/Edge\/(\d+)/))||xh[1]>=74)&&(xh=sp.match(/Chrome\/(\d+)/))&&(Sh=+xh[1]);var hp,pp=Sh,fp=!!Object.getOwnPropertySymbols&&!$h((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&pp&&pp<41})),mp=fp&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,gp=Eh.Object,vp=mp?function(e){return"symbol"==typeof e}:function(e){var t=op("Symbol");return Rh(t)&&ap(t.prototype,gp(e))},yp=Eh.String,bp=function(e){try{return yp(e)}catch(e){return"Object"}},wp=Eh.TypeError,_p=function(e){if(Rh(e))return e;throw wp(bp(e)+" is not a function")},Cp=function(e,t){var n=e[t];return null==n?void 0:_p(n)},xp=Eh.TypeError,Sp=Object.defineProperty,kp=Eh["__core-js_shared__"]||function(e,t){try{Sp(Eh,e,{value:t,configurable:!0,writable:!0})}catch(Ch){Eh[e]=t}return t}("__core-js_shared__",{}),Ep=Ch((function(e){(e.exports=function(e,t){return kp[e]||(kp[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"pure",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),Ap=Eh.Object,Dp=function(e){return Ap(ep(e))},Op=Nh({}.hasOwnProperty),Tp=Object.hasOwn||function(e,t){return Op(Dp(e),t)},Ip=0,Pp=Math.random(),Fp=Nh(1..toString),Mp=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Fp(++Ip+Pp,36)},Bp=Ep("wks"),Np=Eh.Symbol,Rp=Np&&Np.for,$p=mp?Np:Np&&Np.withoutSetter||Mp,jp=function(e){if(!Tp(Bp,e)||!fp&&"string"!=typeof Bp[e]){var t="Symbol."+e;fp&&Tp(Np,e)?Bp[e]=Np[e]:Bp[e]=mp&&Rp?Rp(t):$p(t)}return Bp[e]},Lp=Eh.TypeError,zp=jp("toPrimitive"),Vp=function(e,t){if(!np(e)||vp(e))return e;var n,i=Cp(e,zp);if(i){if(void 0===t&&(t="default"),n=zh(i,e,t),!np(n)||vp(n))return n;throw Lp("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,i;if("string"===t&&Rh(n=e.toString)&&!np(i=zh(n,e)))return i;if(Rh(n=e.valueOf)&&!np(i=zh(n,e)))return i;if("string"!==t&&Rh(n=e.toString)&&!np(i=zh(n,e)))return i;throw xp("Can't convert object to primitive value")}(e,t)},Hp=function(e){var t=Vp(e,"string");return vp(t)?t:t+""},Up=Eh.document,Wp=np(Up)&&np(Up.createElement),qp=function(e){return Wp?Up.createElement(e):{}},Yp=!jh&&!$h((function(){return 7!=Object.defineProperty(qp("div"),"a",{get:function(){return 7}}).a})),Gp=Object.getOwnPropertyDescriptor,Kp=jh?Gp:function(e,t){if(e=tp(e),t=Hp(t),Yp)try{return Gp(e,t)}catch(e){}if(Tp(e,t))return qh(!zh(Wh.f,e,t),e[t])},Xp={f:Kp},Zp=/#|\.prototype\./,Jp=function(e,t){var n=ef[Qp(e)];return n==nf||n!=tf&&(Rh(t)?$h(t):!!t)},Qp=Jp.normalize=function(e){return String(e).replace(Zp,".").toLowerCase()},ef=Jp.data={},tf=Jp.NATIVE="N",nf=Jp.POLYFILL="P",rf=Jp,of=Nh(Nh.bind),af=function(e,t){return _p(e),void 0===t?e:of?of(e,t):function(){return e.apply(t,arguments)}},sf=Eh.String,lf=Eh.TypeError,cf=function(e){if(np(e))return e;throw lf(sf(e)+" is not an object")},uf=Eh.TypeError,df=Object.defineProperty,hf=jh?df:function(e,t,n){if(cf(e),t=Hp(t),cf(n),Yp)try{return df(e,t,n)}catch(e){}if("get"in n||"set"in n)throw uf("Accessors not supported");return"value"in n&&(e[t]=n.value),e},pf={f:hf},ff=jh?function(e,t,n){return pf.f(e,t,qh(1,n))}:function(e,t,n){return e[t]=n,e},mf=Xp.f,gf=function(e){var t=function(n,i,r){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,i)}return new e(n,i,r)}return Ih(e,this,arguments)};return t.prototype=e.prototype,t},vf=function(e,t){var n,i,r,o,a,s,l,c,u=e.target,d=e.global,h=e.stat,p=e.proto,f=d?Eh:h?Eh[u]:(Eh[u]||{}).prototype,m=d?ip:ip[u]||ff(ip,u,{})[u],g=m.prototype;for(r in t)n=!rf(d?r:u+(h?".":"#")+r,e.forced)&&f&&Tp(f,r),a=m[r],n&&(s=e.noTargetGet?(c=mf(f,r))&&c.value:f[r]),o=n&&s?s:t[r],n&&typeof a==typeof o||(l=e.bind&&n?af(o,Eh):e.wrap&&n?gf(o):p&&Rh(o)?Nh(o):o,(e.sham||o&&o.sham||a&&a.sham)&&ff(l,"sham",!0),ff(m,r,l),p&&(Tp(ip,i=u+"Prototype")||ff(ip,i,{}),ff(ip[i],r,o),e.real&&g&&!g[r]&&ff(g,r,o)))},yf=Ep("keys"),bf=function(e){return yf[e]||(yf[e]=Mp(e))},wf=!$h((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),_f=bf("IE_PROTO"),Cf=Eh.Object,xf=Cf.prototype,Sf=wf?Cf.getPrototypeOf:function(e){var t=Dp(e);if(Tp(t,_f))return t[_f];var n=t.constructor;return Rh(n)&&t instanceof n?n.prototype:t instanceof Cf?xf:null},kf=Eh.String,Ef=Eh.TypeError,Af=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Nh(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return cf(n),function(e){if("object"==typeof e||Rh(e))return e;throw Ef("Can't set "+kf(e)+" as a prototype")}(i),t?e(n,i):n.__proto__=i,n}}():void 0),Df=Math.ceil,Of=Math.floor,Tf=function(e){var t=+e;return t!=t||0===t?0:(t>0?Of:Df)(t)},If=Math.max,Pf=Math.min,Ff=function(e,t){var n=Tf(e);return n<0?If(n+t,0):Pf(n,t)},Mf=Math.min,Bf=function(e){return(t=e.length)>0?Mf(Tf(t),9007199254740991):0;var t},Nf=function(e){return function(t,n,i){var r,o=tp(t),a=Bf(o),s=Ff(i,a);if(e&&n!=n){for(;a>s;)if((r=o[s++])!=r)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},Rf={includes:Nf(!0),indexOf:Nf(!1)},$f={},jf=Rf.indexOf,Lf=Nh([].push),zf=function(e,t){var n,i=tp(e),r=0,o=[];for(n in i)!Tp($f,n)&&Tp(i,n)&&Lf(o,n);for(;t.length>r;)Tp(i,n=t[r++])&&(~jf(o,n)||Lf(o,n));return o},Vf=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Hf=Vf.concat("length","prototype"),Uf=Object.getOwnPropertyNames||function(e){return zf(e,Hf)},Wf={f:Uf},qf={f:Object.getOwnPropertySymbols},Yf=Nh([].concat),Gf=op("Reflect","ownKeys")||function(e){var t=Wf.f(cf(e)),n=qf.f;return n?Yf(t,n(e)):t},Kf=Object.keys||function(e){return zf(e,Vf)},Xf=jh?Object.defineProperties:function(e,t){cf(e);for(var n,i=tp(t),r=Kf(t),o=r.length,a=0;o>a;)pf.f(e,n=r[a++],i[n]);return e},Zf=op("document","documentElement"),Jf=bf("IE_PROTO"),Qf=function(){},em=function(e){return"<script>"+e+"<\/script>"},tm=function(e){e.write(em("")),e.close();var t=e.parentWindow.Object;return e=null,t},nm=function(){try{hp=new ActiveXObject("htmlfile")}catch(e){}var e,t;nm="undefined"!=typeof document?document.domain&&hp?tm(hp):((t=qp("iframe")).style.display="none",Zf.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(em("document.F=Object")),e.close(),e.F):tm(hp);for(var n=Vf.length;n--;)delete nm.prototype[Vf[n]];return nm()};$f[Jf]=!0;var im=Object.create||function(e,t){var n;return null!==e?(Qf.prototype=cf(e),n=new Qf,Qf.prototype=null,n[Jf]=e):n=nm(),void 0===t?n:Xf(n,t)},rm=function(e,t,n){var i=Hp(t);i in e?pf.f(e,i,qh(0,n)):e[i]=n},om=Eh.Array,am=Math.max,sm=function(e,t,n){for(var i=Bf(e),r=Ff(t,i),o=Ff(void 0===n?i:n,i),a=om(am(o-r,0)),s=0;r<o;r++,s++)rm(a,s,e[r]);return a.length=s,a},lm=Nh("".replace),cm=Nh("".split),um=Nh([].join),dm=String(Error("zxcasd").stack),hm=/\n\s*at [^:]*:[^\n]*/,pm=hm.test(dm),fm=/@[^\n]*\n/.test(dm)&&!/zxcasd/.test(dm),mm=function(e,t){if("string"!=typeof e)return e;if(pm)for(;t--;)e=lm(e,hm,"");else if(fm)return um(sm(cm(e,"\n"),t),"\n");return e},gm=function(e,t){np(t)&&"cause"in t&&ff(e,"cause",t.cause)},vm={},ym=jp("iterator"),bm=Array.prototype,wm={};wm[jp("toStringTag")]="z";var _m="[object z]"===String(wm),Cm=jp("toStringTag"),xm=Eh.Object,Sm="Arguments"==Kh(function(){return arguments}()),km=_m?Kh:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=xm(e),Cm))?n:Sm?Kh(t):"Object"==(i=Kh(t))&&Rh(t.callee)?"Arguments":i},Em=jp("iterator"),Am=function(e){if(null!=e)return Cp(e,Em)||Cp(e,"@@iterator")||vm[km(e)]},Dm=Eh.TypeError,Om=function(e,t,n){var i,r;cf(e);try{if(!(i=Cp(e,"return"))){if("throw"===t)throw n;return n}i=zh(i,e)}catch(e){r=!0,i=e}if("throw"===t)throw n;if(r)throw i;return cf(i),n},Tm=Eh.TypeError,Im=function(e,t){this.stopped=e,this.result=t},Pm=Im.prototype,Fm=function(e,t,n){var i,r,o,a,s,l,c,u=n&&n.that,d=!(!n||!n.AS_ENTRIES),h=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),f=af(t,u),m=function(e){return i&&Om(i,"normal",e),new Im(!0,e)},g=function(e){return d?(cf(e),p?f(e[0],e[1],m):f(e[0],e[1])):p?f(e,m):f(e)};if(h)i=e;else{if(!(r=Am(e)))throw Tm(bp(e)+" is not iterable");if(function(e){return void 0!==e&&(vm.Array===e||bm[ym]===e)}(r)){for(o=0,a=Bf(e);a>o;o++)if((s=g(e[o]))&&ap(Pm,s))return s;return new Im(!1)}i=function(e,t){var n=arguments.length<2?Am(e):t;if(_p(n))return cf(zh(n,e));throw Dm(bp(e)+" is not iterable")}(e,r)}for(l=i.next;!(c=zh(l,i)).done;){try{s=g(c.value)}catch(e){Om(i,"throw",e)}if("object"==typeof s&&s&&ap(Pm,s))return s}return new Im(!1)},Mm=Eh.String,Bm=function(e){if("Symbol"===km(e))throw TypeError("Cannot convert a Symbol value to a string");return Mm(e)},Nm=function(e,t){return void 0===e?arguments.length<2?"":t:Bm(e)},Rm=!$h((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",qh(1,7)),7!==e.stack)})),$m=jp("toStringTag"),jm=Eh.Error,Lm=[].push,zm=function(e,t){var n,i=arguments.length>2?arguments[2]:void 0,r=ap(Vm,this);Af?n=Af(new jm(void 0),r?Sf(this):Vm):(n=r?this:im(Vm),ff(n,$m,"Error")),ff(n,"message",Nm(t,"")),Rm&&ff(n,"stack",mm(n.stack,1)),gm(n,i);var o=[];return Fm(e,Lm,{that:o}),ff(n,"errors",o),n};Af?Af(zm,jm):function(e,t){for(var n=Gf(t),i=pf.f,r=Xp.f,o=0;o<n.length;o++){var a=n[o];Tp(e,a)||i(e,a,r(t,a))}}(zm,jm);var Vm=zm.prototype=im(jm.prototype,{constructor:qh(1,zm),message:qh(1,""),name:qh(1,"AggregateError")});vf({global:!0},{AggregateError:zm});var Hm=Nh(Function.toString);Rh(kp.inspectSource)||(kp.inspectSource=function(e){return Hm(e)});var Um,Wm,qm,Ym=kp.inspectSource,Gm=Eh.WeakMap,Km=Rh(Gm)&&/native code/.test(Ym(Gm)),Xm=Eh.TypeError,Zm=Eh.WeakMap;if(Km||kp.state){var Jm=kp.state||(kp.state=new Zm),Qm=Nh(Jm.get),eg=Nh(Jm.has),tg=Nh(Jm.set);Um=function(e,t){if(eg(Jm,e))throw new Xm("Object already initialized");return t.facade=e,tg(Jm,e,t),t},Wm=function(e){return Qm(Jm,e)||{}},qm=function(e){return eg(Jm,e)}}else{var ng=bf("state");$f[ng]=!0,Um=function(e,t){if(Tp(e,ng))throw new Xm("Object already initialized");return t.facade=e,ff(e,ng,t),t},Wm=function(e){return Tp(e,ng)?e[ng]:{}},qm=function(e){return Tp(e,ng)}}var ig,rg,og,ag={set:Um,get:Wm,has:qm,enforce:function(e){return qm(e)?Wm(e):Um(e,{})},getterFor:function(e){return function(t){var n;if(!np(t)||(n=Wm(t)).type!==e)throw Xm("Incompatible receiver, "+e+" required");return n}}},sg=Function.prototype,lg=jh&&Object.getOwnPropertyDescriptor,cg=Tp(sg,"name"),ug={EXISTS:cg,PROPER:cg&&"something"===function(){}.name,CONFIGURABLE:cg&&(!jh||jh&&lg(sg,"name").configurable)},dg=function(e,t,n,i){i&&i.enumerable?e[t]=n:ff(e,t,n)},hg=jp("iterator"),pg=!1;[].keys&&("next"in(og=[].keys())?(rg=Sf(Sf(og)))!==Object.prototype&&(ig=rg):pg=!0);var fg=null==ig||$h((function(){var e={};return ig[hg].call(e)!==e}));ig=fg?{}:im(ig),Rh(ig[hg])||dg(ig,hg,(function(){return this}));var mg={IteratorPrototype:ig,BUGGY_SAFARI_ITERATORS:pg},gg=_m?{}.toString:function(){return"[object "+km(this)+"]"},vg=pf.f,yg=jp("toStringTag"),bg=function(e,t,n,i){if(e){var r=n?e:e.prototype;Tp(r,yg)||vg(r,yg,{configurable:!0,value:t}),i&&!_m&&ff(r,"toString",gg)}},wg=mg.IteratorPrototype,_g=function(){return this},Cg=ug.PROPER,xg=mg.BUGGY_SAFARI_ITERATORS,Sg=jp("iterator"),kg=function(){return this},Eg=function(e,t,n,i,r,o,a){!function(e,t,n,i){var r=t+" Iterator";e.prototype=im(wg,{next:qh(+!i,n)}),bg(e,r,!1,!0),vm[r]=_g}(n,t,i);var s,l,c,u=function(e){if(e===r&&m)return m;if(!xg&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",h=!1,p=e.prototype,f=p[Sg]||p["@@iterator"]||r&&p[r],m=!xg&&f||u(r),g="Array"==t&&p.entries||f;if(g&&(s=Sf(g.call(new e)))!==Object.prototype&&s.next&&(bg(s,d,!0,!0),vm[d]=kg),Cg&&"values"==r&&f&&"values"!==f.name&&(h=!0,m=function(){return zh(f,this)}),r)if(l={values:u("values"),keys:o?m:u("keys"),entries:u("entries")},a)for(c in l)(xg||h||!(c in p))&&dg(p,c,l[c]);else vf({target:t,proto:!0,forced:xg||h},l);return a&&p[Sg]!==m&&dg(p,Sg,m,{name:r}),vm[t]=m,l},Ag=ag.set,Dg=ag.getterFor("Array Iterator");Eg(Array,"Array",(function(e,t){Ag(this,{type:"Array Iterator",target:tp(e),index:0,kind:t})}),(function(){var e=Dg(this),t=e.target,n=e.kind,i=e.index++;return!t||i>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:t[i],done:!1}:{value:[i,t[i]],done:!1}}),"values"),vm.Arguments=vm.Array;var Og=Nh("".charAt),Tg=Nh("".charCodeAt),Ig=Nh("".slice),Pg=function(e){return function(t,n){var i,r,o=Bm(ep(t)),a=Tf(n),s=o.length;return a<0||a>=s?e?"":void 0:(i=Tg(o,a))<55296||i>56319||a+1===s||(r=Tg(o,a+1))<56320||r>57343?e?Og(o,a):i:e?Ig(o,a,a+2):r-56320+(i-55296<<10)+65536}},Fg={codeAt:Pg(!1),charAt:Pg(!0)}.charAt,Mg=ag.set,Bg=ag.getterFor("String Iterator");Eg(String,"String",(function(e){Mg(this,{type:"String Iterator",string:Bm(e),index:0})}),(function(){var e,t=Bg(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=Fg(n,i),t.index+=e.length,{value:e,done:!1})}));var Ng=ip.AggregateError,Rg=jp("toStringTag");for(var $g in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var jg=Eh[$g],Lg=jg&&jg.prototype;Lg&&km(Lg)!==Rg&&ff(Lg,Rg,$g),vm[$g]=vm.Array}var zg,Vg,Hg=Ng,Ug=function(e){return e&&e.Math==Math&&e},Wg=Ug("object"==typeof globalThis&&globalThis)||Ug("object"==typeof window&&window)||Ug("object"==typeof self&&self)||Ug("object"==typeof wh&&wh)||function(){return this}()||Function("return this")(),qg=function(e){try{return!!e()}catch(e){return!0}},Yg=!qg((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),Gg=Function.prototype.call,Kg=Gg.bind?Gg.bind(Gg):function(){return Gg.apply(Gg,arguments)},Xg={}.propertyIsEnumerable,Zg=Object.getOwnPropertyDescriptor,Jg=Zg&&!Xg.call({1:2},1)?function(e){var t=Zg(this,e);return!!t&&t.enumerable}:Xg,Qg={f:Jg},ev=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},tv=Function.prototype,nv=tv.bind,iv=tv.call,rv=nv&&nv.bind(iv),ov=nv?function(e){return e&&rv(iv,e)}:function(e){return e&&function(){return iv.apply(e,arguments)}},av=ov({}.toString),sv=ov("".slice),lv=function(e){return sv(av(e),8,-1)},cv=Wg.Object,uv=ov("".split),dv=qg((function(){return!cv("z").propertyIsEnumerable(0)}))?function(e){return"String"==lv(e)?uv(e,""):cv(e)}:cv,hv=Wg.TypeError,pv=function(e){if(null==e)throw hv("Can't call method on "+e);return e},fv=function(e){return dv(pv(e))},mv=function(e){return"function"==typeof e},gv=function(e){return"object"==typeof e?null!==e:mv(e)},vv=function(e){return mv(e)?e:void 0},yv=function(e,t){return arguments.length<2?vv(Wg[e]):Wg[e]&&Wg[e][t]},bv=ov({}.isPrototypeOf),wv=yv("navigator","userAgent")||"",_v=Wg.process,Cv=Wg.Deno,xv=_v&&_v.versions||Cv&&Cv.version,Sv=xv&&xv.v8;Sv&&(Vg=(zg=Sv.split("."))[0]>0&&zg[0]<4?1:+(zg[0]+zg[1])),!Vg&&wv&&(!(zg=wv.match(/Edge\/(\d+)/))||zg[1]>=74)&&(zg=wv.match(/Chrome\/(\d+)/))&&(Vg=+zg[1]);var kv=Vg,Ev=!!Object.getOwnPropertySymbols&&!qg((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&kv&&kv<41})),Av=Ev&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Dv=Wg.Object,Ov=Av?function(e){return"symbol"==typeof e}:function(e){var t=yv("Symbol");return mv(t)&&bv(t.prototype,Dv(e))},Tv=Wg.String,Iv=function(e){try{return Tv(e)}catch(e){return"Object"}},Pv=Wg.TypeError,Fv=function(e){if(mv(e))return e;throw Pv(Iv(e)+" is not a function")},Mv=function(e,t){var n=e[t];return null==n?void 0:Fv(n)},Bv=Wg.TypeError,Nv=Object.defineProperty,Rv=function(e,t){try{Nv(Wg,e,{value:t,configurable:!0,writable:!0})}catch(Ch){Wg[e]=t}return t},$v=Wg["__core-js_shared__"]||Rv("__core-js_shared__",{}),jv=Ch((function(e){(e.exports=function(e,t){return $v[e]||($v[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),Lv=Wg.Object,zv=function(e){return Lv(pv(e))},Vv=ov({}.hasOwnProperty),Hv=Object.hasOwn||function(e,t){return Vv(zv(e),t)},Uv=0,Wv=Math.random(),qv=ov(1..toString),Yv=function(e){return"Symbol("+(void 0===e?"":e)+")_"+qv(++Uv+Wv,36)},Gv=jv("wks"),Kv=Wg.Symbol,Xv=Kv&&Kv.for,Zv=Av?Kv:Kv&&Kv.withoutSetter||Yv,Jv=function(e){if(!Hv(Gv,e)||!Ev&&"string"!=typeof Gv[e]){var t="Symbol."+e;Ev&&Hv(Kv,e)?Gv[e]=Kv[e]:Gv[e]=Av&&Xv?Xv(t):Zv(t)}return Gv[e]},Qv=Wg.TypeError,ey=Jv("toPrimitive"),ty=function(e,t){if(!gv(e)||Ov(e))return e;var n,i=Mv(e,ey);if(i){if(void 0===t&&(t="default"),n=Kg(i,e,t),!gv(n)||Ov(n))return n;throw Qv("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,i;if("string"===t&&mv(n=e.toString)&&!gv(i=Kg(n,e)))return i;if(mv(n=e.valueOf)&&!gv(i=Kg(n,e)))return i;if("string"!==t&&mv(n=e.toString)&&!gv(i=Kg(n,e)))return i;throw Bv("Can't convert object to primitive value")}(e,t)},ny=function(e){var t=ty(e,"string");return Ov(t)?t:t+""},iy=Wg.document,ry=gv(iy)&&gv(iy.createElement),oy=function(e){return ry?iy.createElement(e):{}},ay=!Yg&&!qg((function(){return 7!=Object.defineProperty(oy("div"),"a",{get:function(){return 7}}).a})),sy=Object.getOwnPropertyDescriptor,ly=Yg?sy:function(e,t){if(e=fv(e),t=ny(t),ay)try{return sy(e,t)}catch(e){}if(Hv(e,t))return ev(!Kg(Qg.f,e,t),e[t])},cy={f:ly},uy=Wg.String,dy=Wg.TypeError,hy=function(e){if(gv(e))return e;throw dy(uy(e)+" is not an object")},py=Wg.TypeError,fy=Object.defineProperty,my=Yg?fy:function(e,t,n){if(hy(e),t=ny(t),hy(n),ay)try{return fy(e,t,n)}catch(e){}if("get"in n||"set"in n)throw py("Accessors not supported");return"value"in n&&(e[t]=n.value),e},gy={f:my},vy=Yg?function(e,t,n){return gy.f(e,t,ev(1,n))}:function(e,t,n){return e[t]=n,e},yy=ov(Function.toString);mv($v.inspectSource)||($v.inspectSource=function(e){return yy(e)});var by,wy,_y,Cy=$v.inspectSource,xy=Wg.WeakMap,Sy=mv(xy)&&/native code/.test(Cy(xy)),ky=jv("keys"),Ey=function(e){return ky[e]||(ky[e]=Yv(e))},Ay={},Dy=Wg.TypeError,Oy=Wg.WeakMap;if(Sy||$v.state){var Ty=$v.state||($v.state=new Oy),Iy=ov(Ty.get),Py=ov(Ty.has),Fy=ov(Ty.set);by=function(e,t){if(Py(Ty,e))throw new Dy("Object already initialized");return t.facade=e,Fy(Ty,e,t),t},wy=function(e){return Iy(Ty,e)||{}},_y=function(e){return Py(Ty,e)}}else{var My=Ey("state");Ay[My]=!0,by=function(e,t){if(Hv(e,My))throw new Dy("Object already initialized");return t.facade=e,vy(e,My,t),t},wy=function(e){return Hv(e,My)?e[My]:{}},_y=function(e){return Hv(e,My)}}var By={set:by,get:wy,has:_y,enforce:function(e){return _y(e)?wy(e):by(e,{})},getterFor:function(e){return function(t){var n;if(!gv(t)||(n=wy(t)).type!==e)throw Dy("Incompatible receiver, "+e+" required");return n}}},Ny=Function.prototype,Ry=Yg&&Object.getOwnPropertyDescriptor,$y=Hv(Ny,"name"),jy={EXISTS:$y,PROPER:$y&&"something"===function(){}.name,CONFIGURABLE:$y&&(!Yg||Yg&&Ry(Ny,"name").configurable)},Ly=Ch((function(e){var t=jy.CONFIGURABLE,n=By.get,i=By.enforce,r=String(String).split("String");(e.exports=function(e,n,o,a){var s,l=!!a&&!!a.unsafe,c=!!a&&!!a.enumerable,u=!!a&&!!a.noTargetGet,d=a&&void 0!==a.name?a.name:n;mv(o)&&("Symbol("===String(d).slice(0,7)&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Hv(o,"name")||t&&o.name!==d)&&vy(o,"name",d),(s=i(o)).source||(s.source=r.join("string"==typeof d?d:""))),e!==Wg?(l?!u&&e[n]&&(c=!0):delete e[n],c?e[n]=o:vy(e,n,o)):c?e[n]=o:Rv(n,o)})(Function.prototype,"toString",(function(){return mv(this)&&n(this).source||Cy(this)}))})),zy=Math.ceil,Vy=Math.floor,Hy=function(e){var t=+e;return t!=t||0===t?0:(t>0?Vy:zy)(t)},Uy=Math.max,Wy=Math.min,qy=function(e,t){var n=Hy(e);return n<0?Uy(n+t,0):Wy(n,t)},Yy=Math.min,Gy=function(e){return e>0?Yy(Hy(e),9007199254740991):0},Ky=function(e){return Gy(e.length)},Xy=function(e){return function(t,n,i){var r,o=fv(t),a=Ky(o),s=qy(i,a);if(e&&n!=n){for(;a>s;)if((r=o[s++])!=r)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},Zy={includes:Xy(!0),indexOf:Xy(!1)}.indexOf,Jy=ov([].push),Qy=function(e,t){var n,i=fv(e),r=0,o=[];for(n in i)!Hv(Ay,n)&&Hv(i,n)&&Jy(o,n);for(;t.length>r;)Hv(i,n=t[r++])&&(~Zy(o,n)||Jy(o,n));return o},eb=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],tb=eb.concat("length","prototype"),nb=Object.getOwnPropertyNames||function(e){return Qy(e,tb)},ib={f:nb},rb={f:Object.getOwnPropertySymbols},ob=ov([].concat),ab=yv("Reflect","ownKeys")||function(e){var t=ib.f(hy(e)),n=rb.f;return n?ob(t,n(e)):t},sb=function(e,t){for(var n=ab(t),i=gy.f,r=cy.f,o=0;o<n.length;o++){var a=n[o];Hv(e,a)||i(e,a,r(t,a))}},lb=/#|\.prototype\./,cb=function(e,t){var n=db[ub(e)];return n==pb||n!=hb&&(mv(t)?qg(t):!!t)},ub=cb.normalize=function(e){return String(e).replace(lb,".").toLowerCase()},db=cb.data={},hb=cb.NATIVE="N",pb=cb.POLYFILL="P",fb=cb,mb=cy.f,gb=function(e,t){var n,i,r,o,a,s=e.target,l=e.global,c=e.stat;if(n=l?Wg:c?Wg[s]||Rv(s,{}):(Wg[s]||{}).prototype)for(i in t){if(o=t[i],r=e.noTargetGet?(a=mb(n,i))&&a.value:n[i],!fb(l?i:s+(c?".":"#")+i,e.forced)&&void 0!==r){if(typeof o==typeof r)continue;sb(o,r)}(e.sham||r&&r.sham)&&vy(o,"sham",!0),Ly(n,i,o,e)}},vb={};vb[Jv("toStringTag")]="z";var yb,bb="[object z]"===String(vb),wb=Jv("toStringTag"),_b=Wg.Object,Cb="Arguments"==lv(function(){return arguments}()),xb=bb?lv:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=_b(e),wb))?n:Cb?lv(t):"Object"==(i=lv(t))&&mv(t.callee)?"Arguments":i},Sb=Wg.String,kb=function(e){if("Symbol"===xb(e))throw TypeError("Cannot convert a Symbol value to a string");return Sb(e)},Eb=function(){var e=hy(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},Ab=Wg.RegExp,Db=qg((function(){var e=Ab("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),Ob=Db||qg((function(){return!Ab("a","y").sticky})),Tb=Db||qg((function(){var e=Ab("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),Ib={BROKEN_CARET:Tb,MISSED_STICKY:Ob,UNSUPPORTED_Y:Db},Pb=Object.keys||function(e){return Qy(e,eb)},Fb=Yg?Object.defineProperties:function(e,t){hy(e);for(var n,i=fv(t),r=Pb(t),o=r.length,a=0;o>a;)gy.f(e,n=r[a++],i[n]);return e},Mb=yv("document","documentElement"),Bb=Ey("IE_PROTO"),Nb=function(){},Rb=function(e){return"<script>"+e+"<\/script>"},$b=function(e){e.write(Rb("")),e.close();var t=e.parentWindow.Object;return e=null,t},jb=function(){try{yb=new ActiveXObject("htmlfile")}catch(e){}var e,t;jb="undefined"!=typeof document?document.domain&&yb?$b(yb):((t=oy("iframe")).style.display="none",Mb.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Rb("document.F=Object")),e.close(),e.F):$b(yb);for(var n=eb.length;n--;)delete jb.prototype[eb[n]];return jb()};Ay[Bb]=!0;var Lb,zb,Vb=Object.create||function(e,t){var n;return null!==e?(Nb.prototype=hy(e),n=new Nb,Nb.prototype=null,n[Bb]=e):n=jb(),void 0===t?n:Fb(n,t)},Hb=Wg.RegExp,Ub=qg((function(){var e=Hb(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),Wb=Wg.RegExp,qb=qg((function(){var e=Wb("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),Yb=By.get,Gb=jv("native-string-replace",String.prototype.replace),Kb=RegExp.prototype.exec,Xb=Kb,Zb=ov("".charAt),Jb=ov("".indexOf),Qb=ov("".replace),ew=ov("".slice),tw=(zb=/b*/g,Kg(Kb,Lb=/a/,"a"),Kg(Kb,zb,"a"),0!==Lb.lastIndex||0!==zb.lastIndex),nw=Ib.BROKEN_CARET,iw=void 0!==/()??/.exec("")[1];(tw||iw||nw||Ub||qb)&&(Xb=function(e){var t,n,i,r,o,a,s,l=this,c=Yb(l),u=kb(e),d=c.raw;if(d)return d.lastIndex=l.lastIndex,t=Kg(Xb,d,u),l.lastIndex=d.lastIndex,t;var h=c.groups,p=nw&&l.sticky,f=Kg(Eb,l),m=l.source,g=0,v=u;if(p&&(f=Qb(f,"y",""),-1===Jb(f,"g")&&(f+="g"),v=ew(u,l.lastIndex),l.lastIndex>0&&(!l.multiline||l.multiline&&"\n"!==Zb(u,l.lastIndex-1))&&(m="(?: "+m+")",v=" "+v,g++),n=new RegExp("^(?:"+m+")",f)),iw&&(n=new RegExp("^"+m+"$(?!\\s)",f)),tw&&(i=l.lastIndex),r=Kg(Kb,p?n:l,v),p?r?(r.input=ew(r.input,g),r[0]=ew(r[0],g),r.index=l.lastIndex,l.lastIndex+=r[0].length):l.lastIndex=0:tw&&r&&(l.lastIndex=l.global?r.index+r[0].length:i),iw&&r&&r.length>1&&Kg(Gb,r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r&&h)for(r.groups=a=Vb(null),o=0;o<h.length;o++)a[(s=h[o])[0]]=r[s[1]];return r});var rw=Xb;gb({target:"RegExp",proto:!0,forced:/./.exec!==rw},{exec:rw});var ow=Jv("species"),aw=RegExp.prototype,sw=ov("".charAt),lw=ov("".charCodeAt),cw=ov("".slice),uw=function(e){return function(t,n){var i,r,o=kb(pv(t)),a=Hy(n),s=o.length;return a<0||a>=s?e?"":void 0:(i=lw(o,a))<55296||i>56319||a+1===s||(r=lw(o,a+1))<56320||r>57343?e?sw(o,a):i:e?cw(o,a,a+2):r-56320+(i-55296<<10)+65536}},dw={codeAt:uw(!1),charAt:uw(!0)},hw=dw.charAt,pw=function(e,t,n){return t+(n?hw(e,t).length:1)},fw=Wg.TypeError,mw=function(e,t){var n=e.exec;if(mv(n)){var i=Kg(n,e,t);return null!==i&&hy(i),i}if("RegExp"===lv(e))return Kg(rw,e,t);throw fw("RegExp#exec called on incompatible receiver")};!function(e,t,n,i){var r=Jv(e),o=!qg((function(){var t={};return t[r]=function(){return 7},7!=""[e](t)})),a=o&&!qg((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[ow]=function(){return n},n.flags="",n[r]=/./[r]),n.exec=function(){return t=!0,null},n[r](""),!t}));if(!o||!a||n){var s=ov(/./[r]),l=t(r,""[e],(function(e,t,n,i,r){var a=ov(e),l=t.exec;return l===rw||l===aw.exec?o&&!r?{done:!0,value:s(t,n,i)}:{done:!0,value:a(n,t,i)}:{done:!1}}));Ly(String.prototype,e,l[0]),Ly(aw,r,l[1])}i&&vy(aw[r],"sham",!0)}("match",(function(e,t,n){return[function(t){var n=pv(this),i=null==t?void 0:Mv(t,e);return i?Kg(i,t,n):new RegExp(t)[e](kb(n))},function(e){var i=hy(this),r=kb(e),o=n(t,i,r);if(o.done)return o.value;if(!i.global)return mw(i,r);var a=i.unicode;i.lastIndex=0;for(var s,l=[],c=0;null!==(s=mw(i,r));){var u=kb(s[0]);l[c]=u,""===u&&(i.lastIndex=pw(r,Gy(i.lastIndex),a)),c++}return 0===c?null:l}]})),gb({global:!0},{globalThis:Wg});var gw=!qg((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),vw=Ey("IE_PROTO"),yw=Wg.Object,bw=yw.prototype,ww=gw?yw.getPrototypeOf:function(e){var t=zv(e);if(Hv(t,vw))return t[vw];var n=t.constructor;return mv(n)&&t instanceof n?n.prototype:t instanceof yw?bw:null},_w=Wg.String,Cw=Wg.TypeError,xw=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=ov(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return hy(n),function(e){if("object"==typeof e||mv(e))return e;throw Cw("Can't set "+_w(e)+" as a prototype")}(i),t?e(n,i):n.__proto__=i,n}}():void 0),Sw=Wg.Array,kw=Math.max,Ew=ov("".replace),Aw=ov("".split),Dw=ov([].join),Ow=String(Error("zxcasd").stack),Tw=/\n\s*at [^:]*:[^\n]*/,Iw=Tw.test(Ow),Pw=/@[^\n]*\n/.test(Ow)&&!/zxcasd/.test(Ow),Fw=function(e,t){if("string"!=typeof e)return e;if(Iw)for(;t--;)e=Ew(e,Tw,"");else if(Pw)return Dw(function(e,t,n){for(var i,r,o,a,s=Ky(e),l=qy(t,s),c=qy(void 0===n?s:n,s),u=Sw(kw(c-l,0)),d=0;l<c;l++,d++)i=u,r=d,o=e[l],a=void 0,(a=ny(r))in i?gy.f(i,a,ev(0,o)):i[a]=o;return u.length=d,u}(Aw(e,"\n"),t),"\n");return e},Mw=function(e,t){gv(t)&&"cause"in t&&vy(e,"cause",t.cause)},Bw=ov(ov.bind),Nw=function(e,t){return Fv(e),void 0===t?e:Bw?Bw(e,t):function(){return e.apply(t,arguments)}},Rw={},$w=Jv("iterator"),jw=Array.prototype,Lw=Jv("iterator"),zw=function(e){if(null!=e)return Mv(e,Lw)||Mv(e,"@@iterator")||Rw[xb(e)]},Vw=Wg.TypeError,Hw=function(e,t,n){var i,r;hy(e);try{if(!(i=Mv(e,"return"))){if("throw"===t)throw n;return n}i=Kg(i,e)}catch(e){r=!0,i=e}if("throw"===t)throw n;if(r)throw i;return hy(i),n},Uw=Wg.TypeError,Ww=function(e,t){this.stopped=e,this.result=t},qw=Ww.prototype,Yw=function(e,t,n){var i,r,o,a,s,l,c,u=n&&n.that,d=!(!n||!n.AS_ENTRIES),h=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),f=Nw(t,u),m=function(e){return i&&Hw(i,"normal",e),new Ww(!0,e)},g=function(e){return d?(hy(e),p?f(e[0],e[1],m):f(e[0],e[1])):p?f(e,m):f(e)};if(h)i=e;else{if(!(r=zw(e)))throw Uw(Iv(e)+" is not iterable");if(function(e){return void 0!==e&&(Rw.Array===e||jw[$w]===e)}(r)){for(o=0,a=Ky(e);a>o;o++)if((s=g(e[o]))&&bv(qw,s))return s;return new Ww(!1)}i=function(e,t){var n=arguments.length<2?zw(e):t;if(Fv(n))return hy(Kg(n,e));throw Vw(Iv(e)+" is not iterable")}(e,r)}for(l=i.next;!(c=Kg(l,i)).done;){try{s=g(c.value)}catch(e){Hw(i,"throw",e)}if("object"==typeof s&&s&&bv(qw,s))return s}return new Ww(!1)},Gw=function(e,t){return void 0===e?arguments.length<2?"":t:kb(e)},Kw=!qg((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",ev(1,7)),7!==e.stack)})),Xw=Jv("toStringTag"),Zw=Wg.Error,Jw=[].push,Qw=function(e,t){var n,i=arguments.length>2?arguments[2]:void 0,r=bv(e_,this);xw?n=xw(new Zw(void 0),r?ww(this):e_):(n=r?this:Vb(e_),vy(n,Xw,"Error")),vy(n,"message",Gw(t,"")),Kw&&vy(n,"stack",Fw(n.stack,1)),Mw(n,i);var o=[];return Yw(e,Jw,{that:o}),vy(n,"errors",o),n};xw?xw(Qw,Zw):sb(Qw,Zw);var e_=Qw.prototype=Vb(Zw.prototype,{constructor:ev(1,Qw),message:ev(1,""),name:ev(1,"AggregateError")});gb({global:!0},{AggregateError:Qw});var t_=Jv("unscopables"),n_=Array.prototype;null==n_[t_]&&gy.f(n_,t_,{configurable:!0,value:Vb(null)});var i_,r_,o_,a_=function(e){n_[t_][e]=!0},s_=Jv("iterator"),l_=!1;[].keys&&("next"in(o_=[].keys())?(r_=ww(ww(o_)))!==Object.prototype&&(i_=r_):l_=!0);var c_=null==i_||qg((function(){var e={};return i_[s_].call(e)!==e}));c_&&(i_={}),mv(i_[s_])||Ly(i_,s_,(function(){return this}));var u_={IteratorPrototype:i_,BUGGY_SAFARI_ITERATORS:l_},d_=gy.f,h_=Jv("toStringTag"),p_=function(e,t,n){e&&!Hv(e=n?e:e.prototype,h_)&&d_(e,h_,{configurable:!0,value:t})},f_=u_.IteratorPrototype,m_=function(){return this},g_=jy.PROPER,v_=jy.CONFIGURABLE,y_=u_.IteratorPrototype,b_=u_.BUGGY_SAFARI_ITERATORS,w_=Jv("iterator"),__=function(){return this},C_=function(e,t,n,i,r,o,a){!function(e,t,n,i){var r=t+" Iterator";e.prototype=Vb(f_,{next:ev(+!i,n)}),p_(e,r,!1),Rw[r]=m_}(n,t,i);var s,l,c,u=function(e){if(e===r&&m)return m;if(!b_&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",h=!1,p=e.prototype,f=p[w_]||p["@@iterator"]||r&&p[r],m=!b_&&f||u(r),g="Array"==t&&p.entries||f;if(g&&(s=ww(g.call(new e)))!==Object.prototype&&s.next&&(ww(s)!==y_&&(xw?xw(s,y_):mv(s[w_])||Ly(s,w_,__)),p_(s,d,!0)),g_&&"values"==r&&f&&"values"!==f.name&&(v_?vy(p,"name","values"):(h=!0,m=function(){return Kg(f,this)})),r)if(l={values:u("values"),keys:o?m:u("keys"),entries:u("entries")},a)for(c in l)(b_||h||!(c in p))&&Ly(p,c,l[c]);else gb({target:t,proto:!0,forced:b_||h},l);return p[w_]!==m&&Ly(p,w_,m,{name:r}),Rw[t]=m,l},x_=By.set,S_=By.getterFor("Array Iterator"),k_=C_(Array,"Array",(function(e,t){x_(this,{type:"Array Iterator",target:fv(e),index:0,kind:t})}),(function(){var e=S_(this),t=e.target,n=e.kind,i=e.index++;return!t||i>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:t[i],done:!1}:{value:[i,t[i]],done:!1}}),"values");Rw.Arguments=Rw.Array,a_("keys"),a_("values"),a_("entries");var E_=dw.charAt,A_=By.set,D_=By.getterFor("String Iterator");C_(String,"String",(function(e){A_(this,{type:"String Iterator",string:kb(e),index:0})}),(function(){var e,t=D_(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=E_(n,i),t.index+=e.length,{value:e,done:!1})}));var O_,T_={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},I_=oy("span").classList,P_=I_&&I_.constructor&&I_.constructor.prototype,F_=P_===Object.prototype?void 0:P_,M_=Jv("iterator"),B_=Jv("toStringTag"),N_=k_.values,R_=function(e,t){if(e){if(e[M_]!==N_)try{vy(e,M_,N_)}catch(t){e[M_]=N_}if(e[B_]||vy(e,B_,t),T_[t])for(var n in k_)if(e[n]!==k_[n])try{vy(e,n,k_[n])}catch(t){e[n]=k_[n]}}};for(var $_ in T_)R_(Wg[$_]&&Wg[$_].prototype,$_);function j_(){"undefined"==typeof globalThis&&(window.globalThis=window)}function L_(){void 0===Hg&&(window.AggregateError=function(e,t){var n=new Error(t);return n.errors=e,n})}R_(F_,"DOMTokenList"),"undefined"==typeof i.g?("ActiveXObject"in window&&console.error("抱歉,wangEditor V5+ 版本开始,不在支持 IE 浏览器\n Sorry, wangEditor V5+ versions do not support IE browser."),j_(),L_()):i.g&&(null===(O_=i.g.navigator)||void 0===O_?void 0:O_.userAgent.match("QQBrowser"))&&(j_(),L_());var z_,V_=Array.isArray||function(e){return"Array"==Kh(e)},H_=function(){},U_=[],W_=op("Reflect","construct"),q_=/^\s*(?:class|function)\b/,Y_=Nh(q_.exec),G_=!q_.exec(H_),K_=function(e){if(!Rh(e))return!1;try{return W_(H_,U_,e),!0}catch(e){return!1}},X_=!W_||$h((function(){var e;return K_(K_.call)||!K_(Object)||!K_((function(){e=!0}))||e}))?function(e){if(!Rh(e))return!1;switch(km(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return G_||!!Y_(q_,Ym(e))}:K_,Z_=jp("species"),J_=Eh.Array,Q_=function(e,t){return new(function(e){var t;return V_(e)&&(t=e.constructor,(X_(t)&&(t===J_||V_(t.prototype))||np(t)&&null===(t=t[Z_]))&&(t=void 0)),void 0===t?J_:t}(e))(0===t?0:t)},eC=jp("species"),tC=jp("isConcatSpreadable"),nC=Eh.TypeError,iC=pp>=51||!$h((function(){var e=[];return e[tC]=!1,e.concat()[0]!==e})),rC=(z_="concat",pp>=51||!$h((function(){var e=[];return(e.constructor={})[eC]=function(){return{foo:1}},1!==e[z_](Boolean).foo}))),oC=function(e){if(!np(e))return!1;var t=e[tC];return void 0!==t?!!t:V_(e)};vf({target:"Array",proto:!0,forced:!iC||!rC},{concat:function(e){var t,n,i,r,o,a=Dp(this),s=Q_(a,0),l=0;for(t=-1,i=arguments.length;t<i;t++)if(oC(o=-1===t?a:arguments[t])){if(l+(r=Bf(o))>9007199254740991)throw nC("Maximum allowed index exceeded");for(n=0;n<r;n++,l++)n in o&&rm(s,l,o[n])}else{if(l>=9007199254740991)throw nC("Maximum allowed index exceeded");rm(s,l++,o)}return s.length=l,s}});var aC=Wf.f,sC="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],lC={f:function(e){return sC&&"Window"==Kh(e)?function(e){try{return aC(e)}catch(e){return sm(sC)}}(e):aC(tp(e))}},cC=Nh([].slice),uC={f:jp},dC=pf.f,hC=function(e){var t=ip.Symbol||(ip.Symbol={});Tp(t,e)||dC(t,e,{value:uC.f(e)})},pC=Nh([].push),fC=function(e){var t=1==e,n=2==e,i=3==e,r=4==e,o=6==e,a=7==e,s=5==e||o;return function(l,c,u,d){for(var h,p,f=Dp(l),m=Jh(f),g=af(c,u),v=Bf(m),y=0,b=d||Q_,w=t?b(l,v):n||a?b(l,0):void 0;v>y;y++)if((s||y in m)&&(p=g(h=m[y],y,f),e))if(t)w[y]=p;else if(p)switch(e){case 3:return!0;case 5:return h;case 6:return y;case 2:pC(w,h)}else switch(e){case 4:return!1;case 7:pC(w,h)}return o?-1:i||r?r:w}},mC={forEach:fC(0),map:fC(1),filter:fC(2),some:fC(3),every:fC(4),find:fC(5),findIndex:fC(6),filterReject:fC(7)}.forEach,gC=bf("hidden"),vC=jp("toPrimitive"),yC=ag.set,bC=ag.getterFor("Symbol"),wC=Object.prototype,_C=Eh.Symbol,CC=_C&&_C.prototype,xC=Eh.TypeError,SC=Eh.QObject,kC=op("JSON","stringify"),EC=Xp.f,AC=pf.f,DC=lC.f,OC=Wh.f,TC=Nh([].push),IC=Ep("symbols"),PC=Ep("op-symbols"),FC=Ep("string-to-symbol-registry"),MC=Ep("symbol-to-string-registry"),BC=Ep("wks"),NC=!SC||!SC.prototype||!SC.prototype.findChild,RC=jh&&$h((function(){return 7!=im(AC({},"a",{get:function(){return AC(this,"a",{value:7}).a}})).a}))?function(e,t,n){var i=EC(wC,t);i&&delete wC[t],AC(e,t,n),i&&e!==wC&&AC(wC,t,i)}:AC,$C=function(e,t){var n=IC[e]=im(CC);return yC(n,{type:"Symbol",tag:e,description:t}),jh||(n.description=t),n},jC=function(e,t,n){e===wC&&jC(PC,t,n),cf(e);var i=Hp(t);return cf(n),Tp(IC,i)?(n.enumerable?(Tp(e,gC)&&e[gC][i]&&(e[gC][i]=!1),n=im(n,{enumerable:qh(0,!1)})):(Tp(e,gC)||AC(e,gC,qh(1,{})),e[gC][i]=!0),RC(e,i,n)):AC(e,i,n)},LC=function(e,t){cf(e);var n=tp(t),i=Kf(n).concat(UC(n));return mC(i,(function(t){jh&&!zh(zC,n,t)||jC(e,t,n[t])})),e},zC=function(e){var t=Hp(e),n=zh(OC,this,t);return!(this===wC&&Tp(IC,t)&&!Tp(PC,t))&&(!(n||!Tp(this,t)||!Tp(IC,t)||Tp(this,gC)&&this[gC][t])||n)},VC=function(e,t){var n=tp(e),i=Hp(t);if(n!==wC||!Tp(IC,i)||Tp(PC,i)){var r=EC(n,i);return!r||!Tp(IC,i)||Tp(n,gC)&&n[gC][i]||(r.enumerable=!0),r}},HC=function(e){var t=DC(tp(e)),n=[];return mC(t,(function(e){Tp(IC,e)||Tp($f,e)||TC(n,e)})),n},UC=function(e){var t=e===wC,n=DC(t?PC:tp(e)),i=[];return mC(n,(function(e){!Tp(IC,e)||t&&!Tp(wC,e)||TC(i,IC[e])})),i};if(fp||(CC=(_C=function(){if(ap(CC,this))throw xC("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?Bm(arguments[0]):void 0,t=Mp(e),n=function(e){this===wC&&zh(n,PC,e),Tp(this,gC)&&Tp(this[gC],t)&&(this[gC][t]=!1),RC(this,t,qh(1,e))};return jh&&NC&&RC(wC,t,{configurable:!0,set:n}),$C(t,e)}).prototype,dg(CC,"toString",(function(){return bC(this).tag})),dg(_C,"withoutSetter",(function(e){return $C(Mp(e),e)})),Wh.f=zC,pf.f=jC,Xp.f=VC,Wf.f=lC.f=HC,qf.f=UC,uC.f=function(e){return $C(jp(e),e)},jh&&AC(CC,"description",{configurable:!0,get:function(){return bC(this).description}})),vf({global:!0,wrap:!0,forced:!fp,sham:!fp},{Symbol:_C}),mC(Kf(BC),(function(e){hC(e)})),vf({target:"Symbol",stat:!0,forced:!fp},{for:function(e){var t=Bm(e);if(Tp(FC,t))return FC[t];var n=_C(t);return FC[t]=n,MC[n]=t,n},keyFor:function(e){if(!vp(e))throw xC(e+" is not a symbol");if(Tp(MC,e))return MC[e]},useSetter:function(){NC=!0},useSimple:function(){NC=!1}}),vf({target:"Object",stat:!0,forced:!fp,sham:!jh},{create:function(e,t){return void 0===t?im(e):LC(im(e),t)},defineProperty:jC,defineProperties:LC,getOwnPropertyDescriptor:VC}),vf({target:"Object",stat:!0,forced:!fp},{getOwnPropertyNames:HC,getOwnPropertySymbols:UC}),vf({target:"Object",stat:!0,forced:$h((function(){qf.f(1)}))},{getOwnPropertySymbols:function(e){return qf.f(Dp(e))}}),kC){var WC=!fp||$h((function(){var e=_C();return"[null]"!=kC([e])||"{}"!=kC({a:e})||"{}"!=kC(Object(e))}));vf({target:"JSON",stat:!0,forced:WC},{stringify:function(e,t,n){var i=cC(arguments),r=t;if((np(t)||void 0!==e)&&!vp(e))return V_(t)||(t=function(e,t){if(Rh(r)&&(t=zh(r,this,e,t)),!vp(t))return t}),i[1]=t,Ih(kC,null,i)}})}if(!CC[vC]){var qC=CC.valueOf;dg(CC,vC,(function(e){return zh(qC,this)}))}bg(_C,"Symbol"),$f[gC]=!0,hC("asyncIterator"),hC("hasInstance"),hC("isConcatSpreadable"),hC("iterator"),hC("match"),hC("matchAll"),hC("replace"),hC("search"),hC("species"),hC("split"),hC("toPrimitive"),hC("toStringTag"),hC("unscopables"),bg(Eh.JSON,"JSON",!0);var YC=ip.Symbol;hC("asyncDispose"),hC("dispose"),hC("matcher"),hC("metadata"),hC("observable"),hC("patternMatch"),hC("replaceAll");var GC=YC,KC=uC.f("iterator"),XC=Ch((function(e){function t(n){return"function"==typeof GC&&"symbol"==typeof KC?(e.exports=t=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=t=function(e){return e&&"function"==typeof GC&&e.constructor===GC&&e!==GC.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),t(n)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0})),ZC=_h(XC),JC=cy.f,QC=qg((function(){JC(1)}));if(gb({target:"Object",stat:!0,forced:!Yg||QC,sham:!Yg},{getOwnPropertyDescriptor:function(e,t){return JC(fv(e),t)}}),"object"===("undefined"==typeof i.g?"undefined":ZC(i.g))){var ex=Object.getOwnPropertyDescriptor(i.g,"window");i.g.window&&!ex.set||(i.g.window=i.g,i.g.requestAnimationFrame=function(){},i.g.navigator={userAgent:""},i.g.location={hostname:"0.0.0.0",port:0,protocol:"http:"},i.g.btoa=function(){},i.g.crypto={getRandomValues:function(e){return nodeCrypto.randomFillSync(e)}}),null!=i.g.document&&null==i.g.document.getElementsByTagName&&(i.g.document.getElementsByTagName=function(){return[]})}
97
97
  /*!
98
98
  * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
99
99
  *