=0){if(A<55296||A>56319&&A<=65535)return t=this.index[A>>h],t=(t<>h)],t=(t<
>C),t=this.index[t],t+=A>>h&v,t=this.index[t],t=(t<
N?(i.push(!0),a-=N):i.push(!1),-1!==["normal","auto","loose"].indexOf(t)&&-1!==[8208,8211,12316,12448].indexOf(A))return n.push(o),e.push(V);if(a===S||a===L){if(0===o)return n.push(o),e.push(iA);var s=e[o-1];return-1===FA.indexOf(s)?(n.push(n[o-1]),e.push(s)):(n.push(o),e.push(iA))}return n.push(o),a===oA?e.push("strict"===t?$:uA):a===mA||a===nA?e.push(iA):a===hA?A>=131072&&A<=196605||A>=196608&&A<=262141?e.push(uA):e.push(iA):void e.push(a)})),[n,e,i]},HA=function(A,t,e,n){var i=n[e];if(Array.isArray(A)?-1!==A.indexOf(i):A===i){var o=e;while(o<=n.length){o++;var a=n[o];if(a===t)return!0;if(a!==R)break}}if(i===R){o=e;while(o>0){o--;var s=n[o];if(Array.isArray(A)?-1!==A.indexOf(s):A===s){var r=e;while(r<=n.length){r++;a=n[r];if(a===t)return!0;if(a!==R)break}}if(s!==R)break}}return!1},OA=function(A,t){var e=A;while(e>=0){var n=t[e];if(n!==R)return n;e--}return 0},xA=function(A,t,e,n,i){if(0===e[n])return pA;var o=n-1;if(Array.isArray(i)&&!0===i[o])return pA;var a=o-1,s=o+1,r=t[o],c=a>=0?t[a]:0,l=t[s];if(r===O&&l===x)return pA;if(-1!==UA.indexOf(r))return CA;if(-1!==UA.indexOf(l))return pA;if(-1!==vA.indexOf(l))return pA;if(OA(o,t)===T)return wA;if(QA.get(A[o])===L&&(l===uA||l===aA||l===sA))return pA;if(r===K||l===K)return pA;if(r===D)return pA;if(-1===[R,M,j].indexOf(r)&&l===D)return pA;if(-1!==[z,J,X,q,eA].indexOf(l))return pA;if(OA(o,t)===W)return pA;if(HA(Y,W,o,t))return pA;if(HA([z,J],$,o,t))return pA;if(HA(k,k,o,t))return pA;if(r===R)return wA;if(r===Y||l===Y)return pA;if(l===V||r===V)return wA;if(-1!==[M,j,$].indexOf(l)||r===P)return pA;if(c===lA&&-1!==yA.indexOf(r))return pA;if(r===eA&&l===lA)return pA;if(l===G&&-1!==bA.concat(G,X,Z,uA,aA,sA).indexOf(r))return pA;if(-1!==bA.indexOf(l)&&r===Z||-1!==bA.indexOf(r)&&l===Z)return pA;if(r===tA&&-1!==[uA,aA,sA].indexOf(l)||-1!==[uA,aA,sA].indexOf(r)&&l===AA)return pA;if(-1!==bA.indexOf(r)&&-1!==EA.indexOf(l)||-1!==EA.indexOf(r)&&-1!==bA.indexOf(l))return pA;if(-1!==[tA,AA].indexOf(r)&&(l===Z||-1!==[W,j].indexOf(l)&&t[s+1]===Z)||-1!==[W,j].indexOf(r)&&l===Z||r===Z&&-1!==[Z,eA,q].indexOf(l))return pA;if(-1!==[Z,eA,q,z,J].indexOf(l)){var u=o;while(u>=0){var f=t[u];if(f===Z)return pA;if(-1===[eA,q].indexOf(f))break;u--}}if(-1!==[tA,AA].indexOf(l)){u=-1!==[z,J].indexOf(r)?a:o;while(u>=0){f=t[u];if(f===Z)return pA;if(-1===[eA,q].indexOf(f))break;u--}}if(fA===r&&-1!==[fA,gA,rA,cA].indexOf(l)||-1!==[gA,rA].indexOf(r)&&-1!==[gA,dA].indexOf(l)||-1!==[dA,cA].indexOf(r)&&l===dA)return pA;if(-1!==_A.indexOf(r)&&-1!==[G,AA].indexOf(l)||-1!==_A.indexOf(l)&&r===tA)return pA;if(-1!==bA.indexOf(r)&&-1!==bA.indexOf(l))return pA;if(r===q&&-1!==bA.indexOf(l))return pA;if(-1!==bA.concat(Z).indexOf(r)&&l===W||-1!==bA.concat(Z).indexOf(l)&&r===J)return pA;if(r===BA&&l===BA){var g=e[o],d=1;while(g>0){if(g--,t[g]!==BA)break;d++}if(d%2!==0)return pA}return r===aA&&l===sA?pA:wA},SA=function(A,t){t||(t={lineBreak:"normal",wordBreak:"normal"});var e=NA(A,t.lineBreak),n=e[0],i=e[1],o=e[2];"break-all"!==t.wordBreak&&"break-word"!==t.wordBreak||(i=i.map((function(A){return-1!==[Z,iA,mA].indexOf(A)?uA:A})));var a="keep-all"===t.wordBreak?o.map((function(t,e){return t&&A[e]>=19968&&A[e]<=40959})):void 0;return[n,i,a]},IA=function(){function A(A,t,e,n){this.codePoints=A,this.required=t===CA,this.start=e,this.end=n}return A.prototype.slice=function(){return c.apply(void 0,this.codePoints.slice(this.start,this.end))},A}(),KA=function(A,t){var e=r(A),n=SA(e,t),i=n[0],o=n[1],a=n[2],s=e.length,c=0,l=0;return{next:function(){if(l>=s)return{done:!0,value:null};var A=pA;while(l=Nt&&A<=57},Mt=function(A){return A>=55296&&A<=57343},Pt=function(A){return kt(A)||A>=Kt&&A<=Dt||A>=Ht&&A<=xt},jt=function(A){return A>=Ht&&A<=It},Vt=function(A){return A>=Kt&&A<=Lt},zt=function(A){return jt(A)||Vt(A)},Jt=function(A){return A>=dt},Xt=function(A){return A===MA||A===VA||A===zA},Gt=function(A){return zt(A)||Jt(A)||A===At},$t=function(A){return Gt(A)||kt(A)||A===tt},Wt=function(A){return A>=bt&&A<=Ut||A===vt||A>=Et&&A<=Ft||A===_t},Yt=function(A,t){return A===jA&&t!==MA},qt=function(A,t,e){return A===tt?Gt(t)||Yt(t,e):!!Gt(A)||!(A!==jA||!Yt(A,t))},Zt=function(A,t,e){return A===ht||A===tt?!!kt(t)||t===Qt&&kt(e):kt(A===Qt?t:A)},Ae=function(A){var t=0,e=1;A[t]!==ht&&A[t]!==tt||(A[t]===tt&&(e=-1),t++);var n=[];while(kt(A[t]))n.push(A[t++]);var i=n.length?parseInt(c.apply(void 0,n),10):0;A[t]===Qt&&t++;var o=[];while(kt(A[t]))o.push(A[t++]);var a=o.length,s=a?parseInt(c.apply(void 0,o),10):0;A[t]!==Tt&&A[t]!==Ot||t++;var r=1;A[t]!==ht&&A[t]!==tt||(A[t]===tt&&(r=-1),t++);var l=[];while(kt(A[t]))l.push(A[t++]);var u=l.length?parseInt(c.apply(void 0,l),10):0;return e*(i+s*Math.pow(10,-a))*Math.pow(10,r*u)},te={type:g.LEFT_PARENTHESIS_TOKEN},ee={type:g.RIGHT_PARENTHESIS_TOKEN},ne={type:g.COMMA_TOKEN},ie={type:g.SUFFIX_MATCH_TOKEN},oe={type:g.PREFIX_MATCH_TOKEN},ae={type:g.COLUMN_TOKEN},se={type:g.DASH_MATCH_TOKEN},re={type:g.INCLUDE_MATCH_TOKEN},ce={type:g.LEFT_CURLY_BRACKET_TOKEN},le={type:g.RIGHT_CURLY_BRACKET_TOKEN},ue={type:g.SUBSTRING_MATCH_TOKEN},fe={type:g.BAD_URL_TOKEN},ge={type:g.BAD_STRING_TOKEN},de={type:g.CDO_TOKEN},Be={type:g.CDC_TOKEN},me={type:g.COLON_TOKEN},he={type:g.SEMICOLON_TOKEN},Ce={type:g.LEFT_SQUARE_BRACKET_TOKEN},pe={type:g.RIGHT_SQUARE_BRACKET_TOKEN},we={type:g.WHITESPACE_TOKEN},Qe={type:g.EOF_TOKEN},be=function(){function A(){this._value=[]}return A.prototype.write=function(A){this._value=this._value.concat(r(A))},A.prototype.read=function(){var A=[],t=this.consumeToken();while(t!==Qe)A.push(t),t=this.consumeToken();return A},A.prototype.consumeToken=function(){var A=this.consumeCodePoint();switch(A){case JA:return this.consumeStringToken(JA);case GA:var t=this.peekCodePoint(0),e=this.peekCodePoint(1),n=this.peekCodePoint(2);if($t(t)||Yt(e,n)){var i=qt(t,e,n)?RA:DA,o=this.consumeName();return{type:g.HASH_TOKEN,value:o,flags:i}}break;case $A:if(this.peekCodePoint(0)===XA)return this.consumeCodePoint(),ie;break;case YA:return this.consumeStringToken(YA);case qA:return te;case ZA:return ee;case mt:if(this.peekCodePoint(0)===XA)return this.consumeCodePoint(),ue;break;case ht:if(Zt(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case Ct:return ne;case tt:var a=A,s=this.peekCodePoint(0),r=this.peekCodePoint(1);if(Zt(a,s,r))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(qt(a,s,r))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(s===tt&&r===it)return this.consumeCodePoint(),this.consumeCodePoint(),Be;break;case Qt:if(Zt(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case PA:if(this.peekCodePoint(0)===mt){this.consumeCodePoint();while(1){var l=this.consumeCodePoint();if(l===mt&&(l=this.consumeCodePoint(),l===PA))return this.consumeToken();if(l===yt)return this.consumeToken()}}break;case pt:return me;case wt:return he;case nt:if(this.peekCodePoint(0)===et&&this.peekCodePoint(1)===tt&&this.peekCodePoint(2)===tt)return this.consumeCodePoint(),this.consumeCodePoint(),de;break;case ot:var u=this.peekCodePoint(0),f=this.peekCodePoint(1),d=this.peekCodePoint(2);if(qt(u,f,d)){o=this.consumeName();return{type:g.AT_KEYWORD_TOKEN,value:o}}break;case at:return Ce;case jA:if(Yt(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case st:return pe;case rt:if(this.peekCodePoint(0)===XA)return this.consumeCodePoint(),oe;break;case ct:return ce;case ut:return le;case St:case Rt:var B=this.peekCodePoint(0),m=this.peekCodePoint(1);return B!==ht||!Pt(m)&&m!==lt||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case ft:if(this.peekCodePoint(0)===XA)return this.consumeCodePoint(),se;if(this.peekCodePoint(0)===ft)return this.consumeCodePoint(),ae;break;case gt:if(this.peekCodePoint(0)===XA)return this.consumeCodePoint(),re;break;case yt:return Qe}return Xt(A)?(this.consumeWhiteSpace(),we):kt(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):Gt(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:g.DELIM_TOKEN,value:c(A)}},A.prototype.consumeCodePoint=function(){var A=this._value.shift();return"undefined"===typeof A?-1:A},A.prototype.reconsumeCodePoint=function(A){this._value.unshift(A)},A.prototype.peekCodePoint=function(A){return A>=this._value.length?-1:this._value[A]},A.prototype.consumeUnicodeRangeToken=function(){var A=[],t=this.consumeCodePoint();while(Pt(t)&&A.length<6)A.push(t),t=this.consumeCodePoint();var e=!1;while(t===lt&&A.length<6)A.push(t),t=this.consumeCodePoint(),e=!0;if(e){var n=parseInt(c.apply(void 0,A.map((function(A){return A===lt?Nt:A}))),16),i=parseInt(c.apply(void 0,A.map((function(A){return A===lt?Dt:A}))),16);return{type:g.UNICODE_RANGE_TOKEN,start:n,end:i}}var o=parseInt(c.apply(void 0,A),16);if(this.peekCodePoint(0)===tt&&Pt(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();var a=[];while(Pt(t)&&a.length<6)a.push(t),t=this.consumeCodePoint();i=parseInt(c.apply(void 0,a),16);return{type:g.UNICODE_RANGE_TOKEN,start:o,end:i}}return{type:g.UNICODE_RANGE_TOKEN,start:o,end:o}},A.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return"url"===A.toLowerCase()&&this.peekCodePoint(0)===qA?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===qA?(this.consumeCodePoint(),{type:g.FUNCTION_TOKEN,value:A}):{type:g.IDENT_TOKEN,value:A}},A.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===yt)return{type:g.URL_TOKEN,value:""};var t=this.peekCodePoint(0);if(t===YA||t===JA){var e=this.consumeStringToken(this.consumeCodePoint());return e.type===g.STRING_TOKEN&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===yt||this.peekCodePoint(0)===ZA)?(this.consumeCodePoint(),{type:g.URL_TOKEN,value:e.value}):(this.consumeBadUrlRemnants(),fe)}while(1){var n=this.consumeCodePoint();if(n===yt||n===ZA)return{type:g.URL_TOKEN,value:c.apply(void 0,A)};if(Xt(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===yt||this.peekCodePoint(0)===ZA?(this.consumeCodePoint(),{type:g.URL_TOKEN,value:c.apply(void 0,A)}):(this.consumeBadUrlRemnants(),fe);if(n===JA||n===YA||n===qA||Wt(n))return this.consumeBadUrlRemnants(),fe;if(n===jA){if(!Yt(n,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),fe;A.push(this.consumeEscapedCodePoint())}else A.push(n)}},A.prototype.consumeWhiteSpace=function(){while(Xt(this.peekCodePoint(0)))this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){while(1){var A=this.consumeCodePoint();if(A===ZA||A===yt)return;Yt(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(A){var t=6e4,e="";while(A>0){var n=Math.min(t,A);e+=c.apply(void 0,this._value.splice(0,n)),A-=n}return this._value.shift(),e},A.prototype.consumeStringToken=function(A){var t="",e=0;do{var n=this._value[e];if(n===yt||void 0===n||n===A)return t+=this.consumeStringSlice(e),{type:g.STRING_TOKEN,value:t};if(n===MA)return this._value.splice(0,e),ge;if(n===jA){var i=this._value[e+1];i!==yt&&void 0!==i&&(i===MA?(t+=this.consumeStringSlice(e),e=-1,this._value.shift()):Yt(n,i)&&(t+=this.consumeStringSlice(e),t+=c(this.consumeEscapedCodePoint()),e=-1))}e++}while(1)},A.prototype.consumeNumber=function(){var A=[],t=LA,e=this.peekCodePoint(0);e!==ht&&e!==tt||A.push(this.consumeCodePoint());while(kt(this.peekCodePoint(0)))A.push(this.consumeCodePoint());e=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(e===Qt&&kt(n)){A.push(this.consumeCodePoint(),this.consumeCodePoint()),t=kA;while(kt(this.peekCodePoint(0)))A.push(this.consumeCodePoint())}e=this.peekCodePoint(0),n=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((e===Tt||e===Ot)&&((n===ht||n===tt)&&kt(i)||kt(n))){A.push(this.consumeCodePoint(),this.consumeCodePoint()),t=kA;while(kt(this.peekCodePoint(0)))A.push(this.consumeCodePoint())}return[Ae(A),t]},A.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),t=A[0],e=A[1],n=this.peekCodePoint(0),i=this.peekCodePoint(1),o=this.peekCodePoint(2);if(qt(n,i,o)){var a=this.consumeName();return{type:g.DIMENSION_TOKEN,number:t,flags:e,unit:a}}return n===WA?(this.consumeCodePoint(),{type:g.PERCENTAGE_TOKEN,number:t,flags:e}):{type:g.NUMBER_TOKEN,number:t,flags:e}},A.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if(Pt(A)){var t=c(A);while(Pt(this.peekCodePoint(0))&&t.length<6)t+=c(this.consumeCodePoint());Xt(this.peekCodePoint(0))&&this.consumeCodePoint();var e=parseInt(t,16);return 0===e||Mt(e)||e>1114111?Bt:e}return A===yt?Bt:A},A.prototype.consumeName=function(){var A="";while(1){var t=this.consumeCodePoint();if($t(t))A+=c(t);else{if(!Yt(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),A;A+=c(this.consumeEscapedCodePoint())}}},A}(),Ue=function(){function A(A){this._tokens=A}return A.create=function(t){var e=new be;return e.write(t),new A(e.read())},A.parseValue=function(t){return A.create(t).parseComponentValue()},A.parseValues=function(t){return A.create(t).parseComponentValues()},A.prototype.parseComponentValue=function(){var A=this.consumeToken();while(A.type===g.WHITESPACE_TOKEN)A=this.consumeToken();if(A.type===g.EOF_TOKEN)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);var t=this.consumeComponentValue();do{A=this.consumeToken()}while(A.type===g.WHITESPACE_TOKEN);if(A.type===g.EOF_TOKEN)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},A.prototype.parseComponentValues=function(){var A=[];while(1){var t=this.consumeComponentValue();if(t.type===g.EOF_TOKEN)return A;A.push(t),A.push()}},A.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case g.LEFT_CURLY_BRACKET_TOKEN:case g.LEFT_SQUARE_BRACKET_TOKEN:case g.LEFT_PARENTHESIS_TOKEN:return this.consumeSimpleBlock(A.type);case g.FUNCTION_TOKEN:return this.consumeFunction(A)}return A},A.prototype.consumeSimpleBlock=function(A){var t={type:A,values:[]},e=this.consumeToken();while(1){if(e.type===g.EOF_TOKEN||xe(e,A))return t;this.reconsumeToken(e),t.values.push(this.consumeComponentValue()),e=this.consumeToken()}},A.prototype.consumeFunction=function(A){var t={name:A.value,values:[],type:g.FUNCTION};while(1){var e=this.consumeToken();if(e.type===g.EOF_TOKEN||e.type===g.RIGHT_PARENTHESIS_TOKEN)return t;this.reconsumeToken(e),t.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var A=this._tokens.shift();return"undefined"===typeof A?Qe:A},A.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},A}(),ve=function(A){return A.type===g.DIMENSION_TOKEN},Ee=function(A){return A.type===g.NUMBER_TOKEN},Fe=function(A){return A.type===g.IDENT_TOKEN},_e=function(A){return A.type===g.STRING_TOKEN},ye=function(A,t){return Fe(A)&&A.value===t},Ne=function(A){return A.type!==g.WHITESPACE_TOKEN},He=function(A){return A.type!==g.WHITESPACE_TOKEN&&A.type!==g.COMMA_TOKEN},Oe=function(A){var t=[],e=[];return A.forEach((function(A){if(A.type===g.COMMA_TOKEN){if(0===e.length)throw new Error("Error parsing function args, zero tokens for arg");return t.push(e),void(e=[])}A.type!==g.WHITESPACE_TOKEN&&e.push(A)})),e.length&&t.push(e),t},xe=function(A,t){return t===g.LEFT_CURLY_BRACKET_TOKEN&&A.type===g.RIGHT_CURLY_BRACKET_TOKEN||(t===g.LEFT_SQUARE_BRACKET_TOKEN&&A.type===g.RIGHT_SQUARE_BRACKET_TOKEN||t===g.LEFT_PARENTHESIS_TOKEN&&A.type===g.RIGHT_PARENTHESIS_TOKEN)},Se=function(A){return A.type===g.NUMBER_TOKEN||A.type===g.DIMENSION_TOKEN},Ie=function(A){return A.type===g.PERCENTAGE_TOKEN||Se(A)},Ke=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},Te={type:g.NUMBER_TOKEN,number:0,flags:LA},De={type:g.PERCENTAGE_TOKEN,number:50,flags:LA},Re={type:g.PERCENTAGE_TOKEN,number:100,flags:LA},Le=function(A,t,e){var n=A[0],i=A[1];return[ke(n,t),ke("undefined"!==typeof i?i:n,e)]},ke=function(A,t){if(A.type===g.PERCENTAGE_TOKEN)return A.number/100*t;if(ve(A))switch(A.unit){case"rem":case"em":return 16*A.number;case"px":default:return A.number}return A.number},Me="deg",Pe="grad",je="rad",Ve="turn",ze={name:"angle",parse:function(A){if(A.type===g.DIMENSION_TOKEN)switch(A.unit){case Me:return Math.PI*A.number/180;case Pe:return Math.PI/200*A.number;case je:return A.number;case Ve:return 2*Math.PI*A.number}throw new Error("Unsupported angle type")}},Je=function(A){return A.type===g.DIMENSION_TOKEN&&(A.unit===Me||A.unit===Pe||A.unit===je||A.unit===Ve)},Xe=function(A){var t=A.filter(Fe).map((function(A){return A.value})).join(" ");switch(t){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Te,Te];case"to top":case"bottom":return Ge(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Te,Re];case"to right":case"left":return Ge(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Re,Re];case"to bottom":case"top":return Ge(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Re,Te];case"to left":case"right":return Ge(270)}return 0},Ge=function(A){return Math.PI*A/180},$e={name:"color",parse:function(A){if(A.type===g.FUNCTION){var t=cn[A.name];if("undefined"===typeof t)throw new Error('Attempting to parse an unsupported color function "'+A.name+'"');return t(A.values)}if(A.type===g.HASH_TOKEN){if(3===A.value.length){var e=A.value.substring(0,1),n=A.value.substring(1,2),i=A.value.substring(2,3);return qe(parseInt(e+e,16),parseInt(n+n,16),parseInt(i+i,16),1)}if(4===A.value.length){e=A.value.substring(0,1),n=A.value.substring(1,2),i=A.value.substring(2,3);var o=A.value.substring(3,4);return qe(parseInt(e+e,16),parseInt(n+n,16),parseInt(i+i,16),parseInt(o+o,16)/255)}if(6===A.value.length){e=A.value.substring(0,2),n=A.value.substring(2,4),i=A.value.substring(4,6);return qe(parseInt(e,16),parseInt(n,16),parseInt(i,16),1)}if(8===A.value.length){e=A.value.substring(0,2),n=A.value.substring(2,4),i=A.value.substring(4,6),o=A.value.substring(6,8);return qe(parseInt(e,16),parseInt(n,16),parseInt(i,16),parseInt(o,16)/255)}}if(A.type===g.IDENT_TOKEN){var a=ln[A.value.toUpperCase()];if("undefined"!==typeof a)return a}return ln.TRANSPARENT}},We=function(A){return 0===(255&A)},Ye=function(A){var t=255&A,e=255&A>>8,n=255&A>>16,i=255&A>>24;return t<255?"rgba("+i+","+n+","+e+","+t/255+")":"rgb("+i+","+n+","+e+")"},qe=function(A,t,e,n){return(A<<24|t<<16|e<<8|Math.round(255*n)<<0)>>>0},Ze=function(A,t){if(A.type===g.NUMBER_TOKEN)return A.number;if(A.type===g.PERCENTAGE_TOKEN){var e=3===t?1:255;return 3===t?A.number/100*e:Math.round(A.number/100*e)}return 0},An=function(A){var t=A.filter(He);if(3===t.length){var e=t.map(Ze),n=e[0],i=e[1],o=e[2];return qe(n,i,o,1)}if(4===t.length){var a=t.map(Ze),s=(n=a[0],i=a[1],o=a[2],a[3]);return qe(n,i,o,s)}return 0};function tn(A,t,e){return e<0&&(e+=1),e>=1&&(e-=1),e<1/6?(t-A)*e*6+A:e<.5?t:e<2/3?6*(t-A)*(2/3-e)+A:A}var en,nn,on,an,sn,rn=function(A){var t=A.filter(He),e=t[0],n=t[1],i=t[2],o=t[3],a=(e.type===g.NUMBER_TOKEN?Ge(e.number):ze.parse(e))/(2*Math.PI),s=Ie(n)?n.number/100:0,r=Ie(i)?i.number/100:0,c="undefined"!==typeof o&&Ie(o)?ke(o,1):1;if(0===s)return qe(255*r,255*r,255*r,1);var l=r<=.5?r*(s+1):r+s-r*s,u=2*r-l,f=tn(u,l,a+1/3),d=tn(u,l,a),B=tn(u,l,a-1/3);return qe(255*f,255*d,255*B,c)},cn={hsl:rn,hsla:rn,rgb:An,rgba:An},ln={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},un=en||(en={}),fn=(un[un["VALUE"]=0]="VALUE",un[un["LIST"]=1]="LIST",un[un["IDENT_VALUE"]=2]="IDENT_VALUE",un[un["TYPE_VALUE"]=3]="TYPE_VALUE",un[un["TOKEN_VALUE"]=4]="TOKEN_VALUE",nn||(nn={})),gn=(fn[fn["BORDER_BOX"]=0]="BORDER_BOX",fn[fn["PADDING_BOX"]=1]="PADDING_BOX",fn[fn["CONTENT_BOX"]=2]="CONTENT_BOX",{name:"background-clip",initialValue:"border-box",prefix:!1,type:en.LIST,parse:function(A){return A.map((function(A){if(Fe(A))switch(A.value){case"padding-box":return nn.PADDING_BOX;case"content-box":return nn.CONTENT_BOX}return nn.BORDER_BOX}))}}),dn={name:"background-color",initialValue:"transparent",prefix:!1,type:en.TYPE_VALUE,format:"color"},Bn=function(A){var t=$e.parse(A[0]),e=A[1];return e&&Ie(e)?{color:t,stop:e}:{color:t,stop:null}},mn=function(A,t){var e=A[0],n=A[A.length-1];null===e.stop&&(e.stop=Te),null===n.stop&&(n.stop=Re);for(var i=[],o=0,a=0;ao?i.push(r):i.push(o),o=r}else i.push(null)}var c=null;for(a=0;aA.optimumDistance)?{optimumCorner:t,optimumDistance:s}:A}),{optimumDistance:i?1/0:-1/0,optimumCorner:null}).optimumCorner},Qn=function(A,t,e,n,i){var o=0,a=0;switch(A.size){case sn.CLOSEST_SIDE:A.shape===an.CIRCLE?o=a=Math.min(Math.abs(t),Math.abs(t-n),Math.abs(e),Math.abs(e-i)):A.shape===an.ELLIPSE&&(o=Math.min(Math.abs(t),Math.abs(t-n)),a=Math.min(Math.abs(e),Math.abs(e-i)));break;case sn.CLOSEST_CORNER:if(A.shape===an.CIRCLE)o=a=Math.min(pn(t,e),pn(t,e-i),pn(t-n,e),pn(t-n,e-i));else if(A.shape===an.ELLIPSE){var s=Math.min(Math.abs(e),Math.abs(e-i))/Math.min(Math.abs(t),Math.abs(t-n)),r=wn(n,i,t,e,!0),c=r[0],l=r[1];o=pn(c-t,(l-e)/s),a=s*o}break;case sn.FARTHEST_SIDE:A.shape===an.CIRCLE?o=a=Math.max(Math.abs(t),Math.abs(t-n),Math.abs(e),Math.abs(e-i)):A.shape===an.ELLIPSE&&(o=Math.max(Math.abs(t),Math.abs(t-n)),a=Math.max(Math.abs(e),Math.abs(e-i)));break;case sn.FARTHEST_CORNER:if(A.shape===an.CIRCLE)o=a=Math.max(pn(t,e),pn(t,e-i),pn(t-n,e),pn(t-n,e-i));else if(A.shape===an.ELLIPSE){s=Math.max(Math.abs(e),Math.abs(e-i))/Math.max(Math.abs(t),Math.abs(t-n));var u=wn(n,i,t,e,!1);c=u[0],l=u[1];o=pn(c-t,(l-e)/s),a=s*o}break}return Array.isArray(A.size)&&(o=ke(A.size[0],n),a=2===A.size.length?ke(A.size[1],i):o),[o,a]},bn=function(A){var t=Ge(180),e=[];return Oe(A).forEach((function(A,n){if(0===n){var i=A[0];if(i.type===g.IDENT_TOKEN&&"to"===i.value)return void(t=Xe(A));if(Je(i))return void(t=ze.parse(i))}var o=Bn(A);e.push(o)})),{angle:t,stops:e,type:on.LINEAR_GRADIENT}},Un=function(A){var t=Ge(180),e=[];return Oe(A).forEach((function(A,n){if(0===n){var i=A[0];if(i.type===g.IDENT_TOKEN&&-1!==["top","left","right","bottom"].indexOf(i.value))return void(t=Xe(A));if(Je(i))return void(t=(ze.parse(i)+Ge(270))%Ge(360))}var o=Bn(A);e.push(o)})),{angle:t,stops:e,type:on.LINEAR_GRADIENT}},vn=function(A){var t=123;if(A.createRange){var e=A.createRange();if(e.getBoundingClientRect){var n=A.createElement("boundtest");n.style.height=t+"px",n.style.display="block",A.body.appendChild(n),e.selectNode(n);var i=e.getBoundingClientRect(),o=Math.round(i.height);if(A.body.removeChild(n),o===t)return!0}}return!1},En=function(){return"undefined"!==typeof(new Image).crossOrigin},Fn=function(){return"string"===typeof(new XMLHttpRequest).responseType},_n=function(A){var t=new Image,e=A.createElement("canvas"),n=e.getContext("2d");if(!n)return!1;t.src="data:image/svg+xml,";try{n.drawImage(t,0,0),e.toDataURL()}catch(A){return!1}return!0},yn=function(A){return 0===A[0]&&255===A[1]&&0===A[2]&&255===A[3]},Nn=function(A){var t=A.createElement("canvas"),e=100;t.width=e,t.height=e;var n=t.getContext("2d");if(!n)return Promise.reject(!1);n.fillStyle="rgb(0, 255, 0)",n.fillRect(0,0,e,e);var i=new Image,o=t.toDataURL();i.src=o;var a=Hn(e,e,0,0,i);return n.fillStyle="red",n.fillRect(0,0,e,e),On(a).then((function(t){n.drawImage(t,0,0);var i=n.getImageData(0,0,e,e).data;n.fillStyle="red",n.fillRect(0,0,e,e);var a=A.createElement("div");return a.style.backgroundImage="url("+o+")",a.style.height=e+"px",yn(i)?On(Hn(e,e,0,0,a)):Promise.reject(!1)})).then((function(A){return n.drawImage(A,0,0),yn(n.getImageData(0,0,e,e).data)})).catch((function(){return!1}))},Hn=function(A,t,e,n,i){var o="http://www.w3.org/2000/svg",a=document.createElementNS(o,"svg"),s=document.createElementNS(o,"foreignObject");return a.setAttributeNS(null,"width",A.toString()),a.setAttributeNS(null,"height",t.toString()),s.setAttributeNS(null,"width","100%"),s.setAttributeNS(null,"height","100%"),s.setAttributeNS(null,"x",e.toString()),s.setAttributeNS(null,"y",n.toString()),s.setAttributeNS(null,"externalResourcesRequired","true"),a.appendChild(s),s.appendChild(i),a},On=function(A){return new Promise((function(t,e){var n=new Image;n.onload=function(){return t(n)},n.onerror=e,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(A))}))},xn={get SUPPORT_RANGE_BOUNDS(){var A=vn(document);return Object.defineProperty(xn,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=_n(document);return Object.defineProperty(xn,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A="function"===typeof Array.from&&"function"===typeof window.fetch?Nn(document):Promise.resolve(!1);return Object.defineProperty(xn,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=En();return Object.defineProperty(xn,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A=Fn();return Object.defineProperty(xn,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(xn,"SUPPORT_CORS_XHR",{value:A}),A}},Sn=function(){function A(A){var t=A.id,e=A.enabled;this.id=t,this.enabled=e,this.start=Date.now()}return A.prototype.debug=function(){for(var A=[],t=0;t0&&setTimeout((function(){return t("Timed out ("+a._options.imageTimeout+"ms) loading image")}),a._options.imageTimeout)}))];case 3:return[2,i.sent()]}}))}))},A.prototype.has=function(A){return"undefined"!==typeof this._cache[A]},A.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},A.prototype.proxy=function(A){var t=this,e=this._options.proxy;if(!e)throw new Error("No proxy defined");var n=A.substring(0,256);return new Promise((function(i,o){var a=xn.SUPPORT_RESPONSE_TYPE?"blob":"text",s=new XMLHttpRequest;if(s.onload=function(){if(200===s.status)if("text"===a)i(s.response);else{var A=new FileReader;A.addEventListener("load",(function(){return i(A.result)}),!1),A.addEventListener("error",(function(A){return o(A)}),!1),A.readAsDataURL(s.response)}else o("Failed to proxy resource "+n+" with status code "+s.status)},s.onerror=o,s.open("GET",e+"?url="+encodeURIComponent(A)+"&responseType="+a),"text"!==a&&s instanceof XMLHttpRequest&&(s.responseType=a),t._options.imageTimeout){var r=t._options.imageTimeout;s.timeout=r,s.ontimeout=function(){return o("Timed out ("+r+"ms) proxying "+n)}}s.send()}))},A}(),Tn=/^data:image\/svg\+xml/i,Dn=/^data:image\/.*;base64,/i,Rn=/^data:image\/.*/i,Ln=function(A){return xn.SUPPORT_SVG_DRAWING||!jn(A)},kn=function(A){return Rn.test(A)},Mn=function(A){return Dn.test(A)},Pn=function(A){return"blob"===A.substr(0,4)},jn=function(A){return"svg"===A.substr(-3).toLowerCase()||Tn.test(A)},Vn=function(A){var t=Ge(180),e=[],n=on.LINEAR_GRADIENT,i=an.CIRCLE,o=sn.FARTHEST_CORNER,a=[];return Oe(A).forEach((function(A,t){var i=A[0];if(0===t){if(Fe(i)&&"linear"===i.value)return void(n=on.LINEAR_GRADIENT);if(Fe(i)&&"radial"===i.value)return void(n=on.RADIAL_GRADIENT)}if(i.type===g.FUNCTION)if("from"===i.name){var o=$e.parse(i.values[0]);e.push({stop:Te,color:o})}else if("to"===i.name){o=$e.parse(i.values[0]);e.push({stop:Re,color:o})}else if("color-stop"===i.name){var a=i.values.filter(He);if(2===a.length){o=$e.parse(a[1]);var s=a[0];Ee(s)&&e.push({stop:{type:g.PERCENTAGE_TOKEN,number:100*s.number,flags:s.flags},color:o})}}})),n===on.LINEAR_GRADIENT?{angle:(t+Ge(180))%Ge(360),stops:e,type:n}:{size:o,shape:i,stops:e,position:a,type:n}},zn="closest-side",Jn="farthest-side",Xn="closest-corner",Gn="farthest-corner",$n="circle",Wn="ellipse",Yn="cover",qn="contain",Zn=function(A){var t=an.CIRCLE,e=sn.FARTHEST_CORNER,n=[],i=[];return Oe(A).forEach((function(A,o){var a=!0;if(0===o){var s=!1;a=A.reduce((function(A,n){if(s)if(Fe(n))switch(n.value){case"center":return i.push(De),A;case"top":case"left":return i.push(Te),A;case"right":case"bottom":return i.push(Re),A}else(Ie(n)||Se(n))&&i.push(n);else if(Fe(n))switch(n.value){case $n:return t=an.CIRCLE,!1;case Wn:return t=an.ELLIPSE,!1;case"at":return s=!0,!1;case zn:return e=sn.CLOSEST_SIDE,!1;case Yn:case Jn:return e=sn.FARTHEST_SIDE,!1;case qn:case Xn:return e=sn.CLOSEST_CORNER,!1;case Gn:return e=sn.FARTHEST_CORNER,!1}else if(Se(n)||Ie(n))return Array.isArray(e)||(e=[]),e.push(n),!1;return A}),a)}if(a){var r=Bn(A);n.push(r)}})),{size:e,shape:t,stops:n,position:i,type:on.RADIAL_GRADIENT}},Ai=function(A){var t=an.CIRCLE,e=sn.FARTHEST_CORNER,n=[],i=[];return Oe(A).forEach((function(A,o){var a=!0;if(0===o?a=A.reduce((function(A,t){if(Fe(t))switch(t.value){case"center":return i.push(De),!1;case"top":case"left":return i.push(Te),!1;case"right":case"bottom":return i.push(Re),!1}else if(Ie(t)||Se(t))return i.push(t),!1;return A}),a):1===o&&(a=A.reduce((function(A,n){if(Fe(n))switch(n.value){case $n:return t=an.CIRCLE,!1;case Wn:return t=an.ELLIPSE,!1;case qn:case zn:return e=sn.CLOSEST_SIDE,!1;case Jn:return e=sn.FARTHEST_SIDE,!1;case Xn:return e=sn.CLOSEST_CORNER,!1;case Yn:case Gn:return e=sn.FARTHEST_CORNER,!1}else if(Se(n)||Ie(n))return Array.isArray(e)||(e=[]),e.push(n),!1;return A}),a)),a){var s=Bn(A);n.push(s)}})),{size:e,shape:t,stops:n,position:i,type:on.RADIAL_GRADIENT}},ti=on||(on={}),ei=(ti[ti["URL"]=0]="URL",ti[ti["LINEAR_GRADIENT"]=1]="LINEAR_GRADIENT",ti[ti["RADIAL_GRADIENT"]=2]="RADIAL_GRADIENT",function(A){return A.type===on.LINEAR_GRADIENT}),ni=function(A){return A.type===on.RADIAL_GRADIENT},ii=an||(an={}),oi=(ii[ii["CIRCLE"]=0]="CIRCLE",ii[ii["ELLIPSE"]=1]="ELLIPSE",sn||(sn={})),ai=(oi[oi["CLOSEST_SIDE"]=0]="CLOSEST_SIDE",oi[oi["FARTHEST_SIDE"]=1]="FARTHEST_SIDE",oi[oi["CLOSEST_CORNER"]=2]="CLOSEST_CORNER",oi[oi["FARTHEST_CORNER"]=3]="FARTHEST_CORNER",{name:"image",parse:function(A){if(A.type===g.URL_TOKEN){var t={url:A.value,type:on.URL};return In.getInstance().addImage(A.value),t}if(A.type===g.FUNCTION){var e=Fi[A.name];if("undefined"===typeof e)throw new Error('Attempting to parse an unsupported image function "'+A.name+'"');return e(A.values)}throw new Error("Unsupported image type")}});function si(A){return A.type!==g.FUNCTION||Fi[A.name]}var ri,ci,li,ui,fi,gi,di,Bi,mi,hi,Ci,pi,wi,Qi,bi,Ui,vi,Ei,Fi={"linear-gradient":bn,"-moz-linear-gradient":Un,"-ms-linear-gradient":Un,"-o-linear-gradient":Un,"-webkit-linear-gradient":Un,"radial-gradient":Zn,"-moz-radial-gradient":Ai,"-ms-radial-gradient":Ai,"-o-radial-gradient":Ai,"-webkit-radial-gradient":Ai,"-webkit-gradient":Vn},_i={name:"background-image",initialValue:"none",type:en.LIST,prefix:!1,parse:function(A){if(0===A.length)return[];var t=A[0];return t.type===g.IDENT_TOKEN&&"none"===t.value?[]:A.filter((function(A){return He(A)&&si(A)})).map(ai.parse)}},yi={name:"background-origin",initialValue:"border-box",prefix:!1,type:en.LIST,parse:function(A){return A.map((function(A){if(Fe(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},Ni={name:"background-position",initialValue:"0% 0%",type:en.LIST,prefix:!1,parse:function(A){return Oe(A).map((function(A){return A.filter(Ie)})).map(Ke)}},Hi=ri||(ri={}),Oi=(Hi[Hi["REPEAT"]=0]="REPEAT",Hi[Hi["NO_REPEAT"]=1]="NO_REPEAT",Hi[Hi["REPEAT_X"]=2]="REPEAT_X",Hi[Hi["REPEAT_Y"]=3]="REPEAT_Y",{name:"background-repeat",initialValue:"repeat",prefix:!1,type:en.LIST,parse:function(A){return Oe(A).map((function(A){return A.filter(Fe).map((function(A){return A.value})).join(" ")})).map(xi)}}),xi=function(A){switch(A){case"no-repeat":return ri.NO_REPEAT;case"repeat-x":case"repeat no-repeat":return ri.REPEAT_X;case"repeat-y":case"no-repeat repeat":return ri.REPEAT_Y;case"repeat":default:return ri.REPEAT}},Si=ci||(ci={}),Ii=(Si["AUTO"]="auto",Si["CONTAIN"]="contain",Si["COVER"]="cover",{name:"background-size",initialValue:"0",prefix:!1,type:en.LIST,parse:function(A){return Oe(A).map((function(A){return A.filter(Ki)}))}}),Ki=function(A){return Fe(A)||Ie(A)},Ti=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:en.TYPE_VALUE,format:"color"}},Di=Ti("top"),Ri=Ti("right"),Li=Ti("bottom"),ki=Ti("left"),Mi=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:en.LIST,parse:function(A){return Ke(A.filter(Ie))}}},Pi=Mi("top-left"),ji=Mi("top-right"),Vi=Mi("bottom-right"),zi=Mi("bottom-left"),Ji=li||(li={}),Xi=(Ji[Ji["NONE"]=0]="NONE",Ji[Ji["SOLID"]=1]="SOLID",function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:en.IDENT_VALUE,parse:function(A){switch(A){case"none":return li.NONE}return li.SOLID}}}),Gi=Xi("top"),$i=Xi("right"),Wi=Xi("bottom"),Yi=Xi("left"),qi=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:en.VALUE,prefix:!1,parse:function(A){return ve(A)?A.number:0}}},Zi=qi("top"),Ao=qi("right"),to=qi("bottom"),eo=qi("left"),no={name:"color",initialValue:"transparent",prefix:!1,type:en.TYPE_VALUE,format:"color"},io={name:"display",initialValue:"inline-block",prefix:!1,type:en.LIST,parse:function(A){return A.filter(Fe).reduce((function(A,t){return A|oo(t.value)}),0)}},oo=function(A){switch(A){case"block":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},ao=ui||(ui={}),so=(ao[ao["NONE"]=0]="NONE",ao[ao["LEFT"]=1]="LEFT",ao[ao["RIGHT"]=2]="RIGHT",ao[ao["INLINE_START"]=3]="INLINE_START",ao[ao["INLINE_END"]=4]="INLINE_END",{name:"float",initialValue:"none",prefix:!1,type:en.IDENT_VALUE,parse:function(A){switch(A){case"left":return ui.LEFT;case"right":return ui.RIGHT;case"inline-start":return ui.INLINE_START;case"inline-end":return ui.INLINE_END}return ui.NONE}}),ro={name:"letter-spacing",initialValue:"0",prefix:!1,type:en.VALUE,parse:function(A){return A.type===g.IDENT_TOKEN&&"normal"===A.value?0:A.type===g.NUMBER_TOKEN||A.type===g.DIMENSION_TOKEN?A.number:0}},co=fi||(fi={}),lo=(co["NORMAL"]="normal",co["STRICT"]="strict",{name:"line-break",initialValue:"normal",prefix:!1,type:en.IDENT_VALUE,parse:function(A){switch(A){case"strict":return fi.STRICT;case"normal":default:return fi.NORMAL}}}),uo={name:"line-height",initialValue:"normal",prefix:!1,type:en.TOKEN_VALUE},fo=function(A,t){return Fe(A)&&"normal"===A.value?1.2*t:A.type===g.NUMBER_TOKEN?t*A.number:Ie(A)?ke(A,t):t},go={name:"list-style-image",initialValue:"none",type:en.VALUE,prefix:!1,parse:function(A){return A.type===g.IDENT_TOKEN&&"none"===A.value?null:ai.parse(A)}},Bo=gi||(gi={}),mo=(Bo[Bo["INSIDE"]=0]="INSIDE",Bo[Bo["OUTSIDE"]=1]="OUTSIDE",{name:"list-style-position",initialValue:"outside",prefix:!1,type:en.IDENT_VALUE,parse:function(A){switch(A){case"inside":return gi.INSIDE;case"outside":default:return gi.OUTSIDE}}}),ho=di||(di={}),Co=(ho[ho["NONE"]=-1]="NONE",ho[ho["DISC"]=0]="DISC",ho[ho["CIRCLE"]=1]="CIRCLE",ho[ho["SQUARE"]=2]="SQUARE",ho[ho["DECIMAL"]=3]="DECIMAL",ho[ho["CJK_DECIMAL"]=4]="CJK_DECIMAL",ho[ho["DECIMAL_LEADING_ZERO"]=5]="DECIMAL_LEADING_ZERO",ho[ho["LOWER_ROMAN"]=6]="LOWER_ROMAN",ho[ho["UPPER_ROMAN"]=7]="UPPER_ROMAN",ho[ho["LOWER_GREEK"]=8]="LOWER_GREEK",ho[ho["LOWER_ALPHA"]=9]="LOWER_ALPHA",ho[ho["UPPER_ALPHA"]=10]="UPPER_ALPHA",ho[ho["ARABIC_INDIC"]=11]="ARABIC_INDIC",ho[ho["ARMENIAN"]=12]="ARMENIAN",ho[ho["BENGALI"]=13]="BENGALI",ho[ho["CAMBODIAN"]=14]="CAMBODIAN",ho[ho["CJK_EARTHLY_BRANCH"]=15]="CJK_EARTHLY_BRANCH",ho[ho["CJK_HEAVENLY_STEM"]=16]="CJK_HEAVENLY_STEM",ho[ho["CJK_IDEOGRAPHIC"]=17]="CJK_IDEOGRAPHIC",ho[ho["DEVANAGARI"]=18]="DEVANAGARI",ho[ho["ETHIOPIC_NUMERIC"]=19]="ETHIOPIC_NUMERIC",ho[ho["GEORGIAN"]=20]="GEORGIAN",ho[ho["GUJARATI"]=21]="GUJARATI",ho[ho["GURMUKHI"]=22]="GURMUKHI",ho[ho["HEBREW"]=22]="HEBREW",ho[ho["HIRAGANA"]=23]="HIRAGANA",ho[ho["HIRAGANA_IROHA"]=24]="HIRAGANA_IROHA",ho[ho["JAPANESE_FORMAL"]=25]="JAPANESE_FORMAL",ho[ho["JAPANESE_INFORMAL"]=26]="JAPANESE_INFORMAL",ho[ho["KANNADA"]=27]="KANNADA",ho[ho["KATAKANA"]=28]="KATAKANA",ho[ho["KATAKANA_IROHA"]=29]="KATAKANA_IROHA",ho[ho["KHMER"]=30]="KHMER",ho[ho["KOREAN_HANGUL_FORMAL"]=31]="KOREAN_HANGUL_FORMAL",ho[ho["KOREAN_HANJA_FORMAL"]=32]="KOREAN_HANJA_FORMAL",ho[ho["KOREAN_HANJA_INFORMAL"]=33]="KOREAN_HANJA_INFORMAL",ho[ho["LAO"]=34]="LAO",ho[ho["LOWER_ARMENIAN"]=35]="LOWER_ARMENIAN",ho[ho["MALAYALAM"]=36]="MALAYALAM",ho[ho["MONGOLIAN"]=37]="MONGOLIAN",ho[ho["MYANMAR"]=38]="MYANMAR",ho[ho["ORIYA"]=39]="ORIYA",ho[ho["PERSIAN"]=40]="PERSIAN",ho[ho["SIMP_CHINESE_FORMAL"]=41]="SIMP_CHINESE_FORMAL",ho[ho["SIMP_CHINESE_INFORMAL"]=42]="SIMP_CHINESE_INFORMAL",ho[ho["TAMIL"]=43]="TAMIL",ho[ho["TELUGU"]=44]="TELUGU",ho[ho["THAI"]=45]="THAI",ho[ho["TIBETAN"]=46]="TIBETAN",ho[ho["TRAD_CHINESE_FORMAL"]=47]="TRAD_CHINESE_FORMAL",ho[ho["TRAD_CHINESE_INFORMAL"]=48]="TRAD_CHINESE_INFORMAL",ho[ho["UPPER_ARMENIAN"]=49]="UPPER_ARMENIAN",ho[ho["DISCLOSURE_OPEN"]=50]="DISCLOSURE_OPEN",ho[ho["DISCLOSURE_CLOSED"]=51]="DISCLOSURE_CLOSED",{name:"list-style-type",initialValue:"none",prefix:!1,type:en.IDENT_VALUE,parse:function(A){switch(A){case"disc":return di.DISC;case"circle":return di.CIRCLE;case"square":return di.SQUARE;case"decimal":return di.DECIMAL;case"cjk-decimal":return di.CJK_DECIMAL;case"decimal-leading-zero":return di.DECIMAL_LEADING_ZERO;case"lower-roman":return di.LOWER_ROMAN;case"upper-roman":return di.UPPER_ROMAN;case"lower-greek":return di.LOWER_GREEK;case"lower-alpha":return di.LOWER_ALPHA;case"upper-alpha":return di.UPPER_ALPHA;case"arabic-indic":return di.ARABIC_INDIC;case"armenian":return di.ARMENIAN;case"bengali":return di.BENGALI;case"cambodian":return di.CAMBODIAN;case"cjk-earthly-branch":return di.CJK_EARTHLY_BRANCH;case"cjk-heavenly-stem":return di.CJK_HEAVENLY_STEM;case"cjk-ideographic":return di.CJK_IDEOGRAPHIC;case"devanagari":return di.DEVANAGARI;case"ethiopic-numeric":return di.ETHIOPIC_NUMERIC;case"georgian":return di.GEORGIAN;case"gujarati":return di.GUJARATI;case"gurmukhi":return di.GURMUKHI;case"hebrew":return di.HEBREW;case"hiragana":return di.HIRAGANA;case"hiragana-iroha":return di.HIRAGANA_IROHA;case"japanese-formal":return di.JAPANESE_FORMAL;case"japanese-informal":return di.JAPANESE_INFORMAL;case"kannada":return di.KANNADA;case"katakana":return di.KATAKANA;case"katakana-iroha":return di.KATAKANA_IROHA;case"khmer":return di.KHMER;case"korean-hangul-formal":return di.KOREAN_HANGUL_FORMAL;case"korean-hanja-formal":return di.KOREAN_HANJA_FORMAL;case"korean-hanja-informal":return di.KOREAN_HANJA_INFORMAL;case"lao":return di.LAO;case"lower-armenian":return di.LOWER_ARMENIAN;case"malayalam":return di.MALAYALAM;case"mongolian":return di.MONGOLIAN;case"myanmar":return di.MYANMAR;case"oriya":return di.ORIYA;case"persian":return di.PERSIAN;case"simp-chinese-formal":return di.SIMP_CHINESE_FORMAL;case"simp-chinese-informal":return di.SIMP_CHINESE_INFORMAL;case"tamil":return di.TAMIL;case"telugu":return di.TELUGU;case"thai":return di.THAI;case"tibetan":return di.TIBETAN;case"trad-chinese-formal":return di.TRAD_CHINESE_FORMAL;case"trad-chinese-informal":return di.TRAD_CHINESE_INFORMAL;case"upper-armenian":return di.UPPER_ARMENIAN;case"disclosure-open":return di.DISCLOSURE_OPEN;case"disclosure-closed":return di.DISCLOSURE_CLOSED;case"none":default:return di.NONE}}}),po=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:en.TOKEN_VALUE}},wo=po("top"),Qo=po("right"),bo=po("bottom"),Uo=po("left"),vo=Bi||(Bi={}),Eo=(vo[vo["VISIBLE"]=0]="VISIBLE",vo[vo["HIDDEN"]=1]="HIDDEN",vo[vo["SCROLL"]=2]="SCROLL",vo[vo["AUTO"]=3]="AUTO",{name:"overflow",initialValue:"visible",prefix:!1,type:en.LIST,parse:function(A){return A.filter(Fe).map((function(A){switch(A.value){case"hidden":return Bi.HIDDEN;case"scroll":return Bi.SCROLL;case"auto":return Bi.AUTO;case"visible":default:return Bi.VISIBLE}}))}}),Fo=mi||(mi={}),_o=(Fo["NORMAL"]="normal",Fo["BREAK_WORD"]="break-word",{name:"overflow-wrap",initialValue:"normal",prefix:!1,type:en.IDENT_VALUE,parse:function(A){switch(A){case"break-word":return mi.BREAK_WORD;case"normal":default:return mi.NORMAL}}}),yo=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:en.TYPE_VALUE,format:"length-percentage"}},No=yo("top"),Ho=yo("right"),Oo=yo("bottom"),xo=yo("left"),So=hi||(hi={}),Io=(So[So["LEFT"]=0]="LEFT",So[So["CENTER"]=1]="CENTER",So[So["RIGHT"]=2]="RIGHT",{name:"text-align",initialValue:"left",prefix:!1,type:en.IDENT_VALUE,parse:function(A){switch(A){case"right":return hi.RIGHT;case"center":case"justify":return hi.CENTER;case"left":default:return hi.LEFT}}}),Ko=Ci||(Ci={}),To=(Ko[Ko["STATIC"]=0]="STATIC",Ko[Ko["RELATIVE"]=1]="RELATIVE",Ko[Ko["ABSOLUTE"]=2]="ABSOLUTE",Ko[Ko["FIXED"]=3]="FIXED",Ko[Ko["STICKY"]=4]="STICKY",{name:"position",initialValue:"static",prefix:!1,type:en.IDENT_VALUE,parse:function(A){switch(A){case"relative":return Ci.RELATIVE;case"absolute":return Ci.ABSOLUTE;case"fixed":return Ci.FIXED;case"sticky":return Ci.STICKY}return Ci.STATIC}}),Do={name:"text-shadow",initialValue:"none",type:en.LIST,prefix:!1,parse:function(A){return 1===A.length&&ye(A[0],"none")?[]:Oe(A).map((function(A){for(var t={color:ln.TRANSPARENT,offsetX:Te,offsetY:Te,blur:Te},e=0,n=0;n1?1:0],this.overflowWrap=ma(_o,A.overflowWrap),this.paddingTop=ma(No,A.paddingTop),this.paddingRight=ma(Ho,A.paddingRight),this.paddingBottom=ma(Oo,A.paddingBottom),this.paddingLeft=ma(xo,A.paddingLeft),this.position=ma(To,A.position),this.textAlign=ma(Io,A.textAlign),this.textDecorationColor=ma(Yo,A.textDecorationColor||A.color),this.textDecorationLine=ma(qo,A.textDecorationLine),this.textShadow=ma(Do,A.textShadow),this.textTransform=ma(Lo,A.textTransform),this.transform=ma(ko,A.transform),this.transformOrigin=ma(Vo,A.transformOrigin),this.visibility=ma(Jo,A.visibility),this.wordBreak=ma(Go,A.wordBreak),this.zIndex=ma($o,A.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===wi.VISIBLE},A.prototype.isTransparent=function(){return We(this.backgroundColor)},A.prototype.isTransformed=function(){return null!==this.transform},A.prototype.isPositioned=function(){return this.position!==Ci.STATIC},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return this.float!==ui.NONE},A.prototype.isInlineLevel=function(){return aa(this.display,4)||aa(this.display,33554432)||aa(this.display,268435456)||aa(this.display,536870912)||aa(this.display,67108864)||aa(this.display,134217728)},A}(),da=function(){function A(A){this.content=ma(sa,A.content),this.quotes=ma(la,A.quotes)}return A}(),Ba=function(){function A(A){this.counterIncrement=ma(ra,A.counterIncrement),this.counterReset=ma(ca,A.counterReset)}return A}(),ma=function(A,t){var e=new be,n=null!==t&&"undefined"!==typeof t?t.toString():A.initialValue;e.write(n);var i=new Ue(e.read());switch(A.type){case en.IDENT_VALUE:var o=i.parseComponentValue();return A.parse(Fe(o)?o.value:A.initialValue);case en.VALUE:return A.parse(i.parseComponentValue());case en.LIST:return A.parse(i.parseComponentValues());case en.TOKEN_VALUE:return i.parseComponentValue();case en.TYPE_VALUE:switch(A.format){case"angle":return ze.parse(i.parseComponentValue());case"color":return $e.parse(i.parseComponentValue());case"image":return ai.parse(i.parseComponentValue());case"length":var a=i.parseComponentValue();return Se(a)?a:Te;case"length-percentage":var s=i.parseComponentValue();return Ie(s)?s:Te}}throw new Error("Attempting to parse unsupported css format type "+A.format)},ha=function(){function A(A){this.styles=new ga(window.getComputedStyle(A,null)),this.textNodes=[],this.elements=[],null!==this.styles.transform&&As(A)&&(A.style.transform="none"),this.bounds=a(A),this.flags=0}return A}(),Ca=function(){function A(A,t){this.text=A,this.bounds=t}return A}(),pa=function(A,t,e){var n=ba(A,t),i=[],o=0;return n.forEach((function(A){if(t.textDecorationLine.length||A.trim().length>0)if(xn.SUPPORT_RANGE_BOUNDS)i.push(new Ca(A,Qa(e,o,A.length)));else{var n=e.splitText(A.length);i.push(new Ca(A,wa(e))),e=n}else xn.SUPPORT_RANGE_BOUNDS||(e=e.splitText(A.length));o+=A.length})),i},wa=function(A){var t=A.ownerDocument;if(t){var e=t.createElement("html2canvaswrapper");e.appendChild(A.cloneNode(!0));var n=A.parentNode;if(n){n.replaceChild(e,A);var i=a(e);return e.firstChild&&n.replaceChild(e.firstChild,e),i}}return new o(0,0,0,0)},Qa=function(A,t,e){var n=A.ownerDocument;if(!n)throw new Error("Node has no owner document");var i=n.createRange();return i.setStart(A,t),i.setEnd(A,t+e),o.fromClientRect(i.getBoundingClientRect())},ba=function(A,t){return 0!==t.letterSpacing?r(A).map((function(A){return c(A)})):Ua(A,t)},Ua=function(A,t){var e,n=KA(A,{lineBreak:t.lineBreak,wordBreak:t.overflowWrap===mi.BREAK_WORD?"break-word":t.wordBreak}),i=[];while(!(e=n.next()).done)e.value&&i.push(e.value.slice());return i},va=function(){function A(A,t){this.text=Ea(A.data,t.textTransform),this.textBounds=pa(this.text,t,A)}return A}(),Ea=function(A,t){switch(t){case pi.LOWERCASE:return A.toLowerCase();case pi.CAPITALIZE:return A.replace(Fa,_a);case pi.UPPERCASE:return A.toUpperCase();default:return A}},Fa=/(^|\s|:|-|\(|\))([a-z])/g,_a=function(A,t,e){return A.length>0?t+e.toUpperCase():A},ya=function(A){function e(t){var e=A.call(this,t)||this;return e.src=t.currentSrc||t.src,e.intrinsicWidth=t.naturalWidth,e.intrinsicHeight=t.naturalHeight,In.getInstance().addImage(e.src),e}return t(e,A),e}(ha),Na=function(A){function e(t){var e=A.call(this,t)||this;return e.canvas=t,e.intrinsicWidth=t.width,e.intrinsicHeight=t.height,e}return t(e,A),e}(ha),Ha=function(A){function e(t){var e=A.call(this,t)||this,n=new XMLSerializer;return e.svg="data:image/svg+xml,"+encodeURIComponent(n.serializeToString(t)),e.intrinsicWidth=t.width.baseVal.value,e.intrinsicHeight=t.height.baseVal.value,In.getInstance().addImage(e.svg),e}return t(e,A),e}(ha),Oa=function(A){function e(t){var e=A.call(this,t)||this;return e.value=t.value,e}return t(e,A),e}(ha),xa=function(A){function e(t){var e=A.call(this,t)||this;return e.start=t.start,e.reversed="boolean"===typeof t.reversed&&!0===t.reversed,e}return t(e,A),e}(ha),Sa=[{type:g.DIMENSION_TOKEN,flags:0,unit:"px",number:3}],Ia=[{type:g.PERCENTAGE_TOKEN,flags:0,number:50}],Ka=function(A){return A.width>A.height?new o(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width0)t.textNodes.push(new va(n,t.styles));else if(Za(n)){var o=Ga(n);o.styles.isVisible()&&(Wa(n,o,e)?o.flags|=4:Ya(o.styles)&&(o.flags|=2),-1!==Ja.indexOf(n.tagName)&&(o.flags|=8),t.elements.push(o),fs(n)||os(n)||gs(n)||Xa(n,o,e))}},Ga=function(A){return rs(A)?new ya(A):ss(A)?new Na(A):os(A)?new Ha(A):ts(A)?new Oa(A):es(A)?new xa(A):ns(A)?new Ma(A):gs(A)?new Pa(A):fs(A)?new ja(A):cs(A)?new za(A):new ha(A)},$a=function(A){var t=Ga(A);return t.flags|=4,Xa(A,t,t),t},Wa=function(A,t,e){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||as(A)&&e.styles.isTransparent()},Ya=function(A){return A.isPositioned()||A.isFloating()},qa=function(A){return A.nodeType===Node.TEXT_NODE},Za=function(A){return A.nodeType===Node.ELEMENT_NODE},As=function(A){return"undefined"!==typeof A.style},ts=function(A){return"LI"===A.tagName},es=function(A){return"OL"===A.tagName},ns=function(A){return"INPUT"===A.tagName},is=function(A){return"HTML"===A.tagName},os=function(A){return"svg"===A.tagName},as=function(A){return"BODY"===A.tagName},ss=function(A){return"CANVAS"===A.tagName},rs=function(A){return"IMG"===A.tagName},cs=function(A){return"IFRAME"===A.tagName},ls=function(A){return"STYLE"===A.tagName},us=function(A){return"SCRIPT"===A.tagName},fs=function(A){return"TEXTAREA"===A.tagName},gs=function(A){return"SELECT"===A.tagName},ds=function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(A){var t=this.counters[A];return t&&t.length?t[t.length-1]:1},A.prototype.getCounterValues=function(A){var t=this.counters[A];return t||[]},A.prototype.pop=function(A){var t=this;A.forEach((function(A){return t.counters[A].pop()}))},A.prototype.parse=function(A){var t=this,e=A.counterIncrement,n=A.counterReset,i=!0;null!==e&&e.forEach((function(A){var e=t.counters[A.counter];e&&0!==A.increment&&(i=!1,e[Math.max(0,e.length-1)]+=A.increment)}));var o=[];return i&&n.forEach((function(A){var e=t.counters[A.counter];o.push(A.counter),e||(e=t.counters[A.counter]=[]),e.push(A.reset)})),o},A}(),Bs={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},ms={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},hs={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},Cs={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},ps=function(A,t,e,n,i,o){return Ae?xs(A,i,o.length>0):n.integers.reduce((function(t,e,i){while(A>=e)A-=e,t+=n.values[i];return t}),"")+o},ws=function(A,t,e,n){var i="";do{e||A--,i=n(A)+i,A/=t}while(A*t>=t);return i},Qs=function(A,t,e,n,i){var o=e-t+1;return(A<0?"-":"")+(ws(Math.abs(A),o,n,(function(A){return c(Math.floor(A%o)+t)}))+i)},bs=function(A,t,e){void 0===e&&(e=". ");var n=t.length;return ws(Math.abs(A),n,!1,(function(A){return t[Math.floor(A%n)]}))+e},Us=1,vs=2,Es=4,Fs=8,_s=function(A,t,e,n,i,o){if(A<-9999||A>9999)return xs(A,di.CJK_DECIMAL,i.length>0);var a=Math.abs(A),s=i;if(0===a)return t[0]+s;for(var r=0;a>0&&r<=4;r++){var c=a%10;0===c&&aa(o,Us)&&""!==s?s=t[c]+s:c>1||1===c&&0===r||1===c&&1===r&&aa(o,vs)||1===c&&1===r&&aa(o,Es)&&A>100||1===c&&r>1&&aa(o,Fs)?s=t[c]+(r>0?e[r-1]:"")+s:1===c&&r>0&&(s=e[r-1]+s),a=Math.floor(a/10)}return(A<0?n:"")+s},ys="十百千萬",Ns="拾佰仟萬",Hs="マイナス",Os="마이너스",xs=function(A,t,e){var n=e?". ":"",i=e?"、":"",o=e?", ":"",a=e?" ":"";switch(t){case di.DISC:return"•"+a;case di.CIRCLE:return"◦"+a;case di.SQUARE:return"◾"+a;case di.DECIMAL_LEADING_ZERO:var s=Qs(A,48,57,!0,n);return s.length<4?"0"+s:s;case di.CJK_DECIMAL:return bs(A,"〇一二三四五六七八九",i);case di.LOWER_ROMAN:return ps(A,1,3999,Bs,di.DECIMAL,n).toLowerCase();case di.UPPER_ROMAN:return ps(A,1,3999,Bs,di.DECIMAL,n);case di.LOWER_GREEK:return Qs(A,945,969,!1,n);case di.LOWER_ALPHA:return Qs(A,97,122,!1,n);case di.UPPER_ALPHA:return Qs(A,65,90,!1,n);case di.ARABIC_INDIC:return Qs(A,1632,1641,!0,n);case di.ARMENIAN:case di.UPPER_ARMENIAN:return ps(A,1,9999,ms,di.DECIMAL,n);case di.LOWER_ARMENIAN:return ps(A,1,9999,ms,di.DECIMAL,n).toLowerCase();case di.BENGALI:return Qs(A,2534,2543,!0,n);case di.CAMBODIAN:case di.KHMER:return Qs(A,6112,6121,!0,n);case di.CJK_EARTHLY_BRANCH:return bs(A,"子丑寅卯辰巳午未申酉戌亥",i);case di.CJK_HEAVENLY_STEM:return bs(A,"甲乙丙丁戊己庚辛壬癸",i);case di.CJK_IDEOGRAPHIC:case di.TRAD_CHINESE_INFORMAL:return _s(A,"零一二三四五六七八九",ys,"負",i,vs|Es|Fs);case di.TRAD_CHINESE_FORMAL:return _s(A,"零壹貳參肆伍陸柒捌玖",Ns,"負",i,Us|vs|Es|Fs);case di.SIMP_CHINESE_INFORMAL:return _s(A,"零一二三四五六七八九",ys,"负",i,vs|Es|Fs);case di.SIMP_CHINESE_FORMAL:return _s(A,"零壹贰叁肆伍陆柒捌玖",Ns,"负",i,Us|vs|Es|Fs);case di.JAPANESE_INFORMAL:return _s(A,"〇一二三四五六七八九","十百千万",Hs,i,0);case di.JAPANESE_FORMAL:return _s(A,"零壱弐参四伍六七八九","拾百千万",Hs,i,Us|vs|Es);case di.KOREAN_HANGUL_FORMAL:return _s(A,"영일이삼사오육칠팔구","십백천만",Os,o,Us|vs|Es);case di.KOREAN_HANJA_INFORMAL:return _s(A,"零一二三四五六七八九","十百千萬",Os,o,0);case di.KOREAN_HANJA_FORMAL:return _s(A,"零壹貳參四五六七八九","拾百千",Os,o,Us|vs|Es);case di.DEVANAGARI:return Qs(A,2406,2415,!0,n);case di.GEORGIAN:return ps(A,1,19999,Cs,di.DECIMAL,n);case di.GUJARATI:return Qs(A,2790,2799,!0,n);case di.GURMUKHI:return Qs(A,2662,2671,!0,n);case di.HEBREW:return ps(A,1,10999,hs,di.DECIMAL,n);case di.HIRAGANA:return bs(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case di.HIRAGANA_IROHA:return bs(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case di.KANNADA:return Qs(A,3302,3311,!0,n);case di.KATAKANA:return bs(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",i);case di.KATAKANA_IROHA:return bs(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",i);case di.LAO:return Qs(A,3792,3801,!0,n);case di.MONGOLIAN:return Qs(A,6160,6169,!0,n);case di.MYANMAR:return Qs(A,4160,4169,!0,n);case di.ORIYA:return Qs(A,2918,2927,!0,n);case di.PERSIAN:return Qs(A,1776,1785,!0,n);case di.TAMIL:return Qs(A,3046,3055,!0,n);case di.TELUGU:return Qs(A,3174,3183,!0,n);case di.THAI:return Qs(A,3664,3673,!0,n);case di.TIBETAN:return Qs(A,3872,3881,!0,n);case di.DECIMAL:default:return Qs(A,48,57,!0,n)}},Ss="data-html2canvas-ignore",Is=function(){function A(A,t){if(this.options=t,this.scrolledElements=[],this.referenceElement=A,this.counters=new ds,this.quoteDepth=0,!A.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(A.ownerDocument.documentElement)}return A.prototype.toIFrame=function(A,t){var e=this,o=Ts(A,t);if(!o.contentWindow)return Promise.reject("Unable to find iframe window");var a=A.defaultView.pageXOffset,s=A.defaultView.pageYOffset,r=o.contentWindow,c=r.document,l=Ds(o).then((function(){return n(e,void 0,void 0,(function(){var A;return i(this,(function(e){switch(e.label){case 0:return this.scrolledElements.forEach(Ms),r&&(r.scrollTo(t.left,t.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||r.scrollY===t.top&&r.scrollX===t.left||(c.documentElement.style.top=-t.top+"px",c.documentElement.style.left=-t.left+"px",c.documentElement.style.position="absolute")),A=this.options.onclone,"undefined"===typeof this.clonedReferenceElement?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:c.fonts&&c.fonts.ready?[4,c.fonts.ready]:[3,2];case 1:e.sent(),e.label=2;case 2:return"function"===typeof A?[2,Promise.resolve().then((function(){return A(c)})).then((function(){return o}))]:[2,o]}}))}))}));return c.open(),c.write(Ls(document.doctype)+""),ks(this.referenceElement.ownerDocument,a,s),c.replaceChild(c.adoptNode(this.documentElement),c.documentElement),c.close(),l},A.prototype.createElementClone=function(A){return ss(A)?this.createCanvasClone(A):ls(A)?this.createStyleClone(A):A.cloneNode(!1)},A.prototype.createStyleClone=function(A){try{var t=A.sheet;if(t&&t.cssRules){var e=[].slice.call(t.cssRules,0).reduce((function(A,t){return t&&"string"===typeof t.cssText?A+t.cssText:A}),""),n=A.cloneNode(!1);return n.textContent=e,n}}catch(A){if(Sn.getInstance(this.options.id).error("Unable to access cssRules property",A),"SecurityError"!==A.name)throw A}return A.cloneNode(!1)},A.prototype.createCanvasClone=function(A){if(this.options.inlineImages&&A.ownerDocument){var t=A.ownerDocument.createElement("img");try{return t.src=A.toDataURL(),t}catch(A){Sn.getInstance(this.options.id).info("Unable to clone canvas contents, canvas is tainted")}}var e=A.cloneNode(!1);try{e.width=A.width,e.height=A.height;var n=A.getContext("2d"),i=e.getContext("2d");return i&&(n?i.putImageData(n.getImageData(0,0,A.width,A.height),0,0):i.drawImage(A,0,0)),e}catch(A){}return e},A.prototype.cloneNode=function(A){if(qa(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var t=A.ownerDocument.defaultView;if(As(A)&&t){var e=this.createElementClone(A),n=t.getComputedStyle(A),i=t.getComputedStyle(A,":before"),o=t.getComputedStyle(A,":after");this.referenceElement===A&&(this.clonedReferenceElement=e),as(e)&&Xs(e);for(var a=this.counters.parse(new Ba(n)),s=this.resolvePseudoContent(A,e,i,Ui.BEFORE),r=A.firstChild;r;r=r.nextSibling)Za(r)&&(us(r)||r.hasAttribute(Ss)||"function"===typeof this.options.ignoreElements&&this.options.ignoreElements(r))||this.options.copyStyles&&Za(r)&&ls(r)||e.appendChild(this.cloneNode(r));s&&e.insertBefore(s,e.firstChild);var c=this.resolvePseudoContent(A,e,o,Ui.AFTER);return c&&e.appendChild(c),this.counters.pop(a),n&&this.options.copyStyles&&!cs(A)&&Rs(n,e),0===A.scrollTop&&0===A.scrollLeft||this.scrolledElements.push([e,A.scrollLeft,A.scrollTop]),(fs(A)||gs(A))&&(fs(e)||gs(e))&&(e.value=A.value),e}return A.cloneNode(!1)},A.prototype.resolvePseudoContent=function(A,t,e,n){var i=this;if(e){var o=e.content,a=t.ownerDocument;if(a&&o&&"none"!==o&&"-moz-alt-content"!==o&&"none"!==e.display){this.counters.parse(new Ba(e));var s=new da(e),r=a.createElement("html2canvaspseudoelement");return Rs(e,r),s.content.forEach((function(t){if(t.type===g.STRING_TOKEN)r.appendChild(a.createTextNode(t.value));else if(t.type===g.URL_TOKEN){var e=a.createElement("img");e.src=t.value,e.style.opacity="1",r.appendChild(e)}else if(t.type===g.FUNCTION){if("attr"===t.name){var n=t.values.filter(Fe);n.length&&r.appendChild(a.createTextNode(A.getAttribute(n[0].value)||""))}else if("counter"===t.name){var o=t.values.filter(He),c=o[0],l=o[1];if(c&&Fe(c)){var u=i.counters.getCounterValue(c.value),f=l&&Fe(l)?Co.parse(l.value):di.DECIMAL;r.appendChild(a.createTextNode(xs(u,f,!1)))}}else if("counters"===t.name){var d=t.values.filter(He),B=(c=d[0],d[1]);l=d[2];if(c&&Fe(c)){var m=i.counters.getCounterValues(c.value),h=l&&Fe(l)?Co.parse(l.value):di.DECIMAL,C=B&&B.type===g.STRING_TOKEN?B.value:"",p=m.map((function(A){return xs(A,h,!1)})).join(C);r.appendChild(a.createTextNode(p))}}}else if(t.type===g.IDENT_TOKEN)switch(t.value){case"open-quote":r.appendChild(a.createTextNode(ua(s.quotes,i.quoteDepth++,!0)));break;case"close-quote":r.appendChild(a.createTextNode(ua(s.quotes,--i.quoteDepth,!1)));break;default:r.appendChild(a.createTextNode(t.value))}})),r.className=Vs+" "+zs,t.className+=n===Ui.BEFORE?" "+Vs:" "+zs,r}}},A.destroy=function(A){return!!A.parentNode&&(A.parentNode.removeChild(A),!0)},A}(),Ks=Ui||(Ui={}),Ts=(Ks[Ks["BEFORE"]=0]="BEFORE",Ks[Ks["AFTER"]=1]="AFTER",function(A,t){var e=A.createElement("iframe");return e.className="html2canvas-container",e.style.visibility="hidden",e.style.position="fixed",e.style.left="-10000px",e.style.top="0px",e.style.border="0",e.width=t.width.toString(),e.height=t.height.toString(),e.scrolling="no",e.setAttribute(Ss,"true"),A.body.appendChild(e),e}),Ds=function(A){return new Promise((function(t,e){var n=A.contentWindow;if(!n)return e("No window assigned for iframe");var i=n.document;n.onload=A.onload=i.onreadystatechange=function(){n.onload=A.onload=i.onreadystatechange=null;var e=setInterval((function(){i.body.childNodes.length>0&&"complete"===i.readyState&&(clearInterval(e),t(A))}),50)}}))},Rs=function(A,t){for(var e=A.length-1;e>=0;e--){var n=A.item(e);"content"!==n&&t.style.setProperty(n,A.getPropertyValue(n))}return t},Ls=function(A){var t="";return A&&(t+=""),t},ks=function(A,t,e){A&&A.defaultView&&(t!==A.defaultView.pageXOffset||e!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(t,e)},Ms=function(A){var t=A[0],e=A[1],n=A[2];t.scrollLeft=e,t.scrollTop=n},Ps=":before",js=":after",Vs="___html2canvas___pseudoelement_before",zs="___html2canvas___pseudoelement_after",Js='{\n content: "" !important;\n display: none !important;\n}',Xs=function(A){Gs(A,"."+Vs+Ps+Js+"\n ."+zs+js+Js)},Gs=function(A,t){var e=A.ownerDocument;if(e){var n=e.createElement("style");n.textContent=t,A.appendChild(n)}},$s=vi||(vi={}),Ws=($s[$s["VECTOR"]=0]="VECTOR",$s[$s["BEZIER_CURVE"]=1]="BEZIER_CURVE",function(A,t){return A.length===t.length&&A.some((function(A,e){return A===t[e]}))}),Ys=function(A,t,e,n,i){return A.map((function(A,o){switch(o){case 0:return A.add(t,e);case 1:return A.add(t+n,e);case 2:return A.add(t+n,e+i);case 3:return A.add(t,e+i)}return A}))},qs=function(){function A(A,t){this.type=vi.VECTOR,this.x=A,this.y=t}return A.prototype.add=function(t,e){return new A(this.x+t,this.y+e)},A}(),Zs=function(A,t,e){return new qs(A.x+(t.x-A.x)*e,A.y+(t.y-A.y)*e)},Ar=function(){function A(A,t,e,n){this.type=vi.BEZIER_CURVE,this.start=A,this.startControl=t,this.endControl=e,this.end=n}return A.prototype.subdivide=function(t,e){var n=Zs(this.start,this.startControl,t),i=Zs(this.startControl,this.endControl,t),o=Zs(this.endControl,this.end,t),a=Zs(n,i,t),s=Zs(i,o,t),r=Zs(a,s,t);return e?new A(this.start,n,a,r):new A(r,s,o,this.end)},A.prototype.add=function(t,e){return new A(this.start.add(t,e),this.startControl.add(t,e),this.endControl.add(t,e),this.end.add(t,e))},A.prototype.reverse=function(){return new A(this.end,this.endControl,this.startControl,this.start)},A}(),tr=function(A){return A.type===vi.BEZIER_CURVE},er=function(){function A(A){var t=A.styles,e=A.bounds,n=Le(t.borderTopLeftRadius,e.width,e.height),i=n[0],o=n[1],a=Le(t.borderTopRightRadius,e.width,e.height),s=a[0],r=a[1],c=Le(t.borderBottomRightRadius,e.width,e.height),l=c[0],u=c[1],f=Le(t.borderBottomLeftRadius,e.width,e.height),g=f[0],d=f[1],B=[];B.push((i+s)/e.width),B.push((g+l)/e.width),B.push((o+d)/e.height),B.push((r+u)/e.height);var m=Math.max.apply(Math,B);m>1&&(i/=m,o/=m,s/=m,r/=m,l/=m,u/=m,g/=m,d/=m);var h=e.width-s,C=e.height-u,p=e.width-l,w=e.height-d,Q=t.borderTopWidth,b=t.borderRightWidth,U=t.borderBottomWidth,v=t.borderLeftWidth,E=ke(t.paddingTop,A.bounds.width),F=ke(t.paddingRight,A.bounds.width),_=ke(t.paddingBottom,A.bounds.width),y=ke(t.paddingLeft,A.bounds.width);this.topLeftBorderBox=i>0||o>0?ir(e.left,e.top,i,o,Ei.TOP_LEFT):new qs(e.left,e.top),this.topRightBorderBox=s>0||r>0?ir(e.left+h,e.top,s,r,Ei.TOP_RIGHT):new qs(e.left+e.width,e.top),this.bottomRightBorderBox=l>0||u>0?ir(e.left+p,e.top+C,l,u,Ei.BOTTOM_RIGHT):new qs(e.left+e.width,e.top+e.height),this.bottomLeftBorderBox=g>0||d>0?ir(e.left,e.top+w,g,d,Ei.BOTTOM_LEFT):new qs(e.left,e.top+e.height),this.topLeftPaddingBox=i>0||o>0?ir(e.left+v,e.top+Q,Math.max(0,i-v),Math.max(0,o-Q),Ei.TOP_LEFT):new qs(e.left+v,e.top+Q),this.topRightPaddingBox=s>0||r>0?ir(e.left+Math.min(h,e.width+v),e.top+Q,h>e.width+v?0:s-v,r-Q,Ei.TOP_RIGHT):new qs(e.left+e.width-b,e.top+Q),this.bottomRightPaddingBox=l>0||u>0?ir(e.left+Math.min(p,e.width-v),e.top+Math.min(C,e.height+Q),Math.max(0,l-b),u-U,Ei.BOTTOM_RIGHT):new qs(e.left+e.width-b,e.top+e.height-U),this.bottomLeftPaddingBox=g>0||d>0?ir(e.left+v,e.top+w,Math.max(0,g-v),d-U,Ei.BOTTOM_LEFT):new qs(e.left+v,e.top+e.height-U),this.topLeftContentBox=i>0||o>0?ir(e.left+v+y,e.top+Q+E,Math.max(0,i-(v+y)),Math.max(0,o-(Q+E)),Ei.TOP_LEFT):new qs(e.left+v+y,e.top+Q+E),this.topRightContentBox=s>0||r>0?ir(e.left+Math.min(h,e.width+v+y),e.top+Q+E,h>e.width+v+y?0:s-v+y,r-(Q+E),Ei.TOP_RIGHT):new qs(e.left+e.width-(b+F),e.top+Q+E),this.bottomRightContentBox=l>0||u>0?ir(e.left+Math.min(p,e.width-(v+y)),e.top+Math.min(C,e.height+Q+E),Math.max(0,l-(b+F)),u-(U+_),Ei.BOTTOM_RIGHT):new qs(e.left+e.width-(b+F),e.top+e.height-(U+_)),this.bottomLeftContentBox=g>0||d>0?ir(e.left+v+y,e.top+w,Math.max(0,g-(v+y)),d-(U+_),Ei.BOTTOM_LEFT):new qs(e.left+v+y,e.top+e.height-(U+_))}return A}(),nr=Ei||(Ei={}),ir=(nr[nr["TOP_LEFT"]=0]="TOP_LEFT",nr[nr["TOP_RIGHT"]=1]="TOP_RIGHT",nr[nr["BOTTOM_RIGHT"]=2]="BOTTOM_RIGHT",nr[nr["BOTTOM_LEFT"]=3]="BOTTOM_LEFT",function(A,t,e,n,i){var o=(Math.sqrt(2)-1)/3*4,a=e*o,s=n*o,r=A+e,c=t+n;switch(i){case Ei.TOP_LEFT:return new Ar(new qs(A,c),new qs(A,c-s),new qs(r-a,t),new qs(r,t));case Ei.TOP_RIGHT:return new Ar(new qs(A,t),new qs(A+a,t),new qs(r,c-s),new qs(r,c));case Ei.BOTTOM_RIGHT:return new Ar(new qs(r,t),new qs(r,t+s),new qs(A+a,c),new qs(A,c));case Ei.BOTTOM_LEFT:default:return new Ar(new qs(r,c),new qs(r-a,c),new qs(A,t+s),new qs(A,t))}}),or=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},ar=function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]},sr=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},rr=function(){function A(A,t,e){this.type=0,this.offsetX=A,this.offsetY=t,this.matrix=e,this.target=6}return A}(),cr=function(){function A(A,t){this.type=1,this.target=t,this.path=A}return A}(),lr=function(A){return 0===A.type},ur=function(A){return 1===A.type},fr=function(){function A(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return A}(),gr=function(){function A(A,t){if(this.container=A,this.effects=t.slice(0),this.curves=new er(A),null!==A.styles.transform){var e=A.bounds.left+A.styles.transformOrigin[0].number,n=A.bounds.top+A.styles.transformOrigin[1].number,i=A.styles.transform;this.effects.push(new rr(e,n,i))}if(A.styles.overflowX!==Bi.VISIBLE){var o=or(this.curves),a=sr(this.curves);Ws(o,a)?this.effects.push(new cr(o,6)):(this.effects.push(new cr(o,2)),this.effects.push(new cr(a,4)))}}return A.prototype.getParentEffects=function(){var A=this.effects.slice(0);if(this.container.styles.overflowX!==Bi.VISIBLE){var t=or(this.curves),e=sr(this.curves);Ws(t,e)||A.push(new cr(e,6))}return A},A}(),dr=function(A,t,e,n){A.container.elements.forEach((function(i){var o=aa(i.flags,4),a=aa(i.flags,2),s=new gr(i,A.getParentEffects());aa(i.styles.display,2048)&&n.push(s);var r=aa(i.flags,8)?[]:n;if(o||a){var c=o||i.styles.isPositioned()?e:t,l=new fr(s);if(i.styles.isPositioned()||i.styles.opacity<1||i.styles.isTransformed()){var u=i.styles.zIndex.order;if(u<0){var f=0;c.negativeZIndex.some((function(A,t){return u>A.element.container.styles.zIndex.order?(f=t,!1):f>0})),c.negativeZIndex.splice(f,0,l)}else if(u>0){var g=0;c.positiveZIndex.some((function(A,t){return u>A.element.container.styles.zIndex.order?(g=t+1,!1):g>0})),c.positiveZIndex.splice(g,0,l)}else c.zeroOrAutoZIndexOrTransformedOrOpacity.push(l)}else i.styles.isFloating()?c.nonPositionedFloats.push(l):c.nonPositionedInlineLevel.push(l);dr(s,l,o?l:e,r)}else i.styles.isInlineLevel()?t.inlineLevel.push(s):t.nonInlineLevel.push(s),dr(s,t,e,r);aa(i.flags,8)&&Br(i,r)}))},Br=function(A,t){for(var e=A instanceof xa?A.start:1,n=A instanceof xa&&A.reversed,i=0;i0&&A.intrinsicHeight>0){var n=wr(A),i=sr(t);this.path(i),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(e,0,0,A.intrinsicWidth,A.intrinsicHeight,n.left,n.top,n.width,n.height),this.ctx.restore()}},A.prototype.renderNodeContent=function(t){return n(this,void 0,void 0,(function(){var e,n,a,s,r,c,l,u,f,g,d,B,m,h,C;return i(this,(function(i){switch(i.label){case 0:this.applyEffects(t.effects,4),e=t.container,n=t.curves,a=e.styles,s=0,r=e.textNodes,i.label=1;case 1:return s0&&v>0&&(C=n.ctx.createPattern(B,"repeat"),n.renderRepeat(w,C,F,_))):ni(e)&&(p=Ur(A,t,[null,null,null]),w=p[0],Q=p[1],b=p[2],U=p[3],v=p[4],E=0===e.position.length?[De]:e.position,F=ke(E[0],U),_=ke(E[E.length-1],v),y=Qn(e,F,_,U,v),N=y[0],H=y[1],N>0&&N>0&&(O=n.ctx.createRadialGradient(Q+F,b+_,0,Q+F,b+_,N),mn(e.stops,2*N).forEach((function(A){return O.addColorStop(A.stop,Ye(A.color))})),n.path(w),n.ctx.fillStyle=O,N!==H?(x=A.bounds.left+.5*A.bounds.width,S=A.bounds.top+.5*A.bounds.height,I=H/N,K=1/I,n.ctx.save(),n.ctx.translate(x,S),n.ctx.transform(1,0,0,I,0,0),n.ctx.translate(-x,-S),n.ctx.fillRect(Q,K*(b-S)+S,U,v*K),n.ctx.restore()):n.ctx.fill())),i.label=6;case 6:return t--,[2]}}))},n=this,o=0,a=A.styles.backgroundImage.slice(0).reverse(),r.label=1;case 1:return oA.moved.newIndex,this.mConfig.forEach((function(A,t){A.num=1e3*(new Date).getTime()+t})),A.moved.list=this.mConfig,this.rConfig=[];var t=A.moved.element,e=JSON.parse(JSON.stringify(t));this.rConfig.push(e),this.activeIndex=A.moved.newIndex,this.$store.commit("mobildConfig/SETCONFIGNAME",t.name),this.$store.commit("mobildConfig/defaultArraySort",A.moved)}A.added&&(e=A.added.element,t=1e3*(new Date).getTime(),e.num=t,this.activeConfigName=e.name,(t=JSON.parse(JSON.stringify(e))).id="id"+t.num,this.mConfig[A.added.newIndex]=t,this.rConfig=[],this.rConfig.push(t),this.mConfig.forEach((function(A,t){A.num=1e3*(new Date).getTime()+t})),A.added.list=this.mConfig,this.activeIndex=A.added.newIndex,this.$store.commit("mobildConfig/SETCONFIGNAME",e.name),this.$store.commit("mobildConfig/defaultArraySort",A.added))},cloneDog:function(A){return Object(n.a)({},A)},swapArray:function(A,t,e){return A[t]=A.splice(e,1,A[t])[0],A},movePage:function(A,t,e){if(e){if(0==t)return}else if(t==this.mConfig.length-1)return;if("search_box"==A.name||"nav_bar"==A.name)return this.$Message.warning("该组件禁止移动");if(e){if("search_box"==this.mConfig[t-1].name)return this.$Message.warning("搜索框必须为顶部");this.swapArray(this.mConfig,t-1,t)}else this.swapArray(this.mConfig,t,t+1);var n={},i=(this.rConfig=[],n.oldIndex=t,n.newIndex=e?t-1:t+1,this.mConfig.forEach((function(A,t){A.num=1e3*(new Date).getTime()+t})),JSON.parse(JSON.stringify(A)));this.rConfig.push(i),n.element=A,n.list=this.mConfig,this.activeIndex=e?t-1:t+1,this.$store.commit("mobildConfig/SETCONFIGNAME",A.name),this.$store.commit("mobildConfig/defaultArraySort",n)},addDomCon:function(A,t,e){if("search_box"==A.name){if(this.isSearch)return this.$Message.error("该组件只能添加一次");this.isSearch=!0}if("nav_bar"==A.name){if(this.isTab)return this.$Message.error("该组件只能添加一次");this.isTab=!0}var n={},i=1e3*(new Date).getTime();A.num="".concat(i),A.id="id".concat(i),this.activeConfigName=A.name,i=JSON.parse(JSON.stringify(A));"search_box"==A.name?(this.rConfig=[],this.mConfig.unshift(i),this.activeIndex=0,this.rConfig.push(i)):"nav_bar"==A.name?(this.rConfig=[],this.mConfig[0]&&"search_box"===this.mConfig[0].name?(this.mConfig.splice(1,0,i),this.activeIndex=1):(this.mConfig.splice(0,0,i),this.activeIndex=0),this.rConfig.push(i)):t?(this.rConfig=[],this.mConfig.push(i),this.activeIndex=this.mConfig.length-1,this.rConfig.push(i)):(this.mConfig.splice(e+1,0,i),this.activeIndex=e),this.mConfig.forEach((function(A,t){A.num=1e3*(new Date).getTime()+t})),n.element=A,n.list=this.mConfig,this.$store.commit("mobildConfig/SETCONFIGNAME",A.name),this.$store.commit("mobildConfig/defaultArraySort",n)},bindAddDom:function(A,t,e){var n=A;this.lConfig.forEach((function(t){A.name==t.name&&(n=t)})),this.addDomCon(n,t,e)},addDom:function(A,t){this.addDomCon(A,t)},bindconfig:function(A,t){this.rConfig=[];var e=JSON.parse(JSON.stringify(A));this.rConfig.push(e),this.activeIndex=t,this.$store.commit("mobildConfig/SETCONFIGNAME",A.name)},bindDelete:function(A,t){"search_box"==A.name&&(this.isSearch=!1),"nav_bar"==A.name&&(this.isTab=!1),this.mConfig.splice(t,1),this.rConfig.splice(0,1),this.mConfig.length!=t?this.rConfig.push(this.mConfig[t]):this.mConfig.length?(this.activeIndex=t-1,this.rConfig.push(this.mConfig[t-1])):this.showTitle(),this.$store.commit("mobildConfig/DELETEARRAY",A)},config:function(A){var t=this.propsObj;t.data=A,t.name=this.activeConfigName},addSort:function(A,t,e){return A[t]=A.splice(e,1,A[t])[0],A},arraySort:function(){var A=[],t={title:"基础组件",list:[],isOpen:!0},e={title:"营销组件",list:[],isOpen:!0},n={title:"工具组件",list:[],isOpen:!0};this.lConfig.map((function(A,i){0==A.type&&t.list.push(A),1==A.type&&e.list.push(A),2==A.type&&n.list.push(A)})),A.push(t,e,n),this.leftMenu=A},diySaveDate:function(A){var t=this;Object(i.t)(this.pageId,{type:this.pageType,value:A,title:this.titleTxt,name:this.nameTxt,is_show:this.showTxt?1:0,is_bg_color:this.colorTxt?1:0,color_picker:this.colorPickerTxt,bg_pic:this.picUrlTxt,bg_tab_val:this.tabValTxt,is_bg_pic:this.picTxt?1:0}).then((function(A){t.loading=!1,t.pageId=A.data.id,t.$Message.success(A.msg)})).catch((function(A){t.loading=!1,t.$Message.error(A.msg)}))},saveConfig:function(){if(0==this.mConfig.length)return this.$Message.error("暂未添加任何组件,保存失败!");this.loading=!0;var A,t=this.$store.state.mobildConfig.defaultArray;this.footActive||(A=1e3*(new Date).getTime(),t[A]=this.$store.state.mobildConfig.pageFooter,this.footActive=!0),this.$nextTick((function(){this.diySaveDate(t)}))},getDefaultConfig:function(){var A=this;Object(i.i)(this.pageId).then((function(t){t=t.data;var e={},n=[];A.$store.commit("mobildConfig/titleUpdata",t.info.title),A.$store.commit("mobildConfig/nameUpdata",t.info.name),A.$store.commit("mobildConfig/showUpdata",t.info.is_show),A.$store.commit("mobildConfig/colorUpdata",t.info.is_bg_color||0),A.$store.commit("mobildConfig/picUpdata",t.info.is_bg_pic||0),A.$store.commit("mobildConfig/pickerUpdata",t.info.color_picker||"#f5f5f5"),A.$store.commit("mobildConfig/radioUpdata",t.info.bg_tab_val||0),A.$store.commit("mobildConfig/picurlUpdata",t.info.bg_pic||""),t=A.objToArr(t.info.value);t.sort((function(A,t){return A.timestamp-t.timestamp})),t.map((function(t,i){"headerSerch"==t.name&&(A.isSearch=!0),"tabNav"==t.name&&(A.isTab=!0),"goodList"==t.name&&window.localStorage.setItem(t.timestamp,t.selectConfig.activeValue),t.id="id"+t.timestamp,A.lConfig.map((function(i,o){t.name==i.defaultName&&(i.num=t.timestamp,i.id="id"+t.timestamp,i=JSON.parse(JSON.stringify(i)),n.push(i),e[t.timestamp]=t,A.mConfig.push(i),A.$store.commit("mobildConfig/ADDARRAY",{num:t.timestamp,val:t}))}))})),t=t[t.length-1],"pageFoot"==t.name&&A.$store.commit("mobildConfig/footPageUpdata",t),A.showTitle()}))},categoryList:function(){var A=this;Object(i.a)((function(t){A.category=t.data}))},reast:function(){var A=this;0==this.pageId?this.$Message.error("新增页面,无法重置"):this.$Modal.confirm({title:"提示",content:"是否重置当前页面数据
",onOk:function(){A.mConfig=[],A.rConfig=[],A.activeIndex=-99,A.getDefaultConfig()},onCancel:function(){}})}},beforeDestroy:function(){this.$store.commit("mobildConfig/titleUpdata",""),this.$store.commit("mobildConfig/nameUpdata",""),this.$store.commit("mobildConfig/showUpdata",1),this.$store.commit("mobildConfig/colorUpdata",0),this.$store.commit("mobildConfig/picUpdata",0),this.$store.commit("mobildConfig/pickerUpdata","#f5f5f5"),this.$store.commit("mobildConfig/radioUpdata",0),this.$store.commit("mobildConfig/picurlUpdata",""),this.$store.commit("mobildConfig/SETEMPTY")},destroyed:function(){this.$store.commit("mobildConfig/titleUpdata",""),this.$store.commit("mobildConfig/nameUpdata",""),this.$store.commit("mobildConfig/showUpdata",1),this.$store.commit("mobildConfig/colorUpdata",0),this.$store.commit("mobildConfig/picUpdata",0),this.$store.commit("mobildConfig/pickerUpdata","#f5f5f5"),this.$store.commit("mobildConfig/radioUpdata",0),this.$store.commit("mobildConfig/picurlUpdata",""),this.$store.commit("mobildConfig/SETEMPTY")}},e("acff"),h=Object(m.a)(B,(function(){var A=this,t=A.$createElement,n=A._self._c||t;return n("div",{staticClass:"diy-page"},[n("div",{staticClass:"i-layout-page-header header-title"},[n("div",{staticClass:"fl_header"},[n("router-link",{attrs:{to:{path:A.$routeProStr+"/setting/pages/devise"}}},[n("Button",{attrs:{icon:"ios-arrow-back",size:"small",type:"text"}},[A._v("返回")])],1),n("Divider",{attrs:{type:"vertical"}}),n("span",{staticClass:"ivu-page-header-title mr20",staticStyle:{padding:"0"},domProps:{textContent:A._s(A.$route.meta.title)}}),n("div",{staticClass:"rbtn"},[0!==A.pageId?n("Button",{staticClass:"bnt",attrs:{loading:A.loading},on:{click:A.setmoren}},[A._v("保存默认")]):A._e(),0!==A.pageId?n("Button",{staticClass:"bnt ml20",attrs:{loading:A.loading},on:{click:A.getmoren}},[A._v("恢复默认")]):A._e(),n("Button",{staticClass:"bnt ml20",attrs:{type:"primary",loading:A.loading},on:{click:A.saveConfig}},[A._v("保存")]),n("Button",{staticClass:"bnt ml20",on:{click:A.reast}},[A._v("重置")])],1)],1)]),n("Card",{staticClass:"ivu-mt",staticStyle:{margin:"0 10px"},attrs:{bordered:!1,"dis-hover":""}},[n("div",{staticClass:"diy-wrapper"},[n("div",{staticClass:"left"},[n("div",{staticClass:"title-bar"},A._l(A.tabList,(function(t,e){return n("div",{key:e,staticClass:"title-item",class:{on:A.tabCur==e},on:{click:function(t){return A.bindTab(e)}}},[A._v("\n "+A._s(t.title)+"\n ")])})),0),0==A.tabCur?n("div",{staticClass:"wrapper"},A._l(A.leftMenu,(function(t,e){return n("div",{key:e},[n("div",{staticClass:"tips",on:{click:function(A){t.isOpen=!t.isOpen}}},[A._v("\n "+A._s(t.title)+"\n\n "),t.isOpen?n("Icon",{attrs:{type:"ios-arrow-down",size:"16"}}):n("Icon",{attrs:{type:"ios-arrow-forward",size:"16"}})],1),n("draggable",{staticClass:"dragArea list-group",attrs:{list:t.list,group:{name:"people",pull:"clone",put:!1},clone:A.cloneDog,dragClass:"dragClass",filter:".search , .navbar"}},A._l(t.list,(function(e,i){return n("div",{directives:[{name:"show",rawName:"v-show",value:t.isOpen,expression:"item.isOpen"}],key:e.id,staticClass:"list-group-item",class:{search:"搜索框"==e.cname,navbar:"商品分类"==e.cname},on:{click:function(t){return A.addDom(e,1)}}},[n("div",[n("div",{staticClass:"position",staticStyle:{display:"none"}},[A._v("释放鼠标将组建添加到此处")]),n("span",{staticClass:"conter iconfont-diy",class:e.icon}),n("p",{staticClass:"conter"},[A._v(A._s(e.cname))])])])})),0)],1)})),0):n("div",{staticClass:"wrapper",style:"height:"+(A.clientHeight-200)+"px;"},A._l(A.urlList,(function(t,e){return n("div",{key:e,staticClass:"link-item"},[n("div",{staticClass:"name"},[A._v(A._s(t.name))]),n("div",{staticClass:"link-txt"},[A._v("地址:"+A._s(t.url))]),n("div",{staticClass:"params"},[n("span",{staticClass:"txt"},[A._v("参数:")]),n("span",[A._v(A._s(t.parameter))])]),n("div",{staticClass:"lable"},[n("p",{staticClass:"txt"},[A._v("例如:"+A._s(t.example))]),n("Button",{attrs:{size:"small"},on:{click:function(e){return A.onCopy(t.example)}}},[A._v("复制 ")])],1)])})),0)]),n("div",{staticClass:"wrapper-con",staticStyle:{flex:"1",background:"#f0f2f5",display:"flex","justify-content":"center","padding-top":"20px",height:"100%"}},[n("div",{staticClass:"content"},[n("div",{staticClass:"contxt",staticStyle:{display:"flex","flex-direction":"column",overflow:"hidden",height:"100%"}},[n("div",{staticClass:"overflowy"},[n("div",{staticClass:"picture"},[n("img",{attrs:{src:e("2d44")}})]),n("div",{staticClass:"page-title",class:{on:-100==A.activeIndex},on:{click:A.showTitle}},[A._v("\n "+A._s(A.titleTxt)+"\n "),n("div",{staticClass:"delete-box"}),n("div",{staticClass:"handle"})])]),n("div",{staticClass:"scrollCon"},[n("div",{staticStyle:{width:"460px",margin:"0 auto"}},[n("div",{ref:"imgContainer",staticClass:"scroll-box",class:A.picTxt&&2==A.tabValTxt?"fullsize noRepeat":A.picTxt&&1==A.tabValTxt?"repeat ysize":"noRepeat ysize",style:"background-color:"+(A.colorTxt?A.colorPickerTxt:"")+";background-image: url("+(A.picTxt?A.picUrlTxt:"")+");height:calc(100vh - 200px)"},[n("draggable",{staticClass:"dragArea list-group",attrs:{list:A.mConfig,group:"people",filter:".top",move:A.onMove,animation:"300"},on:{change:A.log}},A._l(A.mConfig,(function(t,e){return n("div",{key:e,staticClass:"mConfig-item",class:{on:A.activeIndex==e,top:"search_box"==t.name||"nav_bar"==t.name},style:A.colorTxt?"background-color:"+A.colorPickerTxt+";":"background-color:#fff;",on:{click:function(n){return n.stopPropagation(),A.bindconfig(t,e)}}},[n(t.name,{ref:"getComponentData",refInFor:!0,tag:"component",attrs:{configData:A.propsObj,index:e,num:t.num}}),n("div",{staticClass:"delete-box"},[n("div",{staticClass:"handleType"},[n("Tooltip",{attrs:{content:"删除当前模块",placement:"top"}},[n("div",{staticClass:"iconfont iconshanchu2",on:{click:function(n){return n.stopPropagation(),A.bindDelete(t,e)}}})]),n("div",{staticClass:"iconfont iconfuzhi",on:{click:function(n){return n.stopPropagation(),A.bindAddDom(t,0,e)}}}),n("div",{staticClass:"iconfont iconshangyi",class:0===e?"on":"",on:{click:function(n){return n.stopPropagation(),A.movePage(t,e,1)}}}),n("div",{staticClass:"iconfont iconxiayi",class:e===A.mConfig.length-1?"on":"",on:{click:function(n){return n.stopPropagation(),A.movePage(t,e,0)}}})],1)]),n("div",{staticClass:"handle"})],1)})),0)],1)])]),n("div",{staticClass:"overflowy"},[n("div",{staticClass:"page-foot",class:{on:-101==A.activeIndex},on:{click:A.showFoot}},[n("footPage"),n("div",{staticClass:"delete-box"}),n("div",{staticClass:"handle"})],1)])])])]),n("div",{staticClass:"right-box"},A._l(A.rConfig,(function(t,e){return n("div",{key:e,staticClass:"mConfig-item",staticStyle:{"background-color":"#fff"}},[n("div",{staticClass:"title-bar"},[A._v(A._s(t.cname))]),n(t.configName,{tag:"component",attrs:{activeIndex:A.activeIndex,num:t.num,index:e},on:{config:A.config}})],1)})),0)])])],1)}),[],!1,null,"66b659df",null);t.default=h.exports},d8b9:function(A,t,e){"use strict";e.r(t);var n=e("f3f3"),i=e("2f62");n={name:"z_ueditor",cname:"富文本",configName:"c_ueditor_box",icon:"iconfuwenben1",type:2,defaultName:"richText",props:{index:{type:null,default:-1},num:{type:null}},computed:Object(n.a)({},Object(i.d)("mobildConfig",["defaultArray"])),watch:{pageData:{handler:function(A,t){this.setConfig(A)},deep:!0},num:{handler:function(A,t){A=this.$store.state.mobildConfig.defaultArray[A],this.setConfig(A)},deep:!0},defaultArray:{handler:function(A,t){var e=this.$store.state.mobildConfig.defaultArray[this.num];this.setConfig(e)},deep:!0}},data:function(){return{defaultConfig:{name:"richText",timestamp:this.num,setUp:{tabVal:0},bgColor:{title:"背景色",name:"bgColor",default:[{item:"#f5f5f5"}],color:[{item:"#f5f5f5"}]},lrConfig:{title:"左右边距",val:0,min:0},udConfig:{title:"上下边距",val:0,min:0},richText:{val:""}},cSlider:"",bgColor:"",confObj:{},pageData:{},edge:"",udEdge:"",richText:""}},mounted:function(){var A=this;this.$nextTick((function(){A.pageData=A.$store.state.mobildConfig.defaultArray[A.num],A.setConfig(A.pageData)}))},methods:{setConfig:function(A){A&&A.lrConfig&&(this.bgColor=A.bgColor.color[0].item,this.edge=A.lrConfig.val,this.udEdge=A.udConfig.val,this.richText=A.richText.val)}}},e("7eb2"),i=e("2877"),e=Object(i.a)(n,(function(){var A=this.$createElement;A=this._self._c||A;return A("div",{staticClass:"mobile-page"},[A("div",{staticClass:"box",style:{background:this.bgColor,marginLeft:this.edge+"px",marginRight:this.edge+"px",marginTop:this.udEdge+"px"},domProps:{innerHTML:this._s(this.richText)}})])}),[],!1,null,"2f75b30e",null);t.default=e.exports},d9e4:function(A,t,e){},da61:function(A,t,e){},dd26:function(A,t,e){},dd84:function(A,t,e){},de7d:function(A,t,e){"use strict";var n=e("1d1b");e.n(n).a},df85:function(A,t,e){"use strict";e.r(t);var n=e("f3f3"),i=(e("e9c4"),e("ab01")),o=e("befa");n={name:"c_picture_cube",componentsName:"picture_cube",cname:"图片魔方",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},components:Object(n.a)(Object(n.a)({},i.a),{},{rightBtn:o.a}),data:function(){return{configObj:{},rCom:[{components:i.a.c_tab,configNme:"tabConfig"},{components:i.a.c_pictrue,configNme:"picStyle"},{components:i.a.c_menu_list,configNme:"menuConfig"},{components:i.a.c_bg_color,configNme:"bgColor"},{components:i.a.c_txt_tab,configNme:"bgStyle"},{components:i.a.c_slider,configNme:"prConfig"},{components:i.a.c_slider,configNme:"mbConfig"}]}},watch:{num:function(A){A=JSON.parse(JSON.stringify(this.$store.state.mobildConfig.defaultArray[A])),this.configObj=A},configObj:{handler:function(A,t){this.$store.commit("mobildConfig/UPDATEARR",{num:this.num,val:A})},deep:!0}},mounted:function(){var A=this;this.$nextTick((function(){var t=JSON.parse(JSON.stringify(A.$store.state.mobildConfig.defaultArray[A.num]));A.configObj=t}))},methods:{}},e("059f"),o=e("2877"),e=Object(o.a)(n,(function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{staticClass:"mobile-config pro"},[A._l(A.rCom,(function(t,n){return e("div",{key:n},[e(t.components.name,{key:n,ref:"childData",refInFor:!0,tag:"component",attrs:{configObj:A.configObj,configNme:t.configNme,index:A.activeIndex,num:t.num}})],1)})),e("rightBtn",{attrs:{activeIndex:A.activeIndex,configObj:A.configObj}})],2)}),[],!1,null,"46ea32b8",null);t.default=e.exports},e5075:function(A,t,e){"use strict";var n=e("afe2");e.n(n).a},e642:function(A,t,e){var n={"./c_bg_color.vue":"62cf","./c_cascader.vue":"d767","./c_foot.vue":"be50","./c_goods.vue":"4fa6","./c_hot_box.vue":"3fc7","./c_hot_imgs.vue":"8581","./c_hot_word.vue":"b646","./c_input_item.vue":"d670","./c_input_number.vue":"b0c5","./c_is_show.vue":"b85c","./c_menu_list.vue":"5969","./c_page_ueditor.vue":"cfff","./c_pictrue.vue":"2144","./c_product.vue":"d115","./c_select.vue":"02a4","./c_set_up.vue":"967b","./c_slider.vue":"d4ce","./c_status.vue":"55ab","./c_tab.vue":"a920","./c_txt_tab.vue":"1e18","./c_upload_img.vue":"d36e"};function i(A){return A=o(A),e(A)}function o(A){if(e.o(n,A))return n[A];throw(A=new Error("Cannot find module '"+A+"'")).code="MODULE_NOT_FOUND",A}i.keys=function(){return Object.keys(n)},i.resolve=o,(A.exports=i).id="e642"},e92f:function(A,t,e){"use strict";var n=e("13c8");e.n(n).a},e945:function(A,t,e){"use strict";e.r(t);var n=e("f3f3"),i=(e("d81d"),e("d3b7"),e("25f0"),e("f478")),o=e("2f62"),a=e("61f7");n={name:"home_new_list",filters:{formatDate:function(A){if(0!==A)return A=new Date(1e3*A),Object(a.a)(A,"yyyy-MM-dd hh:mm")}},cname:"新闻列表",icon:"iconwenzhangliebiao1",configName:"c_new_list",type:0,defaultName:"articleList",props:{index:{type:null},num:{type:null}},computed:Object(n.a)({},Object(o.d)("mobildConfig",["defaultArray"])),watch:{pageData:{handler:function(A,t){this.setConfig(A)},deep:!0},num:{handler:function(A,t){A=this.$store.state.mobildConfig.defaultArray[A],this.setConfig(A)},deep:!0},defaultArray:{handler:function(A,t){var e=this.$store.state.mobildConfig.defaultArray[this.num];this.setConfig(e)},deep:!0}},data:function(){return{list:[],defaultConfig:{name:"articleList",timestamp:this.num,setUp:{tabVal:0},numConfig:{val:3,title:"文章数量"},selectConfig:{title:"文章分类",activeValue:"",list:[{activeValue:"",title:""},{activeValue:"",title:""}]},selectList:{title:"文章列表",list:[]},listStyle:{cname:"listStyle",title:"文本位置",type:0,list:[{val:"居左",icon:"icondoc_left"},{val:"居右",icon:"icondoc_right"}]},bgColor:{title:"背景颜色",default:[{item:"#fff"}],color:[{item:"#fff"}]},bgStyle:{title:"背景样式",name:"bgStyle",type:0,list:[{val:"直角",icon:"iconPic_square"},{val:"圆角",icon:"iconPic_fillet"}]},conStyle:{title:"内容样式",name:"conStyle",type:0,list:[{val:"直角",icon:"iconPic_square"},{val:"圆角",icon:"iconPic_fillet"}]},prConfig:{title:"背景边距",val:0,min:0},itemConfig:{title:"文章间距",val:0,min:0},mbConfig:{title:"页面间距",val:0,min:0}},mTOP:0,bgColor:[],itemEdge:0,listStyle:0,itemStyle:0,bgStyle:0,conStyle:0,prConfig:0}},created:function(){},mounted:function(){var A=this;this.$nextTick((function(){A.pageData=A.$store.state.mobildConfig.defaultArray[A.num],A.setConfig(A.pageData)}))},methods:{categoryList:function(){var A=this;Object(i.a)().then((function(t){A.pageData.selectConfig.list=t.data,A.pageData.selectConfig.list.map((function(A){A.id.toString()})),A.$store.commit("mobildConfig/UPDATEARR",{num:A.num,val:A.pageData})}))},setConfig:function(A){A&&A.mbConfig&&(this.bgColor=A.bgColor.color[0].item,this.mTOP=A.mbConfig.val,this.itemEdge=A.itemConfig.val,this.listStyle=A.listStyle.type,this.bgStyle=A.bgStyle.type,this.prConfig=A.prConfig.val,this.conStyle=A.conStyle.type,(A=A.selectList.list||[]).length?this.list=A:this.list=[{title:"文章标题文章标题文章标题文章 标题文章标题",add_time:"1621474811",type:"noList"}])}}},e("a226"),o=e("2877"),e=Object(o.a)(n,(function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{staticClass:"mobile-page",style:{marginTop:A.mTOP+"px",padding:"0 "+A.prConfig+"px"}},[e("div",{staticClass:"list-wrapper",class:{pageOn:1===A.bgStyle},style:{background:A.bgColor}},A._l(A.list,(function(t,n){return e("div",{key:n,staticClass:"item",class:{on:0==A.listStyle,pageOn:1===A.conStyle},style:{marginBottom:A.itemEdge+"px"}},["noList"===A.list[0].type?e("div",{staticClass:"empty-box on"},[e("span",{staticClass:"iconfont-diy icontupian"})]):e("div",{staticClass:"pictrue"},[e("img",{attrs:{src:t.image_input[0]}})]),e("div",{staticClass:"info"},[e("div",{staticClass:"title line2"},[A._v(A._s(t.title))]),e("div",{staticClass:"time"},[A._v(A._s(A._f("formatDate")(t.add_time)))])])])})),0)])}),[],!1,null,"e394c744",null);t.default=e.exports},ec5d:function(A,t,e){},ef65:function(A,t,e){},efdc:function(A,t,e){},f027:function(A,t,e){"use strict";var n=e("bd59");e.n(n).a},f184:function(A,t,e){},f5dee:function(A,t,e){"use strict";e.r(t);var n=e("f3f3"),i=e("2f62");n={name:"home_seckill",cname:"秒杀",configName:"c_home_seckill",icon:"iconmiaosha1",type:1,defaultName:"seckill",props:{index:{type:null},num:{type:null}},computed:Object(n.a)({},Object(i.d)("mobildConfig",["defaultArray"])),watch:{pageData:{handler:function(A,t){this.setConfig(A)},deep:!0},num:{handler:function(A,t){A=this.$store.state.mobildConfig.defaultArray[A],this.setConfig(A)},deep:!0},defaultArray:{handler:function(A,t){var e=this.$store.state.mobildConfig.defaultArray[this.num];this.setConfig(e)},deep:!0}},data:function(){return{defaultConfig:{name:"seckill",timestamp:this.num,setUp:{tabVal:0},countDownColor:{title:"倒计时背景色",name:"countDownColor",default:[{item:"rgba(252,60,62,0.09)"}],color:[{item:"rgba(252,60,62,0.09)"}]},themeColor:{title:"主题风格",name:"themeColor",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},conStyle:{title:"背景样式",name:"conStyle",type:1,list:[{val:"直角",icon:"iconPic_square"},{val:"圆角",icon:"iconPic_fillet"}]},bgColor:{title:"背景颜色",name:"themeColor",default:[{item:"#fff"}],color:[{item:"#fff"}]},prConfig:{title:"背景边距",val:10,min:0},priceShow:{title:"是否显示价格",val:!0},discountShow:{title:"是否显示折扣标签",val:!0},titleShow:{title:"是否显示名称",val:!0},seckillShow:{title:"抢购标签",val:!0},numberConfig:{val:3},lrConfig:{title:"左右边距",val:10,min:0},mbConfig:{title:"页面间距",val:0,min:0},imgConfig:{title:"最多可添加1张图片,建议宽度18 * 18px",url:"http://pro.crmeb.net/static/images/spike-icon-002.gif"}},list:[{img:"",name:"小米家用电饭煲小米家用电饭煲",price:"234",discount:"1.2"},{img:"",name:"小米家用电饭煲小米家用电饭煲",price:"234",discount:"1.2"},{img:"",name:"小米家用电饭煲小米家用电饭煲",price:"234",discount:"1.2"}],mTOP:0,listRight:0,countDownColor:"",themeColor:"",pageData:{},imgUrl:"",priceShow:!0,discountShow:!0,titleShow:!0,seckillShow:!0,prConfig:0,bgColor:"",conStyle:1}},mounted:function(){var A=this;this.$nextTick((function(){A.pageData=A.$store.state.mobildConfig.defaultArray[A.num],A.setConfig(A.pageData)}))},methods:{setConfig:function(A){A&&A.mbConfig&&(this.mTOP=A.mbConfig.val,this.listRight=A.lrConfig.val,this.countDownColor=A.countDownColor.color[0].item,this.themeColor=A.themeColor.color[0].item,this.imgUrl=A.imgConfig.url,this.priceShow=A.priceShow.val,this.discountShow=A.discountShow.val,this.titleShow=A.titleShow.val,this.seckillShow=A.seckillShow.val,this.prConfig=A.prConfig.val,this.bgColor=A.bgColor.color[0].item,this.conStyle=A.conStyle.type)}}},e("9795"),i=e("2877"),e=Object(i.a)(n,(function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{style:{padding:"0 "+A.prConfig+"px"}},[e("div",{staticClass:"seckill-box",class:A.conStyle?"":"seckillOn",style:{background:A.bgColor,marginTop:A.mTOP+"px"}},[e("div",{staticClass:"hd"},[e("div",{staticClass:"left"},[e("img",{attrs:{src:A.imgUrl,alt:""}}),e("p",[A._v("限时秒杀")]),e("div",{staticClass:"time"},[e("span",{style:{background:A.countDownColor,color:A.themeColor}},[A._v("00")]),e("em",[A._v(":")]),e("span",{style:{background:A.countDownColor,color:A.themeColor}},[A._v("00")]),e("em",[A._v(":")]),e("span",{style:{background:A.countDownColor,color:A.themeColor}},[A._v("00")])])]),e("div",{staticClass:"right"},[A._v("更多")])]),e("div",{staticClass:"list-wrapper"},A._l(A.list,(function(t,n){return e("div",{staticClass:"list-item",style:{marginRight:A.listRight+"px"},attrs:{index:n}},[e("div",{staticClass:"img-box"},[t.img?e("img",{attrs:{src:t.img,alt:""}}):A._e(),A._m(0,!0),A.discountShow?e("div",{staticClass:"discount",style:{borderColor:A.themeColor,color:A.themeColor}},[A._v("\n "+A._s(t.discount)+"折起\n ")]):A._e()]),A.titleShow?e("div",{staticClass:"title line1"},[A._v(A._s(t.name))]):A._e(),e("div",{staticClass:"price"},[A.seckillShow?e("span",{staticClass:"label",style:{background:A.themeColor}},[A._v("抢")]):A._e(),A.priceShow?e("span",{staticClass:"num-label",style:{color:A.themeColor}},[A._v("¥")]):A._e(),A.priceShow?e("span",{staticClass:"num",style:{color:A.themeColor}},[A._v(A._s(t.price))]):A._e()])])})),0)])])}),[function(){var A=this.$createElement;A=this._self._c||A;return A("div",{staticClass:"empty-box"},[A("span",{staticClass:"iconfont-diy icontupian"})])}],!1,null,"9308f27c",null);t.default=e.exports},fa85:function(A,t,e){"use strict";var n=e("9fb3");e.n(n).a},fd39:function(A,t,e){"use strict";var n=e("dd84");e.n(n).a},fe93:function(A,t,e){},ff48:function(A,t,e){"use strict";var n=e("05c9");e.n(n).a}}]);
\ No newline at end of file
diff --git a/crmeb/public/admin/system_static/js/chunk-1c9d17cc.f13ba5ff.js b/crmeb/public/admin/system_static/js/chunk-1c9d17cc.f13ba5ff.js
new file mode 100644
index 000000000..453b6966c
--- /dev/null
+++ b/crmeb/public/admin/system_static/js/chunk-1c9d17cc.f13ba5ff.js
@@ -0,0 +1 @@
+(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-1c9d17cc"],{"7d44":function(t,e,r){"use strict";var n=r("c855");r.n(n).a},a8d2:function(t,e,r){"use strict";r.r(e);var n=r("0122"),o=r("c964"),i=(r("d9e2"),r("ac1f"),r("00b4"),r("a4d3"),r("e01a"),r("d3b7"),r("d28b"),r("3ca3"),r("ddb0"),r("b636"),r("944a"),r("0c47"),r("23dc"),r("3410"),r("159b"),r("b0c0"),r("131a"),r("fb6a"),r("8593")),a=r("c276");function c(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */c=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(e){l=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var i,a,c,u;e=e&&e.prototype instanceof d?e:d,e=Object.create(e.prototype),n=new _(n||[]);return o(e,"_invoke",{value:(i=t,a=r,c=n,u="suspendedStart",function(t,e){if("executing"===u)throw new Error("Generator is already running");if("completed"===u){if("throw"===t)throw e;return k()}for(c.method=t,c.arg=e;;){var r=c.delegate;if(r&&(r=function t(e,r){var n=r.method,o=e.iterator[n];return void 0===o?(r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=void 0,t(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p):(n=h(o,e.iterator,r.arg),"throw"===n.type?(r.method="throw",r.arg=n.arg,r.delegate=null,p):(o=n.arg,o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,p):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,p)))}(r,c),r)){if(r===p)continue;return r}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if("suspendedStart"===u)throw u="completed",c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);if(u="executing",r=h(i,a,c),"normal"===r.type){if(u=c.done?"completed":"suspendedYield",r.arg===p)continue;return{value:r.arg,done:c.done}}"throw"===r.type&&(u="completed",c.method="throw",c.arg=r.arg)}})}),e}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=f;var p={};function d(){}function v(){}function y(){}i={};var m=(l(i,a,(function(){return this})),Object.getPrototypeOf),g=(m=m&&m(m(E([]))),m&&m!==e&&r.call(m,a)&&(i=m),y.prototype=d.prototype=Object.create(i));function w(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){var i;o(this,"_invoke",{value:function(o,a){function c(){return new e((function(i,c){!function o(i,a,c,u){var s;i=h(t[i],t,a);if("throw"!==i.type)return(a=(s=i.arg).value)&&"object"==Object(n.a)(a)&&r.call(a,"__await")?e.resolve(a.__await).then((function(t){o("next",t,c,u)}),(function(t){o("throw",t,c,u)})):e.resolve(a).then((function(t){s.value=t,c(s)}),(function(t){return o("throw",t,c,u)}));u(i.arg)}(o,a,i,c)}))}return i=i?i.then(c,c):c()}})}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function E(t){if(t){var e,n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return e=-1,(n=function n(){for(;++e '密码'")])],1),e("FormItem",{staticClass:"maxInpt"},[e("Button",{staticClass:"btn",attrs:{type:"primary",long:"",size:"large"},on:{click:function(e){return t.handleSubmit("formInline")}}},[t._v("登录")])],1)],1)],1)])],1)],1)}),[],!1,null,"af23262e",null);e.default=r.exports},c855:function(t,e,r){}}]);
\ No newline at end of file
diff --git a/crmeb/public/admin/system_static/js/chunk-23bc9c3e.f1032f24.js b/crmeb/public/admin/system_static/js/chunk-23bc9c3e.f1032f24.js
new file mode 100644
index 000000000..be4790e7f
--- /dev/null
+++ b/crmeb/public/admin/system_static/js/chunk-23bc9c3e.f1032f24.js
@@ -0,0 +1 @@
+(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-23bc9c3e"],{1135:function(t,e,n){},"31b4":function(t,e,n){"use strict";var r=n("f3f3"),o=n("9860"),i=(o=n.n(o),n("6b6c")),a=n("2f62");o={name:"edit",components:{formCreate:o.a.$form()},computed:Object(r.a)({},Object(a.d)("userLevel",["taskId","levelId"])),props:{FromData:{type:Object,default:null},update:{type:Boolean,default:!0}},data:function(){return{modals:!1,type:0,loading:!1,config:{global:{upload:{props:{onSuccess:function(t,e){200===t.status?e.url=t.data.src:this.Message.error(t.msg)}}}}}}},methods:{couponsType:function(){this.$parent.addType(this.type)},onSubmit:function(t){var e=this;this.loading||(this.loading=!0,Object(i.a)({url:this.FromData.action,method:this.FromData.method,data:t}).then((function(t){e.update&&e.$parent.getList(),e.$Message.success(t.msg),e.modals=!1,setTimeout((function(){e.$emit("submitFail"),e.loading=!1}),1e3)})).catch((function(t){e.loading=!1,e.$Message.error(t.msg)})))},cancel:function(){this.type=0}}},n("6ea5"),r=n("2877"),a=Object(r.a)(o,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return t.FromData?e("div",[e("Modal",{attrs:{scrollable:"","footer-hide":"",closable:"",title:t.FromData.title,"z-index":1,width:"700"},on:{"on-cancel":t.cancel},model:{value:t.modals,callback:function(e){t.modals=e},expression:"modals"}},[["/marketing/coupon/save.html"===t.FromData.action?e("div",{staticClass:"radio acea-row row-middle"},[e("div",{staticClass:"name ivu-form-item-content"},[t._v("优惠券类型")]),e("Radio-group",{on:{"on-change":t.couponsType},model:{value:t.type,callback:function(e){t.type=e},expression:"type"}},[e("Radio",{attrs:{label:0}},[t._v("通用券")]),e("Radio",{attrs:{label:1}},[t._v("品类券")]),e("Radio",{attrs:{label:2}},[t._v("商品券")])],1)],1):t._e()],e("form-create",{ref:"fc",staticClass:"formBox",attrs:{option:t.config,rule:Array.from(t.FromData.rules),handleIcon:"false"},on:{submit:t.onSubmit}})],2)],1):t._e()}),[],!1,null,"306b6d59",null);e.a=a.exports},6373:function(t,e,n){},"6ea5":function(t,e,n){"use strict";var r=n("6373");n.n(r).a},"857a":function(t,e,n){var r=n("e330"),o=n("1d80"),i=n("577e"),a=/"/g,c=r("".replace);t.exports=function(t,e,n,r){t=i(o(t));var s="<"+e;return""!==n&&(s+=" "+n+'="'+c(i(r),a,""")+'"'),s+">"+t+""+e+">"}},9911:function(t,e,n){"use strict";var r=n("23e7"),o=n("857a");r({target:"String",proto:!0,forced:n("af03")("link")},{link:function(t){return o(this,"a","href",t)}})},af03:function(t,e,n){var r=n("d039");t.exports=function(t){return r((function(){var e=""[t]('"');return e!==e.toLowerCase()||3c(e)?1:-1})),r=o.length,h=0;h{b} : {c} ({d}%)"},legend:{orient:"vertical",left:"right",data:this.infoLists.bing_xdata||[]},series:[{name:"访问来源",type:"pie",radius:"70%",center:["50%","60%"],data:this.infoLists.bing_data||[],emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]}:{tooltip:{trigger:"axis"},toolbox:{},legend:{data:this.infoLists.legend||[]},color:["#1495EB","#00CC66","#F9D249","#ff9900","#9860DF"],grid:{left:16,right:25,bottom:10,top:40,containLabel:!0},xAxis:[{type:"category",axisLine:{lineStyle:{color:"#D7DDE4"}},axisTick:{alignWithLabel:!0,lineStyle:{color:"#D7DDE4"}},splitLine:{show:!1,lineStyle:{color:"#F5F7F9"}},axisLabel:{interval:0,rotate:40,textStyle:{color:"#7F8B9C"}},data:this.infoLists.xAxis}],yAxis:this.yAxisData.length?this.yAxisData:{axisLine:{show:!1},axisTick:{show:!1},axisLabel:{textStyle:{color:"#7F8B9C"}},splitLine:{show:!0,lineStyle:{color:"#F5F7F9"}},type:"value"},series:this.seriesArray};this.myChart.setOption(t,!0)},handleResize:function(){this.myChart.resize()}},beforeDestroy:function(){window.removeEventListener("resize",this.wsFunc),this.myChart&&(this.myChart.dispose(),this.myChart=null)}},r=r("2877"),r=Object(r.a)(n,(function(){var t=this.$createElement;t=this._self._c||t;return t("div",[t("div",{staticStyle:{height:"300px"},attrs:{id:this.echarts}})])}),[],!1,null,"bae6dede",null);e.a=r.exports},9903:function(t,e,r){},bbe4:function(t,e,r){"use strict";var n=r("d1b8");r.n(n).a},bfd0:function(t,e,r){"use strict";var n=r("dd74");r.n(n).a},c49a:function(t,e,r){"use strict";var n=r("5a5b");r.n(n).a},c8d6:function(t,e,r){"use strict";var n=r("50da");r.n(n).a},d1b8:function(t,e,r){},dd74:function(t,e,r){},e217:function(t,e,r){"use strict";var n=r("55e9");r.n(n).a},f75a:function(t,e,r){"use strict";r.r(e),r("a4d3"),r("e01a"),r("d3b7"),r("d28b"),r("3ca3"),r("ddb0"),r("b636"),r("944a"),r("0c47"),r("23dc"),r("3410"),r("d9e2"),r("159b"),r("b0c0"),r("131a"),r("fb6a");var n=r("0122"),o=r("c964"),i=r("313e"),a=r.n(i),s=r("6b6c");function c(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */c=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(e){l=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i,a,s,c;e=e&&e.prototype instanceof p?e:p,e=Object.create(e.prototype),n=new _(n||[]);return o(e,"_invoke",{value:(i=t,a=r,s=n,c="suspendedStart",function(t,e){if("executing"===c)throw new Error("Generator is already running");if("completed"===c){if("throw"===t)throw e;return L()}for(s.method=t,s.arg=e;;){var r=s.delegate;if(r&&(r=function t(e,r){var n=r.method,o=e.iterator[n];return void 0===o?(r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=void 0,t(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f):(n=d(o,e.iterator,r.arg),"throw"===n.type?(r.method="throw",r.arg=n.arg,r.delegate=null,f):(o=n.arg,o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,f):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,f)))}(r,s),r)){if(r===f)continue;return r}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if("suspendedStart"===c)throw c="completed",s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);if(c="executing",r=d(i,a,s),"normal"===r.type){if(c=s.done?"completed":"suspendedYield",r.arg===f)continue;return{value:r.arg,done:s.done}}"throw"===r.type&&(c="completed",s.method="throw",s.arg=r.arg)}})}),e}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=h;var f={};function p(){}function y(){}function v(){}i={};var g=(l(i,a,(function(){return this})),Object.getPrototypeOf),m=(g=g&&g(g(k([]))),g&&g!==e&&r.call(g,a)&&(i=g),v.prototype=p.prototype=Object.create(i));function b(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var i;o(this,"_invoke",{value:function(o,a){function s(){return new e((function(i,s){!function o(i,a,s,c){var u;i=d(t[i],t,a);if("throw"!==i.type)return(a=(u=i.arg).value)&&"object"==Object(n.a)(a)&&r.call(a,"__await")?e.resolve(a.__await).then((function(t){o("next",t,s,c)}),(function(t){o("throw",t,s,c)})):e.resolve(a).then((function(t){u.value=t,s(u)}),(function(t){return o("throw",t,s,c)}));c(i.arg)}(o,a,i,s)}))}return i=i?i.then(s,s):s()}})}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function k(t){if(t){var e,n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return e=-1,(n=function n(){for(;++er[t.sortKey]?1:-1}))),"desc"===this.sortType?e.sort((function(e,r){return e[t.sortKey]document.documentElement.clientWidth?{x:document.documentElement.clientWidth-99-5,y:this.dropdown.y}:this.dropdown}},mounted:function(){document.body.addEventListener("click",this.closeContextmenu)},methods:{onCurrentContextmenuClick:function(t){this.$emit("currentContextmenuClick",{id:t,path:this.path})},openContextmenu:function(t){var e=this;this.path=t.path,t.meta.isAffix?this.dropdownList[1].affix=!0:this.dropdownList[1].affix=!1,this.closeContextmenu(),setTimeout((function(){e.isShow=!0}),80)},closeContextmenu:function(){this.isShow=!1}},destroyed:function(){document.body.removeEventListener("click",this.closeContextmenu)},watch:{dropdown:{handler:function(t){t=t.x,t+99>document.documentElement.clientWidth?this.arrowLeft=99-(document.documentElement.clientWidth-t):this.arrowLeft=10},deep:!0}}}),o=(s("62f1"),s("2877")),a=(i=Object(o.a)(i,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("transition",{attrs:{name:"el-zoom-in-center"}},[s("ul",{directives:[{name:"show",rawName:"v-show",value:t.isShow,expression:"isShow"}],staticClass:"el-dropdown-menu el-popper el-dropdown-menu--medium custom-contextmenu",style:"top: "+t.dropdowns.y+"px;left: "+t.dropdowns.x+"px;",attrs:{"x-placement":"bottom-end",id:"contextmenu"}},[t._l(t.dropdownList,(function(e,n){return s("li",{key:n,staticClass:"el-dropdown-menu__item",on:{click:function(s){return t.onCurrentContextmenuClick(e.id)}}},[e.affix?t._e():[s("i",{class:e.icon}),s("span",[t._v(t._s(t.$t(e.txt)))])]],2)})),s("div",{staticClass:"popper__arrow",style:{left:t.arrowLeft+"px"},attrs:{"x-arrow":""}})],2)])],1)}),[],!1,null,"07a5868a",null).exports,s("5d2d"),s("2f62")),r=s("d708");i={name:"tagsView",components:{Contextmenu:i},data:function(){return{userInfo:{},tagsDropdown:{x:"",y:""},tagsRefsIndex:0,tagsRoutePath:this.$route.path,tagsViewRoutesList:[]}},computed:{getThemeConfig:function(){return this.$store.state.themeConfig.themeConfig},setTagsStyle:function(){return this.$store.state.themeConfig.themeConfig.tagsStyle},tagsViewList:function(){return this.$store.state.app.tagNavList}},created:function(){var t=this;this.bus.$on("onCurrentContextmenuClick",(function(e){t.onCurrentContextmenuClick(e)})),this.tagsViewRoutesList=this.$store.state.app.tagNavList},mounted:function(){this.$store.state.app.tagNavList.length||this.getTagsViewRoutes()},methods:Object(n.a)(Object(n.a)({},Object(a.c)(["setBreadCrumb","setTagNavList","addTag","setLocal","setHomeRoute","closeTag"])),{},{getRoutesList:function(){return this.$store.state.routesList.routesList},onTagsClick:function(t,e){this.tagsRoutePath=t.path,this.tagsRefsIndex=e;try{"home_index"==t.name?this.$router.replace("".concat(r.a.routePre,"/home/")):this.$router.push(t)}catch(t){}},getTagsRefsIndex:function(t){0c(e)?1:-1})),r=i.length,d=0;de.formValidate.attrs[0].stock?e.$Message.error("砍价限量不能超过规格库存"):(e.current+=1,void setTimeout((function(t){e.formValidate.description+=" "}),0))):e.$Message.warning("请完善您的信息")})):this.formValidate.image?(this.current+=1,3==this.current&&setTimeout((function(t){e.formValidate.rule+=" "}),0)):this.$Message.warning("请选择商品")},step:function(){this.current--},getContent:function(t){this.formValidate.description=t},getRole:function(t){this.formValidate.rule=t},modalPicTap:function(t,e,a){this.modalPic=!0,this.isChoice="dan"===t?"单选":"多选",this.picTit=e,this.tableIndex=a},getPic:function(t){"danFrom"===this.picTit?this.formValidate.image=t.att_dir:(this.specsData[this.tableIndex].pic=t.att_dir,this.formValidate.attrs[0].pic=t.att_dir),this.modalPic=!1},getPicD:function(t){var e=this;this.images=t,this.images.map((function(t){e.formValidate.images.push(t.att_dir),e.formValidate.images=e.formValidate.images.splice(0,10)})),this.modalPic=!1},handleRemove:function(t){this.images.splice(t,1),this.formValidate.images.splice(t,1)},changeGoods:function(){this.modals=!0,this.$refs.goodslist.formValidate.is_presale=0,this.$refs.goodslist.formValidate.is_virtual=0,this.$refs.goodslist.getList(),this.$refs.goodslist.goodsCategory()},validate:function(t,e,a){!1===e&&this.$Message.error(a)},addCustomDialog:function(t){window.UE.registerUI("test-dialog",(function(t,e){var a=new window.UE.ui.Dialog({iframeUrl:this.$routeProStr+"/widget.images/index.html?fodder=dialog",editor:t,name:e,title:"上传图片",cssRules:"width:960px;height:550px;padding:20px;"});return this.dialog=a,new window.UE.ui.Button({name:"dialog-button",title:"上传图片",cssRules:"background-image: url(../../../assets/images/icons.png);background-position: -726px -77px;",onclick:function(){a.render(),a.open()}})}),37)}}},a("c2d9"),u=a("2877"),p=Object(u.a)(c,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"i-layout-page-header header-title"},[a("div",{staticClass:"fl_header"},[a("router-link",{attrs:{to:{path:t.$routeProStr+"/marketing/store_bargain/index"}}},[a("Button",{attrs:{icon:"ios-arrow-back",size:"small",type:"text"}},[t._v("返回")])],1),a("Divider",{attrs:{type:"vertical"}}),a("span",{staticClass:"ivu-page-header-title mr20",staticStyle:{padding:"0"},domProps:{textContent:t._s("0"!==t.$route.params.id?"编辑砍价商品":"添加砍价商品")}})],1)]),a("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[a("Row",{staticClass:"mt30 acea-row row-middle row-center",attrs:{type:"flex"}},[a("Col",{attrs:{span:"20"}},[a("Steps",{attrs:{current:t.current}},[a("Step",{attrs:{title:"选择砍价商品"}}),a("Step",{attrs:{title:"填写基础信息"}}),a("Step",{attrs:{title:"修改商品详情"}}),a("Step",{attrs:{title:"修改商品规则"}})],1)],1),a("Col",{attrs:{span:"23"}},[a("Form",{ref:"formValidate",staticClass:"form mt30",attrs:{rules:t.ruleValidate,model:t.formValidate,"label-width":t.labelWidth,"label-position":t.labelPosition},on:{"on-validate":t.validate},nativeOn:{submit:function(t){t.preventDefault()}}},[a("FormItem",{directives:[{name:"show",rawName:"v-show",value:0===t.current,expression:"current === 0"}],attrs:{label:"选择商品:",prop:"image_input"}},[a("div",{staticClass:"picBox",on:{click:t.changeGoods}},[t.formValidate.image?a("div",{staticClass:"pictrue"},[a("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.formValidate.image,expression:"formValidate.image"}]})]):a("div",{staticClass:"upLoad acea-row row-center-wrapper"},[a("Icon",{staticClass:"iconfonts",attrs:{type:"ios-camera-outline",size:"26"}})],1)])]),a("Row",{directives:[{name:"show",rawName:"v-show",value:1===t.current,expression:"current === 1"}],attrs:{type:"flex"}},[a("Col",{attrs:{span:"24"}},[a("FormItem",{attrs:{label:"商品主图:",prop:"image"}},[a("div",{staticClass:"picBox",on:{click:function(e){return t.modalPicTap("dan","danFrom")}}},[t.formValidate.image?a("div",{staticClass:"pictrue"},[a("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.formValidate.image,expression:"formValidate.image"}]})]):a("div",{staticClass:"upLoad acea-row row-center-wrapper"},[a("Icon",{staticClass:"iconfonts",attrs:{type:"ios-camera-outline",size:"26"}})],1)])])],1),a("Col",{attrs:{span:"24"}},[a("FormItem",{attrs:{label:"商品轮播图:",prop:"images"}},[a("div",{staticClass:"acea-row"},[t._l(t.formValidate.images,(function(e,r){return a("div",{key:r,staticClass:"pictrue",attrs:{draggable:"true"},on:{dragstart:function(a){return t.handleDragStart(a,e)},dragover:function(a){return a.preventDefault(),t.handleDragOver(a,e)},dragenter:function(a){return t.handleDragEnter(a,e)},dragend:function(a){return t.handleDragEnd(a,e)}}},[a("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e,expression:"item"}]}),a("Button",{staticClass:"btndel",attrs:{shape:"circle",icon:"md-close"},nativeOn:{click:function(e){return t.handleRemove(r)}}})],1)})),t.formValidate.images.length<10?a("div",{staticClass:"upLoad acea-row row-center-wrapper",on:{click:function(e){return t.modalPicTap("duo")}}},[a("Icon",{staticClass:"iconfonts",attrs:{type:"ios-camera-outline",size:"26"}})],1):t._e()],2)])],1),a("Col",{attrs:{span:"24"}},[a("Col",t._b({},"Col",t.grid,!1),[a("FormItem",{attrs:{label:"砍价活动名称:",prop:"title","label-for":"title"}},[a("Input",{attrs:{placeholder:"请输入砍价活动名称","element-id":"title"},model:{value:t.formValidate.title,callback:function(e){t.$set(t.formValidate,"title",e)},expression:"formValidate.title"}})],1)],1)],1),a("Col",{attrs:{span:"24"}},[a("Col",t._b({},"Col",t.grid,!1),[a("FormItem",{attrs:{label:"砍价活动简介:",prop:"info","label-for":"info"}},[a("Input",{attrs:{placeholder:"请输入砍价活动简介",type:"textarea",rows:4,"element-id":"info"},model:{value:t.formValidate.info,callback:function(e){t.$set(t.formValidate,"info",e)},expression:"formValidate.info"}})],1)],1)],1),a("Col",{attrs:{span:"24"}},[a("FormItem",{attrs:{label:"活动时间:",prop:"section_time"}},[a("div",{staticClass:"acea-row row-middle"},[a("DatePicker",{staticClass:"perW30",attrs:{editable:!1,type:"datetimerange",format:"yyyy-MM-dd HH:mm",placeholder:"请选择活动时间",value:t.formValidate.section_time},on:{"on-change":t.onchangeTime},model:{value:t.formValidate.section_time,callback:function(e){t.$set(t.formValidate,"section_time",e)},expression:"formValidate.section_time"}}),a("div",{staticClass:"ml10 grey"},[t._v("设置活动开启结束时间,用户可以在设置时间内发起参与砍价")])],1)])],1),0==t.formValidate.virtual_type?a("Col",{attrs:{span:"24"}},[a("FormItem",{attrs:{label:"物流方式:",prop:"logistics"}},[a("CheckboxGroup",{on:{"on-change":t.logisticsBtn},model:{value:t.formValidate.logistics,callback:function(e){t.$set(t.formValidate,"logistics",e)},expression:"formValidate.logistics"}},[a("Checkbox",{attrs:{label:"1"}},[t._v("快递")]),a("Checkbox",{attrs:{label:"2"}},[t._v("到店核销")])],1)],1)],1):t._e(),0==t.formValidate.virtual_type?a("Col",{attrs:{span:"24"}},[a("FormItem",{attrs:{label:"运费设置:",prop:1!=t.formValidate.freight?"freight":""}},[a("RadioGroup",{model:{value:t.formValidate.freight,callback:function(e){t.$set(t.formValidate,"freight",e)},expression:"formValidate.freight"}},[a("Radio",{attrs:{label:2}},[t._v("固定邮费")]),a("Radio",{attrs:{label:3}},[t._v("运费模板")])],1)],1)],1):t._e(),3!=t.formValidate.freight&&1!=t.formValidate.freight&&0==t.formValidate.virtual_type?a("Col",{attrs:{span:"24"}},[a("FormItem",{attrs:{label:""}},[a("div",{staticClass:"acea-row"},[a("InputNumber",{staticClass:"perW20 maxW",attrs:{min:"0.01",max:"10000",placeholder:"请输入金额"},model:{value:t.formValidate.postage,callback:function(e){t.$set(t.formValidate,"postage",e)},expression:"formValidate.postage"}})],1)])],1):t._e(),3==t.formValidate.freight&&0==t.formValidate.virtual_type?a("Col",{attrs:{span:"24"}},[a("FormItem",{attrs:{label:"",prop:"temp_id"}},[a("div",{staticClass:"acea-row"},[a("Select",{staticClass:"perW20 maxW",attrs:{clearable:"",placeholder:"请选择运费模板"},model:{value:t.formValidate.temp_id,callback:function(e){t.$set(t.formValidate,"temp_id",e)},expression:"formValidate.temp_id"}},t._l(t.templateList,(function(e,r){return a("Option",{key:r,attrs:{value:e.id}},[t._v(t._s(e.name))])})),1),a("span",{staticClass:"addfont",on:{click:t.freight}},[t._v("新增运费模板")])],1)])],1):t._e(),a("Col",{attrs:{span:"24"}},[a("FormItem",{attrs:{label:"砍价人数:",prop:"people_num","label-for":"people_num"}},[a("div",{staticClass:"acea-row row-middle"},[a("InputNumber",{staticClass:"perW20",attrs:{placeholder:"请输入砍价人数","element-id":"people_num",min:2,max:1e4,precision:0},model:{value:t.formValidate.people_num,callback:function(e){t.$set(t.formValidate,"people_num",e)},expression:"formValidate.people_num"}}),a("div",{staticClass:"ml10 grey"},[t._v("需要多少人砍价成功")])],1)])],1),a("Col",{attrs:{span:"24"}},[a("FormItem",{attrs:{label:"帮砍次数:",prop:"bargain_num","label-for":"bargain_num"}},[a("div",{staticClass:"acea-row row-middle"},[a("InputNumber",{staticClass:"perW20",attrs:{placeholder:"请输入帮砍次数","element-id":"bargain_num",min:1,max:1e4,precision:0},model:{value:t.formValidate.bargain_num,callback:function(e){t.$set(t.formValidate,"bargain_num",e)},expression:"formValidate.bargain_num"}}),a("div",{staticClass:"ml10 grey"},[t._v("\n 单个商品用户可以帮砍的次数,例:次数设置为1,甲和乙同时将商品A的砍价链接发给丙,丙只能帮甲或乙其中一个人砍价\n ")])],1)])],1),a("Col",{attrs:{span:"24"}},[a("FormItem",{attrs:{label:"购买数量限制:",prop:"num"}},[a("div",{staticClass:"acea-row row-middle"},[a("InputNumber",{staticClass:"perW20",attrs:{placeholder:"购买数量限制",min:1,max:1e4,precision:0},model:{value:t.formValidate.num,callback:function(e){t.$set(t.formValidate,"num",e)},expression:"formValidate.num"}}),a("div",{staticClass:"ml10 grey"},[t._v("单个活动每个用户发起砍价次数限制")])],1)])],1),a("Col",{attrs:{span:"24"}},[a("FormItem",{attrs:{label:"单位:",prop:"unit_name","label-for":"unit_name"}},[a("Input",{staticClass:"perW20",attrs:{placeholder:"请输入单位","element-id":"unit_name"},model:{value:t.formValidate.unit_name,callback:function(e){t.$set(t.formValidate,"unit_name",e)},expression:"formValidate.unit_name"}})],1)],1),a("Col",{attrs:{span:"24"}},[a("FormItem",{attrs:{label:"排序:"}},[a("InputNumber",{staticClass:"perW10",attrs:{placeholder:"请输入排序","element-id":"sort",min:0,max:1e4,precision:0},model:{value:t.formValidate.sort,callback:function(e){t.$set(t.formValidate,"sort",e)},expression:"formValidate.sort"}})],1)],1),a("Col",{attrs:{span:"24"}},[a("FormItem",{attrs:{label:"活动状态:",props:"status","label-for":"status"}},[a("RadioGroup",{attrs:{"element-id":"status"},model:{value:t.formValidate.status,callback:function(e){t.$set(t.formValidate,"status",e)},expression:"formValidate.status"}},[a("Radio",{staticClass:"radio",attrs:{label:1}},[t._v("开启")]),a("Radio",{attrs:{label:0}},[t._v("关闭")])],1)],1)],1),a("Col",{attrs:{span:"24"}},[a("FormItem",{attrs:{label:"规格选择:"}},[a("Table",{attrs:{data:t.specsData,columns:t.columns,border:""},scopedSlots:t._u([{key:"pic",fn:function(e){e.row;var r=e.index;return[a("div",{staticClass:"acea-row row-middle row-center-wrapper",on:{click:function(e){return t.modalPicTap("dan","danTable",r)}}},[t.specsData[r].pic?a("div",{staticClass:"pictrue pictrueTab"},[a("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.specsData[r].pic,expression:"specsData[index].pic"}]})]):a("div",{staticClass:"upLoad pictrueTab acea-row row-center-wrapper"},[a("Icon",{staticClass:"iconfonts",attrs:{type:"ios-camera-outline",size:"21"}})],1)])]}},{key:"price",fn:function(e){e.row;var r=e.index;return[a("InputNumber",{staticClass:"priceBox",attrs:{min:0,precision:2,"active-change":!1},model:{value:t.specsData[r].price,callback:function(e){t.$set(t.specsData[r],"price",e)},expression:"specsData[index].price"}})]}},{key:"min_price",fn:function(e){e.row;var r=e.index;return[a("InputNumber",{staticClass:"priceBox",attrs:{min:0,precision:2,"active-change":!1},model:{value:t.specsData[r].min_price,callback:function(e){t.$set(t.specsData[r],"min_price",e)},expression:"specsData[index].min_price"}})]}},{key:"quota",fn:function(e){e.row;var r=e.index;return[a("InputNumber",{staticClass:"priceBox",attrs:{min:1,"active-change":""},model:{value:t.specsData[r].quota,callback:function(e){t.$set(t.specsData[r],"quota",e)},expression:"specsData[index].quota"}})]}}])})],1)],1)],1),2===t.current?a("div",[a("FormItem",{attrs:{label:"内容:"}},[a("WangEditor",{staticStyle:{width:"90%"},attrs:{content:t.formValidate.description},on:{editorContent:t.getEditorContent}})],1)],1):t._e(),3===t.current?a("div",[a("FormItem",{attrs:{label:"规则:"}},[a("WangEditor",{staticStyle:{width:"90%"},attrs:{content:t.formValidate.rule},on:{editorContent:t.getEditorContent2}})],1)],1):t._e(),a("FormItem",[a("Button",{directives:[{name:"show",rawName:"v-show",value:0!==t.current,expression:"current !== 0"}],staticClass:"submission mr15",attrs:{disabled:t.$route.params.id&&"0"!==t.$route.params.id&&1===t.current},on:{click:t.step}},[t._v("上一步")]),a("Button",{staticClass:"submission",attrs:{type:"primary",disabled:t.submitOpen&&3===t.current},domProps:{textContent:t._s(3===t.current?"提交":"下一步")},on:{click:function(e){return t.next("formValidate")}}})],1),t.spinShow?a("Spin",{attrs:{size:"large",fix:""}}):t._e()],1)],1)],1)],1),a("Modal",{staticClass:"paymentFooter",attrs:{title:"商品列表",footerHide:"",scrollable:"",width:"900"},on:{"on-cancel":t.cancel},model:{value:t.modals,callback:function(e){t.modals=e},expression:"modals"}},[a("goods-list",{ref:"goodslist",on:{getProductId:t.getProductId}})],1),a("Modal",{attrs:{width:"950px",scrollable:"","footer-hide":"",closable:"",title:"上传商品图","mask-closable":!1,"z-index":888},model:{value:t.modalPic,callback:function(e){t.modalPic=e},expression:"modalPic"}},[t.modalPic?a("uploadPictures",{attrs:{isChoice:t.isChoice,gridBtn:t.gridBtn,gridPic:t.gridPic},on:{getPic:t.getPic,getPicD:t.getPicD}}):t._e()],1),a("freight-template",{ref:"template",on:{addSuccess:t.productGetTemplate}})],1)}),[],!1,null,"ab19ad14",null),e.default=p.exports},c2d9:function(t,e,a){"use strict";var r=a("a33c");a.n(r).a}}]);
\ No newline at end of file
diff --git a/crmeb/public/admin/system_static/js/chunk-4037b518.3fa2f7e3.js b/crmeb/public/admin/system_static/js/chunk-4037b518.3fa2f7e3.js
new file mode 100644
index 000000000..ad5a84a91
--- /dev/null
+++ b/crmeb/public/admin/system_static/js/chunk-4037b518.3fa2f7e3.js
@@ -0,0 +1 @@
+(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-4037b518"],{"021b":function(e,t,a){},"0587":function(e,t,a){},"0d3e":function(e,t,a){"use strict";function r(e){return e=e.replace(/
]*>/gi,(function(e,t){return(e=(e=e.replace(/style="[^"]+"/gi,"").replace(/style='[^']+'/gi,"")).replace(/width="[^"]+"/gi,"").replace(/width='[^']+'/gi,"")).replace(/height="[^"]+"/gi,"").replace(/height='[^']+'/gi,"")})),(e=(e=e.replace(/style="[^"]+"/gi,(function(e,t){return e.replace(/width:[^;]+;/gi,"max-width:100%;").replace(/width:[^;]+;/gi,"max-width:100%;")}))).replace(/
]*\/>/gi,"")).replace(/\
>>=1)&&(t+=t))1&r&&(a+=t);return a}},1184:function(e,t,a){"use strict";a.d(t,"c",(function(){return o})),a.d(t,"d",(function(){return i})),a.d(t,"a",(function(){return _})),a.d(t,"b",(function(){return s})),a.d(t,"g",(function(){return n})),a.d(t,"f",(function(){return l})),a.d(t,"e",(function(){return c})),a("99af");var r=a("6b6c");function o(e){return Object(r.a)({url:"marketing/lottery/list",method:"get",params:e})}function i(e){return Object(r.a)({url:"marketing/lottery/factor_info/".concat(e),method:"get"})}function _(e){return Object(r.a)({url:"marketing/lottery/add",method:"post",data:e})}function s(e,t){return Object(r.a)({url:"marketing/lottery/edit/".concat(e),method:"put",data:t})}function n(e){return Object(r.a)({url:"marketing/lottery/set_status/".concat(e.id,"/").concat(e.status),method:"post"})}function l(e){return Object(r.a)({url:"marketing/lottery/record/list",method:"get",params:e})}function c(e){return Object(r.a)({url:"marketing/lottery/record/deliver",method:"post",data:e})}},1499:function(module,__webpack_exports__,__webpack_require__){"use strict";var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("a4d3"),core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0__),core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("e01a"),core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1__),core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("d28b"),core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_2__),core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("3ca3"),core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_3__),core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("ddb0"),core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__),core_js_modules_es_symbol_async_iterator_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("b636"),core_js_modules_es_symbol_async_iterator_js__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(core_js_modules_es_symbol_async_iterator_js__WEBPACK_IMPORTED_MODULE_5__),core_js_modules_es_symbol_to_string_tag_js__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("944a"),core_js_modules_es_symbol_to_string_tag_js__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(core_js_modules_es_symbol_to_string_tag_js__WEBPACK_IMPORTED_MODULE_6__),core_js_modules_es_json_to_string_tag_js__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("0c47"),core_js_modules_es_json_to_string_tag_js__WEBPACK_IMPORTED_MODULE_7___default=__webpack_require__.n(core_js_modules_es_json_to_string_tag_js__WEBPACK_IMPORTED_MODULE_7__),core_js_modules_es_math_to_string_tag_js__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("23dc"),core_js_modules_es_math_to_string_tag_js__WEBPACK_IMPORTED_MODULE_8___default=__webpack_require__.n(core_js_modules_es_math_to_string_tag_js__WEBPACK_IMPORTED_MODULE_8__),core_js_modules_es_object_get_prototype_of_js__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("3410"),core_js_modules_es_object_get_prototype_of_js__WEBPACK_IMPORTED_MODULE_9___default=__webpack_require__.n(core_js_modules_es_object_get_prototype_of_js__WEBPACK_IMPORTED_MODULE_9__),core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("d9e2"),core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_10__),core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("b0c0"),core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_11__),core_js_modules_es_object_set_prototype_of_js__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("131a"),core_js_modules_es_object_set_prototype_of_js__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(core_js_modules_es_object_set_prototype_of_js__WEBPACK_IMPORTED_MODULE_12__),core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("fb6a"),core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_13___default=__webpack_require__.n(core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_13__),D_WWW_crmeb_v4_CRMEB_OPEN_template_admin_node_modules_vue_babel_preset_app_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__("0122"),D_WWW_crmeb_v4_CRMEB_OPEN_template_admin_node_modules_vue_babel_preset_app_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__("d0ff"),D_WWW_crmeb_v4_CRMEB_OPEN_template_admin_node_modules_vue_babel_preset_app_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__("c964"),D_WWW_crmeb_v4_CRMEB_OPEN_template_admin_node_modules_vue_babel_preset_app_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__("f3f3"),D_WWW_crmeb_v4_CRMEB_OPEN_template_admin_node_modules_vue_babel_preset_app_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__("fc11"),core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__("d3b7"),core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_19___default=__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_19__),core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__("25f0"),core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_20___default=__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_20__),core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__("159b"),core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_21___default=__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_21__),core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__("a434"),core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_22___default=__webpack_require__.n(core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_22__),core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_23__=__webpack_require__("a15b"),core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_23___default=__webpack_require__.n(core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_23__),core_js_modules_es_number_to_fixed_js__WEBPACK_IMPORTED_MODULE_24__=__webpack_require__("b6802"),core_js_modules_es_number_to_fixed_js__WEBPACK_IMPORTED_MODULE_24___default=__webpack_require__.n(core_js_modules_es_number_to_fixed_js__WEBPACK_IMPORTED_MODULE_24__),core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_25__=__webpack_require__("99af"),core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_25___default=__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_25__),vuex__WEBPACK_IMPORTED_MODULE_26__=__webpack_require__("2f62"),_components_goodsList_index__WEBPACK_IMPORTED_MODULE_27__=__webpack_require__("c4ad"),_components_uploadPictures__WEBPACK_IMPORTED_MODULE_28__=__webpack_require__("b0e7"),_components_userLabel__WEBPACK_IMPORTED_MODULE_29__=__webpack_require__("232f"),_addGoods__WEBPACK_IMPORTED_MODULE_30__=__webpack_require__("eab1"),_api_lottery__WEBPACK_IMPORTED_MODULE_31__=__webpack_require__("1184"),_formRule_lotteryFrom__WEBPACK_IMPORTED_MODULE_32__=__webpack_require__("d1cc"),_api_product__WEBPACK_IMPORTED_MODULE_33__=__webpack_require__("c4c8"),_api_user__WEBPACK_IMPORTED_MODULE_34__=__webpack_require__("c24f"),_components_wangEditor_index_vue__WEBPACK_IMPORTED_MODULE_35__=__webpack_require__("a069"),_utils_validate__WEBPACK_IMPORTED_MODULE_36__=__webpack_require__("61f7"),_utils_editorImg__WEBPACK_IMPORTED_MODULE_37__=__webpack_require__("0d3e");function _regeneratorRuntime(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function(){return e};var e={},t=Object.prototype,a=t.hasOwnProperty,r=Object.defineProperty||function(e,t,a){e[t]=a.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",_=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function n(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{n({},"")}catch(t){n=function(e,t,a){return e[t]=a}}function l(e,t,a,o){var i,_,s,n;t=t&&t.prototype instanceof u?t:u,t=Object.create(t.prototype),o=new y(o||[]);return r(t,"_invoke",{value:(i=e,_=a,s=o,n="suspendedStart",function(e,t){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===e)throw t;return D()}for(s.method=e,s.arg=t;;){var a=s.delegate;if(a&&(a=function e(t,a){var r=a.method,o=t.iterator[r];return void 0===o?(a.delegate=null,"throw"===r&&t.iterator.return&&(a.method="return",a.arg=void 0,e(t,a),"throw"===a.method)||"return"!==r&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d):(r=c(o,t.iterator,a.arg),"throw"===r.type?(a.method="throw",a.arg=r.arg,a.delegate=null,d):(o=r.arg,o?o.done?(a[t.resultName]=o.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=void 0),a.delegate=null,d):o:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,d)))}(a,s),a)){if(a===d)continue;return a}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if("suspendedStart"===n)throw n="completed",s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);if(n="executing",a=c(i,_,s),"normal"===a.type){if(n=s.done?"completed":"suspendedYield",a.arg===d)continue;return{value:a.arg,done:s.done}}"throw"===a.type&&(n="completed",s.method="throw",s.arg=a.arg)}})}),t}function c(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var d={};function u(){}function m(){}function p(){}o={};var f=(n(o,i,(function(){return this})),Object.getPrototypeOf),h=(f=f&&f(f(O([]))),f&&f!==t&&a.call(f,i)&&(o=f),p.prototype=u.prototype=Object.create(o));function b(e){["next","throw","return"].forEach((function(t){n(e,t,(function(e){return this._invoke(t,e)}))}))}function g(e,t){var o;r(this,"_invoke",{value:function(r,i){function _(){return new t((function(o,_){!function r(o,i,_,s){var n;o=c(e[o],e,i);if("throw"!==o.type)return(i=(n=o.arg).value)&&"object"==Object(D_WWW_crmeb_v4_CRMEB_OPEN_template_admin_node_modules_vue_babel_preset_app_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_14__.a)(i)&&a.call(i,"__await")?t.resolve(i.__await).then((function(e){r("next",e,_,s)}),(function(e){r("throw",e,_,s)})):t.resolve(i).then((function(e){n.value=e,_(n)}),(function(e){return r("throw",e,_,s)}));s(o.arg)}(r,i,o,_)}))}return o=o?o.then(_,_):_()}})}function v(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function y(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(v,this),this.reset(!0)}function O(e){if(e){var t,r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return t=-1,(r=function r(){for(;++t删除后无法恢复,请确认后删除!
",onOk:function(){Object(s.b)(t.id).then((function(r){e.$Message.success(r.msg),t.remove()})).catch((function(t){e.$Message.error(t)}))},onCancel:function(){}})})),Object(i.a)(c,"onChangeName",(function(t){var e=this;"blur"==t.eventType&&(t={name:t.newName,id:t.id},Object(s.d)(t).then((function(t){e.$Message.success(t.msg)})).catch((function(t){e.$Message.error(t)})))})),Object(i.a)(c,"onAddNode",(function(t){})),Object(i.a)(c,"addNode",(function(){var t=new l.TreeNode({name:"new node",isLeaf:!1});this.data.children||(this.data.children=[]),this.data.addChildren(t)})),Object(i.a)(c,"getNewTree",(function(){this.newTree=function t(e){var r,n={};for(r in e)"children"!==r&&"parent"!==r&&(n[r]=e[r]);if(e.children&&0"+t+""+e+">"}},9911:function(t,e,n){"use strict";var i=n("23e7"),r=n("857a");i({target:"String",proto:!0,forced:n("af03")("link")},{link:function(t){return r(this,"a","href",t)}})},af03:function(t,e,n){var i=n("d039");t.exports=function(t){return i((function(){var e=""[t]('"');return e!==e.toLowerCase()||3删除后无法恢复,请确认后删除!",onOk:function(){r(t.id).then((function(r){e.$Message.success(r.msg),t.remove()})).catch((function(t){e.$Message.error(t)}))},onCancel:function(){}})})),Object(i.a)(f,"onChangeName",(function(t){var e=this;"blur"==t.eventType&&(t={name:t.newName,id:t.id},t=t,Object(s.a)({url:"setting/system_out_interface/edit_name",method:"PUT",data:t}).then((function(t){e.$Message.success(t.msg)})).catch((function(t){e.$Message.error(t)})))})),Object(i.a)(f,"onAddNode",(function(t){})),Object(i.a)(f,"addNode",(function(){var t=new d.TreeNode({name:"new node",isLeaf:!1});this.data.children||(this.data.children=[]),this.data.addChildren(t)})),Object(i.a)(f,"getNewTree",(function(){this.newTree=function t(e){var r,n={};for(r in e)"children"!==r&&"parent"!==r&&(n[r]=e[r]);if(e.children&&0"+t+""+e+">"}},9911:function(t,e,a){"use strict";var n=a("23e7"),i=a("857a");n({target:"String",proto:!0,forced:a("af03")("link")},{link:function(t){return i(this,"a","href",t)}})},aac0:function(t,e,a){},af03:function(t,e,a){var n=a("d039");t.exports=function(t){return n((function(){var e=""[t]('"');return e!==e.toLowerCase()||3?@[\\\]^|]/,se=/[\0\t\n\r #/:<>?@[\\\]^|]/,oe=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,ce=/[\t\n\r]/g,ue={},le=w({},ue,{" ":1,'"':1,"<":1,">":1,"`":1}),he=w({},le,{"#":1,"?":1,"{":1,"}":1}),fe=w({},he,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),de={ftp:21,file:null,http:80,https:443,ws:80,wss:443},pe={},ge={},ve={},me={},be={},ye={},we={},_e={},Le={},ke={},Se={},Pe={},Ue={},xe={},Re={},Ce={},Oe={},je={},Ee={},Te={},Be={},qe=(o.prototype={type:"URL",parse:function(e,t,r){var n,o,c,l,h=this,f=t||pe,d=0,p="",g=!1,v=!1,m=!1;for(e=P(e),t||(h.scheme="",h.username="",h.password="",h.host=null,h.port=null,h.path=[],h.query=null,h.fragment=null,h.cannotBeABaseURL=!1,e=G(e,oe,"")),e=G(e,ce,""),n=_(e);d<=n.length;){switch(o=n[d],f){case pe:if(!o||!I(X,o)){if(t)return Q;f=ve;continue}p+=D(o),f=ge;break;case ge:if(o&&(I(Z,o)||"+"==o||"-"==o||"."==o))p+=D(o);else{if(":"!=o){if(t)return Q;p="",f=ve,d=0;continue}if(t&&(h.isSpecial()!=y(de,p)||"file"==p&&(h.includesCredentials()||null!==h.port)||"file"==h.scheme&&!h.host))return;if(h.scheme=p,t)return void(h.isSpecial()&&de[h.scheme]==h.port&&(h.port=null));p="","file"==h.scheme?f=xe:h.isSpecial()&&r&&r.scheme==h.scheme?f=me:h.isSpecial()?f=_e:"/"==n[d+1]?(f=be,d++):(h.cannotBeABaseURL=!0,z(h.path,""),f=Ee)}break;case ve:if(!r||r.cannotBeABaseURL&&"#"!=o)return Q;if(r.cannotBeABaseURL&&"#"==o){h.scheme=r.scheme,h.path=L(r.path),h.query=r.query,h.fragment="",h.cannotBeABaseURL=!0,f=Be;break}f="file"==r.scheme?xe:ye;continue;case me:if("/"!=o||"/"!=n[d+1]){f=ye;continue}f=Le,d++;break;case be:if("/"==o){f=ke;break}f=je;continue;case ye:if(h.scheme=r.scheme,o==u)h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=L(r.path),h.query=r.query;else if("/"==o||"\\"==o&&h.isSpecial())f=we;else if("?"==o)h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=L(r.path),h.query="",f=Te;else{if("#"!=o){h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=L(r.path),h.path.length--,f=je;continue}h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=L(r.path),h.query=r.query,h.fragment="",f=Be}break;case we:if(!h.isSpecial()||"/"!=o&&"\\"!=o){if("/"!=o){h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,f=je;continue}f=ke}else f=Le;break;case _e:if(f=Le,"/"!=o||"/"!=H(p,d+1))continue;d++;break;case Le:if("/"==o||"\\"==o)break;f=ke;continue;case ke:if("@"==o){g&&(p="%40"+p);g=!0;for(var b=_(p),w=0;w=A(256,5-t))return null}else if(255t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=z(this).entries,n=x(e,1m((s-h)/P))throw g(d);for(h+=(k-i)*P,i=k,S=0;Ss)throw g(d);if(t==i){for(var U=h,x=o;;){var R=x<=f?1:f+c<=x?c:x-f;if(U>1,e+=m(e/t);p*c>>1累计用户: ").concat(t.data.value,"新增用户: ").concat(t.data.newNum,"访客数: ").concat(t.data.visitNum,"支付金额: ").concat(t.data.payPrice):"地区:".concat(t.name,"累计用户: 0新增用户: 0访客数: 0支付金额: 0")}},dataRange:{show:!1,min:0,max:1e3,text:["High","Low"],realtime:!0,calculable:!0,color:["orangered","yellow","lightskyblue"]},geo:{map:"china",roam:!1,label:{normal:{show:!1,textStyle:{color:"rgba(0,0,0,0.4)"}}},itemStyle:{normal:{borderColor:"rgba(0, 0, 0, 0.2)"},emphasis:{areaColor:null,shadowOffsetX:0,shadowOffsetY:0,shadowBlur:20,borderWidth:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}},series:[{type:"scatter",zoom:1.2,aspectScale:1.75,coordinateSystem:"geo"},{type:"map",geoIndex:0,data:this.resdata}]})},getTrend:function(){var t=this;Object(i.t)(this.formInline).then(function(){var e=Object(o.a)(p().mark((function e(r){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.resdataList=r.data,t.resdata=r.data.map((function(t){var e={};return e.name=t.province,e.value=t.allNum,e.newNum=t.newNum,e.payPrice=t.payPrice,e.visitNum=t.visitNum,e})),t.chinaConfigure();case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$Message.error(e.msg)}))},getSex:function(){var t=this;Object(i.u)(this.formInline).then(function(){var e=Object(o.a)(p().mark((function e(r){var n;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=0,r.data.forEach((function(t){n+=t.value})),t.optionData={title:{show:!0,text:"总用户数",subtext:n,x:"center",y:"center",textStyle:{fontSize:"14",color:"#666666"},subtextStyle:{fontSize:"30",fontWeight:"bold",color:"#333333"}},tooltip:{trigger:"item",formatter:"{a}
{b}: {c} ({d}%)"},legend:{orient:"vertical",left:10,data:["未知","男","女"]},series:[{name:"访问来源",type:"pie",radius:["50%","70%"],avoidLabelOverlap:!1,label:{show:!1,position:"center"},labelLine:{show:!1},data:r.data,itemStyle:{emphasis:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"},normal:{color:function(t){return["#999999","#1890FF","#FFAB2B"][t.dataIndex]}}}}]};case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$Message.error(e.msg)}))}}},r("21b4"),a=Object(u.a)(d,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return e("Row",{attrs:{gutter:16}},[e("Col",{attrs:{xs:24,sm:24,md:24,lg:18}},[e("Card",{staticClass:"ivu-mt-16",attrs:{bordered:!1,"dis-hover":""}},[e("div",{staticClass:"acea-row row-between-wrapper"},[e("div",{staticClass:"header-title mb20"},[t._v("用户地域分布")])]),e("Row",[e("Col",{attrs:{xs:24,sm:24,md:24,lg:10}},[e("div",{staticClass:"echarts"},[e("div",{ref:"myEchart",style:{height:"400px",width:"100%"}})])]),e("Col",{attrs:{xs:24,sm:24,md:24,lg:14}},[e("div",{staticClass:"tables"},[e("Table",{attrs:{height:"400",columns:t.columns1,data:t.resdataList}})],1)])],1)],1)],1),e("Col",{attrs:{xs:24,sm:24,md:24,lg:6}},[e("Card",{staticClass:"ivu-mt-16",attrs:{bordered:!1,"dis-hover":""}},[e("div",{staticClass:"acea-row row-between-wrapper"},[e("div",{staticClass:"header-title mb20"},[t._v("用户性别比例")])]),t.optionData?e("echarts-new",{attrs:{"option-data":t.optionData,styles:t.style,height:"100%",width:"100%"}}):t._e()],1)],1)],1)}),[],!1,null,"36f02339",null).exports;var m=r("61f7");function y(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */y=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(e){u=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var i,a,c,s;e=e&&e.prototype instanceof f?e:f,e=Object.create(e.prototype),n=new O(n||[]);return o(e,"_invoke",{value:(i=t,a=r,c=n,s="suspendedStart",function(t,e){if("executing"===s)throw new Error("Generator is already running");if("completed"===s){if("throw"===t)throw e;return L()}for(c.method=t,c.arg=e;;){var r=c.delegate;if(r&&(r=function t(e,r){var n=r.method,o=e.iterator[n];return void 0===o?(r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=void 0,t(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d):(n=h(o,e.iterator,r.arg),"throw"===n.type?(r.method="throw",r.arg=n.arg,r.delegate=null,d):(o=n.arg,o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,d):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)))}(r,c),r)){if(r===d)continue;return r}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if("suspendedStart"===s)throw s="completed",c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);if(s="executing",r=h(i,a,c),"normal"===r.type){if(s=c.done?"completed":"suspendedYield",r.arg===d)continue;return{value:r.arg,done:c.done}}"throw"===r.type&&(s="completed",c.method="throw",c.arg=r.arg)}})}),e}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var d={};function f(){}function p(){}function m(){}i={};var g=(u(i,a,(function(){return this})),Object.getPrototypeOf),v=(g=g&&g(g(j([]))),g&&g!==e&&r.call(g,a)&&(i=g),m.prototype=f.prototype=Object.create(i));function w(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){var i;o(this,"_invoke",{value:function(o,a){function c(){return new e((function(i,c){!function o(i,a,c,s){var u;i=h(t[i],t,a);if("throw"!==i.type)return(a=(u=i.arg).value)&&"object"==Object(n.a)(a)&&r.call(a,"__await")?e.resolve(a.__await).then((function(t){o("next",t,c,s)}),(function(t){o("throw",t,c,s)})):e.resolve(a).then((function(t){u.value=t,c(u)}),(function(t){return o("throw",t,c,s)}));s(i.arg)}(o,a,i,c)}))}return i=i?i.then(c,c):c()}})}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function j(t){if(t){var e,n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return e=-1,(n=function n(){for(;++e"+t+""+e+">"}},"89c2":function(t,e,i){t.exports=i.p+"system_static/img/oragesgin.00077d3a.png"},"90be":function(t,e,i){t.exports=i.p+"system_static/img/redsgin.d8b0c12e.png"},"943f":function(t,e,i){t.exports=i.p+"system_static/img/pinksgin.0e1c51b4.png"},9911:function(t,e,i){"use strict";var s=i("23e7"),a=i("857a");s({target:"String",proto:!0,forced:i("af03")("link")},{link:function(t){return a(this,"a","href",t)}})},af03:function(t,e,i){var s=i("d039");t.exports=function(t){return s((function(){var e=""[t]('"');return e!==e.toLowerCase()||3