1(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue")):"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["sspai-ui-wc"]=t(require("vue")):e["sspai-ui-wc"]=t(e["Vue"])})("undefined"!==typeof self?self:this,(function(e){return function(){var t={1929:function(e,t,n){e.exports=n(7443)},7443:function(e,t,n){"use strict";var r=n(5295),o=[],s=n(8717),i=function(e){var t=e.options;return t.pdground&&(e.row>1&&e.row<5&&e.col>1&&e.col<5||e.row>e.count-6&&e.row<e.count-2&&e.col>1&&e.col<5||e.row>1&&e.row<5&&e.col>e.count-6&&e.col<e.count-2)?t.pdground:t.foreground},a=function(e){var t=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/t},c=function(e){"string"===typeof e&&(e={text:e}),this.options=r({},{text:"",render:"",size:256,correctLevel:3,background:"#ffffff",foreground:"#000000",image:"",imageSize:30},e);for(var t=null,n=0,i=o.length;n<i;n++)if(o[n].text==this.options.text&&o[n].text.correctLevel==this.options.correctLevel){t=o[n].obj;break}if(n==i&&(t=new s(this.options.text,this.options.correctLevel),o.push({text:this.options.text,correctLevel:this.options.correctLevel,obj:t})),this.options.render)switch(this.options.render){case"canvas":return this.createCanvas(t);case"table":return this.createTable(t);case"svg":return this.createSVG(t);default:return this.createDefault(t)}return this.createDefault(t)};r(c.prototype,{createDefault:function(e){var t=document.createElement("canvas");if(t.getContext)return this.createCanvas(e);var n="http://www.w3.org/2000/svg";return document.createElementNS&&document.createElementNS(n,"svg").createSVGRect?this.createSVG(e):this.createTable(e)},createCanvas:function(e){var t=this.options,n=document.createElement("canvas"),r=n.getContext("2d"),o=e.getModuleCount(),s=a(r),c=t.size,u=c*s,l=t.imageSize*s,p=function(e,t){var n=new Image;n.src=e,n.onload=function(){t(this),n.onload=null}},d=(u/o).toPrecision(4),f=(u/o).toPrecision(4);n.width=u,n.height=u;for(var h=0;h<o;h++)for(var m=0;m<o;m++){var _=Math.ceil((m+1)*d)-Math.floor(m*d),v=Math.ceil((h+1)*d)-Math.floor(h*d),g=i({row:h,col:m,count:o,options:t});r.fillStyle=e.modules[h][m]?g:t.background,r.fillRect(Math.round(m*d),Math.round(h*f),_,v)}return t.image&&p(t.image,(function(e){var t=((u-l)/2).toFixed(2),n=((u-l)/2).toFixed(2);r.drawImage(e,t,n,l,l)})),n.style.width=c+"px",n.style.height=c+"px",n},createTable:function(e){var t=this.options,n=e.getModuleCount(),r=Math.floor(t.size/n),o=Math.floor(t.size/n);r<=0&&(r=n<80?2:1),o<=0&&(o=n<80?2:1);var s=[];s.push('<table style="border:0px; margin:0px; padding:0px; border-collapse:collapse; background-color:'+t.background+';">');for(var a=0;a<n;a++){s.push('<tr style="border:0px; margin:0px; padding:0px; height:'+o+'px">');for(var c=0;c<n;c++){var u=i({row:a,col:c,count:n,options:t});e.modules[a][c]?s.push('<td style="border:0px; margin:0px; padding:0px; width:'+r+"px; background-color:"+u+'"></td>'):s.push('<td style="border:0px; margin:0px; padding:0px; width:'+r+"px; background-color:"+t.background+'"></td>')}s.push("</tr>")}if(s.push("</table>"),t.image){var l=r*n,p=o*n,d=((l-t.imageSize)/2).toFixed(2),f=((p-t.imageSize)/2).toFixed(2);s.unshift("<div style='position:relative;\n width:"+l+"px;\n height:"+p+"px;'>"),s.push("<img src='"+t.image+"'\n width='"+t.imageSize+"'\n height='"+t.imageSize+"'\n style='position:absolute;left:"+d+"px; top:"+f+"px;'>"),s.push("</div>")}var h=document.createElement("span");return h.innerHTML=s.join(""),h.firstChild},createSVG:function(e){var t=this.options,n=e.getModuleCount(),r=n/t.size,o=document.createElementNS("http://www.w3.org/2000/svg","svg");o.setAttribute("width",t.size),o.setAttribute("height",t.size),o.setAttribute("viewBox","0 0 "+n+" "+n);for(var s=0;s<n;s++)for(var a=0;a<n;a++){var c=document.createElementNS("http://www.w3.org/2000/svg","rect"),u=i({row:s,col:a,count:n,options:t});c.setAttribute("x",a),c.setAttribute("y",s),c.setAttribute("width",1),c.setAttribute("height",1),c.setAttribute("stroke-width",0),e.modules[s][a]?c.setAttribute("fill",u):c.setAttribute("fill",t.background),o.appendChild(c)}if(t.image){var l=document.createElementNS("http://www.w3.org/2000/svg","image");l.setAttributeNS("http://www.w3.org/1999/xlink","href",t.image),l.setAttribute("x",((n-t.imageSize*r)/2).toFixed(2)),l.setAttribute("y",((n-t.imageSize*r)/2).toFixed(2)),l.setAttribute("width",t.imageSize*r),l.setAttribute("height",t.imageSize*r),o.appendChild(l)}return o}}),e.exports=c},8717:function(e){"use strict";function t(e){var t,n,r;return e<128?[e]:e<2048?(t=192+(e>>6),n=128+(63&e),[t,n]):(t=224+(e>>12),n=128+(e>>6&63),r=128+(63&e),[t,n,r])}function n(e){for(var n=[],r=0;r<e.length;r++)for(var o=e.charCodeAt(r),s=t(o),i=0;i<s.length;i++)n.push(s[i]);return n}function r(e,t){this.typeNumber=-1,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.rsBlocks=null,this.totalDataCount=-1,this.data=e,this.utf8bytes=n(e),this.make()}r.prototype={constructor:r,getModuleCount:function(){return this.moduleCount},make:function(){this.getRightType(),this.dataCache=this.createData(),this.createQrcode()},makeImpl:function(e){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var t=0;t<this.moduleCount;t++)this.modules[t]=new Array(this.moduleCount);this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(!0,e),this.typeNumber>=7&&this.setupTypeNumber(!0),this.mapData(this.dataCache,e)},setupPositionProbePattern:function(e,t){for(var n=-1;n<=7;n++)if(!(e+n<=-1||this.moduleCount<=e+n))for(var r=-1;r<=7;r++)t+r<=-1||this.moduleCount<=t+r||(this.modules[e+n][t+r]=0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4)},createQrcode:function(){for(var e=0,t=0,n=null,r=0;r<8;r++){this.makeImpl(r);var o=i.getLostPoint(this);(0==r||e>o)&&(e=o,t=r,n=this.modules)}this.modules=n,this.setupTypeInfo(!1,t),this.typeNumber>=7&&this.setupTypeNumber(!1)},setupTimingPattern:function(){for(var e=8;e<this.moduleCount-8;e++)null==this.modules[e][6]&&(this.modules[e][6]=e%2==0,null==this.modules[6][e]&&(this.modules[6][e]=e%2==0))},setupPositionAdjustPattern:function(){for(var e=i.getPatternPosition(this.typeNumber),t=0;t<e.length;t++)for(var n=0;n<e.length;n++){var r=e[t],o=e[n];if(null==this.modules[r][o])for(var s=-2;s<=2;s++)for(var a=-2;a<=2;a++)this.modules[r+s][o+a]=-2==s||2==s||-2==a||2==a||0==s&&0==a}},setupTypeNumber:function(e){for(var t=i.getBCHTypeNumber(this.typeNumber),n=0;n<18;n++){var r=!e&&1==(t>>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=r,this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=r}},setupTypeInfo:function(e,t){for(var n=o[this.errorCorrectLevel]<<3|t,r=i.getBCHTypeInfo(n),s=0;s<15;s++){var a=!e&&1==(r>>s&1);s<6?this.modules[s][8]=a:s<8?this.modules[s+1][8]=a:this.modules[this.moduleCount-15+s][8]=a;a=!e&&1==(r>>s&1);s<8?this.modules[8][this.moduleCount-s-1]=a:s<9?this.modules[8][15-s-1+1]=a:this.modules[8][15-s-1]=a}this.modules[this.moduleCount-8][8]=!e}
1,createData:function(){var e=new p,t=this.typeNumber>9?16:8;e.put(4,4),e.put(this.utf8bytes.length,t);for(var n=0,o=this.utf8bytes.length;n<o;n++)e.put(this.utf8bytes[n],8);e.length+4<=8*this.totalDataCount&&e.put(0,4);while(e.length%8!=0)e.putBit(!1);while(1){if(e.length>=8*this.totalDataCount)break;if(e.put(r.PAD0,8),e.length>=8*this.totalDataCount)break;e.put(r.PAD1,8)}return this.createBytes(e)},createBytes:function(e){for(var t=0,n=0,r=0,o=this.rsBlock.length/3,s=new Array,a=0;a<o;a++)for(var c=this.rsBlock[3*a+0],l=this.rsBlock[3*a+1],p=this.rsBlock[3*a+2],d=0;d<c;d++)s.push([p,l]);for(var f=new Array(s.length),h=new Array(s.length),m=0;m<s.length;m++){var _=s[m][0],v=s[m][1]-_;n=Math.max(n,_),r=Math.max(r,v),f[m]=new Array(_);for(a=0;a<f[m].length;a++)f[m][a]=255&e.buffer[a+t];t+=_;var g=i.getErrorCorrectPolynomial(v),y=new u(f[m],g.getLength()-1),b=y.mod(g);h[m]=new Array(g.getLength()-1);for(a=0;a<h[m].length;a++){var w=a+b.getLength()-h[m].length;h[m][a]=w>=0?b.get(w):0}}var C=new Array(this.totalDataCount),S=0;for(a=0;a<n;a++)for(m=0;m<s.length;m++)a<f[m].length&&(C[S++]=f[m][a]);for(a=0;a<r;a++)for(m=0;m<s.length;m++)a<h[m].length&&(C[S++]=h[m][a]);return C},mapData:function(e,t){for(var n=-1,r=this.moduleCount-1,o=7,s=0,a=this.moduleCount-1;a>0;a-=2){6==a&&a--;while(1){for(var c=0;c<2;c++)if(null==this.modules[r][a-c]){var u=!1;s<e.length&&(u=1==(e[s]>>>o&1));var l=i.getMask(t,r,a-c);l&&(u=!u),this.modules[r][a-c]=u,o--,-1==o&&(s++,o=7)}if(r+=n,r<0||this.moduleCount<=r){r-=n,n=-n;break}}}}},r.PAD0=236,r.PAD1=17;for(var o=[1,0,3,2],s={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},i={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(e){var t=e<<10;while(i.getBCHDigit(t)-i.getBCHDigit(i.G15)>=0)t^=i.G15<<i.getBCHDigit(t)-i.getBCHDigit(i.G15);return(e<<10|t)^i.G15_MASK},getBCHTypeNumber:function(e){var t=e<<12;while(i.getBCHDigit(t)-i.getBCHDigit(i.G18)>=0)t^=i.G18<<i.getBCHDigit(t)-i.getBCHDigit(i.G18);return e<<12|t},getBCHDigit:function(e){var t=0;while(0!=e)t++,e>>>=1;return t},getPatternPosition:function(e){return i.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,n){switch(e){case s.PATTERN000:return(t+n)%2==0;case s.PATTERN001:return t%2==0;case s.PATTERN010:return n%3==0;case s.PATTERN011:return(t+n)%3==0;case s.PATTERN100:return(Math.floor(t/2)+Math.floor(n/3))%2==0;case s.PATTERN101:return t*n%2+t*n%3==0;case s.PATTERN110:return(t*n%2+t*n%3)%2==0;case s.PATTERN111:return(t*n%3+(t+n)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new u([1],0),n=0;n<e;n++)t=t.multiply(new u([1,a.gexp(n)],0));return t},getLostPoint:function(e){for(var t=e.getModuleCount(),n=0,r=0,o=0;o<t;o++)for(var s=0,i=e.modules[o][0],a=0;a<t;a++){var c=e.modules[o][a];if(a<t-6&&c&&!e.modules[o][a+1]&&e.modules[o][a+2]&&e.modules[o][a+3]&&e.modules[o][a+4]&&!e.modules[o][a+5]&&e.modules[o][a+6]&&(a<t-10?e.modules[o][a+7]&&e.modules[o][a+8]&&e.modules[o][a+9]&&e.modules[o][a+10]&&(n+=40):a>3&&e.modules[o][a-1]&&e.modules[o][a-2]&&e.modules[o][a-3]&&e.modules[o][a-4]&&(n+=40)),o<t-1&&a<t-1){var u=0;c&&u++,e.modules[o+1][a]&&u++,e.modules[o][a+1]&&u++,e.modules[o+1][a+1]&&u++,0!=u&&4!=u||(n+=3)}i^c?s++:(i=c,s>=5&&(n+=3+s-5),s=1),c&&r++}for(a=0;a<t;a++)for(s=0,i=e.modules[0][a],o=0;o<t;o++){c=e.modules[o][a];o<t-6&&c&&!e.modules[o+1][a]&&e.modules[o+2][a]&&e.modules[o+3][a]&&e.modules[o+4][a]&&!e.modules[o+5][a]&&e.modules[o+6][a]&&(o<t-10?e.modules[o+7][a]&&e.modules[o+8][a]&&e.modules[o+9][a]&&e.modules[o+10][a]&&(n+=40):o>3&&e.modules[o-1][a]&&e.modules[o-2][a]&&e.modules[o-3][a]&&e.modules[o-4][a]&&(n+=40)),i^c?s++:(i=c,s>=5&&(n+=3+s-5),s=1)}var l=Math.abs(100*r/t/t-50)/5;return n+=10*l,n}},a={glog:function(e){if(e<1)throw new Error("glog("+e+")");return a.LOG_TABLE[e]},gexp:function(e){while(e<0)e+=255;while(e>=256)e-=255;return a.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},c=0;c<8;c++)a.EXP_TABLE[c]=1<<c;for(c=8;c<256;c++)a.EXP_TABLE[c]=a.EXP_TABLE[c-4]^a.EXP_TABLE[c-5]^a.EXP_TABLE[c-6]^a.EXP_TABLE[c-8];for(c=0;c<255;c++)a.LOG_TABLE[a.EXP_TABLE[c]]=c;function u(e,t){if(void 0==e.length)throw new Error(e.length+"/"+t);var n=0;while(n<e.length&&0==e[n])n++;this.num=new Array(e.length-n+t);for(var r=0;r<e.length-n;r++)this.num[r]=e[r+n]}u.prototype={get:function(e){return this.num[e]},getLength:function(){return this.num.length},multiply:function(e){for(var t=new Array(this.getLength()+e.getLength()-1),n=0;n<this.getLength();n++)for(var r=0;r<e.getLength();r++)t[n+r]^=a.gexp(a.glog(this.get(n))+a.glog(e.get(r)));return new u(t,0)},mod:function(e){var t=this.getLength(),n=e.getLength();if(t-n<0)return this;for(var r=new Array(t),o=0;o<t;o++)r[o]=this.get(o);while(r.length>=n){var s=a.glog(r[0])-a.glog(e.get(0));for(o=0;o<e.getLength();o++)r[o]^=a.gexp(a.glog(e.get(o))+s);while(0==r[0])r.shift()}return new u(r,0)}};var l=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37
1],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]];function p(){this.buffer=new Array,this.length=0}r.prototype.getRightType=function(){for(var e=1;e<41;e++){var t=l[4*(e-1)+this.errorCorrectLevel];if(void 0==t)throw new Error("bad rs block @ typeNumber:"+e+"/errorCorrectLevel:"+this.errorCorrectLevel);for(var n=t.length/3,r=0,o=0;o<n;o++){var s=t[3*o+0],i=t[3*o+2];r+=i*s}var a=e>9?2:1;if(this.utf8bytes.length+a<r||40==e){this.typeNumber=e,this.rsBlock=t,this.totalDataCount=r;break}}},p.prototype={get:function(e){var t=Math.floor(e/8);return this.buffer[t]>>>7-e%8&1},put:function(e,t){for(var n=0;n<t;n++)this.putBit(e>>>t-n-1&1)},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=r},7484:function(e){!function(t,n){e.exports=n()}(0,(function(){"use strict";var e=1e3,t=6e4,n=36e5,r="millisecond",o="second",s="minute",i="hour",a="day",c="week",u="month",l="quarter",p="year",d="date",f="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},v=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},g={s:v,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),o=n%60;return(t<=0?"+":"-")+v(r,2,"0")+":"+v(o,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),o=t.clone().add(r,u),s=n-o<0,i=t.clone().add(r+(s?-1:1),u);return+(-(r+(n-o)/(s?o-i:i-o))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:u,y:p,w:c,d:a,D:d,h:i,m:s,s:o,ms:r,Q:l}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},y="en",b={};b[y]=_;var w="$isDayjsObject",C=function(e){return e instanceof E||!(!e||!e[w])},S=function e(t,n,r){var o;if(!t)return y;if("string"==typeof t){var s=t.toLowerCase();b[s]&&(o=s),n&&(b[s]=n,o=s);var i=t.split("-");if(!o&&i.length>1)return e(i[0])}else{var a=t.name;b[a]=t,o=a}return!r&&o&&(y=o),o||!r&&y},x=function(e,t){if(C(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new E(n)},k=g;k.l=S,k.i=C,k.w=function(e,t){return x(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function _(e){this.$L=S(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[w]=!0}var v=_.prototype;return v.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(k.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(h);if(r){var o=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(t)}(e),this.init()},v.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},v.$utils=function(){return k},v.isValid=function(){return!(this.$d.toString()===f)},v.isSame=function(e,t){var n=x(e);return this.startOf(t)<=n&&n<=this.endOf(t)},v.isAfter=function(e,t){return x(e)<this.startOf(t)},v.isBefore=function(e,t){return this.endOf(t)<x(e)},v.$g=function(e,t,n){return k.u(e)?this[t]:this.set(n,e)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(e,t){var n=this,r=!!k.u(t)||t,l=k.p(e),f=function(e,t){var o=k.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?o:o.endOf(a)},h=function(e,t){return k.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},m=this.$W,_=this.$M,v=this.$D,g="set"+(this.$u?"UTC":"");switch(l){case p:return r?f(1,0):f(31,11);case u:return r?f(1,_):f(0,_+1);case c:var y=this.$locale().weekStart||0,b=(m<y?m+7:m)-y;return f(r?v-b:v+(6-b),_);case a:case d:return h(g+"Hours",0);case i:return h(g+"Minutes",1);case s:return h(g+"Seconds",2);case o:return h(g+"Milliseconds",3);default:return this.clone()}},v.endOf=function(e){return this.startOf(e,!1)},v.$set=function(e,t){var n,c=k.p(e),l="set"+(this.$u?"UTC":""),f=(n={},n[a]=l+"Date",n[d]=l+"Date",n[u]=l+"Month",n[p]=l+"FullYear",n[i]=l+"Hours",n[s]=l+"Minutes",n[o]=l+"Seconds",n[r]=l+"Milliseconds",n)[c],h=c===a?this.$D+(t-this.$W):t;if(c===u||c===p){var m=this.clone().set(d,1);
vendor: 4,123 bytes, line 1
1m.$d[f](h),m.init(),this.$d=m.set(d,Math.min(this.$D,m.daysInMonth())).$d}else f&&this.$d[f](h);return this.init(),this},v.set=function(e,t){return this.clone().$set(e,t)},v.get=function(e){return this[k.p(e)]()},v.add=function(r,l){var d,f=this;r=Number(r);var h=k.p(l),m=function(e){var t=x(f);return k.w(t.date(t.date()+Math.round(e*r)),f)};if(h===u)return this.set(u,this.$M+r);if(h===p)return this.set(p,this.$y+r);if(h===a)return m(1);if(h===c)return m(7);var _=(d={},d[s]=t,d[i]=n,d[o]=e,d)[h]||1,v=this.$d.getTime()+r*_;return k.w(v,this)},v.subtract=function(e,t){return this.add(-1*e,t)},v.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||f;var r=e||"YYYY-MM-DDTHH:mm:ssZ",o=k.z(this),s=this.$H,i=this.$m,a=this.$M,c=n.weekdays,u=n.months,l=n.meridiem,p=function(e,n,o,s){return e&&(e[n]||e(t,r))||o[n].slice(0,s)},d=function(e){return k.s(s%12||12,e,"0")},h=l||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(m,(function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return k.s(t.$y,4,"0");case"M":return a+1;case"MM":return k.s(a+1,2,"0");case"MMM":return p(n.monthsShort,a,u,3);case"MMMM":return p(u,a);case"D":return t.$D;case"DD":return k.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return p(n.weekdaysMin,t.$W,c,2);case"ddd":return p(n.weekdaysShort,t.$W,c,3);case"dddd":return c[t.$W];case"H":return String(s);case"HH":return k.s(s,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return h(s,i,!0);case"A":return h(s,i,!1);case"m":return String(i);case"mm":return k.s(i,2,"0");case"s":return String(t.$s);case"ss":return k.s(t.$s,2,"0");case"SSS":return k.s(t.$ms,3,"0");case"Z":return o}return null}(e)||o.replace(":","")}))},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(r,d,f){var h,m=this,_=k.p(d),v=x(r),g=(v.utcOffset()-this.utcOffset())*t,y=this-v,b=function(){return k.m(m,v)};switch(_){case p:h=b()/12;break;case u:h=b();break;case l:h=b()/3;break;case c:h=(y-g)/6048e5;break;case a:h=(y-g)/864e5;break;case i:h=y/n;break;case s:h=y/t;break;case o:h=y/e;break;default:h=y}return f?h:k.a(h)},v.daysInMonth=function(){return this.endOf(u).$D},v.$locale=function(){return b[this.$L]},v.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=S(e,t,!0);return r&&(n.$L=r),n},v.clone=function(){return k.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},_}(),O=E.prototype;return x.prototype=O,[["$ms",r],["$s",o],["$m",s],["$H",i],["$W",a],["$M",u],["$y",p],["$D",d]].forEach((function(e){O[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),x.extend=function(e,t){return e.$i||(e(t,E,x),e.$i=!0),x},x.locale=S,x.isDayjs=C,x.unix=function(e){return x(1e3*e)},x.en=b[y],x.Ls=b,x.p={},x}))},3852:function(e,t,n){!function(t,r){e.exports=r(n(7484))}(0,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),r={name:"zh-cn",weekdays:"æææ¥_ææä¸_ææäº_ææä¸_ææå_ææäº_ææå
".split("_"),weekdaysShort:"卿¥_å¨ä¸_å¨äº_å¨ä¸_å¨å_å¨äº_å¨å
".split("_"),weekdaysMin:"æ¥_ä¸_äº_ä¸_å_äº_å
".split("_"),months:"䏿_äºæ_䏿_åæ_äºæ_å
æ_䏿_å
«æ_乿_åæ_å䏿_åäºæ".split("_"),monthsShort:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),ordinal:function(e,t){return"W"===t?e+"å¨":e+"æ¥"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYYå¹´MæDæ¥",LLL:"YYYYå¹´MæDæ¥Ahç¹mmå",LLLL:"YYYYå¹´MæDæ¥ddddAhç¹mmå",l:"YYYY/M/D",ll:"YYYYå¹´MæDæ¥",lll:"YYYYå¹´MæDæ¥ HH:mm",llll:"YYYYå¹´MæDæ¥dddd HH:mm"},relativeTime:{future:"%så
",past:"%så",s:"å ç§",m:"1 åé",mm:"%d åé",h:"1 å°æ¶",hh:"%d å°æ¶",d:"1 天",dd:"%d 天",M:"1 个æ",MM:"%d 个æ",y:"1 å¹´",yy:"%d å¹´"},meridiem:function(e,t){var n=100*e+t;
1return n<600?"忍":n<900?"æ©ä¸":n<1100?"ä¸å":n<1300?"ä¸å":n<1800?"ä¸å":"æä¸"}};return n.default.locale(r,null,!0),r}))},4712:function(e){!function(t,n){e.exports=n()}(0,(function(){"use strict";return function(e,t,n){var r="h:mm A",o={lastDay:"[Yesterday at] "+r,sameDay:"[Today at] "+r,nextDay:"[Tomorrow at] "+r,nextWeek:"dddd [at] "+r,lastWeek:"[Last] dddd [at] "+r,sameElse:"MM/DD/YYYY"};t.prototype.calendar=function(e,t){var r=t||this.$locale().calendar||o,s=n(e||void 0).startOf("d"),i=this.diff(s,"d",!0),a="sameElse",c=i<-6?a:i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":a,u=r[c]||o[c];return"function"==typeof u?u.call(this,n()):this.format(u)}}}))},4110:function(e){!function(t,n){e.exports=n()}(0,(function(){"use strict";return function(e,t,n){e=e||{};var r=t.prototype,o={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function s(e,t,n,o){return r.fromToBase(e,t,n,o)}n.en.relativeTime=o,r.fromToBase=function(t,r,s,i,a){for(var c,u,l,p=s.$locale().relativeTime||o,d=e.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],f=d.length,h=0;h<f;h+=1){var m=d[h];m.d&&(c=i?n(t).diff(s,m.d,!0):s.diff(t,m.d,!0));var _=(e.rounding||Math.round)(Math.abs(c));if(l=c>0,_<=m.r||!m.r){_<=1&&h>0&&(m=d[h-1]);var v=p[m.l];a&&(_=a(""+_)),u="string"==typeof v?v.replace("%d",_):v(_,r,m.l,l);break}}if(r)return u;var g=l?p.future:p.past;return"function"==typeof g?g(u):g.replace("%s",u)},r.to=function(e,t){return s(e,t,this,!0)},r.from=function(e,t){return s(e,t,this)};var i=function(e){return e.$u?n.utc():n()};r.toNow=function(e){return this.to(i(this),e)},r.fromNow=function(e){return this.from(i(this),e)}}}))},9306:function(e){(function(t){"use strict";var n=y(),r=b(),o=w(),s=C(),i={imagePlaceholder:void 0,cacheBust:!1},a={toSvg:c,toPng:l,toJpeg:p,toBlob:d,toPixelData:u,impl:{fontFaces:o,images:s,util:n,inliner:r,options:{}}};function c(e,t){return t=t||{},f(t),Promise.resolve(e).then((function(e){return m(e,t.filter,!0)})).then(_).then(v).then(r).then((function(r){return g(r,t.width||n.width(e),t.height||n.height(e))}));function r(e){return t.bgcolor&&(e.style.backgroundColor=t.bgcolor),t.width&&(e.style.width=t.width+"px"),t.height&&(e.style.height=t.height+"px"),t.style&&Object.keys(t.style).forEach((function(n){e.style[n]=t.style[n]})),e}}function u(e,t){return h(e,t||{}).then((function(t){return t.getContext("2d").getImageData(0,0,n.width(e),n.height(e)).data}))}function l(e,t){return h(e,t||{}).then((function(e){return e.toDataURL()}))}function p(e,t){return t=t||{},h(e,t).then((function(e){return e.toDataURL("image/jpeg",t.quality||1)}))}function d(e,t){return h(e,t||{}).then(n.canvasToBlob)}function f(e){"undefined"===typeof e.imagePlaceholder?a.impl.options.imagePlaceholder=i.imagePlaceholder:a.impl.options.imagePlaceholder=e.imagePlaceholder,"undefined"===typeof e.cacheBust?a.impl.options.cacheBust=i.cacheBust:a.impl.options.cacheBust=e.cacheBust}function h(e,t){return c(e,t).then(n.makeImage).then(n.delay(100)).then((function(t){var n=r(e);return n.getContext("2d").drawImage(t,0,0),n}));function r(e){var r=document.createElement("canvas");if(r.width=t.width||n.width(e),r.height=t.height||n.height(e),t.bgcolor){var o=r.getContext("2d");o.fillStyle=t.bgcolor,o.fillRect(0,0,r.width,r.height)}return r}}function m(e,t,r){return r||!t||t(e)?Promise.resolve(e).then(o).then((function(n){return s(e,n,t)})).then((function(t){return i(e,t)})):Promise.resolve();function o(e){return e instanceof HTMLCanvasElement?n.makeImage(e.toDataURL()):e.cloneNode(!1)}function s(e,t,r){var o=e.childNodes;return 0===o.length?Promise.resolve(t):s(t,n.asArray(o),r).then((function(){return t}));function s(e,t,n){var r=Promise.resolve();return t.forEach((function(t){r=r.then((function(){return m(t,n)})).then((function(t){t&&e.appendChild(t)}))})),r}}function i(e,t){return t instanceof Element?Promise.resolve().then(r).then(o).then(s).then(i).then((function(){return t})):t;function r(){function r(e,t){function r(e,t){n.asArray(e).forEach((function(n){t.setProperty(n,e.getPropertyValue(n),e.getPropertyPriority(n))}))}e.cssText?t.cssText=e.cssText:r(e,t)}r(window.getComputedStyle(e),t.style)}
1function o(){function r(r){var o=window.getComputedStyle(e,r),s=o.getPropertyValue("content");if(""!==s&&"none"!==s){var i=n.uid();t.className=t.className+" "+i;var a=document.createElement("style");a.appendChild(c(i,r,o)),t.appendChild(a)}function c(e,t,r){var o="."+e+":"+t,s=r.cssText?i(r):a(r);return document.createTextNode(o+"{"+s+"}");function i(e){var t=e.getPropertyValue("content");return e.cssText+" content: "+t+";"}function a(e){return n.asArray(e).map(t).join("; ")+";";function t(t){return t+": "+e.getPropertyValue(t)+(e.getPropertyPriority(t)?" !important":"")}}}}[":before",":after"].forEach((function(e){r(e)}))}function s(){e instanceof HTMLTextAreaElement&&(t.innerHTML=e.value),e instanceof HTMLInputElement&&t.setAttribute("value",e.value)}function i(){t instanceof SVGElement&&(t.setAttribute("xmlns","http://www.w3.org/2000/svg"),t instanceof SVGRectElement&&["width","height"].forEach((function(e){var n=t.getAttribute(e);n&&t.style.setProperty(e,n)})))}}}function _(e){return o.resolveAll().then((function(t){var n=document.createElement("style");return e.appendChild(n),n.appendChild(document.createTextNode(t)),e}))}function v(e){return s.inlineAll(e).then((function(){return e}))}function g(e,t,r){return Promise.resolve(e).then((function(e){return e.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),(new XMLSerializer).serializeToString(e)})).then(n.escapeXhtml).then((function(e){return'<foreignObject x="0" y="0" width="100%" height="100%">'+e+"</foreignObject>"})).then((function(e){return'<svg xmlns="http://www.w3.org/2000/svg" width="'+t+'" height="'+r+'">'+e+"</svg>"})).then((function(e){return"data:image/svg+xml;charset=utf-8,"+e}))}function y(){return{escape:d,parseExtension:t,mimeType:n,dataAsUrl:p,isDataUrl:r,canvasToBlob:s,resolveUrl:i,getAndEncode:l,uid:c(),delay:f,asArray:h,escapeXhtml:m,makeImage:u,width:_,height:v};function e(){var e="application/font-woff",t="image/jpeg";return{woff:e,woff2:e,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:t,jpeg:t,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml"}}function t(e){var t=/\.([^\.\/]*?)$/g.exec(e);return t?t[1]:""}function n(n){var r=t(n).toLowerCase();return e()[r]||""}function r(e){return-1!==e.search(/^(data:)/)}function o(e){return new Promise((function(t){for(var n=window.atob(e.toDataURL().split(",")[1]),r=n.length,o=new Uint8Array(r),s=0;s<r;s++)o[s]=n.charCodeAt(s);t(new Blob([o],{type:"image/png"}))}))}function s(e){return e.toBlob?new Promise((function(t){e.toBlob(t)})):o(e)}function i(e,t){var n=document.implementation.createHTMLDocument(),r=n.createElement("base");n.head.appendChild(r);var o=n.createElement("a");return n.body.appendChild(o),r.href=t,o.href=e,o.href}function c(){var e=0;return function(){return"u"+t()+e++;function t(){return("0000"+(Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4)}}}function u(e){return new Promise((function(t,n){var r=new Image;r.onload=function(){t(r)},r.onerror=n,r.src=e}))}function l(e){var t=3e4;return a.impl.options.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+(new Date).getTime()),new Promise((function(n){var r,o=new XMLHttpRequest;if(o.onreadystatechange=i,o.ontimeout=c,o.responseType="blob",o.timeout=t,o.open("GET",e,!0),o.send(),a.impl.options.imagePlaceholder){var s=a.impl.options.imagePlaceholder.split(/,/);s&&s[1]&&(r=s[1])}function i(){if(4===o.readyState)if(200===o.status){var t=new FileReader;t.onloadend=function(){var e=t.result.split(/,/)[1];n(e)},t.readAsDataURL(o.response)}else r?n(r):u("cannot fetch resource: "+e+", status: "+o.status)}function c(){r?n(r):u("timeout of "+t+"ms occured while fetching resource: "+e)}function u(e){console.error(e),n("")}}))}function p(e,t){return"data:"+t+";base64,"+e}function d(e){return e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1")}function f(e){return function(t){return new Promise((function(n){setTimeout((function(){n(t)}),e)}))}}function h(e){for(var t=[],n=e.length,r=0;r<n;r++)t.push(e[r]);return t}function m(e){return e.replace(/#/g,"%23").replace(/\n/g,"%0A")}function _(e){var t=g(e,"border-left-width"),n=g(e,"border-right-width");return e.scrollWidth+t+n}function v(e){var t=g(e,"border-top-width"),n=g(e,"border-bottom-width");return e.scrollHeight+t+n}function g(e,t){var n=window.getComputedStyle(e).getPropertyValue(t);return parseFloat(n.replace("px",""))}}function b(){var e=/url\(['"]?([^'"]+?)['"]?\)/g;return{inlineAll:s,shouldProcess:t,impl:{readUrls:r,inline:o}};function t(t){return-1!==t.search(e)}function r(t){var r,o=[];while(null!==(r=e.exec(t)))o.push(r[1]);return o.filter((function(e){return!n.isDataUrl(e)}))}function o(e,t,r,o){return Promise.resolve(t).then((function(e){return r?n.resolveUrl(e,r):e})).then(o||n.getAndEncode).then((function(e){return n.dataAsUrl(e,n.mimeType(t))})).then((function(n){return e.replace(s(t),"$1"+n+"$3")}));function s(e){return new RegExp("(url\\(['\"]?)("+n.escape(e)+")(['\"]?\\))","g")}}function s(e,n,s){return i()?Promise.resolve(e):Promise.resolve(e).then(r).then((function(t){var r=Promise.resolve(e);return t.forEach((function(e){r=r.then((function(t){return o(t,e,n,s)}))})),r}));function i(){return!t(e)}}}function w(){return{resolveAll:e,impl:{readAll:t}};function e(){return t(document).then((function(e){return Promise.all(e.map((function(e){return e.resolve()})))})).then((function(e){return e.join("\n")}))}function t(){return Promise.resolve(n.asArray(document.styleSheets)).then(t).then(e).then((function(e){return e.map(o)}));function e(e){return e.filter((function(e){return e.type===CSSRule.FONT_FACE_RULE})).filter((function(e){return r.shouldProcess(e.style.getPropertyValue("src"))}))}function t(e){var t=[];return e.forEach((function(e){try{n.asArray(e.cssRules||[]).forEac
1h(t.push.bind(t))}catch(r){console.log("Error while reading CSS rules from "+e.href,r.toString())}})),t}function o(e){return{resolve:function(){var t=(e.parentStyleSheet||{}).href;return r.inlineAll(e.cssText,t)},src:function(){return e.style.getPropertyValue("src")}}}}}function C(){return{inlineAll:t,impl:{newImage:e}};function e(e){return{inline:t};function t(t){return n.isDataUrl(e.src)?Promise.resolve():Promise.resolve(e.src).then(t||n.getAndEncode).then((function(t){return n.dataAsUrl(t,n.mimeType(e.src))})).then((function(t){return new Promise((function(n,r){e.onload=n,e.onerror=r,e.src=t}))}))}}function t(o){return o instanceof Element?s(o).then((function(){return o instanceof HTMLImageElement?e(o).inline():Promise.all(n.asArray(o.childNodes).map((function(e){return t(e)})))})):Promise.resolve(o);function s(e){var t=e.style.getPropertyValue("background");return t?r.inlineAll(t).then((function(t){e.style.setProperty("background",t,e.style.getPropertyPriority("background"))})).then((function(){return e})):Promise.resolve(e)}}}e.exports=a})()},6473:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=81)}({0:function(e,t,n){"use strict";function r(e,t,n,r,o,s,i,a){var c,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),s&&(u._scopeId="data-v-"+s),i?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},u._ssrRegister=c):o&&(c=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,c):[c]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},13:function(e,t){e.exports=n(2680)},17:function(e,t){e.exports=n(5389)},23:function(e,t){e.exports=n(4823)},7:function(e,t){e.exports=n(7203)},81:function(e,t,n){"use strict";n.r(t);var r=n(7),o=n.n(r),s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-message-fade"},on:{"after-leave":e.handleAfterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],class:["el-message",e.type&&!e.iconClass?"el-message--"+e.type:"",e.center?"is-center":"",e.showClose?"is-closable":"",e.customClass],style:e.positionStyle,attrs:{role:"alert"},on:{mouseenter:e.clearTimer,mouseleave:e.startTimer}},[e.iconClass?n("i",{class:e.iconClass}):n("i",{class:e.typeClass}),e._t("default",[e.dangerouslyUseHTMLString?n("p",{staticClass:"el-message__content",domProps:{innerHTML:e._s(e.message)}}):n("p",{staticClass:"el-message__content"},[e._v(e._s(e.message))])]),e.showClose?n("i",{staticClass:"el-message__closeBtn el-icon-close",on:{click:e.close}}):e._e()],2)])},i=[];s._withStripped=!0;var a={success:"success",info:"info",warning:"warning",error:"error"},c={data:function(){return{visible:!1,message:"",duration:3e3,type:"info",iconClass:"",customClass:"",onClose:null,showClose:!1,closed:!1,verticalOffset:20,timer:null,dangerouslyUseHTMLString:!1,center:!1}},computed:{typeClass:function(){return this.type&&!this.iconClass?"el-message__icon el-icon-"+a[this.type]:""},positionStyle:function(){return{top:this.verticalOffset+"px"}}},watch:{closed:function(e){e&&(this.visible=!1)}},methods:{handleAfterLeave:function(){this.$destroy(!0),this.$el.parentNode.removeChild(this.$el)},close:function(){this.closed=!0,"function"===typeof this.onClose&&this.onClose(this)},clearTimer:function(){clearTimeout(this.timer)},startTimer:function(){var e=this;this.duration>0&&(this.timer=setTimeout((function(){e.closed||e.close()}),this.duration))}
1,keydown:function(e){27===e.keyCode&&(this.closed||this.close())}},mounted:function(){this.startTimer(),document.addEventListener("keydown",this.keydown)},beforeDestroy:function(){document.removeEventListener("keydown",this.keydown)}},u=c,l=n(0),p=Object(l["a"])(u,s,i,!1,null,null,null);p.options.__file="packages/message/src/main.vue";var d=p.exports,f=n(13),h=n(23),m=n(17),_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v=o.a.extend(d),g=void 0,y=[],b=1,w=function e(t){if(!o.a.prototype.$isServer){t=t||{},"string"===typeof t&&(t={message:t});var n=t.onClose,r="message_"+b++;t.onClose=function(){e.close(r,n)},g=new v({data:t}),g.id=r,Object(h["isVNode"])(g.message)&&(g.$slots.default=[g.message],g.message=null),g.$mount(),document.body.appendChild(g.$el);var s=t.offset||20;return y.forEach((function(e){s+=e.$el.offsetHeight+16})),g.verticalOffset=s,g.visible=!0,g.$el.style.zIndex=f["PopupManager"].nextZIndex(),y.push(g),g}};["success","warning","info","error"].forEach((function(e){w[e]=function(t){return Object(m["isObject"])(t)&&!Object(h["isVNode"])(t)?w(_({},t,{type:e})):w({type:e,message:t})}})),w.close=function(e,t){for(var n=y.length,r=-1,o=void 0,s=0;s<n;s++)if(e===y[s].id){o=y[s].$el.offsetHeight,r=s,"function"===typeof t&&t(y[s]),y.splice(s,1);break}if(!(n<=1||-1===r||r>y.length-1))for(var i=r;i<n-1;i++){var a=y[i].$el;a.style["top"]=parseInt(a.style["top"],10)-o-16+"px"}},w.closeAll=function(){for(var e=y.length-1;e>=0;e--)y[e].close()};var C=w;t["default"]=C}})},4650:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=78)}({0:function(e,t,n){"use strict";function r(e,t,n,r,o,s,i,a){var c,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),s&&(u._scopeId="data-v-"+s),i?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},u._ssrRegister=c):o&&(c=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,c):[c]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},2:function(e,t){e.exports=n(4594)},3:function(e,t){e.exports=n(3104)},5:function(e,t){e.exports=n(499)},7:function(e,t){e.exports=n(7203)},78:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[n("transition",{attrs:{name:e.transition},on:{"after-enter":e.handleAfterEnter,"after-leave":e.handleAfterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:!e.disabled&&e.showPopper,expression:"!disabled && showPopper"}],ref:"popper",staticClass:"el-popover el-popper",class:[e.popperClass,e.content&&"el-popover--plain"],style:{width:e.width+"px"},attrs:{role:"tooltip",id:e.tooltipId,"aria-hidden":e.disabled||!e.showPopper?"true":"false"}},[e.title?n("div",{staticClass:"el-popover__title",domProps:{textContent:e._s(e.title)}}
1):e._e(),e._t("default",[e._v(e._s(e.content))])],2)]),n("span",{ref:"wrapper",staticClass:"el-popover__reference-wrapper"},[e._t("reference")],2)],1)},o=[];r._withStripped=!0;var s=n(5),i=n.n(s),a=n(2),c=n(3),u={name:"ElPopover",mixins:[i.a],props:{trigger:{type:String,default:"click",validator:function(e){return["click","focus","hover","manual"].indexOf(e)>-1}},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:200},title:String,disabled:Boolean,content:String,reference:{},popperClass:String,width:{},visibleArrow:{default:!0},arrowOffset:{type:Number,default:0},transition:{type:String,default:"fade-in-linear"},tabindex:{type:Number,default:0}},computed:{tooltipId:function(){return"el-popover-"+Object(c["generateId"])()}},watch:{showPopper:function(e){this.disabled||(e?this.$emit("show"):this.$emit("hide"))}},mounted:function(){var e=this,t=this.referenceElm=this.reference||this.$refs.reference,n=this.popper||this.$refs.popper;!t&&this.$refs.wrapper.children&&(t=this.referenceElm=this.$refs.wrapper.children[0]),t&&(Object(a["addClass"])(t,"el-popover__reference"),t.setAttribute("aria-describedby",this.tooltipId),t.setAttribute("tabindex",this.tabindex),n.setAttribute("tabindex",0),"click"!==this.trigger&&(Object(a["on"])(t,"focusin",(function(){e.handleFocus();var n=t.__vue__;n&&"function"===typeof n.focus&&n.focus()})),Object(a["on"])(n,"focusin",this.handleFocus),Object(a["on"])(t,"focusout",this.handleBlur),Object(a["on"])(n,"focusout",this.handleBlur)),Object(a["on"])(t,"keydown",this.handleKeydown),Object(a["on"])(t,"click",this.handleClick)),"click"===this.trigger?(Object(a["on"])(t,"click",this.doToggle),Object(a["on"])(document,"click",this.handleDocumentClick)):"hover"===this.trigger?(Object(a["on"])(t,"mouseenter",this.handleMouseEnter),Object(a["on"])(n,"mouseenter",this.handleMouseEnter),Object(a["on"])(t,"mouseleave",this.handleMouseLeave),Object(a["on"])(n,"mouseleave",this.handleMouseLeave)):"focus"===this.trigger&&(this.tabindex<0&&console.warn("[Element Warn][Popover]a negative taindex means that the element cannot be focused by tab key"),t.querySelector("input, textarea")?(Object(a["on"])(t,"focusin",this.doShow),Object(a["on"])(t,"focusout",this.doClose)):(Object(a["on"])(t,"mousedown",this.doShow),Object(a["on"])(t,"mouseup",this.doClose)))},beforeDestroy:function(){this.cleanup()},deactivated:function(){this.cleanup()},methods:{doToggle:function(){this.showPopper=!this.showPopper},doShow:function(){this.showPopper=!0},doClose:function(){this.showPopper=!1},handleFocus:function(){Object(a["addClass"])(this.referenceElm,"focusing"),"click"!==this.trigger&&"focus"!==this.trigger||(this.showPopper=!0)},handleClick:function(){Object(a["removeClass"])(this.referenceElm,"focusing")},handleBlur:function(){Object(a["removeClass"])(this.referenceElm,"focusing"),"click"!==this.trigger&&"focus"!==this.trigger||(this.showPopper=!1)},handleMouseEnter:function(){var e=this;clearTimeout(this._timer),this.openDelay?this._timer=setTimeout((function(){e.showPopper=!0}),this.openDelay):this.showPopper=!0},handleKeydown:function(e){27===e.keyCode&&"manual"!==this.trigger&&this.doClose()},handleMouseLeave:function(){var e=this;clearTimeout(this._timer),this.closeDelay?this._timer=setTimeout((function(){e.showPopper=!1}),this.closeDelay):this.showPopper=!1},handleDocumentClick:function(e){var t=this.reference||this.$refs.reference,n=this.popper||this.$refs.popper;!t&&this.$refs.wrapper.children&&(t=this.referenceElm=this.$refs.wrapper.children[0]),this.$el&&t&&!this.$el.contains(e.target)&&!t.contains(e.target)&&n&&!n.contains(e.target)&&(this.showPopper=!1)},handleAfterEnter:function(){this.$emit("after-enter")},handleAfterLeave:function(){this.$emit("after-leave"),this.doDestroy()},cleanup:function(){(this.openDelay||this.closeDelay)&&clearTimeout(this._timer)}},destroyed:function(){var e=this.reference;Object(a["off"])(e,"click",this.doToggle),Object(a["off"])(e,"mouseup",this.doClose),Object(a["off"])(e,"mousedown",this.doShow),Object(a["off"])(e,"focusin",this.doShow),Object(a["off"])(e,"focusout",this.doClose),Object(a["off"])(e,"mousedown",this.doShow),Object(a["off"])(e,"mouseup",this.doClose),Object(a["off"])(e,"mouseleave",this.handleMouseLeave),Object(a["off"])(e,"mouseenter",this.handleMouseEnter),Object(a["off"])(document,"click",this.handleDocumentClick)}},l=u,p=n(0),d=Object(p["a"])(l,r,o,!1,null,null,null);d.options.__file="packages/popover/src/main.vue";var f=d.exports,h=function(e,t,n){var r=t.expression?t.value:t.arg,o=n.context.$refs[r];o&&(Array.isArray(o)?o[0].$refs.reference=e:o.$refs.reference=e)},m={bind:function(e,t,n){h(e,t,n)},inserted:function(e,t,n){h(e,t,n)}},_=n(7),v=n.n(_);v.a.directive("popover",m),f.install=function(e){e.directive("popover",m),e.component(f.name,f)},f.directive=m;t["default"]=f}}
1)},4594:function(e,t,n){"use strict";t.__esModule=!0,t.isInContainer=t.getScrollContainer=t.isScroll=t.getStyle=t.once=t.off=t.on=void 0;var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.hasClass=m,t.addClass=_,t.removeClass=v,t.setStyle=y;var o=n(7203),s=i(o);function i(e){return e&&e.__esModule?e:{default:e}}var a=s.default.prototype.$isServer,c=/([\:\-\_]+(.))/g,u=/^moz([A-Z])/,l=a?0:Number(document.documentMode),p=function(e){return(e||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,"")},d=function(e){return e.replace(c,(function(e,t,n,r){return r?n.toUpperCase():n})).replace(u,"Moz$1")},f=t.on=function(){return!a&&document.addEventListener?function(e,t,n){e&&t&&n&&e.addEventListener(t,n,!1)}:function(e,t,n){e&&t&&n&&e.attachEvent("on"+t,n)}}(),h=t.off=function(){return!a&&document.removeEventListener?function(e,t,n){e&&t&&e.removeEventListener(t,n,!1)}:function(e,t,n){e&&t&&e.detachEvent("on"+t,n)}}();t.once=function(e,t,n){var r=function r(){n&&n.apply(this,arguments),h(e,t,r)};f(e,t,r)};function m(e,t){if(!e||!t)return!1;if(-1!==t.indexOf(" "))throw new Error("className should not contain space.");return e.classList?e.classList.contains(t):(" "+e.className+" ").indexOf(" "+t+" ")>-1}function _(e,t){if(e){for(var n=e.className,r=(t||"").split(" "),o=0,s=r.length;o<s;o++){var i=r[o];i&&(e.classList?e.classList.add(i):m(e,i)||(n+=" "+i))}e.classList||e.setAttribute("class",n)}}function v(e,t){if(e&&t){for(var n=t.split(" "),r=" "+e.className+" ",o=0,s=n.length;o<s;o++){var i=n[o];i&&(e.classList?e.classList.remove(i):m(e,i)&&(r=r.replace(" "+i+" "," ")))}e.classList||e.setAttribute("class",p(r))}}var g=t.getStyle=l<9?function(e,t){if(!a){if(!e||!t)return null;t=d(t),"float"===t&&(t="styleFloat");try{switch(t){case"opacity":try{return e.filters.item("alpha").opacity/100}catch(n){return 1}default:return e.style[t]||e.currentStyle?e.currentStyle[t]:null}}catch(n){return e.style[t]}}}:function(e,t){if(!a){if(!e||!t)return null;t=d(t),"float"===t&&(t="cssFloat");try{var n=document.defaultView.getComputedStyle(e,"");return e.style[t]||n?n[t]:null}catch(r){return e.style[t]}}};function y(e,t,n){if(e&&t)if("object"===("undefined"===typeof t?"undefined":r(t)))for(var o in t)t.hasOwnProperty(o)&&y(e,o,t[o]);else t=d(t),"opacity"===t&&l<9?e.style.filter=isNaN(n)?"":"alpha(opacity="+100*n+")":e.style[t]=n}var b=t.isScroll=function(e,t){if(!a){var n=null!==t&&void 0!==t,r=g(e,n?t?"overflow-y":"overflow-x":"overflow");return r.match(/(scroll|auto|overlay)/)}};t.getScrollContainer=function(e,t){if(!a){var n=e;while(n){if([window,document,document.documentElement].includes(n))return window;if(b(n,t))return n;n=n.parentNode}return n}},t.isInContainer=function(e,t){if(a||!e||!t)return!1;var n=e.getBoundingClientRect(),r=void 0;return r=[window,document,document.documentElement,null,void 0].includes(t)?{top:0,right:window.innerWidth,bottom:window.innerHeight,left:0}:t.getBoundingClientRect(),n.top<r.bottom&&n.bottom>r.top&&n.right>r.left&&n.left<r.right}},1615:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){for(var t=1,n=arguments.length;t<n;t++){var r=arguments[t]||{};for(var o in r)if(r.hasOwnProperty(o)){var s=r[o];void 0!==s&&(e[o]=s)}}return e}},8335:function(e,t,n){"use strict";var r,o;"function"===typeof Symbol&&Symbol.iterator;(function(s,i){r=i,o="function"===typeof r?r.call(t,n,t,e):r,void 0===o||(e.exports=o)})(0,(function(){var e=window,t={placement:"bottom",gpuAcceleration:!0,offset:0,boundariesElement:"viewport",boundariesPadding:5,preventOverflowOrder:["left","right","top","bottom"],flipBehavior:"flip",arrowElement:"[x-arrow]",arrowOffset:0,modifiers:["shift","offset","preventOverflow","keepTogether","arrow","flip","applyStyle"],modifiersIgnored:[],forceAbsolute:!1};function n(e,n,r){this._reference=e.jquery?e[0]:e,this.state={};var o="undefined"===typeof n||null===n,s=n&&"[object Object]"===Object.prototype.toString.call(n);return this._popper=o||s?this.parse(s?n:{}):n.jquery?n[0]:n,this._options=Object.assign({},t,r),this._options.modifiers=this._options.modifiers.map(function(e){if(-1===this._options.modifiersIgnored.indexOf(e))return"applyStyle"===e&&this._popper.setAttribute("x-placement",this._options.placement),this.modifiers[e]||e}.bind(this)),this.state.position=this._getPosition(this._popper,this._reference),p(this._popper,{position:this.state.position,top:0}),this.update(),this._setupEventListeners(),this}function r(t){var n=t.style.display,r=t.style.visibility;t.style.display="block",t.style.visibility="hidden";t.offsetWidth;var o=e.getComputedStyle(t),s=parseFloat(o.marginTop)+parseFloat(o.marginBottom),i=parseFloat(o.marginLeft)+parseFloat(o.marginRight),a={width:t.offsetWidth+i,height:t.offsetHeight+s};return t.style.display=n,t.style.visibility=r,a}
1function o(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function s(e){var t=Object.assign({},e);return t.right=t.left+t.width,t.bottom=t.top+t.height,t}function i(e,t){var n,r=0;for(n in e){if(e[n]===t)return r;r++}return null}function a(t,n){var r=e.getComputedStyle(t,null);return r[n]}function c(t){var n=t.offsetParent;return n!==e.document.body&&n?n:e.document.documentElement}function u(t){var n=t.parentNode;return n?n===e.document?e.document.body.scrollTop||e.document.body.scrollLeft?e.document.body:e.document.documentElement:-1!==["scroll","auto"].indexOf(a(n,"overflow"))||-1!==["scroll","auto"].indexOf(a(n,"overflow-x"))||-1!==["scroll","auto"].indexOf(a(n,"overflow-y"))?n:u(t.parentNode):t}function l(t){return t!==e.document.body&&("fixed"===a(t,"position")||(t.parentNode?l(t.parentNode):t))}function p(e,t){function n(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}Object.keys(t).forEach((function(r){var o="";-1!==["width","height","top","right","bottom","left"].indexOf(r)&&n(t[r])&&(o="px"),e.style[r]=t[r]+o}))}function d(e){var t={};return e&&"[object Function]"===t.toString.call(e)}function f(e){var t={width:e.offsetWidth,height:e.offsetHeight,left:e.offsetLeft,top:e.offsetTop};return t.right=t.left+t.width,t.bottom=t.top+t.height,t}function h(e){var t=e.getBoundingClientRect(),n=-1!=navigator.userAgent.indexOf("MSIE"),r=n&&"HTML"===e.tagName?-e.scrollTop:t.top;return{left:t.left,top:r,right:t.right,bottom:t.bottom,width:t.right-t.left,height:t.bottom-r}}function m(e,t,n){var r=h(e),o=h(t);if(n){var s=u(t);o.top+=s.scrollTop,o.bottom+=s.scrollTop,o.left+=s.scrollLeft,o.right+=s.scrollLeft}var i={top:r.top-o.top,left:r.left-o.left,bottom:r.top-o.top+r.height,right:r.left-o.left+r.width,width:r.width,height:r.height};return i}function _(t){for(var n=["","ms","webkit","moz","o"],r=0;r<n.length;r++){var o=n[r]?n[r]+t.charAt(0).toUpperCase()+t.slice(1):t;if("undefined"!==typeof e.document.body.style[o])return o}return null}return n.prototype.destroy=function(){return this._popper.removeAttribute("x-placement"),this._popper.style.left="",this._popper.style.position="",this._popper.style.top="",this._popper.style[_("transform")]="",this._removeEventListeners(),this._options.removeOnDestroy&&this._popper.remove(),this},n.prototype.update=function(){var e={instance:this,styles:{}};e.placement=this._options.placement,e._originalPlacement=this._options.placement,e.offsets=this._getOffsets(this._popper,this._reference,e.placement),e.boundaries=this._getBoundaries(e,this._options.boundariesPadding,this._options.boundariesElement),e=this.runModifiers(e,this._options.modifiers),"function"===typeof this.state.updateCallback&&this.state.updateCallback(e)},n.prototype.onCreate=function(e){return e(this),this},n.prototype.onUpdate=function(e){return this.state.updateCallback=e,this},n.prototype.parse=function(t){var n={tagName:"div",classNames:["popper"],attributes:[],parent:e.document.body,content:"",contentType:"text",arrowTagName:"div",arrowClassNames:["popper__arrow"],arrowAttributes:["x-arrow"]};t=Object.assign({},n,t);var r=e.document,o=r.createElement(t.tagName);if(a(o,t.classNames),c(o,t.attributes),"node"===t.contentType?o.appendChild(t.content.jquery?t.content[0]:t.content):"html"===t.contentType?o.innerHTML=t.content:o.textContent=t.content,t.arrowTagName){var s=r.createElement(t.arrowTagName);a(s,t.arrowClassNames),c(s,t.arrowAttributes),o.appendChild(s)}var i=t.parent.jquery?t.parent[0]:t.parent;if("string"===typeof i){if(i=r.querySelectorAll(t.parent),i.length>1&&console.warn("WARNING: the given `parent` query("+t.parent+") matched more than one element, the first one will be used"),0===i.length)throw"ERROR: the given `parent` doesn't exists!";i=i[0]}return i.length>1&&i instanceof Element===!1&&(console.warn("WARNING: you have passed as parent a list of elements, the first one will be used"),i=i[0]),i.appendChild(o),o;function a(e,t){t.forEach((function(t){e.classList.add(t)}))}function c(e,t){t.forEach((function(t){e.setAttribute(t.split(":")[0],t.split(":")[1]||"")}))}},n.prototype._getPosition=function(e,t){var n=c(t);if(this._options.forceAbsolute)return"absolute";var r=l(t,n);return r?"fixed":"absolute"},n.prototype._getOffsets=function(e,t,n){n=n.split("-")[0];var o={};o.position=this.state.position;var s="fixed"===o.position,i=m(t,c(e),s),a=r(e);return-1!==["right","left"].indexOf(n)?(o.top=i.top+i.height/2-a.height/2,o.left="left"===n?i.left-a.width:i.right):(o.left=i.left+i.width/2-a.width/2,o.top="top"===n?i.top-a.height:i.bottom),o.width=a.width,o.height=a.height,{popper:o,reference:i}},n.prototype._setupEventListeners=function(){if(this.state.updateBound=this.update.bind(this),e.addEventListener("resize",this.state.updateBound),"window"!==this._options.boundariesElement){var t=u(this._reference);t!==e.document.body&&t!==e.document.documentElement||(t=e),t.addEventListener("scroll",this.state.updateBound),this.state.scrollTarget=t}},n.prototype._removeEventListeners=function(){e.removeEventListener("resize",this.state.updateBound),"window"!==this._options.boundariesElement&&this.state.scrollTarget&&(this.state.scrollTarget.removeEventListener("scroll",this.state.updateBound),this.state.scrollTarget=null),this.state.updateBound=null},n.prototype._getBoundaries=function(t,n,r){var o,s,i={};if("window"===r){var a=e.document.body,l=e.document.documentElement;s=Math.max(a.scrollHeight,a.offsetHeight,l.clientHeight,l.scrollHeight,l.offsetHeight),o=Math.max(a.scrollWidth,a.offsetWidth,l.clientWidth,l.scrollWidth,l.offsetWidth),i={top:0,right:o,bottom:s,left:0}}else if("viewport"===r){var p=c(this._popper),d=u(this._popper),h=f(p),m=function(e){return e==document.body?Math.max(document.documentElement.scrollTop,document.body.scrollTop):e.scrollTop},_=function(e){return e==document.body?Math.max(document.documentElement.scrollLeft,document.body.scrollLeft):e.scrollLeft},v="fixed"===t.offsets.popper.position?0:m(d),g="fixed"===t.offsets.popper.position?0:_(d);i={top:0-(h.top-v),right:e.document.documentElement.clientWidth-(h.left-g),bottom:e.document.documentElement.clientHeight-(h.top-v),left:0-(h.left-g)}}else i=c(this._popper)===r?{top:0,left:0,right:r.clientWidth,bottom:r.clientHeight}:f(r);return i.left+=n,i.right-=n,i.top=i.top+n,i.bottom=i.bottom-n,i},n.prototype.runModifiers=function(e,t,n){var r=t.slice();return void 0!==n&&(r=this._options.modifiers.slice(0,i(this._options.modifiers,n))),r.forEach(function(t){d(t)&&(e=t.call(this,e))}.bind(this)),e},n.prototype.isModifierRequired=function(e,t){var n=i(this._options.modifiers,e);return!!this._options.modifiers.slice(0,n).filter((function(e){return e===t})).length},n.prototype.modifiers={},n.prototype.modifiers.applyStyle=function(e){var t,n={position:e.offsets.popper.position},r=Math.round(e.offsets.popper.left),o=Math.round(e.offsets.popper.top);return this._options.gpuAcceleration&&(t=_("transform"))?(n[t]="translate3d("+r+"px, "+o+"px, 0)",n.top=0,n.left=0):(n.left=r,
1n.top=o),Object.assign(n,e.styles),p(this._popper,n),this._popper.setAttribute("x-placement",e.placement),this.isModifierRequired(this.modifiers.applyStyle,this.modifiers.arrow)&&e.offsets.arrow&&p(e.arrowElement,e.offsets.arrow),e},n.prototype.modifiers.shift=function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets.reference,i=s(e.offsets.popper),a={y:{start:{top:o.top},end:{top:o.top+o.height-i.height}},x:{start:{left:o.left},end:{left:o.left+o.width-i.width}}},c=-1!==["bottom","top"].indexOf(n)?"x":"y";e.offsets.popper=Object.assign(i,a[c][r])}return e},n.prototype.modifiers.preventOverflow=function(e){var t=this._options.preventOverflowOrder,n=s(e.offsets.popper),r={left:function(){var t=n.left;return n.left<e.boundaries.left&&(t=Math.max(n.left,e.boundaries.left)),{left:t}},right:function(){var t=n.left;return n.right>e.boundaries.right&&(t=Math.min(n.left,e.boundaries.right-n.width)),{left:t}},top:function(){var t=n.top;return n.top<e.boundaries.top&&(t=Math.max(n.top,e.boundaries.top)),{top:t}},bottom:function(){var t=n.top;return n.bottom>e.boundaries.bottom&&(t=Math.min(n.top,e.boundaries.bottom-n.height)),{top:t}}};return t.forEach((function(t){e.offsets.popper=Object.assign(n,r[t]())})),e},n.prototype.modifiers.keepTogether=function(e){var t=s(e.offsets.popper),n=e.offsets.reference,r=Math.floor;return t.right<r(n.left)&&(e.offsets.popper.left=r(n.left)-t.width),t.left>r(n.right)&&(e.offsets.popper.left=r(n.right)),t.bottom<r(n.top)&&(e.offsets.popper.top=r(n.top)-t.height),t.top>r(n.bottom)&&(e.offsets.popper.top=r(n.bottom)),e},n.prototype.modifiers.flip=function(e){if(!this.isModifierRequired(this.modifiers.flip,this.modifiers.preventOverflow))return console.warn("WARNING: preventOverflow modifier is required by flip modifier in order to work, be sure to include it before flip!"),e;if(e.flipped&&e.placement===e._originalPlacement)return e;var t=e.placement.split("-")[0],n=o(t),r=e.placement.split("-")[1]||"",i=[];return i="flip"===this._options.flipBehavior?[t,n]:this._options.flipBehavior,i.forEach(function(a,c){if(t===a&&i.length!==c+1){t=e.placement.split("-")[0],n=o(t);var u=s(e.offsets.popper),l=-1!==["right","bottom"].indexOf(t);(l&&Math.floor(e.offsets.reference[t])>Math.floor(u[n])||!l&&Math.floor(e.offsets.reference[t])<Math.floor(u[n]))&&(e.flipped=!0,e.placement=i[c+1],r&&(e.placement+="-"+r),e.offsets.popper=this._getOffsets(this._popper,this._reference,e.placement).popper,e=this.runModifiers(e,this._options.modifiers,this._flip))}}.bind(this)),e},n.prototype.modifiers.offset=function(e){var t=this._options.offset,n=e.offsets.popper;return-1!==e.placement.indexOf("left")?n.top-=t:-1!==e.placement.indexOf("right")?n.top+=t:-1!==e.placement.indexOf("top")?n.left-=t:-1!==e.placement.indexOf("bottom")&&(n.left+=t),e},n.prototype.modifiers.arrow=function(e){var t=this._options.arrowElement,n=this._options.arrowOffset;if("string"===typeof t&&(t=this._popper.querySelector(t)),!t)return e;if(!this._popper.contains(t))return console.warn("WARNING: `arrowElement` must be child of its popper element!"),e;if(!this.isModifierRequired(this.modifiers.arrow,this.modifiers.keepTogether))return console.warn("WARNING: keepTogether modifier is required by arrow modifier in order to work, be sure to include it before arrow!"),e;var o={},i=e.placement.split("-")[0],a=s(e.offsets.popper),c=e.offsets.reference,u=-1!==["left","right"].indexOf(i),l=u?"height":"width",p=u?"top":"left",d=u?"left":"top",f=u?"bottom":"right",h=r(t)[l];c[f]-h<a[p]&&(e.offsets.popper[p]-=a[p]-(c[f]-h)),c[p]+h>a[f]&&(e.offsets.popper[p]+=c[p]+h-a[f]);var m=c[p]+(n||c[l]/2-h/2),_=m-a[p];return _=Math.max(Math.min(a[l]-h-8,_),8),o[p]=_,o[d]="",e.offsets.arrow=o,e.arrowElement=t,e},Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(void 0===e||null===e)throw new TypeError("Cannot convert first argument to object");for(var t=Object(e),n=1;n<arguments.length;n++){var r=arguments[n];if(void 0!==r&&null!==r){r=Object(r);for(var o=Object.keys(r),s=0,i=o.length;s<i;s++){var a=o[s],c=Object.getOwnPropertyDescriptor(r,a);void 0!==c&&c.enumerable&&(t[a]=r[a])}}}return t}}),n}))},2680:function(e,t,n){"use strict";t.__esModule=!0,t.PopupManager=void 0;var r=n(7203),o=d(r),s=n(1615),i=d(s),a=n(7562),c=d(a),u=n(1301),l=d(u),p=n(4594);
1function d(e){return e&&e.__esModule?e:{default:e}}var f=1,h=void 0;t["default"]={props:{visible:{type:Boolean,default:!1},openDelay:{},closeDelay:{},zIndex:{},modal:{type:Boolean,default:!1},modalFade:{type:Boolean,default:!0},modalClass:{},modalAppendToBody:{type:Boolean,default:!1},lockScroll:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!1},closeOnClickModal:{type:Boolean,default:!1}},beforeMount:function(){this._popupId="popup-"+f++,c.default.register(this._popupId,this)},beforeDestroy:function(){c.default.deregister(this._popupId),c.default.closeModal(this._popupId),this.restoreBodyStyle()},data:function(){return{opened:!1,bodyPaddingRight:null,computedBodyPaddingRight:0,withoutHiddenClass:!0,rendered:!1}},watch:{visible:function(e){var t=this;if(e){if(this._opening)return;this.rendered?this.open():(this.rendered=!0,o.default.nextTick((function(){t.open()})))}else this.close()}},methods:{open:function(e){var t=this;this.rendered||(this.rendered=!0);var n=(0,i.default)({},this.$props||this,e);this._closeTimer&&(clearTimeout(this._closeTimer),this._closeTimer=null),clearTimeout(this._openTimer);var r=Number(n.openDelay);r>0?this._openTimer=setTimeout((function(){t._openTimer=null,t.doOpen(n)}),r):this.doOpen(n)},doOpen:function(e){if(!this.$isServer&&(!this.willOpen||this.willOpen())&&!this.opened){this._opening=!0;var t=this.$el,n=e.modal,r=e.zIndex;if(r&&(c.default.zIndex=r),n&&(this._closing&&(c.default.closeModal(this._popupId),this._closing=!1),c.default.openModal(this._popupId,c.default.nextZIndex(),this.modalAppendToBody?void 0:t,e.modalClass,e.modalFade),e.lockScroll)){this.withoutHiddenClass=!(0,p.hasClass)(document.body,"el-popup-parent--hidden"),this.withoutHiddenClass&&(this.bodyPaddingRight=document.body.style.paddingRight,this.computedBodyPaddingRight=parseInt((0,p.getStyle)(document.body,"paddingRight"),10)),h=(0,l.default)();var o=document.documentElement.clientHeight<document.body.scrollHeight,s=(0,p.getStyle)(document.body,"overflowY");h>0&&(o||"scroll"===s)&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.computedBodyPaddingRight+h+"px"),(0,p.addClass)(document.body,"el-popup-parent--hidden")}"static"===getComputedStyle(t).position&&(t.style.position="absolute"),t.style.zIndex=c.default.nextZIndex(),this.opened=!0,this.onOpen&&this.onOpen(),this.doAfterOpen()}},doAfterOpen:function(){this._opening=!1},close:function(){var e=this;if(!this.willClose||this.willClose()){null!==this._openTimer&&(clearTimeout(this._openTimer),this._openTimer=null),clearTimeout(this._closeTimer);var t=Number(this.closeDelay);t>0?this._closeTimer=setTimeout((function(){e._closeTimer=null,e.doClose()}),t):this.doClose()}},doClose:function(){this._closing=!0,this.onClose&&this.onClose(),this.lockScroll&&setTimeout(this.restoreBodyStyle,200),this.opened=!1,this.doAfterClose()},doAfterClose:function(){c.default.closeModal(this._popupId),this._closing=!1},restoreBodyStyle:function(){this.modal&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.bodyPaddingRight,(0,p.removeClass)(document.body,"el-popup-parent--hidden")),this.withoutHiddenClass=!0}}},t.PopupManager=c.default},7562:function(e,t,n){"use strict";t.__esModule=!0;var r=n(7203),o=i(r),s=n(4594);function i(e){return e&&e.__esModule?e:{default:e}}var a=!1,c=!1,u=void 0,l=function(){if(!o.default.prototype.$isServer){var e=d.modalDom;return e?a=!0:(a=!1,e=document.createElement("div"),d.modalDom=e,e.addEventListener("touchmove",(function(e){e.preventDefault(),e.stopPropagation()})),e.addEventListener("click",(function(){d.doOnModalClick&&d.doOnModalClick()}))),e}},p={},d={modalFade:!0,getInstance:function(e){return p[e]},register:function(e,t){e&&t&&(p[e]=t)},deregister:function(e){e&&(p[e]=null,delete p[e])},nextZIndex:function(){return d.zIndex++},modalStack:[],doOnModalClick:function(){var e=d.modalStack[d.modalStack.length-1];if(e){var t=d.getInstance(e.id);t&&t.closeOnClickModal&&t.close()}},openModal:function(e,t,n,r,i){if(!o.default.prototype.$isServer&&e&&void 0!==t){this.modalFade=i;for(var c=this.modalStack,u=0,p=c.length;u<p;u++){var d=c[u];if(d.id===e)return}var f=l();if((0,s.addClass)(f,"v-modal"),this.modalFade&&!a&&(0,s.addClass)(f,"v-modal-enter"),r){var h=r.trim().split(/\s+/);h.forEach((function(e){return(0,s.addClass)(f,e)}))}setTimeout((function(){(0,s.removeClass)(f,"v-modal-enter")}),200),n&&n.parentNode&&11!==n.parentNode.nodeType?n.parentNode.appendChild(f):document.body.appendChild(f),t&&(f.style.zIndex=t),f.tabIndex=0,f.style.display="",this.modalStack.push({id:e,zIndex:t,modalClass:r})}},closeModal:function(e){var t=this.modalStack,n=l();if(t.length>0){var r=t[t.length-1];if(r.id===e){if(r.modalClass){var o=r.modalClass.trim().split(/\s+/);o.forEach((function(e){return(0,s.removeClass)(n,e)}))}t.pop(),t.length>0&&(n.style.zIndex=t[t.length-1].zIndex)}else for(var i=t.length-1;i>=0;i--)if(t[i].id===e){t.splice(i,1);break}}0===t.length&&(this.modalFade&&(0,s.addClass)(n,"v-modal-leave"),setTimeout((function(){0===t.length&&(n.parentNode&&n.parentNode.removeChild(n),n.style.display="none",d.modalDom=void 0),(0,s.removeClass)(n,"v-modal-leave")}),200))}};Object.defineProperty(d,"zIndex",{configurable:!0,get:function(){return c||(u=u||(o.default.prototype.$ELEMENT||{}).zIndex||2e3,c=!0),u},set:function(e){u=e}});var f=function(){if(!o.default.prototype.$isServer&&d.modalStack.length>0){var e=d.modalStack[d.modalStack.length-1];if(!e)return;var t=d.getInstance(e.id);return t}};o.default.prototype.$isServer||window.addEventListener("keydown",(function(e){if(27===e.ke
1yCode){var t=f();t&&t.closeOnPressEscape&&(t.handleClose?t.handleClose():t.handleAction?t.handleAction("cancel"):t.close())}})),t["default"]=d},1301:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(){if(o.default.prototype.$isServer)return 0;if(void 0!==i)return i;var e=document.createElement("div");e.className="el-scrollbar__wrap",e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);var t=e.offsetWidth;e.style.overflow="scroll";var n=document.createElement("div");n.style.width="100%",e.appendChild(n);var r=n.offsetWidth;return e.parentNode.removeChild(e),i=t-r,i};var r=n(7203),o=s(r);function s(e){return e&&e.__esModule?e:{default:e}}var i=void 0},5389:function(e,t,n){"use strict";t.__esModule=!0,t.isDefined=t.isUndefined=t.isFunction=void 0;var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.isString=a,t.isObject=c,t.isHtmlElement=u;var o=n(7203),s=i(o);function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return"[object String]"===Object.prototype.toString.call(e)}function c(e){return"[object Object]"===Object.prototype.toString.call(e)}function u(e){return e&&e.nodeType===Node.ELEMENT_NODE}var l=function(e){var t={};return e&&"[object Function]"===t.toString.call(e)};"object"===("undefined"===typeof Int8Array?"undefined":r(Int8Array))||!s.default.prototype.$isServer&&"function"===typeof document.childNodes||(t.isFunction=l=function(e){return"function"===typeof e||!1}),t.isFunction=l;t.isUndefined=function(e){return void 0===e},t.isDefined=function(e){return void 0!==e&&null!==e}},3104:function(e,t,n){"use strict";t.__esModule=!0,t.isMac=t.isEmpty=t.isEqual=t.arrayEquals=t.looseEqual=t.capitalize=t.kebabCase=t.autoprefixer=t.isFirefox=t.isEdge=t.isIE=t.coerceTruthyValueToArray=t.arrayFind=t.arrayFindIndex=t.escapeRegexpString=t.valueEquals=t.generateId=t.getValueByPath=void 0;var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.noop=u,t.hasOwn=l,t.toObject=d,t.getPropByPath=f,t.rafThrottle=g,t.objToArray=y;var o=n(7203),s=a(o),i=n(5389);function a(e){return e&&e.__esModule?e:{default:e}}var c=Object.prototype.hasOwnProperty;function u(){}function l(e,t){return c.call(e,t)}function p(e,t){for(var n in t)e[n]=t[n];return e}function d(e){for(var t={},n=0;n<e.length;n++)e[n]&&p(t,e[n]);return t}t.getValueByPath=function(e,t){t=t||"";for(var n=t.split("."),r=e,o=null,s=0,i=n.length;s<i;s++){var a=n[s];if(!r)break;if(s===i-1){o=r[a];break}r=r[a]}return o};function f(e,t,n){var r=e;t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,"");for(var o=t.split("."),s=0,i=o.length;s<i-1;++s){if(!r&&!n)break;var a=o[s];if(!(a in r)){if(n)throw new Error("please transfer a valid prop path to form item!");break}r=r[a]}return{o:r,k:o[s],v:r?r[o[s]]:null}}t.generateId=function(){return Math.floor(1e4*Math.random())},t.valueEquals=function(e,t){if(e===t)return!0;if(!(e instanceof Array))return!1;if(!(t instanceof Array))return!1;if(e.length!==t.length)return!1;for(var n=0;n!==e.length;++n)if(e[n]!==t[n])return!1;return!0},t.escapeRegexpString=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return String(e).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")};var h=t.arrayFindIndex=function(e,t){for(var n=0;n!==e.length;++n)if(t(e[n]))return n;return-1},m=(t.arrayFind=function(e,t){var n=h(e,t);return-1!==n?e[n]:void 0},t.coerceTruthyValueToArray=function(e){return Array.isArray(e)?e:e?[e]:[]},t.isIE=function(){return!s.default.prototype.$isServer&&!isNaN(Number(document.documentMode))},t.isEdge=function(){return!s.default.prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},t.isFirefox=function(){return!s.default.prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)},t.autoprefixer=function(e){if("object"!==("undefined"===typeof e?"undefined":r(e)))return e;var t=["transform","transition","animation"],n=["ms-","webkit-"];return t.forEach((function(t){var r=e[t];
1t&&r&&n.forEach((function(n){e[n+t]=r}))})),e},t.kebabCase=function(e){var t=/([^-])([A-Z])/g;return e.replace(t,"$1-$2").replace(t,"$1-$2").toLowerCase()},t.capitalize=function(e){return(0,i.isString)(e)?e.charAt(0).toUpperCase()+e.slice(1):e},t.looseEqual=function(e,t){var n=(0,i.isObject)(e),r=(0,i.isObject)(t);return n&&r?JSON.stringify(e)===JSON.stringify(t):!n&&!r&&String(e)===String(t)}),_=t.arrayEquals=function(e,t){if(e=e||[],t=t||[],e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!m(e[n],t[n]))return!1;return!0},v=(t.isEqual=function(e,t){return Array.isArray(e)&&Array.isArray(t)?_(e,t):m(e,t)},t.isEmpty=function(e){if(null==e)return!0;if("boolean"===typeof e)return!1;if("number"===typeof e)return!e;if(e instanceof Error)return""===e.message;switch(Object.prototype.toString.call(e)){case"[object String]":case"[object Array]":return!e.length;case"[object File]":case"[object Map]":case"[object Set]":return!e.size;case"[object Object]":return!Object.keys(e).length}return!1});function g(e){var t=!1;return function(){for(var n=this,r=arguments.length,o=Array(r),s=0;s<r;s++)o[s]=arguments[s];t||(t=!0,window.requestAnimationFrame((function(r){e.apply(n,o),t=!1})))}}function y(e){return Array.isArray(e)?e:v(e)?[]:[e]}t.isMac=function(){return!s.default.prototype.$isServer&&/macintosh|mac os x/i.test(navigator.userAgent)}},4823:function(e,t,n){"use strict";t.__esModule=!0;var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.isVNode=s;var o=n(3104);function s(e){return null!==e&&"object"===("undefined"===typeof e?"undefined":r(e))&&(0,o.hasOwn)(e,"componentOptions")}},499:function(e,t,n){"use strict";t.__esModule=!0;var r=n(7203),o=i(r),s=n(2680);function i(e){return e&&e.__esModule?e:{default:e}}var a=o.default.prototype.$isServer?function(){}:n(8335),c=function(e){return e.stopPropagation()};t["default"]={props:{transformOrigin:{type:[Boolean,String],default:!0},placement:{type:String,default:"bottom"},boundariesPadding:{type:Number,default:5},reference:{},popper:{},offset:{default:0},value:Boolean,visibleArrow:Boolean,arrowOffset:{type:Number,default:35},appendToBody:{type:Boolean,default:!0},popperOptions:{type:Object,default:function(){return{gpuAcceleration:!1}}}},data:function(){return{showPopper:!1,currentPlacement:""}},watch:{value:{immediate:!0,handler:function(e){this.showPopper=e,this.$emit("input",e)}},showPopper:function(e){this.disabled||(e?this.updatePopper():this.destroyPopper(),this.$emit("input",e))}},methods:{createPopper:function(){var e=this;if(!this.$isServer&&(this.currentPlacement=this.currentPlacement||this.placement,/^(top|bottom|left|right)(-start|-end)?$/g.test(this.currentPlacement))){var t=this.popperOptions,n=this.popperElm=this.popperElm||this.popper||this.$refs.popper,r=this.referenceElm=this.referenceElm||this.reference||this.$refs.reference;!r&&this.$slots.reference&&this.$slots.reference[0]&&(r=this.referenceElm=this.$slots.reference[0].elm),n&&r&&(this.visibleArrow&&this.appendArrow(n),this.appendToBody&&document.body.appendChild(this.popperElm),this.popperJS&&this.popperJS.destroy&&this.popperJS.destroy(),t.placement=this.currentPlacement,t.offset=this.offset,t.arrowOffset=this.arrowOffset,this.popperJS=new a(r,n,t),this.popperJS.onCreate((function(t){e.$emit("created",e),e.resetTransformOrigin(),e.$nextTick(e.updatePopper)})),"function"===typeof t.onUpdate&&this.popperJS.onUpdate(t.onUpdate),this.popperJS._popper.style.zIndex=s.PopupManager.nextZIndex(),this.popperElm.addEventListener("click",c))}},updatePopper:function(){var e=this.popperJS;e?(e.update(),e._popper&&(e._popper.style.zIndex=s.PopupManager.nextZIndex())):this.createPopper()},doDestroy:function(e){!this.popperJS||this.showPopper&&!e||(this.popperJS.destroy(),this.popperJS=null)},destroyPopper:function(){this.popperJS&&this.resetTransformOrigin()},resetTransformOrigin:function(){if(this.transformOrigin){var e={top:"bottom",bottom:"top",left:"right",right:"left"},t=this.popperJS._popper.getAttribute("x-placement").split("-")[0],n=e[t];this.popperJS._popper.style.transformOrigin="string"===typeof this.transformOrigin?this.transformOrigin:["top","bottom"].indexOf(t)>-1?"center "+n:n+" center"}},appendArrow:function(e){var t=void 0;if(!this.appended){for(var n in this.appended=!0,e.attributes)if(/^_v-/.test(e.attributes[n].name)){t=e.attributes[n].name;break}var r=document.createElement("div");t&&r.setAttribute(t,""),r.setAttribute("x-arrow",""),r.className="popper__arrow",e.appendChild(r)}}},beforeDestroy:function(){this.doDestroy(!0),this.popperElm&&this.popperElm.parentNode===document.body&&(this.popperElm.removeEventListener("click",c),document.body.removeChild(this.popperElm))},deactivated:function(){this.$options.beforeDestroy[0].call(this)}}},2705:function(e,t,n){var r=n(5639),o=r.Symbol;e.exports=o},4239:function(e,t,n){var r=n(2705),o=n(9607),s=n(2333),i="[object Null]",a="[object Undef
1ined]",c=r?r.toStringTag:void 0;function u(e){return null==e?void 0===e?a:i:c&&c in Object(e)?o(e):s(e)}e.exports=u},7561:function(e,t,n){var r=n(7990),o=/^\s+/;function s(e){return e?e.slice(0,r(e)+1).replace(o,""):e}e.exports=s},1957:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},9607:function(e,t,n){var r=n(2705),o=Object.prototype,s=o.hasOwnProperty,i=o.toString,a=r?r.toStringTag:void 0;function c(e){var t=s.call(e,a),n=e[a];try{e[a]=void 0;var r=!0}catch(c){}var o=i.call(e);return r&&(t?e[a]=n:delete e[a]),o}e.exports=c},2333:function(e){var t=Object.prototype,n=t.toString;function r(e){return n.call(e)}e.exports=r},5639:function(e,t,n){var r=n(1957),o="object"==typeof self&&self&&self.Object===Object&&self,s=r||o||Function("return this")();e.exports=s},7990:function(e){var t=/\s/;function n(e){var n=e.length;while(n--&&t.test(e.charAt(n)));return n}e.exports=n},3279:function(e,t,n){var r=n(3218),o=n(7771),s=n(4841),i="Expected a function",a=Math.max,c=Math.min;function u(e,t,n){var u,l,p,d,f,h,m=0,_=!1,v=!1,g=!0;if("function"!=typeof e)throw new TypeError(i);function y(t){var n=u,r=l;return u=l=void 0,m=t,d=e.apply(r,n),d}function b(e){return m=e,f=setTimeout(S,t),_?y(e):d}function w(e){var n=e-h,r=e-m,o=t-n;return v?c(o,p-r):o}function C(e){var n=e-h,r=e-m;return void 0===h||n>=t||n<0||v&&r>=p}function S(){var e=o();if(C(e))return x(e);f=setTimeout(S,w(e))}function x(e){return f=void 0,g&&u?y(e):(u=l=void 0,d)}function k(){void 0!==f&&clearTimeout(f),m=0,u=h=l=f=void 0}function E(){return void 0===f?d:x(o())}function O(){var e=o(),n=C(e);if(u=arguments,l=this,h=e,n){if(void 0===f)return b(h);if(v)return clearTimeout(f),f=setTimeout(S,t),y(h)}return void 0===f&&(f=setTimeout(S,t)),d}return t=s(t)||0,r(n)&&(_=!!n.leading,v="maxWait"in n,p=v?a(s(n.maxWait)||0,t):p,g="trailing"in n?!!n.trailing:g),O.cancel=k,O.flush=E,O}e.exports=u},3218:function(e){function t(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=t},7005:function(e){function t(e){return null!=e&&"object"==typeof e}e.exports=t},3448:function(e,t,n){var r=n(4239),o=n(7005),s="[object Symbol]";function i(e){return"symbol"==typeof e||o(e)&&r(e)==s}e.exports=i},7771:function(e,t,n){var r=n(5639),o=function(){return r.Date.now()};e.exports=o},3493:function(e,t,n){var r=n(3279),o=n(3218),s="Expected a function";function i(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError(s);return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}e.exports=i},4841:function(e,t,n){var r=n(7561),o=n(3218),s=n(3448),i=NaN,a=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;function p(e){if("number"==typeof e)return e;if(s(e))return i;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=c.test(e);return n||u.test(e)?l(e.slice(2),n?2:8):a.test(e)?i:+e}e.exports=p},5295:function(e){e.exports=function(e){for(var t,n=Array.prototype.slice.call(arguments,1),r=0;t=n[r];r++)if(t)for(var o in t)e[o]=t[o];return e}},7203:function(t){"use strict";t.exports=e},509:function(e,t,n){"use strict";var r=n(9985),o=n(3691),s=TypeError;e.exports=function(e){if(r(e))return e;throw new s(o(e)+" is not a function")}},767:function(e,t,n){"use strict";var r=n(3622),o=TypeError;e.exports=function(e,t){if(r(t,e))return e;throw new o("Incorrect invocation")}},5027:function(e,t,n){"use strict";var r=n(8999),o=String,s=TypeError;e.exports=function(e){if(r(e))return e;throw new s(o(e)+" is not an object")}},4328:function(e,t,n){"use strict";var r=n(5290),o=n(7578),s=n(6310),i=function(e){return function(t,n,i){var a=r(t),c=s(a);if(0===c)return!e&&-1;var u,l=o(i,c);if(e&&n!==n){while(c>l)if(u=a[l++],u!==u)return!0}else for(;c>l;l++)if((e||l in a)&&a[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},5649:function(e,t,n){"use strict";var r=n(7697),o=n(2297),s=TypeError,i=Object.getOwnPropertyDescriptor,a=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=a?function(e,t){if(o(e)&&!i(e,"length").writable)throw new s("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},1228:function(e,t,n){"use strict";var r=n(5027),o=n(2125);e.exports=function(e,t,n,s){try{return s?t(r(n)[0],n[1]):t(n)}catch(i){o(e,"throw",i)}}},6648:function(e,t,n){"use strict";var r=n(8844),o=r({}.toString),s=r("".slice);e.exports=function(e){return s(o(e),8,-1)}},926:function(e,t,n){"use strict";var r=n(3043),o=n(9985),s=n(6648),i=n(4201),a=i("toStringTag"),c=Object,u="Arguments"===s(function(){return arguments}()),l=function(e,t){try{return e[t]}catch(n){}};e.exports=r?s:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=l(t=c(e),a))?n:u?s(t):"Object"===(r=s(t))&&o(t.callee)?"Arguments":r}},8758:function(e,t,n){"use strict";var r=n(6812),o=n(9152),s=n(2474),i=n(2560);e.exports=function(e,t,n){for(var a=o(t),c=i.f,u=s.f,l=0;l<a.length;l++){var p=a[l];r(e,p)||n&&r(n,p)||c(e,p,u(t,p))}}},1748:function(e,t,n){"use strict";var r=n(3689);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7807:function(e){"use strict";e.exports=function(e,t){return{value:e,done:t}}},5773:function(e,t,n){"use strict";var r=n(7697),o=n(2560),s=n(5684);e.exports=r?function(e,t,n){return o.f(e,t,s(1,n))}:function(e,t,n){return e[t]=n,e}},5684:function(e){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},6522:function(e,t,n){"use strict";var r=n(7697),o=n(2560),s=n(5684);e.exports=function(e,t,n){r?o.f(e,t,s(0,n)):e[t]=n}},2148:function(e,t,n){"use strict";var r=n(8702),o=n(2560);e.exports=function(e,t,n){return n.get&&r(n.get,t,{getter:!0}),n.set&&r(n.set,t,{setter:!0}),o.f(e,t,n)}},1880:function(e,t,n){"use strict";var r=n(9985),o=n(2560),s=n(8702),i=n(5014);e.exports=function(e,t,n,a){a||(a={});var c=a.enumerable,u=void 0!==a.name?a.name:t;if(r(n)&&s(n,u,a),a.global)c?e[t]=n:i(t,n);else{try{a.unsafe?e[t]&&(c=!0):delete e[t]}catch(l){}
1c?e[t]=n:o.f(e,t,{value:n,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},6045:function(e,t,n){"use strict";var r=n(1880);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},5014:function(e,t,n){"use strict";var r=n(1087),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},7697:function(e,t,n){"use strict";var r=n(3689);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},6420:function(e,t,n){"use strict";var r=n(1087),o=n(8999),s=r.document,i=o(s)&&o(s.createElement);e.exports=function(e){return i?s.createElement(e):{}}},5565:function(e){"use strict";var t=TypeError,n=9007199254740991;e.exports=function(e){if(e>n)throw t("Maximum allowed index exceeded");return e}},2739:function(e){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},8017:function(e,t,n){"use strict";var r=n(1087),o=r.navigator,s=o&&o.userAgent;e.exports=s?String(s):""},1352:function(e,t,n){"use strict";var r,o,s=n(1087),i=n(8017),a=s.process,c=s.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(r=l.split("."),o=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&i&&(r=i.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/),r&&(o=+r[1]))),e.exports=o},9989:function(e,t,n){"use strict";var r=n(1087),o=n(2474).f,s=n(5773),i=n(1880),a=n(5014),c=n(8758),u=n(5266);e.exports=function(e,t){var n,l,p,d,f,h,m=e.target,_=e.global,v=e.stat;if(l=_?r:v?r[m]||a(m,{}):r[m]&&r[m].prototype,l)for(p in t){if(f=t[p],e.dontCallGetSet?(h=o(l,p),d=h&&h.value):d=l[p],n=u(_?p:m+(v?".":"#")+p,e.forced),!n&&void 0!==d){if(typeof f==typeof d)continue;c(f,d)}(e.sham||d&&d.sham)&&s(f,"sham",!0),i(l,p,f,e)}}},3689:function(e){"use strict";e.exports=function(e){try{return!!e()}catch(t){return!0}}},4071:function(e,t,n){"use strict";var r=n(6576),o=n(509),s=n(7215),i=r(r.bind);e.exports=function(e,t){return o(e),void 0===t?e:s?i(e,t):function(){return e.apply(t,arguments)}}},7215:function(e,t,n){"use strict";var r=n(3689);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},2615:function(e,t,n){"use strict";var r=n(7215),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},1236:function(e,t,n){"use strict";var r=n(7697),o=n(6812),s=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,a=o(s,"name"),c=a&&"something"===function(){}.name,u=a&&(!r||r&&i(s,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},6576:function(e,t,n){"use strict";var r=n(6648),o=n(8844);e.exports=function(e){if("Function"===r(e))return o(e)}},8844:function(e,t,n){"use strict";var r=n(7215),o=Function.prototype,s=o.call,i=r&&o.bind.bind(s,s);e.exports=r?i:function(e){return function(){return s.apply(e,arguments)}}},6058:function(e,t,n){"use strict";var r=n(1087),o=n(9985),s=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?s(r[e]):r[e]&&r[e][t]}},2302:function(e){"use strict";e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},1664:function(e,t,n){"use strict";var r=n(926),o=n(4849),s=n(981),i=n(9478),a=n(4201),c=a("iterator");e.exports=function(e){if(!s(e))return o(e,c)||o(e,"@@iterator")||i[r(e)]}},5185:function(e,t,n){"use strict";var r=n(2615),o=n(509),s=n(5027),i=n(3691),a=n(1664),c=TypeError;e.exports=function(e,t){var n=arguments.length<2?a(e):t;if(o(n))return s(r(n,e));throw new c(i(e)+" is not iterable")}},4849:function(e,t,n){"use strict";var r=n(509),o=n(981);e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},1087:function(e,t,n){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},6812:function(e,t,n){"use strict";var r=n(8844),o=n(690),s=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return s(o(e),t)}},7248:function(e){"use strict";e.exports={}},2688:function(e,t,n){"use strict";var r=n(6058);e.exports=r("document","documentElement")},8506:function(e,t,n){"use strict";var r=n(7697),o=n(3689),s=n(6420);e.exports=!r&&!o((function(){return 7!==Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},4413:function(e,t,n){"use strict";var r=n(8844),o=n(3689),s=n(6648),i=Object,a=r("".split);e.exports=o((function(){return!i("z").propertyIsEnumerable(0)}))?function(e){return"String"===s(e)?a(e,""):i(e)}:i},6738:function(e,t,n){"use strict";var r=n(8844),o=n(9985),s=n(4091),i=r(Function.toString);o(s.inspectSource)||(s.inspectSource=function(e){return i(e)}),e.exports=s.inspectSource},618:function(e,t,n){"use strict";var r,o,s,i=n(9834),a=n(1087),c=n(8999),u=n(5773),l=n(6812),p=n(4091),d=n(2713),f=n(7248),h="Object already initialized",m=a.TypeError,_=a.WeakMap,v=function(e){return s(e)?o(e):r(e,{})},g=function(e){return function(t){var n;
vendor: 8,756 bytes, line 1
1if(!c(t)||(n=o(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return n}};if(i||p.state){var y=p.state||(p.state=new _);y.get=y.get,y.has=y.has,y.set=y.set,r=function(e,t){if(y.has(e))throw new m(h);return t.facade=e,y.set(e,t),t},o=function(e){return y.get(e)||{}},s=function(e){return y.has(e)}}else{var b=d("state");f[b]=!0,r=function(e,t){if(l(e,b))throw new m(h);return t.facade=e,u(e,b,t),t},o=function(e){return l(e,b)?e[b]:{}},s=function(e){return l(e,b)}}e.exports={set:r,get:o,has:s,enforce:v,getterFor:g}},3292:function(e,t,n){"use strict";var r=n(4201),o=n(9478),s=r("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||i[s]===e)}},2297:function(e,t,n){"use strict";var r=n(6648);e.exports=Array.isArray||function(e){return"Array"===r(e)}},9985:function(e){"use strict";var t="object"==typeof document&&document.all;e.exports="undefined"==typeof t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},5266:function(e,t,n){"use strict";var r=n(3689),o=n(9985),s=/#|\.prototype\./,i=function(e,t){var n=c[a(e)];return n===l||n!==u&&(o(t)?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(s,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",l=i.POLYFILL="P";e.exports=i},981:function(e){"use strict";e.exports=function(e){return null===e||void 0===e}},8999:function(e,t,n){"use strict";var r=n(9985);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},3931:function(e){"use strict";e.exports=!1},734:function(e,t,n){"use strict";var r=n(6058),o=n(9985),s=n(3622),i=n(9525),a=Object;e.exports=i?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&s(t.prototype,a(e))}},8734:function(e,t,n){"use strict";var r=n(4071),o=n(2615),s=n(5027),i=n(3691),a=n(3292),c=n(6310),u=n(3622),l=n(5185),p=n(1664),d=n(2125),f=TypeError,h=function(e,t){this.stopped=e,this.result=t},m=h.prototype;e.exports=function(e,t,n){var _,v,g,y,b,w,C,S=n&&n.that,x=!(!n||!n.AS_ENTRIES),k=!(!n||!n.IS_RECORD),E=!(!n||!n.IS_ITERATOR),O=!(!n||!n.INTERRUPTED),T=r(t,S),P=function(e){return _&&d(_,"normal",e),new h(!0,e)},L=function(e){return x?(s(e),O?T(e[0],e[1],P):T(e[0],e[1])):O?T(e,P):T(e)};if(k)_=e.iterator;else if(E)_=e;else{if(v=p(e),!v)throw new f(i(e)+" is not iterable");if(a(v)){for(g=0,y=c(e);y>g;g++)if(b=L(e[g]),b&&u(m,b))return b;return new h(!1)}_=l(e,v)}w=k?e.next:_.next;while(!(C=o(w,_)).done){try{b=L(C.value)}catch(M){d(_,"throw",M)}if("object"==typeof b&&b&&u(m,b))return b}return new h(!1)}},2125:function(e,t,n){"use strict";var r=n(2615),o=n(5027),s=n(4849);e.exports=function(e,t,n){var i,a;o(e);try{if(i=s(e,"return"),!i){if("throw"===t)throw n;return n}i=r(i,e)}catch(c){a=!0,i=c}if("throw"===t)throw n;if(a)throw i;return o(i),n}},5419:function(e,t,n){"use strict";var r=n(2615),o=n(5391),s=n(5773),i=n(6045),a=n(4201),c=n(618),u=n(4849),l=n(2013).IteratorPrototype,p=n(7807),d=n(2125),f=a("toStringTag"),h="IteratorHelper",m="WrapForValidIterator",_=c.set,v=function(e){var t=c.getterFor(e?m:h);return i(o(l),{next:function(){var n=t(this);if(e)return n.nextHandler();try{var r=n.done?void 0:n.nextHandler();return p(r,n.done)}catch(o){throw n.done=!0,o}},return:function(){var n=t(this),o=n.iterator;if(n.done=!0,e){var s=u(o,"return");return s?r(s,o):p(void 0,!0)}if(n.inner)try{d(n.inner.iterator,"normal")}catch(i){return d(o,"throw",i)}return d(o,"normal"),p(void 0,!0)}})},g=v(!0),y=v(!1);s(y,f,"Iterator Helper"),e.exports=function(e,t){var n=function(n,r){r?(r.iterator=n.iterator,r.next=n.next):r=n,r.type=t?m:h,r.nextHandler=e,r.counter=0,r.done=!1,_(this,r)};return n.prototype=t?g:y,n}},8983:function(e,t,n){"use strict";var r=n(2615),o=n(509),s=n(5027),i=n(2302),a=n(5419),c=n(1228),u=a((function(){var e=this.iterator,t=s(r(this.next,e)),n=this.done=!!t.done;if(!n)return c(e,this.mapper,[t.value,this.counter++],!0)}));e.exports=function(e){return s(this),o(e),new u(i(this),{mapper:e})}},2013:function(e,t,n){"use strict";var r,o,s,i=n(3689),a=n(9985),c=n(8999),u=n(5391),l=n(1868),p=n(1880),d=n(4201),f=n(3931),h=d("iterator"),m=!1;[].keys&&(s=[].keys(),"next"in s?(o=l(l(s)),o!==Object.prototype&&(r=o)):m=!0);var _=!c(r)||i((function(){var e={};return r[h].call(e)!==e}));_?r={}:f&&(r=u(r)),a(r[h])||p(r,h,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:m}},9478:function(e){"use strict";e.exports={}},6310:function(e,t,n){"use strict";var r=n(3126);e.exports=function(e){return r(e.length)}},8702:function(e,t,n){"use strict";var r=n(8844),o=n(3689),s=n(9985),i=n(6812),a=n(7697),c=n(1236).CONFIGURABLE,u=n(6738),l=n(618),p=l.enforce,d=l.get,f=String,h=Object.defineProperty,m=r("".slice),_=r("".replace),v=r([].join),g=a&&!o((function(){return 8!==h((function(){}),"length",{value:8}).length})),y=String(String).split("String"),b=e.exports=function(e,t,n){"Symbol("===m(f(t),0,7)&&(t="["+_(f(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!i(e,"name")||c&&e.name!==t)&&(a?h(e,"name",{value:t,configurable:!0}):e.name=t),g&&n&&i(n,"arity")&&e.length!==n.arity&&h(e,"length",{value:n.arity});try{n&&i(n,"constructor")&&n.constructor?a&&h(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(o){}var r=p(e);return i(r,"source")||(r.source=v(y,"string"==typeof t?t:"")),e};Function.prototype.toString=b((function(){return s(this)&&d(this).source||u(this)}),"toString")},8828:function(e){"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},5391:function(e,t,n){"use strict";var r,o=n(5027),s=n(8920),i=n(2739),a=n(7248),c=n(2688),u=n(6420),l=n(2713),p=">",d="<",f="prototype",h="script",m=l("IE_PROTO"),_=function(){},v=function(e){return d+h+p+e+d+"/"+h+p},g=function(e){e.write(v("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){var e,t=u("iframe"),n="java"+h+":";return t.style.display="none",c.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(v("document.F=Object")),e.close(),e.F},b=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}b="undefined"!=typeof document?document.domain&&r?g(r):y():g(r);var e=i.length;while(e--)delete b[f][i[e]];return b()};a[m]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(_[f]=o(e),n=new _,_[f]=null,n[m]=e):n=b(),void 0===t?n:s.f(n,t)}},8920:function(e,t,n){"use strict";var r=n(7697),o=n(5648),s=n(2560),i=n(5027),a=n(5290),c=n(300);t.f=r&&!o?Object.defineProperties:function(e,t){i(e);var n,r=a(t),o=c(t),u=o.length,l=0;while(u>l)s.f(e,n=o[l++],r[n]);return e}},2560:function(e,t,n){"use strict";var r=n(7697),o=n(8506),s=n(5648),i=n(5027),a=n(8360),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p="enumerable",d="configurable",f="writable";t.f=r?s?function(e,t,n){if(i(e),t=a(t),i(n),"function"===typeof e&&"prototype"===t&&"value"in n&&f in n&&!n[f]){var r=l(e,t);r&&r[f]&&(e[t]=n.value,n={configurable:d in n?n[d]:r[d],enumerable:p in n?n[p]:r[p],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(i(e),t=a(t),i(n),o)try{return u(e,t,n)}catch(r){}if("get"in n||"set"in n)throw new c("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},2474:function(e,t,n){"use strict";var r=n(7697),o=n(2615),s=n(9556),i=n(5684),a=n(5290),c=n(8360),u=n(6812),l=n(8506),p=Object.getOwnPropertyDescriptor;t.f=r?p:function(e,t){if(e=a(e),t=c(t),l)try{return p(e,t)}catch(n){}if(u(e,t))return i(!o(s.f,e,t),e[t])}},2741:function(e,t,n){"use strict";var r=n(4948),o=n(2739),s=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,s)}},7518:function(e,t){"use strict";t.f=Object.getOwnPropertySymbols},1868:function(e,t,n){"use strict";var r=n(6812),o=n(9985),s=n(690),i=n(2713),a=n(1748),c=i("IE_PROTO"),u=Object,l=u.prototype;e.exports=a?u.getPrototypeOf:function(e){var t=s(e);if(r(t,c))return t[c];var n=t.constructor;return o(n)&&t instanceof n?n.prototype:t instanceof u?l:null}},3622:function(e,t,n){"use strict";var r=n(8844);e.exports=r({}.isPrototypeOf)},4948:function(e,t,n){"use strict";var r=n(8844),o=n(6812),s=n(5290),i=n(4328).indexOf,a=n(7248),c=r([].push);e.exports=function(e,t){var n,r=s(e),u=0,l=[];for(n in r)!o(a,n)&&o(r,n)&&c(l,n);while(t.length>u)o(r,n=t[u++])&&(~i(l,n)||c(l,n));return l}},300:function(e,t,n){"use strict";var r=n(4948),o=n(2739);e.exports=Object.keys||function(e){return r(e,o)}},9556:function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},5899:function(e,t,n){"use strict";var r=n(2615),o=n(9985),s=n(8999),i=TypeError;e.exports=function(e,t){var n,a;if("string"===t&&o(n=e.toString)&&!s(a=r(n,e)))return a;
vendor: 6,122 bytes, line 1
1if(o(n=e.valueOf)&&!s(a=r(n,e)))return a;if("string"!==t&&o(n=e.toString)&&!s(a=r(n,e)))return a;throw new i("Can't convert object to primitive value")}},9152:function(e,t,n){"use strict";var r=n(6058),o=n(8844),s=n(2741),i=n(7518),a=n(5027),c=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=s.f(a(e)),n=i.f;return n?c(t,n(e)):t}},4684:function(e,t,n){"use strict";var r=n(981),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},2713:function(e,t,n){"use strict";var r=n(3430),o=n(4630),s=r("keys");e.exports=function(e){return s[e]||(s[e]=o(e))}},4091:function(e,t,n){"use strict";var r=n(3931),o=n(1087),s=n(5014),i="__core-js_shared__",a=e.exports=o[i]||s(i,{});(a.versions||(a.versions=[])).push({version:"3.38.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"})},3430:function(e,t,n){"use strict";var r=n(4091);e.exports=function(e,t){return r[e]||(r[e]=t||{})}},146:function(e,t,n){"use strict";var r=n(1352),o=n(3689),s=n(1087),i=s.String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},7578:function(e,t,n){"use strict";var r=n(8700),o=Math.max,s=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):s(n,t)}},5290:function(e,t,n){"use strict";var r=n(4413),o=n(4684);e.exports=function(e){return r(o(e))}},8700:function(e,t,n){"use strict";var r=n(8828);e.exports=function(e){var t=+e;return t!==t||0===t?0:r(t)}},3126:function(e,t,n){"use strict";var r=n(8700),o=Math.min;e.exports=function(e){var t=r(e);return t>0?o(t,9007199254740991):0}},690:function(e,t,n){"use strict";var r=n(4684),o=Object;e.exports=function(e){return o(r(e))}},8732:function(e,t,n){"use strict";var r=n(2615),o=n(8999),s=n(734),i=n(4849),a=n(5899),c=n(4201),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!o(e)||s(e))return e;var n,c=i(e,l);if(c){if(void 0===t&&(t="default"),n=r(c,e,t),!o(n)||s(n))return n;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},8360:function(e,t,n){"use strict";var r=n(8732),o=n(734);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},3043:function(e,t,n){"use strict";var r=n(4201),o=r("toStringTag"),s={};s[o]="z",e.exports="[object z]"===String(s)},3691:function(e){"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(n){return"Object"}}},4630:function(e,t,n){"use strict";var r=n(8844),o=0,s=Math.random(),i=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++o+s,36)}},9525:function(e,t,n){"use strict";var r=n(146);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5648:function(e,t,n){"use strict";var r=n(7697),o=n(3689);e.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},9834:function(e,t,n){"use strict";var r=n(1087),o=n(9985),s=r.WeakMap;e.exports=o(s)&&/native code/.test(String(s))},4201:function(e,t,n){"use strict";var r=n(1087),o=n(3430),s=n(6812),i=n(4630),a=n(146),c=n(9525),u=r.Symbol,l=o("wks"),p=c?u["for"]||u:u&&u.withoutSetter||i;e.exports=function(e){return s(l,e)||(l[e]=a&&s(u,e)?u[e]:p("Symbol."+e)),l[e]}},560:function(e,t,n){"use strict";var r=n(9989),o=n(690),s=n(6310),i=n(5649),a=n(5565),c=n(3689),u=c((function(){return 4294967297!==[].push.call({length:4294967296},1)})),l=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}},p=u||!l();r({target:"Array",proto:!0,arity:1,forced:p},{push:function(e){var t=o(this),n=s(t),r=arguments.length;a(n+r);for(var c=0;c<r;c++)t[n]=arguments[c],n++;return i(t,n),n}})},7602:function(e,t,n){"use strict";var r=n(9989),o=n(1087),s=n(767),i=n(5027),a=n(9985),c=n(1868),u=n(2148),l=n(6522),p=n(3689),d=n(6812),f=n(4201),h=n(2013).IteratorPrototype,m=n(7697),_=n(3931),v="constructor",g="Iterator",y=f("toStringTag"),b=TypeError,w=o[g],C=_||!a(w)||w.prototype!==h||!p((function(){w({})})),S=function(){if(s(this,h),c(this)===h)throw new b("Abstract class Iterator not directly constructable")},x=function(e,t){m?u(h,e,{configurable:!0,get:function(){return t},set:function(t){if(i(this),this===h)throw new b("You can't redefine this property");d(this,e)?this[e]=t:l(this,e,t)}}):h[e]=t};d(h,y)||x(y,g),!C&&d(h,v)&&h[v]!==Object||x(v,S),S.prototype=h,r({global:!0,constructor:!0,forced:C},{Iterator:S})},3476:function(e,t,n){"use strict";var r=n(9989),o=n(2615),s=n(509),i=n(5027),a=n(2302),c=n(5419),u=n(1228),l=n(3931),p=c((function(){var e,t,n,r=this.iterator,s=this.predicate,a=this.next;while(1){if(e=i(o(a,r)),t=this.done=!!e.done,t)return;if(n=e.value,u(r,s,[n,this.counter++],!0))return n}}));r({target:"Iterator",proto:!0,real:!0,forced:l},{filter:function(e){return i(this),s(e),new p(a(this),{predicate:e})}})},928:function(e,t,n){"use strict";var r=n(9989),o=n(8734),s=n(509),i=n(5027),a=n(2302);r({target:"Iterator",proto:!0,real:!0},{find:function(e){i(this),s(e);var t=a(this),n=0;return o(t,(function(t,r){if(e(t,n++))return r(t)}),{IS_RECORD:!0,INTERRUPTED:!0}).result}})},5:function(e,t,n){"use strict";var r=n(9989),o=n(8734),s=n(509),i=n(5027),a=n(2302);r({target:"Iterator",proto:!0,real:!0},{forEach:function(e){i(this),s(e);var t=a(this),n=0;o(t,(function(t){e(t,n++)}),{IS_RECORD:!0})}})},1792:function(e,t,n){"use strict";var r=n(9989),o=n(8983),s=n(3931);r({target:"Iterator",proto:!0,real:!0,forced:s},{map:o})},1107:function(e,t,n){"use strict";var r=n(9989),o=n(8734),s=n(509),i=n(5027),a=n(2302),c=TypeError;r({target:"Iterator",proto:!0,real:!0},{reduce:function(e){i(this),s(e);var t=a(this),n=arguments.length<2,r=n?void 0:arguments[1],u=0;if(o(t,(function(t){n?(n=!1,r=t):r=e(r,t,u),u++}),{IS_RECORD:!0}),n)throw new c("Reduce of empty iterator with no initial value");return r}})}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var s=n[e]={exports:{}};return t[e].call(s.exports,s,s.exports,r),s.exports}
1!function(){r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,{a:t}),t}}(),function(){r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}}(),function(){r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){r.p=""}();var o={};return function(){"use strict";r.r(o);var e={};if(r.r(e),r.d(e,{hasBrowserEnv:function(){return gt},hasStandardBrowserEnv:function(){return bt},hasStandardBrowserWebWorkerEnv:function(){return wt},navigator:function(){return yt},origin:function(){return Ct}}),"undefined"!==typeof window){var t=window.document.currentScript,n=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);n&&(r.p=n[1])}var s=r(6473),i=r.n(s),a=(r(7602),r(3476),r(7203)),c=r.n(a);function u(e,t){return e.__proto__=t,e} 2/** 3 * vue-custom-element v3.3.0 4 * (c) 2021 Karol FabjaÅczuk 5 * @license MIT 6 */ 7Object.setPrototypeOf=Object.setPrototypeOf||u;u.bind(Object);function l(){return"undefined"!==typeof Symbol&&"undefined"!==typeof Reflect&&"undefined"!==typeof Proxy&&!Object.isSealed(Proxy)}var p=l(),d=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function m(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function _(){return Reflect.construct(HTMLElement,[],this.__proto__.constructor)}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("undefined"!==typeof customElements){if(p){var n=function(e){function n(e){var t;f(this,n);var r=h(this,(n.__proto__||Object.getPrototypeOf(n)).call(this)),s=e?HTMLElement.call(e):r;return o.call(s),t=s,h(r,t)}return m(n,e),d(n,null,[{key:"observedAttributes",get:function(){return t.observedAttributes||[]}}]),n}(_);return n.prototype.connectedCallback=s,n.prototype.disconnectedCallback=i,n.prototype.attributeChangedCallback=a,c(e,n),n}var r=function(e){var t=e?HTMLElement.call(e):this;return o.call(t),t};return r.observedAttributes=t.observedAttributes||[],r.prototype=Object.create(HTMLElement.prototype,{constructor:{configurable:!0,writable:!0,value:r}}),r.prototype.connectedCallback=s,r.prototype.disconnectedCallback=i,r.prototype.attributeChangedCallback=a,c(e,r),r}function o(){!0===t.shadow&&HTMLElement.prototype.attachShadow&&this.attachShadow({mode:"open"}),"function"===typeof t.constructorCallback&&t.constructorCallback.call(this)}function s(){"function"===typeof t.connectedCallback&&t.connectedCallback.call(this)}function i(){"function"===typeof t.disconnectedCallback&&t.disconnectedCallback.call(this)}function a(e,n,r){"function"===typeof t.attributeChangedCallback&&t.attributeChangedCallback.call(this,e,n,r)}function c(e,t){var n=customElements.get(e);return"undefined"!==typeof n?n:customElements.define(e,t)}}Object.setPrototypeOf(_.prototype,HTMLElement.prototype),Object.setPrototypeOf(_,HTMLElement);var g=/-(\w)/g,y=function(e){return e.replace(g,(function(e,t){return t?t.toUpperCase():""}))},b=/([^-])([A-Z])/g,w=function(e){return e.replace(b,"$1-$2").replace(b,"$1-$2").toLowerCase()};function C(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e.length-t,r=new Array(n);while(n--)r[n]=e[n+t];return r}var S="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function x(e,t){if(null===e||void 0===e)return t!==Boolean&&void 0;var n=e,r=["true","false"].indexOf(e)>-1,o=parseFloat(n,10),s=!isNaN(o)&&isFinite(n)&&"string"===typeof n&&!n.match(/^0+[^.]\d*$/g);return t&&t!==Boolean&&("undefined"===typeof n?"undefined":S(n))!==t?n=t(e):r||t===Boolean?n=""===n||("true"===n||!0===n):s&&(n=o),n}function k(e,t){if(e&&e.length)e.forEach((function(e){var n=y(e);-1===t.camelCase.indexOf(n)&&t.camelCase.push(n)}));else if(e&&"object"===("undefined"===typeof e?"undefined":S(e)))for(var n in e){var r=y(n);-1===t.camelCase.indexOf(r)&&t.camelCase.push(r),e[r]&&e[r].type&&(t.types[n]=[].concat(e[r].type)[0])}}function E(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={camelCase:[],hyphenate:[],types:{}};if(e.mixins&&e.mixins.forEach((function(e){k(e.props,t)})),e.extends&&e.extends.props){var n=e.extends.props;k(n,t)}return k(e.props,t),t.camelCase.forEach((function(e){t.hyphenate.push(w(e))})),t}function O(e,t){t.camelCase.forEach((function(n,r){Object.defineProperty(e,n,{get:function(){return this.__vue_custom_element__[n]},set:function(e){if("object"!==("undefined"===typeof e?"undefined":S(e))&&"function"!==typeof e||!this.__vue_custom_element__){var n=t.types[t.camelCase[r]];this.setAttribute(t.hyphenate[r],x(e,n))}else{var o=t.camelCase[r];this.__vue_custom_element__[o]=e}}})}))}function T(e,t,n){var r=t.propsData||{};return n.hyphenate.forEach((function(t,o){var s=n.camelCase[o],i=e.attributes[t]||e[s],a=null;n.types[s]&&(a=n.types[s]),i instanceof Attr?r[s]=x(i.value,a):"undefined"!==typeof i&&(r[s]=i)})),r}function P(e){var t={};
7return C(e.attributes).forEach((function(e){t["vue-slot"===e.nodeName?"slot":e.nodeName]=e.nodeValue})),t}function L(e){if(e.childNodes.length)return e.childNodes;if(e.content&&e.content.childNodes&&e.content.childNodes.length)return e.content.childNodes;var t=document.createElement("div");return t.innerHTML=e.innerHTML,t.childNodes}function M(e,t,n){var r=L(t),o=C(r).map((function(t){return"#text"===t.nodeName?t.nodeValue:e(t.tagName,{attrs:P(t),domProps:{innerHTML:t.innerHTML}})}));return n.slot=t.id,e("template",n,o)}function I(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],n=[];return C(e).forEach((function(e){if("#text"===e.nodeName)e.nodeValue.trim()&&n.push(t("span",e.nodeValue));else if("#comment"!==e.nodeName){var r=P(e),o={attrs:r,domProps:{innerHTML:""===e.innerHTML?e.innerText:e.innerHTML}};r.slot&&(o.slot=r.slot,r.slot=void 0);var s="TEMPLATE"===e.tagName?M(t,e,o):t(e.tagName,o);n.push(s)}})),n}function $(e,t){var n={bubbles:!1,cancelable:!1,detail:t},r=void 0;return"function"===typeof window.CustomEvent?r=new CustomEvent(e,n):(r=document.createEvent("CustomEvent"),r.initCustomEvent(e,n.bubbles,n.cancelable,n.detail)),r}function A(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var s=$(t,[].concat(r));e.dispatchEvent(s)}function j(e,t,n,r,o){if(e.__vue_custom_element__)return Promise.resolve(e);var s=t.util.extend({},n),i=T(e,s,r),a=t.version&&parseInt(t.version.split(".")[0],10)||0;function c(){this.$emit=function(){for(var t,n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];A.apply(void 0,[e].concat(r)),this.__proto__&&(t=this.__proto__.$emit).call.apply(t,[this].concat(r))}}if(s.beforeCreate=[].concat(s.beforeCreate||[],c),s._compiled){var u={},l=s._Ctor;l&&(u=Object.keys(l).map((function(e){return l[e]}))[0].options),u.beforeCreate=s.beforeCreate}var p=void 0;if(a>=2){var d=e.cloneNode(!0).childNodes;p={propsData:i,props:r.camelCase,computed:{reactiveProps:function(){var e=this,t={};return r.camelCase.forEach((function(n){"undefined"!==typeof e[n]&&(t[n]=e[n])})),t}}
7,render:function(e){var t={props:this.reactiveProps};return e(s,t,I(d,e))}}}else if(1===a)p=s,p.propsData=i;else{p=s;var f={};Object.keys(i).forEach((function(e){f[e]={default:i[e]}})),p.props=f}var h=a>=2?"<div></div>":("<div>"+e.innerHTML+"</div>").replace(/vue-slot=/g,"slot=");if(o.shadow&&e.shadowRoot?(e.shadowRoot.innerHTML=h,p.el=e.shadowRoot.children[0]):(e.innerHTML=h,p.el=e.children[0]),o.shadow&&o.shadowCss&&e.shadowRoot){var m=document.createElement("style");m.type="text/css",m.appendChild(document.createTextNode(o.shadowCss)),e.shadowRoot.appendChild(m)}return O(e,r),"function"===typeof o.beforeCreateVueInstance&&(p=o.beforeCreateVueInstance(p)||p),Promise.resolve(p).then((function(n){return e.__vue_custom_element__=new t(n),e.__vue_custom_element_props__=r,e.getVueInstance=function(){var t=e.__vue_custom_element__;return t.$children.length?t.$children[0]:t},e.removeAttribute("vce-cloak"),e.setAttribute("vce-ready",""),A(e,"vce-ready"),e}))}function D(e){e.customElement=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o="function"===typeof n,s=o&&{props:r.props||[]},i=E(o?s:n),a=v(t,{constructorCallback:function(){"function"===typeof r.constructorCallback&&r.constructorCallback.call(this)},connectedCallback:function(){var s=this,a=o&&n(),c=a&&a.then&&"function"===typeof a.then;if("function"===typeof r.connectedCallback&&r.connectedCallback.call(this),o&&!c)throw new Error("Async component "+t+" do not returns Promise");this.__detached__||(c?a.then((function(t){var n=E(t);j(s,e,t,n,r).then((function(){"function"===typeof r.vueInstanceCreatedCallback&&r.vueInstanceCreatedCallback.call(s)}))})):j(this,e,n,i,r).then((function(){"function"===typeof r.vueInstanceCreatedCallback&&r.vueInstanceCreatedCallback.call(s)}))),this.__detached__=!1},disconnectedCallback:function(){var e=this;this.__detached__=!0,"function"===typeof r.disconnectedCallback&&r.disconnectedCallback.call(this),null!==r.destroyTimeout&&setTimeout((function(){e.__detached__&&e.__vue_custom_element__&&(e.__detached__=!1,e.__vue_custom_element__.$destroy(!0),delete e.__vue_custom_element__,delete e.__vue_custom_element_props__)}),r.destroyTimeout||3e3)},attributeChangedCallback:function(e,t,n){if(this.__vue_custom_element__&&"undefined"!==typeof n){var o=y(e);"function"===typeof r.attributeChangedCallback&&r.attributeChangedCallback.call(this,e,t,n);var s=this.__vue_custom_element_props__.types[o];this.__vue_custom_element__[o]=x(n,s)}},observedAttributes:i.hyphenate,shadow:!!r.shadow&&!!HTMLElement.prototype.attachShadow});return a}}"undefined"!==typeof window&&window.Vue&&(window.Vue.use(D),D.installed&&(D.installed=!1));var R=D;function N(e,t){return function(){return e.apply(t,arguments)}}const{toString:B}=Object.prototype,{getPrototypeOf:H}=Object,{iterator:V,toStringTag:F}=Symbol,U=(e=>t=>{const n=B.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),z=e=>(e=e.toLowerCase(),t=>U(t)===e),q=e=>t=>typeof t===e,{isArray:W}=Array,Y=q("undefined");function J(e){return null!==e&&!Y(e)&&null!==e.constructor&&!Y(e.constructor)&&Z(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const X=z("ArrayBuffer");function G(e){let t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&X(e.buffer),t}const K=q("string"),Z=q("function"),Q=q("number"),ee=e=>null!==e&&"object"===typeof e,te=e=>!0===e||!1===e,ne=e=>{if("object"!==U(e))return!1;const t=H(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(F in e)&&!(V in e)},re=e=>{if(!ee(e)||J(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(t){return!1}},oe=z("Date"),se=z("File"),ie=z("Blob"),ae=z("FileList"),ce=e=>ee(e)&&Z(e.pipe),ue=e=>{let t;return e&&("function"===typeof FormData&&e instanceof FormData||Z(e.append)&&("formdata"===(t=U(e))||"object"===t&&Z(e.toString)&&"[object FormData]"===e.toString()))},le=z("URLSearchParams"),[pe,de,fe,he]=["ReadableStream","Request","Response","Headers"].map(z),me=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function _e(e,t,{allOwnKeys:n=!1}={}){if(null===e||"undefined"===typeof e)return;let r,o;if("object"!==typeof e&&(e=[e]),W(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{if(J(e))return;const o=n?Object.getOwnPropertyNames(e):Object.keys(e),s=o.length;let i;for(r=0;r<s;r++)i=o[r],t.call(null,e[i],i,e)}}function ve(e,t){if(J(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;while(o-- >0)if(r=n[o],t===r.toLowerCase())return r;return null}const ge=(()=>"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global)(),ye=e=>!Y(e)&&e!==ge;function be(){const{caseless:e,skipUndefined:t}=ye(this)&&this||{},n={},r=(r,o)=>{const s=e&&ve(n,o)||o;ne(n[s])&&ne(r)?n[s]=be(n[s],r):ne(r)?n[s]=be({},r):W(r)?n[s]=r.slice():t&&Y(r)||(n[s]=r)};for(let o=0,s=arguments.length;o<s;o++)arguments[o]&&_e(arguments[o],r);return n}const we=(e,t,n,{allOwnKeys:r}={})=>(_e(t,((t,r)=>{n&&Z(t)?e[r]=N(t,n):e[r]=t}),{allOwnKeys:r}),e),Ce=e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),Se=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},xe=(e,t,n,r)=>{let o,s,i;const a={};if(t=t||{},null==e)return t;do{o=Object.getOwnPropertyNames(e),s=o.length;while(s-- >0)i=o[s],r&&!r(i,e,t)||a[i]||(t[i]=e[i],a[i]=!0);e=!1!==n&&H(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},ke=(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},Ee=e=>{if(!e)return null;if(W(e))return e;let t=e.length;if(!Q(t))return null;const n=new Array(t);while(t-- >0)n[t]=e[t];return n},Oe=(e=>t=>e&&t instanceof e)("undefined"!==typeof Uint8Array&&H(Uint8Array)),Te=(e,t)=>
7{const n=e&&e[V],r=n.call(e);let o;while((o=r.next())&&!o.done){const n=o.value;t.call(e,n[0],n[1])}},Pe=(e,t)=>{let n;const r=[];while(null!==(n=e.exec(t)))r.push(n);return r},Le=z("HTMLFormElement"),Me=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),Ie=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),$e=z("RegExp"),Ae=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};_e(n,((n,o)=>{let s;!1!==(s=t(n,o,e))&&(r[o]=s||n)})),Object.defineProperties(e,r)},je=e=>{Ae(e,((t,n)=>{if(Z(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];Z(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},De=(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return W(e)?r(e):r(String(e).split(t)),n},Re=()=>{},Ne=(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t;function Be(e){return!!(e&&Z(e.append)&&"FormData"===e[F]&&e[V])}const He=e=>{const t=new Array(10),n=(e,r)=>{if(ee(e)){if(t.indexOf(e)>=0)return;if(J(e))return e;if(!("toJSON"in e)){t[r]=e;const o=W(e)?[]:{};return _e(e,((e,t)=>{const s=n(e,r+1);!Y(s)&&(o[t]=s)})),t[r]=void 0,o}}return e};return n(e,0)},Ve=z("AsyncFunction"),Fe=e=>e&&(ee(e)||Z(e))&&Z(e.then)&&Z(e.catch),Ue=((e,t)=>e?setImmediate:t?((e,t)=>(ge.addEventListener("message",(({source:n,data:r})=>{n===ge&&r===e&&t.length&&t.shift()()}),!1),n=>{t.push(n),ge.postMessage(e,"*")}))(`axios@${Math.random()}`,[]):e=>setTimeout(e))("function"===typeof setImmediate,Z(ge.postMessage)),ze="undefined"!==typeof queueMicrotask?queueMicrotask.bind(ge):"undefined"!==typeof process&&process.nextTick||Ue,qe=e=>null!=e&&Z(e[V]);var We={isArray:W,isArrayBuffer:X,isBuffer:J,isFormData:ue,isArrayBufferView:G,isString:K,isNumber:Q,isBoolean:te,isObject:ee,isPlainObject:ne,isEmptyObject:re,isReadableStream:pe,isRequest:de,isResponse:fe,isHeaders:he,isUndefined:Y,isDate:oe,isFile:se,isBlob:ie,isRegExp:$e,isFunction:Z,isStream:ce,isURLSearchParams:le,isTypedArray:Oe,isFileList:ae,forEach:_e,merge:be,extend:we,trim:me,stripBOM:Ce,inherits:Se,toFlatObject:xe,kindOf:U,kindOfTest:z,endsWith:ke,toArray:Ee,forEachEntry:Te,matchAll:Pe,isHTMLForm:Le,hasOwnProperty:Ie,hasOwnProp:Ie,reduceDescriptors:Ae,freezeMethods:je,toObjectSet:De,toCamelCase:Me,noop:Re,toFiniteNumber:Ne,findKey:ve,global:ge,isContextDefined:ye,isSpecCompliantForm:Be,toJSONObject:He,isAsyncFn:Ve,isThenable:Fe,setImmediate:Ue,asap:ze,isIterable:qe};function Ye(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}We.inherits(Ye,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:We.toJSONObject(this.config),code:this.code,status:this.status}}});const Je=Ye.prototype,Xe={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{Xe[e]={value:e}})),Object.defineProperties(Ye,Xe),Object.defineProperty(Je,"isAxiosError",{value:!0}),Ye.from=(e,t,n,r,o,s)=>{const i=Object.create(Je);We.toFlatObject(e,i,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e));const a=e&&e.message?e.message:"Error",c=null==t&&e?e.code:t;return Ye.call(i,a,c,n,r,o),e&&null==i.cause&&Object.defineProperty(i,"cause",{value:e,configurable:!0}),i.name=e&&e.name||"Error",s&&Object.assign(i,s),i};var Ge=Ye,Ke=null;function Ze(e){return We.isPlainObject(e)||We.isArray(e)}function Qe(e){return We.endsWith(e,"[]")?e.slice(0,-2):e}function et(e,t,n){return e?e.concat(t).map((function(e,t){return e=Qe(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}function tt(e){return We.isArray(e)&&!e.some(Ze)}const nt=We.toFlatObject(We,{},null,(function(e){return/^is[A-Z]/.test(e)}));function rt(e,t,n){if(!We.isObject(e))throw new TypeError("target must be an object");t=t||new(Ke||FormData),n=We.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!We.isUndefined(t[e])}));const r=n.metaTokens,o=n.visitor||l,s=n.dots,i=n.indexes,a=n.Blob||"undefined"!==typeof Blob&&Blob,c=a&&We.isSpecCompliantForm(t);if(!We.isFunction(o))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(We.isDate(e))return e.toISOString();if(We.isBoolean(e))return e.toString();if(!c&&We.isBlob(e))throw new Ge("Blob is not supported. Use a Buffer instead.");return We.isArrayBuffer(e)||We.isTypedArray(e)?c&&"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}function l(e,n,o){let a=e;if(e&&!o&&"object"===typeof e)if(We.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(We.isArray(e)&&tt(e)||(We.isFileList(e)||We.endsWith(n,"[]"))&&(a=We.toArray(e)))return n=Qe(n),a.forEach((function(e,r){!We.isUndefined(e)&&null!==e&&t.append(!0===i?et([n],r,s):null===i?n:n+"[]",u(e))})),!1;return!!Ze(e)||(t.append(et(o,n,s),u(e)),!1)}const p=[],d=Object.assign(nt,{defaultVisitor:l,convertValue:u,isVisitable:Ze});function f(e,n){if(!We.isUndefined(e)){if(-1!==p.indexOf(e))throw Error("Circular reference detected in "+n.join("."));p.push(e),We.forEach(e,(function(e,r){const s=!(We.isUndefined(e)||null===e)&&o.call(t,e,We.isString(r)?r.trim():r,n,d);!0===s&&f(e,n?n.concat(r):[r])})),p.pop()}}if(!We.isObject(e))throw new TypeError("data must be an object");return f(e),t}var ot=rt;
7function st(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function it(e,t){this._pairs=[],e&&ot(e,this,t)}const at=it.prototype;at.append=function(e,t){this._pairs.push([e,t])},at.toString=function(e){const t=e?function(t){return e.call(this,t,st)}:st;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var ct=it;function ut(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function lt(e,t,n){if(!t)return e;const r=n&&n.encode||ut;We.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let s;if(s=o?o(t,n):We.isURLSearchParams(t)?t.toString():new ct(t,n).toString(r),s){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+s}return e}class pt{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){We.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}var dt=pt,ft={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ht="undefined"!==typeof URLSearchParams?URLSearchParams:ct,mt="undefined"!==typeof FormData?FormData:null,_t="undefined"!==typeof Blob?Blob:null,vt={isBrowser:!0,classes:{URLSearchParams:ht,FormData:mt,Blob:_t},protocols:["http","https","file","blob","url","data"]};const gt="undefined"!==typeof window&&"undefined"!==typeof document,yt="object"===typeof navigator&&navigator||void 0,bt=gt&&(!yt||["ReactNative","NativeScript","NS"].indexOf(yt.product)<0),wt=(()=>"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts)(),Ct=gt&&window.location.href||"http://localhost";var St={...e,...vt};function xt(e,t){return ot(e,new St.classes.URLSearchParams,{visitor:function(e,t,n,r){return St.isNode&&We.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...t})}function kt(e){return We.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}function Et(e){const t={},n=Object.keys(e);let r;const o=n.length;let s;for(r=0;r<o;r++)s=n[r],t[s]=e[s];return t}function Ot(e){function t(e,n,r,o){let s=e[o++];if("__proto__"===s)return!0;const i=Number.isFinite(+s),a=o>=e.length;if(s=!s&&We.isArray(r)?r.length:s,a)return We.hasOwnProp(r,s)?r[s]=[r[s],n]:r[s]=n,!i;r[s]&&We.isObject(r[s])||(r[s]=[]);const c=t(e,n,r[s],o);return c&&We.isArray(r[s])&&(r[s]=Et(r[s])),!i}if(We.isFormData(e)&&We.isFunction(e.entries)){const n={};return We.forEachEntry(e,((e,r)=>{t(kt(e),r,n,0)})),n}return null}var Tt=Ot;function Pt(e,t,n){if(We.isString(e))try{return(t||JSON.parse)(e),We.trim(e)}catch(r){if("SyntaxError"!==r.name)throw r}return(n||JSON.stringify)(e)}const Lt={transitional:ft,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=We.isObject(e);o&&We.isHTMLForm(e)&&(e=new FormData(e));const s=We.isFormData(e);if(s)return r?JSON.stringify(Tt(e)):e;if(We.isArrayBuffer(e)||We.isBuffer(e)||We.isStream(e)||We.isFile(e)||We.isBlob(e)||We.isReadableStream(e))return e;if(We.isArrayBufferView(e))return e.buffer;if(We.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return xt(e,this.formSerializer).toString();if((i=We.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return ot(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),Pt(e)):e}],transformResponse:[function(e){const t=this.transitional||Lt.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(We.isResponse(e)||We.isReadableStream(e))return e;if(e&&We.isString(e)&&(n&&!this.responseType||r)){const n=t&&t.silentJSONParsing,s=!n&&r;try{return JSON.parse(e,this.parseReviver)}catch(o){if(s){if("SyntaxError"===o.name)throw Ge.from(o,Ge.ERR_BAD_RESPONSE,this,null,this.response);throw o}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:St.classes.FormData,Blob:St.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};We.forEach(["delete","get","head","post","put","patch"],(e=>{Lt.headers[e]={}}));var Mt=Lt;const It=We.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var $t=e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&It[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t};const At=Symbol("internals");function jt(e){return e&&String(e).trim().toLowerCase()}function Dt(e){return!1===e||null==e?e:We.isArray(e)?e.map(Dt):String(e)}function Rt(e){const t=Object.create(null),n=/([^\s,;
7=]+)\s*(?:=\s*([^,;]+))?/g;let r;while(r=n.exec(e))t[r[1]]=r[2];return t}const Nt=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Bt(e,t,n,r,o){return We.isFunction(r)?r.call(this,t,n):(o&&(t=n),We.isString(t)?We.isString(r)?-1!==t.indexOf(r):We.isRegExp(r)?r.test(t):void 0:void 0)}function Ht(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}function Vt(e,t){const n=We.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}class Ft{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=jt(t);if(!o)throw new Error("header name must be a non-empty string");const s=We.findKey(r,o);(!s||void 0===r[s]||!0===n||void 0===n&&!1!==r[s])&&(r[s||t]=Dt(e))}const s=(e,t)=>We.forEach(e,((e,n)=>o(e,n,t)));if(We.isPlainObject(e)||e instanceof this.constructor)s(e,t);else if(We.isString(e)&&(e=e.trim())&&!Nt(e))s($t(e),t);else if(We.isObject(e)&&We.isIterable(e)){let n,r,o={};for(const t of e){if(!We.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[r=t[0]]=(n=o[r])?We.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}s(o,t)}else null!=e&&o(t,e,n);return this}get(e,t){if(e=jt(e),e){const n=We.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return Rt(e);if(We.isFunction(t))return t.call(this,e,n);if(We.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=jt(e),e){const n=We.findKey(this,e);return!(!n||void 0===this[n]||t&&!Bt(this,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=jt(e),e){const o=We.findKey(n,e);!o||t&&!Bt(n,n[o],o,t)||(delete n[o],r=!0)}}return We.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;while(n--){const o=t[n];e&&!Bt(this,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return We.forEach(this,((r,o)=>{const s=We.findKey(n,o);if(s)return t[s]=Dt(r),void delete t[o];const i=e?Ht(o):String(o).trim();i!==o&&delete t[o],t[i]=Dt(r),n[i]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return We.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&We.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=this[At]=this[At]={accessors:{}},n=t.accessors,r=this.prototype;function o(e){const t=jt(e);n[t]||(Vt(r,e),n[t]=!0)}return We.isArray(e)?e.forEach(o):o(e),this}}Ft.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),We.reduceDescriptors(Ft.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),We.freezeMethods(Ft);var Ut=Ft;function zt(e,t){const n=this||Mt,r=t||n,o=Ut.from(r.headers);let s=r.data;return We.forEach(e,(function(e){s=e.call(n,s,o.normalize(),t?t.status:void 0)})),o.normalize(),s}function qt(e){return!(!e||!e.__CANCEL__)}function Wt(e,t,n){Ge.call(this,null==e?"canceled":e,Ge.ERR_CANCELED,t,n),this.name="CanceledError"}We.inherits(Wt,Ge,{__CANCEL__:!0});var Yt=Wt;function Jt(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new Ge("Request failed with status code "+n.status,[Ge.ERR_BAD_REQUEST,Ge.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function Xt(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Gt(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,s=0,i=0;return t=void 0!==t?t:1e3,function(a){const c=Date.now(),u=r[i];o||(o=c),n[s]=a,r[s]=c;let l=i,p=0;while(l!==s)p+=n[l++],l%=e;if(s=(s+1)%e,s===i&&(i=(i+1)%e),c-o<t)return;const d=u&&c-u;return d?Math.round(1e3*p/d):void 0}}var Kt=Gt;function Zt(e,t){let n,r,o=0,s=1e3/t;const i=(t,s=Date.now())=>{o=s,n=null,r&&(clearTimeout(r),r=null),e(...t)},a=(...e)=>{const t=Date.now(),a=t-o;a>=s?i(e,t):(n=e,r||(r=setTimeout((()=>{r=null,i(n)}),s-a)))},c=()=>n&&i(n);return[a,c]}var Qt=Zt;const en=(e,t,n=3)=>{let r=0;const o=Kt(50,250);return Qt((n=>{const s=n.loaded,i=n.lengthComputable?n.total:void 0,a=s-r,c=o(a),u=s<=i;r=s;const l={loaded:s,total:i,progress:i?s/i:void 0,bytes:a,rate:c||void 0,estimated:c&&i&&u?(i-s)/c:void 0,event:n,lengthComputable:null!=i,[t?"download":"upload"]:!0};e(l)}),n)},tn=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},nn=e=>(...t)=>We.asap((()=>e(...t)));
7var rn=St.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,St.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(St.origin),St.navigator&&/(msie|trident)/i.test(St.navigator.userAgent)):()=>!0,on=St.hasStandardBrowserEnv?{write(e,t,n,r,o,s,i){if("undefined"===typeof document)return;const a=[`${e}=${encodeURIComponent(t)}`];We.isNumber(n)&&a.push(`expires=${new Date(n).toUTCString()}`),We.isString(r)&&a.push(`path=${r}`),We.isString(o)&&a.push(`domain=${o}`),!0===s&&a.push("secure"),We.isString(i)&&a.push(`SameSite=${i}`),document.cookie=a.join("; ")},read(e){if("undefined"===typeof document)return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function sn(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function an(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function cn(e,t,n){let r=!sn(t);return e&&(r||0==n)?an(e,t):t}const un=e=>e instanceof Ut?{...e}:e;function ln(e,t){t=t||{};const n={};function r(e,t,n,r){return We.isPlainObject(e)&&We.isPlainObject(t)?We.merge.call({caseless:r},e,t):We.isPlainObject(t)?We.merge({},t):We.isArray(t)?t.slice():t}function o(e,t,n,o){return We.isUndefined(t)?We.isUndefined(e)?void 0:r(void 0,e,n,o):r(e,t,n,o)}function s(e,t){if(!We.isUndefined(t))return r(void 0,t)}function i(e,t){return We.isUndefined(t)?We.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function a(n,o,s){return s in t?r(n,o):s in e?r(void 0,n):void 0}const c={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(e,t,n)=>o(un(e),un(t),n,!0)};return We.forEach(Object.keys({...e,...t}),(function(r){const s=c[r]||o,i=s(e[r],t[r],r);We.isUndefined(i)&&s!==a||(n[r]=i)})),n}var pn=e=>{const t=ln({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:s,headers:i,auth:a}=t;if(t.headers=i=Ut.from(i),t.url=lt(cn(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&i.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),We.isFormData(n))if(St.hasStandardBrowserEnv||St.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if(We.isFunction(n.getHeaders)){const e=n.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach((([e,n])=>{t.includes(e.toLowerCase())&&i.set(e,n)}))}if(St.hasStandardBrowserEnv&&(r&&We.isFunction(r)&&(r=r(t)),r||!1!==r&&rn(t.url))){const e=o&&s&&on.read(s);e&&i.set(o,e)}return t};const dn="undefined"!==typeof XMLHttpRequest;var fn=dn&&function(e){return new Promise((function(t,n){const r=pn(e);let o=r.data;const s=Ut.from(r.headers).normalize();let i,a,c,u,l,{responseType:p,onUploadProgress:d,onDownloadProgress:f}=r;function h(){u&&u(),l&&l(),r.cancelToken&&r.cancelToken.unsubscribe(i),r.signal&&r.signal.removeEventListener("abort",i)}let m=new XMLHttpRequest;function _(){if(!m)return;const r=Ut.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),o=p&&"text"!==p&&"json"!==p?m.response:m.responseText,s={data:o,status:m.status,statusText:m.statusText,headers:r,config:e,request:m};Jt((function(e){t(e),h()}),(function(e){n(e),h()}),s),m=null}m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout,"onloadend"in m?m.onloadend=_:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(_)},m.onabort=function(){m&&(n(new Ge("Request aborted",Ge.ECONNABORTED,e,m)),m=null)},m.onerror=function(t){const r=t&&t.message?t.message:"Network Error",o=new Ge(r,Ge.ERR_NETWORK,e,m);o.event=t||null,n(o),m=null},m.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||ft;
vendor: 1,344 bytes, line 7
7r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new Ge(t,o.clarifyTimeoutError?Ge.ETIMEDOUT:Ge.ECONNABORTED,e,m)),m=null},void 0===o&&s.setContentType(null),"setRequestHeader"in m&&We.forEach(s.toJSON(),(function(e,t){m.setRequestHeader(t,e)})),We.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),p&&"json"!==p&&(m.responseType=r.responseType),f&&([c,l]=en(f,!0),m.addEventListener("progress",c)),d&&m.upload&&([a,u]=en(d),m.upload.addEventListener("progress",a),m.upload.addEventListener("loadend",u)),(r.cancelToken||r.signal)&&(i=t=>{m&&(n(!t||t.type?new Yt(null,e,m):t),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(i),r.signal&&(r.signal.aborted?i():r.signal.addEventListener("abort",i)));const v=Xt(r.url);v&&-1===St.protocols.indexOf(v)?n(new Ge("Unsupported protocol "+v+":",Ge.ERR_BAD_REQUEST,e)):m.send(o||null)}))};const hn=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const o=function(e){if(!n){n=!0,i();const t=e instanceof Error?e:this.reason;r.abort(t instanceof Ge?t:new Yt(t instanceof Error?t.message:t))}};let s=t&&setTimeout((()=>{s=null,o(new Ge(`timeout ${t} of ms exceeded`,Ge.ETIMEDOUT))}),t);const i=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)})),e=null)};e.forEach((e=>
7e.addEventListener("abort",o)));const{signal:a}=r;return a.unsubscribe=()=>We.asap(i),a}};var mn=hn;const _n=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,o=0;while(o<n)r=o+t,yield e.slice(o,r),o=r},vn=async function*(e,t){for await(const n of gn(e))yield*_n(n,t)},gn=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},yn=(e,t,n,r)=>{const o=vn(e,t);let s,i=0,a=e=>{s||(s=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return a(),void e.close();let s=r.byteLength;if(n){let e=i+=s;n(e)}e.enqueue(new Uint8Array(r))}catch(t){throw a(t),t}},cancel(e){return a(e),o.return()}},{highWaterMark:2})},bn=65536,{isFunction:wn}=We,Cn=(({Request:e,Response:t})=>({Request:e,Response:t}))(We.global),{ReadableStream:Sn,TextEncoder:xn}=We.global,kn=(e,...t)=>{try{return!!e(...t)}catch(n){return!1}},En=e=>{e=We.merge.call({skipUndefined:!0},Cn,e);const{fetch:t,Request:n,Response:r}=e,o=t?wn(t):"function"===typeof fetch,s=wn(n),i=wn(r);if(!o)return!1;const a=o&&wn(Sn),c=o&&("function"===typeof xn?(e=>t=>e.encode(t))(new xn):async e=>new Uint8Array(await new n(e).arrayBuffer())),u=s&&a&&kn((()=>{let e=!1;const t=new n(St.origin,{body:new Sn,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),l=i&&a&&kn((()=>We.isReadableStream(new r("").body))),p={stream:l&&(e=>e.body)};o&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!p[e]&&(p[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new Ge(`Response type '${e}' is not supported`,Ge.ERR_NOT_SUPPORT,n)})}))})();const d=async e=>{if(null==e)return 0;if(We.isBlob(e))return e.size;if(We.isSpecCompliantForm(e)){const t=new n(St.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return We.isArrayBufferView(e)||We.isArrayBuffer(e)?e.byteLength:(We.isURLSearchParams(e)&&(e+=""),We.isString(e)?(await c(e)).byteLength:void 0)},f=async(e,t)=>{const n=We.toFiniteNumber(e.getContentLength());return null==n?d(t):n};return async e=>{let{url:o,method:i,data:a,signal:c,cancelToken:d,timeout:h,onDownloadProgress:m,onUploadProgress:_,responseType:v,headers:g,withCredentials:y="same-origin",fetchOptions:b}=pn(e),w=t||fetch;v=v?(v+"").toLowerCase():"text";let C=mn([c,d&&d.toAbortSignal()],h),S=null;const x=C&&C.unsubscribe&&(()=>{C.unsubscribe()});let k;try{if(_&&u&&"get"!==i&&"head"!==i&&0!==(k=await f(g,a))){let e,t=new n(o,{method:"POST",body:a,duplex:"half"});if(We.isFormData(a)&&(e=t.headers.get("content-type"))&&g.setContentType(e),t.body){const[e,n]=tn(k,en(nn(_)));a=yn(t.body,bn,e,n)}}We.isString(y)||(y=y?"include":"omit");const t=s&&"credentials"in n.prototype,c={...b,signal:C,method:i.toUpperCase(),headers:g.normalize().toJSON(),body:a,duplex:"half",credentials:t?y:void 0};S=s&&new n(o,c);let d=await(s?w(S,b):w(o,c));const h=l&&("stream"===v||"response"===v);if(l&&(m||h&&x)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=d[t]}));const t=We.toFiniteNumber(d.headers.get("content-length")),[n,o]=m&&tn(t,en(nn(m),!0))||[];d=new r(yn(d.body,bn,n,(()=>{o&&o(),x&&x()})),e)}v=v||"text";let E=await p[We.findKey(p,v)||"text"](d,e);return!h&&x&&x(),await new Promise(((t,n)=>{Jt(t,n,{data:E,headers:Ut.from(d.headers),status:d.status,statusText:d.statusText,config:e,request:S})}))}catch(E){if(x&&x(),E&&"TypeError"===E.name&&/Load failed|fetch/i.test(E.message))throw Object.assign(new Ge("Network Error",Ge.ERR_NETWORK,e,S),{cause:E.cause||E});throw Ge.from(E,E&&E.code,e,S)}}},On=new Map,Tn=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:o}=t,s=[r,o,n];let i,a,c=s.length,u=c,l=On;while(u--)i=s[u],a=l.get(i),void 0===a&&l.set(i,a=u?new Map:En(t)),l=a;return a};Tn();const Pn={http:Ke,xhr:fn,fetch:{get:Tn}};We.forEach(Pn,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(n){}Object.defineProperty(e,"adapterName",{value:t})}}));const Ln=e=>`- ${e}`,Mn=e=>We.isFunction(e)||null===e||!1===e;function In(e,t){e=We.isArray(e)?e:[e];const{length:n}=e;let r,o;const s={};for(let i=0;i<n;i++){let n;if(r=e[i],o=r,!Mn(r)&&(o=Pn[(n=String(r)).toLowerCase()],void 0===o))throw new Ge(`Unknown adapter '${n}'`);if(o&&(We.isFunction(o)||(o=o.get(t))))break;s[n||"#"+i]=o}if(!o){const e=Object.entries(s).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let t=n?e.length>
71?"since :\n"+e.map(Ln).join("\n"):" "+Ln(e[0]):"as no adapter specified";throw new Ge("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return o}var $n={getAdapter:In,adapters:Pn};function An(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Yt(null,e)}function jn(e){An(e),e.headers=Ut.from(e.headers),e.data=zt.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);const t=$n.getAdapter(e.adapter||Mt.adapter,e);return t(e).then((function(t){return An(e),t.data=zt.call(e,e.transformResponse,t),t.headers=Ut.from(t.headers),t}),(function(t){return qt(t)||(An(e),t&&t.response&&(t.response.data=zt.call(e,e.transformResponse,t.response),t.response.headers=Ut.from(t.response.headers))),Promise.reject(t)}))}const Dn="1.13.2",Rn={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{Rn[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const Nn={};function Bn(e,t,n){if("object"!==typeof e)throw new Ge("options must be an object",Ge.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;while(o-- >0){const s=r[o],i=t[s];if(i){const t=e[s],n=void 0===t||i(t,s,e);if(!0!==n)throw new Ge("option "+s+" must be "+n,Ge.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Ge("Unknown option "+s,Ge.ERR_BAD_OPTION)}}Rn.transitional=function(e,t,n){function r(e,t){return"[Axios v"+Dn+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,s)=>{if(!1===e)throw new Ge(r(o," has been removed"+(t?" in "+t:"")),Ge.ERR_DEPRECATED);return t&&!Nn[o]&&(Nn[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,s)}},Rn.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};var Hn={assertOptions:Bn,validators:Rn};const Vn=Hn.validators;class Fn{constructor(e){this.defaults=e||{},this.interceptors={request:new dt,response:new dt}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;const t=e.stack?e.stack.replace(/^.+\n/,""):"";try{n.stack?t&&!String(n.stack).endsWith(t.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+t):n.stack=t}catch(r){}}throw n}}_request(e,t){"string"===typeof e?(t=t||{},t.url=e):t=e||{},t=ln(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&Hn.assertOptions(n,{silentJSONParsing:Vn.transitional(Vn.boolean),forcedJSONParsing:Vn.transitional(Vn.boolean),clarifyTimeoutError:Vn.transitional(Vn.boolean)},!1),null!=r&&(We.isFunction(r)?t.paramsSerializer={serialize:r}:Hn.assertOptions(r,{encode:Vn.function,serialize:Vn.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),Hn.assertOptions(t,{baseUrl:Vn.spelling("baseURL"),withXsrfToken:Vn.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=o&&We.merge(o.common,o[t.method]);o&&We.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=Ut.concat(s,o);const i=[];let a=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,i.unshift(e.fulfilled,e.rejected))}));const c=[];let u;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let l,p=0;if(!a){const e=[jn.bind(this),void 0];e.unshift(...i),e.push(...c),l=e.length,u=Promise.resolve(t);while(p<l)u=u.then(e[p++],e[p++]);return u}l=i.length;let d=t;while(p<l){const e=i[p++],t=i[p++];try{d=e(d)}catch(f){t.call(this,f);break}}try{u=jn.call(this,d)}catch(f){return Promise.reject(f)}p=0,l=c.length;while(p<l)u=u.then(c[p++],c[p++]);return u}getUri(e){e=ln(this.defaults,e);const t=cn(e.baseURL,e.url,e.allowAbsoluteUrls);return lt(t,e.params,e.paramsSerializer)}}We.forEach(["delete","get","head","options"],(function(e){Fn.prototype[e]=function(t,n){return this.request(ln(n||{},{method:e,url:t,data:(n||{}).data}))}})),We.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(ln(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Fn.prototype[e]=t(),Fn.prototype[e+"Form"]=t(!0)}));var Un=Fn;class zn{constructor(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;while(t-- >0)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new Yt(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}
7subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;const t=new zn((function(t){e=t}));return{token:t,cancel:e}}}var qn=zn;function Wn(e){return function(t){return e.apply(null,t)}}function Yn(e){return We.isObject(e)&&!0===e.isAxiosError}const Jn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Jn).forEach((([e,t])=>{Jn[t]=e}));var Xn=Jn;function Gn(e){const t=new Un(e),n=N(Un.prototype.request,t);return We.extend(n,Un.prototype,t,{allOwnKeys:!0}),We.extend(n,t,null,{allOwnKeys:!0}),n.create=function(t){return Gn(ln(e,t))},n}const Kn=Gn(Mt);Kn.Axios=Un,Kn.CanceledError=Yt,Kn.CancelToken=qn,Kn.isCancel=qt,Kn.VERSION=Dn,Kn.toFormData=ot,Kn.AxiosError=Ge,Kn.Cancel=Kn.CanceledError,Kn.all=function(e){return Promise.all(e)},Kn.spread=Wn,Kn.isAxiosError=Yn,Kn.mergeConfig=ln,Kn.AxiosHeaders=Ut,Kn.formToJSON=e=>
7Tt(We.isHTMLForm(e)?new FormData(e):e),Kn.getAdapter=$n.getAdapter,Kn.HttpStatusCode=Xn,Kn.default=Kn;var Zn=Kn;const{Axios:Qn,AxiosError:er,CanceledError:tr,isCancel:nr,CancelToken:rr,VERSION:or,all:sr,Cancel:ir,isAxiosError:ar,spread:cr,toFormData:ur,AxiosHeaders:lr,HttpStatusCode:pr,formToJSON:dr,getAdapter:fr,mergeConfig:hr}=Zn,mr=Zn.create({baseURL:"sspai.com"===window.location.host?"https://sspai.com/api/v1":"https://neo.sspai.com/api/v1"});mr.interceptors.request.use((e=>{const t=window.localStorage.getItem("ssToken");return t&&(e.headers.Authorization="Bearer "+t),e}),(e=>Promise.reject(e))),mr.interceptors.response.use((e=>(0!==e.data.error&&console.log(e.data),e.data)),(e=>Promise.reject(e)));var _r=mr,vr=function(){var e=this,t=e._self._c;return t("header",{staticClass:"ss__custom__header__wrapper",attrs:{active:!!e.menuItemHovered||e.searchVisible||e.mobileMenuVisible}},[t("div",{staticClass:"ss__custom__header"},[t("div",{staticClass:"ss__custom__header__left ss__custom__header__logo__wrapper"},[t("a",{staticClass:"ss__custom__header__logo__link",attrs:{href:"/",alt:"é¦é¡µ"}},[t("SsCustomHeaderLogo",{staticClass:"ss__custom__header__logo--desktop"}),t("SsCustomHeaderLogo",{staticClass:"ss__custom__header__logo--mobile",attrs:{viewBox:"0 0 36 36"}})],1)]),t("div",{staticClass:"ss__custom__header__desktop__menu__wrapper"},[t("SsCustomHeaderDesktopMenu",{staticClass:"ss__custom__header__menu",attrs:{menu:e.customMenuData,menuItemHovered:e.menuItemHovered},on:{"update:menuItemHovered":function(t){e.menuItemHovered=t},"update:menu-item-hovered":function(t){e.menuItemHovered=t},show:e.showSubmenu,hide:e.hideSubmenu}})],1),t("div",{staticClass:"ss__custom__header__right"},[t("SsCustomHeaderMobileMenu",{staticClass:"ss__custom__header__handle ss__custom__header__handle--mobile",attrs:{menu:e.customMenuDataMobile,visible:e.mobileMenuVisible},on:{"update:visible":function(t){e.mobileMenuVisible=t}}}),t("SsCustomHeaderSearch",{staticClass:"ss__custom__header__handle ss__custom__header__handle--desktop",attrs:{visible:e.searchVisible,searchUrl:e.searchUrl},on:{"update:visible":function(t){e.searchVisible=t}}}),t("SsCustomHeaderWrite",{staticClass:"ss__custom__header__handle ss__custom__header__handle--desktop",attrs:{isLogin:e.isLogin},on:{login:function(t){return e.$emit("login")}}}),e.isLogin?t("SsCustomHeaderNotice",{staticClass:"ss__custom__header__handle",attrs:{userInfo:e.userInfo,noticeCount:e.noticeCount,visible:e.noticeVisible},on:{"update:visible":function(t){e.noticeVisible=t}}}):e._e(),t("SsCustomHeaderUser",{staticClass:"ss__custom__header__handle comp__SsCustomHeaderUser",attrs:{visible:e.userMenuVisible,isLogin:e.isLogin,userInfo:e.userInfo,reminders:e.reminders},on:{"update:visible":function(t){e.userMenuVisible=t},login:function(t){return e.$emit("login")},logout:function(t){return e.$emit("logout")}}})],1)]),t("SsDesktopSubmenu",{attrs:{menu:e.customMenuData,menuItemHovered:e.menuItemHovered},on:{"update:menuItemHovered":function(t){e.menuItemHovered=t},"update:menu-item-hovered":function(t){e.menuItemHovered=t},show:e.showSubmenu,hide:e.hideSubmenu}}),t("SsDialog2",{staticClass:"ss__custom__header__mobile__menu",attrs:{visible:e.mobileMenuVisible,btnCloseVisible:!1,btnSubmitVisible:!1},on:{"update:visible":function(t){e.mobileMenuVisible=t}},nativeOn:{click:function(e){e.stopPropagation()}},scopedSlots:e._u([{key:"dialog",fn:function(){return[t("SsMobileMenu",{staticClass:"comp__SsMobileMenu",attrs:{menu:e.customMenuDataMobile,searchUrl:e.searchUrl},on:{close:e.toggleMobileMenuVisible}})]},proxy:!0}])})],1)},gr=[],yr=(r(1792),function(){var e=this,t=e._self._c;return t("div",{class:["ss__custom__header__search",{ss__custom__header__searching:e.visible}],on:{click:function(e){e.stopPropagation()}}},[t("SsButton2",{staticClass:"ss__custon__header__btn__search",attrs:{type:"text"},on:{click:e.show}},[t("i",{staticClass:"ssCommunityIcon__search"})]),t("transition",{attrs:{name:"ss__desktop__submenu__animation"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"ss__custom__header__search__input__wrapper"},[t("SsInput",{ref:"input",class:["ss__custom__header__search__input","comp__SsInput",{"comp__SsInput--clear":!!e.keyword}],attrs:{placeholder:"æç´¢å°æ°æ´¾â¦"},on:{enter:e.onSearch},scopedSlots:e._u([{key:"prepend",fn:function(){return[t("i",{staticClass:"ssCommunityIcon__search"})]},proxy:!0},{key:"append",fn:function(){return[t("SsButton2",{staticClass:"btn__search__clear",attrs:{type:"text"},on:{click:e.onClearSearch}},[t("i",{staticClass:"ssCommunityIcon__error"})])]},proxy:!0}
7]),model:{value:e.keyword,callback:function(t){e.keyword=t},expression:"keyword"}}),t("transition",{attrs:{name:"history__collpase__animation"}},[e.history.length?t("div",{ref:"history",staticClass:"ss__custom__header__search__history__wrapper"},[t("div",{staticClass:"ss__custom__header__search__history__inner"},[t("div",{staticClass:"ss__custom__header__search__history__label"},[t("span",[e._v("æç´¢åå²")]),t("SsButton2",{class:["btn__delete__search__history",{"btn__delete__search__history--danger":e.deleteConfirm}],attrs:{type:"text"},on:{click:e.onDeleteSearchHistory},nativeOn:{blur:function(t){return e.obBtnDeleteBlur.apply(null,arguments)}}},[t("i",{staticClass:"ssCommunityIcon__delete"}),e.deleteConfirm?t("span",[e._v("æ¸
é¤åå²")]):e._e()])],1),t("div",{staticClass:"ss__custom__header__search__history"},e._l(e.history,(function(n){return t("span",{key:n,staticClass:"ss__custom__header__search__history__item",on:{click:function(t){return e.onSearch(n)}}},[e._v(" "+e._s(n)+" ")])})),0)])]):e._e()])],1)]),t("transition",{attrs:{name:"ss__custom__header__fade"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"ss__custom__header__search__mask",on:{click:e.close}})])],1)}),br=[],wr=function(){var e=this,t=e._self._c;return t("button",{staticClass:"ss__button",on:{click:function(t){return e.$emit("click")}}},[e._t("default")],2)},Cr=[],Sr={name:"SsButton2"},xr=Sr;function kr(e,t,n,r,o,s,i,a){var c,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),s&&(u._scopeId="data-v-"+s),i?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},u._ssrRegister=c):o&&(c=a?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,c):[c]}return{exports:e,options:u}}var Er=kr(xr,wr,Cr,!1,null,"2790f63a",null),Or=Er.exports;Or.install=e=>e.component(Or.name,Or);var Tr=Or,Pr=function(){var e=this,t=e._self._c;return t("div",{class:["ss__input__wrapper",{"ss__input__wrapper--focus":e.inputIn}]},[e.$slots.message?t("div",{staticClass:"ss__input__message"},[e._t("message")],2):e._e(),e.$slots.prepend?t("div",{staticClass:"ss__input__prepend"},[e._t("prepend")],2):e._e(),t("input",{ref:"input",staticClass:"ss__input",attrs:{placeholder:e.placeholder,type:e.type,disabled:e.disabled},domProps:{value:e.value_},on:{input:e.onInput,change:e.onChange,focus:e.onFocus,blur:e.onBlur,keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.onEnter.apply(null,arguments)}}}),e.$slots.append?t("div",{staticClass:"ss__input__append"},[e._t("append")],2):e._e()])},Lr=[],Mr={name:"SsInput",model:{prop:"value",event:"input"},props:{value:{type:[String,Number],required:!0},type:{type:String,default:"text"},placeholder:{type:String,default:""},disabled:{type:Boolean,default:!1}},data(){return{value_:"",inputIn:!1}},watch:{value:{immediate:!0,handler:function(){this.value_=this.value}}},methods:{focus(){this.$refs.input.focus()},blur(){this.$refs.input.blur()},onFocus(){this.inputIn=!0,this.$emit("focus")},onBlur(){this.inputIn=!1,this.$emit("blur")},onInput(e){this.$emit("input",e.target.value)},onChange(e){this.$emit("change",e.target.value)},onEnter(e){this.$emit("enter",e.target.value),this.blur()}}},Ir=Mr,$r=kr(Ir,Pr,Lr,!1,null,"4b929795",null),Ar=$r.exports;Ar.install=e=>e.component(Ar.name,Ar);var jr=Ar,Dr={name:"SsCustomHeaderSearch",components:{SsButton2:Tr,SsInput:jr},props:{visible:{type:Boolean,default:!1},searchUrl:String},data(){return{keyword:"",history:[],deleteConfirm:!1,observer:null}},methods:{isMacOS(){var e;if("undefined"===typeof navigator)return!1;const t=(null===(e=navigator.userAgentData)||void 0===e?void 0:e.platform)||navigator.platform||"";return/Mac|iPod|iPhone|iPad/i.test(t)},onClearSearch(){this.keyword=""},onSearch(e){var t;this.close(),e=encodeURIComponent(e),null===(t=this.$bus)||void 0===t||t.$emit("gtag","view_search_results",{search_term:e}),this.setSearchHistory(e),this.$openLink(this.searchUrl.replace("[keyword]",e))},show(){this.$emit("update:visible",!0),this.$nextTick((()=>{this.$refs.input.focus(),this.updateHeightProperty(this.$refs.history)})),setTimeout((()=>{document.body.addEventListener("click",this.close)}
7),300),dispatchEvent(new CustomEvent("ssCustomHeaderToggleTarget",{detail:"search"}))},close(){this.onClearSearch(),this.$emit("update:visible",!1),document.body.removeEventListener("click",this.close)},handleShortcut(e){const t=e.key&&e.key.toLowerCase(),n=this.isMacOS(),r="k"===t&&!e.shiftKey&&!e.altKey&&(n?e.metaKey&&!e.ctrlKey:e.ctrlKey&&!e.metaKey);r&&(e.preventDefault(),this.visible?this.close():this.show()),"Escape"===e.key&&this.close()},getSearchHistory(){try{const e=window.localStorage.getItem("ss_search_history");e&&(this.history=e.split(",").filter((e=>!!e)).map((e=>decodeURIComponent(e))))}catch(e){console.log(e),window.localStorage.setItem("ss_search_history","")}},setSearchHistory(e){e&&!this.history.includes(decodeURIComponent(e))&&(e=decodeURIComponent(e),this.history=[e,...this.history],this.history=this.history.slice(0,10)),window.localStorage.setItem("ss_search_history",this.history.join(","))},onDeleteSearchHistory(){if(this.deleteConfirm)return this.history=[],this.setSearchHistory(),void(this.deleteConfirm=!1);this.deleteConfirm=!0},obBtnDeleteBlur(){this.deleteConfirm=!1},updateHeightProperty(e){if(!e)return;const t=e.scrollHeight;e.style.setProperty("--height",`${t}px`)}},watch:{history:{immediate:!0,handler(){this.$nextTick((()=>{this.updateHeightProperty(this.$refs.history)}))}}},mounted(){this.getSearchHistory(),document.addEventListener("keydown",this.handleShortcut)},beforeDestroy(){document.removeEventListener("keydown",this.handleShortcut)}},Rr=Dr,Nr=kr(Rr,yr,br,!1,null,"028bffe2",null),Br=Nr.exports,Hr=function(){var e=this,t=e._self._c;return t("div",{staticClass:"ss__custom__header__write"},[t("SsButton2",{staticClass:"ss__custom__header__btn__write",attrs:{type:"text"},on:{click:e.onBtnClick}},[t("i",{staticClass:"ssCommunityIcon__write"})]),t("SsFeaturePopover",{staticClass:"comp__SsFeaturePopover",attrs:{visible:e.featurePopoverVisible,title:"æ éç³è¯·ï¼èªç±åä½",content:"ä»»ä½ç¨æ·é½å¯ä½¿ç¨åä½åè½ãæååå¸ 3 ç¯ç¬¦ååºæ¬è§åçå
容ï¼å¯æä¸ºæ£å¼ä½è
ã<a href='https://manual.sspai.com/guide/init/' target='_blank'>äºè§£æ´å¤</a>",target:e.featurePopoverTarget},on:{"update:visible":function(t){e.featurePopoverVisible=t}}})],1)},Vr=[],Fr=function(){var e=this,t=e._self._c;return t("div",{staticClass:"ss__feature__popover__wrapper"},[t("transition",{attrs:{name:e.transitionName}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],ref:"SsFeaturePopover",staticClass:"ss__feature__popover"},[e.showClose?t("button",{staticClass:"btn__close",on:{click:e.close}},[t("i",{staticClass:"ssCommunityIcon__cancel"})]):e._e(),t("div",{staticClass:"popover__title"},[e._v(" "+e._s(e.title)+" "),e.showStar?t("Star",{staticClass:"popover__title__star"}):e._e()],1),t("div",{staticClass:"popover__content",domProps:{innerHTML:e._s(e.content)}}),[e._t("default")],t("span",{ref:"triangle",staticClass:"popover__triangle"},[t("Triangle")],1)],2)])],1)},Ur=[],zr=r(3493),qr=r.n(zr),Wr=function(){var e=this,t=e._self._c;return t("svg",{attrs:{width:"124",height:"27",viewBox:"0 0 124 27",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{opacity:"0.2",d:"M119.519 1.7147C119.655 1.22823 120.345 1.22823 120.481 1.7147L120.801 2.85284C120.848 3.02074 120.979 3.15195 121.147 3.19908L122.285 3.51861C122.772 3.65518 122.772 4.34482 122.285 4.48139L121.147 4.80092C120.979 4.84805 120.848 4.97926 120.801 5.14716L120.481 6.2853C120.345 6.77177 119.655 6.77177 119.519 6.2853L119.199 5.14716C119.152 4.97926 119.021 4.84805 118.853 4.80092L117.715 4.48139C117.228 4.34482 117.228 3.65518 117.715 3.51861L118.853 3.19908C119.021 3.15195 119.152 3.02074 119.199 2.85284L119.519 1.7147Z"}}),t("path",{attrs:{opacity:"0.2",d:"M72.7112 1.02882C72.7931 0.736936 73.2069 0.736936 73.2888 1.02882L73.6121 2.18018C73.6404 2.28092 73.7191 2.35965 73.8198 2.38793L74.9712 2.71117C75.2631 2.79311 75.2631 3.20689 74.9712 3.28883L73.8198 3.61207C73.7191 3.64035 73.6404 3.71908 73.6121 3.81982L73.2888 4.97118C73.2069 5.26306 72.7931 5.26306 72.7112 4.97118
7L72.3879 3.81982C72.3596 3.71908 72.2809 3.64035 72.1802 3.61207L71.0288 3.28883C70.7369 3.20689 70.7369 2.79311 71.0288 2.71117L72.1802 2.38793C72.2809 2.35965 72.3596 2.28092 72.3879 2.18018L72.7112 1.02882Z"}}),t("path",{attrs:{opacity:"0.2",d:"M3.71117 4.02882C3.79311 3.73694 4.20689 3.73694 4.28883 4.02882L4.83127 5.96098C4.85956 6.06172 4.93828 6.14044 5.03902 6.16873L6.97118 6.71117C7.26306 6.79311 7.26306 7.20689 6.97118 7.28883L5.03902 7.83127C4.93828 7.85956 4.85956 7.93828 4.83127 8.03902L4.28883 9.97118C4.20689 10.2631 3.79311 10.2631 3.71117 9.97118L3.16873 8.03902C3.14044 7.93828 3.06172 7.85956 2.96098 7.83127L1.02882 7.28883C0.736935 7.20689 0.736936 6.79311 1.02882 6.71117L2.96098 6.16873C3.06172 6.14044 3.14044 6.06172 3.16873 5.96098L3.71117 4.02882Z"}}),t("path",{attrs:{opacity:"0.2",d:"M39.7112 20.0288C39.7931 19.7369 40.2069 19.7369 40.2888 20.0288L40.8313 21.961C40.8596 22.0617 40.9383 22.1404 41.039 22.1687L42.9712 22.7112C43.2631 22.7931 43.2631 23.2069 42.9712 23.2888L41.039 23.8313C40.9383 23.8596 40.8596 23.9383 40.8313 24.039L40.2888 25.9712C40.2069 26.2631 39.7931 26.2631 39.7112 25.9712L39.1687 24.039C39.1404 23.9383 39.0617 23.8596 38.961 23.8313L37.0288 23.2888C36.7369 23.2069 36.7369 22.7931 37.0288 22.7112L38.961 22.1687C39.0617 22.1404 39.1404 22.0617 39.1687 21.961L39.7112 20.0288Z"}})])},Yr=[],Jr={name:"star"},Xr=Jr,Gr=kr(Xr,Wr,Yr,!1,null,"327aeda8",null),Kr=Gr.exports,Zr=function(){var e=this,t=e._self._c;return t("svg",{attrs:{width:"12",height:"6",viewBox:"0 0 12 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M12 0H0L4.58579 4.58579C5.36684 5.36684 6.63317 5.36683 7.41421 4.58579L12 0Z"}})])},Qr=[],eo={name:"triangle"},to=eo,no=kr(to,Zr,Qr,!1,null,"a7bef752",null),ro=no.exports,oo={name:"SsFeaturePopover",components:{Star:Kr,Triangle:ro},props:{title:{type:String,default:""},content:{type:String,default:""},visible:{type:Boolean,default:!1},target:{type:String},targetEl:{},spacing:{type:Number,default:16},transitionName:{type:String,default:"body"},showStar:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0}},data(){return{rect:{x:0,y:0,width:0,height:0}}},watch:{visible(){this.$nextTick(this.calcRect)}},methods:{close(){this.$emit("update:visible",!1),this.$emit("close")},calcRect:qr()((function(){if(this.visible&&(this.target||this.targetEl)){this.target&&(this.rect=document.querySelector(this.target).getBoundingClientRect()),this.targetEl&&(this.rect=this.targetEl.getBoundingClientRect());const e=this.$refs.SsFeaturePopover.getBoundingClientRect(),t=6,n=window.innerWidth,r=(e.width-this.rect.width)/2,o=e.height+t+this.spacing;let s=0,i=0,a=0,c=this.$round((o+this.rect.height/2)/99*100,2,"number");this.rect.x<=r?(s=8,a=this.$round((this.rect.x+this.rect.width/2)/e.width*100,2,"number")):n-this.rect.x-this.rect.width<=r?(s=n-e.width-8,a=this.$round((this.rect.x-s+this.rect.width/2)/e.width*100,2,"number")):(s=this.rect.x-r,a=50),this.rect.y>o?(i=this.rect.y-o,this.$refs.triangle.style.bottom="1px",this.$refs.triangle.style.top="",this.$refs.triangle.style.transform="translate(-50%, 100%)"):(i=this.rect.y+this.rect.height+this.spacing,this.$refs.triangle.style.bottom="",this.$refs.triangle.style.top=`-${2*t}px`,this.$refs.triangle.style.transform="translate(-50%, 100%) scaleY(-1)"),this.$refs.SsFeaturePopover.style.left=`${s}px`,this.$refs.SsFeaturePopover.style.top=`${i}px`,this.$refs.triangle.style.left=a/100*e.width+"px",this.$refs.SsFeaturePopover.style.transformOrigin=`${a}% ${c}%`}}))},mounted(){window.addEventListener("scroll",this.calcRect)},destroyed(){window.removeEventListener("scroll",this.calcRect)}},so=oo,io=kr(so,Fr,Ur,!1,null,"01a2d3e8",null),ao=io.exports;ao.install=e=>e.component(ao.name,ao);var co=ao,uo={name:"SsCustomHeaderWrite",components:{SsButton2:Tr,SsFeaturePopover:co},props:{isLogin:{type:Boolean,default:!1}},data(){return{featurePopoverVisible:!1,featurePopoverTarget:".ss__custom__header__btn__write"}},methods:{showFeaturePopover(){const e=window.localStorage.getItem("enabling__writing__feature");e||(this.featurePopoverVisible=!0,window.localStorage.setItem("enabling__writing__feature","1"))},onBtnClick(){this.isLogin?this.$openLink("/write","_self"):this.$emit("login"),dispatchEvent(new CustomEvent("ssCu
7stomHeaderToggleTarget",{detail:"write"}))}},mounted(){setTimeout(this.showFeaturePopover,400)}},lo=uo,po=kr(lo,Hr,Vr,!1,null,"41b32538",null),fo=po.exports,ho=function(){var e=this,t=e._self._c;return t("div",{class:["ss__custom__header__menu__wrapper",{"ss__custom__header__menu__wrapper--visible":e.visible}]},[t("SsButton2",{staticClass:"ss__custom__header__menu__btn__toogle",attrs:{type:"text"},on:{click:e.toggleVisible}},[t("transition",{attrs:{name:"btn__fade",mode:"out-in"}},[e.visible?t("i",{key:"cancel",staticClass:"ssCommunityIcon__cancel"}):t("i",{key:"menu",staticClass:"ssCommunityIcon__menu"})])],1)],1)},mo=[],_o={name:"SsCustomHeaderMobileMenu",components:{SsButton2:Tr},props:{menu:{type:Array,default:()=>[]},visible:Boolean},data(){return{preventScroll:!1}},watch:{},methods:{toggleVisible(){this.visible?this.close():this.open()},open(){this.$emit("update:visible",!0),setTimeout((()=>{document.body.addEventListener("click",this.close)}),300)},close(){this.$emit("update:visible",!1),document.body.removeEventListener("click",this.close)}}},vo=_o,go=kr(vo,ho,mo,!1,null,"1be9f862",null),yo=go.exports,bo=function(){var e=this,t=e._self._c;return t("div",{staticClass:"ss__custom__header__desktop__menu__wrapper"},[t("div",{class:["ss__custom__header__desktop__menu",e.menuItemHovered?"ss__custom__header__desktop__menu--active":""]},e._l(e.menu,(function(n){return t("div",{key:n.name,on:{mouseenter:function(t){return e.onMouseenter(n,t)},mouseleave:e.onMouseleave}},[t("SsDesktopMenuItem",{class:["ss__custom__header__desktop__menu__item",n.name===e.menuItemHovered?"ss__custom__header__desktop__menu__item--hover":""],attrs:{item:n},nativeOn:{click:function(t){return e.onMenuItemClick(n,t)}}}),e.hovered&&e.menuItemHovered===n.name?t("SafeArea",{attrs:{mouseX:e.mouseX,mouseY:e.mouseY}}):e._e()],1)})),0)])},wo=[],Co=function(){var e=this,t=e._self._c;return t("svg",{style:{position:"fixed",width:e.svgWidth,height:e.svgHeight,"pointer-events":"none",zIndex:2,top:e.mouseY,left:e.svgLeft},attrs:{id:"svg-safe-area"}},[t("path",{staticClass:"path1",attrs:{"pointer-events":"none",width:"100%",height:"100%",d:`M 0,0 L ${e.svgWidth},0 L ${e.svgWidth},${e.svgHeight} L 0,${e.svgHeight} z`}}),t("path",{staticClass:"path2",attrs:{"pointer-events":"auto",d:`M ${e.mouseX-e.svgLeft},5\n L 0,${e.svgHeight}\n L ${e.svgWidth},${e.svgHeight} z`}})])},So=[],xo={name:"SafeArea",props:{mouseX:Number,mouseY:Number,svgWidth:{type:Number,default:844},left:Number,height:{type:Number,default:56}},data(){return{}},computed:{svgHeight(){return this.height-this.mouseY},svgLeft(){return isNaN(this.left)?(window.innerWidth-this.svgWidth)/2:this.left}}},ko=xo,Eo=kr(ko,Co,So,!1,null,"bc4a118e",null),Oo=Eo.exports,To=function(){var e=this,t=e._self._c;return t(e.item.url?"a":"div",{tag:"component",staticClass:"ss__desktop__menu__item",style:e.item.style,attrs:{href:e.item.url,target:e.item.blank?"_blank":"_self"}},[e.item.image?t("div",{staticClass:"ss__desktop__menu__item__image__wrapper"},[t("img",{staticClass:"ss__desktop__menu__item__image",attrs:{src:e.$formatImageSrc(e.item.image,{w:360,h:200})||e.$app.imgErrorSrc,alt:e.item.name}})]):e._e(),t("div",{staticClass:"ss__desktop__menu__item__content"},[e.item.icon?t("i",{class:["ss__desktop__menu__item__icon",e.item.icon]}):e._e(),t("span",{staticClass:"ss__desktop__menu__item__name"},[e._v(e._s(e.item.name))]),e.item.url&&e.item.external?t("i",{staticClass:"ssCommunityIcon__arrowTopRight"}):e._e()]),e.item.description?t("div",{staticClass:"ss__desktop__menu__item__desc"},[e._v(" "+e._s(e.item.description)+" ")]):e._e()])},Po=[],Lo={name:"SsDesktopMenuItem",props:{item:{type:Object}}},Mo=Lo,Io=kr(Mo,To,Po,!1,null,"3283e431",null),$o=Io.exports,Ao=r(3279),jo=r.n(Ao),Do={name:"SsDesktopMenu",components:{SsDesktopMenuItem:$o,SafeArea:Oo},props:{menu:{type:Array,default:()=>[]},menuItemHovered:String},data(){return{isDesktop:!1,hovered:!1,timer:null,mouseX:0,mouseY:0}},methods:{show(e){this.hovered=!0,this.$emit("show",e),dispatchEvent(new CustomEvent("ssCustomHeaderToggleTarget",{detail:"menu"}))},hide(){this.$emit("hide"),this.hovered=!1},onMouseenter(e,t){this.isDesktop&&(t.stopPropagation(),this.menuItemHovered?(this.timer&&clearTimeout(this.timer),this.timer=null,this.show(e.name)):this.timer=setTimeout((()=>{this.show(e.name)}),300),this.updateMousePosition(t))},onMouseleave(e){this.hide(),clearTimeout(this.timer),this.timer=null},updateMousePosition:jo()((function(e){this.mouseX=e.clientX,this.mouseY=e.clientY-4}),30),onMenuItemClick(e,t){this.isDesktop||this.menuItemHovered!==e.name&&(t.preventDefault(),this.show(e.name))}},mounted(){this.isDesktop=!("ontouchstart"in window),window.addEventListener("mousemove",this.updateMousePosition)},destoryed(){window.removeEventListener("mousemove",this.updateMousePosition)}},Ro=Do,No=kr(Ro,bo,wo,!1,null,"57fa0738",null),Bo=No.exports,Ho=function(){var e=this,t=e._self._c;return t("div",{staticClass:"ss__desktop__submenu__transition__wrapper"},[t("transition",{attrs:{name:"ss__desktop__submenu__animation"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.menuItemHovered,expression:"menuItemHovered"}],ref:"menuWrapper",staticClass:"ss__desktop__submenu__wrapper",on:{mouseleave:function(t){return e.$emit("hide")}}},[t("transition",{attrs:{name:"ss__desktop__submenu__fade",mode:"out-in"}},[e._l(e.menu,(function(n){return[n.name===e.menuItemHovered?t("div",{key:n.name,staticClass:"ss__desktop__submenu",style:n.style,on:{mouseenter:function(t){return e.$emit("show",n.name)}}},e._l(n.children,(function(e){return t("SsDesktopSubmenuItem",{key:e.name||e.key,attrs:{submenu:e}})}
7)),1):e._e()]}))],2)],1)]),t("transition",{attrs:{name:"ss__desktop__submenu__fade"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.menuItemHovered,expression:"menuItemHovered"}],staticClass:"ss__desktop__submenu__mask"})])],1)},Vo=[],Fo=(r(928),function(){var e=this,t=e._self._c;return t("div",{class:["ss__desktop__submenu__item",e.submenu.layout?`ss__desktop__submenu__item--${e.submenu.layout}`:""],style:e.submenu.style},[t("div",{staticClass:"ss__desktop__submenu__item__head"},[e.submenu.image?t("img",{staticClass:"ss__desktop__submenu__item__image",attrs:{src:e.submenu.image,alt:e.submenu.name}}):e._e(),t("div",{staticClass:"ss__desktop__submenu__item__name"},[e._v(e._s(e.submenu.name))])]),t("div",{class:["ss__desktop__submenu__item__children",e.submenu.layout?`ss__desktop__submenu__item__children--${e.submenu.layout}`:""]},e._l(e.submenu.children,(function(e){return t(e.card,{key:e.name,tag:"component",class:["ss__desktop__submenu__item__item",`comp__${e.card}`],style:e.style,attrs:{item:e}})})),1)])}),Uo=[],zo=function(){var e=this,t=e._self._c;return t("a",{staticClass:"ss__desktop__menu__post__item",attrs:{href:e.item.url,target:e.item.blank?"_blank":"_self"}},[t("img",{staticClass:"ss__desktop__menu__post__item__image",attrs:{src:e.$formatImageSrc(e.item.image,{w:360,h:230})||e.$app.imgErrorSrc,alt:e.item.name}}),t("div",{staticClass:"ss__desktop__menu__post__item__type"},[e._v(e._s(e.item.type))]),t("div",{staticClass:"ss__desktop__menu__post__item__title"},[e._v(e._s(e.item.name))])])},qo=[],Wo={name:"SsDesktopMenuPostItem",props:{item:Object}},Yo=Wo,Jo=kr(Yo,zo,qo,!1,null,"530d05a5",null),Xo=Jo.exports,Go=function(){var e=this,t=e._self._c;return t("a",{staticClass:"ss__desktop__menu__series__item",attrs:{href:e.item.url,target:e.item.blank?"_blank":"_self"}},[t("img",{staticClass:"ss__desktop__menu__series__item__image",attrs:{src:e.$formatImageSrc(e.item.image,{w:240,h:320})||e.$app.imgErrorSrc,alt:e.item.name}}),t("div",{staticClass:"ss__desktop__menu__series__item__desc"},[e._v(e._s(e.item.description))])])},Ko=[],Zo={name:"SsDesktopMenuSeriesItem",props:{item:Object}},Qo=Zo,es=kr(Qo,Go,Ko,!1,null,"c3fac60c",null),ts=es.exports,ns=function(){var e=this,t=e._self._c;return t("a",{staticClass:"ss__desktop__menu__good__item",attrs:{href:e.item.url,target:e.item.blank?"_blank":"_self"}},[t("img",{staticClass:"ss__desktop__menu__good__item__image",attrs:{src:e.$formatImageSrc(e.item.image,{w:240,h:240})||e.$app.imgErrorSrc,alt:e.item.name}}),t("div",{staticClass:"ss__desktop__menu__good__item__name"},[e._v(e._s(e.item.name))]),t("div",{staticClass:"ss__desktop__menu__good__item__desc"},[e._v(e._s(e.item.description))]),t("div",{staticClass:"ss__desktop__menu__good__item__price__wrapper"},[t("span",{staticClass:"ss__desktop__menu__good__item__price"},[e._v("Â¥"+e._s(e._f("round")(e.item.price/100,2,"number")))]),e.item.originPrice&&e.item.price!==e.item.originPrice?t("del",{staticClass:"ss__desktop__menu__good__item__price--del"},[e._v("Â¥"+e._s(e._f("round")(e.item.originPrice/100,2,"number")))]):e._e()]),e.item.memberPrice&&e.item.price!==e.item.memberPrice?t("div",{staticClass:"ss__desktop__menu__good__item__price--forPrime"},[t("i",{staticClass:"ssCommunityIcon__prime"}),t("span",[e._v("Â¥"+e._s(e._f("round")(e.item.memberPrice/100,2,"number")))])]):e._e()])},rs=[],os={name:"SsDesktopMenuGoodItem",props:{item:Object}},ss=os,is=kr(ss,ns,rs,!1,null,"8ac36270",null),as=is.exports,cs=function(){var e=this,t=e._self._c;return t("div",{staticClass:"ss__desktop__menu__prime__explore__wrapper"},[t("div",{staticClass:"ss__desktop__menu__prime__explore"},e._l(e.item.children,(function(n){return t("div",{key:n.name,staticClass:"ss__desktop__menu__prime__explore__content",style:n.style},[t("i",{class:["ss__desktop__menu__prime__explore__content__icon",n.icon]}),t("span",{staticClass:"ss__desktop__menu__prime__explore__content__name"},[e._v(e._s(n.name))])])})),0),t("a",{staticClass:"ss__desktop__menu__prime__explore__link",attrs:{href:e.item.button.url}},[t("SsButton2",{staticClass:"ss__desktop__menu__prime__explore__btn",style:e.item.button.style}
7,[t("span",[e._v(e._s(e.item.button.text))])])],1)])},us=[],ls={name:"SsDesktopMenuPrimeExplore",components:{SsButton2:Tr},props:{item:Object},mounted(){}},ps=ls,ds=kr(ps,cs,us,!1,null,"0a29b04a",null),fs=ds.exports,hs=function(){var e=this,t=e._self._c;return t("div",{staticClass:"ss__user__prime__card__perspective__wrapper"},[t("div",{staticClass:"ss__user__prime__card__perspective"},[t("div",{class:["ss__user__prime__card__wrapper",{"ss__user__prime__card__wrapper--flipped":e.flipped}],on:{click:e.toggle}},[t("div",{ref:"card",staticClass:"ss__user__prime__card ss__user__prime__card--front"},[t("SsPrimeLogo",{staticClass:"comp__PrimeLogo"}),t("div",{staticClass:"ss__user__prime__card__avatar__wrapper"},[e.userInfo?t("SsPortrait",{staticClass:"ss__user__prime__card__avatar",attrs:{data:e.userInfo,size:120,proportion:1,showBadge:!0}}):e._e()],1),t("div",{ref:"qrCodeRef",staticClass:"ss__user__prime__card__qrcode"}),e.userInfo&&e.userInfo.member?t("div",{staticClass:"ss__user__prime__card__footer"},[t("div",{staticClass:"ss__user__prime__card__row__wrapper"},[t("div",{staticClass:"ss__user__prime__card__info__item user__info__item"},[t("span",{staticClass:"ss__user__prime__card__info__item__label"},[e._v("å°æ°æ´¾ä¼å")]),t("div",{staticClass:"ss__user__prime__card__info__item__value"},[e._v(e._s(e.userInfo.nickname))])]),t("div",{staticClass:"ss__user__prime__card__info__item valid__date__item"},[t("span",{staticClass:"ss__user__prime__card__info__item__label"},[e._v("æææ")]),t("span",{directives:[{name:"show",rawName:"v-show",value:e.userInfo.member.end_time,expression:"userInfo.member.end_time"}],staticClass:"ss__user__prime__card__info__item__value"},[e._v(" "+e._s(e._f("formatDate")(1e3*e.userInfo.member.end_time,"YYYY/MM/DD"))+" ")])])]),t("div",{staticClass:"ss__user__prime__card__row__wrapper"},[e.userInfo&&e.userInfo.member?t("div",[t("span",{directives:[{name:"show",rawName:"v-show",value:e.userInfo.member.is_pay,expression:"userInfo.member.is_pay"}],staticClass:"prime__code"},[e._v(" No."+e._s(e.userInfo.member.member_code)+" ")])]):e._e(),e.userInfo.created_at?t("div",{staticClass:"join__date"},[e._v(e._s(e._f("formatDate")(1e3*e.userInfo.created_at,"YYYY å¹´ MM æ"))+"æä¸ºå°æ°æ´¾")]):e._e()])]):e._e(),t("div",{staticClass:"ss__user__prime__card__image"},[e.blob?t("img",{attrs:{src:e.blob,alt:""}}):e._e()])],1),t("div",{staticClass:"ss__user__prime__card ss__user__prime__card--back"},[t("SsPrimeLogo",{staticClass:"comp__PrimeLogo"})],1)])])])},ms=[],_s=r(1929),vs=r.n(_s),gs=r(9306),ys=r.n(gs),bs=function(){var e=this,t=e._self._c;return t("div",{staticClass:"ss__portrait",style:e.style},[t(e.data.deleted?"div":e.link?"a":"div",{directives:[{name:"popover",rawName:"v-popover:userCard",arg:"userCard"}],tag:"component",staticClass:"ss__portrait__link",attrs:{href:e.link,target:e.target}},[t("img",{key:e.data.avatar,attrs:{src:e.portraitSrc,alt:e.data.nickname}}),e.showBadge&&e.data.user_badges&&e.data.user_badges.length>0?t("SsUserIdentifier",{staticClass:"ss__portrait__badge",attrs:{identifier:e.data.user_badges[0],popoverDisable:e.badgePopoverDisalbed}}):e._e()],1),!e.data.deleted&&e.showUserCard?[t("ElPopover",{ref:"userCard",attrs:{trigger:"hover",placement:"right","visible-arrow":!1,"popper-class":"comp__SsUserCard__popover","open-delay":500},on:{show:e.onUserCardShow}},[t("SsUserCard",{attrs:{user:e.asyncUserData,isSelf:e.isSelf,isLogin:e.isLogin,terminalType:e.terminalType,identifierKey:e.identifierKey}})],1)]:e._e()],2)},ws=[],Cs=r(4650),Ss=r.n(Cs),xs=function(){var e=this,t=e._self._c;return t("div",{staticClass:"ss__user__identifier"},[t("i",{directives:[{name:"popover",rawName:"v-popover:userIndentifierPopover",arg:"userIndentifierPopover"}],staticClass:"ss__user__identifier__icon",style:{"background-image":`url(${e.identifier.icon})`}}),e.popoverDisable?e._e():[t("el-popover",{ref:"userIndentifierPopover",attrs:{"popper-class":"ss__user__identifier__popover",disabled:e.popoverDisable,trigger:"hover",placement:e.popoverPlacement}},[t("div",{staticClass:"identifier__info"},[t("div",{staticClass:"identifier__name"}
7,[e._v(e._s(e.identifier.name))]),t("div",[e.identifier.url?t("a",{attrs:{target:"_blank",href:e.identifier.url}},[e._v("äºè§£è¯¦æ
>")]):e._e()])])])]],2)},ks=[],Es={name:"SsUserIdentifier",components:{ElPopover:Ss()},props:{identifier:{type:Object},popoverDisable:{type:Boolean,default:!1},popoverPlacement:{type:String,default:"bottom"}}},Os=Es,Ts=kr(Os,xs,ks,!1,null,"35a9365c",null),Ps=Ts.exports;Ps.install=e=>e.component(Ps.name,Ps);var Ls=Ps,Ms=function(){var e=this,t=e._self._c;return t(e.forList?"a":"div",{tag:"component",staticClass:"ss__user__card__wrapper",attrs:{href:e.href,target:e.target}},[t("div",{class:["ss__user__card",{"ss__user__card--list":e.forList}]},[t("div",{staticClass:"ss__user__card__header"},[t("a",{attrs:{href:`/u/${e.user.slug}`,target:"_blank"}},[t("img",{staticClass:"ss__user__avatar",attrs:{src:e.$formatImageSrc(e.user.avatar,{w:100,h:100}),width:"40",height:"40"},on:{error:e.onError}})]),e.isSelf?e._e():[t("button",{class:["ss__user__card__btn",{"ss__user__card__btn--followed":e.followed}],on:{click:function(t){return t.preventDefault(),e.updateFollowStatus.apply(null,arguments)}}},[e.followed?[t("i",{staticClass:"iconfont-success--stroke"})]:[t("i",{staticClass:"iconfont-add--stroke"}),t("span",[e._v("å
³æ³¨")])]],2)]],2),t("div",{staticClass:"ss__user__card__center"},[t("div",{staticClass:"ss__user__card__nickname__wrapper"},[t("div",{staticClass:"ss__user__card__nickname"},[e._v(e._s(e.user.nickname))]),e.forList&&e.role?t("SsUserIdentifier",{attrs:{identifier:e.role,popoverPlacement:"top"}}):e._e(),e.forList&&e.projectVerification?t("SsUserIdentifier",{staticClass:"comp__SsUserIdentifier--projectVerification",attrs:{identifier:e.projectVerification,popoverPlacement:"top"}}):e._e()],1),e.forList||!e.role&&!e.projectVerification?e._e():t("div",{staticClass:"ss__user__card__role__wrapper"},[e.role?t("div",{staticClass:"ss__user__card__role__item"},[t("SsUserIdentifier",{staticClass:"role__icon",attrs:{identifier:e.role,popoverDisable:!0}}),t("span",{staticClass:"role__name"},[e._v(e._s(e.role.name))])],1):e._e(),e.projectVerification?t("div",{staticClass:"ss__user__card__role__item"},[t("SsUserIdentifier",{staticClass:"role__icon comp__SsUserIdentifier--projectVerification",attrs:{identifier:e.projectVerification,popoverDisable:!0}}),t("span",{staticClass:"role__name"},[e._v(e._s(e.projectVerification.name))])],1):e._e()])]),e.user.bio?t("div",{class:["ss__user__card__intro",e.forList?"text_ellipsis":"text_ellipsis2"]},[e._v(" "+e._s(e.user.bio)+" ")]):e._e(),e.followedCount||e.forList?t("div",{staticClass:"ss__user__card__footer"},[e.followedCount?t("span",[e._v(e._s(e.followedCount)+" 人æ£å¨å
³æ³¨")]):e._e(
7),e.forList&&e.articleCount?t("span",[e._v(e._s(e.articleCount)+" ç¯æç« ")]):e._e()]):e._e()])])},Is=[],$s={name:"SsUserCard",components:{SsUserIdentifier:Ls},props:{user:{type:Object,default:()=>({avatar:"https://cdn-static.sspai.com/ui/otter_avatar_placeholder_240511.png",nickname:""})},isSelf:{type:Boolean,default:!1},isLogin:{type:Boolean,default:!1},forList:{type:Boolean,default:!1},followedCountKey:{type:String,default:"followed_count"},articleCountKey:{type:String,default:"released_article_count"},identifierKey:{type:String,default:"user_flags"},projectVerificationKey:{type:String,default:"user_id_verify_flags"},href:String,target:String},data(){return{}},computed:{followed(){return this.user.followed},followedCount(){return this.user[this.followedCountKey]},articleCount(){return this.user[this.articleCountKey]},role(){if(!this.user)return;const e=this.user[this.identifierKey];return e&&Array.isArray(e)&&e[0]?e[0]:void 0},projectVerification(){if(!this.user)return;const e=this.user[this.projectVerificationKey];return e&&Array.isArray(e)&&e[0]?e[0]:void 0}},methods:{onError(e){e.target.src="https://cdn-static.sspai.com/ui/otter_avatar_placeholder_240511.png"},updateFollowStatus:jo()((async function(){if(!this.isLogin)return void this.$toLogin(this);const e=this.followed?2:1;try{const t=await this.$http({method:"post",url:"/user/follow",data:{slug:this.user.slug,flag:e}});if(!t)throw new Error("请æ±è¶
æ¶æåæ¶ï¼");if(t.error)throw new Error(t);this.$message({message:2===e?"已忶å
³æ³¨":"å
³æ³¨æå",type:"success"}),this.user.followed=!this.user.followed}catch(t){console.log(t)}}),200)}},As=$s,js=kr(As,Ms,Is,!1,null,"ab4d8426",null),Ds=js.exports;Ds.install=e=>e.component(Ds.name,Ds);var Rs=Ds,Ns={name:"SsPortrait",components:{ElPopover:Ss(),SsUserIdentifier:Ls,SsUserCard:Rs},props:{size:{type:Number,default:24},proportion:{type:Number,default:1.5},data:{type:Object,required:!0},link:{type:String,default:""},showBadge:{type:Boolean,default:!0},badgePopoverDisalbed:{type:Boolean,default:!0},target:{type:String,default:"_self"},showUserCard:{type:Boolean,default:!1},isSelf:{type:Boolean,default:!1},isLogin:{type:Boolean,default:!1},terminalType:{type:String},async:{type:Boolean,default:!1},identifierKey:{type:String,default:"user_flags"}},data(){return{asyncUserData:null,handled:!1}},computed:{portraitSrc(){if(this.data.avatar){const e=this.size||24,t=this.proportion||1.5;return this.$formatImageSrc(this.data.avatar,{w:e*t*2,h:e*t*2})}return this.$app.avatarSrc},style(){let e={};return this.size&&(e["--size"]=`${this.size}px`),this.proportion&&(e["--proportion"]=this.proportion),e}},watch:{data:{immediate:!0,handler:function(){this.asyncUserData=this.data}}},methods:{async onUserCardShow(){if(this.data&&this.data.slug&&this.async&&!this.handled)try{const e=await this.$http({url:"/user/slug/info/get",params:{slug:this.data.slug}});if(!e)throw new Error("请æ±å¤±è´¥æè¶
æ¶ï¼");if(e.error)throw new Error(e.msg);this.asyncUserData=Object.assign({},this.data,e.data),this.handled=!0}catch(e){console.log(e)}}}},Bs=Ns,Hs=kr(Bs,bs,ws,!1,null,"317a1aca",null),Vs=Hs.exports;Vs.install=e=>e.component(Vs.name,Vs);var Fs=Vs,Us=function(){var e=this,t=e._self._c;return t("span",{class:["ss__prime__logo",e.type?`ss__prime__logo--${e.type}`:""]},[t("svg",{attrs:{viewBox:"0 0 435 199",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M101.275 82.2887L101.399 82.2706L101.387 82.283L106.945 81.4145C107.541 81.3276 107.838 81.278 108.062 81.1291C108.26 81.005 108.409 80.8189 108.508 80.608C108.62 80.3599 108.62 80.0621 108.62 79.4541V75.2233C108.62 74.8014 108.62 74.5905 108.558 74.4044C108.496 74.2431 108.409 74.0818 108.297 73.9577C108.187 73.8249 108.027 73.7316 107.738 73.5633L107.627 73.4987L93.2971 65.7442C88.4831 62.9649 86.0761 61.5753 83.5078 61.0294C81.2497 60.5455 78.9047 60.5455 76.6342 61.0294C74.1207 61.5541 71.7513 62.9186 67.0833 65.6068L66.8449 65.7442L44.8624 78.4374C40.1205 81.1749 37.7243 82.5582 35.9881 84.4915C34.4372 86.2161 33.271 88.2384 32.5513 90.4469C31.7449 92.9408 31.7449 95.72 31.7449 101.291V126.564C31.7449 132.135 31.7449 134.914 32.5513 137.408C33.271 139.617 34.4372 141.639 35.9881 143.364C37.7376 145.299 40.1446 146.701 44.971 149.48L66.8573 162.111C71.6713 164.89 74.0783 166.28 76.6466 166.826C78.9047 167.31 81.2497 167.31 83.5202 166.826C86.0336 166.301 88.4031 164.937 93.071 162.248L115.305 149.418C120.046 146.68 122.442 145.297 124.179 143.364C125.73 141.639 126.896 139.617 127.615 137.408C128.422 134.914 128.422 132.135 128.422 126.564V119.132C128.422 118.326 128.422 117.929 128.261 117.644C128.112 117.395 127.888 117.197 127.615 117.098C127.318 116.986 126.921 117.048 126.127 117.172L118.93 118.314C118.335 118.4 118.037 118.45 117.814 118.599C117.615 118.735 117.466 118.921 117.367 119.132C117.255 119.368 117.255 119.666 117.255 120.274V126.564C117.255 132.892 117.131 133.55 116.995 133.959C116.759 134.679 116.387 135.336 115.878 135.895C115.593 136.217 115.084 136.651 109.613 139.815L87.7262 152.446C82.2422 155.597 81.6095 155.821 81.1876 155.907C80.4556 156.069 79.6864 156.069 78.9543 155.907C78.5325 155.821 77.8873 155.61 72.4157 152.446L50.5294 139.815C45.
70578 136.664 44.5491 136.217 44.2638 135.895C43.7551 135.336 43.3828 134.679 43.1471 133.959C43.0106 133.55 42.8866 132.88 42.8866 126.564V101.291C42.8866 94.9632 43.0106 94.3056 43.1471 93.8961C43.3828 93.1765 43.7551 92.5189 44.2638 91.9606C44.5491 91.638 45.0578 91.2038 50.5294 88.0399L72.4157 75.4094C77.8997 72.2455 78.5325 72.0222 78.9543 71.9354C79.6864 71.7741 80.4556 71.7741 81.1876 71.9354C81.6095 72.0346 82.2547 72.2455 87.7262 75.4094L100.096 82.0224C100.32 82.1589 100.431 82.2209 100.555 82.2582C100.667 82.2954 100.779 82.3202 100.89 82.3202C100.993 82.3305 101.095 82.3153 101.275 82.2887Z"}}),t("path",{attrs:{d:"M90.9895 135.908C91.4238 136.144 91.92 136.268 92.4163 136.268L92.3915 136.305H96.6472C97.1311 136.305 97.6025 136.181 98.012 135.97C98.4462 135.747 98.8185 135.424 99.079 135.015C99.352 134.593 99.5009 134.121 99.5257 133.637C99.5505 133.153 99.4264 132.67 99.1907 132.223L94.2526 123.339C93.8059 122.521 93.5702 121.602 93.5702 120.697V103.761L100.407 102.681C101.077 102.582 101.685 102.284 102.156 101.813C102.64 101.341 102.95 100.721 103.037 100.088L103.62 96.3041C103.694 95.8202 103.632 95.3239 103.459 94.8648C103.297 94.4182 103.012 94.0087 102.652 93.6861C102.292 93.3636 101.871 93.1278 101.399 92.9913C101.101 92.9169 100.804 92.8673 100.493 92.8673C100.32 92.8673 100.134 92.8797 99.9723 92.9045L58.5074 99.4183C57.8374 99.5175 57.2295 99.8153 56.758 100.287C56.2741 100.758 55.9639 101.379 55.8771 102.011L55.2939 105.796C55.2319 106.267 55.2815 106.763 55.4552 107.21C55.6289 107.657 55.9019 108.066 56.2617 108.389C56.6091 108.699 57.031 108.947 57.5024 109.083C57.8126 109.17 58.1228 109.22 58.433 109.22C58.5943 109.22 58.7556 109.208 58.9293 109.183L65.5919 108.141V133.116C65.5919 133.687 65.7532 134.233 66.0634 134.717C66.3612 135.188 66.783 135.573 67.2917 135.821C67.7508 136.057 68.2471 136.168 68.7558 136.168H68.9047C69.463 136.144 70.0089 135.97 70.468 135.685L73.5698 133.811C74.1033 133.476 74.5499 133.017 74.8601 132.484C75.1703 131.925 75.344 131.317 75.344 130.684V106.614L83.9422 105.262V122.248C83.9422 123.612 84.302 124.977 84.9844 126.181L89.8977 134.816C90.1458 135.275 90.5304 135.647 90.9895 135.908Z"}}),t("path",{attrs:{d:"M117.406 86.2668C117.406 83.5248 119.602 80.9565 122.307 80.5222L127.208 79.7406C127.89 79.6289 128.436 80.1004 128.436 80.7828V88.0541L136.35 86.787C137.02 86.6753 137.516 87.1468 137.442 87.8292L136.983 92.1469C136.697 94.8765 134.266 97.4324 131.561 97.8542L128.436 98.3545V101.887C128.436 104.629 126.24 107.198 123.536 107.632L118.635 108.401C117.952 108.513 117.406 108.041 117.406 107.359V100.121L109.476 101.39C108.794 101.502 108.31 101.03 108.384 100.348L108.843 96.0304C109.129 93.3008 111.56 90.7449 114.265 90.3231L117.406 89.8201V86.2668Z"}}),t("path",{attrs:{d:"M161.288 112.488V101.787L174.457 99.7009C176.132 99.4356 177.662 98.8423 179.049 97.921C180.435 96.9997 181.532 95.8025 182.341 94.3294C183.149 92.8564 183.554 91.1549 183.554 89.2251C183.554 87.3538 183.149 85.8097 182.341 84.5928C181.532 83.3758 180.435 82.5263 179.049 82.0441C177.662 81.5619 176.132 81.4534 174.457 81.7187L161.288 83.8045V73.1029L176.449 70.7016C180.319 70.0887 183.814 70.3247 186.933 71.4096C190.052 72.4945 192.506 74.3864 194.297 77.0852C196.145 79.7164 197.069 83.0495 197.069 87.0845C197.069 91.1195 196.145 94.7746 194.297 98.0497C192.506 101.257 190.052 103.927 186.933 106.058C183.814 108.131 180.319 109.474 176.449 110.087L161.288 112.488ZM150.891 136.678V74.7496L164.493 72.5952V134.524L150.891 136.678ZM215.098 100.983V90.8079L228.007 88.7633C230.722 88.3333 232.801 87.3023 234.245 85.6701C235.747 84.0287 236.498 82.0093 236.498 79.6117C236.498 77.3895 235.776 75.6618 234.332 74.4285C232.888 73.1952 230.808 72.7936 228.094 73.2235L215.098 75.2818V64.5803L229.653 62.275C233.696 61.6346 237.248 61.8615 240.31 62.9556C243.371 63.9912 245.768 65.746 247.501 68.22C249.233 70.6941 250.1 73.7147 250.1 77.2819C250.1 80.9075 249.233 84.2318 247.501 87.2547C245.768 90.2192 243.342 92.7086 240.223 94.7231C237.104 96.7375 233.436 98.0786 229.22 98.7464L215.098 100.983ZM204.702 128.156V66.2269L218.304 64.0726V126.001L204.702 128.156ZM237.97 122.886L218.91 99.239L231.386 93.8421L254.085 120.334L237.97 122.886ZM260.035 119.392V57.4631L273.637 55.3087V117.237L260.035 119.392ZM285.417 115.372V53.4429L295.12 51.9061L319.205 86.0731L314.267 86.8553L338.266 45.0725L348.056 43.5219V105.451L334.454 107.605V68.9215L336.88 69.1513L321.198 96.3713L312.188 97.7984L296.593 75.532L298.932 74.5475V113.231L285.417 115.372ZM359.786 103.593V41.664L373.389 39.5097V101.438L359.786 103.593ZM370.183 101.946V90.0164L403.712 84.706V96.6356L370.183 101.946ZM370.183 76.0693V64.5783L400.679 59.7482V71.2392L370.183 76.0693ZM370.183 51.8592V40.0174L403.279 34.7756V46.6174L370.183 51.8592Z"}})])])},zs=[],qs={name:"SsPrimeLogo",props:{type:{type:String,default:"italic"}}},Ws=qs,Ys=kr(Ws,Us,zs,!1,null,"3accd1bc",null),Js=Ys.exports;Js.install=e=>e.component(Js.name,Js);var Xs=Js,Gs={name:"SsUserPrimeCard",components:{SsPortrait:Fs,SsPrimeLogo:Xs},inject:["$getUserInfo"],data(){return{flipped:!1,blob:null}},computed:{userInfo(){const e=this.$getUserInfo();return e||{nickname:"åæ´¾çæ°´ç",member:{}}}},watch:{userInfo:{immediate:!0,handler(){var e;null!==(e=this.userInfo)&&void 0!==e&&e.slug&&this.$nextTick((()=>{this.generateQrCode(),this.draw()}))}}}
7,methods:{toggle(){this.flipped=!this.flipped},generateQrCode(){var e;const t=this.$refs.qrCodeRef;if(!t||null===(e=this.userInfo)||void 0===e||!e.slug)return;t.innerHTML="";const n=new(vs())({text:`${window.location.origin}/u/${this.userInfo.slug}`,size:152,background:"transparent",foreground:"#000",correctLevel:1}),r=document.createElement("img");r.src=n.toDataURL(),t.innerHTML="",t.appendChild(r)},async draw(){var e;const t=null===(e=this.$refs.card)||void 0===e?void 0:e.cloneNode(!0);if(t)try{const e=2,n=423;t.style.position="fixed",t.style.left="0",t.style.top="0",t.style.opacity="0",t.style.width=`${n}px`,t.style.borderRadius="0px",document.body.appendChild(t);const r=t.offsetHeight;this.blob=await ys().toJpeg(t,{quality:1,width:n*e,height:r*e,style:{opacity:1,width:`${n}px`,height:`${r}px`,boxShadow:"none",zoom:1,transform:`scale(${e})`,transformOrigin:"top left"}}),this.blob=await ys().toJpeg(t,{quality:1,width:n*e,height:r*e,style:{opacity:1,width:`${n}px`,height:`${r}px`,boxShadow:"none",zoom:1,transform:`scale(${e})`,transformOrigin:"top left"}})}finally{t.remove()}}}},Ks=Gs,Zs=kr(Ks,hs,ms,!1,null,"69c8aba6",null),Qs=Zs.exports;Qs.install=e=>e.component(Qs.name,Qs);var ei=Qs,ti=function(){var e,t,n,r,o,s,i,a,c,u,l,p,d,f,h,m,_,v,g,y,b=this,w=b._self._c;return w("a",{staticClass:"ss__coCreaionItem__card__wrapper",attrs:{href:b.item.url,target:b.item.blank?"_blank":"_self"}},[w("div",{staticClass:"ss__coCreaionItem__card"},[w("div",{staticClass:"ss__coCreaionItem__image__wrapper"},[w("img",{attrs:{src:b.$formatImageSrc(null===(e=b.item)||void 0===e?void 0:e.image,{w:568,h:424})}})]),w("div",{staticClass:"ss__coCreaionItem__info__wrapper"},[w("div",{staticClass:"ss__coCreaionItem__title text_ellipsis"},[b._v(b._s(null===(t=b.item)||void 0===t?void 0:t.name))]),w("div",{staticClass:"ss__coCreaionItem__desc text_ellipsis"},[b._v(b._s(null===(n=b.item)||void 0===n?void 0:n.description))]),w("div",{staticClass:"ss__coCreaionItem__info__footer"},[null!==(r=b.item)&&void 0!==r&&r.initiator?w("SsAvatar",{staticClass:"comp__SsAvatar",attrs:{src:b.$formatImageSrc(null===(o=b.item)||void 0===o||null===(o=o.initiator)||void 0===o?void 0:o.avatar,{w:32,h:32})}}):b._e(),null!==(s=b.item)&&void 0!==s&&s.initiator?w("span",{staticClass:"initiator text_ellipsis"},[b._v(" "+b._s(null===(i=b.item)||void 0===i||null===(i=i.initiator)||void 0===i?void 0:i.nickname)+" ")]):b._e(),w("span",{staticClass:"action"},[b._v("åèµ·")]),null!==(a=b.item)&&void 0!==a&&a.participationCount?w("hr"):b._e(),null!==(c=b.item)&&void 0!==c&&c.participationCount?w("span",{staticClass:"participationCount"},[b._v(" "+b._s(null===(u=b.item)||void 0===u?void 0:u.participationCount)+" æ´¾ååä¸ ")]):b._e()],1)]),w("div",{class:["ss__coCreaionItem__footer",{"ss__coCreaionItem__footer--onCrowdfunding":null===(l=b.latest)||void 0===l?void 0:l.onCrowdfunding},{"ss__coCreaionItem__footer--onSale":null===(p=b.latest)||void 0===p?void 0:p.onSale},{"ss__coCreaionItem__footer--yipai":null===(d=b.latest)||void 0===d?void 0:d.isYipai}],style:{"--progress":`${b.progress}%`}},[null!==(f=b.latest)&&void 0!==f&&f.onCrowdfunding?[w("div",{staticClass:"onCrowdfunding"},[w("span",[b._v("ä¼ç¹å·²å®æ "+b._s(`${b.progress}%`))]),w("span",[b._v("ï½")]),w("span",[b._v(b._s(b.remainingTime))])]),w("CoCreationItemButton",{staticClass:"comp__CoCreationItemButton",attrs:{button:null===(h=b.latest)||void 0===h?void 0:h.button,"arrow-visible":!0}})]:null!==(m=b.latest)&&void 0!==m&&m.onSale?[w("div",{staticClass:"onSale"},[w("span",[b._v(b._s(null===(_=b.latest)||void 0===_?void 0:_.title))]),w("span",{staticClass:"price"},[w("strong",[b._v(b._s(b.price))]),b._v("èµ·")])]),w("CoCreationItemButton",{staticClass:"comp__CoCreationItemButton",attrs:{button:null===(v=b.latest)||void 0===v?void 0:v.button,"arrow-visible":!0}})]:[w("div",{staticClass:"ss__coCreaionItem__updates text_ellipsis"},[w("span",[b._v(b._s(null===(g=b.latest)||void 0===g?void 0:g.title))])]),null!==(y=b.latest)&&void 0!==y&&y.isYipai?w("CoCreationItemButton",{staticClass:"comp__CoCreationItemButton",attrs:{button:b.latest.button,"arrow-visible":!0}}):b._e()]],2)])])},ni=[];r(1107);const ri={key:"url",value:1},oi={key:"url",value:2,getUrl:e=>`/bullet/${e}`},si={key:"interaction",value:3},ii={key:"url",value:4,getUrl:e=>`/order/confirm/product?id=${e}`,beforeHandler:async function(e){let t=null;try{const n=await this.$http({url:"/product/booking/single/info/get",params:{id:e,support_webp:window.isSupportWebp}});if(!n||n.error||!n.data)throw new Error(JSON.stringify(n));t=n.data}catch(n){console.log(n)}return t}},ai={key:"url",value:5,getUrl:e=>`/order/confirm/product?id=${e}`},ci={value:1,label:"å·²ç¹éé¢"},ui={value:2,label:"å·²ç¹ä»½æ°"};var li=function(){var e=this,t=e._self._c;return t("div",{staticClass:"cocreation__item__button__wrapper"},[e.button.url?t("a",{attrs:{href:e.button.url,target:"_blank"}},[t("SsButton2",{staticClass:"cocreation__item__button"},[e.button.icon?t("img",{staticClass:"cocreation__item__button__icon",attrs:{src:e.button.icon}}
7):e._e(),t("span",[e._v(e._s(e.button.title))]),e.arrowVisible?t("i",{staticClass:"ssCommunityIcon__arrowRight"}):e._e()])],1):t("SsButton2",{staticClass:"cocreation__item__button",on:{click:e.onClick}},[t("span",[e._v(e._s(e.button.title))]),e.arrowVisible?t("i",{staticClass:"ssCommunityIcon__arrowRight"}):e._e()]),t("div",{staticClass:"cocreation__item__button__reaction"},[t("img",{class:[{bounce:e.bounce}],style:{"--randomRotate":`${e.bounceDeg}deg`},attrs:{src:e.likeImages[e.randomIndex]},on:{animationend:e.onAnimationEnd}})])],1)},pi=[],di={name:"CoCreationItemButton",components:{SsButton2:Tr},props:{button:Object,arrowVisible:{type:Boolean,default:!1}},data(){return{randomIndex:0,likeImages:["https://cdn-static.sspai.com/ui/emoji/1_zan.png","https://cdn-static.sspai.com/ui/emoji/6_haodongxi.png","https://cdn-static.sspai.com/ui/emoji/2_chongdian.png","https://cdn-static.sspai.com/ui/emoji/4_jiayi.png"],bounce:!1,bounceDeg:0}},methods:{onClick(){this.button.eventHandler&&this.button.eventHandler(this.onReaction)},onReaction(){const e=-90,t=90;this.randomIndex=this.$round(Math.random()*(this.likeImages.length-1),0,"number"),this.bounceDeg=this.$round(Math.random()*(e-t)+t,2,"number"),this.bounce=!0},onAnimationEnd(){this.bounce=!1}}},fi=di,hi=kr(fi,li,pi,!1,null,"62e13ddc",null),mi=hi.exports,_i=function(){var e=this,t=e._self._c;return t("span",{staticClass:"ss__avatar__wrapper"},[t("img",{ref:"img",staticClass:"ss__avatar",attrs:{src:e.src||e.placeholder},on:{error:e.onError}})])},vi=[],gi={name:"SsAvatar",props:{src:String,placeholder:{type:String,default:"https://cdn-static.sspai.com/ui/otter_avatar_placeholder_240511.png"}},methods:{onError(e){this.$refs.img.src=this.placeholder}}},yi=gi,bi=kr(yi,_i,vi,!1,null,"04d0833b",null),wi=bi.exports;wi.install=e=>e.component(wi.name,wi);var Ci=wi,Si={name:"SsCoCreationItemCard",components:{SsAvatar:Ci,CoCreationItemButton:mi},props:{item:{type:Object,required:!0}},data(){return{timer:null,remainingTime:"",price:"Â¥??",priceOriginal:"Â¥??"}},computed:{latest(){return this.formatProgress(this.item.updates)},isStart(){var e,t;if(null===(e=this.latest)||void 0===e||!e.onCrowdfunding)return!1;const{crowdfundingStartTime:n}=null===(t=this.latest)||void 0===t?void 0:t.button.panel;if(!n)return!1;const r=parseInt(new Date/1e3);return r>n},isEnd(){var e,t;if(null===(e=this.latest)||void 0===e||!e.onCrowdfunding)return!1;const{crowdfundingEndTime:n}=null===(t=this.latest)||void 0===t?void 0:t.button.panel;if(!n)return!1;const r=parseInt(new Date/1e3);return r>n},progress(){var e;if(null!==(e=this.latest)&&void 0!==e&&e.onCrowdfunding){const e=this.latest.button;return e.panel.crowdfundingAchievedValue/e.panel.crowdfundingGoalValue*100}return 0}},methods:{formatProgress(e,t="id"){return{id:e.id,title:e.title,description:e.description,content:e.content,date:e.date,banner:e.banner,contributors:{users:e.participation_users,total:e.participation_count},button:this.getTimelineNodeButton(e,t),onSale:ii.value===e.button_type,onCrowdfunding:ai.value===e.button_type,isYipai:oi.value===e.button_type}},getTimelineNodeButton(e,t){var n;const{button_title:r,button_url:o,button_type:s,button_icon:i,content:a,button_crowdfunding_goal_type:c,button_crowdfunding_goal_value:u,button_crowdfunding_start_time:l,button_crowdfunding_end_time:p,button_crowdfunding_price:d,button_crowdfunding_origin_price:f,button_crowdfunding_sale_value:h}=e;switch(s){case ri.value:return{title:r,url:o,icon:i};case oi.value:return{title:r,icon:i,url:oi.getUrl(e.button_bullet_created_at)};case si.value:return{title:r,icon:i,eventHandler:()=>{}};case ii.value:return{title:r,icon:i,url:ii.getUrl(e.button_product_booking_id),getProductData:ii.beforeHandler.bind(this,e.button_product_booking_id)};case ai.value:return{title:r,icon:i,url:ai.getUrl(e.button_product_booking_id),panel:{title:(null===(n=[ci,ui].find((e=>e.value===c)))||void 0===n?void 0:n.label)||"",crowdfundingGoalValue:u,crowdfundingStartTime:l,crowdfundingEndTime:p,crowdfundingPrice:d,crowdfundingPriceOriginal:f,crowdfundingAchievedValue:h}};default:return{title:a?r||"æ¥ç详æ
":"",icon:i,eventHandler:()=>{a&&(this.details=e,this.visible=!0)}}}},countDown(){var e,t;if(null===(e=this.latest)||void 0===e||!e.onCrowdfunding)return;if(!this.isStart)return void(this.remainingTime="æªå¼å§");this.timer&&clearTimeout(this.timer),this.timer=null;const{crowdfundingEndTime:n}=null===(t=this.latest)||void 0===t?void 0:t.button.panel;if(!n)return"";const r=parseInt(new Date/1e3),o=n-r;if(o>259200)this.remainingTime=`å©ä½ ${Math.ceil(o/86400)} 天`;else if(o<=0)this.remainingTime="å·²ç»æ";else{const e=Math.floor(o/3600),t=Math.floor(o%3600/60),n=o%3600%60;this.timer=setTimeout(this.countDown,1e3),this.remainingTime=`å©ä½ ${this.$formatInteger(e)}:${this.$formatInteger(t)}:${this.$formatInteger(n)}`}},async fetchData(){var e,t;if(null!==(e=this.latest)&&void 0!==e&&e.onSale&&null!==(t=this.latest)&&void 0!==t&&t.button)try{const e=await this.latest.button.getProductData(),{details:t}=e||{};if(t&&t.length){const e=t.reduce(((e,t)=>t.price<e.price?t:e),t[0]);this.price=`Â¥${this.$round(e.price/100,2,"number")}`,this.priceOriginal=`Â¥${this.$round(e.origin_price/100,2,"number")}`}}catch(n){console.log(n)}}},mounted(){this.countDown(),this.fetchData()}},xi=Si,ki=kr(xi,ti,ni,!1,null,"24b03fa0",null),Ei=ki.exports,Oi=function(){var e=this,t=e._self._c;return t("a",{staticClass:"ss__coCreationEntry__card__wrapper",attrs:{href:e.item.url,target:e.item.blank?"_blank":"_self"}},[t("div",{staticClass:"ss__coCreationEntry__card",style:{"--image-SsCoCreationEntryCard-bg":`url(${e.item.image})`}},[t("i",{staticClass:"ssCommunityIcon__puzzle"}),t("span",{staticClass:"ss__coCreationEntry__title"},[e._v("å°æ°æ´¾å
±åä¸å¿")]),t("span",{staticClass:"ss__coCreationEntry__desc"},[e._v("æµè§å
¨é¨é¡¹ç®ï¼å䏿åèµ·å
±å")]),t("SsButton2",{staticClass:"ss__coCreationEntry__btn"},[t("span",[e._v("è¿å
¥")])])],1)])},Ti=[],Pi={name:"SsCoCreationEntryCard",components:{SsButton2:Tr},props:{item:{type:Object,required:!0}}},Li=Pi,Mi=kr(Li,Oi,Ti,!1,null,"0a4bea63",null),Ii=Mi.exports,$i={name:"SsDesktopSubmenuItem",components:{SsDesktopMenuItem:$o,SsDesktopMenuPostItem:Xo,SsDesktopMenuSeriesItem:ts,SsDesktopMenuGoodItem:as,SsDesktopMenuPrimeExplore:fs,SsUserPrimeCard:ei,SsCoCreationItemCard:Ei,SsCoCreationEntryCard:Ii},props:{submenu:{type:Object}}},Ai=$i,ji=kr(Ai,Fo,Uo,!1,null,"285ec88e",null),Di=ji.exports;new(c());r(560);var Ri=r(7484),Ni=r.n(Ri),Bi=(r(3852),r(4712)),Hi=r.n(Bi),Vi=r(4110),Fi=r.n(Vi);function Ui(e,t,n){if(!e)return"";const r=Ni()(e);if(t)return r.format(t);const o=Ni()(),s=o.diff(r,"minute"),i=o.clone().startOf("date").diff(r.clone().startOf("date"),"day"),{yesterday:a,twoDaysAgo:c,sameYear:u,anotherYear:l,tomorrow:p}=n||{};return r.calendar(null,{sameDay:()=>s<0?r.format("HH:mm"):s<1?"åå":s<10?`${s} åéå`:r.format("HH:mm"),lastDay:a||"[æ¨å¤©] HH:mm",lastWeek:2===i?c||"å天 HH:mm":u||"MM/DD HH:mm",sameElse:r.year()===o.year()?u||"MM/DD HH:mm":l||"YYYY/MM/DD HH:mm",nextDay:p||"[æå¤©] HH:mm",nextWeek:u||"MM/DD HH:mm"})}function zi(e){const t=e.split(/[?#]/)[0],n=t.split(/[\\/]/).pop(),r=n.lastIndexOf(".");
7return""===n||r<1?"":n.slice(r+1).toLowerCase()}function qi(e,t){if(/^(https?:)?\/\//.test(t))return t;const n=e||"",r=n&&"/"===n[n.length-1]?n:`${n}/`;return"/"===t[0]?`${r}${t.slice(1)}`:`${r}${t}`}function Wi(e,t){const n=e.indexOf("#"),r=n>-1?e.slice(0,n):e,o=n>-1?e.slice(n):"",s=r.indexOf("?")>-1?"&":"?";return`${r}${s}imageMogr2${t}${o}`}function Yi(e,{thumbnail:t,crop:n,quality:r,format:o}){let s="/auto-orient";if(t){const{w:e,h:n}=t;s+=`/thumbnail/!${e||""}x${n||""}${e&&n?"r":""}`}if(n){const{w:e,h:t}=n;s+=`/gravity/center/crop/${e||""}x${t||""}`}return r&&(s+=`/quality/${r}`),o&&(s+=`/format/${o}`),s+="/ignore-error/1",Wi(e,s)}function Ji(e,t,n,r){if(!n)return"";const o=Object.assign({},r);(o.w||o.h)&&(o.thumbnail={w:o.w,h:o.h},o.crop={w:o.w,h:o.h}),n=qi(t,n);let s=zi(n);const i="webp"===s,a="gif"===s;if(a)return n;if(!s)return Yi(n,{quality:90});let c=!0;return!1===o.enableFormatConversion&&(c=!1),Yi(n,c?i&&e?o:i&&!e?Object.assign({},o,{format:"jpg"}):e?Object.assign({},o,{format:"webp"}):o:o)}function Xi(e,t="_blank"){const n=document.createElement("a");n.href=e,n.target=t,n.click()}function Gi(e,t){const n=document.createElement("div");return n.style.cssText=e,n.style.getPropertyValue(t)}function Ki(e,t){try{if(e.startsWith("/"))return!0;const n=t.findIndex((t=>{const n=new RegExp(t.replace("*.","([\\w-]+.)*").replace(".","\\."),"i");return n.test(e)}));return n>-1}catch(n){return console.log(n),!1}}Ni().extend(Fi()),Ni().extend(Hi());var Zi={name:"SsDesktopSubmenu",components:{SsDesktopSubmenuItem:Di},props:{menuItemHovered:String,menu:Array},watch:{menuItemHovered(){const e=this.menu.find((e=>e.name===this.menuItemHovered));e||(this.$refs.menuWrapper.style.height="0px"),this.$refs.menuWrapper.style.height="350px";const t=e&&e.style||"";if(t){const e=Gi(t,"--h-SsCustomHeaderDesktopSubmenu");e&&(this.$refs.menuWrapper.style.height=e)}}}},Qi=Zi,ea=kr(Qi,Ho,Vo,!1,null,"17889ae3",null),ta=ea.exports,na=function(){var e=this,t=e._self._c;return t("div",{staticClass:"ss__mobile__menu__wrapper"},[t("transition",{attrs:{name:"menu__fade"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:!e.submenuVisible,expression:"!submenuVisible"}],staticClass:"comp__SsInput__wrapper"},[t("SsInput",{class:["ss__mobile__menu__input","comp__SsInput",{"comp__SsInput--clear":!!e.keyword}],attrs:{placeholder:"æç´¢å°æ°æ´¾â¦"},on:{enter:e.onSearch,focus:function(t){return e.onSearchFocus(!0)},blur:function(t){return e.onSearchFocus(!1)}},scopedSlots:e._u([{key:"prepend",fn:function(){return[t("i",{staticClass:"ssCommunityIcon__search"})]},proxy:!0},{key:"append",fn:function(){return[t("SsButton2",{staticClass:"btn__search__clear",attrs:{type:"text"},on:{click:e.onClearSearch}},[t("i",{staticClass:"ssCommunityIcon__error"})])]},proxy:!0}]),model:{value:e.keyword,callback:function(t){e.keyword=t},expression:"keyword"}})],1)]),t("transition",{attrs:{name:e.menuFadeName}},[t("div",{directives:[{name:"show",rawName:"v-show",value:!e.submenuVisible&&!e.focusInSearch&&!e.keyword,expression:"!submenuVisible && !focusInSearch && !keyword"}],class:["ss__mobile__menu"]},e._l(e.menu,(function(n){return t("SsMobileMenuItem",{key:n.name,staticClass:"comp__SsMobileMenuItem",attrs:{item:n,noJump:!0},nativeOn:{click:function(t){return e.onClick(n)}}})})),1)]),t("transition",{attrs:{name:"submenu__fade"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.submenuVisible&&!e.focusInSearch&&!e.keyword,expression:"submenuVisible && !focusInSearch && !keyword"}],staticClass:"ss__mobile__menu comp__SsMobileSubmenu__wrapper"},[e.submenuActive?t("SsMobileSubmenu",{staticClass:"comp__SsMobileSubmenu",attrs:{submenu:e.submenuActive},on:{back:e.onBack}}):e._e()],1)])],1)},ra=[],oa=function(){var e=this,t=e._self._c;return t("div",{staticClass:"ss__mobile__submenu__wrapper",style:e.submenu.style||""},[t("SsButton2",{staticClass:"btn__back",attrs:{type:"text"},on:{click:function(t){return e.$emit("back")}}},[t("i",{staticClass:"ssCommunityIcon__arrowBack"})]),e._l(e.submenu.children,(function(n){return t("div",{key:n.name,staticClass:"ss__mobile__submenu__item",style:n.style},[t("div",{staticClass:"ss__mobile__submenu__name"},[e._v(" "+e._s(n.name)+" ")]),t("div",{class:["ss__mobile__submenu__list",`ss__mobile__submenu__list--${n.layout}`]},e._l(n.children,(function(e){return t(e.card,{key:e.name,tag:"component",staticClass:"comp__SsMobileMenuItem",style:e.style,attrs:{item:e}})})),1)])}))],2)},sa=[],ia=(r(5),{name:"SsMobileSubmenu",components:{SsButton2:Tr,SsDesktopMenuItem:$o,SsDesktopMenuPostItem:Xo,SsDesktopMenuSeriesItem:ts,SsDesktopMenuGoodItem:as,SsDesktopMenuPrimeExplore:fs,SsCoCreationItemCard:Ei,SsCoCreationEntryCard:Ii},props:{submenu:{type:Object,required:!0}},watch:{submenu:{immediate:!0,handler(){setTimeout(this.addWheelMonitor,100)}}},methods:{addWheelMonitor(){const e=50,t=this.$el.querySelectorAll(".ss__mobile__submenu__item .ss__mobile__submenu__list");t.forEach((t=>{t.scrollWidth>t.clientWidth&&t.addEventListener("wheel",(n=>{n.preventDefault();const r=event.deltaY||event.detail||event.wheelDelta;r>0?t.scrollLeft+=e:t.scrollLeft-=e}))}))}},mounted(){}}),aa=ia,ca=kr(aa,oa,sa,!1,null,"245b0058",null),ua=ca.exports,la=function(){var e=this,t=e._self._c;return t(e.item.url&&!e.noJump?"a":"SsButton2",{tag:"component",class:["ss__mobile__menu__item"],style:e.item.style,attrs:{href:e.item.url,target:e.item.blank?"_blank":"_self",type:"text"}},[e.item.icon?t("i",{class:["ss__mobile__menu__item__icon",e.item.icon]}
7):e._e(),e.item.img?t("img",{staticClass:"ss__mobile__menu__item__img",attrs:{src:e.$formatImageSrc(e.item.img,{w:280,h:280}),alt:e.item.name}}):e._e(),t("span",{staticClass:"ss__mobile__menu__item__name"},[e._v(e._s(e.item.name))]),e.item.summary?t("span",{staticClass:"ss__mobile__menu__item__summary"},[e._v(e._s(e.item.summary))]):e._e(),e.item.url&&e.item.external?t("i",{staticClass:"ssCommunityIcon__arrowTopRight"}):e._e(),e.item.children&&e.item.children.length?t("i",{staticClass:"ssCommunityIcon__arrowExpand"}):e._e()])},pa=[],da={name:"SsMobileMenuItem",components:{SsButton2:Tr},props:{item:{type:Object,required:!0},noJump:{type:Boolean,default:!1}}},fa=da,ha=kr(fa,la,pa,!1,null,"48523b45",null),ma=ha.exports,_a={name:"SsMobileMenu",components:{SsInput:jr,SsButton2:Tr,SsMobileSubmenu:ua,SsMobileMenuItem:ma},props:{menu:{type:Array,default:()=>[]},searchUrl:String},data(){return{submenuActive:null,submenuVisible:!1,keyword:"",focusInSearch:!1,menuFadeName:"menu__fade"}},methods:{onClick(e){this.menuFadeName="menu__fade",e.children&&e.children.length&&(this.submenuActive=e,this.$nextTick((()=>{this.submenuVisible=!0})))},onBack(){this.submenuVisible=!1},onClearSearch(){this.keyword=""},onSearch(e){this.$emit("close"),this.$bus.$emit("gtag","view_search_results",{search_term:this.value}),this.$openLink(this.searchUrl.replace("[keyword]",e))},onSearchFocus(e){this.focusInSearch=e,this.menuFadeName="menu__fade--focusInSearch"}}},va=_a,ga=kr(va,na,ra,!1,null,"3910f95e",null),ya=ga.exports,ba=function(){var e=this,t=e._self._c;return t("div",{staticClass:"ss__dialog2__wrapper",class:{"ss__dialog2__wrapper--visible":e.visible}},[t("transition",{attrs:{name:"mask"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"ss__dialog2__mask",on:{click:e.onModalClick}})]),e.$slots.dialog?[t("transition",{attrs:{name:"body"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"ss__dialog2--blank",on:{click:function(t){return t.target!==t.currentTarget?null:e.close.apply(null,arguments)}}},[e._t("dialog"),e.btnCloseVisible?t("button",{staticClass:"btn__close",on:{click:e.cancel}},[t("i",{staticClass:"ssCommunityIcon__cancel"})]):e._e()],2)])]:[t("transition",{attrs:{name:"body"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"ss__dialog2"},[t("div",{staticClass:"dialog__header"},[e.btnCloseVisible?t("button",{staticClass:"btn__close",on:{click:e.cancel}},[t("i",{staticClass:"ssCommunityIcon__cancel"})]):e._e(),t("span",{staticClass:"dialog__title text__bold"},[e._v(e._s(e.title))]),e.btnSubmitVisible?t("button",{staticClass:"btn__submit",on:{click:e.submit}},[t("span",{staticClass:"text__bold"},[e._v("ç¡®å®")])]):e._e()]),t("div",{staticClass:"dialog__body__wrapper"},[e._t("default")],2)])])]],2)},wa=[],Ca={name:"SsDialog2",props:{title:{type:String,default:""},visible:{type:Boolean,default:!1},btnSubmitVisible:{type:Boolean,default:!0},btnCloseVisible:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0}},data(){return{preventScroll:!1}},watch:{visible(){const e=document.documentElement;if(this.visible){const t=getComputedStyle(e).getPropertyValue("overflow"),n=getComputedStyle(e).getPropertyValue("overflow-y");"hidden"===t||"hidden"===n?this.preventScroll=!1:(this.preventScroll=!0,e.style.overflowY="hidden")}else this.preventScroll&&setTimeout((()=>{e.style.overflowY=""}),360)}},methods:{close(){this.$emit("update:visible",!1),this.$emit("close")},onModalClick(){this.closeOnClickModal&&this.cancel()},cancel(){this.$emit("cancel"),this.close()},submit(){this.$emit("submit")}}},Sa=Ca,xa=kr(Sa,ba,wa,!1,null,"1b263d52",null),ka=xa.exports;ka.install=e=>e.component(ka.name,ka);var Ea=ka,Oa=function(){var e=this,t=e._self._c;return t("svg",{staticStyle:{"enable-background":"new 0 0 117 36"},attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xml:space":"preserve",viewBox:e.viewBox}},[t("g",{staticClass:"text"},[t("path",{attrs:{d:"M66.8,18.5C66.8,18.5,66.8,18.5,66.8,18.5c-0.1-0.1-0.1-0.1-0.2-0.1c0,0-0.1,0-0.1,0c0,0-0.1,0-0.1,0\n c-5.6,4.9-11.2,7.4-18.3,8c0,0-0.1,0-0.1,0c0,0-0.1,0.1-0.1,0.1c0,0,0,0.1,0,0.1c0,0,0,0.1,0,0.1l1,1.4c0,0,0,0.1,0.1,0.1\n c0,0,0.1,0,0.1,0l0,0c7.3-0.9,12.7-3.3,18.5-8.3c0,0,0.1-0.1,0.1-0.2c0-0.1,0-0.1,0-0.2L66.8,18.5z"}}),t("path",{attrs:{d:"M57.7,21.3h1.6c0.1,0,0.2-0.1,0.2-0.2V7.7c0-0.1-0.1-0.2-0.2-0.2h-1.6c-0.1,0-0.2,0.1-0.2,0.2v13.3\n C57.4,21.2,57.5,21.3,57.7,21.3z"}}),t("path",{attrs:{d:"M48.3,19.6c0,0,0.1,0,0.1,0h1.8c0,0,0.1,0,0.1,0c0,0,0.1-0.1,0.1-0.1l3.9-8.5c0,0,0-0.1,0-0.1s0-0.1,0-0.1\n c0,0-0.1-0.1-0.1-0.1c0,0-0.1,0-0.1,0h-1.8c0,0-0.1,0-0.1,0c0,0-0.1,0.1-0.1,0.1l-3.8,8.5c0,0,0,0.1,0,0.1S48.2,19.5,48.3,19.6\n C48.2,19.5,48.3,19.5,48.3,19.6z"}}),t("path",{attrs:{d:"M65,10.8C64.9,10.7,64.9,10.7,65,10.8c-0.1-0.1-0.2-0.1-0.2-0.1h-1.9c0,0-0.1,0-0.1,0c0,0-0.1,0.1-0.1,0.1c0,0,0,0.1,0,0.1\n s0,0.1,0,0.1l3.3,5.8c0,0,0,0.1,0.1,0.1c0,0,0.1,0,0.1,0h0h1.9c0,0,0.1,0,0.1,0c0,0,0.1-0.1,0.1-0.1c0,0,0-0.1,0-0.1\n c0,0,0-0.1,0-0.1L65,10.8z"}}),t("path",{attrs:{d:"M115.2,9.3C115.2,9.3,115.3,9.2,115.2,9.3c0.1-0.1,0.1-0.1,0.2-0.1c0,0,0-0.1,0-0.1c0,0,0-0.1,0-0.1l-0.9-1.3\n c0,0-0.1-0.1-0.1-0.1c0,0-0.1,0-0.1,0l
7-0.7,0.2c-3,0.8-5.4,1.5-11.1,1.4c-0.1,0-0.1,0-0.2,0.1c0,0.1-0.1,0.1-0.1,0.2v9.2\n c0,1.4-0.2,2.8-0.5,4.1c-0.2,0.9-0.5,1.8-0.8,2.7l-0.8,2.1c0,0,0,0.1,0,0.1c0,0,0,0.1,0,0.1c0,0.1,0.1,0.1,0.1,0.1l1.4,0.5\n c0,0,0.1,0,0.1,0c0,0,0.1,0,0.1,0c0.1,0,0.1-0.1,0.1-0.1l0.8-2.1c0.3-0.9,0.6-1.8,0.8-2.7l0.1-0.3c0.3-1.4,0.5-2.9,0.5-4.4v-7.4\n c0-0.1,0-0.1,0.1-0.2c0,0,0.1-0.1,0.2-0.1c5.2-0.1,7.5-0.7,10.6-1.7L115.2,9.3z"}}),t("path",{attrs:{d:"M98.3,17.9C98.3,17.9,98.3,18,98.3,17.9c0.1,0.1,0.2,0.1,0.2,0.1c0,0,0.1,0,0.1,0l1.4-0.9c0.1,0,0.1-0.1,0.1-0.1\n c0,0,0-0.1,0-0.1c0,0,0-0.1,0-0.1l-1.5-2.4c0,0,0-0.1,0-0.1c0,0,0-0.1,0-0.1c0,0,0-0.1,0-0.1c0,0,0-0.1,0.1-0.1l1.9-1.2\n c0,0,0,0,0.1-0.1c0,0,0-0.1,0-0.1c0,0,0-0.1,0-0.1c0,0,0-0.1,0-0.1l-0.6-1c0,0,0,0,0-0.1l-2.5-3.8c0-0.1-0.1-0.1-0.1-0.1\n c-0.1,0-0.1,0-0.2,0l-1.4,0.9c0,0,0,0-0.1,0.1c0,0,0,0.1,0,0.1c0,0,0,0.1,0,0.1c0,0,0,0.1,0,0.1l2,3.1c0,0,0,0.1,0,0.1\n c0,0,0,0.1,0,0.1c0,0,0,0.1,0,0.1c0,0,0,0.1-0.1,0.1l-1.9,1.2c0,0,0,0-0.1,0.1c0,0,0,0.1,0,0.1s0,0.1,0,0.1c0,0,0,0.1,0,0.1\n L98.3,17.9z"}}),t("path",{attrs:{d:"M101,19.3C101,19.3,101,19.3,101,19.3c0-0.1,0-0.1-0.1-0.2c0,0,0,0-0.1,0l-1.5-0.6c0,0-0.1,0-0.1,0c0,0-0.1,0-0.1,0\n c0,0-0.1,0-0.1,0.1c0,0,0,0,0,0.1l-3.5,8.9c0,0,0,0.1,0,0.1c0,0,0,0.1,0,0.1c0,0,0,0.1,0.1,0.1c0,0,0,0,0.1,0l1.5,0.6\n c0,0,0.1,0,0.1,0c0,0,0.1,0,0.1,0c0,0,0.1,0,0.1-0.1c0,0,0,0,0-0.1L101,19.3C101,19.4,101,19.4,101,19.3z"}}),t("path",{attrs:{d:"M116.5,27.5l-2.1-2.9c-0.3-0.4-0.5-0.8-0.8-1.3l-0.7-1.4c-0.3-0.6-0.5-1.1-0.7-1.7c0,0,0-0.1,0-0.1c0,0,0.1-0.1,0.1-0.1\n l3.4-1.4c0.1,0,0.1-0.1,0.1-0.1c0-0.1,0-0.1,0-0.2l-0.6-1.4c0,0,0-0.1-0.1-0.1c0,0,0,0-0.1,0c0,0-0.1,0-0.1,0c0,0-0.1,0-0.1,0\n l-3.1,1.3c0,0-0.1,0-0.1,0c0,0-0.1,0-0.1,0c0,0,0,0-0.1-0.1c0,0,0,0,0-0.1l-1-3.7c0,0,0,0,0-0.1c0,0,0,0,0-0.1c0,0,0,0,0.1-0.1\n c0,0,0,0,0.1,0c1.1-0.2,2.1-0.4,3.1-0.6l1-0.2c0,0,0.1,0,0.1,0c0,0,0.1-0.1,0.1-0.1c0,0,0-0.1,0-0.1c0,0,0-0.1,0-0.1l-0.8-1.4\n c0,0-0.1-0.1-0.1-0.1c0,0-0.1,0-0.1,0l-1,0.2c-2.5,0.6-5,0.9-7.6,0.9c0,0-0.1,0-0.1,0c0,0-0.1,0-0.1,0c0,0-0.1,0.1-0.1,0.2v0.6\n c0,0,0,0,0,0.1v14.8c0,0.1,0,0.1,0.1,0.2c0,0,0.1,0.1,0.2,0.1h4.7c0.1,0,0.1,0,0.2-0.1c0,0,0.1-0.1,0.1-0.2v-1.5\n c0-0.1,0-0.1-0.1-0.2c0,0-0.1-0.1-0.2-0.1h-2.8c-0.1,0-0.1,0-0.1-0.1c0,0-0.1-0.1-0.1-0.1V14.4c0,0,0-0.1,0-0.1\n c0,0,0.1-0.1,0.1-0.1c0.4,0,0.7,0,1.1-0.1c0,0,0.1,0,0.1,0c0,0,0.1,0.1,0.1,0.1l1.6,6.2c0.2,0.8,0.5,1.5,0.8,2.2l0.9,1.7\n c0.2,0.5,0.5,1,0.9,1.4l1.8,2.5c0,0,0,0.1,0.1,0.1c0,0,0.1,0,0.1,0c0,0,0,0,0.1,0l1.5-0.5c0,0,0.1,0,0.1-0.1c0,0,0-0.1,0.1-0.1\n C116.6,27.7,116.6,27.7,116.5,27.5C116.6,27.6,116.5,27.6,116.5,27.5z"}}),t("path",{attrs:{d:"M71.9,13.6h4.3c0.1,0,0.1,0,0.1,0.1c0,0,0.1,0.1,0.1,0.1v4.3c0,0.1,0,0.1,0.1,0.2s0.1,0.1,0.2,0.1h1.6c0.1,0,0.1,0,0.2-0.1\n s0.1-0.1,0.1-0.2v-4.3c0,0,0-0.1,0-0.1c0,0,0,0,0-0.1c0,0,0,0,0.1,0c0,0,0,0,0.1,0h4.4c0.1,0,0.1,0,0.2-0.1c0,0,0.1-0.1,0.1-0.2\n v-1.5c0-0.1,0-0.1-0.1-0.2s-0.1-0.1-0.2-0.1h-2.3c0,0,0,0,0,0L83.1,9c0,0,0.1-0.1,0.1-0.2s0-0.1-0.1-0.2l-1.3-1.1\n c0,0-0.1-0.1-0.2-0.1c-0.1,0-0.1,0-0.2,0.1l-2.3,2.7c0,0-0.1,0.1-0.1,0.2c0,0.1,0,0.1,0.1,0.2l1.2,1.1h-1.8c-0.1,0-0.1,0-0.1-0.1\n c0,0-0.1-0.1-0.1-0.1V7.7c0-0.1,0-0.1-0.1-0.2c0,0-0.1-0.1-0.2-0.1h-1.6c-0.1,0-0.1,0-0.2,0.1c0,0-0.1,0.1-0.1,0.2v3.8\n c0,0.1,0,0.1-0.1,0.1c0,0-0.1,0.1-0.1,0.1h-2l1.4-0.7c0.1,0,0.1-0.1,0.1-0.1c0,0,0-0.1,0-0.1c0,0,0-0.1,0-0.1l-1.6-3.1\n c0-0.1-0.1-0.1-0.1-0.1c-0.1,0-0.1,0-0.2,0l-1.5,0.7c-0.1,0-0.1,0.1-0.1,0.1c0,0.1,0,0.1,0,0.2l1.6,3.1c0,0,0,0.1,0.1,0.1h-2.1\n c-0.1,0-0.1,0-0.2,0.1c0,0-0.1,0.1-0.1,0.2v1.5c0,0.1,0,0.1,0.1,0.2C71.8,13.6,71.8,13.6,71.9,13.6z"}}),t("path",{attrs:{d:"M74.6,13.7C74.6,13.7,74.5,13.7,74.6,13.7c-0.1-0.1-0.1-0.1-0.2-0.1c0,0-0.1,0-0.1,0c0,0-0.1,0-0.1,0.1l-2.4,2.8\n c0,0-0.1,0.1-0.1,0.2c0,0,0,0.1,0,0.1c0,0,0,0.1,0.1,0.1l1.3,1.1c0,0,0.1,0.1,0.1,0.1c0,0,0.1,0,0.1,0c0,0,0.1,0,0.1-0.1l2.4-2.8\n c0,0,0-0.1,0-0.1c0,0,0-0.1,0-0.1c0,0,0-0.1,0-0.1c0,0,0-0.1-0.1-0.1L74.6,13.7z"}}),t("path",{attrs:{d:"M80.8,13.7C80.8,13.7,80.8,13.7,80.8,13.7c-0.1,0-0.1,0-0.2,0c0,0-0.1,0-0.1,0l
7-1.3,1c0,0,0,0-0.1,0.1c0,0,0,0.1,0,0.1\n c0,0,0,0.1,0,0.1c0,0,0,0.1,0,0.1l2,2.8c0,0,0.1,0.1,0.1,0.1c0,0,0.1,0,0.1,0c0,0,0.1,0,0.1,0l1.3-1c0,0,0.1-0.1,0.1-0.2\n c0-0.1,0-0.1,0-0.2L80.8,13.7C80.9,13.7,80.9,13.7,80.8,13.7z"}}),t("path",{attrs:{d:"M83.4,26.8l-3.5-1.6c0.8-0.6,1.6-1.2,2.3-2l1.1-1.1c0.1-0.1,0.1-0.1,0.2-0.2c0-0.1,0.1-0.2,0.1-0.3v-1.7\n c0-0.1-0.1-0.3-0.1-0.3c-0.1-0.1-0.2-0.1-0.3-0.1h-5.6l0.2-0.3c0,0,0-0.1,0-0.1c0,0,0-0.1,0-0.1c0,0,0-0.1-0.1-0.1c0,0-0.1,0-0.1,0\n h-2.1c0,0-0.1,0-0.1,0c0,0-0.1,0.1-0.1,0.1l-0.3,0.6h-2.7c-0.1,0-0.3,0.1-0.3,0.1c-0.1,0.1-0.1,0.2-0.1,0.3v1\n c0,0.1,0.1,0.3,0.1,0.3c0.1,0.1,0.2,0.1,0.3,0.1h1.2c0,0,0.1,0,0.1,0c0,0,0.1,0.1,0.1,0.1c0,0,0,0.1,0,0.1c0,0,0,0.1,0,0.1l-1.1,2\n c0,0,0,0.1,0,0.1c0,0,0,0.1,0,0.1c0,0,0,0.1,0,0.1c0,0,0,0,0.1,0.1l1.9,0.9l0.9,0.4L75,25.5c-0.4,0.2-0.7,0.3-1.1,0.4l-2,0.6\n c-0.1,0-0.1,0-0.2,0.1c0,0-0.1,0.1-0.1,0.1c0,0.1,0,0.1-0.1,0.2c0,0.1,0,0.1,0,0.2l0.4,1.2c0,0.1,0.1,0.1,0.1,0.1\n c0.1,0,0.1,0,0.2,0l1.8-0.6c0.7-0.2,1.4-0.5,2-0.8l1.5-0.6c0,0,0.1,0,0.1,0c0,0,0.1,0,0.1,0l3.8,1.8c0.1,0,0.2,0.1,0.3,0\n c0.1,0,0.2-0.1,0.3-0.1l1.3-1.1c0,0,0.1-0.1,0.1-0.1c0,0,0-0.1,0-0.1C83.6,26.9,83.5,26.9,83.4,26.8C83.5,26.8,83.5,26.8,83.4,26.8\n z M77.9,24.2c0,0-0.1,0-0.1,0c0,0-0.1,0-0.1,0l-2-0.9c-0.1,0-0.1-0.1-0.1-0.1c0,0-0.1-0.1-0.1-0.1c0-0.1,0-0.1,0-0.2\n c0-0.1,0-0.1,0.1-0.2l0.7-1.1c0-0.1,0.1-0.1,0.2-0.2c0.1,0,0.2-0.1,0.3-0.1h4.7L80.6,22c-0.5,0.5-1.1,1-1.8,1.5L77.9,24.2z"}}),t("path",{attrs:{d:"M90.3,24.5l-0.7-0.8c0,0-0.1-0.1-0.1-0.2c0-0.1,0-0.1,0.1-0.2l0.3-0.4c0.8-1.1,1.4-2.3,1.7-3.6l0.2-0.8\n c0.2-0.8,0.3-1.5,0.3-2.3v-5.3V9.4c0-0.1,0-0.1-0.1-0.2c0,0-0.1-0.1-0.2-0.1h-5.4V7.7c0-0.1,0-0.1-0.1-0.2c0,0-0.1-0.1-0.2-0.1\n h-1.6c-0.1,0-0.1,0-0.2,0.1c0,0-0.1,0.1-0.1,0.2v3.1c0,0.1,0,0.1,0.1,0.2s0.1,0.1,0.2,0.1h5.3c0,0,0.1,0,0.1,0c0,0,0,0.1,0,0.1V16\n c0,0.7-0.1,1.5-0.3,2.2l0,0.1c-0.3,1.1-0.7,2.2-1.4,3.2c0,0,0,0-0.1,0.1c0,0,0,0-0.1,0c0,0-0.1,0-0.1,0c0,0,0,0-0.1-0.1\n c-0.6-1-1.1-2-1.3-3.2l-0.1-0.3c-0.1-0.7-0.2-1.4-0.2-2.1V12c0-0.1,0-0.1-0.1-0.2c0,0-0.1-0.1-0.2-0.1h-1.6c0,0-0.1,0-0.1,0\n c0,0-0.1,0-0.1,0.1c0,0-0.1,0.1-0.1,0.2v4.3c0,0.7,0.1,1.4,0.2,2.2l0.2,0.8c0.3,1.4,0.9,2.6,1.7,3.8l0.3,0.4c0,0,0.1,0.1,0.1,0.2\n c0,0.1,0,0.1-0.1,0.2l-0.8,1l-2.1,2.3c0,0,0,0,0,0.1c0,0,0,0.1,0,0.1c0,0,0,0.1,0,0.1c0,0,0,0.1,0.1,0.1l1.2,1.1\n c0,0,0.1,0.1,0.2,0.1c0.1,0,0.1,0,0.2-0.1l2.7-2.9c0,0,0.1-0.1,0.1-0.1s0.1,0,0.1,0c0,0,0.1,0,0.1,0c0,0,0.1,0,0.1,0.1l2.6,2.9\n c0,0,0.1,0.1,0.2,0.1c0,0,0.1,0,0.1,0c0,0,0.1,0,0.1,0l1.2-1.1c0,0,0.1-0.1,0.1-0.2c0-0.1,0-0.1-0.1-0.2L90.3,24.5z"}})]),t("path",{staticClass:"logo",attrs:{d:"M18,0C8.1,0,0,8.1,0,18s8.1,18,18,18s18-8.1,18-18S27.9,0,18,0z M26.9,11.6c0,0.2-0.1,0.3-0.2,0.5\n c-0.1,0.1-0.3,0.2-0.4,0.2l-3.3,0.6v8.3c0,0.5,0.1,1,0.3,1.4l2.1,4c0.1,0.1,0.1,0.2,0.1,0.3c0,0.1,0,0.2-0.1,0.3\n c-0.1,0.1-0.1,0.2-0.3,0.2c-0.1,0.1-0.2,0.1-0.3,0.1H23c-0.1,0-0.3,0-0.4-0.1c-0.1-0.1-0.2-0.2-0.3-0.3l-2.1-3.9\n c-0.2-0.5-0.4-1-0.4-1.5v-8.4l-4.6,0.8v11.4c0,0.2,0,0.4-0.1,0.5c-0.1,0.2-0.2,0.3-0.4,0.4l-1.3,0.8c-0.1,0.1-0.3,0.1-0.4,0.1\n s-0.3,0-0.4-0.1c-0.1-0.1-0.2-0.2-0.3-0.3c-0.1-0.1-0.1-0.3-0.1-0.4v-12l-3.4,0.6c-0.1,0-0.2,0-0.4,0c-0.1,0-0.2-0.1-0.3-0.2\n C8.1,14.9,8,14.8,8,14.6c0-0.1-0.1-0.2,0-0.4l0.2-1.4c0-0.2,0.1-0.3,0.2-0.5c0.1-0.1,0.3-0.2,0.5-0.2l17.4-2.9c0.1,0,0.3,0,0.4,0\n c0.1,0,0.2,0.1,0.3,0.2C26.9,9.5,27,9.6,27,9.7c0,0.1,0.1,0.2,0,0.4L26.9,11.6z"}}),t("path",{staticClass:"pai",attrs:{d:"M26.1466 9.2187L8.77828 12.1304C8.60648 12.1584 8.44843 12.2415 8.32786 12.3671C8.2073 12.4926 8.13074 12.6539 8.10967 12.8267L7.93096 14.2748C7.91556 14.3986 7.92914 14.5242 7.97064 14.6418C8.01214 14.7594 8.08041 14.8657 8.17006 14.9524C8.25971 15.039 8.36829 15.1037 8.48722 15.1412C8.60615 15.1786 8.73216 15.188 8.8553 15.1684L12.2446 14.6014V26.6179C12.2447 26.7638 12.2844 26.907 12.3594 27.0322C12.4344 27.1574 12.542 27.2599 12.6707 27.3288C12.7993 27.3977 12.9443 27.4305 13.09 27.4236C13.2358 27.4166 13.377 27.3703 13.4986 27.2896L14.7896 26.4546C14.9421 26.3532 15.0674 26.2158 15.1544 26.0547C15.2415 25.8935 15.2876 25.7134 15.2887 25.5302V14.0931L19.9289 13.3
7166V21.7651C19.9285 22.282 20.0555 22.791 20.2986 23.2471L22.3599 27.1139C22.4182 27.2262 22.5069 27.3198 22.6159 27.3841C22.7248 27.4484 22.8497 27.4808 22.9762 27.4775H24.7355C24.8533 27.4781 24.9693 27.4485 25.0723 27.3913C25.1753 27.3342 25.2619 27.2516 25.3238 27.1513C25.3857 27.0511 25.4207 26.9366 25.4256 26.8189C25.4305 26.7012 25.4051 26.5842 25.3517 26.4792L23.2812 22.5076C23.0527 22.0602 22.9334 21.565 22.933 21.0626V12.8113L26.236 12.2567C26.4072 12.228 26.5646 12.1447 26.6845 12.0192C26.8045 11.8937 26.8806 11.7327 26.9015 11.5604L27.0802 10.1122C27.096 9.98758 27.0823 9.86098 27.0403 9.74257C26.9984 9.62416 26.9292 9.51723 26.8384 9.43036C26.7477 9.3435 26.6378 9.2791 26.5177 9.24234C26.3976 9.20558 26.2705 9.19749 26.1466 9.2187Z"}})])},Ta=[],Pa={name:"SsCustomHeaderLogo",props:{viewBox:{type:String,default:"0 0 117 36"}}},La=Pa,Ma=kr(La,Oa,Ta,!1,null,"3e4c5609",null),Ia=Ma.exports;Ia.install=e=>e.component(Ia.name,Ia);var $a=Ia,Aa=function(){var e=this,t=e._self._c;return t("div",{staticClass:"ss__custom__header__user"},[e.isLogin&&e.userInfo&&e.userInfo.id?t("div",{attrs:{tabindex:"-1"},on:{mouseenter:e.open,mouseleave:e.close}},[t("SsButton2",{ref:"showMenuBtn",staticClass:"ss__custom__header__user__avatar",attrs:{type:"text"}},[t("SsPortrait",{staticClass:"comp__SsPortrait",attrs:{data:e.userInfo,size:0,proportion:0}})],1),t("transition",{attrs:{name:"ss__custom__header__fade"}},[t("SsCustomHeaderUserMenu",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],ref:"menu",staticClass:"ss__custom__header__user__menu",style:{left:`${e.offsetLeft}px`,top:`${e.offsetTop}px`},attrs:{user:e.userInfo,reminders:e.reminders},on:{logout:function(t){return e.$emit("logout")}}})],1),e.visible?t("SafeArea",{attrs:{svgWidth:298,left:e.offsetLeft,mouseX:e.mouseX,mouseY:e.mouseY}}):e._e()],1):t("SsButton2",{staticClass:"ss__custom__header__btn__login",attrs:{type:"text"},on:{click:e.onBtnLoginClick}},[t("i",{staticClass:"ssCommunityIcon__account"})])],1)},ja=[],Da=function(){var e=this,t=e._self._c;return t("div",{staticClass:"ss__user__menu__wrapper"},[e.user?t("div",{staticClass:"ss__user__menu"},[t("div",{staticClass:"ss__user__menu__main"},[t("a",{staticClass:"ss__user__menu__profile",attrs:{href:`/u/${e.user.slug}`}},[t("SsPortrait",{staticClass:"comp__SsPortrait",attrs:{data:e.user,size:32,proportion:1}}),t("span",{staticClass:"ss__user__menu__profile__nickname"},[e._v(e._s(e.user.nickname))]),t("i",{staticClass:"ssCommunityIcon__arrowMore"})],1)]),t("div",{staticClass:"ss__user__menu__default__wrapper"},e._l(e.defaultMenu,(function(n){return t("a",{key:n.name,staticClass:"ss__user__menu__item",attrs:{href:n.link}},[t("i",{class:["ss__user__menu__item__icon",n.iconClass]}),t("span",[e._v(e._s(n.name))]),e.reminders&&e.reminders[n.type]?t("i",{staticClass:"ss__user__menu__item_reminders"}):e._e()])})),0),t("div",{staticClass:"ss__user__nemu__works__wrapper"},e._l(e.worksMenu,(function(n){return t("a",{key:n.name,staticClass:"ss__user__menu__item",attrs:{href:n.link}},[t("i",{class:["ss__user__menu__item__icon",n.iconClass]}),t("span",[e._v(e._s(n.name))]),e.reminders&&e.reminders[n.type]?t("i",{staticClass:"ss__user__menu__item_reminders"}):e._e()])})),0),t("div",{staticClass:"ss__user__menu__setting__wrapper"},[t("div",{class:["ss__user__menu__setting",{"ss__user__menu__setting--hidden":e.appearanceSettingShow}]},[t("div",{staticClass:"ss__user__menu__setting__appearance",attrs:{tabindex:"-1"},on:{focusin:function(t){e.appearanceSettingShow=!0},focusout:function(t){e.appearanceSettingShow=!1}}},[t("SsButton2",{staticClass:"ss__user__menu__setting__button",attrs:{type:"text"}},[t("i",{staticClass:"ssCommunityIcon__appearance"}),t("span",[e._v("å¤è§")])]),t("Transition",{attrs:{name:"appearanceSettingShow"}},[t("SsAppearanceSetting",{directives:[{name:"show",rawName:"v-show",value:e.appearanceSettingShow,expression:"appearanceSettingShow"}],staticClass:"comp__SsAppearanceSetting",attrs:{options:e.appearanceOptions,value:e.appearanceValue},on:{change:e.onAppearanceChange}})],1)],1),e._m(0),t("SsButton2",{staticClass:"ss__user__menu__setting__button",attrs:{type:"text"},on:{click:function(t){return e.$emit("logout")}}},[t("i",{staticClass:"ssCommunityIcon__signOut"}),t("span",[e._v("ç»åº")])])],1)]),t("div",{directives:[{name:"show",rawName:"v-show",value:e.appearanceSettingShow,expression:"appearanceSettingShow"}],staticClass:"ss__user__menu__mask",on:{click:function(t){e.appearanceSettingShow=!1}}}
7)]):e._e()])},Ra=[function(){var e=this,t=e._self._c;return t("a",{staticClass:"ss__user__menu__setting__button",attrs:{type:"text",href:"/setting/profile"}},[t("i",{staticClass:"ssCommunityIcon__setting"}),t("span",[e._v("è´¦å·è®¾ç½®")])])}],Na=function(){var e=this,t=e._self._c;return t("div",{staticClass:"ss__appearance__setting__wrapper"},[t("div",{staticClass:"ss__appearance__setting",style:{"--SsAppearanceSettingCheckedIndex":e.checkedIndex}},e._l(e.options,(function(n){return t("label",{key:n.label,class:["ss__appearance__radio__item",{"ss__appearance__radio__item--checked":e.value===n.value}]},[t("i",{class:n.icon}),t("span",[e._v(e._s(n.label))]),t("input",{attrs:{type:"radio",name:"ssAppearanceSetting"},domProps:{value:n.value,checked:e.value===n.value},on:{change:function(t){return e.$emit("change",n.value)}}})])})),0)])},Ba=[],Ha={name:"SsAppearanceSetting",props:{options:{type:Array},value:{type:Number}},computed:{checkedIndex(){return this.options.findIndex((e=>this.value===e.value))}}},Va=Ha,Fa=kr(Va,Na,Ba,!1,null,"736fc59e",null),Ua=Fa.exports,za={name:"SsCustomHeaderUserMenu",components:{SsAppearanceSetting:Ua,SsButton2:Tr,SsPortrait:Fs},props:{user:{type:Object},reminders:{type:Object,default:()=>({series:!0,series_comment:!0})}},data(){return{appearanceOptions:[{label:"è·éç³»ç»",value:0,icon:"ssCommunityIcon__appearance"},{label:"亮è²",value:1,icon:"ssCommunityIcon__light"},{label:"æè²",value:2,icon:"ssCommunityIcon__dark"}],appearanceSettingShow:!1,appearanceValue:0}},computed:{isSeriesAuthor(){return this.user&&this.user.is_series_author},defaultMenu(){return[{name:"æçæ¶è",iconClass:"ssCommunityIcon__favorited--line",link:`/u/${this.user.slug}/favorites`,type:"favorite"},{name:"å·²è´æ ç®",iconClass:"ssCommunityIcon__journal",link:"/series/my",type:"series"},{name:"订åä¸ä¼æ å¸",iconClass:"ssCommunityIcon__order",link:"/my/order",type:"order"}]},worksMenu(){const e=[{name:"æçæ¶ç",iconClass:"ssCommunityIcon__wallet",link:"/my/wallet",type:"wallet"},{name:"æçæç« ",iconClass:"ssCommunityIcon__post",link:"/my/post/draft",type:"post"}];return this.isSeriesAuthor&&e.push({name:"æ ç®è¯è®ºç®¡ç",iconClass:"ssCommunityIcon__chatBubble",link:"/my/series/comment",type:"series_comment"}),e}},methods:{onAppearanceChange(e){this.appearanceValue=e,window.localStorage.setItem("darkMode",e),this.$bus?this.$bus.$emit("darkModeChange"):dispatchEvent(new CustomEvent("ssCustomHeaderDarkModeChange"))}},mounted(){this.appearanceValue=window.localStorage.getItem("darkMode")?parseInt(window.localStorage.getItem("darkMode")):0}},qa=za,Wa=kr(qa,Da,Ra,!1,null,"16b63a77",null),Ya=Wa.exports,Ja={name:"SsCustomHeaderUser",components:{SafeArea:Oo,SsCustomHeaderUserMenu:Ya,SsButton2:Tr,SsPortrait:Fs},props:{visible:Boolean,isLogin:{type:Boolean,default:!1},userInfo:{type:Object,default:null},reminders:{type:Object}},data(){return{theme:0,offsetLeft:0,offsetTop:0,mouseX:0,mouseY:0}},methods:{open(){this.$emit("update:visible",!0),this.$nextTick((()=>{const e=this.$refs.showMenuBtn.$el,t=this.$refs.menu.$el,{left:n,top:r,width:o,height:s}=e.getBoundingClientRect(),{width:i}=t.getBoundingClientRect();this.offsetLeft=n-i+o,this.offsetTop=r+s})),dispatchEvent(new CustomEvent("ssCustomHeaderToggleTarget",{detail:"user"}))},close(){this.$emit("update:visible",!1)},onBtnLoginClick(){this.$emit("login"),dispatchEvent(new CustomEvent("ssCustomHeaderToggleTarget",{detail:"login"}))},updateMousePosition:jo()((function(e){this.mouseX=e.clientX,this.mouseY=e.clientY-4}),30)},mounted(){this.theme=window.localStorage.getItem("darkMode")?parseInt(window.localStorage.getItem("darkMode")):0,window.addEventListener("mousemove",this.updateMousePosition)},destoryed(){window.removeEventListener("mousemove",this.updateMousePosition)}},Xa=Ja,Ga=kr(Xa,Aa,ja,!1,null,"6f875124",null),Ka=Ga.exports;
7Ka.install=e=>e.component(Ka.name,Ka);var Za=Ka,Qa=function(){var e=this,t=e._self._c;return t("div",{staticClass:"ss__custom__header__notice",attrs:{tabindex:"-1"},on:{mouseenter:e.open,mouseleave:e.close}},[t("SsButton2",{staticClass:"ss__custom__header__btn__notice",attrs:{type:"text"}},[t("i",{staticClass:"ssCommunityIcon__subscribe"}),e.amount?t("i",{staticClass:"ss__custom__header__notice__count"},[e._v(e._s(e.amount))]):e._e()]),t("transition",{attrs:{name:"ss__custom__header__fade"}},[t("SsNotificationsPopover",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"comp__SsNotificationsPopover",style:{left:`${e.offsetLeft}px`,top:`${e.offsetTop}px`},attrs:{notifications:e.notifications}})],1),e.visible?t("SafeArea",{attrs:{svgWidth:298,left:e.offsetLeft,mouseX:e.mouseX,mouseY:e.mouseY}}):e._e()],1)},ec=[],tc=function(){var e=this,t=e._self._c;return t("div",{staticClass:"ss__notifications__popover__wrapper"},[t("div",{staticClass:"ss__notifications__popover"},[e.isBlank?t("div",{staticClass:"ss__notifications__popover__blank"},[e._v("ææ æ°éç¥")]):t("div",{staticClass:"ss__notifications__popover__header"},[e._v("æ°éç¥")]),e._l(e.reminders,(function(n){return[n.count?t("a",{key:n.name,staticClass:"ss__notifications__popover__item",attrs:{href:n.link}},[t("i",{class:["ss__notifications__popover__item__icon",n.icon]}),t("span",{staticClass:"ss__notifications__popover__item__name"},[e._v(e._s(n.name))]),t("span",{class:["ss__notifications__popover__item__count",n.count>9?"twoDigit":"oneDigit"]},[e._v(" "+e._s(e.formatCount(n.count))+" ")])]):e._e()]})),e._m(0)],2)])},nc=[function(){var e=this,t=e._self._c;return t("a",{staticClass:"ss__notifications__popover__link__all",attrs:{href:"/notifications"}},[t("span",[e._v("æ¥çå
¨é¨")]),t("i",{staticClass:"ssCommunityIcon__arrowMore"})])}],rc={name:"SsNotificationsPopover",props:{notifications:{type:Object,default:()=>({reaction:0,comment:0,system:0,community:0,message:0})}},computed:{isBlank(){let e=0;for(const[,t]of Object.entries(this.notifications))e+=t||0;return!e},reminders(){const{reaction:e,comment:t,system:n,community:r,message:o}=this.notifications;return[{name:"ååº",icon:"ssCommunityIcon__lightning",count:e,link:"/notifications/activity/like"},{name:"è¯è®º",icon:"ssCommunityIcon__chatBubble",count:t,link:"/notifications/activity/comment"},{name:"ç³»ç»éç¥",icon:"ssCommunityIcon__broadcast",count:n,link:"/notifications/system"},{name:"社åºäºå¨",icon:"ssCommunityIcon__community",count:r,link:"/notifications/activity/community"},{name:"ç§ä¿¡",icon:"ssCommunityIcon__mail",count:o,link:"/notifications/message"}]}},methods:{formatCount(e){return e>99?"99+":e}}},oc=rc,sc=kr(oc,tc,nc,!1,null,"7e0338c6",null),ic=sc.exports;ic.install=e=>e.component(ic.name,ic);var ac=ic,cc={name:"SsCustomHeaderNotice",components:{SafeArea:Oo,SsButton2:Tr,SsNotificationsPopover:ac},props:["userInfo","noticeCount","visible"],data(){return{offsetLeft:0,offsetTop:0,mouseX:0,mouseY:0}},computed:{amount(){if(!this.noticeCount)return 0;const{online_count:e=0,comment_count:t=0,system_count:n=0,community_comment_count:r=0,message_count:o=0}=this.noticeCount||{},s=e+t+n+r+o;return s>99?"99+":s},notifications(){const{online_count:e=0,comment_count:t=0,system_count:n=0,community_comment_count:r=0,message_count:o=0}=this.noticeCount||{};return{reaction:e,comment:t,system:n,community:r,message:o}}},methods:{open(){const e=document.querySelector(".ss__custom__header__btn__notice"),{left:t,top:n,width:r,height:o}=e.getBoundingClientRect(),s=298;"ontouchstart"in window?this.offsetLeft=window.innerWidth-s-24:this.offsetLeft=t-s+r,this.offsetTop=n+o,this.$emit("update:visible",!0),dispatchEvent(new CustomEvent("ssCustomHeaderToggleTarget",{detail:"notice"}))},close(){this.$emit("update:visible",!1)},updateMousePosition:jo()((function(e){this.mouseX=e.clientX,this.mouseY=e.clientY-4}),30)},mounted(){window.addEventListener("mousemove",this.updateMousePosition)},destoryed(){window.removeEventListener("mousemove",this.updateMousePosition)}},uc=cc,lc=kr(uc,Qa,ec,!1,null,"47258eea",null),pc=lc.exports;pc.install=e=>e.component(pc.name,pc);var dc=pc,fc=r(7771),hc=r.n(fc);function mc(e){return Function('"use strict";return ('+e+")")()}var _c={name:"SsCustomHeader",components:{SsCustomHeaderSearch:Br,SsCustomHeaderWrite:fo,SsCustomHeaderMobileMenu:yo,SsCu
7stomHeaderDesktopMenu:Bo,SsDesktopSubmenu:ta,SsMobileMenu:ya,SsDialog2:Ea,SsCustomHeaderLogo:$a,SsCustomHeaderUser:Za,SsCustomHeaderNotice:dc},props:{isLogin:{type:Boolean,default:!1},userInfo:{type:Object,default:null},whitelist:{type:Array,default:()=>[]},searchUrl:{type:String,default:"/search?q=[keyword]"},cacheTtl:{type:Number,default:6e4},initial:{type:Array,default:null},noticeCount:{type:Object}},provide(){return{userInfo:this.userInfo,whitelist:this.whitelist,$getUserInfo:()=>this.userInfo}},data(){return{customMenuData:null,customMenuDataMobile:null,customMenuOriginalData:null,noticeVisible:!1,userMenuVisible:!1,searchVisible:!1,mobileMenuVisible:!1,menuItemHovered:"",hoverTimer:null}},computed:{isPrime(){return!!this.userInfo&&(this.userInfo.member&&this.userInfo.member.is_pay&&!this.userInfo.member.is_expire)},reminders(){return{series:Boolean(this.userInfo&&this.userInfo.no_read),series_comment:Boolean(this.noticeCount&&this.noticeCount.series_comment_count)}}},watch:{userInfo(){this.customMenuOriginalData&&this.format()},initial:{immediate:!0,handler:function(){!this.customMenuOriginalData&&this.initial&&(this.customMenuOriginalData=this.initial,this.format())}}},methods:{async fetchHeaderData(){try{const e=await this.$http({url:"/menu/page/get"});this.customMenuOriginalData=e.data,this.format(),window.localStorage.setItem("ssCustomHeaderData",JSON.stringify({data:this.customMenuOriginalData,expiry:hc()()+this.cacheTtl}))}catch(e){this.$toast({type:"error",message:e.message})}},format(){this.customMenuData=this.formatHeaderData(this.customMenuOriginalData),this.customMenuDataMobile=this.formatHeaderData(this.customMenuOriginalData,!0)},formatHeaderData(e,t){const n=e.map((e=>{let{subs:n}=e;return 2===e.type&&e.code?(n=mc(e.code),n=n.filter((e=>{if(t)return e.mobile;if(e.mobile)return!1;const{auth:n}=e;return!n||(n.isPrime?n.isPrime.expected===Boolean(this.isPrime):!!n.isLogin&&n.isLogin.expected===Boolean(this.isLogin))}))):n=n.map((t=>{let{sub_details:n}=t;return n=n.map((e=>({...this.getCardType(e),id:e.id,icon:e.iconfont,image:e.icon,name:e.title,style:e.style,url:e.url,description:e.description,blank:e.blank,external:!this.$testLink(e.url,["sspai.com"])}))),{id:t.id,icon:t.iconfont,name:t.title,style:t.style,layout:1===t.style_type?"card":"normal",url:e.url,blank:e.blank,children:n}})),{id:e.id,icon:e.iconfont,name:e.title,style:e.style,children:n,code:2===e.type&&e.code||"",url:e.url,blank:e.blank}}));return n},getCardType(e){var t,n,r;switch(e.object_type){case 2:return{type:"æ ç®",card:"SsDesktopMenuSeriesItem"};case 3:return{type:"软件",card:"SsDesktopMenuGoodItem",price:e.price,originPrice:e.origin_price,memberPrice:e.member_price};case 4:return{type:"å®ä½",card:"SsDesktopMenuGoodItem",price:e.price,originPrice:e.origin_price,memberPrice:e.member_price};case 5:return{type:"æç« ",card:"SsDesktopMenuPostItem"};case 6:return{type:"䏿´¾",card:"SsDesktopMenuPostItem"};case 7:return{type:"å
±å",card:e.id<0?"SsCoCreationEntryCard":"SsCoCreationItemCard",initiator:null===(t=e.co_creation)||void 0===t?void 0:t.initiator_user,participationCount:null===(n=e.co_creation)||void 0===n?void 0:n.participation_count,updates:null===(r=e.co_creation)||void 0===r?void 0:r.current_fixed_show_progress};default:return{type:"",card:"SsDesktopMenuItem"}}},showSubmenu(e){this.hoverTimer&&(clearTimeout(this.hoverTimer),this.hoverTimer=null),this.menuItemHovered=e},hideSubmenu(e){this.hoverTimer=setTimeout((()=>{this.menuItemHovered="",clearTimeout(this.hoverTimer),this.hoverTimer=null}),50)},toggleMobileMenuVisible(){this.mobileMenuVisible=!this.mobileMenuVisible},handleSsCustomHeaderToggleTarget(e){const{detail:t}=e;"search"!==t&&(this.searchVisible=!1),"notice"!==t&&(this.noticeVisible=!1),"menu"!==t&&(this.mobileMenuVisible=!1),"user"!==t&&(this.userMenuVisible=!1)}},created(){let e=null,t=0;if(!this.$isServer){e=window.localStorage.getItem("ssCustomHeaderData");try{e=JSON.parse(e),t=e.expiry,this.customMenuOriginalData=e.data,this.format()}catch(n){window.localStorage.removeItem("ssCustomHeaderData","")}}t<hc()()&&this.fetchHeaderData()},mounted(){window.addEventListener("ssCustomHeaderToggleTarget",this.handleSsCustomHeaderToggleTarget)},beforeDestroy(){window.removeEventListener("ssCustomHeaderToggleTarget",this.handleSsCustomHeaderToggleTarget)}},vc=_c,gc=kr(vc,vr,gr,!1,null,"7124cb52",null),yc=gc.exports;yc.install=e=>e.component(yc.name,yc);var bc=yc,wc=function(){var e=this,t=e._self._c;return t("footer",{staticClass:"ss__custom__footer__wrapper"},[t("div",{staticClass:"ss__custom__footer"},[t("a",{staticClass:"ss__custom__footer__logo__wrapper",attrs:{href:"/"}},[t("SsCustomHeaderLogo",{staticClass:"ss__custom__footer__logo--desktop",attrs:{viewBox:"0 0 36 36"}}),t("SsCustomHeaderLogo",{staticClass:"ss__custom__footer__logo--mobile"})],1),t("div",{staticClass:"ss__custom__footer__media__links"},[e._m(0),t("a",{staticClass:"ss__custom__footer__media__link__item",attrs:{href:"https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MzU4Mjg3MDAyMQ==&subscene=0#wechat_redirect",target:"_blank",id:"ss__custom__footer__qrcode"},on:{click:function(e){e.preventDefault()},mouseenter:function(t){e.featurePopoverVisible=!0},mouseleave:function(t){e.featurePopoverVisible=!1}}},[t("i",{staticClass:"ssCommunityIcon__weixin"}),t("SsFeaturePopover",{staticClass:"comp__SsFeaturePopover",attrs:{visible:e.featurePopoverVisible,showStar:!1,showClose:!1,spacing:0,transitionName:"ssCustomFooterQrcode",title:"å
³æ³¨å
¬ä¼å· sspaime",content:"<img src='https://cdn-static.sspai.com/ui
7/gzh_qrcode_home.png' width='120'/>",target:e.featurePopoverTarget},on:{"update:visible":function(t){e.featurePopoverVisible=t}}})],1),e._m(1),e._m(2)]),t("div",{staticClass:"ss__custom__footer__text__links__wrapper"},[t("div",{staticClass:"ss__custom__footer__text__links"},e._l(e.links,(function(n){return t("a",{key:n.name,attrs:{href:n.link,target:"_blank"}},[e._v(" "+e._s(n.name)+" ")])})),0),t("div",{staticClass:"ss__custom__footer__record"},[t("span",[e._v("© 2013-"+e._s(e.year)+" æ·±å³å¸ç§éº¦ç½ç»ç§ææéå
¬å¸ - å°æ°æ´¾")]),t("a",{attrs:{href:"https://beian.miit.gov.cn/",target:"_blank"}},[e._v("粤ICPå¤09128966å·-4")]),t("span",[e._v(" | ")]),t("a",{attrs:{href:"https://dxzhgl.miit.gov.cn/",target:"_blank"}},[e._v("粤B2-20211534")])])])])])},Cc=[function(){var e=this,t=e._self._c;return t("a",{staticClass:"ss__custom__footer__media__link__item",attrs:{href:"https://weibo.com/sspaime?is_hot=1",target:"_blank"}},[t("i",{staticClass:"ssCommunityIcon__weibo"})])},function(){var e=this,t=e._self._c;return t("a",{staticClass:"ss__custom__footer__media__link__item",attrs:{href:"https://www.xiaohongshu.com/user/profile/63f5d65d000000001001d8d4",target:"_blank"}},[t("i",{staticClass:"ssCommunityIcon__xiaohongshu"})])},function(){var e=this,t=e._self._c;return t("a",{staticClass:"ss__custom__footer__media__link__item",attrs:{href:"https://sspai.com/feed",target:"_blank"}},[t("i",{staticClass:"iconfont iconfont-rss-simple"})])}],Sc={name:"SsCustomFooter",components:{SsCustomHeaderLogo:$a,SsFeaturePopover:co},data(){return{links:[{name:"ä¸è½½ App",link:"https://sspai.com/page/client"},{name:"èç³»æä»¬",link:"mailto:[email protected]"},{name:"åå¡åä½",link:"https://sspai.com/page/bussiness"},{name:"å
³äºæä»¬",link:"https://sspai.com/page/about-us"},{name:"ç¨æ·åè®®",link:"https://sspai.com/page/agreement"}],featurePopoverVisible:!1,featurePopoverTarget:"#ss__custom__footer__qrcode"}},computed:{year(){return(new Date).getFullYear()}},mounted(){let{height:e}=this.$el.getBoundingClientRect();const t=new ResizeObserver((t=>{for(const n of t)e=n.borderBoxSize?n.borderBoxSize[0].blockSize:n.contentRect.height;document.documentElement.style.setProperty("--height-SsCustomFooter",`${e}px`)}));t.observe(this.$el)}},xc=Sc,kc=kr(xc,wc,Cc,!1,null,"6c117362",null),Ec=kc.exports;Ec.install=e=>e.component(Ec.name,Ec);var Oc=Ec,Tc=function(){var e=this,t=e._self._c;return t("div",{staticClass:"ss__customer__service"},[e.onlyHelp?[t("SsButton2",{staticClass:"ss__customer__service__button ss__customer__service__button--onlyHelp",attrs:{href:e.help.link,target:"_blank",type:"text"},on:{click:e.openWeixinServiceLink}},[t("i",{key:"help",class:e.help.icon}),t("span",[e._v(e._s(e.help.label))])])]:t("div",{ref:"mainPropover"},[t("SsButton2",{staticClass:"ss__customer__service__button",attrs:{type:"text"},on:{click:e.togglePopover}},[t("Transition",{attrs:{name:"btn__fade"}},[e.popoverVisible?t("i",{key:"cancel",staticClass:"ssCommunityIcon__cancel"}):t("i",{key:"help",staticClass:"ssCommunityIcon__questionMark"})])],1),t("SsFeaturePopover",{staticClass:"comp__SsFeaturePopover",attrs:{visible:e.popoverVisible,"show-star":!1,"show-close":!1,targetEl:e.$el,"transition-name":"ss__customer__service__popover"},on:{"update:visible":function(t){e.popoverVisible=t}}},[t("ul",{staticClass:"ss__customer__service__list"},[e.help?t("li",[t("SsButton2",{staticClass:"ss__customer__service__item__link",attrs:{href:e.help.link,target:"_blank",type:"text"},on:{click:e.openWeixinServiceLink}},[t("i",{class:e.help.icon}),t("span",[e._v(e._s(e.help.label))])])],1):e._e(),e.mail?t("li",[t("a",{staticClass:"ss__customer__service__item__link",attrs:{href:e.mail.link,target:"_blank"}},[t("i",{class:e.mail.icon}),t("span",[e._v(e._s(e.mail.label))])])]):e._e(),e.bussiness?t("li",[t("a",{staticClass:"ss__customer__service__item__link",attrs:{href:e.bussiness.link,target:"_blank"}},[t("i",{class:e.bussiness.icon}),t("span",[e._v(e._s(e.bussiness.label))])])]):e._e(),e.app?t("li",[t("a",{staticClass:"ss__customer__service__item__link",attrs:{href:e.app.link,target:"_blank"}},[t("i",{class:e.app.icon}
7),t("span",[e._v(e._s(e.app.label))])])]):e._e()])])],1),t("transition",{attrs:{name:"mask"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.popoverVisible||e.weixinServiceVisible,expression:"popoverVisible || weixinServiceVisible"}],staticClass:"ss__customer__service__mask",on:{click:e.onModalClick}})]),t("SsFeaturePopover",{staticClass:"comp__SsFeaturePopover comp__SsFeaturePopover__help",attrs:{visible:e.weixinServiceVisible,"show-star":!1,"show-close":!1,targetEl:e.$el,"transition-name":"ss__customer__service__popover"},on:{"update:visible":function(t){e.weixinServiceVisible=t}}},[t("div",{staticClass:"ss__customer__service__qrcode__wrapper"},[t("div",{staticClass:"ss__customer__service__qrcode__label"},[e._v("请ç¨å¾®ä¿¡ææºç«¯æ«ç å¨è¯¢å®¢æ")]),t("img",{attrs:{src:e.help.qrcode,width:"200",height:"200"}})])])],2)},Pc=[],Lc={name:"SsCustomerService",components:{SsButton2:Tr,SsFeaturePopover:co},props:{onlyHelp:{type:Boolean,default:!1},help:{type:Object,default:()=>({icon:"ssCommunityIcon__help",label:"è系客æ",link:"https://work.weixin.qq.com/kfid/kfc53f2e1734a1f6d1a",qrcode:"https://cdn-static.sspai.com/ui/qrcode_service.png"})},mail:{type:Object,default:()=>({icon:"ssCommunityIcon__mail",label:"åéé®ä»¶",link:"mailto:[email protected]"})},bussiness:{type:Object,default:()=>({icon:"ssCommunityIcon__idea",label:"åå¡åä½",link:"https://sspai.com/page/bussiness"})},app:{type:Object,default:()=>({icon:"ssCommunityIcon__download",label:"å°æ°æ´¾ App",link:"https://sspai.com/page/client"})},openWeixinServiceInNewTab:{type:Boolean,default:!1}},data(){return{popoverVisible:!1,weixinServiceVisible:!1,timer:null}},methods:{showPopover(){this.timer&&(clearTimeout(this.timer),this.timer=null),this.popoverVisible=!0},hidePopover(){this.timer=setTimeout((()=>{this.popoverVisible=!1}),150)},togglePopover(){this.popoverVisible=!this.popoverVisible},onModalClick(){this.popoverVisible=!1,this.weixinServiceVisible=!1},openWeixinServiceLink(){this.openWeixinServiceInNewTab?this.$openLink(this.help.link,"_blank"):this.weixinServiceVisible=!0}},mounted(){"ontouchstart"in window||this.onlyHelp||(this.$refs.mainPropover.addEventListener("mouseenter",this.showPopover),this.$refs.mainPropover.addEventListener("mouseleave",this.hidePopover))}},Mc=Lc,Ic=kr(Mc,Tc,Pc,!1,null,"f7edd374",null),$c=Ic.exports;$c.install=e=>e.component($c.name,$c);var Ac=$c;function jc(e,t){const n="expires=Thu, 01 Jan 1970 00:00:00 GMT",r="path=/",o=`${e}=; ${r}; ${n}`;document.cookie=o,t&&(document.cookie=`${o}; domain=${t}`)}c().use(R),c().customElement("ss-custom-footer",Oc),c().customElement("ss-customer-service",Ac),c().prototype.$http=_r,c().prototype.$round=(e,t,n="string")=>{const r=Math.round(+e+"e"+t)/Math.pow(10,t);return"number"===n?r:r.toFixed(t)},c().prototype.$toast=e=>(e=e||{},"string"===typeof e&&(e={message:e}),e.customClass="ss__toast",e.iconClass=`ssCommunityIcon__${e.type||"info"}`,i()(e)),c().prototype.$openLink=Xi,c().prototype.$testLink=Ki,c().prototype.$app={imgSrc:"https://cdn-static.sspai.com/ui/img-placeholder.png",avatarSrc:"https://cdn-static.sspai.com/ui/otter_avatar_placeholder_240511.png",imgErrorSrc:"https://cdn-static.sspai.com/ui/error_placeholder.jpeg"},c().filter("formatDate",Ui);const Dc={name:"SsCustomHeaderWebComponent",data(){return{isLogin:!1,userInfo:null,noticeCount:null}},methods:{handleLogin(){window.sessionStorage.setItem("referer",window.location.pathname+window.location.search),this.$openLink("/login","_self")},handleLogout(){window.localStorage.removeItem("ssToken"),jc("sspai_jwt_token"),jc("sspai_jwt_token","sspai.com"),jc("sspai_jwt_token",".sspai.com"),jc("sspai_cross_token"),jc("sspai_cross_token","sspai.com"),jc("sspai_cross_token",".sspai.com"),document.cookie="sspai_cross_token="+encodeURIComponent("logout")+"; path=/; domain=.sspai.com",window.location.reload()}},async beforeMount(){const e=localStorage.getItem("ssToken");if(e)try{const e=await this.$http("/user/info/get");if(3004===e.error)return void this.handleLogout();if(e.error)throw new Error(e.msg);this.isLogin=!0,this.userInfo=e.data;const t=await this.$http("/information/user/unread/count/info/get");if(3004===t.error)return void this.handleLogout();if(t.error)throw new Error(t.msg);this.noticeCount=t.data}catch(n){var t;if(console.log(n),401===(null===(t=n.response)||void 0===t?void 0:t.status)||401===n.status)return void this.handleLogout();this.isLogin=!1,this.userInfo=null,this.noticeCount=null}},render(e){return e(bc,{props:{isLogin:this.isLogin,userInfo:this.userInfo,noticeCount:this.noticeCount,whitelist:[]},on:{login:this.handleLogin,logout:this.handleLogout}})}};function Rc(){let e=0;navigator.cookieEnabled&&(e=window.localStorage.getItem("darkMode")?parseInt(window.localStorage.getItem("darkMode")):0);const t=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches;!e&&t||2===e?document.documentElement.classList.add("theme-dark"):document.documentElement.classList.remove("theme-dark")}c().customElement("ss-custom-header",Dc);const Nc="undefined"!==typeof window;Nc&&(window.isSupportWebp=function(){const e=document.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))&&0===e.toDataURL("image/webp").indexOf("data:image/webp")}()),Nc&&(window.__CDN_HOST__="https://sspai.com"===window.location.origin?"https://cdnfile.sspai.com/":"https://test-images.sspai.com/"),Nc&&Rc(),Nc&&window.addEventListener("ssCustomHeaderDar
7kModeChange",Rc),c().prototype.$formatImageSrc=Ji.bind(null,window.isSupportWebp,window.__CDN_HOST__)}(),o}()})); 8//# sourceMappingURL=sspai-ui-wc.umd.min.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.