1234567891011121314151617181920212223242526272829303132333435363738 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7d4543c8"],{"2ef0":function(e,t,n){(function(e,r){var i;
- /**
- * @license
- * Lodash <https://lodash.com/>
- * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
- * Released under MIT license <https://lodash.com/license>
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
- */(function(){var o,a="4.17.21",u=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="Expected a function",c="Invalid `variable` option passed into `_.template`",f="__lodash_hash_undefined__",d=500,p="__lodash_placeholder__",h=1,v=2,g=4,m=1,A=2,y=1,_=2,w=4,x=8,b=16,E=32,C=64,S=128,k=256,M=512,T=30,D="...",I=800,R=16,N=1,B=2,P=3,F=1/0,L=9007199254740991,O=17976931348623157e292,H=NaN,j=4294967295,U=j-1,z=j>>>1,Q=[["ary",S],["bind",y],["bindKey",_],["curry",x],["curryRight",b],["flip",M],["partial",E],["partialRight",C],["rearg",k]],Y="[object Arguments]",$="[object Array]",V="[object AsyncFunction]",G="[object Boolean]",W="[object Date]",J="[object DOMException]",K="[object Error]",q="[object Function]",X="[object GeneratorFunction]",Z="[object Map]",ee="[object Number]",te="[object Null]",ne="[object Object]",re="[object Promise]",ie="[object Proxy]",oe="[object RegExp]",ae="[object Set]",ue="[object String]",le="[object Symbol]",se="[object Undefined]",ce="[object WeakMap]",fe="[object WeakSet]",de="[object ArrayBuffer]",pe="[object DataView]",he="[object Float32Array]",ve="[object Float64Array]",ge="[object Int8Array]",me="[object Int16Array]",Ae="[object Int32Array]",ye="[object Uint8Array]",_e="[object Uint8ClampedArray]",we="[object Uint16Array]",xe="[object Uint32Array]",be=/\b__p \+= '';/g,Ee=/\b(__p \+=) '' \+/g,Ce=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Se=/&(?:amp|lt|gt|quot|#39);/g,ke=/[&<>"']/g,Me=RegExp(Se.source),Te=RegExp(ke.source),De=/<%-([\s\S]+?)%>/g,Ie=/<%([\s\S]+?)%>/g,Re=/<%=([\s\S]+?)%>/g,Ne=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Be=/^\w*$/,Pe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Fe=/[\\^$.*+?()[\]{}|]/g,Le=RegExp(Fe.source),Oe=/^\s+/,He=/\s/,je=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ue=/\{\n\/\* \[wrapped with (.+)\] \*/,ze=/,? & /,Qe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ye=/[()=,{}\[\]\/\s]/,$e=/\\(\\)?/g,Ve=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ge=/\w*$/,We=/^[-+]0x[0-9a-f]+$/i,Je=/^0b[01]+$/i,Ke=/^\[object .+?Constructor\]$/,qe=/^0o[0-7]+$/i,Xe=/^(?:0|[1-9]\d*)$/,Ze=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,et=/($^)/,tt=/['\n\r\u2028\u2029\\]/g,nt="\\ud800-\\udfff",rt="\\u0300-\\u036f",it="\\ufe20-\\ufe2f",ot="\\u20d0-\\u20ff",at=rt+it+ot,ut="\\u2700-\\u27bf",lt="a-z\\xdf-\\xf6\\xf8-\\xff",st="\\xac\\xb1\\xd7\\xf7",ct="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ft="\\u2000-\\u206f",dt=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",pt="A-Z\\xc0-\\xd6\\xd8-\\xde",ht="\\ufe0e\\ufe0f",vt=st+ct+ft+dt,gt="['’]",mt="["+nt+"]",At="["+vt+"]",yt="["+at+"]",_t="\\d+",wt="["+ut+"]",xt="["+lt+"]",bt="[^"+nt+vt+_t+ut+lt+pt+"]",Et="\\ud83c[\\udffb-\\udfff]",Ct="(?:"+yt+"|"+Et+")",St="[^"+nt+"]",kt="(?:\\ud83c[\\udde6-\\uddff]){2}",Mt="[\\ud800-\\udbff][\\udc00-\\udfff]",Tt="["+pt+"]",Dt="\\u200d",It="(?:"+xt+"|"+bt+")",Rt="(?:"+Tt+"|"+bt+")",Nt="(?:"+gt+"(?:d|ll|m|re|s|t|ve))?",Bt="(?:"+gt+"(?:D|LL|M|RE|S|T|VE))?",Pt=Ct+"?",Ft="["+ht+"]?",Lt="(?:"+Dt+"(?:"+[St,kt,Mt].join("|")+")"+Ft+Pt+")*",Ot="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ht="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",jt=Ft+Pt+Lt,Ut="(?:"+[wt,kt,Mt].join("|")+")"+jt,zt="(?:"+[St+yt+"?",yt,kt,Mt,mt].join("|")+")",Qt=RegExp(gt,"g"),Yt=RegExp(yt,"g"),$t=RegExp(Et+"(?="+Et+")|"+zt+jt,"g"),Vt=RegExp([Tt+"?"+xt+"+"+Nt+"(?="+[At,Tt,"$"].join("|")+")",Rt+"+"+Bt+"(?="+[At,Tt+It,"$"].join("|")+")",Tt+"?"+It+"+"+Nt,Tt+"+"+Bt,Ht,Ot,_t,Ut].join("|"),"g"),Gt=RegExp("["+Dt+nt+at+ht+"]"),Wt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Jt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Kt=-1,qt={};qt[he]=qt[ve]=qt[ge]=qt[me]=qt[Ae]=qt[ye]=qt[_e]=qt[we]=qt[xe]=!0,qt[Y]=qt[$]=qt[de]=qt[G]=qt[pe]=qt[W]=qt[K]=qt[q]=qt[Z]=qt[ee]=qt[ne]=qt[oe]=qt[ae]=qt[ue]=qt[ce]=!1;var Xt={};Xt[Y]=Xt[$]=Xt[de]=Xt[pe]=Xt[G]=Xt[W]=Xt[he]=Xt[ve]=Xt[ge]=Xt[me]=Xt[Ae]=Xt[Z]=Xt[ee]=Xt[ne]=Xt[oe]=Xt[ae]=Xt[ue]=Xt[le]=Xt[ye]=Xt[_e]=Xt[we]=Xt[xe]=!0,Xt[K]=Xt[q]=Xt[ce]=!1;var Zt={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},en={"&":"&","<":"<",">":">",'"':""","'":"'"},tn={"&":"&","<":"<",">":">",""":'"',"'":"'"},nn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},rn=parseFloat,on=parseInt,an="object"==typeof e&&e&&e.Object===Object&&e,un="object"==typeof self&&self&&self.Object===Object&&self,ln=an||un||Function("return this")(),sn=t&&!t.nodeType&&t,cn=sn&&"object"==typeof r&&r&&!r.nodeType&&r,fn=cn&&cn.exports===sn,dn=fn&&an.process,pn=function(){try{var e=cn&&cn.require&&cn.require("util").types;return e||dn&&dn.binding&&dn.binding("util")}catch(t){}}(),hn=pn&&pn.isArrayBuffer,vn=pn&&pn.isDate,gn=pn&&pn.isMap,mn=pn&&pn.isRegExp,An=pn&&pn.isSet,yn=pn&&pn.isTypedArray;function _n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function wn(e,t,n,r){var i=-1,o=null==e?0:e.length;while(++i<o){var a=e[i];t(r,a,n(a),e)}return r}function xn(e,t){var n=-1,r=null==e?0:e.length;while(++n<r)if(!1===t(e[n],n,e))break;return e}function bn(e,t){var n=null==e?0:e.length;while(n--)if(!1===t(e[n],n,e))break;return e}function En(e,t){var n=-1,r=null==e?0:e.length;while(++n<r)if(!t(e[n],n,e))return!1;return!0}function Cn(e,t){var n=-1,r=null==e?0:e.length,i=0,o=[];while(++n<r){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}function Sn(e,t){var n=null==e?0:e.length;return!!n&&On(e,t,0)>-1}function kn(e,t,n){var r=-1,i=null==e?0:e.length;while(++r<i)if(n(t,e[r]))return!0;return!1}function Mn(e,t){var n=-1,r=null==e?0:e.length,i=Array(r);while(++n<r)i[n]=t(e[n],n,e);return i}function Tn(e,t){var n=-1,r=t.length,i=e.length;while(++n<r)e[i+n]=t[n];return e}function Dn(e,t,n,r){var i=-1,o=null==e?0:e.length;r&&o&&(n=e[++i]);while(++i<o)n=t(n,e[i],i,e);return n}function In(e,t,n,r){var i=null==e?0:e.length;r&&i&&(n=e[--i]);while(i--)n=t(n,e[i],i,e);return n}function Rn(e,t){var n=-1,r=null==e?0:e.length;while(++n<r)if(t(e[n],n,e))return!0;return!1}var Nn=zn("length");function Bn(e){return e.split("")}function Pn(e){return e.match(Qe)||[]}function Fn(e,t,n){var r;return n(e,(function(e,n,i){if(t(e,n,i))return r=n,!1})),r}function Ln(e,t,n,r){var i=e.length,o=n+(r?1:-1);while(r?o--:++o<i)if(t(e[o],o,e))return o;return-1}function On(e,t,n){return t===t?hr(e,t,n):Ln(e,jn,n)}function Hn(e,t,n,r){var i=n-1,o=e.length;while(++i<o)if(r(e[i],t))return i;return-1}function jn(e){return e!==e}function Un(e,t){var n=null==e?0:e.length;return n?Vn(e,t)/n:H}function zn(e){return function(t){return null==t?o:t[e]}}function Qn(e){return function(t){return null==e?o:e[t]}}function Yn(e,t,n,r,i){return i(e,(function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)})),n}function $n(e,t){var n=e.length;e.sort(t);while(n--)e[n]=e[n].value;return e}function Vn(e,t){var n,r=-1,i=e.length;while(++r<i){var a=t(e[r]);a!==o&&(n=n===o?a:n+a)}return n}function Gn(e,t){var n=-1,r=Array(e);while(++n<e)r[n]=t(n);return r}function Wn(e,t){return Mn(t,(function(t){return[t,e[t]]}))}function Jn(e){return e?e.slice(0,Ar(e)+1).replace(Oe,""):e}function Kn(e){return function(t){return e(t)}}function qn(e,t){return Mn(t,(function(t){return e[t]}))}function Xn(e,t){return e.has(t)}function Zn(e,t){var n=-1,r=e.length;while(++n<r&&On(t,e[n],0)>-1);return n}function er(e,t){var n=e.length;while(n--&&On(t,e[n],0)>-1);return n}function tr(e,t){var n=e.length,r=0;while(n--)e[n]===t&&++r;return r}var nr=Qn(Zt),rr=Qn(en);function ir(e){return"\\"+nn[e]}function or(e,t){return null==e?o:e[t]}function ar(e){return Gt.test(e)}function ur(e){return Wt.test(e)}function lr(e){var t,n=[];while(!(t=e.next()).done)n.push(t.value);return n}function sr(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function cr(e,t){return function(n){return e(t(n))}}function fr(e,t){var n=-1,r=e.length,i=0,o=[];while(++n<r){var a=e[n];a!==t&&a!==p||(e[n]=p,o[i++]=n)}return o}function dr(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function pr(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function hr(e,t,n){var r=n-1,i=e.length;while(++r<i)if(e[r]===t)return r;return-1}function vr(e,t,n){var r=n+1;while(r--)if(e[r]===t)return r;return r}function gr(e){return ar(e)?_r(e):Nn(e)}function mr(e){return ar(e)?wr(e):Bn(e)}function Ar(e){var t=e.length;while(t--&&He.test(e.charAt(t)));return t}var yr=Qn(tn);function _r(e){var t=$t.lastIndex=0;while($t.test(e))++t;return t}function wr(e){return e.match($t)||[]}function xr(e){return e.match(Vt)||[]}var br=function e(t){t=null==t?ln:Er.defaults(ln.Object(),t,Er.pick(ln,Jt));var n=t.Array,r=t.Date,i=t.Error,He=t.Function,Qe=t.Math,nt=t.Object,rt=t.RegExp,it=t.String,ot=t.TypeError,at=n.prototype,ut=He.prototype,lt=nt.prototype,st=t["__core-js_shared__"],ct=ut.toString,ft=lt.hasOwnProperty,dt=0,pt=function(){var e=/[^.]+$/.exec(st&&st.keys&&st.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),ht=lt.toString,vt=ct.call(nt),gt=ln._,mt=rt("^"+ct.call(ft).replace(Fe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),At=fn?t.Buffer:o,yt=t.Symbol,_t=t.Uint8Array,wt=At?At.allocUnsafe:o,xt=cr(nt.getPrototypeOf,nt),bt=nt.create,Et=lt.propertyIsEnumerable,Ct=at.splice,St=yt?yt.isConcatSpreadable:o,kt=yt?yt.iterator:o,Mt=yt?yt.toStringTag:o,Tt=function(){try{var e=Ga(nt,"defineProperty");return e({},"",{}),e}catch(t){}}(),Dt=t.clearTimeout!==ln.clearTimeout&&t.clearTimeout,It=r&&r.now!==ln.Date.now&&r.now,Rt=t.setTimeout!==ln.setTimeout&&t.setTimeout,Nt=Qe.ceil,Bt=Qe.floor,Pt=nt.getOwnPropertySymbols,Ft=At?At.isBuffer:o,Lt=t.isFinite,Ot=at.join,Ht=cr(nt.keys,nt),jt=Qe.max,Ut=Qe.min,zt=r.now,$t=t.parseInt,Vt=Qe.random,Gt=at.reverse,Wt=Ga(t,"DataView"),Zt=Ga(t,"Map"),en=Ga(t,"Promise"),tn=Ga(t,"Set"),nn=Ga(t,"WeakMap"),an=Ga(nt,"create"),un=nn&&new nn,sn={},cn=Ru(Wt),dn=Ru(Zt),pn=Ru(en),Nn=Ru(tn),Bn=Ru(nn),Qn=yt?yt.prototype:o,hr=Qn?Qn.valueOf:o,_r=Qn?Qn.toString:o;function wr(e){if(Cc(e)&&!lc(e)&&!(e instanceof kr)){if(e instanceof Sr)return e;if(ft.call(e,"__wrapped__"))return Bu(e)}return new Sr(e)}var br=function(){function e(){}return function(t){if(!Ec(t))return{};if(bt)return bt(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function Cr(){}function Sr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function kr(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=j,this.__views__=[]}function Mr(){var e=new kr(this.__wrapped__);return e.__actions__=ia(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=ia(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=ia(this.__views__),e}function Tr(){if(this.__filtered__){var e=new kr(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function Dr(){var e=this.__wrapped__.value(),t=this.__dir__,n=lc(e),r=t<0,i=n?e.length:0,o=Xa(0,i,this.__views__),a=o.start,u=o.end,l=u-a,s=r?u:a-1,c=this.__iteratees__,f=c.length,d=0,p=Ut(l,this.__takeCount__);if(!n||!r&&i==l&&p==l)return Ho(e,this.__actions__);var h=[];e:while(l--&&d<p){s+=t;var v=-1,g=e[s];while(++v<f){var m=c[v],A=m.iteratee,y=m.type,_=A(g);if(y==B)g=_;else if(!_){if(y==N)continue e;break e}}h[d++]=g}return h}function Ir(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}function Rr(){this.__data__=an?an(null):{},this.size=0}function Nr(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function Br(e){var t=this.__data__;if(an){var n=t[e];return n===f?o:n}return ft.call(t,e)?t[e]:o}function Pr(e){var t=this.__data__;return an?t[e]!==o:ft.call(t,e)}function Fr(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=an&&t===o?f:t,this}function Lr(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}function Or(){this.__data__=[],this.size=0}function Hr(e){var t=this.__data__,n=ci(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Ct.call(t,n,1),--this.size,!0}function jr(e){var t=this.__data__,n=ci(t,e);return n<0?o:t[n][1]}function Ur(e){return ci(this.__data__,e)>-1}function zr(e,t){var n=this.__data__,r=ci(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Qr(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}function Yr(){this.size=0,this.__data__={hash:new Ir,map:new(Zt||Lr),string:new Ir}}function $r(e){var t=$a(this,e)["delete"](e);return this.size-=t?1:0,t}function Vr(e){return $a(this,e).get(e)}function Gr(e){return $a(this,e).has(e)}function Wr(e,t){var n=$a(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Jr(e){var t=-1,n=null==e?0:e.length;this.__data__=new Qr;while(++t<n)this.add(e[t])}function Kr(e){return this.__data__.set(e,f),this}function qr(e){return this.__data__.has(e)}function Xr(e){var t=this.__data__=new Lr(e);this.size=t.size}function Zr(){this.__data__=new Lr,this.size=0}function ei(e){var t=this.__data__,n=t["delete"](e);return this.size=t.size,n}function ti(e){return this.__data__.get(e)}function ni(e){return this.__data__.has(e)}function ri(e,t){var n=this.__data__;if(n instanceof Lr){var r=n.__data__;if(!Zt||r.length<u-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Qr(r)}return n.set(e,t),this.size=n.size,this}function ii(e,t){var n=lc(e),r=!n&&uc(e),i=!n&&!r&&pc(e),o=!n&&!r&&!i&&jc(e),a=n||r||i||o,u=a?Gn(e.length,it):[],l=u.length;for(var s in e)!t&&!ft.call(e,s)||a&&("length"==s||i&&("offset"==s||"parent"==s)||o&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||au(s,l))||u.push(s);return u}function oi(e){var t=e.length;return t?e[Ao(0,t-1)]:o}function ai(e,t){return Tu(ia(e),gi(t,0,e.length))}function ui(e){return Tu(ia(e))}function li(e,t,n){(n!==o&&!ic(e[t],n)||n===o&&!(t in e))&&hi(e,t,n)}function si(e,t,n){var r=e[t];ft.call(e,t)&&ic(r,n)&&(n!==o||t in e)||hi(e,t,n)}function ci(e,t){var n=e.length;while(n--)if(ic(e[n][0],t))return n;return-1}function fi(e,t,n,r){return xi(e,(function(e,i,o){t(r,e,n(e),o)})),r}function di(e,t){return e&&oa(t,bf(t),e)}function pi(e,t){return e&&oa(t,Ef(t),e)}function hi(e,t,n){"__proto__"==t&&Tt?Tt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function vi(e,t){var r=-1,i=t.length,a=n(i),u=null==e;while(++r<i)a[r]=u?o:mf(e,t[r]);return a}function gi(e,t,n){return e===e&&(n!==o&&(e=e<=n?e:n),t!==o&&(e=e>=t?e:t)),e}function mi(e,t,n,r,i,a){var u,l=t&h,s=t&v,c=t&g;if(n&&(u=i?n(e,r,i,a):n(e)),u!==o)return u;if(!Ec(e))return e;var f=lc(e);if(f){if(u=tu(e),!l)return ia(e,u)}else{var d=qa(e),p=d==q||d==X;if(pc(e))return Wo(e,l);if(d==ne||d==Y||p&&!i){if(u=s||p?{}:nu(e),!l)return s?ua(e,pi(u,e)):aa(e,di(u,e))}else{if(!Xt[d])return i?e:{};u=ru(e,d,l)}}a||(a=new Xr);var m=a.get(e);if(m)return m;a.set(e,u),Lc(e)?e.forEach((function(r){u.add(mi(r,t,n,r,e,a))})):Sc(e)&&e.forEach((function(r,i){u.set(i,mi(r,t,n,i,e,a))}));var A=c?s?ja:Ha:s?Ef:bf,y=f?o:A(e);return xn(y||e,(function(r,i){y&&(i=r,r=e[i]),si(u,i,mi(r,t,n,i,e,a))})),u}function Ai(e){var t=bf(e);return function(n){return yi(n,e,t)}}function yi(e,t,n){var r=n.length;if(null==e)return!r;e=nt(e);while(r--){var i=n[r],a=t[i],u=e[i];if(u===o&&!(i in e)||!a(u))return!1}return!0}function _i(e,t,n){if("function"!=typeof e)throw new ot(s);return Cu((function(){e.apply(o,n)}),t)}function wi(e,t,n,r){var i=-1,o=Sn,a=!0,l=e.length,s=[],c=t.length;if(!l)return s;n&&(t=Mn(t,Kn(n))),r?(o=kn,a=!1):t.length>=u&&(o=Xn,a=!1,t=new Jr(t));e:while(++i<l){var f=e[i],d=null==n?f:n(f);if(f=r||0!==f?f:0,a&&d===d){var p=c;while(p--)if(t[p]===d)continue e;s.push(f)}else o(t,d,r)||s.push(f)}return s}wr.templateSettings={escape:De,evaluate:Ie,interpolate:Re,variable:"",imports:{_:wr}},wr.prototype=Cr.prototype,wr.prototype.constructor=wr,Sr.prototype=br(Cr.prototype),Sr.prototype.constructor=Sr,kr.prototype=br(Cr.prototype),kr.prototype.constructor=kr,Ir.prototype.clear=Rr,Ir.prototype["delete"]=Nr,Ir.prototype.get=Br,Ir.prototype.has=Pr,Ir.prototype.set=Fr,Lr.prototype.clear=Or,Lr.prototype["delete"]=Hr,Lr.prototype.get=jr,Lr.prototype.has=Ur,Lr.prototype.set=zr,Qr.prototype.clear=Yr,Qr.prototype["delete"]=$r,Qr.prototype.get=Vr,Qr.prototype.has=Gr,Qr.prototype.set=Wr,Jr.prototype.add=Jr.prototype.push=Kr,Jr.prototype.has=qr,Xr.prototype.clear=Zr,Xr.prototype["delete"]=ei,Xr.prototype.get=ti,Xr.prototype.has=ni,Xr.prototype.set=ri;var xi=ca(Ii),bi=ca(Ri,!0);function Ei(e,t){var n=!0;return xi(e,(function(e,r,i){return n=!!t(e,r,i),n})),n}function Ci(e,t,n){var r=-1,i=e.length;while(++r<i){var a=e[r],u=t(a);if(null!=u&&(l===o?u===u&&!Hc(u):n(u,l)))var l=u,s=a}return s}function Si(e,t,n,r){var i=e.length;n=Wc(n),n<0&&(n=-n>i?0:i+n),r=r===o||r>i?i:Wc(r),r<0&&(r+=i),r=n>r?0:Jc(r);while(n<r)e[n++]=t;return e}function ki(e,t){var n=[];return xi(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function Mi(e,t,n,r,i){var o=-1,a=e.length;n||(n=ou),i||(i=[]);while(++o<a){var u=e[o];t>0&&n(u)?t>1?Mi(u,t-1,n,r,i):Tn(i,u):r||(i[i.length]=u)}return i}var Ti=fa(),Di=fa(!0);function Ii(e,t){return e&&Ti(e,t,bf)}function Ri(e,t){return e&&Di(e,t,bf)}function Ni(e,t){return Cn(t,(function(t){return wc(e[t])}))}function Bi(e,t){t=Yo(t,e);var n=0,r=t.length;while(null!=e&&n<r)e=e[Iu(t[n++])];return n&&n==r?e:o}function Pi(e,t,n){var r=t(e);return lc(e)?r:Tn(r,n(e))}function Fi(e){return null==e?e===o?se:te:Mt&&Mt in nt(e)?Wa(e):yu(e)}function Li(e,t){return e>t}function Oi(e,t){return null!=e&&ft.call(e,t)}function Hi(e,t){return null!=e&&t in nt(e)}function ji(e,t,n){return e>=Ut(t,n)&&e<jt(t,n)}function Ui(e,t,r){var i=r?kn:Sn,a=e[0].length,u=e.length,l=u,s=n(u),c=1/0,f=[];while(l--){var d=e[l];l&&t&&(d=Mn(d,Kn(t))),c=Ut(d.length,c),s[l]=!r&&(t||a>=120&&d.length>=120)?new Jr(l&&d):o}d=e[0];var p=-1,h=s[0];e:while(++p<a&&f.length<c){var v=d[p],g=t?t(v):v;if(v=r||0!==v?v:0,!(h?Xn(h,g):i(f,g,r))){l=u;while(--l){var m=s[l];if(!(m?Xn(m,g):i(e[l],g,r)))continue e}h&&h.push(g),f.push(v)}}return f}function zi(e,t,n,r){return Ii(e,(function(e,i,o){t(r,n(e),i,o)})),r}function Qi(e,t,n){t=Yo(t,e),e=wu(e,t);var r=null==e?e:e[Iu(ol(t))];return null==r?o:_n(r,e,n)}function Yi(e){return Cc(e)&&Fi(e)==Y}function $i(e){return Cc(e)&&Fi(e)==de}function Vi(e){return Cc(e)&&Fi(e)==W}function Gi(e,t,n,r,i){return e===t||(null==e||null==t||!Cc(e)&&!Cc(t)?e!==e&&t!==t:Wi(e,t,n,r,Gi,i))}function Wi(e,t,n,r,i,o){var a=lc(e),u=lc(t),l=a?$:qa(e),s=u?$:qa(t);l=l==Y?ne:l,s=s==Y?ne:s;var c=l==ne,f=s==ne,d=l==s;if(d&&pc(e)){if(!pc(t))return!1;a=!0,c=!1}if(d&&!c)return o||(o=new Xr),a||jc(e)?Pa(e,t,n,r,i,o):Fa(e,t,l,n,r,i,o);if(!(n&m)){var p=c&&ft.call(e,"__wrapped__"),h=f&&ft.call(t,"__wrapped__");if(p||h){var v=p?e.value():e,g=h?t.value():t;return o||(o=new Xr),i(v,g,n,r,o)}}return!!d&&(o||(o=new Xr),La(e,t,n,r,i,o))}function Ji(e){return Cc(e)&&qa(e)==Z}function Ki(e,t,n,r){var i=n.length,a=i,u=!r;if(null==e)return!a;e=nt(e);while(i--){var l=n[i];if(u&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}while(++i<a){l=n[i];var s=l[0],c=e[s],f=l[1];if(u&&l[2]){if(c===o&&!(s in e))return!1}else{var d=new Xr;if(r)var p=r(c,f,s,e,t,d);if(!(p===o?Gi(f,c,m|A,r,d):p))return!1}}return!0}function qi(e){if(!Ec(e)||fu(e))return!1;var t=wc(e)?mt:Ke;return t.test(Ru(e))}function Xi(e){return Cc(e)&&Fi(e)==oe}function Zi(e){return Cc(e)&&qa(e)==ae}function eo(e){return Cc(e)&&bc(e.length)&&!!qt[Fi(e)]}function to(e){return"function"==typeof e?e:null==e?Id:"object"==typeof e?lc(e)?uo(e[0],e[1]):ao(e):Yd(e)}function no(e){if(!pu(e))return Ht(e);var t=[];for(var n in nt(e))ft.call(e,n)&&"constructor"!=n&&t.push(n);return t}function ro(e){if(!Ec(e))return Au(e);var t=pu(e),n=[];for(var r in e)("constructor"!=r||!t&&ft.call(e,r))&&n.push(r);return n}function io(e,t){return e<t}function oo(e,t){var r=-1,i=cc(e)?n(e.length):[];return xi(e,(function(e,n,o){i[++r]=t(e,n,o)})),i}function ao(e){var t=Va(e);return 1==t.length&&t[0][2]?vu(t[0][0],t[0][1]):function(n){return n===e||Ki(n,e,t)}}function uo(e,t){return lu(e)&&hu(t)?vu(Iu(e),t):function(n){var r=mf(n,e);return r===o&&r===t?yf(n,e):Gi(t,r,m|A)}}function lo(e,t,n,r,i){e!==t&&Ti(t,(function(a,u){if(i||(i=new Xr),Ec(a))so(e,t,u,n,lo,r,i);else{var l=r?r(bu(e,u),a,u+"",e,t,i):o;l===o&&(l=a),li(e,u,l)}}),Ef)}function so(e,t,n,r,i,a,u){var l=bu(e,n),s=bu(t,n),c=u.get(s);if(c)li(e,n,c);else{var f=a?a(l,s,n+"",e,t,u):o,d=f===o;if(d){var p=lc(s),h=!p&&pc(s),v=!p&&!h&&jc(s);f=s,p||h||v?lc(l)?f=l:fc(l)?f=ia(l):h?(d=!1,f=Wo(s,!0)):v?(d=!1,f=Zo(s,!0)):f=[]:Bc(s)||uc(s)?(f=l,uc(l)?f=qc(l):Ec(l)&&!wc(l)||(f=nu(s))):d=!1}d&&(u.set(s,f),i(f,s,r,a,u),u["delete"](s)),li(e,n,f)}}function co(e,t){var n=e.length;if(n)return t+=t<0?n:0,au(t,n)?e[t]:o}function fo(e,t,n){t=t.length?Mn(t,(function(e){return lc(e)?function(t){return Bi(t,1===e.length?e[0]:e)}:e})):[Id];var r=-1;t=Mn(t,Kn(Ya()));var i=oo(e,(function(e,n,i){var o=Mn(t,(function(t){return t(e)}));return{criteria:o,index:++r,value:e}}));return $n(i,(function(e,t){return ta(e,t,n)}))}function po(e,t){return ho(e,t,(function(t,n){return yf(e,n)}))}function ho(e,t,n){var r=-1,i=t.length,o={};while(++r<i){var a=t[r],u=Bi(e,a);n(u,a)&&Eo(o,Yo(a,e),u)}return o}function vo(e){return function(t){return Bi(t,e)}}function go(e,t,n,r){var i=r?Hn:On,o=-1,a=t.length,u=e;e===t&&(t=ia(t)),n&&(u=Mn(e,Kn(n)));while(++o<a){var l=0,s=t[o],c=n?n(s):s;while((l=i(u,c,l,r))>-1)u!==e&&Ct.call(u,l,1),Ct.call(e,l,1)}return e}function mo(e,t){var n=e?t.length:0,r=n-1;while(n--){var i=t[n];if(n==r||i!==o){var o=i;au(i)?Ct.call(e,i,1):Fo(e,i)}}return e}function Ao(e,t){return e+Bt(Vt()*(t-e+1))}function yo(e,t,r,i){var o=-1,a=jt(Nt((t-e)/(r||1)),0),u=n(a);while(a--)u[i?a:++o]=e,e+=r;return u}function _o(e,t){var n="";if(!e||t<1||t>L)return n;do{t%2&&(n+=e),t=Bt(t/2),t&&(e+=e)}while(t);return n}function wo(e,t){return Su(_u(e,t,Id),e+"")}function xo(e){return oi(zf(e))}function bo(e,t){var n=zf(e);return Tu(n,gi(t,0,n.length))}function Eo(e,t,n,r){if(!Ec(e))return e;t=Yo(t,e);var i=-1,a=t.length,u=a-1,l=e;while(null!=l&&++i<a){var s=Iu(t[i]),c=n;if("__proto__"===s||"constructor"===s||"prototype"===s)return e;if(i!=u){var f=l[s];c=r?r(f,s,l):o,c===o&&(c=Ec(f)?f:au(t[i+1])?[]:{})}si(l,s,c),l=l[s]}return e}var Co=un?function(e,t){return un.set(e,t),e}:Id,So=Tt?function(e,t){return Tt(e,"toString",{configurable:!0,enumerable:!1,value:kd(t),writable:!0})}:Id;function ko(e){return Tu(zf(e))}function Mo(e,t,r){var i=-1,o=e.length;t<0&&(t=-t>o?0:o+t),r=r>o?o:r,r<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;var a=n(o);while(++i<o)a[i]=e[i+t];return a}function To(e,t){var n;return xi(e,(function(e,r,i){return n=t(e,r,i),!n})),!!n}function Do(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t===t&&i<=z){while(r<i){var o=r+i>>>1,a=e[o];null!==a&&!Hc(a)&&(n?a<=t:a<t)?r=o+1:i=o}return i}return Io(e,t,Id,n)}function Io(e,t,n,r){var i=0,a=null==e?0:e.length;if(0===a)return 0;t=n(t);var u=t!==t,l=null===t,s=Hc(t),c=t===o;while(i<a){var f=Bt((i+a)/2),d=n(e[f]),p=d!==o,h=null===d,v=d===d,g=Hc(d);if(u)var m=r||v;else m=c?v&&(r||p):l?v&&p&&(r||!h):s?v&&p&&!h&&(r||!g):!h&&!g&&(r?d<=t:d<t);m?i=f+1:a=f}return Ut(a,U)}function Ro(e,t){var n=-1,r=e.length,i=0,o=[];while(++n<r){var a=e[n],u=t?t(a):a;if(!n||!ic(u,l)){var l=u;o[i++]=0===a?0:a}}return o}function No(e){return"number"==typeof e?e:Hc(e)?H:+e}function Bo(e){if("string"==typeof e)return e;if(lc(e))return Mn(e,Bo)+"";if(Hc(e))return _r?_r.call(e):"";var t=e+"";return"0"==t&&1/e==-F?"-0":t}function Po(e,t,n){var r=-1,i=Sn,o=e.length,a=!0,l=[],s=l;if(n)a=!1,i=kn;else if(o>=u){var c=t?null:Ta(e);if(c)return dr(c);a=!1,i=Xn,s=new Jr}else s=t?[]:l;e:while(++r<o){var f=e[r],d=t?t(f):f;if(f=n||0!==f?f:0,a&&d===d){var p=s.length;while(p--)if(s[p]===d)continue e;t&&s.push(d),l.push(f)}else i(s,d,n)||(s!==l&&s.push(d),l.push(f))}return l}function Fo(e,t){return t=Yo(t,e),e=wu(e,t),null==e||delete e[Iu(ol(t))]}function Lo(e,t,n,r){return Eo(e,t,n(Bi(e,t)),r)}function Oo(e,t,n,r){var i=e.length,o=r?i:-1;while((r?o--:++o<i)&&t(e[o],o,e));return n?Mo(e,r?0:o,r?o+1:i):Mo(e,r?o+1:0,r?i:o)}function Ho(e,t){var n=e;return n instanceof kr&&(n=n.value()),Dn(t,(function(e,t){return t.func.apply(t.thisArg,Tn([e],t.args))}),n)}function jo(e,t,r){var i=e.length;if(i<2)return i?Po(e[0]):[];var o=-1,a=n(i);while(++o<i){var u=e[o],l=-1;while(++l<i)l!=o&&(a[o]=wi(a[o]||u,e[l],t,r))}return Po(Mi(a,1),t,r)}function Uo(e,t,n){var r=-1,i=e.length,a=t.length,u={};while(++r<i){var l=r<a?t[r]:o;n(u,e[r],l)}return u}function zo(e){return fc(e)?e:[]}function Qo(e){return"function"==typeof e?e:Id}function Yo(e,t){return lc(e)?e:lu(e,t)?[e]:Du(Zc(e))}var $o=wo;function Vo(e,t,n){var r=e.length;return n=n===o?r:n,!t&&n>=r?e:Mo(e,t,n)}var Go=Dt||function(e){return ln.clearTimeout(e)};function Wo(e,t){if(t)return e.slice();var n=e.length,r=wt?wt(n):new e.constructor(n);return e.copy(r),r}function Jo(e){var t=new e.constructor(e.byteLength);return new _t(t).set(new _t(e)),t}function Ko(e,t){var n=t?Jo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function qo(e){var t=new e.constructor(e.source,Ge.exec(e));return t.lastIndex=e.lastIndex,t}function Xo(e){return hr?nt(hr.call(e)):{}}function Zo(e,t){var n=t?Jo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function ea(e,t){if(e!==t){var n=e!==o,r=null===e,i=e===e,a=Hc(e),u=t!==o,l=null===t,s=t===t,c=Hc(t);if(!l&&!c&&!a&&e>t||a&&u&&s&&!l&&!c||r&&u&&s||!n&&s||!i)return 1;if(!r&&!a&&!c&&e<t||c&&n&&i&&!r&&!a||l&&n&&i||!u&&i||!s)return-1}return 0}function ta(e,t,n){var r=-1,i=e.criteria,o=t.criteria,a=i.length,u=n.length;while(++r<a){var l=ea(i[r],o[r]);if(l){if(r>=u)return l;var s=n[r];return l*("desc"==s?-1:1)}}return e.index-t.index}function na(e,t,r,i){var o=-1,a=e.length,u=r.length,l=-1,s=t.length,c=jt(a-u,0),f=n(s+c),d=!i;while(++l<s)f[l]=t[l];while(++o<u)(d||o<a)&&(f[r[o]]=e[o]);while(c--)f[l++]=e[o++];return f}function ra(e,t,r,i){var o=-1,a=e.length,u=-1,l=r.length,s=-1,c=t.length,f=jt(a-l,0),d=n(f+c),p=!i;while(++o<f)d[o]=e[o];var h=o;while(++s<c)d[h+s]=t[s];while(++u<l)(p||o<a)&&(d[h+r[u]]=e[o++]);return d}function ia(e,t){var r=-1,i=e.length;t||(t=n(i));while(++r<i)t[r]=e[r];return t}function oa(e,t,n,r){var i=!n;n||(n={});var a=-1,u=t.length;while(++a<u){var l=t[a],s=r?r(n[l],e[l],l,n,e):o;s===o&&(s=e[l]),i?hi(n,l,s):si(n,l,s)}return n}function aa(e,t){return oa(e,Ja(e),t)}function ua(e,t){return oa(e,Ka(e),t)}function la(e,t){return function(n,r){var i=lc(n)?wn:fi,o=t?t():{};return i(n,e,Ya(r,2),o)}}function sa(e){return wo((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:o,u=i>2?n[2]:o;a=e.length>3&&"function"==typeof a?(i--,a):o,u&&uu(n[0],n[1],u)&&(a=i<3?o:a,i=1),t=nt(t);while(++r<i){var l=n[r];l&&e(t,l,r,a)}return t}))}function ca(e,t){return function(n,r){if(null==n)return n;if(!cc(n))return e(n,r);var i=n.length,o=t?i:-1,a=nt(n);while(t?o--:++o<i)if(!1===r(a[o],o,a))break;return n}}function fa(e){return function(t,n,r){var i=-1,o=nt(t),a=r(t),u=a.length;while(u--){var l=a[e?u:++i];if(!1===n(o[l],l,o))break}return t}}function da(e,t,n){var r=t&y,i=va(e);function o(){var t=this&&this!==ln&&this instanceof o?i:e;return t.apply(r?n:this,arguments)}return o}function pa(e){return function(t){t=Zc(t);var n=ar(t)?mr(t):o,r=n?n[0]:t.charAt(0),i=n?Vo(n,1).join(""):t.slice(1);return r[e]()+i}}function ha(e){return function(t){return Dn(xd(Jf(t).replace(Qt,"")),e,"")}}function va(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=br(e.prototype),r=e.apply(n,t);return Ec(r)?r:n}}function ga(e,t,r){var i=va(e);function a(){var u=arguments.length,l=n(u),s=u,c=Qa(a);while(s--)l[s]=arguments[s];var f=u<3&&l[0]!==c&&l[u-1]!==c?[]:fr(l,c);if(u-=f.length,u<r)return ka(e,t,ya,a.placeholder,o,l,f,o,o,r-u);var d=this&&this!==ln&&this instanceof a?i:e;return _n(d,this,l)}return a}function ma(e){return function(t,n,r){var i=nt(t);if(!cc(t)){var a=Ya(n,3);t=bf(t),n=function(e){return a(i[e],e,i)}}var u=e(t,n,r);return u>-1?i[a?t[u]:u]:o}}function Aa(e){return Oa((function(t){var n=t.length,r=n,i=Sr.prototype.thru;e&&t.reverse();while(r--){var a=t[r];if("function"!=typeof a)throw new ot(s);if(i&&!u&&"wrapper"==za(a))var u=new Sr([],!0)}r=u?r:n;while(++r<n){a=t[r];var l=za(a),c="wrapper"==l?Ua(a):o;u=c&&cu(c[0])&&c[1]==(S|x|E|k)&&!c[4].length&&1==c[9]?u[za(c[0])].apply(u,c[3]):1==a.length&&cu(a)?u[l]():u.thru(a)}return function(){var e=arguments,r=e[0];if(u&&1==e.length&&lc(r))return u.plant(r).value();var i=0,o=n?t[i].apply(this,e):r;while(++i<n)o=t[i].call(this,o);return o}}))}function ya(e,t,r,i,a,u,l,s,c,f){var d=t&S,p=t&y,h=t&_,v=t&(x|b),g=t&M,m=h?o:va(e);function A(){var o=arguments.length,y=n(o),_=o;while(_--)y[_]=arguments[_];if(v)var w=Qa(A),x=tr(y,w);if(i&&(y=na(y,i,a,v)),u&&(y=ra(y,u,l,v)),o-=x,v&&o<f){var b=fr(y,w);return ka(e,t,ya,A.placeholder,r,y,b,s,c,f-o)}var E=p?r:this,C=h?E[e]:e;return o=y.length,s?y=xu(y,s):g&&o>1&&y.reverse(),d&&c<o&&(y.length=c),this&&this!==ln&&this instanceof A&&(C=m||va(C)),C.apply(E,y)}return A}function _a(e,t){return function(n,r){return zi(n,e,t(r),{})}}function wa(e,t){return function(n,r){var i;if(n===o&&r===o)return t;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=Bo(n),r=Bo(r)):(n=No(n),r=No(r)),i=e(n,r)}return i}}function xa(e){return Oa((function(t){return t=Mn(t,Kn(Ya())),wo((function(n){var r=this;return e(t,(function(e){return _n(e,r,n)}))}))}))}function ba(e,t){t=t===o?" ":Bo(t);var n=t.length;if(n<2)return n?_o(t,e):t;var r=_o(t,Nt(e/gr(t)));return ar(t)?Vo(mr(r),0,e).join(""):r.slice(0,e)}function Ea(e,t,r,i){var o=t&y,a=va(e);function u(){var t=-1,l=arguments.length,s=-1,c=i.length,f=n(c+l),d=this&&this!==ln&&this instanceof u?a:e;while(++s<c)f[s]=i[s];while(l--)f[s++]=arguments[++t];return _n(d,o?r:this,f)}return u}function Ca(e){return function(t,n,r){return r&&"number"!=typeof r&&uu(t,n,r)&&(n=r=o),t=Gc(t),n===o?(n=t,t=0):n=Gc(n),r=r===o?t<n?1:-1:Gc(r),yo(t,n,r,e)}}function Sa(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=Kc(t),n=Kc(n)),e(t,n)}}function ka(e,t,n,r,i,a,u,l,s,c){var f=t&x,d=f?u:o,p=f?o:u,h=f?a:o,v=f?o:a;t|=f?E:C,t&=~(f?C:E),t&w||(t&=~(y|_));var g=[e,t,i,h,d,v,p,l,s,c],m=n.apply(o,g);return cu(e)&&Eu(m,g),m.placeholder=r,ku(m,e,t)}function Ma(e){var t=Qe[e];return function(e,n){if(e=Kc(e),n=null==n?0:Ut(Wc(n),292),n&&Lt(e)){var r=(Zc(e)+"e").split("e"),i=t(r[0]+"e"+(+r[1]+n));return r=(Zc(i)+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return t(e)}}var Ta=tn&&1/dr(new tn([,-0]))[1]==F?function(e){return new tn(e)}:Hd;function Da(e){return function(t){var n=qa(t);return n==Z?sr(t):n==ae?pr(t):Wn(t,e(t))}}function Ia(e,t,n,r,i,a,u,l){var c=t&_;if(!c&&"function"!=typeof e)throw new ot(s);var f=r?r.length:0;if(f||(t&=~(E|C),r=i=o),u=u===o?u:jt(Wc(u),0),l=l===o?l:Wc(l),f-=i?i.length:0,t&C){var d=r,p=i;r=i=o}var h=c?o:Ua(e),v=[e,t,n,r,i,d,p,a,u,l];if(h&&mu(v,h),e=v[0],t=v[1],n=v[2],r=v[3],i=v[4],l=v[9]=v[9]===o?c?0:e.length:jt(v[9]-f,0),!l&&t&(x|b)&&(t&=~(x|b)),t&&t!=y)g=t==x||t==b?ga(e,t,l):t!=E&&t!=(y|E)||i.length?ya.apply(o,v):Ea(e,t,n,r);else var g=da(e,t,n);var m=h?Co:Eu;return ku(m(g,v),e,t)}function Ra(e,t,n,r){return e===o||ic(e,lt[n])&&!ft.call(r,n)?t:e}function Na(e,t,n,r,i,a){return Ec(e)&&Ec(t)&&(a.set(t,e),lo(e,t,o,Na,a),a["delete"](t)),e}function Ba(e){return Bc(e)?o:e}function Pa(e,t,n,r,i,a){var u=n&m,l=e.length,s=t.length;if(l!=s&&!(u&&s>l))return!1;var c=a.get(e),f=a.get(t);if(c&&f)return c==t&&f==e;var d=-1,p=!0,h=n&A?new Jr:o;a.set(e,t),a.set(t,e);while(++d<l){var v=e[d],g=t[d];if(r)var y=u?r(g,v,d,t,e,a):r(v,g,d,e,t,a);if(y!==o){if(y)continue;p=!1;break}if(h){if(!Rn(t,(function(e,t){if(!Xn(h,t)&&(v===e||i(v,e,n,r,a)))return h.push(t)}))){p=!1;break}}else if(v!==g&&!i(v,g,n,r,a)){p=!1;break}}return a["delete"](e),a["delete"](t),p}function Fa(e,t,n,r,i,o,a){switch(n){case pe:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case de:return!(e.byteLength!=t.byteLength||!o(new _t(e),new _t(t)));case G:case W:case ee:return ic(+e,+t);case K:return e.name==t.name&&e.message==t.message;case oe:case ue:return e==t+"";case Z:var u=sr;case ae:var l=r&m;if(u||(u=dr),e.size!=t.size&&!l)return!1;var s=a.get(e);if(s)return s==t;r|=A,a.set(e,t);var c=Pa(u(e),u(t),r,i,o,a);return a["delete"](e),c;case le:if(hr)return hr.call(e)==hr.call(t)}return!1}function La(e,t,n,r,i,a){var u=n&m,l=Ha(e),s=l.length,c=Ha(t),f=c.length;if(s!=f&&!u)return!1;var d=s;while(d--){var p=l[d];if(!(u?p in t:ft.call(t,p)))return!1}var h=a.get(e),v=a.get(t);if(h&&v)return h==t&&v==e;var g=!0;a.set(e,t),a.set(t,e);var A=u;while(++d<s){p=l[d];var y=e[p],_=t[p];if(r)var w=u?r(_,y,p,t,e,a):r(y,_,p,e,t,a);if(!(w===o?y===_||i(y,_,n,r,a):w)){g=!1;break}A||(A="constructor"==p)}if(g&&!A){var x=e.constructor,b=t.constructor;x==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof x&&x instanceof x&&"function"==typeof b&&b instanceof b||(g=!1)}return a["delete"](e),a["delete"](t),g}function Oa(e){return Su(_u(e,o,Wu),e+"")}function Ha(e){return Pi(e,bf,Ja)}function ja(e){return Pi(e,Ef,Ka)}var Ua=un?function(e){return un.get(e)}:Hd;function za(e){var t=e.name+"",n=sn[t],r=ft.call(sn,t)?n.length:0;while(r--){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function Qa(e){var t=ft.call(wr,"placeholder")?wr:e;return t.placeholder}function Ya(){var e=wr.iteratee||Rd;return e=e===Rd?to:e,arguments.length?e(arguments[0],arguments[1]):e}function $a(e,t){var n=e.__data__;return su(t)?n["string"==typeof t?"string":"hash"]:n.map}function Va(e){var t=bf(e),n=t.length;while(n--){var r=t[n],i=e[r];t[n]=[r,i,hu(i)]}return t}function Ga(e,t){var n=or(e,t);return qi(n)?n:o}function Wa(e){var t=ft.call(e,Mt),n=e[Mt];try{e[Mt]=o;var r=!0}catch(a){}var i=ht.call(e);return r&&(t?e[Mt]=n:delete e[Mt]),i}var Ja=Pt?function(e){return null==e?[]:(e=nt(e),Cn(Pt(e),(function(t){return Et.call(e,t)})))}:Wd,Ka=Pt?function(e){var t=[];while(e)Tn(t,Ja(e)),e=xt(e);return t}:Wd,qa=Fi;function Xa(e,t,n){var r=-1,i=n.length;while(++r<i){var o=n[r],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=Ut(t,e+a);break;case"takeRight":e=jt(e,t-a);break}}return{start:e,end:t}}function Za(e){var t=e.match(Ue);return t?t[1].split(ze):[]}function eu(e,t,n){t=Yo(t,e);var r=-1,i=t.length,o=!1;while(++r<i){var a=Iu(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:(i=null==e?0:e.length,!!i&&bc(i)&&au(a,i)&&(lc(e)||uc(e)))}function tu(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&ft.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function nu(e){return"function"!=typeof e.constructor||pu(e)?{}:br(xt(e))}function ru(e,t,n){var r=e.constructor;switch(t){case de:return Jo(e);case G:case W:return new r(+e);case pe:return Ko(e,n);case he:case ve:case ge:case me:case Ae:case ye:case _e:case we:case xe:return Zo(e,n);case Z:return new r;case ee:case ue:return new r(e);case oe:return qo(e);case ae:return new r;case le:return Xo(e)}}function iu(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(je,"{\n/* [wrapped with "+t+"] */\n")}function ou(e){return lc(e)||uc(e)||!!(St&&e&&e[St])}function au(e,t){var n=typeof e;return t=null==t?L:t,!!t&&("number"==n||"symbol"!=n&&Xe.test(e))&&e>-1&&e%1==0&&e<t}function uu(e,t,n){if(!Ec(n))return!1;var r=typeof t;return!!("number"==r?cc(n)&&au(t,n.length):"string"==r&&t in n)&&ic(n[t],e)}function lu(e,t){if(lc(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Hc(e))||(Be.test(e)||!Ne.test(e)||null!=t&&e in nt(t))}function su(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function cu(e){var t=za(e),n=wr[t];if("function"!=typeof n||!(t in kr.prototype))return!1;if(e===n)return!0;var r=Ua(n);return!!r&&e===r[0]}function fu(e){return!!pt&&pt in e}(Wt&&qa(new Wt(new ArrayBuffer(1)))!=pe||Zt&&qa(new Zt)!=Z||en&&qa(en.resolve())!=re||tn&&qa(new tn)!=ae||nn&&qa(new nn)!=ce)&&(qa=function(e){var t=Fi(e),n=t==ne?e.constructor:o,r=n?Ru(n):"";if(r)switch(r){case cn:return pe;case dn:return Z;case pn:return re;case Nn:return ae;case Bn:return ce}return t});var du=st?wc:Jd;function pu(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||lt;return e===n}function hu(e){return e===e&&!Ec(e)}function vu(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==o||e in nt(n)))}}function gu(e){var t=js(e,(function(e){return n.size===d&&n.clear(),e})),n=t.cache;return t}function mu(e,t){var n=e[1],r=t[1],i=n|r,o=i<(y|_|S),a=r==S&&n==x||r==S&&n==k&&e[7].length<=t[8]||r==(S|k)&&t[7].length<=t[8]&&n==x;if(!o&&!a)return e;r&y&&(e[2]=t[2],i|=n&y?0:w);var u=t[3];if(u){var l=e[3];e[3]=l?na(l,u,t[4]):u,e[4]=l?fr(e[3],p):t[4]}return u=t[5],u&&(l=e[5],e[5]=l?ra(l,u,t[6]):u,e[6]=l?fr(e[5],p):t[6]),u=t[7],u&&(e[7]=u),r&S&&(e[8]=null==e[8]?t[8]:Ut(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i,e}function Au(e){var t=[];if(null!=e)for(var n in nt(e))t.push(n);return t}function yu(e){return ht.call(e)}function _u(e,t,r){return t=jt(t===o?e.length-1:t,0),function(){var i=arguments,o=-1,a=jt(i.length-t,0),u=n(a);while(++o<a)u[o]=i[t+o];o=-1;var l=n(t+1);while(++o<t)l[o]=i[o];return l[t]=r(u),_n(e,this,l)}}function wu(e,t){return t.length<2?e:Bi(e,Mo(t,0,-1))}function xu(e,t){var n=e.length,r=Ut(t.length,n),i=ia(e);while(r--){var a=t[r];e[r]=au(a,n)?i[a]:o}return e}function bu(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]}var Eu=Mu(Co),Cu=Rt||function(e,t){return ln.setTimeout(e,t)},Su=Mu(So);function ku(e,t,n){var r=t+"";return Su(e,iu(r,Nu(Za(r),n)))}function Mu(e){var t=0,n=0;return function(){var r=zt(),i=R-(r-n);if(n=r,i>0){if(++t>=I)return arguments[0]}else t=0;return e.apply(o,arguments)}}function Tu(e,t){var n=-1,r=e.length,i=r-1;t=t===o?r:t;while(++n<t){var a=Ao(n,i),u=e[a];e[a]=e[n],e[n]=u}return e.length=t,e}var Du=gu((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Pe,(function(e,n,r,i){t.push(r?i.replace($e,"$1"):n||e)})),t}));function Iu(e){if("string"==typeof e||Hc(e))return e;var t=e+"";return"0"==t&&1/e==-F?"-0":t}function Ru(e){if(null!=e){try{return ct.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Nu(e,t){return xn(Q,(function(n){var r="_."+n[0];t&n[1]&&!Sn(e,r)&&e.push(r)})),e.sort()}function Bu(e){if(e instanceof kr)return e.clone();var t=new Sr(e.__wrapped__,e.__chain__);return t.__actions__=ia(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function Pu(e,t,r){t=(r?uu(e,t,r):t===o)?1:jt(Wc(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];var a=0,u=0,l=n(Nt(i/t));while(a<i)l[u++]=Mo(e,a,a+=t);return l}function Fu(e){var t=-1,n=null==e?0:e.length,r=0,i=[];while(++t<n){var o=e[t];o&&(i[r++]=o)}return i}function Lu(){var e=arguments.length;if(!e)return[];var t=n(e-1),r=arguments[0],i=e;while(i--)t[i-1]=arguments[i];return Tn(lc(r)?ia(r):[r],Mi(t,1))}var Ou=wo((function(e,t){return fc(e)?wi(e,Mi(t,1,fc,!0)):[]})),Hu=wo((function(e,t){var n=ol(t);return fc(n)&&(n=o),fc(e)?wi(e,Mi(t,1,fc,!0),Ya(n,2)):[]})),ju=wo((function(e,t){var n=ol(t);return fc(n)&&(n=o),fc(e)?wi(e,Mi(t,1,fc,!0),o,n):[]}));function Uu(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===o?1:Wc(t),Mo(e,t<0?0:t,r)):[]}function zu(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===o?1:Wc(t),t=r-t,Mo(e,0,t<0?0:t)):[]}function Qu(e,t){return e&&e.length?Oo(e,Ya(t,3),!0,!0):[]}function Yu(e,t){return e&&e.length?Oo(e,Ya(t,3),!0):[]}function $u(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&uu(e,t,n)&&(n=0,r=i),Si(e,t,n,r)):[]}function Vu(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:Wc(n);return i<0&&(i=jt(r+i,0)),Ln(e,Ya(t,3),i)}function Gu(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return n!==o&&(i=Wc(n),i=n<0?jt(r+i,0):Ut(i,r-1)),Ln(e,Ya(t,3),i,!0)}function Wu(e){var t=null==e?0:e.length;return t?Mi(e,1):[]}function Ju(e){var t=null==e?0:e.length;return t?Mi(e,F):[]}function Ku(e,t){var n=null==e?0:e.length;return n?(t=t===o?1:Wc(t),Mi(e,t)):[]}function qu(e){var t=-1,n=null==e?0:e.length,r={};while(++t<n){var i=e[t];r[i[0]]=i[1]}return r}function Xu(e){return e&&e.length?e[0]:o}function Zu(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:Wc(n);return i<0&&(i=jt(r+i,0)),On(e,t,i)}function el(e){var t=null==e?0:e.length;return t?Mo(e,0,-1):[]}var tl=wo((function(e){var t=Mn(e,zo);return t.length&&t[0]===e[0]?Ui(t):[]})),nl=wo((function(e){var t=ol(e),n=Mn(e,zo);return t===ol(n)?t=o:n.pop(),n.length&&n[0]===e[0]?Ui(n,Ya(t,2)):[]})),rl=wo((function(e){var t=ol(e),n=Mn(e,zo);return t="function"==typeof t?t:o,t&&n.pop(),n.length&&n[0]===e[0]?Ui(n,o,t):[]}));function il(e,t){return null==e?"":Ot.call(e,t)}function ol(e){var t=null==e?0:e.length;return t?e[t-1]:o}function al(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==o&&(i=Wc(n),i=i<0?jt(r+i,0):Ut(i,r-1)),t===t?vr(e,t,i):Ln(e,jn,i,!0)}function ul(e,t){return e&&e.length?co(e,Wc(t)):o}var ll=wo(sl);function sl(e,t){return e&&e.length&&t&&t.length?go(e,t):e}function cl(e,t,n){return e&&e.length&&t&&t.length?go(e,t,Ya(n,2)):e}function fl(e,t,n){return e&&e.length&&t&&t.length?go(e,t,o,n):e}var dl=Oa((function(e,t){var n=null==e?0:e.length,r=vi(e,t);return mo(e,Mn(t,(function(e){return au(e,n)?+e:e})).sort(ea)),r}));function pl(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;t=Ya(t,3);while(++r<o){var a=e[r];t(a,r,e)&&(n.push(a),i.push(r))}return mo(e,i),n}function hl(e){return null==e?e:Gt.call(e)}function vl(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&uu(e,t,n)?(t=0,n=r):(t=null==t?0:Wc(t),n=n===o?r:Wc(n)),Mo(e,t,n)):[]}function gl(e,t){return Do(e,t)}function ml(e,t,n){return Io(e,t,Ya(n,2))}function Al(e,t){var n=null==e?0:e.length;if(n){var r=Do(e,t);if(r<n&&ic(e[r],t))return r}return-1}function yl(e,t){return Do(e,t,!0)}function _l(e,t,n){return Io(e,t,Ya(n,2),!0)}function wl(e,t){var n=null==e?0:e.length;if(n){var r=Do(e,t,!0)-1;if(ic(e[r],t))return r}return-1}function xl(e){return e&&e.length?Ro(e):[]}function bl(e,t){return e&&e.length?Ro(e,Ya(t,2)):[]}function El(e){var t=null==e?0:e.length;return t?Mo(e,1,t):[]}function Cl(e,t,n){return e&&e.length?(t=n||t===o?1:Wc(t),Mo(e,0,t<0?0:t)):[]}function Sl(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===o?1:Wc(t),t=r-t,Mo(e,t<0?0:t,r)):[]}function kl(e,t){return e&&e.length?Oo(e,Ya(t,3),!1,!0):[]}function Ml(e,t){return e&&e.length?Oo(e,Ya(t,3)):[]}var Tl=wo((function(e){return Po(Mi(e,1,fc,!0))})),Dl=wo((function(e){var t=ol(e);return fc(t)&&(t=o),Po(Mi(e,1,fc,!0),Ya(t,2))})),Il=wo((function(e){var t=ol(e);return t="function"==typeof t?t:o,Po(Mi(e,1,fc,!0),o,t)}));function Rl(e){return e&&e.length?Po(e):[]}function Nl(e,t){return e&&e.length?Po(e,Ya(t,2)):[]}function Bl(e,t){return t="function"==typeof t?t:o,e&&e.length?Po(e,o,t):[]}function Pl(e){if(!e||!e.length)return[];var t=0;return e=Cn(e,(function(e){if(fc(e))return t=jt(e.length,t),!0})),Gn(t,(function(t){return Mn(e,zn(t))}))}function Fl(e,t){if(!e||!e.length)return[];var n=Pl(e);return null==t?n:Mn(n,(function(e){return _n(t,o,e)}))}var Ll=wo((function(e,t){return fc(e)?wi(e,t):[]})),Ol=wo((function(e){return jo(Cn(e,fc))})),Hl=wo((function(e){var t=ol(e);return fc(t)&&(t=o),jo(Cn(e,fc),Ya(t,2))})),jl=wo((function(e){var t=ol(e);return t="function"==typeof t?t:o,jo(Cn(e,fc),o,t)})),Ul=wo(Pl);function zl(e,t){return Uo(e||[],t||[],si)}function Ql(e,t){return Uo(e||[],t||[],Eo)}var Yl=wo((function(e){var t=e.length,n=t>1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,Fl(e,n)}));function $l(e){var t=wr(e);return t.__chain__=!0,t}function Vl(e,t){return t(e),e}function Gl(e,t){return t(e)}var Wl=Oa((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return vi(t,e)};return!(t>1||this.__actions__.length)&&r instanceof kr&&au(n)?(r=r.slice(n,+n+(t?1:0)),r.__actions__.push({func:Gl,args:[i],thisArg:o}),new Sr(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)}));function Jl(){return $l(this)}function Kl(){return new Sr(this.value(),this.__chain__)}function ql(){this.__values__===o&&(this.__values__=Vc(this.value()));var e=this.__index__>=this.__values__.length,t=e?o:this.__values__[this.__index__++];return{done:e,value:t}}function Xl(){return this}function Zl(e){var t,n=this;while(n instanceof Cr){var r=Bu(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t}function es(){var e=this.__wrapped__;if(e instanceof kr){var t=e;return this.__actions__.length&&(t=new kr(this)),t=t.reverse(),t.__actions__.push({func:Gl,args:[hl],thisArg:o}),new Sr(t,this.__chain__)}return this.thru(hl)}function ts(){return Ho(this.__wrapped__,this.__actions__)}var ns=la((function(e,t,n){ft.call(e,n)?++e[n]:hi(e,n,1)}));function rs(e,t,n){var r=lc(e)?En:Ei;return n&&uu(e,t,n)&&(t=o),r(e,Ya(t,3))}function is(e,t){var n=lc(e)?Cn:ki;return n(e,Ya(t,3))}var os=ma(Vu),as=ma(Gu);function us(e,t){return Mi(gs(e,t),1)}function ls(e,t){return Mi(gs(e,t),F)}function ss(e,t,n){return n=n===o?1:Wc(n),Mi(gs(e,t),n)}function cs(e,t){var n=lc(e)?xn:xi;return n(e,Ya(t,3))}function fs(e,t){var n=lc(e)?bn:bi;return n(e,Ya(t,3))}var ds=la((function(e,t,n){ft.call(e,n)?e[n].push(t):hi(e,n,[t])}));function ps(e,t,n,r){e=cc(e)?e:zf(e),n=n&&!r?Wc(n):0;var i=e.length;return n<0&&(n=jt(i+n,0)),Oc(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&On(e,t,n)>-1}var hs=wo((function(e,t,r){var i=-1,o="function"==typeof t,a=cc(e)?n(e.length):[];return xi(e,(function(e){a[++i]=o?_n(t,e,r):Qi(e,t,r)})),a})),vs=la((function(e,t,n){hi(e,n,t)}));function gs(e,t){var n=lc(e)?Mn:oo;return n(e,Ya(t,3))}function ms(e,t,n,r){return null==e?[]:(lc(t)||(t=null==t?[]:[t]),n=r?o:n,lc(n)||(n=null==n?[]:[n]),fo(e,t,n))}var As=la((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));function ys(e,t,n){var r=lc(e)?Dn:Yn,i=arguments.length<3;return r(e,Ya(t,4),n,i,xi)}function _s(e,t,n){var r=lc(e)?In:Yn,i=arguments.length<3;return r(e,Ya(t,4),n,i,bi)}function ws(e,t){var n=lc(e)?Cn:ki;return n(e,Us(Ya(t,3)))}function xs(e){var t=lc(e)?oi:xo;return t(e)}function bs(e,t,n){t=(n?uu(e,t,n):t===o)?1:Wc(t);var r=lc(e)?ai:bo;return r(e,t)}function Es(e){var t=lc(e)?ui:ko;return t(e)}function Cs(e){if(null==e)return 0;if(cc(e))return Oc(e)?gr(e):e.length;var t=qa(e);return t==Z||t==ae?e.size:no(e).length}function Ss(e,t,n){var r=lc(e)?Rn:To;return n&&uu(e,t,n)&&(t=o),r(e,Ya(t,3))}var ks=wo((function(e,t){if(null==e)return[];var n=t.length;return n>1&&uu(e,t[0],t[1])?t=[]:n>2&&uu(t[0],t[1],t[2])&&(t=[t[0]]),fo(e,Mi(t,1),[])})),Ms=It||function(){return ln.Date.now()};function Ts(e,t){if("function"!=typeof t)throw new ot(s);return e=Wc(e),function(){if(--e<1)return t.apply(this,arguments)}}function Ds(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Ia(e,S,o,o,o,o,t)}function Is(e,t){var n;if("function"!=typeof t)throw new ot(s);return e=Wc(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Rs=wo((function(e,t,n){var r=y;if(n.length){var i=fr(n,Qa(Rs));r|=E}return Ia(e,r,t,n,i)})),Ns=wo((function(e,t,n){var r=y|_;if(n.length){var i=fr(n,Qa(Ns));r|=E}return Ia(t,r,e,n,i)}));function Bs(e,t,n){t=n?o:t;var r=Ia(e,x,o,o,o,o,o,t);return r.placeholder=Bs.placeholder,r}function Ps(e,t,n){t=n?o:t;var r=Ia(e,b,o,o,o,o,o,t);return r.placeholder=Ps.placeholder,r}function Fs(e,t,n){var r,i,a,u,l,c,f=0,d=!1,p=!1,h=!0;if("function"!=typeof e)throw new ot(s);function v(t){var n=r,a=i;return r=i=o,f=t,u=e.apply(a,n),u}function g(e){return f=e,l=Cu(y,t),d?v(e):u}function m(e){var n=e-c,r=e-f,i=t-n;return p?Ut(i,a-r):i}function A(e){var n=e-c,r=e-f;return c===o||n>=t||n<0||p&&r>=a}function y(){var e=Ms();if(A(e))return _(e);l=Cu(y,m(e))}function _(e){return l=o,h&&r?v(e):(r=i=o,u)}function w(){l!==o&&Go(l),f=0,r=c=i=l=o}function x(){return l===o?u:_(Ms())}function b(){var e=Ms(),n=A(e);if(r=arguments,i=this,c=e,n){if(l===o)return g(c);if(p)return Go(l),l=Cu(y,t),v(c)}return l===o&&(l=Cu(y,t)),u}return t=Kc(t)||0,Ec(n)&&(d=!!n.leading,p="maxWait"in n,a=p?jt(Kc(n.maxWait)||0,t):a,h="trailing"in n?!!n.trailing:h),b.cancel=w,b.flush=x,b}var Ls=wo((function(e,t){return _i(e,1,t)})),Os=wo((function(e,t,n){return _i(e,Kc(t)||0,n)}));function Hs(e){return Ia(e,M)}function js(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ot(s);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(js.Cache||Qr),n}function Us(e){if("function"!=typeof e)throw new ot(s);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function zs(e){return Is(2,e)}js.Cache=Qr;var Qs=$o((function(e,t){t=1==t.length&&lc(t[0])?Mn(t[0],Kn(Ya())):Mn(Mi(t,1),Kn(Ya()));var n=t.length;return wo((function(r){var i=-1,o=Ut(r.length,n);while(++i<o)r[i]=t[i].call(this,r[i]);return _n(e,this,r)}))})),Ys=wo((function(e,t){var n=fr(t,Qa(Ys));return Ia(e,E,o,t,n)})),$s=wo((function(e,t){var n=fr(t,Qa($s));return Ia(e,C,o,t,n)})),Vs=Oa((function(e,t){return Ia(e,k,o,o,o,t)}));function Gs(e,t){if("function"!=typeof e)throw new ot(s);return t=t===o?t:Wc(t),wo(e,t)}function Ws(e,t){if("function"!=typeof e)throw new ot(s);return t=null==t?0:jt(Wc(t),0),wo((function(n){var r=n[t],i=Vo(n,0,t);return r&&Tn(i,r),_n(e,this,i)}))}function Js(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new ot(s);return Ec(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Fs(e,t,{leading:r,maxWait:t,trailing:i})}function Ks(e){return Ds(e,1)}function qs(e,t){return Ys(Qo(t),e)}function Xs(){if(!arguments.length)return[];var e=arguments[0];return lc(e)?e:[e]}function Zs(e){return mi(e,g)}function ec(e,t){return t="function"==typeof t?t:o,mi(e,g,t)}function tc(e){return mi(e,h|g)}function nc(e,t){return t="function"==typeof t?t:o,mi(e,h|g,t)}function rc(e,t){return null==t||yi(e,t,bf(t))}function ic(e,t){return e===t||e!==e&&t!==t}var oc=Sa(Li),ac=Sa((function(e,t){return e>=t})),uc=Yi(function(){return arguments}())?Yi:function(e){return Cc(e)&&ft.call(e,"callee")&&!Et.call(e,"callee")},lc=n.isArray,sc=hn?Kn(hn):$i;function cc(e){return null!=e&&bc(e.length)&&!wc(e)}function fc(e){return Cc(e)&&cc(e)}function dc(e){return!0===e||!1===e||Cc(e)&&Fi(e)==G}var pc=Ft||Jd,hc=vn?Kn(vn):Vi;function vc(e){return Cc(e)&&1===e.nodeType&&!Bc(e)}function gc(e){if(null==e)return!0;if(cc(e)&&(lc(e)||"string"==typeof e||"function"==typeof e.splice||pc(e)||jc(e)||uc(e)))return!e.length;var t=qa(e);if(t==Z||t==ae)return!e.size;if(pu(e))return!no(e).length;for(var n in e)if(ft.call(e,n))return!1;return!0}function mc(e,t){return Gi(e,t)}function Ac(e,t,n){n="function"==typeof n?n:o;var r=n?n(e,t):o;return r===o?Gi(e,t,o,n):!!r}function yc(e){if(!Cc(e))return!1;var t=Fi(e);return t==K||t==J||"string"==typeof e.message&&"string"==typeof e.name&&!Bc(e)}function _c(e){return"number"==typeof e&&Lt(e)}function wc(e){if(!Ec(e))return!1;var t=Fi(e);return t==q||t==X||t==V||t==ie}function xc(e){return"number"==typeof e&&e==Wc(e)}function bc(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=L}function Ec(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Cc(e){return null!=e&&"object"==typeof e}var Sc=gn?Kn(gn):Ji;function kc(e,t){return e===t||Ki(e,t,Va(t))}function Mc(e,t,n){return n="function"==typeof n?n:o,Ki(e,t,Va(t),n)}function Tc(e){return Nc(e)&&e!=+e}function Dc(e){if(du(e))throw new i(l);return qi(e)}function Ic(e){return null===e}function Rc(e){return null==e}function Nc(e){return"number"==typeof e||Cc(e)&&Fi(e)==ee}function Bc(e){if(!Cc(e)||Fi(e)!=ne)return!1;var t=xt(e);if(null===t)return!0;var n=ft.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&ct.call(n)==vt}var Pc=mn?Kn(mn):Xi;function Fc(e){return xc(e)&&e>=-L&&e<=L}var Lc=An?Kn(An):Zi;function Oc(e){return"string"==typeof e||!lc(e)&&Cc(e)&&Fi(e)==ue}function Hc(e){return"symbol"==typeof e||Cc(e)&&Fi(e)==le}var jc=yn?Kn(yn):eo;function Uc(e){return e===o}function zc(e){return Cc(e)&&qa(e)==ce}function Qc(e){return Cc(e)&&Fi(e)==fe}var Yc=Sa(io),$c=Sa((function(e,t){return e<=t}));function Vc(e){if(!e)return[];if(cc(e))return Oc(e)?mr(e):ia(e);if(kt&&e[kt])return lr(e[kt]());var t=qa(e),n=t==Z?sr:t==ae?dr:zf;return n(e)}function Gc(e){if(!e)return 0===e?e:0;if(e=Kc(e),e===F||e===-F){var t=e<0?-1:1;return t*O}return e===e?e:0}function Wc(e){var t=Gc(e),n=t%1;return t===t?n?t-n:t:0}function Jc(e){return e?gi(Wc(e),0,j):0}function Kc(e){if("number"==typeof e)return e;if(Hc(e))return H;if(Ec(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Ec(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Jn(e);var n=Je.test(e);return n||qe.test(e)?on(e.slice(2),n?2:8):We.test(e)?H:+e}function qc(e){return oa(e,Ef(e))}function Xc(e){return e?gi(Wc(e),-L,L):0===e?e:0}function Zc(e){return null==e?"":Bo(e)}var ef=sa((function(e,t){if(pu(t)||cc(t))oa(t,bf(t),e);else for(var n in t)ft.call(t,n)&&si(e,n,t[n])})),tf=sa((function(e,t){oa(t,Ef(t),e)})),nf=sa((function(e,t,n,r){oa(t,Ef(t),e,r)})),rf=sa((function(e,t,n,r){oa(t,bf(t),e,r)})),of=Oa(vi);function af(e,t){var n=br(e);return null==t?n:di(n,t)}var uf=wo((function(e,t){e=nt(e);var n=-1,r=t.length,i=r>2?t[2]:o;i&&uu(t[0],t[1],i)&&(r=1);while(++n<r){var a=t[n],u=Ef(a),l=-1,s=u.length;while(++l<s){var c=u[l],f=e[c];(f===o||ic(f,lt[c])&&!ft.call(e,c))&&(e[c]=a[c])}}return e})),lf=wo((function(e){return e.push(o,Na),_n(Mf,o,e)}));function sf(e,t){return Fn(e,Ya(t,3),Ii)}function cf(e,t){return Fn(e,Ya(t,3),Ri)}function ff(e,t){return null==e?e:Ti(e,Ya(t,3),Ef)}function df(e,t){return null==e?e:Di(e,Ya(t,3),Ef)}function pf(e,t){return e&&Ii(e,Ya(t,3))}function hf(e,t){return e&&Ri(e,Ya(t,3))}function vf(e){return null==e?[]:Ni(e,bf(e))}function gf(e){return null==e?[]:Ni(e,Ef(e))}function mf(e,t,n){var r=null==e?o:Bi(e,t);return r===o?n:r}function Af(e,t){return null!=e&&eu(e,t,Oi)}function yf(e,t){return null!=e&&eu(e,t,Hi)}var _f=_a((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=ht.call(t)),e[t]=n}),kd(Id)),wf=_a((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=ht.call(t)),ft.call(e,t)?e[t].push(n):e[t]=[n]}),Ya),xf=wo(Qi);function bf(e){return cc(e)?ii(e):no(e)}function Ef(e){return cc(e)?ii(e,!0):ro(e)}function Cf(e,t){var n={};return t=Ya(t,3),Ii(e,(function(e,r,i){hi(n,t(e,r,i),e)})),n}function Sf(e,t){var n={};return t=Ya(t,3),Ii(e,(function(e,r,i){hi(n,r,t(e,r,i))})),n}var kf=sa((function(e,t,n){lo(e,t,n)})),Mf=sa((function(e,t,n,r){lo(e,t,n,r)})),Tf=Oa((function(e,t){var n={};if(null==e)return n;var r=!1;t=Mn(t,(function(t){return t=Yo(t,e),r||(r=t.length>1),t})),oa(e,ja(e),n),r&&(n=mi(n,h|v|g,Ba));var i=t.length;while(i--)Fo(n,t[i]);return n}));function Df(e,t){return Rf(e,Us(Ya(t)))}var If=Oa((function(e,t){return null==e?{}:po(e,t)}));function Rf(e,t){if(null==e)return{};var n=Mn(ja(e),(function(e){return[e]}));return t=Ya(t),ho(e,n,(function(e,n){return t(e,n[0])}))}function Nf(e,t,n){t=Yo(t,e);var r=-1,i=t.length;i||(i=1,e=o);while(++r<i){var a=null==e?o:e[Iu(t[r])];a===o&&(r=i,a=n),e=wc(a)?a.call(e):a}return e}function Bf(e,t,n){return null==e?e:Eo(e,t,n)}function Pf(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:Eo(e,t,n,r)}var Ff=Da(bf),Lf=Da(Ef);function Of(e,t,n){var r=lc(e),i=r||pc(e)||jc(e);if(t=Ya(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:Ec(e)&&wc(o)?br(xt(e)):{}}return(i?xn:Ii)(e,(function(e,r,i){return t(n,e,r,i)})),n}function Hf(e,t){return null==e||Fo(e,t)}function jf(e,t,n){return null==e?e:Lo(e,t,Qo(n))}function Uf(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:Lo(e,t,Qo(n),r)}function zf(e){return null==e?[]:qn(e,bf(e))}function Qf(e){return null==e?[]:qn(e,Ef(e))}function Yf(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=Kc(n),n=n===n?n:0),t!==o&&(t=Kc(t),t=t===t?t:0),gi(Kc(e),t,n)}function $f(e,t,n){return t=Gc(t),n===o?(n=t,t=0):n=Gc(n),e=Kc(e),ji(e,t,n)}function Vf(e,t,n){if(n&&"boolean"!=typeof n&&uu(e,t,n)&&(t=n=o),n===o&&("boolean"==typeof t?(n=t,t=o):"boolean"==typeof e&&(n=e,e=o)),e===o&&t===o?(e=0,t=1):(e=Gc(e),t===o?(t=e,e=0):t=Gc(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=Vt();return Ut(e+i*(t-e+rn("1e-"+((i+"").length-1))),t)}return Ao(e,t)}var Gf=ha((function(e,t,n){return t=t.toLowerCase(),e+(n?Wf(t):t)}));function Wf(e){return wd(Zc(e).toLowerCase())}function Jf(e){return e=Zc(e),e&&e.replace(Ze,nr).replace(Yt,"")}function Kf(e,t,n){e=Zc(e),t=Bo(t);var r=e.length;n=n===o?r:gi(Wc(n),0,r);var i=n;return n-=t.length,n>=0&&e.slice(n,i)==t}function qf(e){return e=Zc(e),e&&Te.test(e)?e.replace(ke,rr):e}function Xf(e){return e=Zc(e),e&&Le.test(e)?e.replace(Fe,"\\$&"):e}var Zf=ha((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),ed=ha((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),td=pa("toLowerCase");function nd(e,t,n){e=Zc(e),t=Wc(t);var r=t?gr(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return ba(Bt(i),n)+e+ba(Nt(i),n)}function rd(e,t,n){e=Zc(e),t=Wc(t);var r=t?gr(e):0;return t&&r<t?e+ba(t-r,n):e}function id(e,t,n){e=Zc(e),t=Wc(t);var r=t?gr(e):0;return t&&r<t?ba(t-r,n)+e:e}function od(e,t,n){return n||null==t?t=0:t&&(t=+t),$t(Zc(e).replace(Oe,""),t||0)}function ad(e,t,n){return t=(n?uu(e,t,n):t===o)?1:Wc(t),_o(Zc(e),t)}function ud(){var e=arguments,t=Zc(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var ld=ha((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));function sd(e,t,n){return n&&"number"!=typeof n&&uu(e,t,n)&&(t=n=o),n=n===o?j:n>>>0,n?(e=Zc(e),e&&("string"==typeof t||null!=t&&!Pc(t))&&(t=Bo(t),!t&&ar(e))?Vo(mr(e),0,n):e.split(t,n)):[]}var cd=ha((function(e,t,n){return e+(n?" ":"")+wd(t)}));function fd(e,t,n){return e=Zc(e),n=null==n?0:gi(Wc(n),0,e.length),t=Bo(t),e.slice(n,n+t.length)==t}function dd(e,t,n){var r=wr.templateSettings;n&&uu(e,t,n)&&(t=o),e=Zc(e),t=nf({},t,r,Ra);var a,u,l=nf({},t.imports,r.imports,Ra),s=bf(l),f=qn(l,s),d=0,p=t.interpolate||et,h="__p += '",v=rt((t.escape||et).source+"|"+p.source+"|"+(p===Re?Ve:et).source+"|"+(t.evaluate||et).source+"|$","g"),g="//# sourceURL="+(ft.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Kt+"]")+"\n";e.replace(v,(function(t,n,r,i,o,l){return r||(r=i),h+=e.slice(d,l).replace(tt,ir),n&&(a=!0,h+="' +\n__e("+n+") +\n'"),o&&(u=!0,h+="';\n"+o+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),d=l+t.length,t})),h+="';\n";var m=ft.call(t,"variable")&&t.variable;if(m){if(Ye.test(m))throw new i(c)}else h="with (obj) {\n"+h+"\n}\n";h=(u?h.replace(be,""):h).replace(Ee,"$1").replace(Ce,"$1;"),h="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(u?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var A=bd((function(){return He(s,g+"return "+h).apply(o,f)}));if(A.source=h,yc(A))throw A;return A}function pd(e){return Zc(e).toLowerCase()}function hd(e){return Zc(e).toUpperCase()}function vd(e,t,n){if(e=Zc(e),e&&(n||t===o))return Jn(e);if(!e||!(t=Bo(t)))return e;var r=mr(e),i=mr(t),a=Zn(r,i),u=er(r,i)+1;return Vo(r,a,u).join("")}function gd(e,t,n){if(e=Zc(e),e&&(n||t===o))return e.slice(0,Ar(e)+1);if(!e||!(t=Bo(t)))return e;var r=mr(e),i=er(r,mr(t))+1;return Vo(r,0,i).join("")}function md(e,t,n){if(e=Zc(e),e&&(n||t===o))return e.replace(Oe,"");if(!e||!(t=Bo(t)))return e;var r=mr(e),i=Zn(r,mr(t));return Vo(r,i).join("")}function Ad(e,t){var n=T,r=D;if(Ec(t)){var i="separator"in t?t.separator:i;n="length"in t?Wc(t.length):n,r="omission"in t?Bo(t.omission):r}e=Zc(e);var a=e.length;if(ar(e)){var u=mr(e);a=u.length}if(n>=a)return e;var l=n-gr(r);if(l<1)return r;var s=u?Vo(u,0,l).join(""):e.slice(0,l);if(i===o)return s+r;if(u&&(l+=s.length-l),Pc(i)){if(e.slice(l).search(i)){var c,f=s;i.global||(i=rt(i.source,Zc(Ge.exec(i))+"g")),i.lastIndex=0;while(c=i.exec(f))var d=c.index;s=s.slice(0,d===o?l:d)}}else if(e.indexOf(Bo(i),l)!=l){var p=s.lastIndexOf(i);p>-1&&(s=s.slice(0,p))}return s+r}function yd(e){return e=Zc(e),e&&Me.test(e)?e.replace(Se,yr):e}var _d=ha((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),wd=pa("toUpperCase");function xd(e,t,n){return e=Zc(e),t=n?o:t,t===o?ur(e)?xr(e):Pn(e):e.match(t)||[]}var bd=wo((function(e,t){try{return _n(e,o,t)}catch(n){return yc(n)?n:new i(n)}})),Ed=Oa((function(e,t){return xn(t,(function(t){t=Iu(t),hi(e,t,Rs(e[t],e))})),e}));function Cd(e){var t=null==e?0:e.length,n=Ya();return e=t?Mn(e,(function(e){if("function"!=typeof e[1])throw new ot(s);return[n(e[0]),e[1]]})):[],wo((function(n){var r=-1;while(++r<t){var i=e[r];if(_n(i[0],this,n))return _n(i[1],this,n)}}))}function Sd(e){return Ai(mi(e,h))}function kd(e){return function(){return e}}function Md(e,t){return null==e||e!==e?t:e}var Td=Aa(),Dd=Aa(!0);function Id(e){return e}function Rd(e){return to("function"==typeof e?e:mi(e,h))}function Nd(e){return ao(mi(e,h))}function Bd(e,t){return uo(e,mi(t,h))}var Pd=wo((function(e,t){return function(n){return Qi(n,e,t)}})),Fd=wo((function(e,t){return function(n){return Qi(e,n,t)}}));function Ld(e,t,n){var r=bf(t),i=Ni(t,r);null!=n||Ec(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=Ni(t,bf(t)));var o=!(Ec(n)&&"chain"in n)||!!n.chain,a=wc(e);return xn(i,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),i=n.__actions__=ia(this.__actions__);return i.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Tn([this.value()],arguments))})})),e}function Od(){return ln._===this&&(ln._=gt),this}function Hd(){}function jd(e){return e=Wc(e),wo((function(t){return co(t,e)}))}var Ud=xa(Mn),zd=xa(En),Qd=xa(Rn);function Yd(e){return lu(e)?zn(Iu(e)):vo(e)}function $d(e){return function(t){return null==e?o:Bi(e,t)}}var Vd=Ca(),Gd=Ca(!0);function Wd(){return[]}function Jd(){return!1}function Kd(){return{}}function qd(){return""}function Xd(){return!0}function Zd(e,t){if(e=Wc(e),e<1||e>L)return[];var n=j,r=Ut(e,j);t=Ya(t),e-=j;var i=Gn(r,t);while(++n<e)t(n);return i}function ep(e){return lc(e)?Mn(e,Iu):Hc(e)?[e]:ia(Du(Zc(e)))}function tp(e){var t=++dt;return Zc(e)+t}var np=wa((function(e,t){return e+t}),0),rp=Ma("ceil"),ip=wa((function(e,t){return e/t}),1),op=Ma("floor");function ap(e){return e&&e.length?Ci(e,Id,Li):o}function up(e,t){return e&&e.length?Ci(e,Ya(t,2),Li):o}function lp(e){return Un(e,Id)}function sp(e,t){return Un(e,Ya(t,2))}function cp(e){return e&&e.length?Ci(e,Id,io):o}function fp(e,t){return e&&e.length?Ci(e,Ya(t,2),io):o}var dp=wa((function(e,t){return e*t}),1),pp=Ma("round"),hp=wa((function(e,t){return e-t}),0);function vp(e){return e&&e.length?Vn(e,Id):0}function gp(e,t){return e&&e.length?Vn(e,Ya(t,2)):0}return wr.after=Ts,wr.ary=Ds,wr.assign=ef,wr.assignIn=tf,wr.assignInWith=nf,wr.assignWith=rf,wr.at=of,wr.before=Is,wr.bind=Rs,wr.bindAll=Ed,wr.bindKey=Ns,wr.castArray=Xs,wr.chain=$l,wr.chunk=Pu,wr.compact=Fu,wr.concat=Lu,wr.cond=Cd,wr.conforms=Sd,wr.constant=kd,wr.countBy=ns,wr.create=af,wr.curry=Bs,wr.curryRight=Ps,wr.debounce=Fs,wr.defaults=uf,wr.defaultsDeep=lf,wr.defer=Ls,wr.delay=Os,wr.difference=Ou,wr.differenceBy=Hu,wr.differenceWith=ju,wr.drop=Uu,wr.dropRight=zu,wr.dropRightWhile=Qu,wr.dropWhile=Yu,wr.fill=$u,wr.filter=is,wr.flatMap=us,wr.flatMapDeep=ls,wr.flatMapDepth=ss,wr.flatten=Wu,wr.flattenDeep=Ju,wr.flattenDepth=Ku,wr.flip=Hs,wr.flow=Td,wr.flowRight=Dd,wr.fromPairs=qu,wr.functions=vf,wr.functionsIn=gf,wr.groupBy=ds,wr.initial=el,wr.intersection=tl,wr.intersectionBy=nl,wr.intersectionWith=rl,wr.invert=_f,wr.invertBy=wf,wr.invokeMap=hs,wr.iteratee=Rd,wr.keyBy=vs,wr.keys=bf,wr.keysIn=Ef,wr.map=gs,wr.mapKeys=Cf,wr.mapValues=Sf,wr.matches=Nd,wr.matchesProperty=Bd,wr.memoize=js,wr.merge=kf,wr.mergeWith=Mf,wr.method=Pd,wr.methodOf=Fd,wr.mixin=Ld,wr.negate=Us,wr.nthArg=jd,wr.omit=Tf,wr.omitBy=Df,wr.once=zs,wr.orderBy=ms,wr.over=Ud,wr.overArgs=Qs,wr.overEvery=zd,wr.overSome=Qd,wr.partial=Ys,wr.partialRight=$s,wr.partition=As,wr.pick=If,wr.pickBy=Rf,wr.property=Yd,wr.propertyOf=$d,wr.pull=ll,wr.pullAll=sl,wr.pullAllBy=cl,wr.pullAllWith=fl,wr.pullAt=dl,wr.range=Vd,wr.rangeRight=Gd,wr.rearg=Vs,wr.reject=ws,wr.remove=pl,wr.rest=Gs,wr.reverse=hl,wr.sampleSize=bs,wr.set=Bf,wr.setWith=Pf,wr.shuffle=Es,wr.slice=vl,wr.sortBy=ks,wr.sortedUniq=xl,wr.sortedUniqBy=bl,wr.split=sd,wr.spread=Ws,wr.tail=El,wr.take=Cl,wr.takeRight=Sl,wr.takeRightWhile=kl,wr.takeWhile=Ml,wr.tap=Vl,wr.throttle=Js,wr.thru=Gl,wr.toArray=Vc,wr.toPairs=Ff,wr.toPairsIn=Lf,wr.toPath=ep,wr.toPlainObject=qc,wr.transform=Of,wr.unary=Ks,wr.union=Tl,wr.unionBy=Dl,wr.unionWith=Il,wr.uniq=Rl,wr.uniqBy=Nl,wr.uniqWith=Bl,wr.unset=Hf,wr.unzip=Pl,wr.unzipWith=Fl,wr.update=jf,wr.updateWith=Uf,wr.values=zf,wr.valuesIn=Qf,wr.without=Ll,wr.words=xd,wr.wrap=qs,wr.xor=Ol,wr.xorBy=Hl,wr.xorWith=jl,wr.zip=Ul,wr.zipObject=zl,wr.zipObjectDeep=Ql,wr.zipWith=Yl,wr.entries=Ff,wr.entriesIn=Lf,wr.extend=tf,wr.extendWith=nf,Ld(wr,wr),wr.add=np,wr.attempt=bd,wr.camelCase=Gf,wr.capitalize=Wf,wr.ceil=rp,wr.clamp=Yf,wr.clone=Zs,wr.cloneDeep=tc,wr.cloneDeepWith=nc,wr.cloneWith=ec,wr.conformsTo=rc,wr.deburr=Jf,wr.defaultTo=Md,wr.divide=ip,wr.endsWith=Kf,wr.eq=ic,wr.escape=qf,wr.escapeRegExp=Xf,wr.every=rs,wr.find=os,wr.findIndex=Vu,wr.findKey=sf,wr.findLast=as,wr.findLastIndex=Gu,wr.findLastKey=cf,wr.floor=op,wr.forEach=cs,wr.forEachRight=fs,wr.forIn=ff,wr.forInRight=df,wr.forOwn=pf,wr.forOwnRight=hf,wr.get=mf,wr.gt=oc,wr.gte=ac,wr.has=Af,wr.hasIn=yf,wr.head=Xu,wr.identity=Id,wr.includes=ps,wr.indexOf=Zu,wr.inRange=$f,wr.invoke=xf,wr.isArguments=uc,wr.isArray=lc,wr.isArrayBuffer=sc,wr.isArrayLike=cc,wr.isArrayLikeObject=fc,wr.isBoolean=dc,wr.isBuffer=pc,wr.isDate=hc,wr.isElement=vc,wr.isEmpty=gc,wr.isEqual=mc,wr.isEqualWith=Ac,wr.isError=yc,wr.isFinite=_c,wr.isFunction=wc,wr.isInteger=xc,wr.isLength=bc,wr.isMap=Sc,wr.isMatch=kc,wr.isMatchWith=Mc,wr.isNaN=Tc,wr.isNative=Dc,wr.isNil=Rc,wr.isNull=Ic,wr.isNumber=Nc,wr.isObject=Ec,wr.isObjectLike=Cc,wr.isPlainObject=Bc,wr.isRegExp=Pc,wr.isSafeInteger=Fc,wr.isSet=Lc,wr.isString=Oc,wr.isSymbol=Hc,wr.isTypedArray=jc,wr.isUndefined=Uc,wr.isWeakMap=zc,wr.isWeakSet=Qc,wr.join=il,wr.kebabCase=Zf,wr.last=ol,wr.lastIndexOf=al,wr.lowerCase=ed,wr.lowerFirst=td,wr.lt=Yc,wr.lte=$c,wr.max=ap,wr.maxBy=up,wr.mean=lp,wr.meanBy=sp,wr.min=cp,wr.minBy=fp,wr.stubArray=Wd,wr.stubFalse=Jd,wr.stubObject=Kd,wr.stubString=qd,wr.stubTrue=Xd,wr.multiply=dp,wr.nth=ul,wr.noConflict=Od,wr.noop=Hd,wr.now=Ms,wr.pad=nd,wr.padEnd=rd,wr.padStart=id,wr.parseInt=od,wr.random=Vf,wr.reduce=ys,wr.reduceRight=_s,wr.repeat=ad,wr.replace=ud,wr.result=Nf,wr.round=pp,wr.runInContext=e,wr.sample=xs,wr.size=Cs,wr.snakeCase=ld,wr.some=Ss,wr.sortedIndex=gl,wr.sortedIndexBy=ml,wr.sortedIndexOf=Al,wr.sortedLastIndex=yl,wr.sortedLastIndexBy=_l,wr.sortedLastIndexOf=wl,wr.startCase=cd,wr.startsWith=fd,wr.subtract=hp,wr.sum=vp,wr.sumBy=gp,wr.template=dd,wr.times=Zd,wr.toFinite=Gc,wr.toInteger=Wc,wr.toLength=Jc,wr.toLower=pd,wr.toNumber=Kc,wr.toSafeInteger=Xc,wr.toString=Zc,wr.toUpper=hd,wr.trim=vd,wr.trimEnd=gd,wr.trimStart=md,wr.truncate=Ad,wr.unescape=yd,wr.uniqueId=tp,wr.upperCase=_d,wr.upperFirst=wd,wr.each=cs,wr.eachRight=fs,wr.first=Xu,Ld(wr,function(){var e={};return Ii(wr,(function(t,n){ft.call(wr.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),wr.VERSION=a,xn(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){wr[e].placeholder=wr})),xn(["drop","take"],(function(e,t){kr.prototype[e]=function(n){n=n===o?1:jt(Wc(n),0);var r=this.__filtered__&&!t?new kr(this):this.clone();return r.__filtered__?r.__takeCount__=Ut(n,r.__takeCount__):r.__views__.push({size:Ut(n,j),type:e+(r.__dir__<0?"Right":"")}),r},kr.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),xn(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=n==N||n==P;kr.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Ya(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),xn(["head","last"],(function(e,t){var n="take"+(t?"Right":"");kr.prototype[e]=function(){return this[n](1).value()[0]}})),xn(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");kr.prototype[e]=function(){return this.__filtered__?new kr(this):this[n](1)}})),kr.prototype.compact=function(){return this.filter(Id)},kr.prototype.find=function(e){return this.filter(e).head()},kr.prototype.findLast=function(e){return this.reverse().find(e)},kr.prototype.invokeMap=wo((function(e,t){return"function"==typeof e?new kr(this):this.map((function(n){return Qi(n,e,t)}))})),kr.prototype.reject=function(e){return this.filter(Us(Ya(e)))},kr.prototype.slice=function(e,t){e=Wc(e);var n=this;return n.__filtered__&&(e>0||t<0)?new kr(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(t=Wc(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},kr.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},kr.prototype.toArray=function(){return this.take(j)},Ii(kr.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=wr[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);i&&(wr.prototype[t]=function(){var t=this.__wrapped__,u=r?[1]:arguments,l=t instanceof kr,s=u[0],c=l||lc(t),f=function(e){var t=i.apply(wr,Tn([e],u));return r&&d?t[0]:t};c&&n&&"function"==typeof s&&1!=s.length&&(l=c=!1);var d=this.__chain__,p=!!this.__actions__.length,h=a&&!d,v=l&&!p;if(!a&&c){t=v?t:new kr(this);var g=e.apply(t,u);return g.__actions__.push({func:Gl,args:[f],thisArg:o}),new Sr(g,d)}return h&&v?e.apply(this,u):(g=this.thru(f),h?r?g.value()[0]:g.value():g)})})),xn(["pop","push","shift","sort","splice","unshift"],(function(e){var t=at[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);wr.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(lc(i)?i:[],e)}return this[n]((function(n){return t.apply(lc(n)?n:[],e)}))}})),Ii(kr.prototype,(function(e,t){var n=wr[t];if(n){var r=n.name+"";ft.call(sn,r)||(sn[r]=[]),sn[r].push({name:t,func:n})}})),sn[ya(o,_).name]=[{name:"wrapper",func:o}],kr.prototype.clone=Mr,kr.prototype.reverse=Tr,kr.prototype.value=Dr,wr.prototype.at=Wl,wr.prototype.chain=Jl,wr.prototype.commit=Kl,wr.prototype.next=ql,wr.prototype.plant=Zl,wr.prototype.reverse=es,wr.prototype.toJSON=wr.prototype.valueOf=wr.prototype.value=ts,wr.prototype.first=wr.prototype.head,kt&&(wr.prototype[kt]=Xl),wr},Er=br();ln._=Er,i=function(){return Er}.call(t,n,t,r),i===o||(r.exports=i)}).call(this)}).call(this,n("c8ba"),n("62e4")(e))},"369b":function(e,t,n){var r,i,o;
- /* @license
- Papa Parse
- v5.5.2
- https://github.com/mholt/PapaParse
- License: MIT
- */((n,a)=>{i=[],r=a,o="function"===typeof r?r.apply(t,i):r,void 0===o||(e.exports=o)})(0,(function e(){var t,n="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n?n:{},r=!n.document&&!!n.postMessage,i=n.IS_PAPA_WORKER||!1,o={},a=0,u={};function l(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(e){var t=y(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null),this._handle=new p(t),(this._handle.streamer=this)._config=t}.call(this,e),this.parseChunk=function(e,t){var r=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<r){let t=this._config.newline;t||(o=this._config.quoteChar||'"',t=this._handle.guessLineEndings(e,o)),e=[...e.split(t).slice(r)].join(t)}this.isFirstChunk&&w(this._config.beforeFirstChunk)&&void 0!==(o=this._config.beforeFirstChunk(e))&&(e=o),this.isFirstChunk=!1,this._halted=!1;r=this._partialLine+e;var o=(this._partialLine="",this._handle.parse(r,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(e=o.meta.cursor,this._finished||(this._partialLine=r.substring(e-this._baseIndex),this._baseIndex=e),o&&o.data&&(this._rowCount+=o.data.length),r=this._finished||this._config.preview&&this._rowCount>=this._config.preview,i)n.postMessage({results:o,workerId:u.WORKER_ID,finished:r});else if(w(this._config.chunk)&&!t){if(this._config.chunk(o,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=o=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(o.data),this._completeResults.errors=this._completeResults.errors.concat(o.errors),this._completeResults.meta=o.meta),this._completed||!r||!w(this._config.complete)||o&&o.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),r||o&&o.meta.paused||this._nextChunk(),o}this._halted=!0},this._sendError=function(e){w(this._config.error)?this._config.error(e):i&&this._config.error&&n.postMessage({workerId:u.WORKER_ID,error:e,finished:!1})}}function s(e){var t;(e=e||{}).chunkSize||(e.chunkSize=u.RemoteChunkSize),l.call(this,e),this._nextChunk=r?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),r||(t.onload=_(this._chunkLoaded,this),t.onerror=_(this._chunkError,this)),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!r),this._config.downloadRequestHeaders){var e,n=this._config.downloadRequestHeaders;for(e in n)t.setRequestHeader(e,n[e])}var i;this._config.chunkSize&&(i=this._start+this._config.chunkSize-1,t.setRequestHeader("Range","bytes="+this._start+"-"+i));try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}r&&0===t.status&&this._chunkError()}},this._chunkLoaded=function(){4===t.readyState&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize||t.responseText.length,this._finished=!this._config.chunkSize||this._start>=(e=>null!==(e=e.getResponseHeader("Content-Range"))?parseInt(e.substring(e.lastIndexOf("/")+1)):-1)(t),this.parseChunk(t.responseText)))},this._chunkError=function(e){e=t.statusText||e,this._sendError(new Error(e))}}function c(e){(e=e||{}).chunkSize||(e.chunkSize=u.LocalChunkSize),l.call(this,e);var t,n,r="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,n=e.slice||e.webkitSlice||e.mozSlice,r?((t=new FileReader).onload=_(this._chunkLoaded,this),t.onerror=_(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var e=this._input,i=(this._config.chunkSize&&(i=Math.min(this._start+this._config.chunkSize,this._input.size),e=n.call(e,this._start,i)),t.readAsText(e,this._config.encoding));r||this._chunkLoaded({target:{result:i}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function f(e){var t;l.call(this,e=e||{}),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){var e,n;if(!this._finished)return e=this._config.chunkSize,t=e?(n=t.substring(0,e),t.substring(e)):(n=t,""),this._finished=!t,this.parseChunk(n)}}function d(e){l.call(this,e=e||{});var t=[],n=!0,r=!1;this.pause=function(){l.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){l.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){r&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):n=!0},this._streamData=_((function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}}),this),this._streamError=_((function(e){this._streamCleanUp(),this._sendError(e)}),this),this._streamEnd=_((function(){this._streamCleanUp(),r=!0,this._streamData("")}),this),this._streamCleanUp=_((function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)}),this)}function p(e){var t,n,r,i,o=Math.pow(2,53),a=-o,l=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,s=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,c=this,f=0,d=0,p=!1,g=!1,m=[],A={data:[],errors:[],meta:{}};function _(t){return"greedy"===e.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function x(){if(A&&r&&(E("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+u.DefaultDelimiter+"'"),r=!1),e.skipEmptyLines&&(A.data=A.data.filter((function(e){return!_(e)}))),b()){if(A)if(Array.isArray(A.data[0])){for(var t=0;b()&&t<A.data.length;t++)A.data[t].forEach(n);A.data.splice(0,1)}else A.data.forEach(n);function n(t,n){w(e.transformHeader)&&(t=e.transformHeader(t,n)),m.push(t)}}function i(t,n){for(var r=e.header?{}:[],i=0;i<t.length;i++){var u=i,c=t[i];c=((t,n)=>(t=>(e.dynamicTypingFunction&&void 0===e.dynamicTyping[t]&&(e.dynamicTyping[t]=e.dynamicTypingFunction(t)),!0===(e.dynamicTyping[t]||e.dynamicTyping)))(t)?"true"===n||"TRUE"===n||"false"!==n&&"FALSE"!==n&&((e=>{if(l.test(e)&&(e=parseFloat(e),a<e&&e<o))return 1})(n)?parseFloat(n):s.test(n)?new Date(n):""===n?null:n):n)(u=e.header?i>=m.length?"__parsed_extra":m[i]:u,c=e.transform?e.transform(c,u):c);"__parsed_extra"===u?(r[u]=r[u]||[],r[u].push(c)):r[u]=c}return e.header&&(i>m.length?E("FieldMismatch","TooManyFields","Too many fields: expected "+m.length+" fields but parsed "+i,d+n):i<m.length&&E("FieldMismatch","TooFewFields","Too few fields: expected "+m.length+" fields but parsed "+i,d+n)),r}var c;A&&(e.header||e.dynamicTyping||e.transform)&&(c=1,!A.data.length||Array.isArray(A.data[0])?(A.data=A.data.map(i),c=A.data.length):A.data=i(A.data,0),e.header&&A.meta&&(A.meta.fields=m),d+=c)}function b(){return e.header&&0===m.length}function E(e,t,n,r){e={type:e,code:t,message:n},void 0!==r&&(e.row=r),A.errors.push(e)}w(e.step)&&(i=e.step,e.step=function(t){A=t,b()?x():(x(),0!==A.data.length&&(f+=t.data.length,e.preview&&f>e.preview?n.abort():(A.data=A.data[0],i(A,c))))}),this.parse=function(i,o,a){var l=e.quoteChar||'"';e.newline||(e.newline=this.guessLineEndings(i,l)),r=!1,e.delimiter?w(e.delimiter)&&(e.delimiter=e.delimiter(i),A.meta.delimiter=e.delimiter):((l=((t,n,r,i,o)=>{var a,l,s,c;o=o||[",","\t","|",";",u.RECORD_SEP,u.UNIT_SEP];for(var f=0;f<o.length;f++){for(var d,p=o[f],h=0,g=0,m=0,A=(s=void 0,new v({comments:i,delimiter:p,newline:n,preview:10}).parse(t)),y=0;y<A.data.length;y++)r&&_(A.data[y])?m++:(d=A.data[y].length,g+=d,void 0===s?s=d:0<d&&(h+=Math.abs(d-s),s=d));0<A.data.length&&(g/=A.data.length-m),(void 0===l||h<=l)&&(void 0===c||c<g)&&1.99<g&&(l=h,a=p,c=g)}return{successful:!!(e.delimiter=a),bestDelimiter:a}})(i,e.newline,e.skipEmptyLines,e.comments,e.delimitersToGuess)).successful?e.delimiter=l.bestDelimiter:(r=!0,e.delimiter=u.DefaultDelimiter),A.meta.delimiter=e.delimiter),l=y(e);return e.preview&&e.header&&l.preview++,t=i,n=new v(l),A=n.parse(t,o,a),x(),p?{meta:{paused:!0}}:A||{meta:{paused:!1}}},this.paused=function(){return p},this.pause=function(){p=!0,n.abort(),t=w(e.chunk)?"":t.substring(n.getCharIndex())},this.resume=function(){c.streamer._halted?(p=!1,c.streamer.parseChunk(t,!0)):setTimeout(c.resume,3)},this.aborted=function(){return g},this.abort=function(){g=!0,n.abort(),A.meta.aborted=!0,w(e.complete)&&e.complete(A),t=""},this.guessLineEndings=function(e,t){e=e.substring(0,1048576);t=new RegExp(h(t)+"([^]*?)"+h(t),"gm");var n=(e=e.replace(t,"")).split("\r");t=e.split("\n"),e=1<t.length&&t[0].length<n[0].length;if(1===n.length||e)return"\n";for(var r=0,i=0;i<n.length;i++)"\n"===n[i][0]&&r++;return r>=n.length/2?"\r\n":"\r"}}function h(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function v(e){var t=(e=e||{}).delimiter,n=e.newline,r=e.comments,i=e.step,o=e.preview,a=e.fastMode,l=null,s=!1,c=null==e.quoteChar?'"':e.quoteChar,f=c;if(void 0!==e.escapeChar&&(f=e.escapeChar),("string"!=typeof t||-1<u.BAD_DELIMITERS.indexOf(t))&&(t=","),r===t)throw new Error("Comment character same as delimiter");!0===r?r="#":("string"!=typeof r||-1<u.BAD_DELIMITERS.indexOf(r))&&(r=!1),"\n"!==n&&"\r"!==n&&"\r\n"!==n&&(n="\n");var d=0,p=!1;this.parse=function(u,v,g){if("string"!=typeof u)throw new Error("Input must be a string");var m=u.length,A=t.length,y=n.length,_=r.length,x=w(i),b=[],E=[],C=[],S=d=0;if(!u)return O();if(a||!1!==a&&-1===u.indexOf(c)){for(var k=u.split(n),M=0;M<k.length;M++){if(C=k[M],d+=C.length,M!==k.length-1)d+=n.length;else if(g)return O();if(!r||C.substring(0,_)!==r){if(x){if(b=[],B(C.split(t)),H(),p)return O()}else B(C.split(t));if(o&&o<=M)return b=b.slice(0,o),O(!0)}}return O()}for(var T=u.indexOf(t,d),D=u.indexOf(n,d),I=new RegExp(h(f)+h(c),"g"),R=u.indexOf(c,d);;)if(u[d]===c)for(R=d,d++;;){if(-1===(R=u.indexOf(c,R+1)))return g||E.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:b.length,index:d}),F();if(R===m-1)return F(u.substring(d,R).replace(I,c));if(c===f&&u[R+1]===f)R++;else if(c===f||0===R||u[R-1]!==f){-1!==T&&T<R+1&&(T=u.indexOf(t,R+1));var N=P(-1===(D=-1!==D&&D<R+1?u.indexOf(n,R+1):D)?T:Math.min(T,D));if(u.substr(R+1+N,A)===t){C.push(u.substring(d,R).replace(I,c)),u[d=R+1+N+A]!==c&&(R=u.indexOf(c,d)),T=u.indexOf(t,d),D=u.indexOf(n,d);break}if(N=P(D),u.substring(R+1+N,R+1+N+y)===n){if(C.push(u.substring(d,R).replace(I,c)),L(R+1+N+y),T=u.indexOf(t,d),R=u.indexOf(c,d),x&&(H(),p))return O();if(o&&b.length>=o)return O(!0);break}E.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:b.length,index:d}),R++}}else if(r&&0===C.length&&u.substring(d,d+_)===r){if(-1===D)return O();d=D+y,D=u.indexOf(n,d),T=u.indexOf(t,d)}else if(-1!==T&&(T<D||-1===D))C.push(u.substring(d,T)),d=T+A,T=u.indexOf(t,d);else{if(-1===D)break;if(C.push(u.substring(d,D)),L(D+y),x&&(H(),p))return O();if(o&&b.length>=o)return O(!0)}return F();function B(e){b.push(e),S=d}function P(e){var t=0;return-1!==e&&(e=u.substring(R+1,e))&&""===e.trim()?e.length:t}function F(e){return g||(void 0===e&&(e=u.substring(d)),C.push(e),d=m,B(C),x&&H()),O()}function L(e){d=e,B(C),C=[],D=u.indexOf(n,d)}function O(r){if(e.header&&!v&&b.length&&!s){var i=b[0],o={},a=new Set(i);let t=!1;for(let n=0;n<i.length;n++){let r=i[n];if(o[r=w(e.transformHeader)?e.transformHeader(r,n):r]){let e,u=o[r];for(;e=r+"_"+u,u++,a.has(e););a.add(e),i[n]=e,o[r]++,t=!0,(l=null===l?{}:l)[e]=r}else o[r]=1,i[n]=r;a.add(r)}t&&console.warn("Duplicate headers found and renamed."),s=!0}return{data:b,errors:E,meta:{delimiter:t,linebreak:n,aborted:p,truncated:!!r,cursor:S+(v||0),renamedHeaders:l}}}function H(){i(O()),b=[],E=[]}},this.abort=function(){p=!0},this.getCharIndex=function(){return d}}function g(e){var t=e.data,n=o[t.workerId],r=!1;if(t.error)n.userError(t.error,t.file);else if(t.results&&t.results.data){var i={abort:function(){r=!0,m(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:A,resume:A};if(w(n.userStep)){for(var a=0;a<t.results.data.length&&(n.userStep({data:t.results.data[a],errors:t.results.errors,meta:t.results.meta},i),!r);a++);delete t.results}else w(n.userChunk)&&(n.userChunk(t.results,i,t.file),delete t.results)}t.finished&&!r&&m(t.workerId,t.results)}function m(e,t){var n=o[e];w(n.userComplete)&&n.userComplete(t),n.terminate(),delete o[e]}function A(){throw new Error("Not implemented.")}function y(e){if("object"!=typeof e||null===e)return e;var t,n=Array.isArray(e)?[]:{};for(t in e)n[t]=y(e[t]);return n}function _(e,t){return function(){e.apply(t,arguments)}}function w(e){return"function"==typeof e}return u.parse=function(t,r){var i=(r=r||{}).dynamicTyping||!1;if(w(i)&&(r.dynamicTypingFunction=i,i={}),r.dynamicTyping=i,r.transform=!!w(r.transform)&&r.transform,!r.worker||!u.WORKERS_SUPPORTED)return i=null,u.NODE_STREAM_INPUT,"string"==typeof t?(t=(e=>65279!==e.charCodeAt(0)?e:e.slice(1))(t),i=new(r.download?s:f)(r)):!0===t.readable&&w(t.read)&&w(t.on)?i=new d(r):(n.File&&t instanceof File||t instanceof Object)&&(i=new c(r)),i.stream(t);(i=(()=>{var t;return!!u.WORKERS_SUPPORTED&&(t=(()=>{var t=n.URL||n.webkitURL||null,r=e.toString();return u.BLOB_URL||(u.BLOB_URL=t.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",r,")();"],{type:"text/javascript"})))})(),(t=new n.Worker(t)).onmessage=g,t.id=a++,o[t.id]=t)})()).userStep=r.step,i.userChunk=r.chunk,i.userComplete=r.complete,i.userError=r.error,r.step=w(r.step),r.chunk=w(r.chunk),r.complete=w(r.complete),r.error=w(r.error),delete r.worker,i.postMessage({input:t,config:r,workerId:i.id})},u.unparse=function(e,t){var n=!1,r=!0,i=",",o="\r\n",a='"',l=a+a,s=!1,c=null,f=!1,d=((()=>{if("object"==typeof t){if("string"!=typeof t.delimiter||u.BAD_DELIMITERS.filter((function(e){return-1!==t.delimiter.indexOf(e)})).length||(i=t.delimiter),"boolean"!=typeof t.quotes&&"function"!=typeof t.quotes&&!Array.isArray(t.quotes)||(n=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(s=t.skipEmptyLines),"string"==typeof t.newline&&(o=t.newline),"string"==typeof t.quoteChar&&(a=t.quoteChar),"boolean"==typeof t.header&&(r=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw new Error("Option columns is empty");c=t.columns}void 0!==t.escapeChar&&(l=t.escapeChar+a),t.escapeFormulae instanceof RegExp?f=t.escapeFormulae:"boolean"==typeof t.escapeFormulae&&t.escapeFormulae&&(f=/^[=+\-@\t\r].*$/)}})(),new RegExp(h(a),"g"));if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return p(null,e,s);if("object"==typeof e[0])return p(c||Object.keys(e[0]),e,s)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||c),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),p(e.fields||[],e.data||[],s);throw new Error("Unable to serialize unrecognized input");function p(e,t,n){var a="",u=("string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t)),Array.isArray(e)&&0<e.length),l=!Array.isArray(t[0]);if(u&&r){for(var s=0;s<e.length;s++)0<s&&(a+=i),a+=v(e[s],s);0<t.length&&(a+=o)}for(var c=0;c<t.length;c++){var f=(u?e:t[c]).length,d=!1,p=u?0===Object.keys(t[c]).length:0===t[c].length;if(n&&!u&&(d="greedy"===n?""===t[c].join("").trim():1===t[c].length&&0===t[c][0].length),"greedy"===n&&u){for(var h=[],g=0;g<f;g++){var m=l?e[g]:g;h.push(t[c][m])}d=""===h.join("").trim()}if(!d){for(var A=0;A<f;A++){0<A&&!p&&(a+=i);var y=u&&l?e[A]:A;a+=v(t[c][y],A)}c<t.length-1&&(!n||0<f&&!p)&&(a+=o)}}return a}function v(e,t){var r,o;return null==e?"":e.constructor===Date?JSON.stringify(e).slice(1,25):(o=!1,f&&"string"==typeof e&&f.test(e)&&(e="'"+e,o=!0),r=e.toString().replace(d,l),(o=o||!0===n||"function"==typeof n&&n(e,t)||Array.isArray(n)&&n[t]||((e,t)=>{for(var n=0;n<t.length;n++)if(-1<e.indexOf(t[n]))return!0;return!1})(r,u.BAD_DELIMITERS)||-1<r.indexOf(i)||" "===r.charAt(0)||" "===r.charAt(r.length-1))?a+r+a:r)}},u.RECORD_SEP=String.fromCharCode(30),u.UNIT_SEP=String.fromCharCode(31),u.BYTE_ORDER_MARK="\ufeff",u.BAD_DELIMITERS=["\r","\n",'"',u.BYTE_ORDER_MARK],u.WORKERS_SUPPORTED=!r&&!!n.Worker,u.NODE_STREAM_INPUT=1,u.LocalChunkSize=10485760,u.RemoteChunkSize=5242880,u.DefaultDelimiter=",",u.Parser=v,u.ParserHandle=p,u.NetworkStreamer=s,u.FileStreamer=c,u.StringStreamer=f,u.ReadableStreamStreamer=d,n.jQuery&&((t=n.jQuery).fn.parse=function(e){var r=e.config||{},i=[];return this.each((function(e){if("INPUT"!==t(this).prop("tagName").toUpperCase()||"file"!==t(this).attr("type").toLowerCase()||!n.FileReader||!this.files||0===this.files.length)return!0;for(var o=0;o<this.files.length;o++)i.push({file:this.files[o],inputElem:this,instanceConfig:t.extend({},r)})})),o(),this;function o(){if(0===i.length)w(e.complete)&&e.complete();else{var n,r,o,l,s=i[0];if(w(e.before)){var c=e.before(s.file,s.inputElem);if("object"==typeof c){if("abort"===c.action)return n="AbortError",r=s.file,o=s.inputElem,l=c.reason,void(w(e.error)&&e.error({name:n},r,o,l));if("skip"===c.action)return void a();"object"==typeof c.config&&(s.instanceConfig=t.extend(s.instanceConfig,c.config))}else if("skip"===c)return void a()}var f=s.instanceConfig.complete;s.instanceConfig.complete=function(e){w(f)&&f(e,s.file,s.inputElem),a()},u.parse(s.file,s.instanceConfig)}}function a(){i.splice(0,1),o()}}),i&&(n.onmessage=function(e){e=e.data,void 0===u.WORKER_ID&&e&&(u.WORKER_ID=e.workerId),"string"==typeof e.input?n.postMessage({workerId:u.WORKER_ID,results:u.parse(e.input,e.config),finished:!0}):(n.File&&e.input instanceof File||e.input instanceof Object)&&(e=u.parse(e.input,e.config))&&n.postMessage({workerId:u.WORKER_ID,results:e,finished:!0})}),(s.prototype=Object.create(l.prototype)).constructor=s,(c.prototype=Object.create(l.prototype)).constructor=c,(f.prototype=Object.create(f.prototype)).constructor=f,(d.prototype=Object.create(l.prototype)).constructor=d,u}))},"6fad":function(e,t,n){(function(t,n){e.exports=n()})(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=141)}([function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n},function(e,t,n){e.exports=n(142)},function(e,t,n){"use strict";n.r(t),n.d(t,"__extends",(function(){return i})),n.d(t,"__assign",(function(){return o})),n.d(t,"__rest",(function(){return a})),n.d(t,"__decorate",(function(){return u})),n.d(t,"__param",(function(){return l})),n.d(t,"__metadata",(function(){return s})),n.d(t,"__awaiter",(function(){return c})),n.d(t,"__generator",(function(){return f})),n.d(t,"__createBinding",(function(){return d})),n.d(t,"__exportStar",(function(){return p})),n.d(t,"__values",(function(){return h})),n.d(t,"__read",(function(){return v})),n.d(t,"__spread",(function(){return g})),n.d(t,"__spreadArrays",(function(){return m})),n.d(t,"__spreadArray",(function(){return A})),n.d(t,"__await",(function(){return y})),n.d(t,"__asyncGenerator",(function(){return _})),n.d(t,"__asyncDelegator",(function(){return w})),n.d(t,"__asyncValues",(function(){return x})),n.d(t,"__makeTemplateObject",(function(){return b})),n.d(t,"__importStar",(function(){return C})),n.d(t,"__importDefault",(function(){return S})),n.d(t,"__classPrivateFieldGet",(function(){return k})),n.d(t,"__classPrivateFieldSet",(function(){return M}));
- /*! *****************************************************************************
- Copyright (c) Microsoft Corporation.
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted.
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
- ***************************************************************************** */
- var r=function(e,t){return r=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])},r(e,t)};function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function u(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,r){t(n,r,e)}}function s(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)}function c(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function u(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(a,u)}l((r=r.apply(e,t||[])).next())}))}function f(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(u){o=[6,u],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var d=Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function p(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||d(t,e,n)}function h(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=o.next()).done)a.push(r.value)}catch(u){i={error:u}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return a}function g(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(v(arguments[t]));return e}function m(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,u=o.length;a<u;a++,i++)r[i]=o[a];return r}function A(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function y(e){return this instanceof y?(this.v=e,this):new y(e)}function _(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||u(e,t)}))})}function u(e,t){try{l(i[e](t))}catch(n){f(o[0][3],n)}}function l(e){e.value instanceof y?Promise.resolve(e.value.v).then(s,c):f(o[0][2],e)}function s(e){u("next",e)}function c(e){u("throw",e)}function f(e,t){e(t),o.shift(),o.length&&u(o[0][0],o[0][1])}}function w(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:y(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function x(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e="function"===typeof h?h(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){t=e[n](t),i(r,o,t.done,t.value)}))}}function i(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}}function b(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var E=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e["default"]=t};function C(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&d(t,e,n);return E(t,e),t}function S(e){return e&&e.__esModule?e:{default:e}}function k(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function M(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(89)),a=r(n(4)),u=r(n(26)),l=r(n(17)),s=r(n(121)),c=r(n(27)),f=r(n(91)),d=r(n(70)),p=r(n(28)),h=r(n(57));(0,i["default"])(t,"__esModule",{value:!0}),t.DomElement=void 0;var v=n(2),g=n(6),m=[];function A(e){var t=document.createElement("div");t.innerHTML=e;var n=t.children;return g.toArray(n)}function y(e){return!!e&&(e instanceof HTMLCollection||e instanceof NodeList)}function _(e){var t=document.querySelectorAll(e);return g.toArray(t)}function w(e){var t=[],n=[];return t=(0,o["default"])(e)?e:e.split(";"),(0,a["default"])(t).call(t,(function(e){var t,r=(0,u["default"])(t=e.split(":")).call(t,(function(e){return(0,l["default"])(e).call(e)}));2===r.length&&n.push(r[0]+":"+r[1])})),n}var x=function(){function e(t){if(this.elems=[],this.length=this.elems.length,this.dataSource=new s["default"],t){if(t instanceof e)return t;var n=[],r=t instanceof Node?t.nodeType:-1;if(this.selector=t,1===r||9===r)n=[t];else if(y(t))n=g.toArray(t);else if(t instanceof Array)n=t;else if("string"===typeof t){var i,o=(0,l["default"])(i=t.replace("/\n/mg","")).call(i);n=0===(0,c["default"])(o).call(o,"<")?A(o):_(o)}var a=n.length;if(!a)return this;for(var u=0;u<a;u++)this.elems.push(n[u]);this.length=a}}return(0,i["default"])(e.prototype,"id",{get:function(){return this.elems[0].id},enumerable:!1,configurable:!0}),e.prototype.forEach=function(e){for(var t=0;t<this.length;t++){var n=this.elems[t],r=e.call(n,n,t);if(!1===r)break}return this},e.prototype.clone=function(e){var t;void 0===e&&(e=!1);var n=[];return(0,a["default"])(t=this.elems).call(t,(function(t){n.push(t.cloneNode(!!e))})),b(n)},e.prototype.get=function(e){void 0===e&&(e=0);var t=this.length;return e>=t&&(e%=t),b(this.elems[e])},e.prototype.first=function(){return this.get(0)},e.prototype.last=function(){var e=this.length;return this.get(e-1)},e.prototype.on=function(e,t,n){var r;return e?("function"===typeof t&&(n=t,t=""),(0,a["default"])(r=this).call(r,(function(r){if(t){var i=function(e){var r=e.target;r.matches(t)&&n.call(r,e)};r.addEventListener(e,i),m.push({elem:r,selector:t,fn:n,agentFn:i})}else r.addEventListener(e,n)}))):this},e.prototype.off=function(e,t,n){var r;return e?("function"===typeof t&&(n=t,t=""),(0,a["default"])(r=this).call(r,(function(r){if(t){for(var i=-1,o=0;o<m.length;o++){var a=m[o];if(a.selector===t&&a.fn===n&&a.elem===r){i=o;break}}if(-1!==i){var u=(0,f["default"])(m).call(m,i,1)[0].agentFn;r.removeEventListener(e,u)}}else r.removeEventListener(e,n)}))):this},e.prototype.attr=function(e,t){var n;return null==t?this.elems[0].getAttribute(e)||"":(0,a["default"])(n=this).call(n,(function(n){n.setAttribute(e,t)}))},e.prototype.removeAttr=function(e){var t;(0,a["default"])(t=this).call(t,(function(t){t.removeAttribute(e)}))},e.prototype.addClass=function(e){var t;return e?(0,a["default"])(t=this).call(t,(function(t){if(t.className){var n=t.className.split(/\s/);n=(0,d["default"])(n).call(n,(function(e){return!!(0,l["default"])(e).call(e)})),(0,c["default"])(n).call(n,e)<0&&n.push(e),t.className=n.join(" ")}else t.className=e})):this},e.prototype.removeClass=function(e){var t;return e?(0,a["default"])(t=this).call(t,(function(t){if(t.className){var n=t.className.split(/\s/);n=(0,d["default"])(n).call(n,(function(t){return t=(0,l["default"])(t).call(t),!(!t||t===e)})),t.className=n.join(" ")}})):this},e.prototype.hasClass=function(e){if(!e)return!1;var t=this.elems[0];if(!t.className)return!1;var n=t.className.split(/\s/);return(0,p["default"])(n).call(n,e)},e.prototype.css=function(e,t){var n,r;return r=""==t?"":e+":"+t+";",(0,a["default"])(n=this).call(n,(function(t){var n,i=(0,l["default"])(n=t.getAttribute("style")||"").call(n);if(i){var o=w(i);o=(0,u["default"])(o).call(o,(function(t){return 0===(0,c["default"])(t).call(t,e)?r:t})),""!=r&&(0,c["default"])(o).call(o,r)<0&&o.push(r),""==r&&(o=w(o)),t.setAttribute("style",o.join("; "))}else t.setAttribute("style",r)}))},e.prototype.getBoundingClientRect=function(){var e=this.elems[0];return e.getBoundingClientRect()},e.prototype.show=function(){return this.css("display","block")},e.prototype.hide=function(){return this.css("display","none")},e.prototype.children=function(){var e=this.elems[0];return e?b(e.children):null},e.prototype.childNodes=function(){var e=this.elems[0];return e?b(e.childNodes):null},e.prototype.replaceChildAll=function(e){var t=this.getNode(),n=this.elems[0];while(n.hasChildNodes())t.firstChild&&n.removeChild(t.firstChild);this.append(e)},e.prototype.append=function(e){var t;return(0,a["default"])(t=this).call(t,(function(t){(0,a["default"])(e).call(e,(function(e){t.appendChild(e)}))}))},e.prototype.remove=function(){var e;return(0,a["default"])(e=this).call(e,(function(e){if(e.remove)e.remove();else{var t=e.parentElement;t&&t.removeChild(e)}}))},e.prototype.isContain=function(e){var t=this.elems[0],n=e.elems[0];return t.contains(n)},e.prototype.getNodeName=function(){var e=this.elems[0];return e.nodeName},e.prototype.getNode=function(e){var t;return void 0===e&&(e=0),t=this.elems[e],t},e.prototype.find=function(e){var t=this.elems[0];return b(t.querySelectorAll(e))},e.prototype.text=function(e){var t;if(e)return(0,a["default"])(t=this).call(t,(function(t){t.innerHTML=e}));var n=this.elems[0];return n.innerHTML.replace(/<[^>]+>/g,(function(){return""}))},e.prototype.html=function(e){var t=this.elems[0];return e?(t.innerHTML=e,this):t.innerHTML},e.prototype.val=function(){var e,t=this.elems[0];return(0,l["default"])(e=t.value).call(e)},e.prototype.focus=function(){var e;return(0,a["default"])(e=this).call(e,(function(e){e.focus()}))},e.prototype.prev=function(){var e=this.elems[0];return b(e.previousElementSibling)},e.prototype.next=function(){var e=this.elems[0];return b(e.nextElementSibling)},e.prototype.getNextSibling=function(){var e=this.elems[0];return b(e.nextSibling)},e.prototype.parent=function(){var e=this.elems[0];return b(e.parentElement)},e.prototype.parentUntil=function(e,t){var n=t||this.elems[0];if("BODY"===n.nodeName)return null;var r=n.parentElement;return null===r?null:r.matches(e)?b(r):this.parentUntil(e,r)},e.prototype.parentUntilEditor=function(e,t,n){var r=n||this.elems[0];if(b(r).equal(t.$textContainerElem)||b(r).equal(t.$toolbarElem))return null;var i=r.parentElement;return null===i?null:i.matches(e)?b(i):this.parentUntilEditor(e,t,i)},e.prototype.equal=function(t){return t instanceof e?this.elems[0]===t.elems[0]:t instanceof HTMLElement&&this.elems[0]===t},e.prototype.insertBefore=function(e){var t,n=b(e),r=n.elems[0];return r?(0,a["default"])(t=this).call(t,(function(e){var t=r.parentNode;null===t||void 0===t||t.insertBefore(e,r)})):this},e.prototype.insertAfter=function(e){var t,n=b(e),r=n.elems[0],i=r&&r.nextSibling;return r?(0,a["default"])(t=this).call(t,(function(e){var t=r.parentNode;i?t.insertBefore(e,i):t.appendChild(e)})):this},e.prototype.data=function(e,t){if(null==t)return this.dataSource.get(e);this.dataSource.set(e,t)},e.prototype.getNodeTop=function(e){if(this.length<1)return this;var t=this.parent();return e.$textElem.equal(this)||e.$textElem.equal(t)?this:(t.prior=this,t.getNodeTop(e))},e.prototype.getOffsetData=function(){var e=this.elems[0];return{top:e.offsetTop,left:e.offsetLeft,width:e.offsetWidth,height:e.offsetHeight,parent:e.offsetParent}},e.prototype.scrollTop=function(e){var t=this.elems[0];t.scrollTo({top:e})},e}();function b(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new((0,h["default"])(x).apply(x,v.__spreadArrays([void 0],e)))}t.DomElement=x,t["default"]=b},function(e,t,n){e.exports=n(180)},function(e,t,n){"use strict";var r=n(8),i=n(71).f,o=n(101),a=n(9),u=n(40),l=n(19),s=n(16),c=function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,f,d,p,h,v,g,m,A,y=e.target,_=e.global,w=e.stat,x=e.proto,b=_?r:w?r[y]:(r[y]||{}).prototype,E=_?a:a[y]||(a[y]={}),C=E.prototype;for(p in t)n=o(_?p:y+(w?".":"#")+p,e.forced),f=!n&&b&&s(b,p),v=E[p],f&&(e.noTargetGet?(A=i(b,p),g=A&&A.value):g=b[p]),h=f&&g?g:t[p],f&&typeof v===typeof h||(m=e.bind&&f?u(h,r):e.wrap&&f?c(h):x&&"function"==typeof h?u(Function.call,h):h,(e.sham||h&&h.sham||v&&v.sham)&&l(m,"sham",!0),E[p]=m,x&&(d=y+"Prototype",s(a,d)||l(a,d,{}),a[d][p]=h,e.real&&C&&!C[p]&&l(C,p,h)))}},function(e,t,n){"use strict";var r=n(0),i=r(n(92)),o=r(n(1)),a=r(n(256)),u=r(n(45)),l=r(n(46)),s=r(n(89)),c=r(n(26));(0,o["default"])(t,"__esModule",{value:!0}),t.hexToRgb=t.getRandomCode=t.toArray=t.deepClone=t.isFunction=t.debounce=t.throttle=t.arrForEach=t.forEach=t.replaceSpecialSymbol=t.replaceHtmlSymbol=t.getRandom=t.UA=void 0;var f=n(2),d=function(){function e(){this._ua=navigator.userAgent;var e=this._ua.match(/(Edge?)\/(\d+)/);this.isOldEdge=!!(e&&"Edge"==e[1]&&(0,a["default"])(e[2])<19),this.isFirefox=!(!/Firefox\/\d+/.test(this._ua)||/Seamonkey\/\d+/.test(this._ua))}return e.prototype.isIE=function(){return"ActiveXObject"in window},e.prototype.isWebkit=function(){return/webkit/i.test(this._ua)},e}();function p(e){var t;return void 0===e&&(e=""),e+(0,u["default"])(t=Math.random().toString()).call(t,2)}function h(e){return e.replace(/</gm,"<").replace(/>/gm,">").replace(/"/gm,""").replace(/(\r\n|\r|\n)/g,"<br/>")}function v(e){return e.replace(/</gm,"<").replace(/>/gm,">").replace(/"/gm,'"')}function g(e,t){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=t(n,e[n]);if(!1===r)break}}function m(e,t){var n,r,i,o=e.length||0;for(n=0;n<o;n++)if(r=e[n],i=t.call(e,r,n),!1===i)break}function A(e,t){void 0===t&&(t=200);var n=!1;return function(){for(var r=this,i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];n||(n=!0,(0,l["default"])((function(){n=!1,e.call.apply(e,f.__spreadArrays([r],i))}),t))}}function y(e,t){void 0===t&&(t=200);var n=0;return function(){for(var r=this,i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];n&&window.clearTimeout(n),n=(0,l["default"])((function(){n=0,e.call.apply(e,f.__spreadArrays([r],i))}),t)}}function _(e){return"function"===typeof e}function w(e){if("object"!==(0,i["default"])(e)||"function"==typeof e||null===e)return e;var t;for(var n in(0,s["default"])(e)&&(t=[]),(0,s["default"])(e)||(t={}),e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=w(e[n]));return t}function x(e){return(0,u["default"])(Array.prototype).call(e)}function b(){var e;return(0,u["default"])(e=Math.random().toString(36)).call(e,-5)}function E(e){var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);if(null==t)return null;var n=(0,c["default"])(t).call(t,(function(e){return(0,a["default"])(e,16)})),r=n[1],i=n[2],o=n[3];return"rgb("+r+", "+i+", "+o+")"}t.UA=new d,t.getRandom=p,t.replaceHtmlSymbol=h,t.replaceSpecialSymbol=v,t.forEach=g,t.arrForEach=m,t.throttle=A,t.debounce=y,t.isFunction=_,t.deepClone=w,t.toArray=x,t.getRandomCode=b,t.hexToRgb=E},function(e,t,n){"use strict";var r=n(0),i=r(n(1));function o(){}(0,i["default"])(t,"__esModule",{value:!0}),t.EMPTY_P_REGEX=t.EMPTY_P_LAST_REGEX=t.EMPTY_P=t.urlRegex=t.EMPTY_FN=void 0,t.EMPTY_FN=o,t.urlRegex=/(http|ftp|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-.,@?^=%&:/~+#]*[\w\-@?^=%&/~+#])?/g,t.EMPTY_P='<p data-we-empty-p=""><br></p>',t.EMPTY_P_LAST_REGEX=/<p data-we-empty-p=""><br\/?><\/p>$/gim,t.EMPTY_P_REGEX=/<p data-we-empty-p="">/gim},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n(145))},function(e,t){e.exports={}},function(e,t,n){var r=n(8),i=n(74),o=n(16),a=n(64),u=n(76),l=n(106),s=i("wks"),c=r.Symbol,f=l?c:c&&c.withoutSetter||a;e.exports=function(e){return o(s,e)||(u&&o(c,e)?s[e]=c[e]:s[e]=f("Symbol."+e)),s[e]}},function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t,n){var r=n(9),i=n(16),o=n(93),a=n(18).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},function(e,t,n){var r=n(11);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t,n){var r=n(9);e.exports=function(e){return r[e+"Prototype"]}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){e.exports=n(192)},function(e,t,n){var r=n(14),i=n(100),o=n(25),a=n(60),u=Object.defineProperty;t.f=r?u:function(e,t,n){if(o(e),t=a(t,!0),o(n),i)try{return u(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(14),i=n(18),o=n(48);e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";var r=function(){var e;return function(){return"undefined"===typeof e&&(e=Boolean(window&&document&&document.all&&!window.atob)),e}}(),i=function(){var e={};return function(t){if("undefined"===typeof e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(r){n=null}e[t]=n}return e[t]}}(),o=[];function a(e){for(var t=-1,n=0;n<o.length;n++)if(o[n].identifier===e){t=n;break}return t}function u(e,t){for(var n={},r=[],i=0;i<e.length;i++){var u=e[i],l=t.base?u[0]+t.base:u[0],s=n[l]||0,c="".concat(l," ").concat(s);n[l]=s+1;var f=a(c),d={css:u[1],media:u[2],sourceMap:u[3]};-1!==f?(o[f].references++,o[f].updater(d)):o.push({identifier:c,updater:v(d,t),references:1}),r.push(c)}return r}function l(e){var t=document.createElement("style"),r=e.attributes||{};if("undefined"===typeof r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"===typeof e.insert)e.insert(t);else{var a=i(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}function s(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}var c=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function f(e,t,n,r){var i=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=c(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function d(e,t,n){var r=n.css,i=n.media,o=n.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),o&&"undefined"!==typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var p=null,h=0;function v(e,t){var n,r,i;if(t.singleton){var o=h++;n=p||(p=l(t)),r=f.bind(null,n,o,!1),i=f.bind(null,n,o,!0)}else n=l(t),r=d.bind(null,n,t),i=function(){s(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}e.exports=function(e,t){t=t||{},t.singleton||"boolean"===typeof t.singleton||(t.singleton=r()),e=e||[];var n=u(e,t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var i=n[r],l=a(i);o[l].references--}for(var s=u(e,t),c=0;c<n.length;c++){var f=n[c],d=a(f);0===o[d].references&&(o[d].updater(),o.splice(d,1))}n=s}}}},function(e,t,n){"use strict";function r(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"===typeof btoa){var o=i(r),a=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(a).concat([o]).join("\n")}return[n].join("\n")}function i(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(n," */")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=r(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"===typeof e&&(e=[[null,e,""]]);var i={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var u=0;u<e.length;u++){var l=[].concat(e[u]);r&&i[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},function(e,t,n){var r=n(14),i=n(11),o=n(16),a=Object.defineProperty,u={},l=function(e){throw e};e.exports=function(e,t){if(o(u,e))return u[e];t||(t={});var n=[][e],s=!!o(t,"ACCESSORS")&&t.ACCESSORS,c=o(t,0)?t[0]:l,f=o(t,1)?t[1]:void 0;return u[e]=!!n&&!i((function(){if(s&&!r)return!0;var e={length:-1};s?a(e,1,{enumerable:!0,get:l}):e[1]=1,n.call(e,c,f)}))}},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=o.__importDefault(n(95)),u=function(e){function t(t,n){return e.call(this,t,n)||this}return o.__extends(t,e),t}(a["default"]);t["default"]=u},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4)),a=r(n(46));(0,i["default"])(t,"__esModule",{value:!0});var u=n(2),l=u.__importDefault(n(3)),s=u.__importDefault(n(95)),c=u.__importDefault(n(134)),f=function(e){function t(t,n,r){var i=e.call(this,t,n)||this;r.title=n.i18next.t("menus.dropListMenu."+r.title);var u,s="zh-CN"===n.config.lang?"":"w-e-drop-list-tl";""!==s&&"list"===r.type&&(0,o["default"])(u=r.list).call(u,(function(e){var t=e.$elem,n=l["default"](t.children());if(n.length>0){var r=null===n||void 0===n?void 0:n.getNodeName();r&&"I"===r&&t.addClass(s)}}));var f=new c["default"](i,r);return i.dropList=f,t.on("click",(function(){var e;null!=n.selection.getRange()&&(t.css("z-index",n.zIndex.get("menu")),(0,o["default"])(e=n.txt.eventHooks.dropListMenuHoverEvents).call(e,(function(e){return e()})),f.show())})).on("mouseleave",(function(){t.css("z-index","auto"),f.hideTimeoutId=(0,a["default"])((function(){f.hide()}))})),i}return u.__extends(t,e),t}(s["default"]);t["default"]=f},function(e,t,n){var r=n(13);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){e.exports=n(188)},function(e,t,n){e.exports=n(201)},function(e,t,n){e.exports=n(213)},function(e,t,n){e.exports=n(283)},function(e,t,n){var r=n(72),i=n(49);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(49);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(40),i=n(72),o=n(31),a=n(35),u=n(88),l=[].push,s=function(e){var t=1==e,n=2==e,s=3==e,c=4==e,f=6==e,d=5==e||f;return function(p,h,v,g){for(var m,A,y=o(p),_=i(y),w=r(h,v,3),x=a(_.length),b=0,E=g||u,C=t?E(p,x):n?E(p,0):void 0;x>b;b++)if((d||b in _)&&(m=_[b],A=w(m,b,y),e))if(t)C[b]=A;else if(A)switch(e){case 3:return!0;case 5:return m;case 6:return b;case 2:l.call(C,m)}else if(c)return!1;return f?-1:s||c?c:C}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6)}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4)),a=r(n(29)),u=r(n(132));(0,i["default"])(t,"__esModule",{value:!0});var l=n(2),s=l.__importDefault(n(3)),c=n(7),f=function(){function e(t,n){this.menu=t,this.conf=n,this.$container=s["default"]('<div class="w-e-panel-container"></div>');var r=t.editor;r.txt.eventHooks.clickEvents.push(e.hideCurAllPanels),r.txt.eventHooks.toolbarClickEvents.push(e.hideCurAllPanels),r.txt.eventHooks.dropListMenuHoverEvents.push(e.hideCurAllPanels)}return e.prototype.create=function(){var t=this,n=this.menu;if(!e.createdMenus.has(n)){var r=this.conf,i=this.$container,u=r.width||300,f=n.editor.$toolbarElem.getBoundingClientRect(),d=n.$elem.getBoundingClientRect(),p=f.height+f.top-d.top,h=(f.width-u)/2+f.left-d.left,v=300;Math.abs(h)>v&&(h=d.left<document.documentElement.clientWidth/2?-d.width/2:-u+d.width/2),i.css("width",u+"px").css("margin-top",p+"px").css("margin-left",h+"px").css("z-index",n.editor.zIndex.get("panel"));var g=s["default"]('<i class="w-e-icon-close w-e-panel-close"></i>');i.append(g),g.on("click",(function(){t.remove()}));var m=s["default"]('<ul class="w-e-panel-tab-title"></ul>'),A=s["default"]('<div class="w-e-panel-tab-content"></div>');i.append(m).append(A);var y=r.height;y&&A.css("height",y+"px").css("overflow-y","auto");var _=r.tabs||[],w=[],x=[];(0,o["default"])(_).call(_,(function(e,t){if(e){var n=e.title||"",r=e.tpl||"",i=s["default"]('<li class="w-e-item">'+n+"</li>");m.append(i);var a=s["default"](r);A.append(a),w.push(i),x.push(a),0===t?(i.data("active",!0),i.addClass("w-e-active")):a.hide(),i.on("click",(function(){i.data("active")||((0,o["default"])(w).call(w,(function(e){e.data("active",!1),e.removeClass("w-e-active")})),(0,o["default"])(x).call(x,(function(e){e.hide()})),i.data("active",!0),i.addClass("w-e-active"),a.show())}))}})),i.on("click",(function(e){e.stopPropagation()})),n.$elem.append(i),r.setLinkValue&&r.setLinkValue(i,"text"),r.setLinkValue&&r.setLinkValue(i,"link"),(0,o["default"])(_).call(_,(function(e,n){if(e){var r=e.events||[];(0,o["default"])(r).call(r,(function(e){var r,i=e.selector,o=e.type,u=e.fn||c.EMPTY_FN,s=x[n],f=null!==(r=e.bindEnter)&&void 0!==r&&r,d=function(e){return l.__awaiter(t,void 0,void 0,(function(){var t;return l.__generator(this,(function(n){switch(n.label){case 0:return e.stopPropagation(),[4,u(e)];case 1:return t=n.sent(),t&&this.remove(),[2]}}))}))};(0,a["default"])(s).call(s,i).on(o,d),f&&"click"===o&&s.on("keyup",(function(e){13==e.keyCode&&d(e)}))}))}}));var b=(0,a["default"])(i).call(i,"input[type=text],textarea");b.length&&b.get(0).focus(),e.hideCurAllPanels(),n.setPanel(this),e.createdMenus.add(n)}},e.prototype.remove=function(){var t=this.menu,n=this.$container;n&&n.remove(),e.createdMenus["delete"](t)},e.hideCurAllPanels=function(){var t;0!==e.createdMenus.size&&(0,o["default"])(t=e.createdMenus).call(t,(function(e){var t=e.panel;t&&t.remove()}))},e.createdMenus=new u["default"],e}();t["default"]=f},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(62),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(9),i=n(8),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},function(e,t,n){var r=n(81),i=n(18).f,o=n(19),a=n(16),u=n(170),l=n(10),s=l("toStringTag");e.exports=function(e,t,n,l){if(e){var c=n?e:e.prototype;a(c,s)||i(c,s,{configurable:!0,value:t}),l&&!r&&o(c,"toString",u)}}},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=o.__importDefault(n(95)),u=function(e){function t(t,n){return e.call(this,t,n)||this}return o.__extends(t,e),t.prototype.setPanel=function(e){this.panel=e},t}(a["default"]);t["default"]=u},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4)),a=r(n(57));(0,i["default"])(t,"__esModule",{value:!0});var u=n(2),l=u.__importDefault(n(3)),s=function(){function e(e,t,n){this.editor=e,this.$targetElem=t,this.conf=n,this._show=!1,this._isInsertTextContainer=!1;var r=l["default"]("<div></div>");r.addClass("w-e-tooltip"),this.$container=r}return e.prototype.getPositionData=function(){var e=this.$container,t=0,n=0,r=20,i=document.documentElement.scrollTop,o=this.$targetElem.getBoundingClientRect(),a=this.editor.$textElem.getBoundingClientRect(),u=this.$targetElem.getOffsetData(),s=l["default"](u.parent),c=this.editor.$textElem.elems[0].scrollTop;if(this._isInsertTextContainer=s.equal(this.editor.$textContainerElem),this._isInsertTextContainer){var f=s.getBoundingClientRect().height,d=u.top,p=u.left,h=u.height,v=d-c;v>r+5?(t=v-r-15,e.addClass("w-e-tooltip-up")):v+h+r<f?(t=v+h+10,e.addClass("w-e-tooltip-down")):(t=(v>0?v:0)+r+10,e.addClass("w-e-tooltip-down")),n=p<0?0:p}else o.top<r||o.top-a.top<r?(t=o.bottom+i+5,e.addClass("w-e-tooltip-down")):(t=o.top+i-r-15,e.addClass("w-e-tooltip-up")),n=o.left<0?0:o.left;return{top:t,left:n}},e.prototype.appendMenus=function(){var e=this,t=this.conf,n=this.editor,r=this.$targetElem,i=this.$container;(0,o["default"])(t).call(t,(function(t,o){var a=t.$elem,u=l["default"]("<div></div>");u.addClass("w-e-tooltip-item-wrapper "),u.append(a),i.append(u),a.on("click",(function(i){i.preventDefault();var o=t.onClick(n,r);o&&e.remove()}))}))},e.prototype.create=function(){var e,t,n=this.editor,r=this.$container;this.appendMenus();var i=this.getPositionData(),o=i.top,u=i.left;r.css("top",o+"px"),r.css("left",u+"px"),r.css("z-index",n.zIndex.get("tooltip")),this._isInsertTextContainer?this.editor.$textContainerElem.append(r):l["default"]("body").append(r),this._show=!0,n.beforeDestroy((0,a["default"])(e=this.remove).call(e,this)),n.txt.eventHooks.onBlurEvents.push((0,a["default"])(t=this.remove).call(t,this))},e.prototype.remove=function(){this.$container.remove(),this._show=!1},(0,i["default"])(e.prototype,"isShow",{get:function(){return this._show},enumerable:!1,configurable:!0}),e}();t["default"]=s},function(e,t,n){var r=n(41);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,n){var r,i,o,a=n(165),u=n(8),l=n(13),s=n(19),c=n(16),f=n(63),d=n(51),p=u.WeakMap,h=function(e){return o(e)?i(e):r(e,{})},v=function(e){return function(t){var n;if(!l(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(a){var g=new p,m=g.get,A=g.has,y=g.set;r=function(e,t){return y.call(g,e,t),t},i=function(e){return m.call(g,e)||{}},o=function(e){return A.call(g,e)}}else{var _=f("state");d[_]=!0,r=function(e,t){return s(e,_,t),t},i=function(e){return c(e,_)?e[_]:{}},o=function(e){return c(e,_)}}e.exports={set:r,get:i,has:o,enforce:h,getterFor:v}},function(e,t){e.exports=!0},function(e,t){e.exports={}},function(e,t,n){e.exports=n(261)},function(e,t,n){e.exports=n(265)},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i["default"])(t,"__esModule",{value:!0}),t.createElementFragment=t.createDocumentFragment=t.createElement=t.insertBefore=t.getEndPoint=t.getStartPoint=t.updateRange=t.filterSelectionNodes=void 0;var a=n(2),u=n(137),l=a.__importDefault(n(3));function s(e){var t=[];return(0,o["default"])(e).call(e,(function(e){var n=e.getNodeName();if(n!==u.ListType.OrderedList&&n!==u.ListType.UnorderedList)t.push(e);else if(e.prior)t.push(e.prior);else{var r=e.children();null===r||void 0===r||(0,o["default"])(r).call(r,(function(e){t.push(l["default"](e))}))}})),t}function c(e,t,n){var r=e.selection,i=document.createRange();t.length>1?(i.setStart(t.elems[0],0),i.setEnd(t.elems[t.length-1],t.elems[t.length-1].childNodes.length)):i.selectNodeContents(t.elems[0]),n&&i.collapse(!1),r.saveRange(i),r.restoreSelection()}function f(e){var t;return e.prior?e.prior:l["default"](null===(t=e.children())||void 0===t?void 0:t.elems[0])}function d(e){var t;return e.prior?e.prior:l["default"](null===(t=e.children())||void 0===t?void 0:t.last().elems[0])}function p(e,t,n){void 0===n&&(n=null),e.parent().elems[0].insertBefore(t,n)}function h(e){return document.createElement(e)}function v(){return document.createDocumentFragment()}function g(e,t,n){return void 0===n&&(n="li"),(0,o["default"])(e).call(e,(function(e){var r=h(n);r.innerHTML=e.html(),t.appendChild(r),e.remove()})),t}t.filterSelectionNodes=s,t.updateRange=c,t.getStartPoint=f,t.getEndPoint=d,t.insertBefore=p,t.createElement=h,t.createDocumentFragment=v,t.createElementFragment=g},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){"use strict";var r=n(164).charAt,i=n(42),o=n(75),a="String Iterator",u=i.set,l=i.getterFor(a);o(String,"String",(function(e){u(this,{type:a,string:String(e),index:0})}),(function(){var e,t=l(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=r(n,i),t.index+=e.length,{value:e,done:!1})}))},function(e,t){e.exports={}},function(e,t,n){var r=n(107),i=n(80);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){var r=n(19);e.exports=function(e,t,n,i){i&&i.enumerable?e[t]=n:r(e,t,n)}},function(e,t,n){n(173);var r=n(174),i=n(8),o=n(65),a=n(19),u=n(44),l=n(10),s=l("toStringTag");for(var c in r){var f=i[c],d=f&&f.prototype;d&&o(d)!==s&&a(d,s,c),u[c]=u.Array}},function(e,t,n){var r=n(34);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(11),i=n(10),o=n(86),a=i("species");e.exports=function(e){return o>=51||!r((function(){var t=[],n=t.constructor={};return n[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,n){e.exports=n(222)},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0}),t.ListHandle=void 0;var o=n(2),a=o.__importDefault(n(373)),u=function(){function e(e){this.options=e,this.selectionRangeElem=new a["default"]}return e}();t.ListHandle=u},function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},function(e,t,n){var r=n(13);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(74),i=n(64),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t,n){var r=n(81),i=n(34),o=n(10),a=o("toStringTag"),u="Arguments"==i(function(){return arguments}()),l=function(e,t){try{return e[t]}catch(n){}};e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=l(t=Object(e),a))?n:u?i(t):"Object"==(r=i(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n){var r=n(25),i=n(112),o=n(35),a=n(40),u=n(113),l=n(114),s=function(e,t){this.stopped=e,this.result=t},c=e.exports=function(e,t,n,c,f){var d,p,h,v,g,m,A,y=a(t,n,c?2:1);if(f)d=e;else{if(p=u(e),"function"!=typeof p)throw TypeError("Target is not iterable");if(i(p)){for(h=0,v=o(e.length);v>h;h++)if(g=c?y(r(A=e[h])[0],A[1]):y(e[h]),g&&g instanceof s)return g;return new s(!1)}d=p.call(e)}m=d.next;while(!(A=m.call(d)).done)if(g=l(d,y,A.value,c),"object"==typeof g&&g&&g instanceof s)return g;return new s(!1)};c.stop=function(e){return new s(!0,e)}},function(e,t,n){"use strict";var r=n(11);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(e,t,n){"use strict";var r=n(60),i=n(18),o=n(48);e.exports=function(e,t,n){var a=r(t);a in e?i.f(e,a,o(0,n)):e[a]=n}},function(e,t,n){e.exports=n(209)},function(e,t,n){var r=n(14),i=n(59),o=n(48),a=n(30),u=n(60),l=n(16),s=n(100),c=Object.getOwnPropertyDescriptor;t.f=r?c:function(e,t){if(e=a(e),t=u(t,!0),s)try{return c(e,t)}catch(n){}if(l(e,t))return o(!i.f.call(e,t),e[t])}},function(e,t,n){var r=n(11),i=n(34),o="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},function(e,t,n){var r=n(8),i=n(13),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},function(e,t,n){var r=n(43),i=n(103);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.4",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){"use strict";var r=n(5),i=n(167),o=n(105),a=n(171),u=n(37),l=n(19),s=n(53),c=n(10),f=n(43),d=n(44),p=n(104),h=p.IteratorPrototype,v=p.BUGGY_SAFARI_ITERATORS,g=c("iterator"),m="keys",A="values",y="entries",_=function(){return this};e.exports=function(e,t,n,c,p,w,x){i(n,t,c);var b,E,C,S=function(e){if(e===p&&I)return I;if(!v&&e in T)return T[e];switch(e){case m:return function(){return new n(this,e)};case A:return function(){return new n(this,e)};case y:return function(){return new n(this,e)}}return function(){return new n(this)}},k=t+" Iterator",M=!1,T=e.prototype,D=T[g]||T["@@iterator"]||p&&T[p],I=!v&&D||S(p),R="Array"==t&&T.entries||D;if(R&&(b=o(R.call(new e)),h!==Object.prototype&&b.next&&(f||o(b)===h||(a?a(b,h):"function"!=typeof b[g]&&l(b,g,_)),u(b,k,!0,!0),f&&(d[k]=_))),p==A&&D&&D.name!==A&&(M=!0,I=function(){return D.call(this)}),f&&!x||T[g]===I||l(T,g,I),d[t]=I,p)if(E={values:S(A),keys:w?I:S(m),entries:S(y)},x)for(C in E)(v||M||!(C in T))&&s(T,C,E[C]);else r({target:t,proto:!0,forced:v||M},E);return E}},function(e,t,n){var r=n(11);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},function(e,t,n){var r,i=n(25),o=n(169),a=n(80),u=n(51),l=n(108),s=n(73),c=n(63),f=">",d="<",p="prototype",h="script",v=c("IE_PROTO"),g=function(){},m=function(e){return d+h+f+e+d+"/"+h+f},A=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){var e,t=s("iframe"),n="java"+h+":";return t.style.display="none",l.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(m("document.F=Object")),e.close(),e.F},_=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}_=r?A(r):y();var e=a.length;while(e--)delete _[p][a[e]];return _()};u[v]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(g[p]=i(e),n=new g,g[p]=null,n[v]=e):n=_(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(30),i=n(35),o=n(79),a=function(e){return function(t,n,a){var u,l=r(t),s=i(l.length),c=o(a,s);if(e&&n!=n){while(s>c)if(u=l[c++],u!=u)return!0}else for(;s>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){var r=n(62),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,n){var r=n(10),i=r("toStringTag"),o={};o[i]="z",e.exports="[object z]"===String(o)},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},function(e,t,n){var r=n(36);e.exports=r("navigator","userAgent")||""},function(e,t,n){"use strict";var r=n(41),i=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new i(e)}},function(e,t,n){var r,i,o=n(8),a=n(84),u=o.process,l=u&&u.versions,s=l&&l.v8;s?(r=s.split("."),i=r[0]+r[1]):a&&(r=a.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/),r&&(i=r[1]))),e.exports=i&&+i},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),u=a.__importDefault(n(3)),l=n(6),s=a.__importDefault(n(267)),c=a.__importDefault(n(280)),f=a.__importDefault(n(281)),d=a.__importDefault(n(282)),p=a.__importDefault(n(301)),h=a.__importStar(n(416)),v=a.__importDefault(n(417)),g=a.__importDefault(n(418)),m=a.__importDefault(n(419)),A=a.__importStar(n(420)),y=a.__importDefault(n(423)),_=a.__importDefault(n(424)),w=a.__importDefault(n(425)),x=a.__importDefault(n(427)),b=a.__importDefault(n(437)),E=a.__importDefault(n(440)),C=a.__importStar(n(441)),S=a.__importDefault(n(23)),k=a.__importDefault(n(134)),M=a.__importDefault(n(24)),T=a.__importDefault(n(33)),D=a.__importDefault(n(38)),I=a.__importDefault(n(39)),R=1,N=function(){function e(e,t){this.pluginsFunctionList={},this.beforeDestroyHooks=[],this.id="wangEditor-"+R++,this.toolbarSelector=e,this.textSelector=t,h.selectorValidator(this),this.config=l.deepClone(s["default"]),this.$toolbarElem=u["default"]("<div></div>"),this.$textContainerElem=u["default"]("<div></div>"),this.$textElem=u["default"]("<div></div>"),this.toolbarElemId="",this.textElemId="",this.isFocus=!1,this.isComposing=!1,this.isCompatibleMode=!1,this.selection=new c["default"](this),this.cmd=new f["default"](this),this.txt=new d["default"](this),this.menus=new p["default"](this),this.zIndex=new _["default"],this.change=new w["default"](this),this.history=new x["default"](this),this.onSelectionChange=new E["default"](this);var n=b["default"](this),r=n.disable,i=n.enable;this.disable=r,this.enable=i,this.isEnable=!0}return e.prototype.initSelection=function(e){v["default"](this,e)},e.prototype.create=function(){this.zIndex.init(this),this.isCompatibleMode=this.config.compatibleMode(),this.isCompatibleMode||(this.config.onchangeTimeout=30),m["default"](this),h["default"](this),this.txt.init(),this.menus.init(),A["default"](this),this.initSelection(!0),g["default"](this),this.change.observe(),this.history.observe(),C["default"](this)},e.prototype.beforeDestroy=function(e){return this.beforeDestroyHooks.push(e),this},e.prototype.destroy=function(){var e,t=this;(0,o["default"])(e=this.beforeDestroyHooks).call(e,(function(e){return e.call(t)})),this.$toolbarElem.remove(),this.$textContainerElem.remove()},e.prototype.fullScreen=function(){A.setFullScreen(this)},e.prototype.unFullScreen=function(){A.setUnFullScreen(this)},e.prototype.scrollToHead=function(e){y["default"](this,e)},e.registerMenu=function(t,n){n&&"function"===typeof n&&(e.globalCustomMenuConstructorList[t]=n)},e.prototype.registerPlugin=function(e,t){C.registerPlugin(e,t,this.pluginsFunctionList)},e.registerPlugin=function(t,n){C.registerPlugin(t,n,e.globalPluginsFunctionList)},e.$=u["default"],e.BtnMenu=S["default"],e.DropList=k["default"],e.DropListMenu=M["default"],e.Panel=T["default"],e.PanelMenu=D["default"],e.Tooltip=I["default"],e.globalCustomMenuConstructorList={},e.globalPluginsFunctionList={},e}();t["default"]=N},function(e,t,n){var r=n(13),i=n(55),o=n(10),a=o("species");e.exports=function(e,t){var n;return i(e)&&(n=e.constructor,"function"!=typeof n||n!==Array&&!i(n.prototype)?r(n)&&(n=n[a],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},function(e,t,n){e.exports=n(185)},function(e,t,n){var r=n(49),i=n(68),o="["+i+"]",a=RegExp("^"+o+o+"*"),u=RegExp(o+o+"*$"),l=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(a,"")),2&e&&(n=n.replace(u,"")),n}};e.exports={start:l(1),end:l(2),trim:l(3)}},function(e,t,n){e.exports=n(205)},function(e,t,n){var r=n(227),i=n(230);function o(t){return e.exports=o="function"===typeof i&&"symbol"===typeof r?function(e){return typeof e}:function(e){return e&&"function"===typeof i&&e.constructor===i&&e!==i.prototype?"symbol":typeof e},o(t)}e.exports=o},function(e,t,n){var r=n(10);t.f=r},function(e,t,n){e.exports=n(306)},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),u=a.__importDefault(n(33)),l=function(){function e(e,t){var n=this;this.$elem=e,this.editor=t,this._active=!1,e.on("click",(function(e){var r;u["default"].hideCurAllPanels(),(0,o["default"])(r=t.txt.eventHooks.menuClickEvents).call(r,(function(e){return e()})),e.stopPropagation(),null!=t.selection.getRange()&&n.clickHandler(e)}))}return e.prototype.clickHandler=function(e){},e.prototype.active=function(){this._active=!0,this.$elem.addClass("w-e-active")},e.prototype.unActive=function(){this._active=!1,this.$elem.removeClass("w-e-active")},(0,i["default"])(e.prototype,"isActive",{get:function(){return this._active},enumerable:!1,configurable:!0}),e}();t["default"]=l},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(28));function a(e){var n=e.elems[0];while(n&&(0,o["default"])(r=t.EXTRA_TAG).call(r,n.nodeName)){var r;if(n=n.parentElement,"A"===n.nodeName)return n}}function u(e){var t,n=e.selection.getSelectionContainerElem();if(!(null===(t=null===n||void 0===n?void 0:n.elems)||void 0===t?void 0:t.length))return!1;if("A"===n.getNodeName())return!0;var r=a(n);return!(!r||"A"!==r.nodeName)}(0,i["default"])(t,"__esModule",{value:!0}),t.getParentNodeA=t.EXTRA_TAG=void 0,t.EXTRA_TAG=["B","FONT","I","STRIKE"],t.getParentNodeA=a,t["default"]=u},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(57)),a=r(n(4)),u=r(n(27));(0,i["default"])(t,"__esModule",{value:!0});var l=n(2),s=n(6),c=l.__importDefault(n(135)),f=l.__importDefault(n(136)),d=function(){function e(e){this.editor=e}return e.prototype.insertImg=function(e,t,n){var r=this.editor,i=r.config,o="validate.",a=function(e,t){return void 0===t&&(t=o),r.i18next.t(t+e)},u=e.replace(/</g,"<").replace(/>/g,">");u=u.replace("'",'"');var l="";n&&(l=n.replace("'",'"'),l="data-href='"+encodeURIComponent(l)+"' ");var s="";t&&(s=t.replace(/</g,"<").replace(/>/g,">"),s=s.replace("'",'"'),s="alt='"+s+"' "),r.cmd["do"]("insertHTML","<img src='"+u+"' "+s+l+'style="max-width:100%;" contenteditable="false"/>'),i.linkImgCallback(e,t,n);var c=document.createElement("img");c.onload=function(){c=null},c.onerror=function(){i.customAlert(a("插入图片错误"),"error","wangEditor: "+a("插入图片错误")+","+a("图片链接")+' "'+e+'",'+a("下载链接失败")),c=null},c.onabort=function(){return c=null},c.src=e},e.prototype.uploadImg=function(e){var t=this;if(e.length){var n=this.editor,r=n.config,i="validate.",l=function(e){return n.i18next.t(i+e)},d=r.uploadImgServer,p=r.uploadImgShowBase64,h=r.uploadImgMaxSize,v=h/1024/1024,g=r.uploadImgMaxLength,m=r.uploadFileName,A=r.uploadImgParams,y=r.uploadImgParamsWithUrl,_=r.uploadImgHeaders,w=r.uploadImgHooks,x=r.uploadImgTimeout,b=r.withCredentials,E=r.customUploadImg;if(E||d||p){var C=[],S=[];if(s.arrForEach(e,(function(e){if(e){var t=e.name||e.type.replace("/","."),r=e.size;if(t&&r){var i=n.config.uploadImgAccept.join("|"),o=".("+i+")$",a=new RegExp(o,"i");!1!==a.test(t)?h<r?S.push("【"+t+"】"+l("大于")+" "+v+"M"):C.push(e):S.push("【"+t+"】"+l("不是图片"))}}})),S.length)r.customAlert(l("图片验证未通过")+": \n"+S.join("\n"),"warning");else if(0!==C.length)if(C.length>g)r.customAlert(l("一次最多上传")+g+l("张图片"),"warning");else if(E&&"function"===typeof E){var k;E(C,(0,o["default"])(k=this.insertImg).call(k,this))}else{var M=new FormData;if((0,a["default"])(C).call(C,(function(e,t){var n=m||e.name;C.length>1&&(n+=t+1),M.append(n,e)})),d){var T=d.split("#");d=T[0];var D=T[1]||"";(0,a["default"])(s).call(s,A,(function(e,t){y&&((0,u["default"])(d).call(d,"?")>0?d+="&":d+="?",d=d+e+"="+t),M.append(e,t)})),D&&(d+="#"+D);var I=c["default"](d,{timeout:x,formData:M,headers:_,withCredentials:!!b,beforeSend:function(e){if(w.before)return w.before(e,n,C)},onTimeout:function(e){r.customAlert(l("上传图片超时"),"error"),w.timeout&&w.timeout(e,n)},onProgress:function(e,t){var r=new f["default"](n);t.lengthComputable&&(e=t.loaded/t.total,r.show(e))},onError:function(e){r.customAlert(l("上传图片错误"),"error",l("上传图片错误")+","+l("服务器返回状态")+": "+e.status),w.error&&w.error(e,n)},onFail:function(e,t){r.customAlert(l("上传图片失败"),"error",l("上传图片返回结果错误")+","+l("返回结果")+": "+t),w.fail&&w.fail(e,n,t)},onSuccess:function(e,i){if(w.customInsert){var u;w.customInsert((0,o["default"])(u=t.insertImg).call(u,t),i,n)}else{if("0"!=i.errno)return r.customAlert(l("上传图片失败"),"error",l("上传图片返回结果错误")+","+l("返回结果")+" errno="+i.errno),void(w.fail&&w.fail(e,n,i));var s=i.data;(0,a["default"])(s).call(s,(function(e){"string"===typeof e?t.insertImg(e):t.insertImg(e.url,e.alt,e.href)})),w.success&&w.success(e,n,i)}}});"string"===typeof I&&r.customAlert(I,"error")}else p&&s.arrForEach(e,(function(e){var n=t,r=new FileReader;r.readAsDataURL(e),r.onload=function(){if(this.result){var e=this.result.toString();n.insertImg(e,e)}}}))}else r.customAlert(l("传入的文件不合法"),"warning")}}},e}();t["default"]=d},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(410)),a=r(n(4)),u=r(n(45));function l(e){return!!e.length&&"w-e-todo"===e.attr("class")}function s(e){var t=e.selection.getSelectionRangeTopNodes();if(0!==t.length)return(0,o["default"])(t).call(t,(function(e){return l(e)}))}function c(e,t,n){var r;if(e.hasChildNodes()){var i=e.cloneNode(),o=!1;""===t.nodeValue&&(o=!0);var u=[];return(0,a["default"])(r=e.childNodes).call(r,(function(e){if(!f(e,t)&&o&&(i.appendChild(e.cloneNode(!0)),"BR"!==e.nodeName&&u.push(e)),f(e,t)){if(1===e.nodeType){var r=c(e,t,n);r&&""!==r.textContent&&(null===i||void 0===i||i.appendChild(r))}if(3===e.nodeType&&t.isEqualNode(e)){var a=d(e,n);i.textContent=a}o=!0}})),(0,a["default"])(u).call(u,(function(e){var t=e;t.remove()})),i}}function f(e,t){return 3===e.nodeType?e.nodeValue===t.nodeValue:e.contains(t)}function d(e,t,n){void 0===n&&(n=!0);var r=e.nodeValue,i=null===r||void 0===r?void 0:(0,u["default"])(r).call(r,0,t);if(r=null===r||void 0===r?void 0:(0,u["default"])(r).call(r,t),!n){var o=r;r=i,i=o}return e.nodeValue=i,r}(0,i["default"])(t,"__esModule",{value:!0}),t.dealTextNode=t.isAllTodo=t.isTodo=t.getCursorNextNode=void 0,t.isTodo=l,t.isAllTodo=s,t.getCursorNextNode=c,t.dealTextNode=d},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(430),a=function(){function e(e){this.maxSize=e,this.isRe=!1,this.data=new o.CeilStack(e),this.revokeData=new o.CeilStack(e)}return(0,i["default"])(e.prototype,"size",{get:function(){return[this.data.size,this.revokeData.size]},enumerable:!1,configurable:!0}),e.prototype.resetMaxSize=function(e){this.data.resetMax(e),this.revokeData.resetMax(e)},e.prototype.save=function(e){return this.isRe&&(this.revokeData.clear(),this.isRe=!1),this.data.instack(e),this},e.prototype.revoke=function(e){!this.isRe&&(this.isRe=!0);var t=this.data.outstack();return!!t&&(this.revokeData.instack(t),e(t),!0)},e.prototype.restore=function(e){!this.isRe&&(this.isRe=!0);var t=this.revokeData.outstack();return!!t&&(this.data.instack(t),e(t),!0)},e}();t["default"]=a},function(e,t,n){var r=n(14),i=n(11),o=n(73);e.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(11),i=/#|\.prototype\./,o=function(e,t){var n=u[a(e)];return n==s||n!=l&&("function"==typeof t?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},u=o.data={},l=o.NATIVE="N",s=o.POLYFILL="P";e.exports=o},function(e,t,n){var r=n(103),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return i.call(e)}),e.exports=r.inspectSource},function(e,t,n){var r=n(8),i=n(166),o="__core-js_shared__",a=r[o]||i(o,{});e.exports=a},function(e,t,n){"use strict";var r,i,o,a=n(105),u=n(19),l=n(16),s=n(10),c=n(43),f=s("iterator"),d=!1,p=function(){return this};[].keys&&(o=[].keys(),"next"in o?(i=a(a(o)),i!==Object.prototype&&(r=i)):d=!0),void 0==r&&(r={}),c||l(r,f)||u(r,f,p),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},function(e,t,n){var r=n(16),i=n(31),o=n(63),a=n(168),u=o("IE_PROTO"),l=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=i(e),r(e,u)?e[u]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},function(e,t,n){var r=n(76);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){var r=n(16),i=n(30),o=n(78).indexOf,a=n(51);e.exports=function(e,t){var n,u=i(e),l=0,s=[];for(n in u)!r(a,n)&&r(u,n)&&s.push(n);while(t.length>l)r(u,n=t[l++])&&(~o(s,n)||s.push(n));return s}},function(e,t,n){var r=n(36);e.exports=r("document","documentElement")},function(e,t,n){var r=n(8);e.exports=r.Promise},function(e,t,n){var r=n(53);e.exports=function(e,t,n){for(var i in t)n&&n.unsafe&&e[i]?e[i]=t[i]:r(e,i,t[i],n);return e}},function(e,t,n){"use strict";var r=n(36),i=n(18),o=n(10),a=n(14),u=o("species");e.exports=function(e){var t=r(e),n=i.f;a&&t&&!t[u]&&n(t,u,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(10),i=n(44),o=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},function(e,t,n){var r=n(65),i=n(44),o=n(10),a=o("iterator");e.exports=function(e){if(void 0!=e)return e[a]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(25);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(a){var o=e["return"];throw void 0!==o&&r(o.call(e)),a}}},function(e,t,n){var r=n(10),i=r("iterator"),o=!1;try{var a=0,u={next:function(){return{done:!!a++}},return:function(){o=!0}};u[i]=function(){return this},Array.from(u,(function(){throw 2}))}catch(l){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var r={};r[i]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(l){}return n}},function(e,t,n){var r=n(25),i=n(41),o=n(10),a=o("species");e.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||void 0==(n=r(o)[a])?t:i(n)}},function(e,t,n){var r,i,o,a=n(8),u=n(11),l=n(34),s=n(40),c=n(108),f=n(73),d=n(118),p=a.location,h=a.setImmediate,v=a.clearImmediate,g=a.process,m=a.MessageChannel,A=a.Dispatch,y=0,_={},w="onreadystatechange",x=function(e){if(_.hasOwnProperty(e)){var t=_[e];delete _[e],t()}},b=function(e){return function(){x(e)}},E=function(e){x(e.data)},C=function(e){a.postMessage(e+"",p.protocol+"//"+p.host)};h&&v||(h=function(e){var t=[],n=1;while(arguments.length>n)t.push(arguments[n++]);return _[++y]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(y),y},v=function(e){delete _[e]},"process"==l(g)?r=function(e){g.nextTick(b(e))}:A&&A.now?r=function(e){A.now(b(e))}:m&&!d?(i=new m,o=i.port2,i.port1.onmessage=E,r=s(o.postMessage,o,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||u(C)||"file:"===p.protocol?r=w in f("script")?function(e){c.appendChild(f("script"))[w]=function(){c.removeChild(this),x(e)}}:function(e){setTimeout(b(e),0)}:(r=C,a.addEventListener("message",E,!1))),e.exports={set:h,clear:v}},function(e,t,n){var r=n(84);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(e,t,n){var r=n(25),i=n(13),o=n(85);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e),a=n.resolve;return a(t),n.promise}},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},function(e,t,n){e.exports=n(197)},function(e,t,n){"use strict";var r=n(5),i=n(8),o=n(123),a=n(11),u=n(19),l=n(66),s=n(83),c=n(13),f=n(37),d=n(18).f,p=n(32).forEach,h=n(14),v=n(42),g=v.set,m=v.getterFor;e.exports=function(e,t,n){var v,A=-1!==e.indexOf("Map"),y=-1!==e.indexOf("Weak"),_=A?"set":"add",w=i[e],x=w&&w.prototype,b={};if(h&&"function"==typeof w&&(y||x.forEach&&!a((function(){(new w).entries().next()})))){v=t((function(t,n){g(s(t,v,e),{type:e,collection:new w}),void 0!=n&&l(n,t[_],t,A)}));var E=m(e);p(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(e){var t="add"==e||"set"==e;!(e in x)||y&&"clear"==e||u(v.prototype,e,(function(n,r){var i=E(this).collection;if(!t&&y&&!c(n))return"get"==e&&void 0;var o=i[e](0===n?0:n,r);return t?this:o}))})),y||d(v.prototype,"size",{configurable:!0,get:function(){return E(this).collection.size}})}else v=n.getConstructor(t,e,A,_),o.REQUIRED=!0;return f(v,e,!1,!0),b[e]=v,r({global:!0,forced:!0},b),y||n.setStrong(v,e,A),v}},function(e,t,n){var r=n(51),i=n(13),o=n(16),a=n(18).f,u=n(64),l=n(200),s=u("meta"),c=0,f=Object.isExtensible||function(){return!0},d=function(e){a(e,s,{value:{objectID:"O"+ ++c,weakData:{}}})},p=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,s)){if(!f(e))return"F";if(!t)return"E";d(e)}return e[s].objectID},h=function(e,t){if(!o(e,s)){if(!f(e))return!0;if(!t)return!1;d(e)}return e[s].weakData},v=function(e){return l&&g.REQUIRED&&f(e)&&!o(e,s)&&d(e),e},g=e.exports={REQUIRED:!1,fastKey:p,getWeakData:h,onFreeze:v};r[s]=!0},function(e,t,n){"use strict";var r=n(18).f,i=n(77),o=n(110),a=n(40),u=n(83),l=n(66),s=n(75),c=n(111),f=n(14),d=n(123).fastKey,p=n(42),h=p.set,v=p.getterFor;e.exports={getConstructor:function(e,t,n,s){var c=e((function(e,r){u(e,c,t),h(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),f||(e.size=0),void 0!=r&&l(r,e[s],e,n)})),p=v(t),g=function(e,t,n){var r,i,o=p(e),a=m(e,t);return a?a.value=n:(o.last=a={index:i=d(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=a),r&&(r.next=a),f?o.size++:e.size++,"F"!==i&&(o.index[i]=a)),e},m=function(e,t){var n,r=p(e),i=d(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return o(c.prototype,{clear:function(){var e=this,t=p(e),n=t.index,r=t.first;while(r)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete n[r.index],r=r.next;t.first=t.last=void 0,f?t.size=0:e.size=0},delete:function(e){var t=this,n=p(t),r=m(t,e);if(r){var i=r.next,o=r.previous;delete n.index[r.index],r.removed=!0,o&&(o.next=i),i&&(i.previous=o),n.first==r&&(n.first=i),n.last==r&&(n.last=o),f?n.size--:t.size--}return!!r},forEach:function(e){var t,n=p(this),r=a(e,arguments.length>1?arguments[1]:void 0,3);while(t=t?t.next:n.first){r(t.value,t.key,this);while(t&&t.removed)t=t.previous}},has:function(e){return!!m(this,e)}}),o(c.prototype,n?{get:function(e){var t=m(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),f&&r(c.prototype,"size",{get:function(){return p(this).size}}),c},setStrong:function(e,t,n){var r=t+" Iterator",i=v(t),o=v(r);s(e,t,(function(e,t){h(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){var e=o(this),t=e.kind,n=e.last;while(n&&n.removed)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),c(t)}}},function(e,t,n){var r=n(12);r("iterator")},function(e,t,n){var r=n(107),i=n(80),o=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){e.exports=n(268)},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0}),t["default"]={zIndex:1e4}},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0}),t["default"]={focus:!0,height:300,placeholder:"请输入正文",zIndexFullScreen:10002,showFullScreen:!0}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i["default"])(t,"__esModule",{value:!0}),t.getPasteImgs=t.getPasteHtml=t.getPasteText=void 0;var a=n(2),u=n(6),l=a.__importDefault(n(292));function s(e){var t=e.clipboardData,n="";return n=null==t?window.clipboardData&&window.clipboardData.getData("text"):t.getData("text/plain"),u.replaceHtmlSymbol(n)}function c(e,t,n){void 0===t&&(t=!0),void 0===n&&(n=!1);var r=e.clipboardData,i="";if(r&&(i=r.getData("text/html")),!i){var o=s(e);if(!o)return"";i="<p>"+o+"</p>"}return i=i.replace(/<(\d)/gm,(function(e,t){return"<"+t})),i=i.replace(/<(\/?meta.*?)>/gim,""),i=l["default"](i,t,n),i}function f(e){var t,n=[],r=s(e);if(r)return n;var i=null===(t=e.clipboardData)||void 0===t?void 0:t.items;return i?((0,o["default"])(u).call(u,i,(function(e,t){var r=t.type;/image/i.test(r)&&n.push(t.getAsFile())})),n):n}t.getPasteText=s,t.getPasteHtml=c,t.getPasteImgs=f},function(e,t,n){e.exports=n(294)},function(e,t,n){e.exports=n(310)},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4)),a=r(n(46));(0,i["default"])(t,"__esModule",{value:!0});var u=n(2),l=u.__importDefault(n(3)),s=n(7),c=function(){function e(e,t){var n=this;this.hideTimeoutId=0,this.menu=e,this.conf=t;var r=l["default"]('<div class="w-e-droplist"></div>'),i=l["default"]("<p>"+t.title+"</p>");i.addClass("w-e-dp-title"),r.append(i);var u=t.list||[],c=t.type||"list",f=t.clickHandler||s.EMPTY_FN,d=l["default"]('<ul class="'+("list"===c?"w-e-list":"w-e-block")+'"></ul>');(0,o["default"])(u).call(u,(function(e){var t=e.$elem,r=e.value,i=l["default"]('<li class="w-e-item"></li>');t&&(i.append(t),d.append(i),i.on("click",(function(e){f(r),e.stopPropagation(),n.hideTimeoutId=(0,a["default"])((function(){n.hide()}))})))})),r.append(d),r.on("mouseleave",(function(){n.hideTimeoutId=(0,a["default"])((function(){n.hide()}))})),this.$container=r,this.rendered=!1,this._show=!1}return e.prototype.show=function(){this.hideTimeoutId&&clearTimeout(this.hideTimeoutId);var e=this.menu,t=e.$elem,n=this.$container;if(!this._show){if(this.rendered)n.show();else{var r=t.getBoundingClientRect().height||0,i=this.conf.width||100;n.css("margin-top",r+"px").css("width",i+"px"),t.append(n),this.rendered=!0}this._show=!0}},e.prototype.hide=function(){var e=this.$container;this._show&&(e.hide(),this._show=!1)},(0,i["default"])(e.prototype,"isShow",{get:function(){return this._show},enumerable:!1,configurable:!0}),e}();t["default"]=c},function(e,t,n){"use strict";var r=n(0),i=r(n(92)),o=r(n(1)),a=r(n(4));(0,o["default"])(t,"__esModule",{value:!0});var u=n(6);function l(e,t){var n=new XMLHttpRequest;if(n.open("POST",e),n.timeout=t.timeout||1e4,n.ontimeout=function(){console.error("wangEditor - 请求超时"),t.onTimeout&&t.onTimeout(n)},n.upload&&(n.upload.onprogress=function(e){var n=e.loaded/e.total;t.onProgress&&t.onProgress(n,e)}),t.headers&&(0,a["default"])(u).call(u,t.headers,(function(e,t){n.setRequestHeader(e,t)})),n.withCredentials=!!t.withCredentials,t.beforeSend){var r=t.beforeSend(n);if(r&&"object"===(0,i["default"])(r)&&r.prevent)return r.msg}return n.onreadystatechange=function(){if(4===n.readyState){var e=n.status;if(!(e<200)&&!(e>=300&&e<400)){if(e>=400)return console.error("wangEditor - XHR 报错,状态码 "+e),void(t.onError&&t.onError(n));var r,o=n.responseText;if("object"!==(0,i["default"])(o))try{r=JSON.parse(o)}catch(a){return console.error("wangEditor - 返回结果不是 JSON 格式",o),void(t.onFail&&t.onFail(n,o))}else r=o;t.onSuccess(n,r)}}},n.send(t.formData||null),n}t["default"]=l},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(342)),a=r(n(46));(0,i["default"])(t,"__esModule",{value:!0});var u=n(2),l=u.__importDefault(n(3)),s=function(){function e(e){this.editor=e,this.$textContainer=e.$textContainerElem,this.$bar=l["default"]('<div class="w-e-progress"></div>'),this.isShow=!1,this.time=0,this.timeoutId=0}return e.prototype.show=function(e){var t=this;if(!this.isShow){this.isShow=!0;var n=this.$bar,r=this.$textContainer;r.append(n),(0,o["default"])()-this.time>100&&e<=1&&(n.css("width",100*e+"%"),this.time=(0,o["default"])());var i=this.timeoutId;i&&clearTimeout(i),this.timeoutId=(0,a["default"])((function(){t.hide()}),500)}},e.prototype.hide=function(){var e=this.$bar;e.remove(),this.isShow=!1,this.time=0,this.timeoutId=0},e}();t["default"]=s},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0}),t.ListType=void 0;var o,a=n(2),u=a.__importDefault(n(3)),l=a.__importDefault(n(24)),s=n(47),c=a.__importStar(n(371));(function(e){e["OrderedList"]="OL",e["UnorderedList"]="UL"})(o=t.ListType||(t.ListType={}));var f=function(e){function t(t){var n=this,r=u["default"]('<div class="w-e-menu" data-title="序列">\n <i class="w-e-icon-list2"></i>\n </div>'),i={width:130,title:"序列",type:"list",list:[{$elem:u["default"]('\n <p>\n <i class="w-e-icon-list2 w-e-drop-list-item"></i>\n '+t.i18next.t("menus.dropListMenu.list.无序列表")+"\n <p>"),value:o.UnorderedList},{$elem:u["default"]('<p>\n <i class="w-e-icon-list-numbered w-e-drop-list-item"></i>\n '+t.i18next.t("menus.dropListMenu.list.有序列表")+"\n <p>"),value:o.OrderedList}],clickHandler:function(e){n.command(e)}};return n=e.call(this,r,t,i)||this,n}return a.__extends(t,e),t.prototype.command=function(e){var t=this.editor,n=t.selection.getSelectionContainerElem();void 0!==n&&(this.handleSelectionRangeNodes(e),this.tryChangeActive())},t.prototype.validator=function(e,t,n){return!(!e.length||!t.length||n.equal(e)||n.equal(t))},t.prototype.handleSelectionRangeNodes=function(e){var t=this.editor,n=t.selection,r=e.toLowerCase(),i=n.getSelectionContainerElem(),o=n.getSelectionStartElem().getNodeTop(t),a=n.getSelectionEndElem().getNodeTop(t);if(this.validator(o,a,t.$textElem)){var u=n.getRange(),l=null===u||void 0===u?void 0:u.collapsed;t.$textElem.equal(i)||(i=i.getNodeTop(t));var f,d={editor:t,listType:e,listTarget:r,$selectionElem:i,$startElem:o,$endElem:a};f=this.isOrderElem(i)?c.ClassType.Wrap:this.isOrderElem(o)&&this.isOrderElem(a)?c.ClassType.Join:this.isOrderElem(o)?c.ClassType.StartJoin:this.isOrderElem(a)?c.ClassType.EndJoin:c.ClassType.Other;var p=new c["default"](c.createListHandle(f,d,u));s.updateRange(t,p.getSelectionRangeElem(),!!l)}},t.prototype.isOrderElem=function(e){var t=e.getNodeName();return t===o.OrderedList||t===o.UnorderedList},t.prototype.tryChangeActive=function(){},t}(l["default"]);t["default"]=f},function(e,t,n){e.exports=n(395)},function(e,t,n){"use strict";var r=n(0),i=r(n(1));function o(e){var t=e.selection.getSelectionContainerElem();return!!(null===t||void 0===t?void 0:t.length)&&!("CODE"!=t.getNodeName()&&"PRE"!=t.getNodeName()&&"CODE"!=t.parent().getNodeName()&&"PRE"!=t.parent().getNodeName()&&!/hljs/.test(t.parent().attr("class")))}(0,i["default"])(t,"__esModule",{value:!0}),t["default"]=o},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(29));(0,i["default"])(t,"__esModule",{value:!0}),t.todo=void 0;var a=n(2),u=a.__importDefault(n(3)),l=function(){function e(e){var t;this.template='<ul class="w-e-todo"><li><span contenteditable="false"><input type="checkbox"></span></li></ul>',this.checked=!1,this.$todo=u["default"](this.template),this.$child=null===(t=null===e||void 0===e?void 0:e.childNodes())||void 0===t?void 0:t.clone(!0)}return e.prototype.init=function(){var e=this.$child,t=this.getInputContainer();e&&e.insertAfter(t)},e.prototype.getInput=function(){var e=this.$todo,t=(0,o["default"])(e).call(e,"input");return t},e.prototype.getInputContainer=function(){var e=this.getInput().parent();return e},e.prototype.getTodo=function(){return this.$todo},e}();function s(e){var t=new l(e);return t.init(),t}t.todo=l,t["default"]=s},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2);n(146),n(148),n(152),n(154),n(156),n(158),n(160);var a=o.__importDefault(n(87));o.__exportStar(n(442),t);try{document}catch(u){throw new Error("请在浏览器环境下运行")}t["default"]=a["default"]},function(e,t,n){var r=n(143);e.exports=r},function(e,t,n){n(144);var r=n(9),i=r.Object,o=e.exports=function(e,t,n){return i.defineProperty(e,t,n)};i.defineProperty.sham&&(o.sham=!0)},function(e,t,n){var r=n(5),i=n(14),o=n(18);r({target:"Object",stat:!0,forced:!i,sham:!i},{defineProperty:o.f})},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(20),i=n(147);i=i.__esModule?i.default:i,"string"===typeof i&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){var r=n(21);t=r(!1),t.push([e.i,'.w-e-toolbar,\n.w-e-text-container,\n.w-e-menu-panel {\n padding: 0;\n margin: 0;\n box-sizing: border-box;\n background-color: #fff;\n /*表情菜单样式*/\n /*分割线样式*/\n}\n.w-e-toolbar h1,\n.w-e-text-container h1,\n.w-e-menu-panel h1 {\n font-size: 32px !important;\n}\n.w-e-toolbar h2,\n.w-e-text-container h2,\n.w-e-menu-panel h2 {\n font-size: 24px !important;\n}\n.w-e-toolbar h3,\n.w-e-text-container h3,\n.w-e-menu-panel h3 {\n font-size: 18.72px !important;\n}\n.w-e-toolbar h4,\n.w-e-text-container h4,\n.w-e-menu-panel h4 {\n font-size: 16px !important;\n}\n.w-e-toolbar h5,\n.w-e-text-container h5,\n.w-e-menu-panel h5 {\n font-size: 13.28px !important;\n}\n.w-e-toolbar p,\n.w-e-text-container p,\n.w-e-menu-panel p {\n font-size: 16px !important;\n}\n.w-e-toolbar .eleImg,\n.w-e-text-container .eleImg,\n.w-e-menu-panel .eleImg {\n cursor: pointer;\n display: inline-block;\n font-size: 18px;\n padding: 0 3px;\n}\n.w-e-toolbar *,\n.w-e-text-container *,\n.w-e-menu-panel * {\n padding: 0;\n margin: 0;\n box-sizing: border-box;\n}\n.w-e-toolbar hr,\n.w-e-text-container hr,\n.w-e-menu-panel hr {\n cursor: pointer;\n display: block;\n height: 0px;\n border: 0;\n border-top: 3px solid #ccc;\n margin: 20px 0;\n}\n.w-e-clear-fix:after {\n content: "";\n display: table;\n clear: both;\n}\n.w-e-drop-list-item {\n position: relative;\n top: 1px;\n padding-right: 7px;\n color: #333 !important;\n}\n.w-e-drop-list-tl {\n padding-left: 10px;\n text-align: left;\n}\n',""]),e.exports=t},function(e,t,n){var r=n(20),i=n(149);i=i.__esModule?i.default:i,"string"===typeof i&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){var r=n(21),i=n(150),o=n(151);t=r(!1);var a=i(o);t.push([e.i,"@font-face {\n font-family: 'w-e-icon';\n src: url("+a+') format(\'truetype\');\n font-weight: normal;\n font-style: normal;\n}\n[class^="w-e-icon-"],\n[class*=" w-e-icon-"] {\n /* use !important to prevent issues with browser extensions that change fonts */\n font-family: \'w-e-icon\' !important;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n /* Better Font Rendering =========== */\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n.w-e-icon-close:before {\n content: "\\f00d";\n}\n.w-e-icon-upload2:before {\n content: "\\e9c6";\n}\n.w-e-icon-trash-o:before {\n content: "\\f014";\n}\n.w-e-icon-header:before {\n content: "\\f1dc";\n}\n.w-e-icon-pencil2:before {\n content: "\\e906";\n}\n.w-e-icon-paint-brush:before {\n content: "\\f1fc";\n}\n.w-e-icon-image:before {\n content: "\\e90d";\n}\n.w-e-icon-play:before {\n content: "\\e912";\n}\n.w-e-icon-location:before {\n content: "\\e947";\n}\n.w-e-icon-undo:before {\n content: "\\e965";\n}\n.w-e-icon-redo:before {\n content: "\\e966";\n}\n.w-e-icon-quotes-left:before {\n content: "\\e977";\n}\n.w-e-icon-list-numbered:before {\n content: "\\e9b9";\n}\n.w-e-icon-list2:before {\n content: "\\e9bb";\n}\n.w-e-icon-link:before {\n content: "\\e9cb";\n}\n.w-e-icon-happy:before {\n content: "\\e9df";\n}\n.w-e-icon-bold:before {\n content: "\\ea62";\n}\n.w-e-icon-underline:before {\n content: "\\ea63";\n}\n.w-e-icon-italic:before {\n content: "\\ea64";\n}\n.w-e-icon-strikethrough:before {\n content: "\\ea65";\n}\n.w-e-icon-table2:before {\n content: "\\ea71";\n}\n.w-e-icon-paragraph-left:before {\n content: "\\ea77";\n}\n.w-e-icon-paragraph-center:before {\n content: "\\ea78";\n}\n.w-e-icon-paragraph-right:before {\n content: "\\ea79";\n}\n.w-e-icon-paragraph-justify:before {\n content: "\\ea7a";\n}\n.w-e-icon-terminal:before {\n content: "\\f120";\n}\n.w-e-icon-page-break:before {\n content: "\\ea68";\n}\n.w-e-icon-cancel-circle:before {\n content: "\\ea0d";\n}\n.w-e-icon-font:before {\n content: "\\ea5c";\n}\n.w-e-icon-text-heigh:before {\n content: "\\ea5f";\n}\n.w-e-icon-paint-format:before {\n content: "\\e90c";\n}\n.w-e-icon-indent-increase:before {\n content: "\\ea7b";\n}\n.w-e-icon-indent-decrease:before {\n content: "\\ea7c";\n}\n.w-e-icon-row-height:before {\n content: "\\e9be";\n}\n.w-e-icon-fullscreen_exit:before {\n content: "\\e900";\n}\n.w-e-icon-fullscreen:before {\n content: "\\e901";\n}\n.w-e-icon-split-line:before {\n content: "\\ea0b";\n}\n.w-e-icon-checkbox-checked:before {\n content: "\\ea52";\n}\n',""]),e.exports=t},function(e,t,n){"use strict";e.exports=function(e,t){return t||(t={}),e=e&&e.__esModule?e.default:e,"string"!==typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},function(e,t,n){"use strict";n.r(t),t["default"]="data:font/woff;base64,d09GRgABAAAAABskAAsAAAAAGtgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDxIPFWNtYXAAAAFoAAABHAAAARz2mfAgZ2FzcAAAAoQAAAAIAAAACAAAABBnbHlmAAACjAAAFXwAABV8IH7+mGhlYWQAABgIAAAANgAAADYb6gumaGhlYQAAGEAAAAAkAAAAJAkjBWlobXR4AAAYZAAAAKQAAACkmYcEbmxvY2EAABkIAAAAVAAAAFReAmKYbWF4cAAAGVwAAAAgAAAAIAA0ALZuYW1lAAAZfAAAAYYAAAGGmUoJ+3Bvc3QAABsEAAAAIAAAACAAAwAAAAMD7wGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA8fwDwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEAQAAAAA8ACAABAAcAAEAIOkB6QbpDekS6UfpZul36bnpu+m+6cbpy+nf6gvqDepS6lzqX+pl6nHqfPAN8BTxIPHc8fz//f//AAAAAAAg6QDpBukM6RLpR+ll6Xfpuem76b7pxunL6d/qC+oN6lLqXOpf6mLqcep38A3wFPEg8dzx/P/9//8AAf/jFwQXABb7FvcWwxamFpYWVRZUFlIWSxZHFjQWCRYIFcQVuxW5FbcVrBWnEBcQEQ8GDksOLAADAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAAEAEEAAQO/A38ABQALABEAFwAAATMVIREzAxEhFSMVATUzESE1ETUhESM1Av/A/sJ+fgE+wP4Cfv7CAT5+Ar9+AT78ggE+fsACvsD+wn7+An7+wsAAAAAABABBAAEDvwN/AAUACwARABcAAAEhESM1IxM1MxEhNQERIRUjFREVMxUhEQKBAT5+wMB+/sL9wAE+wMD+wgN//sLA/X7A/sJ+AcIBPn7A/v7AfgE+AAAAAAIAAP/ABAADwAAEABMAAAE3AScBAy4BJxM3ASMBAyUBNQEHAYCAAcBA/kCfFzsyY4ABgMD+gMACgAGA/oBOAUBAAcBA/kD+nTI7FwERTgGA/oD9gMABgMD+gIAAAgAA/8AEAAOAACkALQAAAREjNTQmIyEiBh0BFBYzITI2PQEzESEVIyIGFREUFjsBMjY1ETQmKwE1ASE1IQQAwCYa/UAaJiYaAsAaJoD9wCANExMNgA0TEw0gAUD9QALAAYABgEAaJiYawBomJhpA/wCAEw3+wA0TEw0BQA0TQAGAQAAABAAAAAAEAAOAABAAIQAtADQAAAE4ATEROAExITgBMRE4ATEhNSEiBhURFBYzITI2NRE0JiMHFAYjIiY1NDYzMhYTITUTATM3A8D8gAOA/IAaJiYaA4AaJiYagDgoKDg4KCg4QP0A4AEAQOADQP0AAwBAJhr9ABomJhoDABom4Cg4OCgoODj9uIABgP7AwAAAAgAAAEAEAANAADgAPAAAASYnLgEnJiMiBw4BBwYHBgcOAQcGFRQXHgEXFhcWFx4BFxYzMjc+ATc2NzY3PgE3NjU0Jy4BJyYnARENAQPVNjg5djw9Pz89PHY5ODYLBwgLAwMDAwsIBws2ODl2PD0/Pz08djk4NgsHCAsDAwMDCwgHC/2rAUD+wAMgCAYGCAICAgIIBgYIKSoqWS0uLy8uLVkqKikIBgYIAgICAggGBggpKipZLS4vLy4tWSoqKf3gAYDAwAAAAAACAMD/wANAA8AAGwAnAAABIgcOAQcGFRQXHgEXFjEwNz4BNzY1NCcuAScmAyImNTQ2MzIWFRQGAgBCOzpXGRkyMngyMjIyeDIyGRlXOjtCUHBwUFBwcAPAGRlXOjtCeH19zEFBQUHMfX14Qjs6VxkZ/gBwUFBwcFBQcAAAAQAAAAAEAAOAACsAAAEiBw4BBwYHJxEhJz4BMzIXHgEXFhUUBw4BBwYHFzY3PgE3NjU0Jy4BJyYjAgA1MjJcKSkjlgGAkDWLUFBFRmkeHgkJIhgYHlUoICAtDAwoKIteXWoDgAoLJxscI5b+gJA0PB4eaUZFUCsoKUkgIRpgIysrYjY2OWpdXosoKAABAAAAAAQAA4AAKgAAExQXHgEXFhc3JicuAScmNTQ3PgE3NjMyFhcHIREHJicuAScmIyIHDgEHBgAMDC0gIChVHhgYIgkJHh5pRkVQUIs1kAGAliMpKVwyMjVqXV6LKCgBgDk2NmIrKyNgGiEgSSkoK1BFRmkeHjw0kAGAliMcGycLCigoi15dAAAAAAIAAABABAEDAAAmAE0AABMyFx4BFxYVFAcOAQcGIyInLgEnJjUnNDc+ATc2MxUiBgcOAQc+ASEyFx4BFxYVFAcOAQcGIyInLgEnJjUnNDc+ATc2MxUiBgcOAQc+AeEuKSk9ERISET0pKS4uKSk9ERIBIyN6UlFdQHUtCRAHCBICSS4pKT0REhIRPSkpLi4pKT0REgEjI3pSUV1AdS0JEAcIEgIAEhE9KSkuLikpPRESEhE9KSkuIF1RUnojI4AwLggTCgIBEhE9KSkuLikpPRESEhE9KSkuIF1RUnojI4AwLggTCgIBAAAGAED/wAQAA8AAAwAHAAsAEQAdACkAACUhFSERIRUhESEVIScRIzUjNRMVMxUjNTc1IzUzFRURIzUzNSM1MzUjNQGAAoD9gAKA/YACgP2AwEBAQIDAgIDAwICAgICAgAIAgAIAgMD/AMBA/fIyQJI8MkCS7v7AQEBAQEAABgAA/8AEAAPAAAMABwALABcAIwAvAAABIRUhESEVIREhFSEBNDYzMhYVFAYjIiYRNDYzMhYVFAYjIiYRNDYzMhYVFAYjIiYBgAKA/YACgP2AAoD9gP6ASzU1S0s1NUtLNTVLSzU1S0s1NUtLNTVLA4CA/wCA/wCAA0A1S0s1NUtL/rU1S0s1NUtL/rU1S0s1NUtLAAUAAABABWADAAADAAcACwAOABEAABMhFSEVIRUhFSEVIQEXNzUnBwADgPyAA4D8gAOA/IAD4MDAwMADAMBAwEDAAUDAwEDAwAAAAAADAAAAAAQAA6AAAwANABQAADchFSElFSE1EyEVITUhJQkBIxEjEQAEAPwABAD8AIABAAEAAQD9YAEgASDggEBAwEBAAQCAgMABIP7g/wABAAAAAAACAB7/zAPiA7QAMwBkAAABIiYnJicmNDc2PwE+ATMyFhcWFxYUBwYPAQYiJyY0PwE2NCcuASMiBg8BBhQXFhQHDgEjAyImJyYnJjQ3Nj8BNjIXFhQPAQYUFx4BMzI2PwE2NCcmNDc2MhcWFxYUBwYPAQ4BIwG4ChMIIxISEhIjwCNZMTFZIyMSEhISI1gPLA8PD1gpKRQzHBwzFMApKQ8PCBMKuDFZIyMSEhISI1gPLA8PD1gpKRQzHBwzFMApKQ8PDysQIxISEhIjwCNZMQFECAckLS1eLS0kwCIlJSIkLS1eLS0kVxAQDysPWCl0KRQVFRTAKXQpDysQBwj+iCUiJC0tXi0tJFcQEA8rD1gpdCkUFRUUwCl0KQ8rEA8PJC0tXi0tJMAiJQAAAAAFAAD/wAQAA8AAGwA3AFMAXwBrAAAFMjc+ATc2NTQnLgEnJiMiBw4BBwYVFBceARcWEzIXHgEXFhUUBw4BBwYjIicuAScmNTQ3PgE3NhMyNz4BNzY3BgcOAQcGIyInLgEnJicWFx4BFxYnNDYzMhYVFAYjIiYlNDYzMhYVFAYjIiYCAGpdXosoKCgoi15dampdXosoKCgoi15dalZMTHEgISEgcUxMVlZMTHEgISEgcUxMVisrKlEmJiMFHBtWODc/Pzc4VhscBSMmJlEqK9UlGxslJRsbJQGAJRsbJSUbGyVAKCiLXl1qal1eiygoKCiLXl1qal1eiygoA6AhIHFMTFZWTExxICEhIHFMTFZWTExxICH+CQYGFRAQFEM6OlYYGRkYVjo6QxQQEBUGBvcoODgoKDg4KCg4OCgoODgAAAEAAAFABAACQAAPAAATFRQWMyEyNj0BNCYjISIGABMNA8ANExMN/EANEwIgwA0TEw3ADRMTAAAAAwAA/8AEAAPAABsANwBDAAABIgcOAQcGFRQXHgEXFjMyNz4BNzY1NCcuAScmAyInLgEnJjU0Nz4BNzYzMhceARcWFRQHDgEHBhMHJwcXBxc3FzcnNwIAal1eiygoKCiLXl1qal1eiygoKCiLXl1qVkxMcSAhISBxTExWVkxMcSAhISBxTExKoKBgoKBgoKBgoKADwCgoi15dampdXosoKCgoi15dampdXosoKPxgISBxTExWVkxMcSAhISBxTExWVkxMcSAhAqCgoGCgoGCgoGCgoAACAAD/wAQAA8AADwAVAAABISIGFREUFjMhMjY1ETQmASc3FwEXA4D9ADVLSzUDADVLS/4L7VqTATNaA8BLNf0ANUtLNQMANUv85e5akgEyWgAAAAABAGX/wAObA8AAKQAAASImIyIHDgEHBhUUFjMuATU0NjcwBwYCBwYHFSETMzcjNx4BMzI2Nw4BAyBEaEZxU1RtGhtJSAYNZUoQEEs8PFkBPWzGLNc0LVUmLlAYHT0DsBAeHWE+P0FNOwsmN5lvA31+/sWPkCMZAgCA9gkPN2sJBwAAAAACAAAAAAQAA4AACQAXAAAlMwcnMxEjNxcjJREnIxEzFSE1MxEjBxEDgICgoICAoKCA/wBAwID+gIDAQMDAwAIAwMDA/wCA/UBAQALAgAEAAAMAwAAAA0ADgAAWAB8AKAAAAT4BNTQnLgEnJiMhESEyNz4BNzY1NCYBMzIWFRQGKwETIxEzMhYVFAYCxBwgFBRGLi81/sABgDUvLkYUFET+hGUqPDwpZp+fnyw+PgHbIlQvNS8uRhQU/IAUFEYuLzVGdAFGSzU1S/6AAQBLNTVLAAAAAAIAwAAAA0ADgAAfACMAAAEzERQHDgEHBiMiJy4BJyY1ETMRFBYXHgEzMjY3PgE1ASEVIQLAgBkZVzo7QkI7OlcZGYAbGBxJKChJHBgb/gACgP2AA4D+YDw0NU4WFxcWTjU0PAGg/mAeOBcYGxsYFzge/qCAAAAAAAEAgAAAA4ADgAALAAABFSMBMxUhNTMBIzUDgID+wID+QIABQIADgED9AEBAAwBAAAEAAAAABAADgAA9AAABFSMeARUUBgcOASMiJicuATUzFBYzMjY1NCYjITUhLgEnLgE1NDY3PgEzMhYXHgEVIzQmIyIGFRQWMzIWFwQA6xUWNTAscT4+cSwwNYByTk5yck7+AAEsAgQBMDU1MCxxPj5xLDA1gHJOTnJyTjtuKwHAQB1BIjViJCEkJCEkYjU0TEw0NExAAQMBJGI1NWIkISQkISRiNTRMTDQ0TCEfAAAACgAAAAAEAAOAAAMABwALAA8AEwAXABsAHwAjACcAABMRIREBNSEVHQEhNQEVITUjFSE1ESEVISUhFSERNSEVASEVISE1IRUABAD9gAEA/wABAP8AQP8AAQD/AAKAAQD/AAEA/IABAP8AAoABAAOA/IADgP3AwMBAwMACAMDAwMD/AMDAwAEAwMD+wMDAwAAABQAAAAAEAAOAAAMABwALAA8AEwAAEyEVIRUhFSERIRUhESEVIREhFSEABAD8AAKA/YACgP2ABAD8AAQA/AADgIBAgP8AgAFAgP8AgAAAAAAFAAAAAAQAA4AAAwAHAAsADwATAAATIRUhFyEVIREhFSEDIRUhESEVIQAEAPwAwAKA/YACgP2AwAQA/AAEAPwAA4CAQID/AIABQID/AIAAAAUAAAAABAADgAADAAcACwAPABMAABMhFSEFIRUhESEVIQEhFSERIRUhAAQA/AABgAKA/YACgP2A/oAEAPwABAD8AAOAgECA/wCAAUCA/wCAAAAAAAUAAAAABAADgAADAAcACwAPABMAABMhFSEVIRUhFSEVIRUhFSEVIRUhAAQA/AAEAPwABAD8AAQA/AAEAPwAA4CAQIBAgECAQIAAAAAGAAAAAAQAA4AAAwAHAAsADwATABYAABMhFSEFIRUhFSEVIRUhFSEFIRUhGQEFAAQA/AABgAKA/YACgP2AAoD9gP6ABAD8AAEAA4CAQIBAgECAQIABAAGAwAAAAAYAAAAABAADgAADAAcACwAPABMAFgAAEyEVIQUhFSEVIRUhFSEVIQUhFSEBESUABAD8AAGAAoD9gAKA/YACgP2A/oAEAPwAAQD/AAOAgECAQIBAgECAAoD+gMAAAQA/AD8C5gLmACwAACUUDwEGIyIvAQcGIyIvASY1ND8BJyY1ND8BNjMyHwE3NjMyHwEWFRQPARcWFQLmEE4QFxcQqKgQFxYQThAQqKgQEE4QFhcQqKgQFxcQThAQqKgQwxYQThAQqKgQEE4QFhcQqKgQFxcQThAQqKgQEE4QFxcQqKgQFwAAAAYAAAAAAyUDbgAUACgAPABNAFUAggAAAREUBwYrASInJjURNDc2OwEyFxYVMxEUBwYrASInJjURNDc2OwEyFxYXERQHBisBIicmNRE0NzY7ATIXFhMRIREUFxYXFjMhMjc2NzY1ASEnJicjBgcFFRQHBisBERQHBiMhIicmNREjIicmPQE0NzY7ATc2NzY7ATIXFh8BMzIXFhUBJQYFCCQIBQYGBQgkCAUGkgUFCCUIBQUFBQglCAUFkgUFCCUIBQUFBQglCAUFSf4ABAQFBAIB2wIEBAQE/oABABsEBrUGBAH3BgUINxobJv4lJhsbNwgFBQUFCLEoCBcWF7cXFhYJKLAIBQYCEv63CAUFBQUIAUkIBQYGBQj+twgFBQUFCAFJCAUGBgUI/rcIBQUFBQgBSQgFBgYF/lsCHf3jDQsKBQUFBQoLDQJmQwUCAgVVJAgGBf3jMCIjISIvAiAFBggkCAUFYBUPDw8PFWAFBQgAAgAHAEkDtwKvABoALgAACQEGIyIvASY1ND8BJyY1ND8BNjMyFwEWFRQHARUUBwYjISInJj0BNDc2MyEyFxYBTv72BgcIBR0GBuHhBgYdBQgHBgEKBgYCaQUFCP3bCAUFBQUIAiUIBQUBhf72BgYcBggHBuDhBgcHBh0FBf71BQgHBv77JQgFBQUFCCUIBQUFBQAAAAEAIwAAA90DbgCzAAAlIicmIyIHBiMiJyY1NDc2NzY3Njc2PQE0JyYjISIHBh0BFBcWFxYzFhcWFRQHBiMiJyYjIgcGIyInJjU0NzY3Njc2NzY9ARE0NTQ1NCc0JyYnJicmJyYnJiMiJyY1NDc2MzIXFjMyNzYzMhcWFRQHBiMGBwYHBh0BFBcWMyEyNzY9ATQnJicmJyY1NDc2MzIXFjMyNzYzMhcWFRQHBgciBwYHBhURFBcWFxYXMhcWFRQHBiMDwRkzMhoZMjMZDQgHCQoNDBEQChIBBxX+fhYHARUJEhMODgwLBwcOGzU1GhgxMRgNBwcJCQsMEA8JEgECAQIDBAQFCBIRDQ0KCwcHDho1NRoYMDEYDgcHCQoMDRAQCBQBBw8BkA4HARQKFxcPDgcHDhkzMhkZMTEZDgcHCgoNDRARCBQUCRERDg0KCwcHDgACAgICDAsPEQkJAQEDAwUMROAMBQMDBQzUUQ0GAQIBCAgSDwwNAgICAgwMDhEICQECAwMFDUUhAdACDQ0ICA4OCgoLCwcHAwYBAQgIEg8MDQICAgINDA8RCAgBAgEGDFC2DAcBAQcMtlAMBgEBBgcWDwwNAgICAg0MDxEICAEBAgYNT/3mRAwGAgIBCQgRDwwNAAACAAD/twP/A7cAEwA5AAABMhcWFRQHAgcGIyInJjU0NwE2MwEWFxYfARYHBiMiJyYnJicmNRYXFhcWFxYzMjc2NzY3Njc2NzY3A5soHh4avkw3RUg0NDUBbSEp/fgXJicvAQJMTHtHNjYhIRARBBMUEBASEQkXCA8SExUVHR0eHikDtxsaKCQz/plGNDU0SUkwAUsf/bErHx8NKHpNTBobLi86OkQDDw4LCwoKFiUbGhERCgsEBAIAAQAAAAAAAIWwaoFfDzz1AAsEAAAAAADbteOZAAAAANu145kAAP+3BWADwAAAAAgAAgAAAAAAAAABAAADwP/AAAAFgAAA//8FYAABAAAAAAAAAAAAAAAAAAAAKQQAAAAAAAAAAAAAAAIAAAAEAABBBAAAQQQAAAAEAAAABAAAAAQAAAAEAADABAAAAAQAAAAEAAAABAAAQAQAAAAFgAAABAAAAAQAAB4EAAAABAAAAAQAAAAEAAAABAAAZQQAAAAEAADABAAAwAQAAIAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAMlAD8DJQAAA74ABwQAACMD/wAAAAAAAAAKABQAHgBKAHYApADmAS4BkgHQAhYCXALQAw4DWAN+A6gEPgTeBPoFZAWOBdAF+AY6BnYGjgbmBy4HVgd+B6gHzgf8CCoIbgkmCXAKYgq+AAEAAAApALQACgAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAOAK4AAQAAAAAAAQAHAAAAAQAAAAAAAgAHAGAAAQAAAAAAAwAHADYAAQAAAAAABAAHAHUAAQAAAAAABQALABUAAQAAAAAABgAHAEsAAQAAAAAACgAaAIoAAwABBAkAAQAOAAcAAwABBAkAAgAOAGcAAwABBAkAAwAOAD0AAwABBAkABAAOAHwAAwABBAkABQAWACAAAwABBAkABgAOAFIAAwABBAkACgA0AKRpY29tb29uAGkAYwBvAG0AbwBvAG5WZXJzaW9uIDEuMABWAGUAcgBzAGkAbwBuACAAMQAuADBpY29tb29uAGkAYwBvAG0AbwBvAG5pY29tb29uAGkAYwBvAG0AbwBvAG5SZWd1bGFyAFIAZQBnAHUAbABhAHJpY29tb29uAGkAYwBvAG0AbwBvAG5Gb250IGdlbmVyYXRlZCBieSBJY29Nb29uLgBGAG8AbgB0ACAAZwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAC4AAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},function(e,t,n){var r=n(20),i=n(153);i=i.__esModule?i.default:i,"string"===typeof i&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){var r=n(21);t=r(!1),t.push([e.i,'.w-e-toolbar {\n display: flex;\n padding: 0 6px;\n flex-wrap: wrap;\n position: relative;\n /* 单个菜单 */\n}\n.w-e-toolbar .w-e-menu {\n position: relative;\n display: flex;\n width: 40px;\n height: 40px;\n align-items: center;\n justify-content: center;\n text-align: center;\n cursor: pointer;\n}\n.w-e-toolbar .w-e-menu i {\n color: #999;\n}\n.w-e-toolbar .w-e-menu:hover {\n background-color: #F6F6F6;\n}\n.w-e-toolbar .w-e-menu:hover i {\n color: #333;\n}\n.w-e-toolbar .w-e-active i {\n color: #1e88e5;\n}\n.w-e-toolbar .w-e-active:hover i {\n color: #1e88e5;\n}\n.w-e-menu-tooltip {\n position: absolute;\n display: flex;\n color: #f1f1f1;\n background-color: rgba(0, 0, 0, 0.75);\n box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15);\n border-radius: 4px;\n padding: 4px 5px 6px;\n justify-content: center;\n align-items: center;\n}\n.w-e-menu-tooltip-up::after {\n content: "";\n position: absolute;\n top: 100%;\n left: 50%;\n margin-left: -5px;\n border: 5px solid rgba(0, 0, 0, 0);\n border-top-color: rgba(0, 0, 0, 0.73);\n}\n.w-e-menu-tooltip-down::after {\n content: "";\n position: absolute;\n bottom: 100%;\n left: 50%;\n margin-left: -5px;\n border: 5px solid rgba(0, 0, 0, 0);\n border-bottom-color: rgba(0, 0, 0, 0.73);\n}\n.w-e-menu-tooltip-item-wrapper {\n font-size: 14px;\n margin: 0 5px;\n}\n',""]),e.exports=t},function(e,t,n){var r=n(20),i=n(155);i=i.__esModule?i.default:i,"string"===typeof i&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){var r=n(21);t=r(!1),t.push([e.i,'.w-e-text-container {\n position: relative;\n height: 100%;\n}\n.w-e-text-container .w-e-progress {\n position: absolute;\n background-color: #1e88e5;\n top: 0;\n left: 0;\n height: 1px;\n}\n.w-e-text-container .placeholder {\n color: #D4D4D4;\n position: absolute;\n font-size: 11pt;\n line-height: 22px;\n left: 10px;\n top: 10px;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n z-index: -1;\n}\n.w-e-text {\n padding: 0 10px;\n overflow-y: auto;\n}\n.w-e-text p,\n.w-e-text h1,\n.w-e-text h2,\n.w-e-text h3,\n.w-e-text h4,\n.w-e-text h5,\n.w-e-text table,\n.w-e-text pre {\n margin: 10px 0;\n line-height: 1.5;\n}\n.w-e-text ul,\n.w-e-text ol {\n margin: 10px 0 10px 20px;\n}\n.w-e-text blockquote {\n display: block;\n border-left: 8px solid #d0e5f2;\n padding: 5px 10px;\n margin: 10px 0;\n line-height: 1.4;\n font-size: 100%;\n background-color: #f1f1f1;\n}\n.w-e-text code {\n display: inline-block;\n background-color: #f1f1f1;\n border-radius: 3px;\n padding: 3px 5px;\n margin: 0 3px;\n}\n.w-e-text pre code {\n display: block;\n}\n.w-e-text table {\n border-top: 1px solid #ccc;\n border-left: 1px solid #ccc;\n}\n.w-e-text table td,\n.w-e-text table th {\n border-bottom: 1px solid #ccc;\n border-right: 1px solid #ccc;\n padding: 3px 5px;\n min-height: 30px;\n height: 30px;\n}\n.w-e-text table th {\n border-bottom: 2px solid #ccc;\n text-align: center;\n background-color: #f1f1f1;\n}\n.w-e-text:focus {\n outline: none;\n}\n.w-e-text img {\n cursor: pointer;\n}\n.w-e-text img:hover {\n box-shadow: 0 0 5px #333;\n}\n.w-e-text .w-e-todo {\n margin: 0 0 0 20px;\n}\n.w-e-text .w-e-todo li {\n list-style: none;\n font-size: 1em;\n}\n.w-e-text .w-e-todo li span:nth-child(1) {\n position: relative;\n left: -18px;\n}\n.w-e-text .w-e-todo li span:nth-child(1) input {\n position: absolute;\n margin-right: 3px;\n}\n.w-e-text .w-e-todo li span:nth-child(1) input[type=checkbox] {\n top: 50%;\n margin-top: -6px;\n}\n.w-e-tooltip {\n position: absolute;\n display: flex;\n color: #f1f1f1;\n background-color: rgba(0, 0, 0, 0.75);\n box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15);\n border-radius: 4px;\n padding: 4px 5px 6px;\n justify-content: center;\n align-items: center;\n}\n.w-e-tooltip-up::after {\n content: "";\n position: absolute;\n top: 100%;\n left: 50%;\n margin-left: -5px;\n border: 5px solid rgba(0, 0, 0, 0);\n border-top-color: rgba(0, 0, 0, 0.73);\n}\n.w-e-tooltip-down::after {\n content: "";\n position: absolute;\n bottom: 100%;\n left: 50%;\n margin-left: -5px;\n border: 5px solid rgba(0, 0, 0, 0);\n border-bottom-color: rgba(0, 0, 0, 0.73);\n}\n.w-e-tooltip-item-wrapper {\n cursor: pointer;\n font-size: 14px;\n margin: 0 5px;\n}\n.w-e-tooltip-item-wrapper:hover {\n color: #ccc;\n text-decoration: underline;\n}\n',""]),e.exports=t},function(e,t,n){var r=n(20),i=n(157);i=i.__esModule?i.default:i,"string"===typeof i&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){var r=n(21);t=r(!1),t.push([e.i,'.w-e-menu .w-e-panel-container {\n position: absolute;\n top: 0;\n left: 50%;\n border: 1px solid #ccc;\n border-top: 0;\n box-shadow: 1px 1px 2px #ccc;\n color: #333;\n background-color: #fff;\n text-align: left;\n /* 为 emotion panel 定制的样式 */\n /* 上传图片、上传视频的 panel 定制样式 */\n}\n.w-e-menu .w-e-panel-container .w-e-panel-close {\n position: absolute;\n right: 0;\n top: 0;\n padding: 5px;\n margin: 2px 5px 0 0;\n cursor: pointer;\n color: #999;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-close:hover {\n color: #333;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-title {\n list-style: none;\n display: flex;\n font-size: 14px;\n margin: 2px 10px 0 10px;\n border-bottom: 1px solid #f1f1f1;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-title .w-e-item {\n padding: 3px 5px;\n color: #999;\n cursor: pointer;\n margin: 0 3px;\n position: relative;\n top: 1px;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-title .w-e-active {\n color: #333;\n border-bottom: 1px solid #333;\n cursor: default;\n font-weight: 700;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content {\n padding: 10px 15px 10px 15px;\n font-size: 16px;\n /* 输入框的样式 */\n /* 按钮的样式 */\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content input:focus,\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content textarea:focus,\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content button:focus {\n outline: none;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content textarea {\n width: 100%;\n border: 1px solid #ccc;\n padding: 5px;\n margin-top: 10px;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content textarea:focus {\n border-color: #1e88e5;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content input[type=text] {\n border: none;\n border-bottom: 1px solid #ccc;\n font-size: 14px;\n height: 20px;\n color: #333;\n text-align: left;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content input[type=text].small {\n width: 30px;\n text-align: center;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content input[type=text].block {\n display: block;\n width: 100%;\n margin: 10px 0;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content input[type=text]:focus {\n border-bottom: 2px solid #1e88e5;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content .w-e-button-container button {\n font-size: 14px;\n color: #1e88e5;\n border: none;\n padding: 5px 10px;\n background-color: #fff;\n cursor: pointer;\n border-radius: 3px;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content .w-e-button-container button.left {\n float: left;\n margin-right: 10px;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content .w-e-button-container button.right {\n float: right;\n margin-left: 10px;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content .w-e-button-container button.gray {\n color: #999;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content .w-e-button-container button.red {\n color: #c24f4a;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content .w-e-button-container button:hover {\n background-color: #f1f1f1;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content .w-e-button-container:after {\n content: "";\n display: table;\n clear: both;\n}\n.w-e-menu .w-e-panel-container .w-e-emoticon-container .w-e-item {\n cursor: pointer;\n font-size: 18px;\n padding: 0 3px;\n display: inline-block;\n}\n.w-e-menu .w-e-panel-container .w-e-up-img-container,\n.w-e-menu .w-e-panel-container .w-e-up-video-container {\n text-align: center;\n}\n.w-e-menu .w-e-panel-container .w-e-up-img-container .w-e-up-btn,\n.w-e-menu .w-e-panel-container .w-e-up-video-container .w-e-up-btn {\n display: inline-block;\n color: #999;\n cursor: pointer;\n font-size: 60px;\n line-height: 1;\n}\n.w-e-menu .w-e-panel-container .w-e-up-img-container .w-e-up-btn:hover,\n.w-e-menu .w-e-panel-container .w-e-up-video-container .w-e-up-btn:hover {\n color: #333;\n}\n',""]),e.exports=t},function(e,t,n){var r=n(20),i=n(159);i=i.__esModule?i.default:i,"string"===typeof i&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){var r=n(21);t=r(!1),t.push([e.i,".w-e-toolbar .w-e-droplist {\n position: absolute;\n left: 0;\n top: 0;\n background-color: #fff;\n border: 1px solid #f1f1f1;\n border-right-color: #ccc;\n border-bottom-color: #ccc;\n}\n.w-e-toolbar .w-e-droplist .w-e-dp-title {\n text-align: center;\n color: #999;\n line-height: 2;\n border-bottom: 1px solid #f1f1f1;\n font-size: 13px;\n}\n.w-e-toolbar .w-e-droplist ul.w-e-list {\n list-style: none;\n line-height: 1;\n}\n.w-e-toolbar .w-e-droplist ul.w-e-list li.w-e-item {\n color: #333;\n padding: 5px 0;\n}\n.w-e-toolbar .w-e-droplist ul.w-e-list li.w-e-item:hover {\n background-color: #f1f1f1;\n}\n.w-e-toolbar .w-e-droplist ul.w-e-block {\n list-style: none;\n text-align: left;\n padding: 5px;\n}\n.w-e-toolbar .w-e-droplist ul.w-e-block li.w-e-item {\n display: inline-block;\n padding: 3px 5px;\n}\n.w-e-toolbar .w-e-droplist ul.w-e-block li.w-e-item:hover {\n background-color: #f1f1f1;\n}\n",""]),e.exports=t},function(e,t,n){"use strict";var r=n(0),i=r(n(161));Element.prototype.matches||(Element.prototype.matches=function(e){var t=this.ownerDocument.querySelectorAll(e),n=t.length;for(n;n>=0;n--)if(t.item(n)===this)break;return n>-1}),i["default"]||(window.Promise=i["default"])},function(e,t,n){e.exports=n(162)},function(e,t,n){var r=n(163);e.exports=r},function(e,t,n){n(61),n(50),n(54),n(175),n(178),n(179);var r=n(9);e.exports=r.Promise},function(e,t,n){var r=n(62),i=n(49),o=function(e){return function(t,n){var o,a,u=String(i(t)),l=r(n),s=u.length;return l<0||l>=s?e?"":void 0:(o=u.charCodeAt(l),o<55296||o>56319||l+1===s||(a=u.charCodeAt(l+1))<56320||a>57343?e?u.charAt(l):o:e?u.slice(l,l+2):a-56320+(o-55296<<10)+65536)}};e.exports={codeAt:o(!1),charAt:o(!0)}},function(e,t,n){var r=n(8),i=n(102),o=r.WeakMap;e.exports="function"===typeof o&&/native code/.test(i(o))},function(e,t,n){var r=n(8),i=n(19);e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){"use strict";var r=n(104).IteratorPrototype,i=n(77),o=n(48),a=n(37),u=n(44),l=function(){return this};e.exports=function(e,t,n){var s=t+" Iterator";return e.prototype=i(r,{next:o(1,n)}),a(e,s,!1,!0),u[s]=l,e}},function(e,t,n){var r=n(11);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,n){var r=n(14),i=n(18),o=n(25),a=n(52);e.exports=r?Object.defineProperties:function(e,t){o(e);var n,r=a(t),u=r.length,l=0;while(u>l)i.f(e,n=r[l++],t[n]);return e}},function(e,t,n){"use strict";var r=n(81),i=n(65);e.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},function(e,t,n){var r=n(25),i=n(172);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(n,[]),t=n instanceof Array}catch(o){}return function(n,o){return r(n),i(o),t?e.call(n,o):n.__proto__=o,n}}():void 0)},function(e,t,n){var r=n(13);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){"use strict";var r=n(30),i=n(82),o=n(44),a=n(42),u=n(75),l="Array Iterator",s=a.set,c=a.getterFor(l);e.exports=u(Array,"Array",(function(e,t){s(this,{type:l,target:r(e),index:0,kind:t})}),(function(){var e=c(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(e,t){e.exports={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}},function(e,t,n){"use strict";var r,i,o,a,u=n(5),l=n(43),s=n(8),c=n(36),f=n(109),d=n(53),p=n(110),h=n(37),v=n(111),g=n(13),m=n(41),A=n(83),y=n(34),_=n(102),w=n(66),x=n(115),b=n(116),E=n(117).set,C=n(176),S=n(119),k=n(177),M=n(85),T=n(120),D=n(42),I=n(101),R=n(10),N=n(86),B=R("species"),P="Promise",F=D.get,L=D.set,O=D.getterFor(P),H=f,j=s.TypeError,U=s.document,z=s.process,Q=c("fetch"),Y=M.f,$=Y,V="process"==y(z),G=!!(U&&U.createEvent&&s.dispatchEvent),W="unhandledrejection",J="rejectionhandled",K=0,q=1,X=2,Z=1,ee=2,te=I(P,(function(){var e=_(H)!==String(H);if(!e){if(66===N)return!0;if(!V&&"function"!=typeof PromiseRejectionEvent)return!0}if(l&&!H.prototype["finally"])return!0;if(N>=51&&/native code/.test(H))return!1;var t=H.resolve(1),n=function(e){e((function(){}),(function(){}))},r=t.constructor={};return r[B]=n,!(t.then((function(){}))instanceof n)})),ne=te||!x((function(e){H.all(e)["catch"]((function(){}))})),re=function(e){var t;return!(!g(e)||"function"!=typeof(t=e.then))&&t},ie=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;C((function(){var i=t.value,o=t.state==q,a=0;while(r.length>a){var u,l,s,c=r[a++],f=o?c.ok:c.fail,d=c.resolve,p=c.reject,h=c.domain;try{f?(o||(t.rejection===ee&&le(e,t),t.rejection=Z),!0===f?u=i:(h&&h.enter(),u=f(i),h&&(h.exit(),s=!0)),u===c.promise?p(j("Promise-chain cycle")):(l=re(u))?l.call(u,d,p):d(u)):p(i)}catch(v){h&&!s&&h.exit(),p(v)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&ae(e,t)}))}},oe=function(e,t,n){var r,i;G?(r=U.createEvent("Event"),r.promise=t,r.reason=n,r.initEvent(e,!1,!0),s.dispatchEvent(r)):r={promise:t,reason:n},(i=s["on"+e])?i(r):e===W&&k("Unhandled promise rejection",n)},ae=function(e,t){E.call(s,(function(){var n,r=t.value,i=ue(t);if(i&&(n=T((function(){V?z.emit("unhandledRejection",r,e):oe(W,e,r)})),t.rejection=V||ue(t)?ee:Z,n.error))throw n.value}))},ue=function(e){return e.rejection!==Z&&!e.parent},le=function(e,t){E.call(s,(function(){V?z.emit("rejectionHandled",e):oe(J,e,t.value)}))},se=function(e,t,n,r){return function(i){e(t,n,i,r)}},ce=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=X,ie(e,t,!0))},fe=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw j("Promise can't be resolved itself");var i=re(n);i?C((function(){var r={done:!1};try{i.call(n,se(fe,e,r,t),se(ce,e,r,t))}catch(o){ce(e,r,o,t)}})):(t.value=n,t.state=q,ie(e,t,!1))}catch(o){ce(e,{done:!1},o,t)}}};te&&(H=function(e){A(this,H,P),m(e),r.call(this);var t=F(this);try{e(se(fe,this,t),se(ce,this,t))}catch(n){ce(this,t,n)}},r=function(e){L(this,{type:P,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:K,value:void 0})},r.prototype=p(H.prototype,{then:function(e,t){var n=O(this),r=Y(b(this,H));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=V?z.domain:void 0,n.parent=!0,n.reactions.push(r),n.state!=K&&ie(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r,t=F(e);this.promise=e,this.resolve=se(fe,e,t),this.reject=se(ce,e,t)},M.f=Y=function(e){return e===H||e===o?new i(e):$(e)},l||"function"!=typeof f||(a=f.prototype.then,d(f.prototype,"then",(function(e,t){var n=this;return new H((function(e,t){a.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof Q&&u({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return S(H,Q.apply(s,arguments))}}))),u({global:!0,wrap:!0,forced:te},{Promise:H}),h(H,P,!1,!0),v(P),o=c(P),u({target:P,stat:!0,forced:te},{reject:function(e){var t=Y(this);return t.reject.call(void 0,e),t.promise}}),u({target:P,stat:!0,forced:l||te},{resolve:function(e){return S(l&&this===o?H:this,e)}}),u({target:P,stat:!0,forced:ne},{all:function(e){var t=this,n=Y(t),r=n.resolve,i=n.reject,o=T((function(){var n=m(t.resolve),o=[],a=0,u=1;w(e,(function(e){var l=a++,s=!1;o.push(void 0),u++,n.call(t,e).then((function(e){s||(s=!0,o[l]=e,--u||r(o))}),i)})),--u||r(o)}));return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=Y(t),r=n.reject,i=T((function(){var i=m(t.resolve);w(e,(function(e){i.call(t,e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}})},function(e,t,n){var r,i,o,a,u,l,s,c,f=n(8),d=n(71).f,p=n(34),h=n(117).set,v=n(118),g=f.MutationObserver||f.WebKitMutationObserver,m=f.process,A=f.Promise,y="process"==p(m),_=d(f,"queueMicrotask"),w=_&&_.value;w||(r=function(){var e,t;y&&(e=m.domain)&&e.exit();while(i){t=i.fn,i=i.next;try{t()}catch(n){throw i?a():o=void 0,n}}o=void 0,e&&e.enter()},y?a=function(){m.nextTick(r)}:g&&!v?(u=!0,l=document.createTextNode(""),new g(r).observe(l,{characterData:!0}),a=function(){l.data=u=!u}):A&&A.resolve?(s=A.resolve(void 0),c=s.then,a=function(){c.call(s,r)}):a=function(){h.call(f,r)}),e.exports=w||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},function(e,t,n){var r=n(8);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},function(e,t,n){"use strict";var r=n(5),i=n(41),o=n(85),a=n(120),u=n(66);r({target:"Promise",stat:!0},{allSettled:function(e){var t=this,n=o.f(t),r=n.resolve,l=n.reject,s=a((function(){var n=i(t.resolve),o=[],a=0,l=1;u(e,(function(e){var i=a++,u=!1;o.push(void 0),l++,n.call(t,e).then((function(e){u||(u=!0,o[i]={status:"fulfilled",value:e},--l||r(o))}),(function(e){u||(u=!0,o[i]={status:"rejected",reason:e},--l||r(o))}))})),--l||r(o)}));return s.error&&l(s.value),n.promise}})},function(e,t,n){"use strict";var r=n(5),i=n(43),o=n(109),a=n(11),u=n(36),l=n(116),s=n(119),c=n(53),f=!!o&&a((function(){o.prototype["finally"].call({then:function(){}},(function(){}))}));r({target:"Promise",proto:!0,real:!0,forced:f},{finally:function(e){var t=l(this,u("Promise")),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then((function(){return n}))}:e,n?function(n){return s(t,e()).then((function(){throw n}))}:e)}}),i||"function"!=typeof o||o.prototype["finally"]||c(o.prototype,"finally",u("Promise").prototype["finally"])},function(e,t,n){n(54);var r=n(181),i=n(65),o=Array.prototype,a={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.forEach;return e===o||e instanceof Array&&t===o.forEach||a.hasOwnProperty(i(e))?r:t}},function(e,t,n){var r=n(182);e.exports=r},function(e,t,n){n(183);var r=n(15);e.exports=r("Array").forEach},function(e,t,n){"use strict";var r=n(5),i=n(184);r({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},function(e,t,n){"use strict";var r=n(32).forEach,i=n(67),o=n(22),a=i("forEach"),u=o("forEach");e.exports=a&&u?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t,n){var r=n(186);e.exports=r},function(e,t,n){n(187);var r=n(9);e.exports=r.Array.isArray},function(e,t,n){var r=n(5),i=n(55);r({target:"Array",stat:!0},{isArray:i})},function(e,t,n){var r=n(189);e.exports=r},function(e,t,n){var r=n(190),i=Array.prototype;e.exports=function(e){var t=e.map;return e===i||e instanceof Array&&t===i.map?r:t}},function(e,t,n){n(191);var r=n(15);e.exports=r("Array").map},function(e,t,n){"use strict";var r=n(5),i=n(32).map,o=n(56),a=n(22),u=o("map"),l=a("map");r({target:"Array",proto:!0,forced:!u||!l},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(193);e.exports=r},function(e,t,n){var r=n(194),i=String.prototype;e.exports=function(e){var t=e.trim;return"string"===typeof e||e===i||e instanceof String&&t===i.trim?r:t}},function(e,t,n){n(195);var r=n(15);e.exports=r("String").trim},function(e,t,n){"use strict";var r=n(5),i=n(90).trim,o=n(196);r({target:"String",proto:!0,forced:o("trim")},{trim:function(){return i(this)}})},function(e,t,n){var r=n(11),i=n(68),o="
";e.exports=function(e){return r((function(){return!!i[e]()||o[e]()!=o||i[e].name!==e}))}},function(e,t,n){var r=n(198);e.exports=r},function(e,t,n){n(199),n(61),n(50),n(54);var r=n(9);e.exports=r.Map},function(e,t,n){"use strict";var r=n(122),i=n(124);e.exports=r("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),i)},function(e,t,n){var r=n(11);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(e,t,n){var r=n(202);e.exports=r},function(e,t,n){var r=n(203),i=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===i||e instanceof Array&&t===i.indexOf?r:t}},function(e,t,n){n(204);var r=n(15);e.exports=r("Array").indexOf},function(e,t,n){"use strict";var r=n(5),i=n(78).indexOf,o=n(67),a=n(22),u=[].indexOf,l=!!u&&1/[1].indexOf(1,-0)<0,s=o("indexOf"),c=a("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:l||!s||!c},{indexOf:function(e){return l?u.apply(this,arguments)||0:i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(206);e.exports=r},function(e,t,n){var r=n(207),i=Array.prototype;e.exports=function(e){var t=e.splice;return e===i||e instanceof Array&&t===i.splice?r:t}},function(e,t,n){n(208);var r=n(15);e.exports=r("Array").splice},function(e,t,n){"use strict";var r=n(5),i=n(79),o=n(62),a=n(35),u=n(31),l=n(88),s=n(69),c=n(56),f=n(22),d=c("splice"),p=f("splice",{ACCESSORS:!0,0:0,1:2}),h=Math.max,v=Math.min,g=9007199254740991,m="Maximum allowed length exceeded";r({target:"Array",proto:!0,forced:!d||!p},{splice:function(e,t){var n,r,c,f,d,p,A=u(this),y=a(A.length),_=i(e,y),w=arguments.length;if(0===w?n=r=0:1===w?(n=0,r=y-_):(n=w-2,r=v(h(o(t),0),y-_)),y+n-r>g)throw TypeError(m);for(c=l(A,r),f=0;f<r;f++)d=_+f,d in A&&s(c,f,A[d]);if(c.length=r,n<r){for(f=_;f<y-r;f++)d=f+r,p=f+n,d in A?A[p]=A[d]:delete A[p];for(f=y;f>y-r+n;f--)delete A[f-1]}else if(n>r)for(f=y-r;f>_;f--)d=f+r-1,p=f+n-1,d in A?A[p]=A[d]:delete A[p];for(f=0;f<n;f++)A[f+_]=arguments[f+2];return A.length=y-r+n,c}})},function(e,t,n){var r=n(210);e.exports=r},function(e,t,n){var r=n(211),i=Array.prototype;e.exports=function(e){var t=e.filter;return e===i||e instanceof Array&&t===i.filter?r:t}},function(e,t,n){n(212);var r=n(15);e.exports=r("Array").filter},function(e,t,n){"use strict";var r=n(5),i=n(32).filter,o=n(56),a=n(22),u=o("filter"),l=a("filter");r({target:"Array",proto:!0,forced:!u||!l},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(214);e.exports=r},function(e,t,n){var r=n(215),i=n(217),o=Array.prototype,a=String.prototype;e.exports=function(e){var t=e.includes;return e===o||e instanceof Array&&t===o.includes?r:"string"===typeof e||e===a||e instanceof String&&t===a.includes?i:t}},function(e,t,n){n(216);var r=n(15);e.exports=r("Array").includes},function(e,t,n){"use strict";var r=n(5),i=n(78).includes,o=n(82),a=n(22),u=a("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:!u},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},function(e,t,n){n(218);var r=n(15);e.exports=r("String").includes},function(e,t,n){"use strict";var r=n(5),i=n(219),o=n(49),a=n(221);r({target:"String",proto:!0,forced:!a("includes")},{includes:function(e){return!!~String(o(this)).indexOf(i(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(220);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,n){var r=n(13),i=n(34),o=n(10),a=o("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==i(e))}},function(e,t,n){var r=n(10),i=r("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[i]=!1,"/./"[e](t)}catch(r){}}return!1}},function(e,t,n){var r=n(223);e.exports=r},function(e,t,n){var r=n(224),i=Function.prototype;e.exports=function(e){var t=e.bind;return e===i||e instanceof Function&&t===i.bind?r:t}},function(e,t,n){n(225);var r=n(15);e.exports=r("Function").bind},function(e,t,n){var r=n(5),i=n(226);r({target:"Function",proto:!0},{bind:i})},function(e,t,n){"use strict";var r=n(41),i=n(13),o=[].slice,a={},u=function(e,t,n){if(!(t in a)){for(var r=[],i=0;i<t;i++)r[i]="a["+i+"]";a[t]=Function("C,a","return new C("+r.join(",")+")")}return a[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=o.call(arguments,1),a=function(){var r=n.concat(o.call(arguments));return this instanceof a?u(t,r.length,r):t.apply(e,r)};return i(t.prototype)&&(a.prototype=t.prototype),a}},function(e,t,n){e.exports=n(228)},function(e,t,n){var r=n(229);e.exports=r},function(e,t,n){n(125),n(50),n(54);var r=n(93);e.exports=r.f("iterator")},function(e,t,n){e.exports=n(231)},function(e,t,n){var r=n(232);n(251),n(252),n(253),n(254),n(255),e.exports=r},function(e,t,n){n(233),n(61),n(234),n(236),n(237),n(238),n(239),n(125),n(240),n(241),n(242),n(243),n(244),n(245),n(246),n(247),n(248),n(249),n(250);var r=n(9);e.exports=r.Symbol},function(e,t,n){"use strict";var r=n(5),i=n(11),o=n(55),a=n(13),u=n(31),l=n(35),s=n(69),c=n(88),f=n(56),d=n(10),p=n(86),h=d("isConcatSpreadable"),v=9007199254740991,g="Maximum allowed index exceeded",m=p>=51||!i((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),A=f("concat"),y=function(e){if(!a(e))return!1;var t=e[h];return void 0!==t?!!t:o(e)},_=!m||!A;r({target:"Array",proto:!0,forced:_},{concat:function(e){var t,n,r,i,o,a=u(this),f=c(a,0),d=0;for(t=-1,r=arguments.length;t<r;t++)if(o=-1===t?a:arguments[t],y(o)){if(i=l(o.length),d+i>v)throw TypeError(g);for(n=0;n<i;n++,d++)n in o&&s(f,d,o[n])}else{if(d>=v)throw TypeError(g);s(f,d++,o)}return f.length=d,f}})},function(e,t,n){"use strict";var r=n(5),i=n(8),o=n(36),a=n(43),u=n(14),l=n(76),s=n(106),c=n(11),f=n(16),d=n(55),p=n(13),h=n(25),v=n(31),g=n(30),m=n(60),A=n(48),y=n(77),_=n(52),w=n(126),x=n(235),b=n(127),E=n(71),C=n(18),S=n(59),k=n(19),M=n(53),T=n(74),D=n(63),I=n(51),R=n(64),N=n(10),B=n(93),P=n(12),F=n(37),L=n(42),O=n(32).forEach,H=D("hidden"),j="Symbol",U="prototype",z=N("toPrimitive"),Q=L.set,Y=L.getterFor(j),$=Object[U],V=i.Symbol,G=o("JSON","stringify"),W=E.f,J=C.f,K=x.f,q=S.f,X=T("symbols"),Z=T("op-symbols"),ee=T("string-to-symbol-registry"),te=T("symbol-to-string-registry"),ne=T("wks"),re=i.QObject,ie=!re||!re[U]||!re[U].findChild,oe=u&&c((function(){return 7!=y(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=W($,t);r&&delete $[t],J(e,t,n),r&&e!==$&&J($,t,r)}:J,ae=function(e,t){var n=X[e]=y(V[U]);return Q(n,{type:j,tag:e,description:t}),u||(n.description=t),n},ue=s?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof V},le=function(e,t,n){e===$&&le(Z,t,n),h(e);var r=m(t,!0);return h(n),f(X,r)?(n.enumerable?(f(e,H)&&e[H][r]&&(e[H][r]=!1),n=y(n,{enumerable:A(0,!1)})):(f(e,H)||J(e,H,A(1,{})),e[H][r]=!0),oe(e,r,n)):J(e,r,n)},se=function(e,t){h(e);var n=g(t),r=_(n).concat(he(n));return O(r,(function(t){u&&!fe.call(n,t)||le(e,t,n[t])})),e},ce=function(e,t){return void 0===t?y(e):se(y(e),t)},fe=function(e){var t=m(e,!0),n=q.call(this,t);return!(this===$&&f(X,t)&&!f(Z,t))&&(!(n||!f(this,t)||!f(X,t)||f(this,H)&&this[H][t])||n)},de=function(e,t){var n=g(e),r=m(t,!0);if(n!==$||!f(X,r)||f(Z,r)){var i=W(n,r);return!i||!f(X,r)||f(n,H)&&n[H][r]||(i.enumerable=!0),i}},pe=function(e){var t=K(g(e)),n=[];return O(t,(function(e){f(X,e)||f(I,e)||n.push(e)})),n},he=function(e){var t=e===$,n=K(t?Z:g(e)),r=[];return O(n,(function(e){!f(X,e)||t&&!f($,e)||r.push(X[e])})),r};if(l||(V=function(){if(this instanceof V)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=R(e),n=function(e){this===$&&n.call(Z,e),f(this,H)&&f(this[H],t)&&(this[H][t]=!1),oe(this,t,A(1,e))};return u&&ie&&oe($,t,{configurable:!0,set:n}),ae(t,e)},M(V[U],"toString",(function(){return Y(this).tag})),M(V,"withoutSetter",(function(e){return ae(R(e),e)})),S.f=fe,C.f=le,E.f=de,w.f=x.f=pe,b.f=he,B.f=function(e){return ae(N(e),e)},u&&(J(V[U],"description",{configurable:!0,get:function(){return Y(this).description}}),a||M($,"propertyIsEnumerable",fe,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:V}),O(_(ne),(function(e){P(e)})),r({target:j,stat:!0,forced:!l},{for:function(e){var t=String(e);if(f(ee,t))return ee[t];var n=V(t);return ee[t]=n,te[n]=t,n},keyFor:function(e){if(!ue(e))throw TypeError(e+" is not a symbol");if(f(te,e))return te[e]},useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!u},{create:ce,defineProperty:le,defineProperties:se,getOwnPropertyDescriptor:de}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:pe,getOwnPropertySymbols:he}),r({target:"Object",stat:!0,forced:c((function(){b.f(1)}))},{getOwnPropertySymbols:function(e){return b.f(v(e))}}),G){var ve=!l||c((function(){var e=V();return"[null]"!=G([e])||"{}"!=G({a:e})||"{}"!=G(Object(e))}));r({target:"JSON",stat:!0,forced:ve},{stringify:function(e,t,n){var r,i=[e],o=1;while(arguments.length>o)i.push(arguments[o++]);if(r=t,(p(t)||void 0!==e)&&!ue(e))return d(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!ue(t))return t}),i[1]=t,G.apply(null,i)}})}V[U][z]||k(V[U],z,V[U].valueOf),F(V,j),I[H]=!0},function(e,t,n){var r=n(30),i=n(126).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(e){try{return i(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?u(e):i(r(e))}},function(e,t,n){var r=n(12);r("asyncIterator")},function(e,t){},function(e,t,n){var r=n(12);r("hasInstance")},function(e,t,n){var r=n(12);r("isConcatSpreadable")},function(e,t,n){var r=n(12);r("match")},function(e,t,n){var r=n(12);r("matchAll")},function(e,t,n){var r=n(12);r("replace")},function(e,t,n){var r=n(12);r("search")},function(e,t,n){var r=n(12);r("species")},function(e,t,n){var r=n(12);r("split")},function(e,t,n){var r=n(12);r("toPrimitive")},function(e,t,n){var r=n(12);r("toStringTag")},function(e,t,n){var r=n(12);r("unscopables")},function(e,t,n){var r=n(37);r(Math,"Math",!0)},function(e,t,n){var r=n(8),i=n(37);i(r.JSON,"JSON",!0)},function(e,t,n){var r=n(12);r("asyncDispose")},function(e,t,n){var r=n(12);r("dispose")},function(e,t,n){var r=n(12);r("observable")},function(e,t,n){var r=n(12);r("patternMatch")},function(e,t,n){var r=n(12);r("replaceAll")},function(e,t,n){e.exports=n(257)},function(e,t,n){var r=n(258);e.exports=r},function(e,t,n){n(259);var r=n(9);e.exports=r.parseInt},function(e,t,n){var r=n(5),i=n(260);r({global:!0,forced:parseInt!=i},{parseInt:i})},function(e,t,n){var r=n(8),i=n(90).trim,o=n(68),a=r.parseInt,u=/^[+-]?0[Xx]/,l=8!==a(o+"08")||22!==a(o+"0x16");e.exports=l?function(e,t){var n=i(String(e));return a(n,t>>>0||(u.test(n)?16:10))}:a},function(e,t,n){var r=n(262);e.exports=r},function(e,t,n){var r=n(263),i=Array.prototype;e.exports=function(e){var t=e.slice;return e===i||e instanceof Array&&t===i.slice?r:t}},function(e,t,n){n(264);var r=n(15);e.exports=r("Array").slice},function(e,t,n){"use strict";var r=n(5),i=n(13),o=n(55),a=n(79),u=n(35),l=n(30),s=n(69),c=n(10),f=n(56),d=n(22),p=f("slice"),h=d("slice",{ACCESSORS:!0,0:0,1:2}),v=c("species"),g=[].slice,m=Math.max;r({target:"Array",proto:!0,forced:!p||!h},{slice:function(e,t){var n,r,c,f=l(this),d=u(f.length),p=a(e,d),h=a(void 0===t?d:t,d);if(o(f)&&(n=f.constructor,"function"!=typeof n||n!==Array&&!o(n.prototype)?i(n)&&(n=n[v],null===n&&(n=void 0)):n=void 0,n===Array||void 0===n))return g.call(f,p,h);for(r=new(void 0===n?Array:n)(m(h-p,0)),c=0;p<h;p++,c++)p in f&&s(r,c,f[p]);return r.length=c,r}})},function(e,t,n){n(266);var r=n(9);e.exports=r.setTimeout},function(e,t,n){var r=n(5),i=n(8),o=n(84),a=[].slice,u=/MSIE .\./.test(o),l=function(e){return function(t,n){var r=arguments.length>2,i=r?a.call(arguments,2):void 0;return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,i)}:t,n)}};r({global:!0,bind:!0,forced:u},{setTimeout:l(i.setTimeout),setInterval:l(i.setInterval)})},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(128));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),u=a.__importDefault(n(272)),l=a.__importDefault(n(273)),s=a.__importDefault(n(129)),c=a.__importDefault(n(274)),f=a.__importDefault(n(275)),d=a.__importDefault(n(276)),p=a.__importDefault(n(130)),h=a.__importDefault(n(277)),v=a.__importDefault(n(278)),g=a.__importDefault(n(279)),m=(0,o["default"])({},u["default"],l["default"],s["default"],f["default"],c["default"],d["default"],p["default"],h["default"],v["default"],g["default"],{linkCheck:function(e,t){return!0}});t["default"]=m},function(e,t,n){var r=n(269);e.exports=r},function(e,t,n){n(270);var r=n(9);e.exports=r.Object.assign},function(e,t,n){var r=n(5),i=n(271);r({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},function(e,t,n){"use strict";var r=n(14),i=n(11),o=n(52),a=n(127),u=n(59),l=n(31),s=n(72),c=Object.assign,f=Object.defineProperty;e.exports=!c||i((function(){if(r&&1!==c({b:1},c(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||o(c({},t)).join("")!=i}))?function(e,t){var n=l(e),i=arguments.length,c=1,f=a.f,d=u.f;while(i>c){var p,h=s(arguments[c++]),v=f?o(h).concat(f(h)):o(h),g=v.length,m=0;while(g>m)p=v[m++],r&&!d.call(h,p)||(n[p]=h[p])}return n}:c},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0}),t["default"]={menus:["head","bold","fontSize","fontName","italic","underline","strikeThrough","indent","lineHeight","foreColor","backColor","link","list","todo","justify","quote","emoticon","image","video","table","code","splitLine","undo","redo"],fontNames:["黑体","仿宋","楷体","标楷体","华文仿宋","华文楷体","宋体","微软雅黑","Arial","Tahoma","Verdana","Times New Roman","Courier New"],fontSizes:{"x-small":{name:"10px",value:"1"},small:{name:"13px",value:"2"},normal:{name:"16px",value:"3"},large:{name:"18px",value:"4"},"x-large":{name:"24px",value:"5"},"xx-large":{name:"32px",value:"6"},"xxx-large":{name:"48px",value:"7"}},colors:["#000000","#ffffff","#eeece0","#1c487f","#4d80bf","#c24f4a","#8baa4a","#7b5ba1","#46acc8","#f9963b"],languageType:["Bash","C","C#","C++","CSS","Java","JavaScript","JSON","TypeScript","Plain text","Html","XML","SQL","Go","Kotlin","Lua","Markdown","PHP","Python","Shell Session","Ruby"],languageTab:" ",emotions:[{title:"表情",type:"emoji",content:"😀 😃 😄 😁 😆 😅 😂 🤣 😊 😇 🙂 🙃 😉 😌 😍 😘 😗 😙 😚 😋 😛 😝 😜 🤓 😎 😏 😒 😞 😔 😟 😕 🙁 😣 😖 😫 😩 😢 😭 😤 😠 😡 😳 😱 😨 🤗 🤔 😶 😑 😬 🙄 😯 😴 😷 🤑 😈 🤡 💩 👻 💀 👀 👣".split(/\s/)},{title:"手势",type:"emoji",content:"👐 🙌 👏 🤝 👍 👎 👊 ✊ 🤛 🤜 🤞 ✌️ 🤘 👌 👈 👉 👆 👇 ☝️ ✋ 🤚 🖐 🖖 👋 🤙 💪 🖕 ✍️ 🙏".split(/\s/)}],lineHeights:["1","1.15","1.6","2","2.5","3"],undoLimit:20,indentation:"2em",showMenuTooltips:!0,menuTooltipPosition:"up"}},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(7);function a(e,t,n){window.alert(e),n&&console.error("wangEditor: "+n)}t["default"]={onchangeTimeout:200,onchange:null,onfocus:o.EMPTY_FN,onblur:o.EMPTY_FN,onCatalogChange:null,customAlert:a}},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0}),t["default"]={pasteFilterStyle:!0,pasteIgnoreImg:!1,pasteTextHandle:function(e){return e}}},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0}),t["default"]={styleWithCSS:!1}},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(7);t["default"]={linkImgCheck:function(e,t,n){return!0},showLinkImg:!0,showLinkImgAlt:!0,showLinkImgHref:!0,linkImgCallback:o.EMPTY_FN,uploadImgAccept:["jpg","jpeg","png","gif","bmp"],uploadImgServer:"",uploadImgShowBase64:!1,uploadImgMaxSize:5242880,uploadImgMaxLength:100,uploadFileName:"",uploadImgParams:{},uploadImgParamsWithUrl:!1,uploadImgHeaders:{},uploadImgHooks:{},uploadImgTimeout:1e4,withCredentials:!1,customUploadImg:null,uploadImgFromMedia:null}},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0}),t["default"]={lang:"zh-CN",languages:{"zh-CN":{wangEditor:{"重置":"重置","插入":"插入","默认":"默认","创建":"创建","修改":"修改","如":"如","请输入正文":"请输入正文",menus:{title:{"标题":"标题","加粗":"加粗","字号":"字号","字体":"字体","斜体":"斜体","下划线":"下划线","删除线":"删除线","缩进":"缩进","行高":"行高","文字颜色":"文字颜色","背景色":"背景色","链接":"链接","序列":"序列","对齐":"对齐","引用":"引用","表情":"表情","图片":"图片","视频":"视频","表格":"表格","代码":"代码","分割线":"分割线","恢复":"恢复","撤销":"撤销","全屏":"全屏","取消全屏":"取消全屏","待办事项":"待办事项"},dropListMenu:{"设置标题":"设置标题","背景颜色":"背景颜色","文字颜色":"文字颜色","设置字号":"设置字号","设置字体":"设置字体","设置缩进":"设置缩进","对齐方式":"对齐方式","设置行高":"设置行高","序列":"序列",head:{"正文":"正文"},indent:{"增加缩进":"增加缩进","减少缩进":"减少缩进"},justify:{"靠左":"靠左","居中":"居中","靠右":"靠右","两端":"两端"},list:{"无序列表":"无序列表","有序列表":"有序列表"}},panelMenus:{emoticon:{"默认":"默认","新浪":"新浪",emoji:"emoji","手势":"手势"},image:{"上传图片":"上传图片","网络图片":"网络图片","图片地址":"图片地址","图片文字说明":"图片文字说明","跳转链接":"跳转链接"},link:{"链接":"链接","链接文字":"链接文字","取消链接":"取消链接","查看链接":"查看链接"},video:{"插入视频":"插入视频","上传视频":"上传视频"},table:{"行":"行","列":"列","的":"的","表格":"表格","添加行":"添加行","删除行":"删除行","添加列":"添加列","删除列":"删除列","设置表头":"设置表头","取消表头":"取消表头","插入表格":"插入表格","删除表格":"删除表格"},code:{"删除代码":"删除代码","修改代码":"修改代码","插入代码":"插入代码"}}},validate:{"张图片":"张图片","大于":"大于","图片链接":"图片链接","不是图片":"不是图片","返回结果":"返回结果","上传图片超时":"上传图片超时","上传图片错误":"上传图片错误","上传图片失败":"上传图片失败","插入图片错误":"插入图片错误","一次最多上传":"一次最多上传","下载链接失败":"下载链接失败","图片验证未通过":"图片验证未通过","服务器返回状态":"服务器返回状态","上传图片返回结果错误":"上传图片返回结果错误","请替换为支持的图片类型":"请替换为支持的图片类型","您插入的网络图片无法识别":"您插入的网络图片无法识别","您刚才插入的图片链接未通过编辑器校验":"您刚才插入的图片链接未通过编辑器校验","插入视频错误":"插入视频错误","视频链接":"视频链接","不是视频":"不是视频","视频验证未通过":"视频验证未通过","个视频":"个视频","上传视频超时":"上传视频超时","上传视频错误":"上传视频错误","上传视频失败":"上传视频失败","上传视频返回结果错误":"上传视频返回结果错误"}}},en:{wangEditor:{"重置":"reset","插入":"insert","默认":"default","创建":"create","修改":"edit","如":"like","请输入正文":"please enter the text",menus:{title:{"标题":"head","加粗":"bold","字号":"font size","字体":"font family","斜体":"italic","下划线":"underline","删除线":"strikethrough","缩进":"indent","行高":"line heihgt","文字颜色":"font color","背景色":"background","链接":"link","序列":"numbered list","对齐":"align","引用":"quote","表情":"emoticons","图片":"image","视频":"media","表格":"table","代码":"code","分割线":"split line","恢复":"redo","撤销":"undo","全屏":"fullscreen","取消全屏":"cancel fullscreen","待办事项":"todo"},dropListMenu:{"设置标题":"title","背景颜色":"background","文字颜色":"font color","设置字号":"font size","设置字体":"font family","设置缩进":"indent","对齐方式":"align","设置行高":"line heihgt","序列":"list",head:{"正文":"text"},indent:{"增加缩进":"indent","减少缩进":"outdent"},justify:{"靠左":"left","居中":"center","靠右":"right","两端":"justify"},list:{"无序列表":"unordered","有序列表":"ordered"}},panelMenus:{emoticon:{"表情":"emoji","手势":"gesture"},image:{"上传图片":"upload image","网络图片":"network image","图片地址":"image link","图片文字说明":"image alt","跳转链接":"hyperlink"},link:{"链接":"link","链接文字":"link text","取消链接":"unlink","查看链接":"view links"},video:{"插入视频":"insert video","上传视频":"upload local video"},table:{"行":"rows","列":"columns","的":" ","表格":"table","添加行":"insert row","删除行":"delete row","添加列":"insert column","删除列":"delete column","设置表头":"set header","取消表头":"cancel header","插入表格":"insert table","删除表格":"delete table"},code:{"删除代码":"delete code","修改代码":"edit code","插入代码":"insert code"}}},validate:{"张图片":"images","大于":"greater than","图片链接":"image link","不是图片":"is not image","返回结果":"return results","上传图片超时":"upload image timeout","上传图片错误":"upload image error","上传图片失败":"upload image failed","插入图片错误":"insert image error","一次最多上传":"once most at upload","下载链接失败":"download link failed","图片验证未通过":"image validate failed","服务器返回状态":"server return status","上传图片返回结果错误":"upload image return results error","请替换为支持的图片类型":"please replace with a supported image type","您插入的网络图片无法识别":"the network picture you inserted is not recognized","您刚才插入的图片链接未通过编辑器校验":"the image link you just inserted did not pass the editor verification","插入视频错误":"insert video error","视频链接":"video link","不是视频":"is not video","视频验证未通过":"video validate failed","个视频":"videos","上传视频超时":"upload video timeout","上传视频错误":"upload video error","上传视频失败":"upload video failed","上传视频返回结果错误":"upload video return results error"}}}}}},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(6);function a(){return!(!o.UA.isIE()&&!o.UA.isOldEdge)}t["default"]={compatibleMode:a,historyMaxSize:30}},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(7);t["default"]={onlineVideoCheck:function(e){return!0},onlineVideoCallback:o.EMPTY_FN,showLinkVideo:!0,uploadVideoAccept:["mp4"],uploadVideoServer:"",uploadVideoMaxSize:1073741824,uploadVideoName:"",uploadVideoParams:{},uploadVideoParamsWithUrl:!1,uploadVideoHeaders:{},uploadVideoHooks:{},uploadVideoTimeout:72e5,withVideoCredentials:!1,customUploadVideo:null,customInsertVideo:null}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(17));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),u=a.__importDefault(n(3)),l=n(6),s=n(7),c=function(){function e(e){this._currentRange=null,this.editor=e}return e.prototype.getRange=function(){return this._currentRange},e.prototype.saveRange=function(e){if(e)this._currentRange=e;else{var t=window.getSelection();if(0!==t.rangeCount){var n=t.getRangeAt(0),r=this.getSelectionContainerElem(n);if((null===r||void 0===r?void 0:r.length)&&"false"!==r.attr("contenteditable")&&!r.parentUntil("[contenteditable=false]")){var i=this.editor,a=i.$textElem;if(a.isContain(r)){var u;if(a.elems[0]===r.elems[0])if((0,o["default"])(u=a.html()).call(u)===s.EMPTY_P){var l=a.children(),c=null===l||void 0===l?void 0:l.last();i.selection.createRangeByElem(c,!0,!0),i.selection.restoreSelection()}this._currentRange=n}}}}},e.prototype.collapseRange=function(e){void 0===e&&(e=!1);var t=this._currentRange;t&&t.collapse(e)},e.prototype.getSelectionText=function(){var e=this._currentRange;return e?e.toString():""},e.prototype.getSelectionContainerElem=function(e){var t,n;if(t=e||this._currentRange,t)return n=t.commonAncestorContainer,u["default"](1===n.nodeType?n:n.parentNode)},e.prototype.getSelectionStartElem=function(e){var t,n;if(t=e||this._currentRange,t)return n=t.startContainer,u["default"](1===n.nodeType?n:n.parentNode)},e.prototype.getSelectionEndElem=function(e){var t,n;if(t=e||this._currentRange,t)return n=t.endContainer,u["default"](1===n.nodeType?n:n.parentNode)},e.prototype.isSelectionEmpty=function(){var e=this._currentRange;return!(!e||!e.startContainer||e.startContainer!==e.endContainer||e.startOffset!==e.endOffset)},e.prototype.restoreSelection=function(){var e=window.getSelection(),t=this._currentRange;e&&t&&(e.removeAllRanges(),e.addRange(t))},e.prototype.createEmptyRange=function(){var e,t=this.editor,n=this.getRange();if(n&&this.isSelectionEmpty())try{l.UA.isWebkit()?(t.cmd["do"]("insertHTML","​"),n.setEnd(n.endContainer,n.endOffset+1),this.saveRange(n)):(e=u["default"]("<strong>​</strong>"),t.cmd["do"]("insertElem",e),this.createRangeByElem(e,!0))}catch(r){}},e.prototype.createRangeByElems=function(e,t){var n=window.getSelection?window.getSelection():document.getSelection();null===n||void 0===n||n.removeAllRanges();var r=document.createRange();r.setStart(e,0),r.setEnd(t,t.childNodes.length||1),this.saveRange(r),this.restoreSelection()},e.prototype.createRangeByElem=function(e,t,n){if(e.length){var r=e.elems[0],i=document.createRange();n?i.selectNodeContents(r):i.selectNode(r),null!=t&&(i.collapse(t),t||(this.saveRange(i),this.editor.selection.moveCursor(r))),this.saveRange(i)}},e.prototype.getSelectionRangeTopNodes=function(){var e,t,n,r=null===(e=this.getSelectionStartElem())||void 0===e?void 0:e.getNodeTop(this.editor),i=null===(t=this.getSelectionEndElem())||void 0===t?void 0:t.getNodeTop(this.editor);return n=this.recordSelectionNodes(u["default"](r),u["default"](i)),n},e.prototype.moveCursor=function(e,t){var n,r=this.getRange(),i=3===e.nodeType?null===(n=e.nodeValue)||void 0===n?void 0:n.length:e.childNodes.length;(l.UA.isFirefox||l.UA.isIE())&&0!==i&&(3!==e.nodeType&&"BR"!==e.childNodes[i-1].nodeName||(i-=1));var o=null!==t&&void 0!==t?t:i;r&&e&&(r.setStart(e,o),r.setEnd(e,o),this.restoreSelection())},e.prototype.getCursorPos=function(){var e=window.getSelection();return null===e||void 0===e?void 0:e.anchorOffset},e.prototype.clearWindowSelectionRange=function(){var e=window.getSelection();e&&e.removeAllRanges()},e.prototype.recordSelectionNodes=function(e,t){var n=[],r=!0;try{var i=e,o=this.editor.$textElem;while(r){var a=null===i||void 0===i?void 0:i.getNodeTop(this.editor);"BODY"===a.getNodeName()&&(r=!1),a.length>0&&(n.push(u["default"](i)),(null===t||void 0===t?void 0:t.equal(a))||o.equal(a)?r=!1:i=a.getNextSibling())}}catch(l){r=!1}return n},e.prototype.setRangeToElem=function(e){var t=this.getRange();null===t||void 0===t||t.setStart(e,0),null===t||void 0===t||t.setEnd(e,0)},e}();t["default"]=c},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=o.__importDefault(n(3)),u=function(){function e(e){this.editor=e}return e.prototype["do"]=function(e,t){var n=this.editor;n.config.styleWithCSS&&document.execCommand("styleWithCSS",!1,"true");var r=n.selection;if(r.getRange()){switch(r.restoreSelection(),e){case"insertHTML":this.insertHTML(t);break;case"insertElem":this.insertElem(t);break;default:this.execCommand(e,t);break}n.menus.changeActive(),r.saveRange(),r.restoreSelection()}},e.prototype.insertHTML=function(e){var t=this.editor,n=t.selection.getRange();if(null!=n)if(this.queryCommandSupported("insertHTML"))this.execCommand("insertHTML",e);else if(n.insertNode){if(n.deleteContents(),a["default"](e).elems.length>0)n.insertNode(a["default"](e).elems[0]);else{var r=document.createElement("p");r.appendChild(document.createTextNode(e)),n.insertNode(r)}t.selection.collapseRange()}},e.prototype.insertElem=function(e){var t=this.editor,n=t.selection.getRange();null!=n&&n.insertNode&&(n.deleteContents(),n.insertNode(e.elems[0]))},e.prototype.execCommand=function(e,t){document.execCommand(e,!1,t)},e.prototype.queryCommandValue=function(e){return document.queryCommandValue(e)},e.prototype.queryCommandState=function(e){return document.queryCommandState(e)},e.prototype.queryCommandSupported=function(e){return document.queryCommandSupported(e)},e}();t["default"]=u},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(29)),a=r(n(4)),u=r(n(17)),l=r(n(27)),s=r(n(46));(0,i["default"])(t,"__esModule",{value:!0});var c=n(2),f=c.__importDefault(n(3)),d=c.__importDefault(n(287)),p=n(6),h=c.__importDefault(n(299)),v=c.__importDefault(n(300)),g=n(7),m=function(){function e(e){this.editor=e,this.eventHooks={onBlurEvents:[],changeEvents:[],dropEvents:[],clickEvents:[],keydownEvents:[],keyupEvents:[],tabUpEvents:[],tabDownEvents:[],enterUpEvents:[],enterDownEvents:[],deleteUpEvents:[],deleteDownEvents:[],pasteEvents:[],linkClickEvents:[],codeClickEvents:[],textScrollEvents:[],toolbarClickEvents:[],imgClickEvents:[],imgDragBarMouseDownEvents:[],tableClickEvents:[],menuClickEvents:[],dropListMenuHoverEvents:[],splitLineEvents:[],videoClickEvents:[]}}return e.prototype.init=function(){this._saveRange(),this._bindEventHooks(),d["default"](this)},e.prototype.togglePlaceholder=function(){var e,t=this.html(),n=(0,o["default"])(e=this.editor.$textContainerElem).call(e,".placeholder");n.hide(),this.editor.isComposing||t&&" "!==t||n.show()},e.prototype.clear=function(){this.html(g.EMPTY_P)},e.prototype.html=function(e){var t=this.editor,n=t.$textElem;if(null==e){var r=n.html();r=r.replace(/\u200b/gm,""),r=r.replace(/<p><\/p>/gim,""),r=r.replace(g.EMPTY_P_LAST_REGEX,""),r=r.replace(g.EMPTY_P_REGEX,"<p>");var i=r.match(/<(img|br|hr|input)[^>]*>/gi);return null!==i&&(0,a["default"])(i).call(i,(function(e){e.match(/\/>/)||(r=r.replace(e,e.substring(0,e.length-1)+"/>"))})),r}e=(0,u["default"])(e).call(e),""===e&&(e=g.EMPTY_P),0!==(0,l["default"])(e).call(e,"<")&&(e="<p>"+e+"</p>"),n.html(e),t.initSelection()},e.prototype.setJSON=function(e){var t=v["default"](e).children(),n=this.editor,r=n.$textElem;t&&r.replaceChildAll(t)},e.prototype.getJSON=function(){var e=this.editor,t=e.$textElem;return h["default"](t)},e.prototype.text=function(e){var t=this.editor,n=t.$textElem;if(null==e){var r=n.text();return r=r.replace(/\u200b/gm,""),r}n.text("<p>"+e+"</p>"),t.initSelection()},e.prototype.append=function(e){var t=this.editor;0!==(0,l["default"])(e).call(e,"<")&&(e="<p>"+e+"</p>"),this.html(this.html()+e),t.initSelection()},e.prototype._saveRange=function(){var e=this.editor,t=e.$textElem,n=f["default"](document);function r(){e.selection.saveRange(),e.menus.changeActive()}function i(){r(),t.off("click",i)}function o(){r(),n.off("mouseup",o)}function a(){n.on("mouseup",o),t.off("mouseleave",a)}t.on("keyup",r),t.on("click",i),t.on("mousedown",(function(){t.on("mouseleave",a)})),t.on("mouseup",(function(n){t.off("mouseleave",a),(0,s["default"])((function(){var t=e.selection,n=t.getRange();null!==n&&r()}),0)}))},e.prototype._bindEventHooks=function(){var e=this.editor,t=e.$textElem,n=this.eventHooks;function r(e){e.preventDefault()}t.on("click",(function(e){var t=n.clickEvents;(0,a["default"])(t).call(t,(function(t){return t(e)}))})),t.on("keyup",(function(e){if(13===e.keyCode){var t=n.enterUpEvents;(0,a["default"])(t).call(t,(function(t){return t(e)}))}})),t.on("keyup",(function(e){var t=n.keyupEvents;(0,a["default"])(t).call(t,(function(t){return t(e)}))})),t.on("keydown",(function(e){var t=n.keydownEvents;(0,a["default"])(t).call(t,(function(t){return t(e)}))})),t.on("keyup",(function(e){if(8===e.keyCode||46===e.keyCode){var t=n.deleteUpEvents;(0,a["default"])(t).call(t,(function(t){return t(e)}))}})),t.on("keydown",(function(e){if(8===e.keyCode||46===e.keyCode){var t=n.deleteDownEvents;(0,a["default"])(t).call(t,(function(t){return t(e)}))}})),t.on("paste",(function(e){if(!p.UA.isIE()){e.preventDefault();var t=n.pasteEvents;(0,a["default"])(t).call(t,(function(t){return t(e)}))}})),t.on("keydown",(function(t){(e.isFocus||e.isCompatibleMode)&&(t.ctrlKey||t.metaKey)&&90===t.keyCode&&(t.preventDefault(),t.shiftKey?e.history.restore():e.history.revoke())})),t.on("keyup",(function(e){if(9===e.keyCode){e.preventDefault();var t=n.tabUpEvents;(0,a["default"])(t).call(t,(function(t){return t(e)}))}})),t.on("keydown",(function(e){if(9===e.keyCode){e.preventDefault();var t=n.tabDownEvents;(0,a["default"])(t).call(t,(function(t){return t(e)}))}})),t.on("scroll",p.throttle((function(e){var t=n.textScrollEvents;(0,a["default"])(t).call(t,(function(t){return t(e)}))}),100)),f["default"](document).on("dragleave",r).on("drop",r).on("dragenter",r).on("dragover",r),e.beforeDestroy((function(){f["default"](document).off("dragleave",r).off("drop",r).off("dragenter",r).off("dragover",r)})),t.on("drop",(function(e){e.preventDefault();var t=n.dropEvents;(0,a["default"])(t).call(t,(function(t){return t(e)}))})),t.on("click",(function(e){var t=null,r=e.target,i=f["default"](r);if("A"===i.getNodeName())t=i;else{var o=i.parentUntil("a");null!=o&&(t=o)}if(t){var u=n.linkClickEvents;(0,a["default"])(u).call(u,(function(e){return e(t)}))}})),t.on("click",(function(e){var t=null,r=e.target,i=f["default"](r);if("IMG"!==i.getNodeName()||i.elems[0].getAttribute("data-emoji")||(e.stopPropagation(),t=i),t){var o=n.imgClickEvents;(0,a["default"])(o).call(o,(function(e){return e(t)}))}})),t.on("click",(function(e){var t=null,r=e.target,i=f["default"](r);if("PRE"===i.getNodeName())t=i;else{var o=i.parentUntil("pre");null!==o&&(t=o)}if(t){var u=n.codeClickEvents;(0,a["default"])(u).call(u,(function(e){return e(t)}))}})),t.on("click",(function(t){var r=null,i=t.target,o=f["default"](i);if("HR"===o.getNodeName()&&(r=o),r){e.selection.createRangeByElem(r),e.selection.restoreSelection();var u=n.splitLineEvents;(0,a["default"])(u).call(u,(function(e){return e(r)}))}})),e.$toolbarElem.on("click",(function(e){var t=n.toolbarClickEvents;(0,a["default"])(t).call(t,(function(t){return t(e)}))})),e.$textContainerElem.on("mousedown",(function(e){var t=e.target,r=f["default"](t);if(r.hasClass("w-e-img-drag-rb")){var i=n.imgDragBarMouseDownEvents;(0,a["default"])(i).call(i,(function(e){return e()}))}})),t.on("click",(function(t){var r=null,i=t.target;if(r=f["default"](i).parentUntilEditor("TABLE",e,i),r){var o=n.tableClickEvents;(0,a["default"])(o).call(o,(function(e){return e(r,t)}))}})),t.on("keydown",(function(e){if(13===e.keyCode){var t=n.enterDownEvents;(0,a["default"])(t).call(t,(function(t){return t(e)}))}})),t.on("click",(function(e){var t=null,r=e.target,i=f["default"](r);if("VIDEO"===i.getNodeName()&&(e.stopPropagation(),t=i),t){var o=n.videoClickEvents;(0,a["default"])(o).call(o,(function(e){return e(t)}))}}))},e}();t["default"]=m},function(e,t,n){var r=n(284);e.exports=r},function(e,t,n){var r=n(285),i=Array.prototype;e.exports=function(e){var t=e.find;return e===i||e instanceof Array&&t===i.find?r:t}},function(e,t,n){n(286);var r=n(15);e.exports=r("Array").find},function(e,t,n){"use strict";var r=n(5),i=n(32).find,o=n(82),a=n(22),u="find",l=!0,s=a(u);u in[]&&Array(1)[u]((function(){l=!1})),r({target:"Array",proto:!0,forced:l||!s},{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o(u)},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=o.__importDefault(n(288)),u=o.__importStar(n(289)),l=o.__importDefault(n(290)),s=o.__importDefault(n(291)),c=o.__importDefault(n(298));function f(e){var t=e.editor,n=e.eventHooks;a["default"](t,n.enterUpEvents,n.enterDownEvents),u["default"](t,n.deleteUpEvents,n.deleteDownEvents),u.cutToKeepP(t,n.keyupEvents),l["default"](t,n.tabDownEvents),s["default"](t,n.pasteEvents),c["default"](t,n.imgClickEvents)}t["default"]=f},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(27));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),u=n(7),l=a.__importDefault(n(3));function s(e,t,n){function r(t){var n,r=l["default"](u.EMPTY_P);r.insertBefore(t),(0,o["default"])(n=t.html()).call(n,"<img")>=0?r.remove():(e.selection.createRangeByElem(r,!0,!0),e.selection.restoreSelection(),t.remove())}function i(){var t=e.$textElem,n=e.selection.getSelectionContainerElem(),i=n.parent();if("<code><br></code>"!==i.html())if("FONT"!==n.getNodeName()||""!==n.text()||"monospace"!==n.attr("face")){if(i.equal(t)){var o=n.getNodeName();"P"===o&&null===n.attr("data-we-empty-p")||n.text()||r(n)}}else r(i);else r(i)}function a(t){var n;e.selection.saveRange(null===(n=getSelection())||void 0===n?void 0:n.getRangeAt(0));var r=e.selection.getSelectionContainerElem();r.id===e.textElemId&&(t.preventDefault(),e.cmd["do"]("insertHTML","<p><br></p>"))}t.push(i),n.push(a)}t["default"]=s},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(17)),a=r(n(28));(0,i["default"])(t,"__esModule",{value:!0}),t.cutToKeepP=void 0;var u=n(2),l=n(7),s=u.__importDefault(n(3));function c(e,t,n){function r(){var t=e.$textElem,n=e.$textElem.html(),r=e.$textElem.text(),i=(0,o["default"])(n).call(n),u=["<p><br></p>","<br>",'<p data-we-empty-p=""></p>',l.EMPTY_P];if(/^\s*$/.test(r)&&(!i||(0,a["default"])(u).call(u,i))){t.html(l.EMPTY_P);var s=t.getNode();e.selection.createRangeByElems(s.childNodes[0],s.childNodes[0]);var c=e.selection.getSelectionContainerElem();e.selection.restoreSelection(),e.selection.moveCursor(c.getNode(),0)}}function i(t){var n,r=e.$textElem,i=(0,o["default"])(n=r.html().toLowerCase()).call(n);i!==l.EMPTY_P||t.preventDefault()}t.push(r),n.push(i)}function f(e,t){function n(t){var n;if(88===t.keyCode){var r=e.$textElem,i=(0,o["default"])(n=r.html().toLowerCase()).call(n);if(!i||"<br>"===i){var a=s["default"](l.EMPTY_P);r.html(" "),r.append(a),e.selection.createRangeByElem(a,!1,!0),e.selection.restoreSelection(),e.selection.moveCursor(a.getNode(),0)}}}t.push(n)}t.cutToKeepP=f,t["default"]=c},function(e,t,n){"use strict";var r=n(0),i=r(n(1));function o(e,t){function n(){if(e.cmd.queryCommandSupported("insertHTML")){var t=e.selection.getSelectionContainerElem();if(t){var n=t.parent(),r=t.getNodeName(),i=n.getNodeName();"CODE"==r||"CODE"===i||"PRE"===i||/hljs/.test(i)?e.cmd["do"]("insertHTML",e.config.languageTab):e.cmd["do"]("insertHTML"," ")}}}t.push(n)}(0,i["default"])(t,"__esModule",{value:!0}),t["default"]=o},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(17)),a=r(n(4));(0,i["default"])(t,"__esModule",{value:!0});var u=n(131),l=n(6),s=n(7);function c(e){var t,n=(0,o["default"])(t=e.replace(/<div>/gim,"<p>").replace(/<\/div>/gim,"</p>")).call(t),r=document.createElement("div");return r.innerHTML=n,r.innerHTML.replace(/<p><\/p>/gim,"")}function f(e){var t=e.replace(/<br>|<br\/>/gm,"\n").replace(/<[^>]+>/gm,"");return t}function d(e){var t;if(""===e)return!1;var n=document.createElement("div");return n.innerHTML=e,"P"===(null===(t=n.firstChild)||void 0===t?void 0:t.nodeName)}function p(e){if(!(null===e||void 0===e?void 0:e.length))return!1;var t=e.elems[0];return"P"===t.nodeName&&"<br>"===t.innerHTML}function h(e,t){function n(t){var n=e.config,r=n.pasteFilterStyle,i=n.pasteIgnoreImg,o=n.pasteTextHandle,h=u.getPasteHtml(t,r,i),v=u.getPasteText(t);v=v.replace(/\n/gm,"<br>");var g=e.selection.getSelectionContainerElem();if(g){var m=null===g||void 0===g?void 0:g.getNodeName(),A=null===g||void 0===g?void 0:g.getNodeTop(e),y="";if(A.elems[0]&&(y=null===A||void 0===A?void 0:A.getNodeName()),"CODE"===m||"PRE"===y)return o&&l.isFunction(o)&&(v=""+(o(v)||"")),void e.cmd["do"]("insertHTML",f(v));if(s.urlRegex.test(v)&&r){o&&l.isFunction(o)&&(v=""+(o(v)||""));var _=v.replace(s.urlRegex,(function(e){return'<a href="'+e+'" target="_blank">'+e+"</a>"})),w=e.selection.getRange(),x=document.createElement("div"),b=document.createDocumentFragment();if(x.innerHTML=_,null==w)return;while(x.childNodes.length)b.append(x.childNodes[0]);var E=b.querySelectorAll("a");return(0,a["default"])(E).call(E,(function(e){e.innerText=e.href})),w.insertNode&&(w.deleteContents(),w.insertNode(b)),void e.selection.clearWindowSelectionRange()}if(h)try{o&&l.isFunction(o)&&(h=""+(o(h)||""));var C=/[\.\#\@]?\w+[ ]+\{[^}]*\}/.test(h);if(C&&r)e.cmd["do"]("insertHTML",""+c(v));else{var S=c(h);if(d(S)){var k=e.$textElem;if(e.cmd["do"]("insertHTML",S),k.equal(g))return void e.selection.createEmptyRange();p(A)&&A.remove()}else e.cmd["do"]("insertHTML",S)}}catch(M){o&&l.isFunction(o)&&(v=""+(o(v)||"")),e.cmd["do"]("insertHTML",""+c(v))}}}t.push(n)}t["default"]=h},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(17)),a=r(n(4)),u=r(n(28));(0,i["default"])(t,"__esModule",{value:!0});var l=n(2),s=n(293),c=l.__importDefault(n(297));function f(e){var t=/<span>.*?<\/span>/gi,n=/<span>(.*?)<\/span>/;return e.replace(t,(function(e){var t=e.match(n);return null==t?"":t[1]}))}function d(e,t){var n;return e=(0,o["default"])(n=e.toLowerCase()).call(n),!!s.IGNORE_TAGS.has(e)||!(!t||"img"!==e)}function p(e,t){var n="";n="<"+e;var r=[];(0,a["default"])(t).call(t,(function(e){r.push(e.name+'="'+e.value+'"')})),r.length>0&&(n=n+" "+r.join(" "));var i=s.EMPTY_TAGS.has(e);return n=n+(i?"/":"")+">",n}function h(e){return"</"+e+">"}function v(e,t,n){void 0===t&&(t=!0),void 0===n&&(n=!1);var r=[],i="";function l(e){e=(0,o["default"])(e).call(e),e&&(s.EMPTY_TAGS.has(e)||(i=e))}function v(){i=""}var g=new c["default"];g.parse(e,{startElement:function(e,i){if(l(e),!d(e,n)){var o=s.NECESSARY_ATTRS.get(e)||[],c=[];(0,a["default"])(i).call(i,(function(e){var n=e.name;"style"!==n?!1!==(0,u["default"])(o).call(o,n)&&c.push(e):t||c.push(e)}));var f=p(e,c);r.push(f)}},characters:function(e){e&&(d(i,n)||r.push(e))},endElement:function(e){if(!d(e,n)){var t=h(e);r.push(t),v()}},comment:function(e){l(e)}});var m=r.join("");return m=f(m),m}t["default"]=v},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(132)),a=r(n(121));(0,i["default"])(t,"__esModule",{value:!0}),t.TOP_LEVEL_TAGS=t.EMPTY_TAGS=t.NECESSARY_ATTRS=t.IGNORE_TAGS=void 0,t.IGNORE_TAGS=new o["default"](["doctype","!doctype","html","head","meta","body","script","style","link","frame","iframe","title","svg","center","o:p"]),t.NECESSARY_ATTRS=new a["default"]([["img",["src","alt"]],["a",["href","target"]],["td",["colspan","rowspan"]],["th",["colspan","rowspan"]]]),t.EMPTY_TAGS=new o["default"](["area","base","basefont","br","col","hr","img","input","isindex","embed"]),t.TOP_LEVEL_TAGS=new o["default"](["h1","h2","h3","h4","h5","p","ul","ol","table","blockquote","pre","hr","form"])},function(e,t,n){var r=n(295);e.exports=r},function(e,t,n){n(296),n(61),n(50),n(54);var r=n(9);e.exports=r.Set},function(e,t,n){"use strict";var r=n(122),i=n(124);e.exports=r("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),i)},function(e,t){function n(){}n.prototype={handler:null,startTagRe:/^<([^>\s\/]+)((\s+[^=>\s]+(\s*=\s*((\"[^"]*\")|(\'[^']*\')|[^>\s]+))?)*)\s*\/?\s*>/m,endTagRe:/^<\/([^>\s]+)[^>]*>/m,attrRe:/([^=\s]+)(\s*=\s*((\"([^"]*)\")|(\'([^']*)\')|[^>\s]+))?/gm,parse:function(e,t){t&&(this.contentHandler=t);var n,r,i,o=!1,a=this;while(e.length>0)"\x3c!--"==e.substring(0,4)?(i=e.indexOf("--\x3e"),-1!=i?(this.contentHandler.comment(e.substring(4,i)),e=e.substring(i+3),o=!1):o=!0):"</"==e.substring(0,2)?this.endTagRe.test(e)?(RegExp.leftContext,n=RegExp.lastMatch,r=RegExp.rightContext,n.replace(this.endTagRe,(function(){return a.parseEndTag.apply(a,arguments)})),e=r,o=!1):o=!0:"<"==e.charAt(0)&&(this.startTagRe.test(e)?(RegExp.leftContext,n=RegExp.lastMatch,r=RegExp.rightContext,n.replace(this.startTagRe,(function(){return a.parseStartTag.apply(a,arguments)})),e=r,o=!1):o=!0),o&&(i=e.indexOf("<"),-1==i?(this.contentHandler.characters(e),e=""):(this.contentHandler.characters(e.substring(0,i)),e=e.substring(i))),o=!0},parseStartTag:function(e,t,n){var r=this.parseAttributes(t,n);this.contentHandler.startElement(t,r)},parseEndTag:function(e,t){this.contentHandler.endElement(t)},parseAttributes:function(e,t){var n=this,r=[];return t.replace(this.attrRe,(function(t,i,o,a,u,l,s,c){r.push(n.parseAttribute(e,t,i,o,a,u,l,s,c))})),r},parseAttribute:function(e,t,n){var r="";arguments[7]?r=arguments[8]:arguments[5]?r=arguments[6]:arguments[3]&&(r=arguments[4]);var i=!r&&!arguments[3];return{name:n,value:i?null:r}}},e.exports=n},function(e,t,n){"use strict";var r=n(0),i=r(n(1));function o(e,t){function n(t){e.selection.createRangeByElem(t),e.selection.restoreSelection()}t.push(n)}(0,i["default"])(t,"__esModule",{value:!0}),t["default"]=o},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),u=n(6),l=a.__importDefault(n(3));function s(e){var t=[],n=e.childNodes()||[];return(0,o["default"])(n).call(n,(function(e){var n,r=e.nodeType;if(3===r&&(n=e.textContent||"",n=u.replaceHtmlSymbol(n)),1===r){n={},n=n,n.tag=e.nodeName.toLowerCase();for(var i=[],o=e.attributes,a=o.length||0,c=0;c<a;c++){var f=o[c];i.push({name:f.name,value:f.value})}n.attrs=i,n.children=s(l["default"](e))}n&&t.push(n)})),t}t["default"]=s},function(e,t,n){"use strict";var r=n(0),i=r(n(92)),o=r(n(1)),a=r(n(4));(0,o["default"])(t,"__esModule",{value:!0});var u=n(2),l=u.__importDefault(n(3));function s(e,t){void 0===t&&(t=document.createElement("div"));var n=t;return(0,a["default"])(e).call(e,(function(e){var t,r;("string"===typeof e&&(t=document.createTextNode(e)),"object"===(0,i["default"])(e))&&(t=document.createElement(e.tag),(0,a["default"])(r=e.attrs).call(r,(function(e){l["default"](t).attr(e.name,e.value)})),e.children&&e.children.length>0&&s(e.children,t.getRootNode()));t&&n.appendChild(t)})),l["default"](n)}t["default"]=s},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(89)),a=r(n(70)),u=r(n(28)),l=r(n(302)),s=r(n(4)),c=r(n(94)),f=r(n(133)),d=r(n(46)),p=r(n(57));(0,i["default"])(t,"__esModule",{value:!0});var h=n(2),v=h.__importDefault(n(87)),g=h.__importDefault(n(314)),m=h.__importDefault(n(3)),A=function(){function e(e){this.editor=e,this.menuList=[],this.constructorList=g["default"]}return e.prototype.extend=function(e,t){t&&"function"===typeof t&&(this.constructorList[e]=t)},e.prototype.init=function(){var e,t,n=this,r=this.editor.config,i=r.excludeMenus;!1===(0,o["default"])(i)&&(i=[]),r.menus=(0,a["default"])(e=r.menus).call(e,(function(e){return!1===(0,u["default"])(i).call(i,e)}));var f=(0,l["default"])(v["default"].globalCustomMenuConstructorList);f=(0,a["default"])(f).call(f,(function(e){return(0,u["default"])(i).call(i,e)})),(0,s["default"])(f).call(f,(function(e){delete v["default"].globalCustomMenuConstructorList[e]})),(0,s["default"])(t=r.menus).call(t,(function(e){var t=n.constructorList[e];n._initMenuList(e,t)}));for(var d=0,p=(0,c["default"])(v["default"].globalCustomMenuConstructorList);d<p.length;d++){var h=p[d],g=h[0],m=h[1],A=m;this._initMenuList(g,A)}this._addToToolbar(),r.showMenuTooltips&&this._bindMenuTooltips()},e.prototype._initMenuList=function(e,t){var n;if(null!=t&&"function"===typeof t)if((0,f["default"])(n=this.menuList).call(n,(function(t){return t.key===e})))console.warn("菜单名称重复:"+e);else{var r=new t(this.editor);r.key=e,this.menuList.push(r)}},e.prototype._bindMenuTooltips=function(){var e=this.editor,t=e.$toolbarElem,n=e.config,r=n.menuTooltipPosition,i=m["default"]('<div class="w-e-menu-tooltip w-e-menu-tooltip-'+r+'">\n <div class="w-e-menu-tooltip-item-wrapper">\n <div></div>\n </div>\n </div>');i.css("visibility","hidden"),t.append(i),i.css("z-index",e.zIndex.get("tooltip"));var o=0;function a(){o&&clearTimeout(o)}function u(){a(),i.css("visibility","hidden")}t.on("mouseover",(function(n){var l,s,c=n.target,f=m["default"](c);if(f.isContain(t))u();else{if(null!=f.parentUntil(".w-e-droplist"))u();else if(f.attr("data-title"))l=f.attr("data-title"),s=f;else{var p=f.parentUntil(".w-e-menu");null!=p&&(l=p.attr("data-title"),s=p)}if(l&&s){a();var h=s.getOffsetData();i.text(e.i18next.t("menus.title."+l));var v=i.getOffsetData(),g=h.left+h.width/2-v.width/2;i.css("left",g+"px"),"up"===r?i.css("top",h.top-v.height-8+"px"):"down"===r&&i.css("top",h.top+h.height+8+"px"),o=(0,d["default"])((function(){i.css("visibility","visible")}),200)}else u()}})).on("mouseleave",(function(){u()}))},e.prototype._addToToolbar=function(){var e,t=this.editor,n=t.$toolbarElem;(0,s["default"])(e=this.menuList).call(e,(function(e){var t=e.$elem;t&&n.append(t)}))},e.prototype.menuFind=function(e){for(var t=this.menuList,n=0,r=t.length;n<r;n++)if(t[n].key===e)return t[n];return t[0]},e.prototype.changeActive=function(){var e;(0,s["default"])(e=this.menuList).call(e,(function(e){var t;(0,d["default"])((0,p["default"])(t=e.tryChangeActive).call(t,e),100)}))},e}();t["default"]=A},function(e,t,n){e.exports=n(303)},function(e,t,n){var r=n(304);e.exports=r},function(e,t,n){n(305);var r=n(9);e.exports=r.Object.keys},function(e,t,n){var r=n(5),i=n(31),o=n(52),a=n(11),u=a((function(){o(1)}));r({target:"Object",stat:!0,forced:u},{keys:function(e){return o(i(e))}})},function(e,t,n){var r=n(307);e.exports=r},function(e,t,n){n(308);var r=n(9);e.exports=r.Object.entries},function(e,t,n){var r=n(5),i=n(309).entries;r({target:"Object",stat:!0},{entries:function(e){return i(e)}})},function(e,t,n){var r=n(14),i=n(52),o=n(30),a=n(59).f,u=function(e){return function(t){var n,u=o(t),l=i(u),s=l.length,c=0,f=[];while(s>c)n=l[c++],r&&!a.call(u,n)||f.push(e?[n,u[n]]:u[n]);return f}};e.exports={entries:u(!0),values:u(!1)}},function(e,t,n){var r=n(311);e.exports=r},function(e,t,n){var r=n(312),i=Array.prototype;e.exports=function(e){var t=e.some;return e===i||e instanceof Array&&t===i.some?r:t}},function(e,t,n){n(313);var r=n(15);e.exports=r("Array").some},function(e,t,n){"use strict";var r=n(5),i=n(32).some,o=n(67),a=n(22),u=o("some"),l=a("some");r({target:"Array",proto:!0,forced:!u||!l},{some:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=o.__importDefault(n(315)),u=o.__importDefault(n(316)),l=o.__importDefault(n(321)),s=o.__importDefault(n(326)),c=o.__importDefault(n(327)),f=o.__importDefault(n(328)),d=o.__importDefault(n(329)),p=o.__importDefault(n(331)),h=o.__importDefault(n(333)),v=o.__importDefault(n(334)),g=o.__importDefault(n(337)),m=o.__importDefault(n(338)),A=o.__importDefault(n(339)),y=o.__importDefault(n(350)),_=o.__importDefault(n(365)),w=o.__importDefault(n(369)),x=o.__importDefault(n(137)),b=o.__importDefault(n(378)),E=o.__importDefault(n(380)),C=o.__importDefault(n(381)),S=o.__importDefault(n(382)),k=o.__importDefault(n(401)),M=o.__importDefault(n(406)),T=o.__importDefault(n(409));t["default"]={bold:a["default"],head:u["default"],italic:s["default"],link:l["default"],underline:c["default"],strikeThrough:f["default"],fontName:d["default"],fontSize:p["default"],justify:h["default"],quote:v["default"],backColor:g["default"],foreColor:m["default"],video:A["default"],image:y["default"],indent:_["default"],emoticon:w["default"],list:x["default"],lineHeight:b["default"],undo:E["default"],redo:C["default"],table:S["default"],code:k["default"],splitLine:M["default"],todo:T["default"]}},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=o.__importDefault(n(23)),u=o.__importDefault(n(3)),l=function(e){function t(t){var n=this,r=u["default"]('<div class="w-e-menu" data-title="加粗">\n <i class="w-e-icon-bold"></i>\n </div>');return n=e.call(this,r,t)||this,n}return o.__extends(t,e),t.prototype.clickHandler=function(){var e=this.editor,t=e.selection.isSelectionEmpty();t&&e.selection.createEmptyRange(),e.cmd["do"]("bold"),t&&(e.selection.collapseRange(),e.selection.restoreSelection())},t.prototype.tryChangeActive=function(){var e=this.editor;e.cmd.queryCommandState("bold")?this.active():this.unActive()},t}(a["default"]);t["default"]=l},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(27)),a=r(n(29)),u=r(n(4)),l=r(n(317)),s=r(n(28));(0,i["default"])(t,"__esModule",{value:!0});var c=n(2),f=c.__importDefault(n(24)),d=c.__importDefault(n(3)),p=n(6),h=n(7),v=function(e){function t(t){var n=this,r=d["default"]('<div class="w-e-menu" data-title="标题"><i class="w-e-icon-header"></i></div>'),i={width:100,title:"设置标题",type:"list",list:[{$elem:d["default"]("<h1>H1</h1>"),value:"<h1>"},{$elem:d["default"]("<h2>H2</h2>"),value:"<h2>"},{$elem:d["default"]("<h3>H3</h3>"),value:"<h3>"},{$elem:d["default"]("<h4>H4</h4>"),value:"<h4>"},{$elem:d["default"]("<h5>H5</h5>"),value:"<h5>"},{$elem:d["default"]("<p>"+t.i18next.t("menus.dropListMenu.head.正文")+"</p>"),value:"<p>"}],clickHandler:function(e){n.command(e)}};n=e.call(this,r,t,i)||this;var o=t.config.onCatalogChange;return o&&(n.oldCatalogs=[],n.addListenerCatalog(),n.getCatalogs()),n}return c.__extends(t,e),t.prototype.command=function(e){var t=this.editor,n=t.selection.getSelectionContainerElem();if(n&&t.$textElem.equal(n))this.setMultilineHead(e);else{var r;if((0,o["default"])(r=["OL","UL","LI","TABLE","TH","TR","CODE","HR"]).call(r,d["default"](n).getNodeName())>-1)return;t.cmd["do"]("formatBlock",e)}"<p>"!==e&&this.addUidForSelectionElem()},t.prototype.addUidForSelectionElem=function(){var e=this.editor,t=e.selection.getSelectionContainerElem(),n=p.getRandomCode();d["default"](t).attr("id",n)},t.prototype.addListenerCatalog=function(){var e=this,t=this.editor;t.txt.eventHooks.changeEvents.push((function(){e.getCatalogs()}))},t.prototype.getCatalogs=function(){var e=this.editor,t=this.editor.$textElem,n=e.config.onCatalogChange,r=(0,a["default"])(t).call(t,"h1,h2,h3,h4,h5"),i=[];(0,u["default"])(r).call(r,(function(e,t){var n=d["default"](e),r=n.attr("id"),o=n.getNodeName(),a=n.text();r||(r=p.getRandomCode(),n.attr("id",r)),a&&i.push({tag:o,id:r,text:a})})),(0,l["default"])(this.oldCatalogs)!==(0,l["default"])(i)&&(this.oldCatalogs=i,n&&n(i))},t.prototype.setMultilineHead=function(e){var t,n,r=this,i=this.editor,o=i.selection,a=null===(t=o.getSelectionContainerElem())||void 0===t?void 0:t.elems[0],l=["IMG","VIDEO","TABLE","TH","TR","UL","OL","PRE","HR","BLOCKQUOTE"],s=d["default"](o.getSelectionStartElem()),c=d["default"](o.getSelectionEndElem());c.elems[0].outerHTML!==d["default"](h.EMPTY_P).elems[0].outerHTML||c.elems[0].nextSibling||(c=c.prev());var f=[];f.push(s.getNodeTop(i));var p=[],v=null===(n=o.getRange())||void 0===n?void 0:n.commonAncestorContainer.childNodes;null===v||void 0===v||(0,u["default"])(v).call(v,(function(e,t){e===f[0].getNode()&&p.push(t),e===c.getNodeTop(i).getNode()&&p.push(t)}));var g=0;while(f[g].getNode()!==c.getNodeTop(i).getNode()){if(!f[g].elems[0])return;var m=d["default"](f[g].next().getNode());f.push(m),g++}null===f||void 0===f||(0,u["default"])(f).call(f,(function(t,n){if(!r.hasTag(t,l)){var i=d["default"](e),o=t.parent().getNode();i.html(""+t.html()),o.insertBefore(i.getNode(),t.getNode()),t.remove()}})),o.createRangeByElems(a.children[p[0]],a.children[p[1]])},t.prototype.hasTag=function(e,t){var n,r=this;if(!e)return!1;if((0,s["default"])(t).call(t,null===e||void 0===e?void 0:e.getNodeName()))return!0;var i=!1;return null===(n=e.children())||void 0===n||(0,u["default"])(n).call(n,(function(e){i=r.hasTag(d["default"](e),t)})),i},t.prototype.tryChangeActive=function(){var e=this.editor,t=/^h/i,n=e.cmd.queryCommandValue("formatBlock");t.test(n)?this.active():this.unActive()},t}(f["default"]);t["default"]=v},function(e,t,n){e.exports=n(318)},function(e,t,n){var r=n(319);e.exports=r},function(e,t,n){n(320);var r=n(9);r.JSON||(r.JSON={stringify:JSON.stringify}),e.exports=function(e,t,n){return r.JSON.stringify.apply(null,arguments)}},function(e,t,n){var r=n(5),i=n(36),o=n(11),a=i("JSON","stringify"),u=/[\uD800-\uDFFF]/g,l=/^[\uD800-\uDBFF]$/,s=/^[\uDC00-\uDFFF]$/,c=function(e,t,n){var r=n.charAt(t-1),i=n.charAt(t+1);return l.test(e)&&!s.test(i)||s.test(e)&&!l.test(r)?"\\u"+e.charCodeAt(0).toString(16):e},f=o((function(){return'"\\udf06\\ud834"'!==a("\udf06\ud834")||'"\\udead"'!==a("\udead")}));a&&r({target:"JSON",stat:!0,forced:f},{stringify:function(e,t,n){var r=a.apply(null,arguments);return"string"==typeof r?r.replace(u,c):r}})},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(17));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),u=a.__importDefault(n(38)),l=a.__importDefault(n(3)),s=a.__importDefault(n(322)),c=a.__importStar(n(96)),f=a.__importDefault(n(33)),d=a.__importDefault(n(324)),p=n(7),h=function(e){function t(t){var n=this,r=l["default"]('<div class="w-e-menu" data-title="链接"><i class="w-e-icon-link"></i></div>');return n=e.call(this,r,t)||this,d["default"](t),n}return a.__extends(t,e),t.prototype.clickHandler=function(){var e,t=this.editor,n=t.selection.getSelectionContainerElem(),r=t.$textElem,i=r.html(),a=(0,o["default"])(i).call(i);if(a===p.EMPTY_P){var u=r.children();t.selection.createRangeByElem(u,!0,!0),n=t.selection.getSelectionContainerElem()}if(!n||!t.$textElem.equal(n))if(this.isActive){var s="",f="";if(e=t.selection.getSelectionContainerElem(),!e)return;if("A"!==e.getNodeName()){var d=c.getParentNodeA(e);e=l["default"](d)}s=e.elems[0].innerText,f=e.attr("href"),this.createPanel(s,f)}else t.selection.isSelectionEmpty()?this.createPanel("",""):this.createPanel(t.selection.getSelectionText(),"")},t.prototype.createPanel=function(e,t){var n=s["default"](this.editor,e,t),r=new f["default"](this,n);r.create()},t.prototype.tryChangeActive=function(){var e=this.editor;c["default"](e)?this.active():this.unActive()},t}(u["default"]);t["default"]=h},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(28)),a=r(n(17)),u=r(n(29));(0,i["default"])(t,"__esModule",{value:!0});var l=n(2),s=n(6),c=l.__importDefault(n(3)),f=l.__importStar(n(96)),d=n(323);function p(e,t,n){var r,i=s.getRandom("input-link"),l=s.getRandom("input-text"),p=s.getRandom("btn-ok"),h=s.getRandom("btn-del"),v=f["default"](e)?"inline-block":"none";function g(){if(f["default"](e)){var t=e.selection.getSelectionContainerElem();t&&(e.selection.createRangeByElem(t),e.selection.restoreSelection(),r=t)}}function m(t,n){var r=t.replace(/</g,"<").replace(/>/g,">"),i=c["default"]('<a target="_blank">'+r+"</a>"),o=i.elems[0];o.innerText=t,o.href=n,f["default"](e)?(g(),e.cmd["do"]("insertElem",i)):e.cmd["do"]("insertElem",i)}function A(){if(f["default"](e))if(g(),"A"===r.getNodeName()){var t,n=r.elems[0],i=n.parentElement;i&&(0,o["default"])(t=f.EXTRA_TAG).call(t,i.nodeName)?i.innerHTML=n.innerHTML:e.cmd["do"]("insertHTML","<span>"+n.innerHTML+"</span>")}else{var a=f.getParentNodeA(r),u=a.innerHTML;e.cmd["do"]("insertHTML","<span>"+u+"</span>")}}function y(t,n){var r=e.config.linkCheck(t,n);if(void 0===r);else{if(!0===r)return!0;e.config.customAlert(r,"warning")}return!1}var _={width:300,height:0,tabs:[{title:e.i18next.t("menus.panelMenus.link.链接"),tpl:'<div>\n <input\n id="'+l+'"\n type="text"\n class="block"\n placeholder="'+e.i18next.t("menus.panelMenus.link.链接文字")+'"/>\n </td>\n <input\n id="'+i+'"\n type="text"\n class="block"\n placeholder="'+e.i18next.t("如")+' https://..."/>\n </td>\n <div class="w-e-button-container">\n <button type="button" id="'+p+'" class="right">\n '+e.i18next.t("插入")+'\n </button>\n <button type="button" id="'+h+'" class="gray right" style="display:'+v+'">\n '+e.i18next.t("menus.panelMenus.link.取消链接")+"\n </button>\n </div>\n </div>",events:[{selector:"#"+p,type:"click",fn:function(){var t,n,r,u,s,p=e.selection.getSelectionContainerElem(),h=null===p||void 0===p?void 0:p.elems[0];e.selection.restoreSelection();var v=e.selection.getSelectionRangeTopNodes()[0].getNode(),g=window.getSelection(),A=c["default"]("#"+i),_=c["default"]("#"+l),w=(0,a["default"])(t=A.val()).call(t),x=(0,a["default"])(n=_.val()).call(n),b="";g&&!(null===g||void 0===g?void 0:g.isCollapsed)&&(b=null===(u=d.insertHtml(g,v))||void 0===u?void 0:(0,a["default"])(u).call(u));var E=null===b||void 0===b?void 0:b.replace(/<.*?>/g,""),C=null!==(s=null===E||void 0===E?void 0:E.length)&&void 0!==s?s:0;if(C<=x.length){var S=x.substring(0,C),k=x.substring(C);E===S&&(x=E+k)}if(w&&(x||(x=w),y(x,w))){if("A"===(null===h||void 0===h?void 0:h.nodeName))return h.setAttribute("href",w),h.innerText=x,!0;if("A"!==(null===h||void 0===h?void 0:h.nodeName)&&(0,o["default"])(r=f.EXTRA_TAG).call(r,h.nodeName)){var M=f.getParentNodeA(p);if(M)return M.setAttribute("href",w),h.innerText=x,!0}return m(x,w),!0}},bindEnter:!0},{selector:"#"+h,type:"click",fn:function(){return A(),!0}}]}],setLinkValue:function(e,r){var o,a="",s="";"text"===r&&(a="#"+l,s=t),"link"===r&&(a="#"+i,s=n),o=(0,u["default"])(e).call(e,a).elems[0],o.value=s}};return _}t["default"]=p},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));function a(e,t){var n=e,r=e;do{if(n.textContent===t)break;r=n,n.parentNode&&(n=null===n||void 0===n?void 0:n.parentNode)}while("P"!==(null===n||void 0===n?void 0:n.nodeName));return r}function u(e,t){var n=e.nodeName,r="";if(3===e.nodeType||/^(h|H)[1-6]$/.test(n))return t;if(1===e.nodeType){var i=e.getAttribute("style"),o=e.getAttribute("face"),a=e.getAttribute("color");i&&(r=r+' style="'+i+'"'),o&&(r=r+' face="'+o+'"'),a&&(r=r+' color="'+a+'"')}return n=n.toLowerCase(),"<"+n+r+">"+t+"</"+n+">"}function l(e,t,n,r){var i,o=null===(i=t.textContent)||void 0===i?void 0:i.substring(n,r),a=t,l="";do{l=u(a,null!==o&&void 0!==o?o:""),o=l,a=null===a||void 0===a?void 0:a.parentElement}while(a&&a.textContent!==e);return l}function s(e,t){var n,r,i,o,s,d=e.anchorNode,p=e.focusNode,h=e.anchorOffset,v=e.focusOffset,g=null!==(n=t.textContent)&&void 0!==n?n:"",m=c(t),A="",y="",_="",w="",x=d,b=p,E=d;if(null===d||void 0===d?void 0:d.isEqualNode(null!==p&&void 0!==p?p:null)){var C=l(g,d,h,v);return C=f(m,C),C}d&&(y=l(g,d,null!==h&&void 0!==h?h:0)),p&&(w=l(g,p,0,v)),d&&(x=a(d,g)),p&&(b=a(p,g)),E=null!==(r=null===x||void 0===x?void 0:x.nextSibling)&&void 0!==r?r:d;while(!(null===E||void 0===E?void 0:E.isEqualNode(null!==b&&void 0!==b?b:null))){var S=null===E||void 0===E?void 0:E.nodeName;if("#text"===S)_+=null===E||void 0===E?void 0:E.textContent;else{var k=null===(o=null===(i=null===E||void 0===E?void 0:E.firstChild)||void 0===i?void 0:i.parentElement)||void 0===o?void 0:o.innerHTML;E&&(_+=u(E,null!==k&&void 0!==k?k:""))}var M=null!==(s=null===E||void 0===E?void 0:E.nextSibling)&&void 0!==s?s:E;if(M===E)break;E=M}return A=""+y+_+w,A=f(m,A),A}function c(e){var t,n=null!==(t=e.textContent)&&void 0!==t?t:"",r=[];while((null===e||void 0===e?void 0:e.textContent)===n)"P"!==e.nodeName&&"TABLE"!==e.nodeName&&r.push(e),e=e.childNodes[0];return r}function f(e,t){return(0,o["default"])(e).call(e,(function(e){t=u(e,t)})),t}(0,i["default"])(t,"__esModule",{value:!0}),t.insertHtml=t.createPartHtml=t.makeHtmlString=t.getTopNode=void 0,t.getTopNode=a,t.makeHtmlString=u,t.createPartHtml=l,t.insertHtml=s},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=o.__importDefault(n(325));function u(e){a["default"](e)}t["default"]=u},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(28));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),u=a.__importDefault(n(3)),l=a.__importDefault(n(39)),s=n(96);function c(e){var t;function n(n){var r=[{$elem:u["default"]("<span>"+e.i18next.t("menus.panelMenus.link.查看链接")+"</span>"),onClick:function(e,t){var n=t.attr("href");return window.open(n,"_target"),!0}},{$elem:u["default"]("<span>"+e.i18next.t("menus.panelMenus.link.取消链接")+"</span>"),onClick:function(e,t){var n,r;e.selection.createRangeByElem(t),e.selection.restoreSelection();var i=t.childNodes();if("IMG"===(null===i||void 0===i?void 0:i.getNodeName())){var a=null===(r=null===(n=e.selection.getSelectionContainerElem())||void 0===n?void 0:n.children())||void 0===r?void 0:r.elems[0].children[0];e.cmd["do"]("insertHTML","<img \n src="+(null===a||void 0===a?void 0:a.getAttribute("src"))+" \n style="+(null===a||void 0===a?void 0:a.getAttribute("style"))+">")}else{var u,l=t.elems[0],c=l.innerHTML,f=l.parentElement;f&&(0,o["default"])(u=s.EXTRA_TAG).call(u,f.nodeName)?f.innerHTML=c:e.cmd["do"]("insertHTML","<span>"+c+"</span>")}return!0}}];t=new l["default"](e,n,r),t.create()}function r(){t&&(t.remove(),t=null)}return{showLinkTooltip:n,hideLinkTooltip:r}}function f(e){var t=c(e),n=t.showLinkTooltip,r=t.hideLinkTooltip;e.txt.eventHooks.linkClickEvents.push(n),e.txt.eventHooks.clickEvents.push(r),e.txt.eventHooks.keyupEvents.push(r),e.txt.eventHooks.toolbarClickEvents.push(r),e.txt.eventHooks.menuClickEvents.push(r),e.txt.eventHooks.textScrollEvents.push(r)}t["default"]=f},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=o.__importDefault(n(23)),u=o.__importDefault(n(3)),l=function(e){function t(t){var n=this,r=u["default"]('<div class="w-e-menu" data-title="斜体">\n <i class="w-e-icon-italic"></i>\n </div>');return n=e.call(this,r,t)||this,n}return o.__extends(t,e),t.prototype.clickHandler=function(){var e=this.editor,t=e.selection.isSelectionEmpty();t&&e.selection.createEmptyRange(),e.cmd["do"]("italic"),t&&(e.selection.collapseRange(),e.selection.restoreSelection())},t.prototype.tryChangeActive=function(){var e=this.editor;e.cmd.queryCommandState("italic")?this.active():this.unActive()},t}(a["default"]);t["default"]=l},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=o.__importDefault(n(23)),u=o.__importDefault(n(3)),l=function(e){function t(t){var n=this,r=u["default"]('<div class="w-e-menu" data-title="下划线">\n <i class="w-e-icon-underline"></i>\n </div>');return n=e.call(this,r,t)||this,n}return o.__extends(t,e),t.prototype.clickHandler=function(){var e=this.editor,t=e.selection.isSelectionEmpty();t&&e.selection.createEmptyRange(),e.cmd["do"]("underline"),t&&(e.selection.collapseRange(),e.selection.restoreSelection())},t.prototype.tryChangeActive=function(){var e=this.editor;e.cmd.queryCommandState("underline")?this.active():this.unActive()},t}(a["default"]);t["default"]=l},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=o.__importDefault(n(23)),u=o.__importDefault(n(3)),l=function(e){function t(t){var n=this,r=u["default"]('<div class="w-e-menu" data-title="删除线">\n <i class="w-e-icon-strikethrough"></i>\n </div>');return n=e.call(this,r,t)||this,n}return o.__extends(t,e),t.prototype.clickHandler=function(){var e=this.editor,t=e.selection.isSelectionEmpty();t&&e.selection.createEmptyRange(),e.cmd["do"]("strikeThrough"),t&&(e.selection.collapseRange(),e.selection.restoreSelection())},t.prototype.tryChangeActive=function(){var e=this.editor;e.cmd.queryCommandState("strikeThrough")?this.active():this.unActive()},t}(a["default"]);t["default"]=l},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=o.__importDefault(n(24)),u=o.__importDefault(n(3)),l=o.__importDefault(n(330)),s=function(e){function t(t){var n=this,r=u["default"]('<div class="w-e-menu" data-title="字体">\n <i class="w-e-icon-font"></i>\n </div>'),i=new l["default"](t.config.fontNames),o={width:100,title:"设置字体",type:"list",list:i.getItemList(),clickHandler:function(e){n.command(e)}};return n=e.call(this,r,t,o)||this,n}return o.__extends(t,e),t.prototype.command=function(e){var t,n=this.editor,r=n.selection.isSelectionEmpty(),i=null===(t=n.selection.getSelectionContainerElem())||void 0===t?void 0:t.elems[0];if(null!=i){var o="p"!==(null===i||void 0===i?void 0:i.nodeName.toLowerCase()),a=(null===i||void 0===i?void 0:i.getAttribute("face"))===e;if(r){if(o&&!a){var u=n.selection.getSelectionRangeTopNodes();n.selection.createRangeByElem(u[0]),n.selection.moveCursor(u[0].elems[0])}n.selection.setRangeToElem(i),n.selection.createEmptyRange()}n.cmd["do"]("fontName",e),r&&(n.selection.collapseRange(),n.selection.restoreSelection())}},t.prototype.tryChangeActive=function(){},t}(a["default"]);t["default"]=s},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),u=a.__importDefault(n(3)),l=function(){function e(e){var t=this;this.itemList=[],(0,o["default"])(e).call(e,(function(e){var n="string"===typeof e?e:e.value,r="string"===typeof e?e:e.name;t.itemList.push({$elem:u["default"]("<p style=\"font-family:'"+n+"'\">"+r+"</p>"),value:r})}))}return e.prototype.getItemList=function(){return this.itemList},e}();t["default"]=l},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=o.__importDefault(n(24)),u=o.__importDefault(n(3)),l=o.__importDefault(n(332)),s=function(e){function t(t){var n=this,r=u["default"]('<div class="w-e-menu" data-title="字号">\n <i class="w-e-icon-text-heigh"></i>\n </div>'),i=new l["default"](t.config.fontSizes),o={width:160,title:"设置字号",type:"list",list:i.getItemList(),clickHandler:function(e){n.command(e)}};return n=e.call(this,r,t,o)||this,n}return o.__extends(t,e),t.prototype.command=function(e){var t,n=this.editor,r=n.selection.isSelectionEmpty(),i=null===(t=n.selection.getSelectionContainerElem())||void 0===t?void 0:t.elems[0];null!=i&&(n.cmd["do"]("fontSize",e),r&&(n.selection.collapseRange(),n.selection.restoreSelection()))},t.prototype.tryChangeActive=function(){},t}(a["default"]);t["default"]=s},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=o.__importDefault(n(3)),u=function(){function e(e){for(var t in this.itemList=[],e){var n=e[t];this.itemList.push({$elem:a["default"]('<p style="font-size:'+t+'">'+n.name+"</p>"),value:n.value})}}return e.prototype.getItemList=function(){return this.itemList},e}();t["default"]=u},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4)),a=r(n(27));(0,i["default"])(t,"__esModule",{value:!0});var u=n(2),l=u.__importDefault(n(24)),s=u.__importDefault(n(3)),c=["LI"],f=["BLOCKQUOTE"],d=function(e){function t(t){var n=this,r=s["default"]('<div class="w-e-menu" data-title="对齐"><i class="w-e-icon-paragraph-left"></i></div>'),i={width:100,title:"对齐方式",type:"list",list:[{$elem:s["default"]('<p>\n <i class="w-e-icon-paragraph-left w-e-drop-list-item"></i>\n '+t.i18next.t("menus.dropListMenu.justify.靠左")+"\n </p>"),value:"left"},{$elem:s["default"]('<p>\n <i class="w-e-icon-paragraph-center w-e-drop-list-item"></i>\n '+t.i18next.t("menus.dropListMenu.justify.居中")+"\n </p>"),value:"center"},{$elem:s["default"]('<p>\n <i class="w-e-icon-paragraph-right w-e-drop-list-item"></i>\n '+t.i18next.t("menus.dropListMenu.justify.靠右")+"\n </p>"),value:"right"},{$elem:s["default"]('<p>\n <i class="w-e-icon-paragraph-justify w-e-drop-list-item"></i>\n '+t.i18next.t("menus.dropListMenu.justify.两端")+"\n </p>"),value:"justify"}],clickHandler:function(e){n.command(e)}};return n=e.call(this,r,t,i)||this,n}return u.__extends(t,e),t.prototype.command=function(e){var t=this.editor,n=t.selection,r=n.getSelectionContainerElem();n.saveRange();var i=t.selection.getSelectionRangeTopNodes();if(null===r||void 0===r?void 0:r.length)if(this.isSpecialNode(r,i[0])||this.isSpecialTopNode(i[0])){var a=this.getSpecialNodeUntilTop(r,i[0]);if(null==a)return;s["default"](a).css("text-align",e)}else(0,o["default"])(i).call(i,(function(t){t.css("text-align",e)}));n.restoreSelection()},t.prototype.getSpecialNodeUntilTop=function(e,t){var n=e.elems[0],r=t.elems[0];while(null!=n){if(-1!==(0,a["default"])(c).call(c,null===n||void 0===n?void 0:n.nodeName))return n;if(n.parentNode===r)return n;n=n.parentNode}return n},t.prototype.isSpecialNode=function(e,t){var n=this.getSpecialNodeUntilTop(e,t);return null!=n&&-1!==(0,a["default"])(c).call(c,n.nodeName)},t.prototype.isSpecialTopNode=function(e){var t;return null!=e&&-1!==(0,a["default"])(f).call(f,null===(t=e.elems[0])||void 0===t?void 0:t.nodeName)},t.prototype.tryChangeActive=function(){},t}(l["default"]);t["default"]=d},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),u=a.__importDefault(n(3)),l=a.__importDefault(n(23)),s=a.__importDefault(n(335)),c=a.__importDefault(n(336)),f=n(7),d=function(e){function t(t){var n=this,r=u["default"]('<div class="w-e-menu" data-title="引用">\n <i class="w-e-icon-quotes-left"></i>\n </div>');return n=e.call(this,r,t)||this,s["default"](t),n}return a.__extends(t,e),t.prototype.clickHandler=function(){var e,t,n=this.editor,r=n.selection.isSelectionEmpty(),i=n.selection.getSelectionRangeTopNodes(),a=i[i.length-1],l=this.getTopNodeName();if("BLOCKQUOTE"!==l){var s=c["default"](i);if(n.$textElem.equal(a)){var d=null===(e=n.selection.getSelectionContainerElem())||void 0===e?void 0:e.elems[0];n.selection.createRangeByElems(d.children[0],d.children[0]),i=n.selection.getSelectionRangeTopNodes(),s=c["default"](i),a.append(s)}else s.insertAfter(a);this.delSelectNode(i);var p=null===(t=s.childNodes())||void 0===t?void 0:t.last().getNode();if(null==p)return;return p.textContent?n.selection.moveCursor(p):n.selection.moveCursor(p,0),this.tryChangeActive(),void u["default"](f.EMPTY_P).insertAfter(s)}var h=u["default"](a.childNodes()),v=h.length,g=a;(0,o["default"])(h).call(h,(function(e){var t=u["default"](e);t.insertAfter(g),g=t})),a.remove(),n.selection.moveCursor(h.elems[v-1]),this.tryChangeActive(),r&&(n.selection.collapseRange(),n.selection.restoreSelection())},t.prototype.tryChangeActive=function(){var e,t=this.editor,n=null===(e=t.selection.getSelectionRangeTopNodes()[0])||void 0===e?void 0:e.getNodeName();"BLOCKQUOTE"===n?this.active():this.unActive()},t.prototype.getTopNodeName=function(){var e=this.editor,t=e.selection.getSelectionRangeTopNodes()[0],n=null===t||void 0===t?void 0:t.getNodeName();return n},t.prototype.delSelectNode=function(e){(0,o["default"])(e).call(e,(function(e){e.remove()}))},t}(l["default"]);t["default"]=d},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=n(7),u=o.__importDefault(n(3));function l(e){function t(t){var n,r=e.selection.getSelectionContainerElem(),i=e.selection.getSelectionRangeTopNodes()[0];if("BLOCKQUOTE"===(null===i||void 0===i?void 0:i.getNodeName())){if("BLOCKQUOTE"===r.getNodeName()){var o=null===(n=r.childNodes())||void 0===n?void 0:n.getNode();e.selection.moveCursor(o)}if(""===r.text()){t.preventDefault(),r.remove();var l=u["default"](a.EMPTY_P);l.insertAfter(i),e.selection.moveCursor(l.getNode(),0)}""===i.text()&&i.remove()}}e.txt.eventHooks.enterDownEvents.push(t)}t["default"]=l},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),u=a.__importDefault(n(3));function l(e){var t=u["default"]("<blockquote></blockquote>");return(0,o["default"])(e).call(e,(function(e){t.append(e.clone(!0))})),t}t["default"]=l},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(26));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),u=a.__importDefault(n(24)),l=a.__importDefault(n(3)),s=n(6),c=function(e){function t(t){var n,r=this,i=l["default"]('<div class="w-e-menu" data-title="背景色">\n <i class="w-e-icon-paint-brush"></i>\n </div>'),a={width:120,title:"背景颜色",type:"inline-block",list:(0,o["default"])(n=t.config.colors).call(n,(function(e){return{$elem:l["default"]('<i style="color:'+e+';" class="w-e-icon-paint-brush"></i>'),value:e}})),clickHandler:function(e){r.command(e)}};return r=e.call(this,i,t,a)||this,r}return a.__extends(t,e),t.prototype.command=function(e){var t,n=this.editor,r=n.selection.isSelectionEmpty(),i=null===(t=n.selection.getSelectionContainerElem())||void 0===t?void 0:t.elems[0];if(null!=i){var o="p"!==(null===i||void 0===i?void 0:i.nodeName.toLowerCase()),a=null===i||void 0===i?void 0:i.style.backgroundColor,u=s.hexToRgb(e)===a;if(r){if(o&&!u){var l=n.selection.getSelectionRangeTopNodes();n.selection.createRangeByElem(l[0]),n.selection.moveCursor(l[0].elems[0])}n.selection.createEmptyRange()}n.cmd["do"]("backColor",e),r&&(n.selection.collapseRange(),n.selection.restoreSelection())}},t.prototype.tryChangeActive=function(){},t}(u["default"]);t["default"]=c},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(26));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),u=a.__importDefault(n(24)),l=a.__importDefault(n(3)),s=function(e){function t(t){var n,r=this,i=l["default"]('<div class="w-e-menu" data-title="文字颜色">\n <i class="w-e-icon-pencil2"></i>\n </div>'),a={width:120,title:"文字颜色",type:"inline-block",list:(0,o["default"])(n=t.config.colors).call(n,(function(e){return{$elem:l["default"]('<i style="color:'+e+';" class="w-e-icon-pencil2"></i>'),value:e}})),clickHandler:function(e){r.command(e)}};return r=e.call(this,i,t,a)||this,r}return a.__extends(t,e),t.prototype.command=function(e){var t,n=this.editor,r=n.selection.isSelectionEmpty(),i=null===(t=n.selection.getSelectionContainerElem())||void 0===t?void 0:t.elems[0];if(null!=i){var o=n.selection.getSelectionText();if("A"===i.nodeName&&i.textContent===o){var a=l["default"]("<span>​</span>").getNode();i.appendChild(a)}n.cmd["do"]("foreColor",e),r&&(n.selection.collapseRange(),n.selection.restoreSelection())}},t.prototype.tryChangeActive=function(){},t}(u["default"]);t["default"]=s},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=o.__importDefault(n(3)),u=o.__importDefault(n(33)),l=o.__importDefault(n(38)),s=o.__importDefault(n(340)),c=o.__importDefault(n(346)),f=function(e){function t(t){var n=this,r=a["default"]('<div class="w-e-menu" data-title="视频">\n <i class="w-e-icon-play"></i>\n </div>');return n=e.call(this,r,t)||this,c["default"](t),n}return o.__extends(t,e),t.prototype.clickHandler=function(){this.createPanel("")},t.prototype.createPanel=function(e){var t=s["default"](this.editor,e),n=new u["default"](this,t);n.create()},t.prototype.tryChangeActive=function(){},t}(l["default"]);t["default"]=f},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(17));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),u=n(6),l=a.__importDefault(n(3)),s=a.__importDefault(n(341)),c=n(7);function f(e,t){var n=e.config,r=new s["default"](e),i=u.getRandom("input-iframe"),a=u.getRandom("btn-ok"),f=u.getRandom("input-upload"),d=u.getRandom("btn-local-ok");function p(t){e.cmd["do"]("insertHTML",t+c.EMPTY_P),e.config.onlineVideoCallback(t)}function h(t){var n=e.config.onlineVideoCheck(t);return!0===n||("string"===typeof n&&e.config.customAlert(n,"error"),!1)}var v=[{title:e.i18next.t("menus.panelMenus.video.上传视频"),tpl:'<div class="w-e-up-video-container">\n <div id="'+d+'" class="w-e-up-btn">\n <i class="w-e-icon-upload2"></i>\n </div>\n <div style="display:none;">\n <input id="'+f+'" type="file" accept="video/*"/>\n </div>\n </div>',events:[{selector:"#"+d,type:"click",fn:function(){var e=l["default"]("#"+f),t=e.elems[0];if(!t)return!0;t.click()}},{selector:"#"+f,type:"change",fn:function(){var e=l["default"]("#"+f),t=e.elems[0];if(!t)return!0;var n=t.files;return n.length&&r.uploadVideo(n),!0}}]},{title:e.i18next.t("menus.panelMenus.video.插入视频"),tpl:'<div>\n <input \n id="'+i+'" \n type="text" \n class="block" \n placeholder="'+e.i18next.t("如")+':<iframe src=... ></iframe>"/>\n </td>\n <div class="w-e-button-container">\n <button type="button" id="'+a+'" class="right">\n '+e.i18next.t("插入")+"\n </button>\n </div>\n </div>",events:[{selector:"#"+a,type:"click",fn:function(){var e,t=l["default"]("#"+i),n=(0,o["default"])(e=t.val()).call(e);if(n&&h(n))return p(n),!0},bindEnter:!0}]}],g={width:300,height:0,tabs:[]};return window.FileReader&&(n.uploadVideoServer||n.customUploadVideo)&&g.tabs.push(v[0]),n.showLinkVideo&&g.tabs.push(v[1]),g}t["default"]=f},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(133)),a=r(n(57)),u=r(n(4)),l=r(n(27));(0,i["default"])(t,"__esModule",{value:!0});var s=n(2),c=n(6),f=s.__importDefault(n(135)),d=s.__importDefault(n(136)),p=n(7),h=n(6),v=function(){function e(e){this.editor=e}return e.prototype.uploadVideo=function(e){var t=this;if(e.length){var n=this.editor,r=n.config,i="validate.",s=function(e){return n.i18next.t(i+e)},p=r.uploadVideoServer,h=r.uploadVideoMaxSize,v=h/1024,g=r.uploadVideoName,m=r.uploadVideoParams,A=r.uploadVideoParamsWithUrl,y=r.uploadVideoHeaders,_=r.uploadVideoHooks,w=r.uploadVideoTimeout,x=r.withVideoCredentials,b=r.customUploadVideo,E=r.uploadVideoAccept,C=[],S=[];if(c.arrForEach(e,(function(e){var t=e.name,n=e.size/1024/1024;t&&n&&(E instanceof Array?(0,o["default"])(E).call(E,(function(e){return e===t.split(".")[t.split(".").length-1]}))?v<n?S.push("【"+t+"】"+s("大于")+" "+v+"M"):C.push(e):S.push("【"+t+"】"+s("不是视频")):S.push("【"+E+"】"+s("uploadVideoAccept 不是Array")))})),S.length)r.customAlert(s("视频验证未通过")+": \n"+S.join("\n"),"warning");else if(0!==C.length)if(b&&"function"===typeof b){var k;b(C,(0,a["default"])(k=this.insertVideo).call(k,this))}else{var M=new FormData;if((0,u["default"])(C).call(C,(function(e,t){var n=g||e.name;C.length>1&&(n+=t+1),M.append(n,e)})),p){var T=p.split("#");p=T[0];var D=T[1]||"";(0,u["default"])(c).call(c,m,(function(e,t){A&&((0,l["default"])(p).call(p,"?")>0?p+="&":p+="?",p=p+e+"="+t),M.append(e,t)})),D&&(p+="#"+D);var I=f["default"](p,{timeout:w,formData:M,headers:y,withCredentials:!!x,beforeSend:function(e){if(_.before)return _.before(e,n,C)},onTimeout:function(e){r.customAlert(s("上传视频超时"),"error"),_.timeout&&_.timeout(e,n)},onProgress:function(e,t){var r=new d["default"](n);t.lengthComputable&&(e=t.loaded/t.total,r.show(e))},onError:function(e){r.customAlert(s("上传视频错误"),"error",s("上传视频错误")+","+s("服务器返回状态")+": "+e.status),_.error&&_.error(e,n)},onFail:function(e,t){r.customAlert(s("上传视频失败"),"error",s("上传视频返回结果错误")+","+s("返回结果")+": "+t),_.fail&&_.fail(e,n,t)},onSuccess:function(e,i){if(_.customInsert){var o;_.customInsert((0,a["default"])(o=t.insertVideo).call(o,t),i,n)}else{if("0"!=i.errno)return r.customAlert(s("上传视频失败"),"error",s("上传视频返回结果错误")+","+s("返回结果")+" errno="+i.errno),void(_.fail&&_.fail(e,n,i));var u=i.data;t.insertVideo(u.url),_.success&&_.success(e,n,i)}}});"string"===typeof I&&r.customAlert(I,"error")}}else r.customAlert(s("传入的文件不合法"),"warning")}},e.prototype.insertVideo=function(e){var t=this.editor,n=t.config,r="validate.",i=function(e,n){return void 0===n&&(n=r),t.i18next.t(n+e)};if(n.customInsertVideo)n.customInsertVideo(e);else{h.UA.isFirefox?t.cmd["do"]("insertHTML",'<p data-we-video-p="true"><video src="'+e+'" controls="controls" style="max-width:100%"></video></p><p>​</p>'):t.cmd["do"]("insertHTML",'<video src="'+e+'" controls="controls" style="max-width:100%"></video>'+p.EMPTY_P);var o=document.createElement("video");o.onload=function(){o=null},o.onerror=function(){n.customAlert(i("插入视频错误"),"error","wangEditor: "+i("插入视频错误")+","+i("视频链接")+' "'+e+'",'+i("下载链接失败")),o=null},o.onabort=function(){return o=null},o.src=e}},e}();t["default"]=v},function(e,t,n){e.exports=n(343)},function(e,t,n){var r=n(344);e.exports=r},function(e,t,n){n(345);var r=n(9);e.exports=r.Date.now},function(e,t,n){var r=n(5);r({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=o.__importDefault(n(347)),u=o.__importDefault(n(349));function l(e){a["default"](e),u["default"](e)}t["default"]=l},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0}),t.createShowHideFn=void 0;var o=n(2),a=o.__importDefault(n(3)),u=o.__importDefault(n(39)),l=o.__importDefault(n(348));function s(e){var t,n=function(t,n){return void 0===n&&(n=""),e.i18next.t(n+t)};function r(r){var i=[{$elem:a["default"]("<span class='w-e-icon-trash-o'></span>"),onClick:function(e,t){return t.remove(),!0}},{$elem:a["default"]("<span>100%</span>"),onClick:function(e,t){return t.attr("width","100%"),t.removeAttr("height"),!0}},{$elem:a["default"]("<span>50%</span>"),onClick:function(e,t){return t.attr("width","50%"),t.removeAttr("height"),!0}},{$elem:a["default"]("<span>30%</span>"),onClick:function(e,t){return t.attr("width","30%"),t.removeAttr("height"),!0}},{$elem:a["default"]("<span>"+n("重置")+"</span>"),onClick:function(e,t){return t.removeAttr("width"),t.removeAttr("height"),!0}},{$elem:a["default"]("<span>"+n("menus.justify.靠左")+"</span>"),onClick:function(e,t){return l["default"](t,"left"),!0}},{$elem:a["default"]("<span>"+n("menus.justify.居中")+"</span>"),onClick:function(e,t){return l["default"](t,"center"),!0}},{$elem:a["default"]("<span>"+n("menus.justify.靠右")+"</span>"),onClick:function(e,t){return l["default"](t,"right"),!0}}];t=new u["default"](e,r,i),t.create()}function i(){t&&(t.remove(),t=null)}return{showVideoTooltip:r,hideVideoTooltip:i}}function c(e){var t=s(e),n=t.showVideoTooltip,r=t.hideVideoTooltip;e.txt.eventHooks.videoClickEvents.push(n),e.txt.eventHooks.clickEvents.push(r),e.txt.eventHooks.keyupEvents.push(r),e.txt.eventHooks.toolbarClickEvents.push(r),e.txt.eventHooks.menuClickEvents.push(r),e.txt.eventHooks.textScrollEvents.push(r),e.txt.eventHooks.changeEvents.push(r)}t.createShowHideFn=s,t["default"]=c},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(28));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),u=a.__importDefault(n(3));function l(e,t){var n=["P"],r=s(e,n);r&&u["default"](r).css("text-align",t)}function s(e,t){var n,r=e.elems[0];while(null!=r){if((0,o["default"])(t).call(t,null===r||void 0===r?void 0:r.nodeName))return r;if("BODY"===(null===(n=null===r||void 0===r?void 0:r.parentNode)||void 0===n?void 0:n.nodeName))return null;r=r.parentNode}return r}t["default"]=l},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(6);function a(e){if(o.UA.isFirefox){var t=e.txt,n=e.selection,r=t.eventHooks.keydownEvents;r.push((function(t){var r=n.getSelectionContainerElem();if(r){var i=r.getNodeTop(e),o=i.length&&i.prev().length?i.prev():null;o&&o.attr("data-we-video-p")&&0===n.getCursorPos()&&8===t.keyCode&&o.remove()}}))}}t["default"]=a},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(26));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),u=n(7),l=a.__importDefault(n(3)),s=a.__importDefault(n(33)),c=a.__importDefault(n(38)),f=a.__importDefault(n(351)),d=a.__importDefault(n(364)),p=function(e){function t(t){var n,r=this,i=l["default"]('<div class="w-e-menu" data-title="图片"><i class="w-e-icon-image"></i></div>'),a=d["default"](t);a.onlyUploadConf&&(i=a.onlyUploadConf.$elem,(0,o["default"])(n=a.onlyUploadConf.events).call(n,(function(e){var t=e.type,n=e.fn||u.EMPTY_FN;i.on(t,(function(e){e.stopPropagation(),n(e)}))})));return r=e.call(this,i,t)||this,r.imgPanelConfig=a,f["default"](t),r}return a.__extends(t,e),t.prototype.clickHandler=function(){this.imgPanelConfig.onlyUploadConf||this.createPanel()},t.prototype.createPanel=function(){var e=this.imgPanelConfig,t=new s["default"](this,e);this.setPanel(t),t.create()},t.prototype.tryChangeActive=function(){},t}(c["default"]);t["default"]=p},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=o.__importDefault(n(352)),u=o.__importDefault(n(353)),l=o.__importDefault(n(354)),s=o.__importDefault(n(362)),c=o.__importDefault(n(363));function f(e){a["default"](e),u["default"](e),l["default"](e),s["default"](e),c["default"](e)}t["default"]=f},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=n(131),u=o.__importDefault(n(97));function l(e,t){var n=e.config,r=n.pasteFilterStyle,i=n.pasteIgnoreImg,o=a.getPasteHtml(t,r,i);if(o)return!0;var u=a.getPasteText(t);return!!u}function s(e,t){for(var n,r=(null===(n=t.clipboardData)||void 0===n?void 0:n.types)||[],i=0;i<r.length;i++){var o=r[i];if("Files"===o)return!0}return!1}function c(e,t){if(s(t,e)||!l(t,e)){var n=a.getPasteImgs(e);if(n.length){var r=new u["default"](t);r.uploadImg(n)}}}function f(e){e.txt.eventHooks.pasteEvents.unshift((function(t){c(t,e)}))}t["default"]=f},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=o.__importDefault(n(97));function u(e){function t(t){var n=t.dataTransfer&&t.dataTransfer.files;if(n&&n.length){var r=new a["default"](e);r.uploadImg(n)}}e.txt.eventHooks.dropEvents.push(t)}t["default"]=u},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(29)),a=r(n(355));(0,i["default"])(t,"__esModule",{value:!0}),t.createShowHideFn=void 0;var u=n(2),l=u.__importDefault(n(3));n(360);var s=n(6);function c(e,t,n,r,i){e.attr("style","width:"+t+"px; height:"+n+"px; left:"+r+"px; top:"+i+"px;")}function f(e,t){var n=l["default"]('<div class="w-e-img-drag-mask">\n <div class="w-e-img-drag-show-size"></div>\n <div class="w-e-img-drag-rb"></div>\n </div>');return n.hide(),t.append(n),n}function d(e,t,n){var r=e.getBoundingClientRect(),i=n.getBoundingClientRect(),u=i.width.toFixed(2),l=i.height.toFixed(2);(0,o["default"])(t).call(t,".w-e-img-drag-show-size").text(u+"px * "+l+"px"),c(t,(0,a["default"])(u),(0,a["default"])(l),i.left-r.left,i.top-r.top),t.show()}function p(e){var t,n=e.$textContainerElem,r=f(e,n);function i(e,n){e.on("click",(function(e){e.stopPropagation()})),e.on("mousedown",".w-e-img-drag-rb",(function(r){if(r.preventDefault(),t){var i=r.clientX,u=r.clientY,s=n.getBoundingClientRect(),f=t.getBoundingClientRect(),d=f.width,p=f.height,h=f.left-s.left,v=f.top-s.top,g=d/p,m=d,A=p,y=l["default"](document);y.on("mousemove",w),y.on("mouseup",x),y.on("mouseleave",_)}function _(){y.off("mousemove",w),y.off("mouseup",x)}function w(t){t.stopPropagation(),t.preventDefault(),m=d+(t.clientX-i),A=p+(t.clientY-u),m/A!=g&&(A=m/g),m=(0,a["default"])(m.toFixed(2)),A=(0,a["default"])(A.toFixed(2)),(0,o["default"])(e).call(e,".w-e-img-drag-show-size").text(m.toFixed(2).replace(".00","")+"px * "+A.toFixed(2).replace(".00","")+"px"),c(e,m,A,h,v)}function x(){t.attr("width",m+""),t.attr("height",A+"");var n=t.getBoundingClientRect();c(e,m,A,n.left-s.left,n.top-s.top),_()}}))}function u(e){if(s.UA.isIE())return!1;e&&(t=e,d(n,r,t))}function p(){(0,o["default"])(n).call(n,".w-e-img-drag-mask").hide()}return i(r,n),l["default"](document).on("click",p),e.beforeDestroy((function(){l["default"](document).off("click",p)})),{showDrag:u,hideDrag:p}}function h(e){var t=p(e),n=t.showDrag,r=t.hideDrag;e.txt.eventHooks.imgClickEvents.push(n),e.txt.eventHooks.textScrollEvents.push(r),e.txt.eventHooks.keyupEvents.push(r),e.txt.eventHooks.toolbarClickEvents.push(r),e.txt.eventHooks.menuClickEvents.push(r),e.txt.eventHooks.changeEvents.push(r)}t.createShowHideFn=p,t["default"]=h},function(e,t,n){e.exports=n(356)},function(e,t,n){var r=n(357);e.exports=r},function(e,t,n){n(358);var r=n(9);e.exports=r.parseFloat},function(e,t,n){var r=n(5),i=n(359);r({global:!0,forced:parseFloat!=i},{parseFloat:i})},function(e,t,n){var r=n(8),i=n(90).trim,o=n(68),a=r.parseFloat,u=1/a(o+"-0")!==-1/0;e.exports=u?function(e){var t=i(String(e)),n=a(t);return 0===n&&"-"==t.charAt(0)?-0:n}:a},function(e,t,n){var r=n(20),i=n(361);i=i.__esModule?i.default:i,"string"===typeof i&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){var r=n(21);t=r(!1),t.push([e.i,".w-e-text-container {\n overflow: hidden;\n}\n.w-e-img-drag-mask {\n position: absolute;\n z-index: 1;\n border: 1px dashed #ccc;\n box-sizing: border-box;\n}\n.w-e-img-drag-mask .w-e-img-drag-rb {\n position: absolute;\n right: -5px;\n bottom: -5px;\n width: 16px;\n height: 16px;\n border-radius: 50%;\n background: #ccc;\n cursor: se-resize;\n}\n.w-e-img-drag-mask .w-e-img-drag-show-size {\n min-width: 110px;\n height: 22px;\n line-height: 22px;\n font-size: 14px;\n color: #999;\n position: absolute;\n left: 0;\n top: 0;\n background-color: #999;\n color: #fff;\n border-radius: 2px;\n padding: 0 5px;\n}\n",""]),e.exports=t},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0}),t.createShowHideFn=void 0;var o=n(2),a=o.__importDefault(n(3)),u=o.__importDefault(n(39));function l(e){var t,n=function(t,n){return void 0===n&&(n=""),e.i18next.t(n+t)};function r(r){var i=[{$elem:a["default"]("<span class='w-e-icon-trash-o'></span>"),onClick:function(e,t){return e.selection.createRangeByElem(t),e.selection.restoreSelection(),e.cmd["do"]("delete"),!0}},{$elem:a["default"]("<span>30%</span>"),onClick:function(e,t){return t.attr("width","30%"),t.removeAttr("height"),!0}},{$elem:a["default"]("<span>50%</span>"),onClick:function(e,t){return t.attr("width","50%"),t.removeAttr("height"),!0}},{$elem:a["default"]("<span>100%</span>"),onClick:function(e,t){return t.attr("width","100%"),t.removeAttr("height"),!0}}];i.push({$elem:a["default"]("<span>"+n("重置")+"</span>"),onClick:function(e,t){return t.removeAttr("width"),t.removeAttr("height"),!0}}),r.attr("data-href")&&i.push({$elem:a["default"]("<span>"+n("查看链接")+"</span>"),onClick:function(e,t){var n=t.attr("data-href");return n&&(n=decodeURIComponent(n),window.open(n,"_target")),!0}}),t=new u["default"](e,r,i),t.create()}function i(){t&&(t.remove(),t=null)}return{showImgTooltip:r,hideImgTooltip:i}}function s(e){var t=l(e),n=t.showImgTooltip,r=t.hideImgTooltip;e.txt.eventHooks.imgClickEvents.push(n),e.txt.eventHooks.clickEvents.push(r),e.txt.eventHooks.keyupEvents.push(r),e.txt.eventHooks.toolbarClickEvents.push(r),e.txt.eventHooks.menuClickEvents.push(r),e.txt.eventHooks.textScrollEvents.push(r),e.txt.eventHooks.imgDragBarMouseDownEvents.push(r),e.txt.eventHooks.changeEvents.push(r)}t.createShowHideFn=l,t["default"]=s},function(e,t,n){"use strict";var r=n(0),i=r(n(1));function o(e){var t=e.txt,n=e.selection,r=t.eventHooks.keydownEvents;r.push((function(e){var t=n.getSelectionContainerElem(),r=n.getRange();if(r&&t&&8===e.keyCode&&n.isSelectionEmpty()){var i=r.startContainer,o=r.startOffset,a=null;if(0===o)while(i!==t.elems[0]&&t.elems[0].contains(i)&&i.parentNode&&!a){if(i.previousSibling){a=i.previousSibling;break}i=i.parentNode}else 3!==i.nodeType&&(a=i.childNodes[o-1]);if(a){var u=a;while(u.childNodes.length)u=u.childNodes[u.childNodes.length-1];u instanceof HTMLElement&&"IMG"===u.tagName&&(u.remove(),e.preventDefault())}}}))}(0,i["default"])(t,"__esModule",{value:!0}),t["default"]=o},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(26)),a=r(n(17));(0,i["default"])(t,"__esModule",{value:!0});var u=n(2),l=u.__importDefault(n(3)),s=n(6),c=u.__importDefault(n(97));function f(e){var t,n=e.config,r=new c["default"](e),i=s.getRandom("up-trigger-id"),u=s.getRandom("up-file-id"),f=s.getRandom("input-link-url"),d=s.getRandom("input-link-url-alt"),p=s.getRandom("input-link-url-href"),h=s.getRandom("btn-link"),v="menus.panelMenus.image.",g=function(t,n){return void 0===n&&(n=v),e.i18next.t(n+t)};function m(e,t,r){var i=n.linkImgCheck(e);return!0===i||("string"===typeof i&&n.customAlert(i,"error"),!1)}var A=1===n.uploadImgMaxLength?"":'multiple="multiple"',y=(0,o["default"])(t=n.uploadImgAccept).call(t,(function(e){return"image/"+e})).join(","),_=function(e,t,n){return'<div class="'+e+'" data-title="'+n+'">\n <div id="'+i+'" class="w-e-up-btn">\n <i class="'+t+'"></i>\n </div>\n <div style="display:none;">\n <input id="'+u+'" type="file" '+A+' accept="'+y+'"/>\n </div>\n </div>'},w=[{selector:"#"+i,type:"click",fn:function(){var e=n.uploadImgFromMedia;if(e&&"function"===typeof e)return e(),!0;var t=l["default"]("#"+u),r=t.elems[0];if(!r)return!0;r.click()}},{selector:"#"+u,type:"change",fn:function(){var e=l["default"]("#"+u),t=e.elems[0];if(!t)return!0;var n=t.files;return(null===n||void 0===n?void 0:n.length)&&r.uploadImg(n),t&&(t.value=""),!0}}],x=['<input\n id="'+f+'"\n type="text"\n class="block"\n placeholder="'+g("图片地址")+'"/>'];n.showLinkImgAlt&&x.push('\n <input\n id="'+d+'"\n type="text"\n class="block"\n placeholder="'+g("图片文字说明")+'"/>'),n.showLinkImgHref&&x.push('\n <input\n id="'+p+'"\n type="text"\n class="block"\n placeholder="'+g("跳转链接")+'"/>');var b=[{title:g("上传图片"),tpl:_("w-e-up-img-container","w-e-icon-upload2",""),events:w},{title:g("网络图片"),tpl:"<div>\n "+x.join("")+'\n <div class="w-e-button-container">\n <button type="button" id="'+h+'" class="right">'+g("插入","")+"</button>\n </div>\n </div>",events:[{selector:"#"+h,type:"click",fn:function(){var e,t=l["default"]("#"+f),i=(0,a["default"])(e=t.val()).call(e);if(i){var o,u,s,c;if(n.showLinkImgAlt)o=(0,a["default"])(u=l["default"]("#"+d).val()).call(u);if(n.showLinkImgHref)s=(0,a["default"])(c=l["default"]("#"+p).val()).call(c);if(m(i,o,s))return r.insertImg(i,o,s),!0}},bindEnter:!0}]}],E={width:300,height:0,tabs:[],onlyUploadConf:{$elem:l["default"](_("w-e-menu","w-e-icon-image","图片")),events:w}};return window.FileReader&&(n.uploadImgShowBase64||n.uploadImgServer||n.customUploadImg||n.uploadImgFromMedia)&&E.tabs.push(b[0]),n.showLinkImg&&(E.tabs.push(b[1]),E.onlyUploadConf=void 0),E}t["default"]=f},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),u=a.__importDefault(n(3)),l=a.__importDefault(n(24)),s=a.__importDefault(n(366)),c=function(e){function t(t){var n=this,r=u["default"]('<div class="w-e-menu" data-title="缩进">\n <i class="w-e-icon-indent-increase"></i>\n </div>'),i={width:130,title:"设置缩进",type:"list",list:[{$elem:u["default"]('<p>\n <i class="w-e-icon-indent-increase w-e-drop-list-item"></i>\n '+t.i18next.t("menus.dropListMenu.indent.增加缩进")+"\n <p>"),value:"increase"},{$elem:u["default"]('<p>\n <i class="w-e-icon-indent-decrease w-e-drop-list-item"></i>\n '+t.i18next.t("menus.dropListMenu.indent.减少缩进")+"\n <p>"),value:"decrease"}],clickHandler:function(e){n.command(e)}};return n=e.call(this,r,t,i)||this,n}return a.__extends(t,e),t.prototype.command=function(e){var t=this.editor,n=t.selection.getSelectionContainerElem();if(n&&t.$textElem.equal(n)){var r=t.selection.getSelectionRangeTopNodes();r.length>0&&(0,o["default"])(r).call(r,(function(n){s["default"](u["default"](n),e,t)}))}else n&&n.length>0&&(0,o["default"])(n).call(n,(function(n){s["default"](u["default"](n),e,t)}));t.selection.restoreSelection(),this.tryChangeActive()},t.prototype.tryChangeActive=function(){var e=this.editor,t=e.selection.getSelectionStartElem(),n=u["default"](t).getNodeTop(e);n.length<=0||(""!=n.elems[0].style["paddingLeft"]?this.active():this.unActive())},t}(l["default"]);t["default"]=c},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(45)),a=r(n(17));(0,i["default"])(t,"__esModule",{value:!0});var u=n(2),l=u.__importDefault(n(367)),s=u.__importDefault(n(368)),c=/^(\d+)(\w+)$/,f=/^(\d+)%$/;function d(e){var t=e.config.indentation;if("string"===typeof t){if(c.test(t)){var n,r=(0,o["default"])(n=(0,a["default"])(t).call(t).match(c)).call(n,1,3),i=r[0],u=r[1];return{value:Number(i),unit:u}}if(f.test(t))return{value:Number((0,a["default"])(t).call(t).match(f)[1]),unit:"%"}}else if(void 0!==t.value&&t.unit)return t;return{value:2,unit:"em"}}function p(e,t,n){var r=e.getNodeTop(n),i=/^(P|H[0-9]*)$/;i.test(r.getNodeName())&&("increase"===t?l["default"](r,d(n)):"decrease"===t&&s["default"](r,d(n)))}t["default"]=p},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(45));function a(e,t){var n=e.elems[0];if(""===n.style["paddingLeft"])e.css("padding-left",t.value+t.unit);else{var r=n.style["paddingLeft"],i=(0,o["default"])(r).call(r,0,r.length-t.unit.length),a=Number(i)+t.value;e.css("padding-left",""+a+t.unit)}}(0,i["default"])(t,"__esModule",{value:!0}),t["default"]=a},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(45));function a(e,t){var n=e.elems[0];if(""!==n.style["paddingLeft"]){var r=n.style["paddingLeft"],i=(0,o["default"])(r).call(r,0,r.length-t.unit.length),a=Number(i)-t.value;a>0?e.css("padding-left",""+a+t.unit):e.css("padding-left","")}}(0,i["default"])(t,"__esModule",{value:!0}),t["default"]=a},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=o.__importDefault(n(3)),u=o.__importDefault(n(38)),l=o.__importDefault(n(33)),s=o.__importDefault(n(370)),c=function(e){function t(t){var n=this,r=a["default"]('<div class="w-e-menu" data-title="表情">\n <i class="w-e-icon-happy"></i>\n </div>');return n=e.call(this,r,t)||this,n}return o.__extends(t,e),t.prototype.createPanel=function(){var e=s["default"](this.editor),t=new l["default"](this,e);t.create()},t.prototype.clickHandler=function(){this.createPanel()},t.prototype.tryChangeActive=function(){},t}(u["default"]);t["default"]=c},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(26)),a=r(n(70)),u=r(n(17));(0,i["default"])(t,"__esModule",{value:!0});var l=n(2),s=l.__importDefault(n(3));function c(e){var t=e.config.emotions;function n(e){var t,n,r=[];"image"==e.type?(r=(0,o["default"])(t=e.content).call(t,(function(e){return"string"==typeof e?"":'<span title="'+e.alt+'">\n <img class="eleImg" data-emoji="'+e.alt+'" style src="'+e.src+'" alt="['+e.alt+']">\n </span>'})),r=(0,a["default"])(r).call(r,(function(e){return""!==e}))):r=(0,o["default"])(n=e.content).call(n,(function(e){return'<span class="eleImg" title="'+e+'">'+e+"</span>"}));return r.join("").replace(/ /g,"")}var r=(0,o["default"])(t).call(t,(function(t){return{title:e.i18next.t("menus.panelMenus.emoticon."+t.title),tpl:"<div>"+n(t)+"</div>",events:[{selector:".eleImg",type:"click",fn:function(t){var n,r,i=s["default"](t.target),o=i.getNodeName();"IMG"===o?n=(0,u["default"])(r=i.parent().html()).call(r):n="<span>"+i.html()+"</span>";return e.cmd["do"]("insertHTML",n),!0}}]}})),i={width:300,height:230,tabs:r};return i}t["default"]=c},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0}),t.createListHandle=t.ClassType=void 0;var o,a=n(2),u=a.__importDefault(n(3)),l=a.__importDefault(n(372)),s=a.__importDefault(n(374)),c=a.__importDefault(n(375)),f=a.__importDefault(n(376)),d=a.__importDefault(n(377));(function(e){e["Wrap"]="WrapListHandle",e["Join"]="JoinListHandle",e["StartJoin"]="StartJoinListHandle",e["EndJoin"]="EndJoinListHandle",e["Other"]="OtherListHandle"})(o=t.ClassType||(t.ClassType={}));var p={WrapListHandle:l["default"],JoinListHandle:s["default"],StartJoinListHandle:c["default"],EndJoinListHandle:f["default"],OtherListHandle:d["default"]};function h(e,t,n){if(e===o.Other&&void 0===n)throw new Error("other 类需要传入 range");return e!==o.Other?new p[e](t):new p[e](t,n)}t.createListHandle=h;var v=function(){function e(e){this.handle=e,this.handle.exec()}return e.prototype.getSelectionRangeElem=function(){return u["default"](this.handle.selectionRangeElem.get())},e}();t["default"]=v},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),u=a.__importDefault(n(3)),l=n(58),s=n(47),c=function(e){function t(t){return e.call(this,t)||this}return a.__extends(t,e),t.prototype.exec=function(){var e,t=this.options,n=t.listType,r=t.listTarget,i=t.$selectionElem,a=t.$startElem,l=t.$endElem,c=[],f=null===i||void 0===i?void 0:i.getNodeName(),d=a.prior,p=l.prior;if(!a.prior&&!l.prior||!(null===d||void 0===d?void 0:d.prev().length)&&!(null===p||void 0===p?void 0:p.next().length)){var h;(0,o["default"])(h=null===i||void 0===i?void 0:i.children()).call(h,(function(e){c.push(u["default"](e))})),f===n?e=s.createElementFragment(c,s.createDocumentFragment(),"p"):(e=s.createElement(r),(0,o["default"])(c).call(c,(function(t){e.appendChild(t.elems[0])}))),this.selectionRangeElem.set(e),s.insertBefore(i,e,i.elems[0]),i.remove()}else{var v=d;while(v.length)c.push(v),v=(null===p||void 0===p?void 0:p.equal(v))?u["default"](void 0):v.next();var g=d.prev(),m=p.next();if(f===n?e=s.createElementFragment(c,s.createDocumentFragment(),"p"):(e=s.createElement(r),(0,o["default"])(c).call(c,(function(t){e.append(t.elems[0])}))),g.length&&m.length){var A=[];while(m.length)A.push(m),m=m.next();var y=s.createElement(f);(0,o["default"])(A).call(A,(function(e){y.append(e.elems[0])})),u["default"](y).insertAfter(i),this.selectionRangeElem.set(e);var _=i.next();_.length?s.insertBefore(i,e,_.elems[0]):i.parent().elems[0].append(e)}else if(g.length){this.selectionRangeElem.set(e);_=i.next();_.length?s.insertBefore(i,e,_.elems[0]):i.parent().elems[0].append(e)}else this.selectionRangeElem.set(e),s.insertBefore(i,e,i.elems[0])}},t}(l.ListHandle);t["default"]=c},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i["default"])(t,"__esModule",{value:!0});var a=function(){function e(){this._element=null}return e.prototype.set=function(e){if(e instanceof DocumentFragment){var t,n=[];(0,o["default"])(t=e.childNodes).call(t,(function(e){n.push(e)})),e=n}this._element=e},e.prototype.get=function(){return this._element},e.prototype.clear=function(){this._element=null},e}();t["default"]=a},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),u=a.__importDefault(n(3)),l=n(58),s=n(47),c=function(e){function t(t){return e.call(this,t)||this}return a.__extends(t,e),t.prototype.exec=function(){var e,t,n,r,i,a,l,c,f=this.options,d=f.editor,p=f.listType,h=f.listTarget,v=f.$startElem,g=f.$endElem,m=d.selection.getSelectionRangeTopNodes(),A=null===v||void 0===v?void 0:v.getNodeName(),y=null===g||void 0===g?void 0:g.getNodeName();if(A===y)if(m.length>2)if(m.shift(),m.pop(),c=s.createElementFragment(s.filterSelectionNodes(m),s.createDocumentFragment()),A===p)null===(e=g.children())||void 0===e||(0,o["default"])(e).call(e,(function(e){c.append(e)})),g.remove(),this.selectionRangeElem.set(c),v.elems[0].append(c);else{var _=document.createDocumentFragment(),w=document.createDocumentFragment(),x=s.getStartPoint(v);while(x.length){var b=x.elems[0];x=x.next(),_.append(b)}var E=s.getEndPoint(g),C=[];while(E.length)C.unshift(E.elems[0]),E=E.prev();(0,o["default"])(C).call(C,(function(e){w.append(e)}));var S=s.createElement(h);S.append(_),S.append(c),S.append(w),c=S,this.selectionRangeElem.set(c),u["default"](S).insertAfter(v),!(null===(t=v.children())||void 0===t?void 0:t.length)&&v.remove(),!(null===(n=g.children())||void 0===n?void 0:n.length)&&g.remove()}else{m.length=0;x=s.getStartPoint(v);while(x.length)m.push(x),x=x.next();E=s.getEndPoint(g),C=[];while(E.length)C.unshift(E),E=E.prev();m.push.apply(m,C),A===p?(c=s.createElementFragment(m,s.createDocumentFragment(),"p"),this.selectionRangeElem.set(c),s.insertBefore(v,c,g.elems[0])):(c=s.createElement(h),(0,o["default"])(m).call(m,(function(e){c.append(e.elems[0])})),this.selectionRangeElem.set(c),u["default"](c).insertAfter(v)),!(null===(r=v.children())||void 0===r?void 0:r.length)&&g.remove(),!(null===(i=g.children())||void 0===i?void 0:i.length)&&g.remove()}else{var k=[];E=s.getEndPoint(g);while(E.length)k.unshift(E),E=E.prev();var M=[];x=s.getStartPoint(v);while(x.length)M.push(x),x=x.next();if(c=s.createDocumentFragment(),m.shift(),m.pop(),(0,o["default"])(M).call(M,(function(e){return c.append(e.elems[0])})),c=s.createElementFragment(s.filterSelectionNodes(m),c),(0,o["default"])(k).call(k,(function(e){return c.append(e.elems[0])})),this.selectionRangeElem.set(c),A===p)v.elems[0].append(c),!(null===(a=g.children())||void 0===a?void 0:a.length)&&g.remove();else if(null===(l=g.children())||void 0===l?void 0:l.length){var T=g.children();s.insertBefore(T,c,T.elems[0])}else g.elems[0].append(c)}},t}(l.ListHandle);t["default"]=c},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),u=a.__importDefault(n(3)),l=n(58),s=n(47),c=function(e){function t(t){return e.call(this,t)||this}return a.__extends(t,e),t.prototype.exec=function(){var e,t,n=this.options,r=n.editor,i=n.listType,a=n.listTarget,l=n.$startElem,c=r.selection.getSelectionRangeTopNodes(),f=null===l||void 0===l?void 0:l.getNodeName();c.shift();var d=[],p=s.getStartPoint(l);while(p.length)d.push(p),p=p.next();f===i?(t=s.createDocumentFragment(),(0,o["default"])(d).call(d,(function(e){return t.append(e.elems[0])})),t=s.createElementFragment(s.filterSelectionNodes(c),t),this.selectionRangeElem.set(t),l.elems[0].append(t)):(t=s.createElement(a),(0,o["default"])(d).call(d,(function(e){return t.append(e.elems[0])})),t=s.createElementFragment(s.filterSelectionNodes(c),t),this.selectionRangeElem.set(t),u["default"](t).insertAfter(l),!(null===(e=l.children())||void 0===e?void 0:e.length)&&l.remove())},t}(l.ListHandle);t["default"]=c},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),u=a.__importDefault(n(3)),l=n(58),s=n(47),c=function(e){function t(t){return e.call(this,t)||this}return a.__extends(t,e),t.prototype.exec=function(){var e,t,n,r=this.options,i=r.editor,a=r.listType,l=r.listTarget,c=r.$endElem,f=i.selection.getSelectionRangeTopNodes(),d=null===c||void 0===c?void 0:c.getNodeName();f.pop();var p=[],h=s.getEndPoint(c);while(h.length)p.unshift(h),h=h.prev();if(d===a)if(n=s.createElementFragment(s.filterSelectionNodes(f),s.createDocumentFragment()),(0,o["default"])(p).call(p,(function(e){return n.append(e.elems[0])})),this.selectionRangeElem.set(n),null===(e=c.children())||void 0===e?void 0:e.length){var v=c.children();s.insertBefore(v,n,v.elems[0])}else c.elems[0].append(n);else{var g=s.filterSelectionNodes(f);g.push.apply(g,p),n=s.createElementFragment(g,s.createElement(l)),this.selectionRangeElem.set(n),u["default"](n).insertBefore(c),!(null===(t=c.children())||void 0===t?void 0:t.length)&&c.remove()}},t}(l.ListHandle);t["default"]=c},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=n(58),u=n(47),l=function(e){function t(t,n){var r=e.call(this,t)||this;return r.range=n,r}return o.__extends(t,e),t.prototype.exec=function(){var e=this.options,t=e.editor,n=e.listTarget,r=t.selection.getSelectionRangeTopNodes(),i=u.createElementFragment(u.filterSelectionNodes(r),u.createElement(n));this.selectionRangeElem.set(i),this.range.insertNode(i)},t}(a.ListHandle);t["default"]=l},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4)),a=r(n(27));(0,i["default"])(t,"__esModule",{value:!0});var u=n(2),l=u.__importDefault(n(24)),s=u.__importDefault(n(3)),c=u.__importDefault(n(379)),f=function(e){function t(t){var n=this,r=s["default"]('<div class="w-e-menu" data-title="行高">\n <i class="w-e-icon-row-height"></i>\n </div>'),i=new c["default"](t,t.config.lineHeights),o={width:100,title:"设置行高",type:"list",list:i.getItemList(),clickHandler:function(e){t.selection.saveRange(),n.command(e)}};return n=e.call(this,r,t,o)||this,n}return u.__extends(t,e),t.prototype.command=function(e){var t=this.editor;t.selection.restoreSelection();var n=s["default"](t.selection.getSelectionContainerElem());if(n.elems.length)if(n&&t.$textElem.equal(n)){for(var r=!1,i=s["default"](t.selection.getSelectionStartElem()).elems[0],o=s["default"](t.selection.getSelectionEndElem()).elems[0],a=this.getDom(i),u=this.getDom(o),l=n.elems[0].children,c=0;c<l.length;c++){var f=l[c];if("P"===s["default"](f).getNodeName()&&(f===a&&(r=!0),r&&(s["default"](f).css("line-height",e),f===u)))return void(r=!1)}t.selection.createRangeByElems(i,o)}else{var d=n.elems[0],p=this.getDom(d);"P"===s["default"](p).getNodeName()&&(s["default"](p).css("line-height",e),t.selection.createRangeByElems(p,p))}},t.prototype.getDom=function(e){var t=s["default"](e).elems[0];if(!t.parentNode)return t;function n(e,t){var r=s["default"](e.parentNode);return t.$textElem.equal(r)?e:n(r.elems[0],t)}return t=n(t,this.editor),t},t.prototype.styleProcessing=function(e){var t="";return(0,o["default"])(e).call(e,(function(e){""!==e&&-1===(0,a["default"])(e).call(e,"line-height")&&(t=t+e+";")})),t},t.prototype.setRange=function(e,t){var n=this.editor,r=window.getSelection?window.getSelection():document.getSelection();null===r||void 0===r||r.removeAllRanges();var i=document.createRange(),o=e,a=t;i.setStart(o,0),i.setEnd(a,1),null===r||void 0===r||r.addRange(i),n.selection.saveRange(),null===r||void 0===r||r.removeAllRanges(),n.selection.restoreSelection()},t.prototype.tryChangeActive=function(){var e=this.editor,t=e.selection.getSelectionContainerElem();if(!t||!e.$textElem.equal(t)){var n=s["default"](e.selection.getSelectionStartElem());if(0!==n.length){n=this.getDom(n.elems[0]);var r=n.getAttribute("style")?n.getAttribute("style"):"";r&&-1!==(0,a["default"])(r).call(r,"line-height")?this.active():this.unActive()}}},t}(l["default"]);t["default"]=f},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),u=a.__importDefault(n(3)),l=function(){function e(e,t){var n=this;this.itemList=[{$elem:u["default"]("<span>"+e.i18next.t("默认")+"</span>"),value:""}],(0,o["default"])(t).call(t,(function(e){n.itemList.push({$elem:u["default"]("<span>"+e+"</span>"),value:e})}))}return e.prototype.getItemList=function(){return this.itemList},e}();t["default"]=l},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=o.__importDefault(n(3)),u=o.__importDefault(n(23)),l=function(e){function t(t){var n=this,r=a["default"]('<div class="w-e-menu" data-title="撤销">\n <i class="w-e-icon-undo"></i>\n </div>');return n=e.call(this,r,t)||this,n}return o.__extends(t,e),t.prototype.clickHandler=function(){var e=this.editor;e.history.revoke();var t=e.$textElem.children();if(null===t||void 0===t?void 0:t.length){var n=t.last();e.selection.createRangeByElem(n,!1,!0),e.selection.restoreSelection()}},t.prototype.tryChangeActive=function(){this.editor.isCompatibleMode||(this.editor.history.size[0]?this.active():this.unActive())},t}(u["default"]);t["default"]=l},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=o.__importDefault(n(3)),u=o.__importDefault(n(23)),l=function(e){function t(t){var n=this,r=a["default"]('<div class="w-e-menu" data-title="恢复">\n <i class="w-e-icon-redo"></i>\n </div>');return n=e.call(this,r,t)||this,n}return o.__extends(t,e),t.prototype.clickHandler=function(){var e=this.editor;e.history.restore();var t=e.$textElem.children();if(null===t||void 0===t?void 0:t.length){var n=t.last();e.selection.createRangeByElem(n,!1,!0),e.selection.restoreSelection()}},t.prototype.tryChangeActive=function(){this.editor.isCompatibleMode||(this.editor.history.size[1]?this.active():this.unActive())},t}(u["default"]);t["default"]=l},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=o.__importDefault(n(38)),u=o.__importDefault(n(3)),l=o.__importDefault(n(383)),s=o.__importDefault(n(33)),c=o.__importDefault(n(392)),f=function(e){function t(t){var n=this,r=u["default"]('<div class="w-e-menu" data-title="表格"><i class="w-e-icon-table2"></i></div>');return n=e.call(this,r,t)||this,c["default"](t),n}return o.__extends(t,e),t.prototype.clickHandler=function(){this.createPanel()},t.prototype.createPanel=function(){var e=l["default"](this.editor),t=new s["default"](this,e);t.create()},t.prototype.tryChangeActive=function(){},t}(a["default"]);t["default"]=f},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(384));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),u=n(6),l=a.__importDefault(n(3));n(389);var s=a.__importDefault(n(391));function c(e){return e>0&&(0,o["default"])(e)}function f(e){var t=new s["default"](e),n=u.getRandom("w-col-id"),r=u.getRandom("w-row-id"),i=u.getRandom("btn-link"),o="menus.panelMenus.table.",a=function(t){return e.i18next.t(t)},f=[{title:a(o+"插入表格"),tpl:'<div>\n <div class="w-e-table">\n <span>'+a("创建")+'</span>\n <input id="'+r+'" type="text" class="w-e-table-input" value="5"/></td>\n <span>'+a(o+"行")+'</span>\n <input id="'+n+'" type="text" class="w-e-table-input" value="5"/></td>\n <span>'+(a(o+"列")+a(o+"的")+a(o+"表格"))+'</span>\n </div>\n <div class="w-e-button-container">\n <button type="button" id="'+i+'" class="right">'+a("插入")+"</button>\n </div>\n </div>",events:[{selector:"#"+i,type:"click",fn:function(){var i=Number(l["default"]("#"+n).val()),o=Number(l["default"]("#"+r).val());return c(o)&&c(i)?(t.createAction(o,i),!0):(e.config.customAlert("表格行列请输入正整数","warning"),!1)},bindEnter:!0}]}],d={width:330,height:0,tabs:[]};return d.tabs.push(f[0]),d}t["default"]=f},function(e,t,n){e.exports=n(385)},function(e,t,n){var r=n(386);e.exports=r},function(e,t,n){n(387);var r=n(9);e.exports=r.Number.isInteger},function(e,t,n){var r=n(5),i=n(388);r({target:"Number",stat:!0},{isInteger:i})},function(e,t,n){var r=n(13),i=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&i(e)===e}},function(e,t,n){var r=n(20),i=n(390);i=i.__esModule?i.default:i,"string"===typeof i&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){var r=n(21);t=r(!1),t.push([e.i,".w-e-table {\n display: flex;\n}\n.w-e-table .w-e-table-input {\n width: 40px;\n text-align: center!important;\n margin: 0 5px;\n}\n",""]),e.exports=t},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=n(7),u=o.__importDefault(n(3)),l=function(){function e(e){this.editor=e}return e.prototype.createAction=function(e,t){var n=this.editor,r=u["default"](n.selection.getSelectionContainerElem()),i=u["default"](r.elems[0]).parentUntilEditor("UL",n),o=u["default"](r.elems[0]).parentUntilEditor("OL",n);if(!i&&!o){var a=this.createTableHtml(e,t);n.cmd["do"]("insertHTML",a)}},e.prototype.createTableHtml=function(e,t){for(var n="",r="",i=0;i<e;i++){r="";for(var o=0;o<t;o++)r+=0===i?"<th></th>":"<td></td>";n=n+"<tr>"+r+"</tr>"}var u='<table border="0" width="100%" cellpadding="0" cellspacing="0"><tbody>'+n+"</tbody></table>"+a.EMPTY_P;return u},e}();t["default"]=l},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=o.__importDefault(n(393)),u=n(400);function l(e){a["default"](e),u.bindEventKeyboardEvent(e),u.bindClickEvent(e)}t["default"]=l},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=o.__importDefault(n(3)),u=o.__importDefault(n(39)),l=o.__importDefault(n(394)),s=o.__importDefault(n(399)),c=n(7);function f(e){var t;function n(n){var r=new s["default"](e),i="menus.panelMenus.table.",o=function(t,n){return void 0===n&&(n=i),e.i18next.t(n+t)},f=[{$elem:a["default"]("<span>"+o("删除表格")+"</span>"),onClick:function(e,t){return e.selection.createRangeByElem(t),e.selection.restoreSelection(),e.cmd["do"]("insertHTML",c.EMPTY_P),!0}},{$elem:a["default"]("<span>"+o("添加行")+"</span>"),onClick:function(e,t){var n=d(e);if(n)return!0;var i=a["default"](e.selection.getSelectionStartElem()),o=r.getRowNode(i.elems[0]);if(!o)return!0;var u=Number(r.getCurrentRowIndex(t.elems[0],o)),s=r.getTableHtml(t.elems[0]),c=r.getTableHtml(l["default"].ProcessingRow(a["default"](s),u).elems[0]);return c=h(t,c),e.selection.createRangeByElem(t),e.selection.restoreSelection(),e.cmd["do"]("insertHTML",c),!0}},{$elem:a["default"]("<span>"+o("删除行")+"</span>"),onClick:function(e,t){var n=d(e);if(n)return!0;var i=a["default"](e.selection.getSelectionStartElem()),o=r.getRowNode(i.elems[0]);if(!o)return!0;var u=Number(r.getCurrentRowIndex(t.elems[0],o)),s=r.getTableHtml(t.elems[0]),f=l["default"].DeleteRow(a["default"](s),u).elems[0].children[0].children.length,p="";return e.selection.createRangeByElem(t),e.selection.restoreSelection(),p=0===f?c.EMPTY_P:r.getTableHtml(l["default"].DeleteRow(a["default"](s),u).elems[0]),p=h(t,p),e.cmd["do"]("insertHTML",p),!0}},{$elem:a["default"]("<span>"+o("添加列")+"</span>"),onClick:function(e,t){var n=d(e);if(n)return!0;var i=a["default"](e.selection.getSelectionStartElem()),o=r.getCurrentColIndex(i.elems[0]),u=r.getTableHtml(t.elems[0]),s=r.getTableHtml(l["default"].ProcessingCol(a["default"](u),o).elems[0]);return s=h(t,s),e.selection.createRangeByElem(t),e.selection.restoreSelection(),e.cmd["do"]("insertHTML",s),!0}},{$elem:a["default"]("<span>"+o("删除列")+"</span>"),onClick:function(e,t){var n=d(e);if(n)return!0;var i=a["default"](e.selection.getSelectionStartElem()),o=r.getCurrentColIndex(i.elems[0]),u=r.getTableHtml(t.elems[0]),s=l["default"].DeleteCol(a["default"](u),o),f=s.elems[0].children[0].children[0].children.length,p="";return e.selection.createRangeByElem(t),e.selection.restoreSelection(),p=0===f?c.EMPTY_P:r.getTableHtml(s.elems[0]),p=h(t,p),e.cmd["do"]("insertHTML",p),!0}},{$elem:a["default"]("<span>"+o("设置表头")+"</span>"),onClick:function(e,t){var n=d(e);if(n)return!0;var i=a["default"](e.selection.getSelectionStartElem()),o=r.getRowNode(i.elems[0]);if(!o)return!0;var u=Number(r.getCurrentRowIndex(t.elems[0],o));0!==u&&(u=0);var s=r.getTableHtml(t.elems[0]),c=r.getTableHtml(l["default"].setTheHeader(a["default"](s),u,"th").elems[0]);return c=h(t,c),e.selection.createRangeByElem(t),e.selection.restoreSelection(),e.cmd["do"]("insertHTML",c),!0}},{$elem:a["default"]("<span>"+o("取消表头")+"</span>"),onClick:function(e,t){var n=a["default"](e.selection.getSelectionStartElem()),i=r.getRowNode(n.elems[0]);if(!i)return!0;var o=Number(r.getCurrentRowIndex(t.elems[0],i));0!==o&&(o=0);var u=r.getTableHtml(t.elems[0]),s=r.getTableHtml(l["default"].setTheHeader(a["default"](u),o,"td").elems[0]);return s=h(t,s),e.selection.createRangeByElem(t),e.selection.restoreSelection(),e.cmd["do"]("insertHTML",s),!0}}];t=new u["default"](e,n,f),t.create()}function r(){t&&(t.remove(),t=null)}return{showTableTooltip:n,hideTableTooltip:r}}function d(e){var t=e.selection.getSelectionStartElem(),n=e.selection.getSelectionEndElem();return(null===t||void 0===t?void 0:t.elems[0])!==(null===n||void 0===n?void 0:n.elems[0])}function p(e){var t=f(e),n=t.showTableTooltip,r=t.hideTableTooltip;e.txt.eventHooks.tableClickEvents.push(n),e.txt.eventHooks.clickEvents.push(r),e.txt.eventHooks.keyupEvents.push(r),e.txt.eventHooks.toolbarClickEvents.push(r),e.txt.eventHooks.menuClickEvents.push(r),e.txt.eventHooks.textScrollEvents.push(r)}function h(e,t){var n=e.elems[0].nextSibling;return n&&"<br>"!==n.innerHTML||(t+=""+c.EMPTY_P),t}t["default"]=p},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(45)),a=r(n(91)),u=r(n(4)),l=r(n(138));(0,i["default"])(t,"__esModule",{value:!0});var s=n(2),c=s.__importDefault(n(3));function f(e,t){for(var n=m(e),r=(0,o["default"])(Array.prototype).apply(n.children),i=r[0].children.length,u=document.createElement("tr"),l=0;l<i;l++){var s=document.createElement("td");u.appendChild(s)}return(0,a["default"])(r).call(r,t+1,0,u),g(n,r),c["default"](n.parentNode)}function d(e,t){for(var n=m(e),r=(0,o["default"])(Array.prototype).apply(n.children),i=function(e){var n,i=[];(0,u["default"])(n=(0,l["default"])(r[e].children)).call(n,(function(e){i.push(e)}));while(0!==r[e].children.length)r[e].removeChild(r[e].children[0]);var o="TH"!==c["default"](i[0]).getNodeName()?document.createElement("td"):document.createElement("th");(0,a["default"])(i).call(i,t+1,0,o);for(var s=0;s<i.length;s++)r[e].appendChild(i[s])},s=0;s<r.length;s++)i(s);return g(n,r),c["default"](n.parentNode)}function p(e,t){var n=m(e),r=(0,o["default"])(Array.prototype).apply(n.children);return(0,a["default"])(r).call(r,t,1),g(n,r),c["default"](n.parentNode)}function h(e,t){for(var n=m(e),r=(0,o["default"])(Array.prototype).apply(n.children),i=function(e){var n,i=[];(0,u["default"])(n=(0,l["default"])(r[e].children)).call(n,(function(e){i.push(e)}));while(0!==r[e].children.length)r[e].removeChild(r[e].children[0]);(0,a["default"])(i).call(i,t,1);for(var o=0;o<i.length;o++)r[e].appendChild(i[o])},s=0;s<r.length;s++)i(s);return g(n,r),c["default"](n.parentNode)}function v(e,t,n){for(var r=m(e),i=(0,o["default"])(Array.prototype).apply(r.children),s=i[t].children,f=document.createElement("tr"),d=function(e){var t,r=document.createElement(n),i=s[e];(0,u["default"])(t=(0,l["default"])(i.childNodes)).call(t,(function(e){r.appendChild(e)})),f.appendChild(r)},p=0;p<s.length;p++)d(p);return(0,a["default"])(i).call(i,t,1,f),g(r,i),c["default"](r.parentNode)}function g(e,t){while(0!==e.children.length)e.removeChild(e.children[0]);for(var n=0;n<t.length;n++)e.appendChild(t[n])}function m(e){var t=e.elems[0].children[0];return"COLGROUP"===t.nodeName&&(t=e.elems[0].children[e.elems[0].children.length-1]),t}t["default"]={ProcessingRow:f,ProcessingCol:d,DeleteRow:p,DeleteCol:h,setTheHeader:v}},function(e,t,n){var r=n(396);e.exports=r},function(e,t,n){n(50),n(397);var r=n(9);e.exports=r.Array.from},function(e,t,n){var r=n(5),i=n(398),o=n(115),a=!o((function(e){Array.from(e)}));r({target:"Array",stat:!0,forced:a},{from:i})},function(e,t,n){"use strict";var r=n(40),i=n(31),o=n(114),a=n(112),u=n(35),l=n(69),s=n(113);e.exports=function(e){var t,n,c,f,d,p,h=i(e),v="function"==typeof this?this:Array,g=arguments.length,m=g>1?arguments[1]:void 0,A=void 0!==m,y=s(h),_=0;if(A&&(m=r(m,g>2?arguments[2]:void 0,2)),void 0==y||v==Array&&a(y))for(t=u(h.length),n=new v(t);t>_;_++)p=A?m(h[_],_):h[_],l(n,_,p);else for(f=y.call(h),d=f.next,n=new v;!(c=d.call(f)).done;_++)p=A?o(f,m,[c.value,_],!0):c.value,l(n,_,p);return n.length=_,n}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4)),a=r(n(138));(0,i["default"])(t,"__esModule",{value:!0});var u=n(2),l=u.__importDefault(n(3)),s=function(){function e(e){this.editor=e}return e.prototype.getRowNode=function(e){var t,n=l["default"](e).elems[0];return n.parentNode?(n=null===(t=l["default"](n).parentUntil("TR",n))||void 0===t?void 0:t.elems[0],n):n},e.prototype.getCurrentRowIndex=function(e,t){var n,r=0,i=e.children[0];return"COLGROUP"===i.nodeName&&(i=e.children[e.children.length-1]),(0,o["default"])(n=(0,a["default"])(i.children)).call(n,(function(e,n){e===t&&(r=n)})),r},e.prototype.getCurrentColIndex=function(e){var t,n,r=0,i="TD"===l["default"](e).getNodeName()||"TH"===l["default"](e).getNodeName()?e:null===(n=l["default"](e).parentUntil("TD",e))||void 0===n?void 0:n.elems[0],u=l["default"](i).parent();return(0,o["default"])(t=(0,a["default"])(u.elems[0].children)).call(t,(function(e,t){e===i&&(r=t)})),r},e.prototype.getTableHtml=function(e){var t='<table border="0" width="100%" cellpadding="0" cellspacing="0">'+l["default"](e).html()+"</table>";return t},e}();t["default"]=s},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0}),t.bindEventKeyboardEvent=t.bindClickEvent=void 0;var o=n(2),a=o.__importDefault(n(3));function u(e){if(!e.length)return!1;var t=e.elems[0];return"P"===t.nodeName&&"<br>"===t.innerHTML}function l(e){function t(t,n){if(n.detail>=3){var r=window.getSelection();if(r){var i=r.focusNode,o=r.anchorNode,u=a["default"](null===o||void 0===o?void 0:o.parentElement);if(!t.isContain(a["default"](i))){var l="TD"===u.elems[0].tagName?u:u.parentUntilEditor("td",e);if(l){var s=e.selection.getRange();null===s||void 0===s||s.setEnd(l.elems[0],l.elems[0].childNodes.length),e.selection.restoreSelection()}}}}}e.txt.eventHooks.tableClickEvents.push(t)}function s(e){var t=e.txt,n=e.selection,r=t.eventHooks.keydownEvents;r.push((function(t){e.selection.saveRange();var r=n.getSelectionContainerElem();if(r){var i=r.getNodeTop(e),o=i.length&&i.prev().length?i.prev():null;if(o&&"TABLE"===o.getNodeName()&&n.isSelectionEmpty()&&0===n.getCursorPos()&&8===t.keyCode){var a=i.next(),l=!!a.length;l&&u(i)&&(i.remove(),e.selection.setRangeToElem(a.elems[0])),t.preventDefault()}}}))}t.bindClickEvent=l,t.bindEventKeyboardEvent=s},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(26));(0,i["default"])(t,"__esModule",{value:!0}),t.formatCodeHtml=void 0;var a=n(2),u=a.__importDefault(n(38)),l=a.__importDefault(n(3)),s=n(6),c=a.__importDefault(n(402)),f=a.__importDefault(n(139)),d=a.__importDefault(n(33)),p=a.__importDefault(n(403));function h(e,t){return t?(t=r(t),t=n(t),t=s.replaceSpecialSymbol(t),t):t;function n(e){var t=e.match(/<pre[\s|\S]+?\/pre>/g);return null===t||(0,o["default"])(t).call(t,(function(t){e=e.replace(t,t.replace(/<\/code><code>/g,"\n").replace(/<br>/g,""))})),e}function r(e){var t,n=e.match(/<span\sclass="hljs[\s|\S]+?\/span>/gm);if(!n||!n.length)return e;for(var i=(0,o["default"])(t=s.deepClone(n)).call(t,(function(e){return e=e.replace(/<span\sclass="hljs[^>]+>/,""),e.replace(/<\/span>/,"")})),a=0;a<n.length;a++)e=e.replace(n[a],i[a]);return r(e)}}t.formatCodeHtml=h;var v=function(e){function t(t){var n=this,r=l["default"]('<div class="w-e-menu" data-title="代码"><i class="w-e-icon-terminal"></i></div>');return n=e.call(this,r,t)||this,p["default"](t),n}return a.__extends(t,e),t.prototype.insertLineCode=function(e){var t=this.editor,n=l["default"]("<code>"+e+"</code>");t.cmd["do"]("insertElem",n),t.selection.createRangeByElem(n,!1),t.selection.restoreSelection()},t.prototype.clickHandler=function(){var e=this.editor,t=e.selection.getSelectionText();this.isActive||(e.selection.isSelectionEmpty()?this.createPanel("",""):this.insertLineCode(t))},t.prototype.createPanel=function(e,t){var n=c["default"](this.editor,e,t),r=new d["default"](this,n);r.create()},t.prototype.tryChangeActive=function(){var e=this.editor;f["default"](e)?this.active():this.unActive()},t}(u["default"]);t["default"]=v},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(26));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),u=n(6),l=a.__importDefault(n(3)),s=a.__importDefault(n(139)),c=n(7);function f(e,t,n){var r,i=u.getRandom("input-iframe"),a=u.getRandom("select"),f=u.getRandom("btn-ok");function d(t,n){var r,i=s["default"](e);i&&p();var o=null===(r=e.selection.getSelectionStartElem())||void 0===r?void 0:r.elems[0].innerHTML;o&&e.cmd["do"]("insertHTML",c.EMPTY_P);var a=n.replace(/</g,"<").replace(/>/g,">");e.highlight&&(a=e.highlight.highlightAuto(a).value),e.cmd["do"]("insertHTML",'<pre><code class="'+t+'">'+a+"</code></pre>");var u=e.selection.getSelectionStartElem(),f=null===u||void 0===u?void 0:u.getNodeTop(e);0===(null===f||void 0===f?void 0:f.getNextSibling().elems.length)&&l["default"](c.EMPTY_P).insertAfter(f)}function p(){if(s["default"](e)){var t=e.selection.getSelectionStartElem(),n=null===t||void 0===t?void 0:t.getNodeTop(e);n&&(e.selection.createRangeByElem(n),e.selection.restoreSelection(),n)}}var h=function(t){return e.i18next.t(t)},v={width:500,height:0,tabs:[{title:h("menus.panelMenus.code.插入代码"),tpl:'<div>\n <select name="" id="'+a+'">\n '+(0,o["default"])(r=e.config.languageType).call(r,(function(e){return"<option "+(n==e?"selected":"")+' value ="'+e+'">'+e+"</option>"}))+'\n </select>\n <textarea id="'+i+'" type="text" class="wang-code-textarea" placeholder="" style="height: 160px">'+t.replace(/"/g,'"')+'</textarea>\n <div class="w-e-button-container">\n <button type="button" id="'+f+'" class="right">'+(s["default"](e)?h("修改"):h("插入"))+"</button>\n </div>\n </div>",events:[{selector:"#"+f,type:"click",fn:function(){var t=document.getElementById(i),n=l["default"]("#"+a),r=n.val(),o=t.value;if(o)return!s["default"](e)&&(d(r,o),!0)}}]}]};return v}t["default"]=f},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=o.__importDefault(n(404)),u=o.__importDefault(n(405));function l(e){a["default"](e),u["default"](e)}t["default"]=l},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0}),t.createShowHideFn=void 0;var o=n(2),a=o.__importDefault(n(3)),u=o.__importDefault(n(39));function l(e){var t;function n(n){var r="menus.panelMenus.code.",i=function(t,n){return void 0===n&&(n=r),e.i18next.t(n+t)},o=[{$elem:a["default"]("<span>"+i("删除代码")+"</span>"),onClick:function(e,t){return t.remove(),!0}}];t=new u["default"](e,n,o),t.create()}function r(){t&&(t.remove(),t=null)}return{showCodeTooltip:n,hideCodeTooltip:r}}function s(e){var t=l(e),n=t.showCodeTooltip,r=t.hideCodeTooltip;e.txt.eventHooks.codeClickEvents.push(n),e.txt.eventHooks.clickEvents.push(r),e.txt.eventHooks.toolbarClickEvents.push(r),e.txt.eventHooks.menuClickEvents.push(r),e.txt.eventHooks.textScrollEvents.push(r)}t.createShowHideFn=l,t["default"]=s},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=n(7),u=o.__importDefault(n(3));function l(e){var t=e.$textElem,n=e.selection,r=e.txt,i=r.eventHooks.keydownEvents;i.push((function(e){var r;if(40===e.keyCode){var i=n.getSelectionContainerElem(),o=null===(r=t.children())||void 0===r?void 0:r.last();if("XMP"===(null===i||void 0===i?void 0:i.elems[0].tagName)&&"PRE"===(null===o||void 0===o?void 0:o.elems[0].tagName)){var l=u["default"](a.EMPTY_P);t.append(l)}}})),i.push((function(r){e.selection.saveRange();var i=n.getSelectionContainerElem();if(i){var o=i.getNodeTop(e),l=null===o||void 0===o?void 0:o.prev(),s=null===o||void 0===o?void 0:o.getNextSibling();if(l.length&&"PRE"===(null===l||void 0===l?void 0:l.getNodeName())&&0===s.length&&0===n.getCursorPos()&&8===r.keyCode){var c=u["default"](a.EMPTY_P);t.append(c)}}}))}t["default"]=l},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=o.__importDefault(n(23)),u=o.__importDefault(n(3)),l=o.__importDefault(n(407)),s=n(6),c=n(7),f=function(e){function t(t){var n=this,r=u["default"]('<div class="w-e-menu" data-title="分割线"><i class="w-e-icon-split-line"></i></div>');return n=e.call(this,r,t)||this,l["default"](t),n}return o.__extends(t,e),t.prototype.clickHandler=function(){var e=this.editor,t=e.selection.getRange(),n=e.selection.getSelectionContainerElem();if(null===n||void 0===n?void 0:n.length){var r=u["default"](n.elems[0]),i=r.parentUntil("TABLE",n.elems[0]),o=r.children();"CODE"!==r.getNodeName()&&(i&&"TABLE"===u["default"](i.elems[0]).getNodeName()||o&&0!==o.length&&"IMG"===u["default"](o.elems[0]).getNodeName()&&!(null===t||void 0===t?void 0:t.collapsed)||this.createSplitLine())}},t.prototype.createSplitLine=function(){var e="<hr/>"+c.EMPTY_P;s.UA.isFirefox&&(e="<hr/><p></p>"),this.editor.cmd["do"]("insertHTML",e)},t.prototype.tryChangeActive=function(){},t}(a["default"]);t["default"]=f},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=o.__importDefault(n(408));function u(e){a["default"](e)}t["default"]=u},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=o.__importDefault(n(3)),u=o.__importDefault(n(39));function l(e){var t;function n(n){var r=[{$elem:a["default"]("<span>"+e.i18next.t("menus.panelMenus.删除")+"</span>"),onClick:function(e,t){return e.selection.createRangeByElem(t),e.selection.restoreSelection(),e.cmd["do"]("delete"),!0}}];t=new u["default"](e,n,r),t.create()}function r(){t&&(t.remove(),t=null)}return{showSplitLineTooltip:n,hideSplitLineTooltip:r}}function s(e){var t=l(e),n=t.showSplitLineTooltip,r=t.hideSplitLineTooltip;e.txt.eventHooks.splitLineEvents.push(n),e.txt.eventHooks.clickEvents.push(r),e.txt.eventHooks.keyupEvents.push(r),e.txt.eventHooks.toolbarClickEvents.push(r),e.txt.eventHooks.menuClickEvents.push(r),e.txt.eventHooks.textScrollEvents.push(r)}t["default"]=s},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),u=a.__importDefault(n(3)),l=a.__importDefault(n(23)),s=n(98),c=a.__importDefault(n(415)),f=a.__importDefault(n(140)),d=function(e){function t(t){var n=this,r=u["default"]('<div class="w-e-menu" data-title="待办事项">\n <i class="w-e-icon-checkbox-checked"></i>\n </div>');return n=e.call(this,r,t)||this,c["default"](t),n}return a.__extends(t,e),t.prototype.clickHandler=function(){var e=this.editor;s.isAllTodo(e)?(this.cancelTodo(),this.tryChangeActive()):this.setTodo()},t.prototype.tryChangeActive=function(){s.isAllTodo(this.editor)?this.active():this.unActive()},t.prototype.setTodo=function(){var e=this.editor,t=e.selection.getSelectionRangeTopNodes();(0,o["default"])(t).call(t,(function(t){var n,r=null===t||void 0===t?void 0:t.getNodeName();if("P"===r){var i=f["default"](t),o=i.getTodo(),a=null===(n=o.children())||void 0===n?void 0:n.getNode();o.insertAfter(t),e.selection.moveCursor(a),t.remove()}})),this.tryChangeActive()},t.prototype.cancelTodo=function(){var e=this.editor,t=e.selection.getSelectionRangeTopNodes();(0,o["default"])(t).call(t,(function(t){var n,r,i,o=null===(r=null===(n=t.childNodes())||void 0===n?void 0:n.childNodes())||void 0===r?void 0:r.clone(!0),a=u["default"]("<p></p>");a.append(o),a.insertAfter(t),null===(i=a.childNodes())||void 0===i||i.get(0).remove(),e.selection.moveCursor(a.getNode()),t.remove()}))},t}(l["default"]);t["default"]=d},function(e,t,n){e.exports=n(411)},function(e,t,n){var r=n(412);e.exports=r},function(e,t,n){var r=n(413),i=Array.prototype;e.exports=function(e){var t=e.every;return e===i||e instanceof Array&&t===i.every?r:t}},function(e,t,n){n(414);var r=n(15);e.exports=r("Array").every},function(e,t,n){"use strict";var r=n(5),i=n(32).every,o=n(67),a=n(22),u=o("every"),l=a("every");r({target:"Array",proto:!0,forced:!u||!l},{every:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),u=a.__importDefault(n(3)),l=n(98),s=a.__importDefault(n(140)),c=n(98),f=n(7);function d(e){function t(t){var n,r;if(l.isAllTodo(e)){t.preventDefault();var i=e.selection,a=i.getSelectionRangeTopNodes()[0],d=null===(n=a.childNodes())||void 0===n?void 0:n.get(0),p=null===(r=window.getSelection())||void 0===r?void 0:r.anchorNode,h=i.getRange();if(!(null===h||void 0===h?void 0:h.collapsed)){var v=null===h||void 0===h?void 0:h.commonAncestorContainer.childNodes,g=null===h||void 0===h?void 0:h.startContainer,m=null===h||void 0===h?void 0:h.endContainer,A=null===h||void 0===h?void 0:h.startOffset,y=null===h||void 0===h?void 0:h.endOffset,_=0,w=0,x=[];null===v||void 0===v||(0,o["default"])(v).call(v,(function(e,t){e.contains(g)&&(_=t),e.contains(m)&&(w=t)})),w-_>1&&(null===v||void 0===v||(0,o["default"])(v).call(v,(function(e,t){t<=_||t>=w||x.push(e)})),(0,o["default"])(x).call(x,(function(e){e.remove()}))),c.dealTextNode(g,A),c.dealTextNode(m,y,!1),e.selection.moveCursor(m,0)}if(""===a.text()){var b=u["default"](f.EMPTY_P);return b.insertAfter(a),i.moveCursor(b.getNode()),void a.remove()}var E=i.getCursorPos(),C=l.getCursorNextNode(null===d||void 0===d?void 0:d.getNode(),p,E),S=s["default"](u["default"](C)),k=S.getInputContainer(),M=k.parent().getNode(),T=S.getTodo(),D=k.getNode().nextSibling;if(""===(null===d||void 0===d?void 0:d.text())&&(null===d||void 0===d||d.append(u["default"]("<br>"))),T.insertAfter(a),D&&""!==(null===D||void 0===D?void 0:D.textContent))i.moveCursor(M);else{if("BR"!==(null===D||void 0===D?void 0:D.nodeName)){var I=u["default"]("<br>");I.insertAfter(k)}i.moveCursor(M,1)}}}function n(t){var n,r;if(l.isAllTodo(e)){var i,a=e.selection,s=a.getSelectionRangeTopNodes()[0],c=null===(n=s.childNodes())||void 0===n?void 0:n.getNode(),d=u["default"]("<p></p>"),p=d.getNode(),h=null===(r=window.getSelection())||void 0===r?void 0:r.anchorNode,v=a.getCursorPos(),g=h.previousSibling;if(""===s.text()){t.preventDefault();var m=u["default"](f.EMPTY_P);return m.insertAfter(s),s.remove(),void a.moveCursor(m.getNode(),0)}if("SPAN"===(null===g||void 0===g?void 0:g.nodeName)&&"INPUT"===g.childNodes[0].nodeName&&0===v)t.preventDefault(),null===c||void 0===c||(0,o["default"])(i=c.childNodes).call(i,(function(e,t){0!==t&&p.appendChild(e.cloneNode(!0))})),d.insertAfter(s),s.remove()}}function r(){var t=e.selection,n=t.getSelectionRangeTopNodes()[0];n&&c.isTodo(n)&&""===n.text()&&(u["default"](f.EMPTY_P).insertAfter(n),n.remove())}function i(e){e&&e.target instanceof HTMLInputElement&&"checkbox"===e.target.type&&(e.target.checked?e.target.setAttribute("checked","true"):e.target.removeAttribute("checked"))}e.txt.eventHooks.enterDownEvents.push(t),e.txt.eventHooks.deleteUpEvents.push(r),e.txt.eventHooks.deleteDownEvents.push(n),e.txt.eventHooks.clickEvents.push(i)}t["default"]=d},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0}),t.selectorValidator=void 0;var o=n(2),a=o.__importDefault(n(3)),u=n(6),l=n(7),s=o.__importDefault(n(130)),c={border:"1px solid #c9d8db",toolbarBgColor:"#FFF",toolbarBottomBorder:"1px solid #EEE"};function f(e){var t,n,r,i=e.toolbarSelector,o=a["default"](i),f=e.textSelector,d=e.config,p=d.height,h=e.i18next,v=a["default"]("<div></div>"),g=a["default"]("<div></div>"),m=null;null==f?(n=o.children(),o.append(v).append(g),v.css("background-color",c.toolbarBgColor).css("border",c.border).css("border-bottom",c.toolbarBottomBorder),g.css("border",c.border).css("border-top","none").css("height",p+"px")):(o.append(v),m=a["default"](f).children(),a["default"](f).append(g),n=g.children()),t=a["default"]("<div></div>"),t.attr("contenteditable","true").css("width","100%").css("height","100%");var A=e.config.placeholder;r=A!==s["default"].placeholder?a["default"]("<div>"+A+"</div>"):a["default"]("<div>"+h.t(A)+"</div>"),r.addClass("placeholder"),n&&n.length?(t.append(n),r.hide()):t.append(a["default"](l.EMPTY_P)),m&&m.length&&(t.append(m),r.hide()),g.append(t),g.append(r),v.addClass("w-e-toolbar").css("z-index",e.zIndex.get("toolbar")),g.addClass("w-e-text-container"),g.css("z-index",e.zIndex.get()),t.addClass("w-e-text");var y=u.getRandom("toolbar-elem");v.attr("id",y);var _=u.getRandom("text-elem");t.attr("id",_);var w=g.getBoundingClientRect().height,x=t.getBoundingClientRect().height;w!==x&&t.css("min-height",w+"px"),e.$toolbarElem=v,e.$textContainerElem=g,e.$textElem=t,e.toolbarElemId=y,e.textElemId=_}function d(e){var t="data-we-id",n=/^wangEditor-\d+$/,r=e.textSelector,i=e.toolbarSelector,o={bar:a["default"]("<div></div>"),text:a["default"]("<div></div>")};if(null==i)throw new Error("错误:初始化编辑器时候未传入任何参数,请查阅文档");if(o.bar=a["default"](i),!o.bar.elems.length)throw new Error("无效的节点选择器:"+i);if(n.test(o.bar.attr(t)))throw new Error("初始化节点已存在编辑器实例,无法重复创建编辑器");if(r){if(o.text=a["default"](r),!o.text.elems.length)throw new Error("无效的节点选择器:"+r);if(n.test(o.text.attr(t)))throw new Error("初始化节点已存在编辑器实例,无法重复创建编辑器")}o.bar.attr(t,e.id),o.text.attr(t,e.id),e.beforeDestroy((function(){o.bar.removeAttr(t),o.text.removeAttr(t)}))}t["default"]=f,t.selectorValidator=d},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=o.__importDefault(n(3)),u=n(7);function l(e,t){var n=e.$textElem,r=n.children();if(!r||!r.length)return n.append(a["default"](u.EMPTY_P)),void l(e);var i=r.last();if(t){var o=i.html().toLowerCase(),s=i.getNodeName();if("<br>"!==o&&"<br/>"!==o||"P"!==s)return n.append(a["default"](u.EMPTY_P)),void l(e)}e.selection.createRangeByElem(i,!1,!0),e.config.focus?e.selection.restoreSelection():e.selection.clearWindowSelectionRange()}t["default"]=l},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),u=a.__importDefault(n(3));function l(e){s(e),c(e),f(e)}function s(e){e.txt.eventHooks.changeEvents.push((function(){var t=e.config.onchange;if(t){var n=e.txt.html()||"";e.isFocus=!0,t(n)}e.txt.togglePlaceholder()}))}function c(e){function t(t){var n=t.target,r=u["default"](n),i=e.$textElem,o=e.$toolbarElem,a=i.isContain(r),l=o.isContain(r),s=o.elems[0]==t.target;if(a)e.isFocus||p(e),e.isFocus=!0;else{if(l&&!s||!e.isFocus)return;d(e),e.isFocus=!1}}e.isFocus=!1,document.activeElement===e.$textElem.elems[0]&&e.config.focus&&(p(e),e.isFocus=!0),u["default"](document).on("click",t),e.beforeDestroy((function(){u["default"](document).off("click",t)}))}function f(e){e.$textElem.on("compositionstart",(function(){e.isComposing=!0,e.txt.togglePlaceholder()})).on("compositionend",(function(){e.isComposing=!1,e.txt.togglePlaceholder()}))}function d(e){var t,n=e.config,r=n.onblur,i=e.txt.html()||"";(0,o["default"])(t=e.txt.eventHooks.onBlurEvents).call(t,(function(e){return e()})),r(i)}function p(e){var t=e.config,n=t.onfocus,r=e.txt.html()||"";n(r)}t["default"]=l},function(e,t,n){"use strict";var r=n(0),i=r(n(1));function o(e){var t=e.config,n=t.lang,r=t.languages;if(null==e.i18next)e.i18next={t:function(e){var t=e.split(".");return t[t.length-1]}};else try{e.i18next.init({ns:"wangEditor",lng:n,defaultNS:"wangEditor",resources:r})}catch(i){throw new Error("i18next:"+i)}}(0,i["default"])(t,"__esModule",{value:!0}),t["default"]=o},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(29));(0,i["default"])(t,"__esModule",{value:!0}),t.setUnFullScreen=t.setFullScreen=void 0;var a=n(2),u=a.__importDefault(n(3));n(421);var l="w-e-icon-fullscreen",s="w-e-icon-fullscreen_exit",c="w-e-full-screen-editor";t.setFullScreen=function(e){var t=u["default"](e.toolbarSelector),n=e.$textContainerElem,r=e.$toolbarElem,i=(0,o["default"])(r).call(r,"i."+l),a=e.config;i.removeClass(l),i.addClass(s),t.addClass(c),t.css("z-index",a.zIndexFullScreen);var f=r.getBoundingClientRect();n.css("height","calc(100% - "+f.height+"px)")},t.setUnFullScreen=function(e){var t=u["default"](e.toolbarSelector),n=e.$textContainerElem,r=e.$toolbarElem,i=(0,o["default"])(r).call(r,"i."+s),a=e.config;i.removeClass(s),i.addClass(l),t.removeClass(c),t.css("z-index","auto"),n.css("height",a.height+"px")};var f=function(e){if(!e.textSelector&&e.config.showFullScreen){var n=e.$toolbarElem,r=u["default"]('<div class="w-e-menu" data-title="全屏">\n <i class="'+l+'"></i>\n </div>');r.on("click",(function(n){var i,a=(0,o["default"])(i=u["default"](n.currentTarget)).call(i,"i");a.hasClass(l)?(r.attr("data-title","取消全屏"),t.setFullScreen(e)):(r.attr("data-title","全屏"),t.setUnFullScreen(e))})),n.append(r)}};t["default"]=f},function(e,t,n){var r=n(20),i=n(422);i=i.__esModule?i.default:i,"string"===typeof i&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){var r=n(21);t=r(!1),t.push([e.i,".w-e-full-screen-editor {\n position: fixed;\n width: 100%!important;\n height: 100%!important;\n left: 0;\n top: 0;\n}\n",""]),e.exports=t},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(29));(0,i["default"])(t,"__esModule",{value:!0});var a=function(e,t){var n,r=e.isEnable?e.$textElem:(0,o["default"])(n=e.$textContainerElem).call(n,".w-e-content-mantle"),i=(0,o["default"])(r).call(r,"[id='"+t+"']"),a=i.getOffsetData().top;r.scrollTop(a)};t["default"]=a},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=o.__importDefault(n(129)),u={menu:2,panel:2,toolbar:1,tooltip:1,textContainer:1},l=function(){function e(){this.tier=u,this.baseZIndex=a["default"].zIndex}return e.prototype.get=function(e){return e&&this.tier[e]?this.baseZIndex+this.tier[e]:this.baseZIndex},e.prototype.init=function(e){this.baseZIndex==a["default"].zIndex&&(this.baseZIndex=e.config.zIndex)},e}();t["default"]=l},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(70)),a=r(n(4));(0,i["default"])(t,"__esModule",{value:!0});var u=n(2),l=u.__importDefault(n(426)),s=n(6),c=n(7);function f(e,t){return(0,o["default"])(e).call(e,(function(e){var n=e.type,r=e.target,i=e.attributeName;return"attributes"!=n||"attributes"==n&&("contenteditable"==i||r!=t)}))}var d=function(e){function t(t){var n=e.call(this,(function(e,r){var i;if(e=f(e,r.target),(i=n.data).push.apply(i,e),t.isCompatibleMode)n.asyncSave();else if(!t.isComposing)return n.asyncSave()}))||this;return n.editor=t,n.data=[],n.asyncSave=c.EMPTY_FN,n}return u.__extends(t,e),t.prototype.save=function(){this.data.length&&(this.editor.history.save(this.data),this.data.length=0,this.emit())},t.prototype.emit=function(){var e;(0,a["default"])(e=this.editor.txt.eventHooks.changeEvents).call(e,(function(e){return e()}))},t.prototype.observe=function(){var t=this;e.prototype.observe.call(this,this.editor.$textElem.elems[0]);var n=this.editor.config.onchangeTimeout;this.asyncSave=s.debounce((function(){t.save()}),n),this.editor.isCompatibleMode||this.editor.$textElem.on("compositionend",(function(){t.asyncSave()}))},t}(l["default"]);t["default"]=d},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=function(){function e(e,t){var n=this;this.options={subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0},this.callback=function(t){e(t,n)},this.observer=new MutationObserver(this.callback),t&&(this.options=t)}return(0,i["default"])(e.prototype,"target",{get:function(){return this.node},enumerable:!1,configurable:!0}),e.prototype.observe=function(e){this.node instanceof Node||(this.node=e,this.connect())},e.prototype.connect=function(){if(this.node)return this.observer.observe(this.node,this.options),this;throw new Error("还未初始化绑定,请您先绑定有效的 Node 节点")},e.prototype.disconnect=function(){var e=this.observer.takeRecords();e.length&&this.callback(e),this.observer.disconnect()},e}();t["default"]=o},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=o.__importDefault(n(428)),u=o.__importDefault(n(435)),l=o.__importDefault(n(436)),s=function(){function e(e){this.editor=e,this.content=new a["default"](e),this.scroll=new u["default"](e),this.range=new l["default"](e)}return(0,i["default"])(e.prototype,"size",{get:function(){return this.scroll.size},enumerable:!1,configurable:!0}),e.prototype.observe=function(){this.content.observe(),this.scroll.observe(),!this.editor.isCompatibleMode&&this.range.observe()},e.prototype.save=function(e){e.length&&(this.content.save(e),this.scroll.save(),!this.editor.isCompatibleMode&&this.range.save())},e.prototype.revoke=function(){this.editor.change.disconnect();var e=this.content.revoke();e&&(this.scroll.revoke(),this.editor.isCompatibleMode||(this.range.revoke(),this.editor.$textElem.focus())),this.editor.change.connect(),e&&this.editor.change.emit()},e.prototype.restore=function(){this.editor.change.disconnect();var e=this.content.restore();e&&(this.scroll.restore(),this.editor.isCompatibleMode||(this.range.restore(),this.editor.$textElem.focus())),this.editor.change.connect(),e&&this.editor.change.emit()},e}();t["default"]=s},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=o.__importDefault(n(429)),u=o.__importDefault(n(433)),l=function(){function e(e){this.editor=e}return e.prototype.observe=function(){this.editor.isCompatibleMode?this.cache=new u["default"](this.editor):this.cache=new a["default"](this.editor),this.cache.observe()},e.prototype.save=function(e){this.editor.isCompatibleMode?this.cache.save():this.cache.compile(e)},e.prototype.revoke=function(){var e;return null===(e=this.cache)||void 0===e?void 0:e.revoke()},e.prototype.restore=function(){var e;return null===(e=this.cache)||void 0===e?void 0:e.restore()},e}();t["default"]=l},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=o.__importDefault(n(99)),u=o.__importDefault(n(431)),l=n(432),s=function(e){function t(t){var n=e.call(this,t.config.historyMaxSize)||this;return n.editor=t,n}return o.__extends(t,e),t.prototype.observe=function(){this.resetMaxSize(this.editor.config.historyMaxSize)},t.prototype.compile=function(e){return this.save(u["default"](e)),this},t.prototype.revoke=function(){return e.prototype.revoke.call(this,(function(e){l.revoke(e)}))},t.prototype.restore=function(){return e.prototype.restore.call(this,(function(e){l.restore(e)}))},t}(a["default"]);t["default"]=s},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0}),t.CeilStack=void 0;var o=function(){function e(e){void 0===e&&(e=0),this.data=[],this.max=0,this.reset=!1,e=Math.abs(e),e&&(this.max=e)}return e.prototype.resetMax=function(e){e=Math.abs(e),this.reset||isNaN(e)||(this.max=e,this.reset=!0)},(0,i["default"])(e.prototype,"size",{get:function(){return this.data.length},enumerable:!1,configurable:!0}),e.prototype.instack=function(e){return this.data.unshift(e),this.max&&this.size>this.max&&(this.data.length=this.max),this},e.prototype.outstack=function(){return this.data.shift()},e.prototype.clear=function(){return this.data.length=0,this},e}();t.CeilStack=o},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4)),a=r(n(27));(0,i["default"])(t,"__esModule",{value:!0}),t.compliePosition=t.complieNodes=t.compileValue=t.compileType=void 0;var u=n(6);function l(e){switch(e){case"childList":return"node";case"attributes":return"attr";default:return"text"}}function s(e){switch(e.type){case"attributes":return e.target.getAttribute(e.attributeName)||"";case"characterData":return e.target.textContent;default:return""}}function c(e){var t={};return e.addedNodes.length&&(t.add=u.toArray(e.addedNodes)),e.removedNodes.length&&(t.remove=u.toArray(e.removedNodes)),t}function f(e){var t;return t=e.previousSibling?{type:"before",target:e.previousSibling}:e.nextSibling?{type:"after",target:e.nextSibling}:{type:"parent",target:e.target},t}t.compileType=l,t.compileValue=s,t.complieNodes=c,t.compliePosition=f;var d=["UL","OL","H1","H2","H3","H4","H5","H6"];function p(e){var t=[],n=!1,r=[];return(0,o["default"])(e).call(e,(function(e,i){var o={type:l(e.type),target:e.target,attr:e.attributeName||"",value:s(e)||"",oldValue:e.oldValue||"",nodes:c(e),position:f(e)};if(t.push(o),u.UA.isFirefox){if(n&&e.addedNodes.length&&1==e.addedNodes[0].nodeType){var p=e.addedNodes[0],v={type:"node",target:p,attr:"",value:"",oldValue:"",nodes:{add:[n]},position:{type:"parent",target:p}};-1!=(0,a["default"])(d).call(d,p.nodeName)?(v.nodes.add=u.toArray(p.childNodes),t.push(v)):3==n.nodeType?(h(p,r)&&(v.nodes.add=u.toArray(p.childNodes)),t.push(v)):-1==(0,a["default"])(d).call(d,e.target.nodeName)&&h(p,r)&&(v.nodes.add=u.toArray(p.childNodes),t.push(v))}"node"==o.type&&1==e.removedNodes.length?(n=e.removedNodes[0],r.push(n)):(n=!1,r.length=0)}})),t}function h(e,t){for(var n=0,r=t.length-1;r>0;r--){if(!e.contains(t[r]))break;n++}return n}t["default"]=p},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4)),a=r(n(94));function u(e,t){var n=e.position.target;switch(e.position.type){case"before":n.nextSibling?(n=n.nextSibling,(0,o["default"])(t).call(t,(function(t){e.target.insertBefore(t,n)}))):(0,o["default"])(t).call(t,(function(t){e.target.appendChild(t)}));break;case"after":(0,o["default"])(t).call(t,(function(t){e.target.insertBefore(t,n)}));break;default:(0,o["default"])(t).call(t,(function(e){n.appendChild(e)}));break}}function l(e){for(var t=0,n=(0,a["default"])(e.nodes);t<n.length;t++){var r=n[t],i=r[0],l=r[1];switch(i){case"add":(0,o["default"])(l).call(l,(function(t){e.target.removeChild(t)}));break;default:u(e,l);break}}}function s(e){var t=e.target;null==e.oldValue?t.removeAttribute(e.attr):t.setAttribute(e.attr,e.oldValue)}function c(e){e.target.textContent=e.oldValue}(0,i["default"])(t,"__esModule",{value:!0}),t.restore=t.revoke=void 0;var f={node:l,text:c,attr:s};function d(e){for(var t=e.length-1;t>-1;t--){var n=e[t];f[n.type](n)}}function p(e){for(var t=0,n=(0,a["default"])(e.nodes);t<n.length;t++){var r=n[t],i=r[0],l=r[1];switch(i){case"add":u(e,l);break;default:(0,o["default"])(l).call(l,(function(e){e.parentNode.removeChild(e)}));break}}}function h(e){e.target.textContent=e.value}function v(e){e.target.setAttribute(e.attr,e.value)}t.revoke=d;var g={node:p,text:h,attr:v};function m(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];g[r.type](r)}}t.restore=m},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(434),a=function(){function e(e){this.editor=e,this.data=new o.TailChain}return e.prototype.observe=function(){this.data.resetMax(this.editor.config.historyMaxSize),this.data.insertLast(this.editor.$textElem.html())},e.prototype.save=function(){return this.data.insertLast(this.editor.$textElem.html()),this},e.prototype.revoke=function(){var e=this.data.prev();return!!e&&(this.editor.$textElem.html(e),!0)},e.prototype.restore=function(){var e=this.data.next();return!!e&&(this.editor.$textElem.html(e),!0)},e}();t["default"]=a},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(91));(0,i["default"])(t,"__esModule",{value:!0}),t.TailChain=void 0;var a=function(){function e(){this.data=[],this.max=0,this.point=0,this.isRe=!1}return e.prototype.resetMax=function(e){e=Math.abs(e),e&&(this.max=e)},(0,i["default"])(e.prototype,"size",{get:function(){return this.data.length},enumerable:!1,configurable:!0}),e.prototype.insertLast=function(e){var t;this.isRe&&((0,o["default"])(t=this.data).call(t,this.point+1),this.isRe=!1);this.data.push(e);while(this.max&&this.size>this.max)this.data.shift();return this.point=this.size-1,this},e.prototype.current=function(){return this.data[this.point]},e.prototype.prev=function(){if(!this.isRe&&(this.isRe=!0),this.point--,!(this.point<0))return this.current();this.point=0},e.prototype.next=function(){if(!this.isRe&&(this.isRe=!0),this.point++,!(this.point>=this.size))return this.current();this.point=this.size-1},e}();t.TailChain=a},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=o.__importDefault(n(99)),u=function(e){function t(t){var n=e.call(this,t.config.historyMaxSize)||this;return n.editor=t,n.last=0,n.target=t.$textElem.elems[0],n}return o.__extends(t,e),t.prototype.observe=function(){var e=this;this.target=this.editor.$textElem.elems[0],this.editor.$textElem.on("scroll",(function(){e.last=e.target.scrollTop})),this.resetMaxSize(this.editor.config.historyMaxSize)},t.prototype.save=function(){return e.prototype.save.call(this,[this.last,this.target.scrollTop]),this},t.prototype.revoke=function(){var t=this;return e.prototype.revoke.call(this,(function(e){t.target.scrollTop=e[0]}))},t.prototype.restore=function(){var t=this;return e.prototype.restore.call(this,(function(e){t.target.scrollTop=e[1]}))},t}(a["default"]);t["default"]=u},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=n(2),a=o.__importDefault(n(99)),u=o.__importDefault(n(3)),l=n(6);function s(e){return{start:[e.startContainer,e.startOffset],end:[e.endContainer,e.endOffset],root:e.commonAncestorContainer,collapsed:e.collapsed}}var c=function(e){function t(t){var n=e.call(this,t.config.historyMaxSize)||this;return n.editor=t,n.lastRange=s(document.createRange()),n.root=t.$textElem.elems[0],n.updateLastRange=l.debounce((function(){n.lastRange=s(n.rangeHandle)}),t.config.onchangeTimeout),n}return o.__extends(t,e),(0,i["default"])(t.prototype,"rangeHandle",{get:function(){var e=document.getSelection();return e&&e.rangeCount?e.getRangeAt(0):document.createRange()},enumerable:!1,configurable:!0}),t.prototype.observe=function(){var e=this;function t(){var t=e.rangeHandle;(e.root===t.commonAncestorContainer||e.root.contains(t.commonAncestorContainer))&&(e.editor.isComposing||e.updateLastRange())}function n(t){"Backspace"!=t.key&&"Delete"!=t.key||e.updateLastRange()}this.root=this.editor.$textElem.elems[0],this.resetMaxSize(this.editor.config.historyMaxSize),u["default"](document).on("selectionchange",t),this.editor.beforeDestroy((function(){u["default"](document).off("selectionchange",t)})),e.editor.$textElem.on("keydown",n)},t.prototype.save=function(){var t=s(this.rangeHandle);return e.prototype.save.call(this,[this.lastRange,t]),this.lastRange=t,this},t.prototype.set=function(e){try{if(e){var t=this.rangeHandle;return t.setStart.apply(t,e.start),t.setEnd.apply(t,e.end),this.editor.menus.changeActive(),!0}}catch(n){return!1}return!1},t.prototype.revoke=function(){var t=this;return e.prototype.revoke.call(this,(function(e){t.set(e[0])}))},t.prototype.restore=function(){var t=this;return e.prototype.restore.call(this,(function(e){t.set(e[1])}))},t}(a["default"]);t["default"]=c},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(29));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),u=a.__importDefault(n(3));function l(e){var t,n,r=!1;function i(){if(!r){e.$textElem.hide();var i=e.zIndex.get("textContainer"),o=e.txt.html();t=u["default"]('<div class="w-e-content-mantle" style="z-index:'+i+'">\n <div class="w-e-content-preview w-e-text">'+o+"</div>\n </div>"),e.$textContainerElem.append(t);var a=e.zIndex.get("menu");n=u["default"]('<div class="w-e-menue-mantle" style="z-index:'+a+'"></div>'),e.$toolbarElem.append(n),r=!0,e.isEnable=!1}}function a(){r&&(t.remove(),n.remove(),e.$textElem.show(),r=!1,e.isEnable=!0)}return e.txt.eventHooks.changeEvents.push((function(){r&&(0,o["default"])(t).call(t,".w-e-content-preview").html(e.$textElem.html())})),{disable:i,enable:a}}n(438),t["default"]=l},function(e,t,n){var r=n(20),i=n(439);i=i.__esModule?i.default:i,"string"===typeof i&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){var r=n(21);t=r(!1),t.push([e.i,".w-e-content-mantle {\n width: 100%;\n height: 100%;\n overflow-y: auto;\n}\n.w-e-content-mantle .w-e-content-preview {\n width: 100%;\n min-height: 100%;\n padding: 0 10px;\n line-height: 1.5;\n}\n.w-e-content-mantle .w-e-content-preview img {\n cursor: default;\n}\n.w-e-content-mantle .w-e-content-preview img:hover {\n box-shadow: none;\n}\n.w-e-menue-mantle {\n position: absolute;\n height: 100%;\n width: 100%;\n top: 0;\n left: 0;\n}\n",""]),e.exports=t},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0});var o=function(){function e(e){var t=this;this.editor=e;var n=function(){var n=document.activeElement;n===e.$textElem.elems[0]&&t.emit()};window.document.addEventListener("selectionchange",n),this.editor.beforeDestroy((function(){window.document.removeEventListener("selectionchange",n)}))}return e.prototype.emit=function(){var e,t=this.editor.config.onSelectionChange;if(t){var n=this.editor.selection;n.saveRange(),n.isSelectionEmpty()||t({text:n.getSelectionText(),html:null===(e=n.getSelectionContainerElem())||void 0===e?void 0:e.elems[0].innerHTML,selection:n})}},e}();t["default"]=o},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(128)),a=r(n(94)),u=r(n(4));(0,i["default"])(t,"__esModule",{value:!0}),t.registerPlugin=void 0;var l=n(2),s=l.__importDefault(n(87)),c=n(6);function f(e,t,n){if(!e)throw new TypeError("name is not define");if(!t)throw new TypeError("options is not define");if(!t.intention)throw new TypeError("options.intention is not define");if(t.intention&&"function"!==typeof t.intention)throw new TypeError("options.intention is not function");n[e]&&console.warn("plugin "+e+" 已存在,已覆盖。"),n[e]=t}function d(e){var t=(0,o["default"])({},c.deepClone(s["default"].globalPluginsFunctionList),c.deepClone(e.pluginsFunctionList)),n=(0,a["default"])(t);(0,u["default"])(n).call(n,(function(t){var n=t[0],r=t[1];console.info("plugin "+n+" initializing");var i=r.intention,o=r.config;i(e,o),console.info("plugin "+n+" initialization complete")}))}t.registerPlugin=f,t["default"]=d},function(e,t,n){"use strict";var r=n(0),i=r(n(1));(0,i["default"])(t,"__esModule",{value:!0})}])["default"]}))},7037:function(e,t,n){function r(t){return e.exports=r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports["default"]=e.exports,r(t)}n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0"),e.exports=r,e.exports.__esModule=!0,e.exports["default"]=e.exports},"87a1":function(e,t,n){"use strict";var r=n("aa74"),i=n("22b4"),o=(n("1be7"),n("f95e")),a=n("5e81"),u=n("ee29");Object(i["a"])([o["a"],a["a"]]);Object(i["a"])(u["a"]),r["t"]({type:"series.wordCloud",visualStyleAccessPath:"textStyle",visualStyleMapper:function(e){return{fill:e.get("color")}},visualDrawType:"fill",optionUpdated:function(){var e=this.option;e.gridSize=Math.max(Math.floor(e.gridSize),4)},getInitialData:function(e,t){var n=r["A"].createDimensions(e.data,{coordDimensions:["value"]}),i=new r["e"](n,this);return i.initData(e.data),i},defaultOption:{maskImage:null,shape:"circle",keepAspect:!1,left:"center",top:"center",width:"70%",height:"80%",sizeRange:[12,60],rotationRange:[-90,90],rotationStep:45,gridSize:8,drawOutOfBound:!1,shrinkToFit:!1,textStyle:{fontWeight:"normal"}}}),r["q"]({type:"wordCloud",render:function(e,t,n){var i=this.group;i.removeAll();var o=e.getData(),a=e.get("gridSize");e.layoutInstance.ondraw=function(t,n,u,l){var s=o.getItemModel(u),c=s.getModel("textStyle"),f=new r["z"].Text({style:r["A"].createTextStyle(c),scaleX:1/l.info.mu,scaleY:1/l.info.mu,x:(l.gx+l.info.gw/2)*a,y:(l.gy+l.info.gh/2)*a,rotation:l.rot});f.setStyle({x:l.info.fillTextOffsetX,y:l.info.fillTextOffsetY+.5*n,text:t,verticalAlign:"middle",fill:o.getItemVisual(u,"style").fill,fontSize:n}),i.add(f),o.setItemGraphicEl(u,f),f.ensureState("emphasis").style=r["A"].createTextStyle(s.getModel(["emphasis","textStyle"]),{state:"emphasis"}),f.ensureState("blur").style=r["A"].createTextStyle(s.getModel(["blur","textStyle"]),{state:"blur"}),r["A"].enableHoverEmphasis(f,s.get(["emphasis","focus"]),s.get(["emphasis","blurScope"])),f.stateTransition={duration:e.get("animation")?e.get(["stateAnimation","duration"]):0,easing:e.get(["stateAnimation","easing"])},f.__highDownDispatcher=!0},this._model=e},remove:function(){this.group.removeAll(),this._model.layoutInstance.dispose()},dispose:function(){this._model.layoutInstance.dispose()}}),
- /*!
- * wordcloud2.js
- * http://timdream.org/wordcloud2.js/
- *
- * Copyright 2011 - 2019 Tim Guan-tin Chien and contributors.
- * Released under the MIT license
- */
- window.setImmediate||(window.setImmediate=function(){return window.msSetImmediate||window.webkitSetImmediate||window.mozSetImmediate||window.oSetImmediate||function(){if(!window.postMessage||!window.addEventListener)return null;var e=[void 0],t="zero-timeout-message",n=function(n){var r=e.length;return e.push(n),window.postMessage(t+r.toString(36),"*"),r};return window.addEventListener("message",(function(n){if("string"===typeof n.data&&n.data.substr(0,t.length)===t){n.stopImmediatePropagation();var r=parseInt(n.data.substr(t.length),36);e[r]&&(e[r](),e[r]=void 0)}}),!0),window.clearImmediate=function(t){e[t]&&(e[t]=void 0)},n}()||function(e){window.setTimeout(e,0)}}()),window.clearImmediate||(window.clearImmediate=function(){return window.msClearImmediate||window.webkitClearImmediate||window.mozClearImmediate||window.oClearImmediate||function(e){window.clearTimeout(e)}}());var l=function(){var e=document.createElement("canvas");if(!e||!e.getContext)return!1;var t=e.getContext("2d");return!!t&&(!!t.getImageData&&(!!t.fillText&&(!!Array.prototype.some&&!!Array.prototype.push)))}(),s=function(){if(l){var e,t,n=document.createElement("canvas").getContext("2d"),r=20;while(r){if(n.font=r.toString(10)+"px sans-serif",n.measureText("W").width===e&&n.measureText("m").width===t)return r+1;e=n.measureText("W").width,t=n.measureText("m").width,r--}return 0}}(),c=function(e){if(Array.isArray(e)){var t=e.slice();return t.splice(0,2),t}return[]},f=function(e){for(var t,n,r=e.length;r;)t=Math.floor(Math.random()*r),n=e[--r],e[r]=e[t],e[t]=n;return e},d={},p=function(e,t){if(l){var n=Math.floor(Math.random()*Date.now());Array.isArray(e)||(e=[e]),e.forEach((function(t,n){if("string"===typeof t){if(e[n]=document.getElementById(t),!e[n])throw new Error("The element id specified is not found.")}else if(!t.tagName&&!t.appendChild)throw new Error("You must pass valid HTML elements, or ID of the element.")}));var r={list:[],fontFamily:'"Trebuchet MS", "Heiti TC", "微軟正黑體", "Arial Unicode MS", "Droid Fallback Sans", sans-serif',fontWeight:"normal",color:"random-dark",minSize:0,weightFactor:1,clearCanvas:!0,backgroundColor:"#fff",gridSize:8,drawOutOfBound:!1,shrinkToFit:!1,origin:null,drawMask:!1,maskColor:"rgba(255,0,0,0.3)",maskGapWidth:.3,layoutAnimation:!0,wait:0,abortThreshold:0,abort:function(){},minRotation:-Math.PI/2,maxRotation:Math.PI/2,rotationStep:.1,shuffle:!0,rotateRatio:.1,shape:"circle",ellipticity:.65,classes:null,hover:null,click:null};if(t)for(var i in t)i in r&&(r[i]=t[i]);if("function"!==typeof r.weightFactor){var o=r.weightFactor;r.weightFactor=function(e){return e*o}}if("function"!==typeof r.shape)switch(r.shape){case"circle":default:r.shape="circle";break;case"cardioid":r.shape=function(e){return 1-Math.sin(e)};break;case"diamond":r.shape=function(e){var t=e%(2*Math.PI/4);return 1/(Math.cos(t)+Math.sin(t))};break;case"square":r.shape=function(e){return Math.min(1/Math.abs(Math.cos(e)),1/Math.abs(Math.sin(e)))};break;case"triangle-forward":r.shape=function(e){var t=e%(2*Math.PI/3);return 1/(Math.cos(t)+Math.sqrt(3)*Math.sin(t))};break;case"triangle":case"triangle-upright":r.shape=function(e){var t=(e+3*Math.PI/2)%(2*Math.PI/3);return 1/(Math.cos(t)+Math.sqrt(3)*Math.sin(t))};break;case"pentagon":r.shape=function(e){var t=(e+.955)%(2*Math.PI/5);return 1/(Math.cos(t)+.726543*Math.sin(t))};break;case"star":r.shape=function(e){var t=(e+.955)%(2*Math.PI/10);return(e+.955)%(2*Math.PI/5)-2*Math.PI/10>=0?1/(Math.cos(2*Math.PI/10-t)+3.07768*Math.sin(2*Math.PI/10-t)):1/(Math.cos(t)+3.07768*Math.sin(t))};break}r.gridSize=Math.max(Math.floor(r.gridSize),4);var a,u,p,h,v,g,m,A,y=r.gridSize,_=y-r.maskGapWidth,w=Math.abs(r.maxRotation-r.minRotation),x=Math.min(r.maxRotation,r.minRotation),b=r.rotationStep;switch(r.color){case"random-dark":m=function(){return Q(10,50)};break;case"random-light":m=function(){return Q(50,90)};break;default:"function"===typeof r.color&&(m=r.color);break}"function"===typeof r.fontWeight&&(A=r.fontWeight);var E=null;"function"===typeof r.classes&&(E=r.classes);var C,S=!1,k=[],M=function(e){var t,n,r=e.currentTarget,i=r.getBoundingClientRect();e.touches?(t=e.touches[0].clientX,n=e.touches[0].clientY):(t=e.clientX,n=e.clientY);var o=t-i.left,a=n-i.top,u=Math.floor(o*(r.width/i.width||1)/y),l=Math.floor(a*(r.height/i.height||1)/y);return k[u]?k[u][l]:null},T=function(e){var t=M(e);C!==t&&(C=t,t?r.hover(t.item,t.dimension,e):r.hover(void 0,void 0,e))},D=function(e){var t=M(e);t&&(r.click(t.item,t.dimension,e),e.preventDefault())},I=[],R=function(e){if(I[e])return I[e];var t=8*e,n=t,i=[];0===e&&i.push([h[0],h[1],0]);while(n--){var o=1;"circle"!==r.shape&&(o=r.shape(n/t*2*Math.PI)),i.push([h[0]+e*o*Math.cos(-n/t*2*Math.PI),h[1]+e*o*Math.sin(-n/t*2*Math.PI)*r.ellipticity,n/t*2*Math.PI])}return I[e]=i,i},N=function(){return r.abortThreshold>0&&(new Date).getTime()-g>r.abortThreshold},B=function(){return 0===r.rotateRatio||Math.random()>r.rotateRatio?0:0===w?x:x+Math.round(Math.random()*w/b)*b},P=function(e,t,n,i){var o=!1,a=r.weightFactor(t);if(a<=r.minSize)return!1;var u,l=1;a<s&&(l=function(){var e=2;while(e*a<s)e+=2;return e}()),u=A?A(e,t,a,i):r.fontWeight;var c=document.createElement("canvas"),f=c.getContext("2d",{willReadFrequently:!0});f.font=u+" "+(a*l).toString(10)+"px "+r.fontFamily;var d=f.measureText(e).width/l,p=Math.max(a*l,f.measureText("m").width,f.measureText("W").width)/l,h=d+2*p,v=3*p,g=Math.ceil(h/y),m=Math.ceil(v/y);h=g*y,v=m*y;var _=-d/2,w=.4*-p,x=Math.ceil((h*Math.abs(Math.sin(n))+v*Math.abs(Math.cos(n)))/y),b=Math.ceil((h*Math.abs(Math.cos(n))+v*Math.abs(Math.sin(n)))/y),E=b*y,C=x*y;c.setAttribute("width",E),c.setAttribute("height",C),o&&(document.body.appendChild(c),f.save()),f.scale(1/l,1/l),f.translate(E*l/2,C*l/2),f.rotate(-n),f.font=u+" "+(a*l).toString(10)+"px "+r.fontFamily,f.fillStyle="#000",f.textBaseline="middle",f.fillText(e,_*l,(w+.5*a)*l);var S=f.getImageData(0,0,E,C).data;if(N())return!1;o&&(f.strokeRect(_*l,w,d*l,p*l),f.restore());var k,M,T,D=[],I=b,R=[x/2,b/2,x/2,b/2];while(I--){k=x;while(k--){T=y;e:while(T--){M=y;while(M--)if(S[4*((k*y+T)*E+(I*y+M))+3]){D.push([I,k]),I<R[3]&&(R[3]=I),I>R[1]&&(R[1]=I),k<R[0]&&(R[0]=k),k>R[2]&&(R[2]=k),o&&(f.fillStyle="rgba(255, 0, 0, 0.5)",f.fillRect(I*y,k*y,y-.5,y-.5));break e}}o&&(f.fillStyle="rgba(0, 0, 255, 0.5)",f.fillRect(I*y,k*y,y-.5,y-.5))}}return o&&(f.fillStyle="rgba(0, 255, 0, 0.5)",f.fillRect(R[3]*y,R[0]*y,(R[1]-R[3]+1)*y,(R[2]-R[0]+1)*y)),{mu:l,occupied:D,bounds:R,gw:b,gh:x,fillTextOffsetX:_,fillTextOffsetY:w,fillTextWidth:d,fillTextHeight:p,fontSize:a}},F=function(e,t,n,i,o){var l=o.length;while(l--){var s=e+o[l][0],c=t+o[l][1];if(s>=u||c>=p||s<0||c<0){if(!r.drawOutOfBound)return!1}else if(!a[s][c])return!1}return!0},L=function(t,n,i,o,a,u,l,s,c,f){var d,p,h,v=i.fontSize;d=m?m(o,a,v,u,l,f):r.color,p=A?A(o,a,v,f):r.fontWeight,h=E?E(o,a,v,f):r.classes,e.forEach((function(e){if(e.getContext){var a=e.getContext("2d"),u=i.mu;a.save(),a.scale(1/u,1/u),a.font=p+" "+(v*u).toString(10)+"px "+r.fontFamily,a.fillStyle=d,a.translate((t+i.gw/2)*y*u,(n+i.gh/2)*y*u),0!==s&&a.rotate(-s),a.textBaseline="middle",a.fillText(o,i.fillTextOffsetX*u,(i.fillTextOffsetY+.5*v)*u),a.restore()}else{var l=document.createElement("span"),f="";f="rotate("+-s/Math.PI*180+"deg) ",1!==i.mu&&(f+="translateX(-"+i.fillTextWidth/4+"px) scale("+1/i.mu+")");var g={position:"absolute",display:"block",font:p+" "+v*i.mu+"px "+r.fontFamily,left:(t+i.gw/2)*y+i.fillTextOffsetX+"px",top:(n+i.gh/2)*y+i.fillTextOffsetY+"px",width:i.fillTextWidth+"px",height:i.fillTextHeight+"px",lineHeight:v+"px",whiteSpace:"nowrap",transform:f,webkitTransform:f,msTransform:f,transformOrigin:"50% 40%",webkitTransformOrigin:"50% 40%",msTransformOrigin:"50% 40%"};for(var m in d&&(g.color=d),l.textContent=o,g)l.style[m]=g[m];if(c)for(var A in c)l.setAttribute(A,c[A]);h&&(l.className+=h),e.appendChild(l)}}))},O=function(t,n,r,i,o){if(!(t>=u||n>=p||t<0||n<0)){if(a[t][n]=!1,r){var l=e[0].getContext("2d");l.fillRect(t*y,n*y,_,_)}S&&(k[t][n]={item:o,dimension:i})}},H=function(t,n,i,o,a,l){var s,c,f=a.occupied,d=r.drawMask;if(d&&(s=e[0].getContext("2d"),s.save(),s.fillStyle=r.maskColor),S){var h=a.bounds;c={x:(t+h[3])*y,y:(n+h[0])*y,w:(h[1]-h[3]+1)*y,h:(h[2]-h[0]+1)*y}}var v=f.length;while(v--){var g=t+f[v][0],m=n+f[v][1];g>=u||m>=p||g<0||m<0||O(g,m,d,c,l)}d&&s.restore()},j=function e(t,n){if(n>20)return null;var i,o,a;Array.isArray(t)?(i=t[0],o=t[1]):(i=t.word,o=t.weight,a=t.attributes);var l=B(),s=c(t),d=P(i,o,l,s);if(!d)return!1;if(N())return!1;if(!r.drawOutOfBound&&!r.shrinkToFit){var h=d.bounds;if(h[1]-h[3]+1>u||h[2]-h[0]+1>p)return!1}var g=v+1,m=function(e){var n=Math.floor(e[0]-d.gw/2),r=Math.floor(e[1]-d.gh/2),u=d.gw,c=d.gh;return!!F(n,r,u,c,d.occupied)&&(L(n,r,d,i,o,v-g,e[2],l,a,s),H(n,r,u,c,d,t),{gx:n,gy:r,rot:l,info:d})};while(g--){var A=R(v-g);r.shuffle&&(A=[].concat(A),f(A));for(var y=0;y<A.length;y++){var _=m(A[y]);if(_)return _}}return r.shrinkToFit?(Array.isArray(t)?t[1]=3*t[1]/4:t.weight=3*t.weight/4,e(t,n+1)):null},U=function(t,n,r){if(n)return!e.some((function(e){var n=new CustomEvent(t,{detail:r||{}});return!e.dispatchEvent(n)}),this);e.forEach((function(e){var n=new CustomEvent(t,{detail:r||{}});e.dispatchEvent(n)}),this)},z=function(){var t=e[0];if(t.getContext)u=Math.ceil(t.width/y),p=Math.ceil(t.height/y);else{var i=t.getBoundingClientRect();u=Math.ceil(i.width/y),p=Math.ceil(i.height/y)}if(U("wordcloudstart",!0)){var o,l,s,c,f;if(h=r.origin?[r.origin[0]/y,r.origin[1]/y]:[u/2,p/2],v=Math.floor(Math.sqrt(u*u+p*p)),a=[],!t.getContext||r.clearCanvas){e.forEach((function(e){if(e.getContext){var t=e.getContext("2d");t.fillStyle=r.backgroundColor,t.clearRect(0,0,u*(y+1),p*(y+1)),t.fillRect(0,0,u*(y+1),p*(y+1))}else e.textContent="",e.style.backgroundColor=r.backgroundColor,e.style.position="relative"})),o=u;while(o--){a[o]=[],l=p;while(l--)a[o][l]=!0}}else{var m=document.createElement("canvas").getContext("2d");m.fillStyle=r.backgroundColor,m.fillRect(0,0,1,1);var A,_,w=m.getImageData(0,0,1,1).data,x=t.getContext("2d").getImageData(0,0,u*y,p*y).data;o=u;while(o--){a[o]=[],l=p;while(l--){_=y;e:while(_--){A=y;while(A--){s=4;while(s--)if(x[4*((l*y+_)*u*y+(o*y+A))+s]!==w[s]){a[o][l]=!1;break e}}}!1!==a[o][l]&&(a[o][l]=!0)}}x=m=w=void 0}if(r.hover||r.click){S=!0,o=u+1;while(o--)k[o]=[];r.hover&&t.addEventListener("mousemove",T),r.click&&(t.addEventListener("click",D),t.addEventListener("touchstart",D),t.addEventListener("touchend",(function(e){e.preventDefault()})),t.style.webkitTapHighlightColor="rgba(0, 0, 0, 0)"),t.addEventListener("wordcloudstart",(function e(){t.removeEventListener("wordcloudstart",e),t.removeEventListener("mousemove",T),t.removeEventListener("click",D),C=void 0}))}s=0;var b=!0;r.layoutAnimation?0!==r.wait?(c=window.setTimeout,f=window.clearTimeout):(c=window.setImmediate,f=window.clearImmediate):(c=function(e){e()},f=function(){b=!1});var E=function(t,n){e.forEach((function(e){e.addEventListener(t,n)}),this)},M=function(t,n){e.forEach((function(e){e.removeEventListener(t,n)}),this)},I=function e(){M("wordcloudstart",e),f(d[n])};E("wordcloudstart",I),d[n]=(r.layoutAnimation?c:setTimeout)((function e(){if(b){if(s>=r.list.length)return f(d[n]),U("wordcloudstop",!1),M("wordcloudstart",I),void delete d[n];g=(new Date).getTime();var t=j(r.list[s],0),i=!U("wordclouddrawn",!0,{item:r.list[s],drawn:t});if(N()||i)return f(d[n]),r.abort(),U("wordcloudabort",!1),U("wordcloudstop",!1),void M("wordcloudstart",I);s++,d[n]=c(e,r.wait)}}),r.wait)}};z()}function Q(e,t){return"hsl("+(360*Math.random()).toFixed()+","+(30*Math.random()+70).toFixed()+"%,"+(Math.random()*(t-e)+e).toFixed()+"%)"}};p.isSupported=l,p.minFontSize=s;var h=p;if(!h.isSupported)throw new Error("Sorry your browser not support wordCloud");function v(e){for(var t=e.getContext("2d"),n=t.getImageData(0,0,e.width,e.height),r=t.createImageData(n),i=0,o=0,a=0;a<n.data.length;a+=4){var u=n.data[a+3];if(u>128){var l=n.data[a]+n.data[a+1]+n.data[a+2];i+=l,++o}}var s=i/o;for(a=0;a<n.data.length;a+=4){l=n.data[a]+n.data[a+1]+n.data[a+2],u=n.data[a+3];u<128||l>s?(r.data[a]=0,r.data[a+1]=0,r.data[a+2]=0,r.data[a+3]=0):(r.data[a]=255,r.data[a+1]=255,r.data[a+2]=255,r.data[a+3]=255)}t.putImageData(r,0,0)}function g(e,t){var n=e.width,r=e.height;n>r*t?(e.x+=(n-r*t)/2,e.width=r*t):(e.y+=(r-n/t)/2,e.height=n/t)}r["J"]((function(e,t){e.eachSeriesByType("wordCloud",(function(n){var i=r["A"].getLayoutRect(n.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),o=n.get("keepAspect"),a=n.get("maskImage"),u=a?a.width/a.height:1;o&&g(i,u);var l=n.getData(),s=document.createElement("canvas");s.width=i.width,s.height=i.height;var c=s.getContext("2d");if(a)try{c.drawImage(a,0,0,s.width,s.height),v(s)}catch(_){console.error("Invalid mask image"),console.error(_.toString())}var f=n.get("sizeRange"),d=n.get("rotationRange"),p=l.getDataExtent("value"),m=Math.PI/180,A=n.get("gridSize");function y(e){var t=e.detail.item;e.detail.drawn&&n.layoutInstance.ondraw&&(e.detail.drawn.gx+=i.x/A,e.detail.drawn.gy+=i.y/A,n.layoutInstance.ondraw(t[0],t[1],t[2],e.detail.drawn))}h(s,{list:l.mapArray("value",(function(e,t){var n=l.getItemModel(t);return[l.getName(t),n.get("textStyle.fontSize",!0)||r["E"].linearMap(e,p,f),t]})).sort((function(e,t){return t[1]-e[1]})),fontFamily:n.get("textStyle.fontFamily")||n.get("emphasis.textStyle.fontFamily")||e.get("textStyle.fontFamily"),fontWeight:n.get("textStyle.fontWeight")||n.get("emphasis.textStyle.fontWeight")||e.get("textStyle.fontWeight"),gridSize:A,ellipticity:i.height/i.width,minRotation:d[0]*m,maxRotation:d[1]*m,clearCanvas:!a,rotateRatio:1,rotationStep:n.get("rotationStep")*m,drawOutOfBound:n.get("drawOutOfBound"),shrinkToFit:n.get("shrinkToFit"),layoutAnimation:n.get("layoutAnimation"),shuffle:!1,shape:n.get("shape")}),s.addEventListener("wordclouddrawn",y),n.layoutInstance&&n.layoutInstance.dispose(),n.layoutInstance={ondraw:null,dispose:function(){s.removeEventListener("wordclouddrawn",y),s.addEventListener("wordclouddrawn",(function(e){e.preventDefault()}))}}}))})),r["P"]((function(e){var t=(e||{}).series;!r["ab"].isArray(t)&&(t=t?[t]:[]);var n=["shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function i(e){e&&r["ab"].each(n,(function(t){e.hasOwnProperty(t)&&(e["text"+r["u"].capitalFirst(t)]=e[t])}))}r["ab"].each(t,(function(e){if(e&&"wordCloud"===e.type){var t=e.textStyle||{};i(t.normal),i(t.emphasis)}}))}))}}]);
|