PageSourceSearch

https://cdn-static.sspai.com/ui/sspai-ui-wc/sspai-ui-wc.umd.min.js?v1.48.2

js sspai.com collected 2026-09-24 15:22:48 UTC 288,061 bytes, 8 lines download raw bytes

vendor: 5,176 bytes, line 1
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={7484:function(e){!function(t,n){e.exports=n()}(0,(function(){"use strict";var e=1e3,t=6e4,n=36e5,o="millisecond",s="second",r="minute",i="hour",a="day",c="week",l="month",u="quarter",d="year",p="date",f="Invalid Date",_=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|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,m={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 o=String(e);return!o||o.length>=t?e:""+Array(t+1-o.length).join(n)+e},g={s:v,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),o=Math.floor(n/60),s=n%60;return(t<=0?"+":"-")+v(o,2,"0")+":"+v(s,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var o=12*(n.year()-t.year())+(n.month()-t.month()),s=t.clone().add(o,l),r=n-s<0,i=t.clone().add(o+(r?-1:1),l);return+(-(o+(n-s)/(r?s-i:i-s))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:d,w:c,d:a,D:p,h:i,m:r,s:s,ms:o,Q:u}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},b="en",y={};y[b]=m;var w="$isDayjsObject",C=function(e){return e instanceof E||!(!e||!e[w])},S=function e(t,n,o){var s;if(!t)return b;if("string"==typeof t){var r=t.toLowerCase();y[r]&&(s=r),n&&(y[r]=n,s=r);var i=t.split("-");if(!s&&i.length>1)return e(i[0])}else{var a=t.name;y[a]=t,s=a}return!o&&s&&(b=s),s||!o&&b},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 m(e){this.$L=S(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[w]=!0}var v=m.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 o=t.match(_);if(o){var s=o[2]-1||0,r=(o[7]||"0").substring(0,3);return n?new Date(Date.UTC(o[1],s,o[3]||1,o[4]||0,o[5]||0,o[6]||0,r)):new Date(o[1],s,o[3]||1,o[4]||0,o[5]||0,o[6]||0,r)}}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,o=!!k.u(t)||t,u=k.p(e),f=function(e,t){var s=k.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return o?s:s.endOf(a)},_=function(e,t){return k.w(n.toDate()[e].apply(n.toDate("s"),(o?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},h=this.$W,m=this.$M,v=this.$D,g="set"+(this.$u?"UTC":"");switch(u){case d:return o?f(1,0):f(31,11);case l:return o?f(1,m):f(0,m+1);case c:var b=this.$locale().weekStart||0,y=(h<b?h+7:h)-b;return f(o?v-y:v+(6-y),m);case a:case p:return _(g+"Hours",0);case i:return _(g+"Minutes",1);case r:return _(g+"Seconds",2);case s:return _(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),u="set"+(this.$u?"UTC":""),f=(n={},n[a]=u+"Date",n[p]=u+"Date",n[l]=u+"Month",n[d]=u+"FullYear",n[i]=u+"Hours",n[r]=u+"Minutes",n[s]=u+"Seconds",n[o]=u+"Milliseconds",n)[c],_=c===a?this.$D+(t-this.$W):t;if(c===l||c===d){var h=this.clone().set(p,1);h.$d[f](_),h.init(),this.$d=h.set(p,Math.min(this.$D,h.daysInMonth())).$d}else f&&this.$d[f](_);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(o,u){var p,f=this;o=Number(o);var _=k.p(u),h=function(e){var t=x(f);return k.w(t.date(t.date()+Math.round(e*o)),f)};if(_===l)return this.set(l,this.$M+o);if(_===d)return this.set(d,this.$y+o);if(_===a)return h(1);if(_===c)return h(7);var m=(p={},p[r]=t,p[i]=n,p[s]=e,p)[_]||1,v=this.$d.getTime()+o*m;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 o=e||"YYYY-MM-DDTHH:mm:ssZ",s=k.z(this),r=this.$H,i=this.$m,a=this.$M,c=n.weekdays,l=n.months,u=n.meridiem,d=function(e,n,s,r){return e&&(e[
1n]||e(t,o))||s[n].slice(0,r)},p=function(e){return k.s(r%12||12,e,"0")},_=u||function(e,t,n){var o=e<12?"AM":"PM";return n?o.toLowerCase():o};return o.replace(h,(function(e,o){return o||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 d(n.monthsShort,a,l,3);case"MMMM":return d(l,a);case"D":return t.$D;case"DD":return k.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return d(n.weekdaysMin,t.$W,c,2);case"ddd":return d(n.weekdaysShort,t.$W,c,3);case"dddd":return c[t.$W];case"H":return String(r);case"HH":return k.s(r,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return _(r,i,!0);case"A":return _(r,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 s}return null}(e)||s.replace(":","")}))},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(o,p,f){var _,h=this,m=k.p(p),v=x(o),g=(v.utcOffset()-this.utcOffset())*t,b=this-v,y=function(){return k.m(h,v)};switch(m){case d:_=y()/12;break;case l:_=y();break;case u:_=y()/3;break;case c:_=(b-g)/6048e5;break;case a:_=(b-g)/864e5;break;case i:_=b/n;break;case r:_=b/t;break;case s:_=b/e;break;default:_=b}return f?_:k.a(_)},v.daysInMonth=function(){return this.endOf(l).$D},v.$locale=function(){return y[this.$L]},v.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),o=S(e,t,!0);return o&&(n.$L=o),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()},m}(),$=E.prototype;return x.prototype=$,[["$ms",o],["$s",s],["$m",r],["$H",i],["$W",a],["$M",l],["$y",d],["$D",p]].forEach((function(e){$[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=y[b],x.Ls=y,x.p={},x}))},3852:function(e,t,n){!function(t,o){e.exports=o(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),o={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;return n<600?"凌晨":n<900?"早上":n<1100?"上午":n<1300?"中午":n<1800?"下午":"晚上"}};return n.default.locale(o,null,!0),o}))},4712:function(e){!function(t,n){e.exports=n()}(0,(function(){"use strict";return function(e,t,n){var o="h:mm A",s={lastDay:"[Yesterday at] "+o,sameDay:"[Today at] "+o,nextDay:"[Tomorrow at] "+o,nextWeek:"dddd [at] "+o,lastWeek:"[Last] dddd [at] "+o,sameElse:"MM/DD/YYYY"};t.prototype.calendar=function(e,t){var o=t||this.$locale().calendar||s,r=n(e||void 0).startOf("d"),i=this.diff(r,"d",!0),a="sameElse",c=i<-6?a:i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":a,l=o[c]||s[c];return"function"==typeof l?l.call(this,n()):this.format(l)}}}))},4110:function(e){!function(t,n){e.exports=n()}(0,(function(){"use strict";return function(e,t,n){e=e||{};var o=t.prototype,s={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 r(e,t,n,s){return o.fromToBase(e,t,n,s)}n.en.relativeTime=s,o.fromToBase=function(t,o,r,i,a){for(var c,l,u,d=r.$locale().relativeTime||s,p=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=p.length,_=0;_<f;_+=1){var h=p[_];h.d&&(c=i?n(t).diff(r,h.d,!0):r.diff(t,h.d,!0));var m=(e.rounding||Math.round)(Math.abs(c));if(u=c>0,m<=h.r||!h.r){m<=1&&_>0&&(h=p[_-1]);var v=d[h.l];a&&(m=a(""+m)),l="string"==typeof v?v.replace("%d",m):v(m,o,h.l,u);break}}if(o)return l;var g=u?d.future:d.past;return"function"==typeof g?g(l):g.replace("%s",l)},o.to=function(e,t){return r(e,t,this,!0)},o.from=function(e,t){return r(e,t,this)};var i=function(e){return e.$u?n.utc():n()};o.toNow=function(e){return this.to(i(this),e)},o.fromNow=function(e){return this.from(i(this),e)}}}))},7563:function(e){e.exports=function(e){var t={};function n(o){if(t[o])return t[o].exports;var s=t[o]={i:o,l:!1,exports:{}};return e[o].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}
1),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 o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(o,s,function(t){return e[t]}.bind(null,s));return o},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=97)}({0:function(e,t,n){"use strict";function o(e,t,n,o,s,r,i,a){var c,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),r&&(l._scopeId="data-v-"+r),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__),s&&s.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=c):s&&(c=a?function(){s.call(this,this.$root.$options.shadowRoot)}:s),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}n.d(t,"a",(function(){return o}))},97:function(e,t,n){"use strict";n.r(t);var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-button-group"},[e._t("default")],2)},s=[];o._withStripped=!0;var r={name:"ElButtonGroup"},i=r,a=n(0),c=Object(a["a"])(i,o,s,!1,null,null,null);c.options.__file="packages/button/src/button-group.vue";var l=c.exports;l.install=function(e){e.component(l.name,l)};t["default"]=l}})},6426:function(e){e.exports=function(e){var t={};function n(o){if(t[o])return t[o].exports;var s=t[o]={i:o,l:!1,exports:{}};return e[o].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},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 o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(o,s,function(t){return e[t]}.bind(null,s));return o},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=96)}({0:function(e,t,n){"use strict";function o(e,t,n,o,s,r,i,a){var c,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),r&&(l._scopeId="data-v-"+r),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__),s&&s.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=c):s&&(c=a?function(){s.call(this,this.$root.$options.shadowRoot)}:s),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}n.d(t,"a",(function(){return o}))},96:function(e,t,n){"use strict";n.r(t);var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{staticClass:"el-button",class:[e.type?"el-button--"+e.type:"",e.buttonSize?"el-button--"+e.buttonSize:"",{"is-disabled":e.buttonDisabled,"is-loading":e.loading,"is-plain":e.plain,"is-round":e.round,"is-circle":e.circle}],attrs:{disabled:e.buttonDisabled||e.loading,autofocus:e.autofocus,type:e.nativeType},on:{click:e.handleClick}},[e.loading?n("i",{staticClass:"el-icon-loading"}):e._e(),e.icon&&!e.loading?n("i",{class:e.icon}):e._e(),e.$slots.default?n("span",[e._t("default")],2):e._e()])},s=[];o._withStripped=!0;
1var r={name:"ElButton",inject:{elForm:{default:""},elFormItem:{default:""}},props:{type:{type:String,default:"default"},size:String,icon:{type:String,default:""},nativeType:{type:String,default:"button"},loading:Boolean,disabled:Boolean,plain:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},buttonSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},buttonDisabled:function(){return this.$options.propsData.hasOwnProperty("disabled")?this.disabled:(this.elForm||{}).disabled}},methods:{handleClick:function(e){this.$emit("click",e)}}},i=r,a=n(0),c=Object(a["a"])(i,o,s,!1,null,null,null);c.options.__file="packages/button/src/button.vue";var l=c.exports;l.install=function(e){e.component(l.name,l)};t["default"]=l}})},2626:function(e,t,n){e.exports=function(e){var t={};function n(o){if(t[o])return t[o].exports;var s=t[o]={i:o,l:!1,exports:{}};return e[o].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},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 o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(o,s,function(t){return e[t]}.bind(null,s));return o},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=91)}({0:function(e,t,n){"use strict";function o(e,t,n,o,s,r,i,a){var c,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),r&&(l._scopeId="data-v-"+r),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__),s&&s.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=c):s&&(c=a?function(){s.call(this,this.$root.$options.shadowRoot)}:s),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}n.d(t,"a",(function(){return o}))},4:function(e,t){e.exports=n(2477)},91:function(e,t,n){"use strict";n.r(t);var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"el-checkbox",class:[e.border&&e.checkboxSize?"el-checkbox--"+e.checkboxSize:"",{"is-disabled":e.isDisabled},{"is-bordered":e.border},{"is-checked":e.isChecked}],attrs:{id:e.id}},[n("span",{staticClass:"el-checkbox__input",class:{"is-disabled":e.isDisabled,"is-checked":e.isChecked,"is-indeterminate":e.indeterminate,"is-focus":e.focus},attrs:{tabindex:!!e.indeterminate&&0,role:!!e.indeterminate&&"checkbox","aria-checked":!!e.indeterminate&&"mixed"}},[n("span",{staticClass:"el-checkbox__inner"}),e.trueLabel||e.falseLabel?n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-checkbox__original",attrs:{type:"checkbox","aria-hidden":e.indeterminate?"true":"false",name:e.name,disabled:e.isDisabled,"true-value":e.trueLabel,"false-value":e.falseLabel},domProps:{checked:Array.isArray(e.model)?e._i(e.model,null)>-1:e._q(e.model,e.trueLabel)},on:{change:[function(t){var n=e.model,o=t.target,s=o.checked?e.trueLabel:e.falseLabel;if(Array.isArray(n)){var r=null,i=e._i(n,r);o.checked?i<0&&(e.model=n.concat([r])):i>-1&&(e.model=n.slice(0,i).concat(n.slice(i+1)))}else e.model=s},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-checkbox__original",attrs:{type:"checkbox","aria-hidden":e.indeterminate?"true":"false",disabled:e.isDisabled,name:e.name},domProps:{value:e.label,checked:Array.isArray(e.model)?e._i(e.model,e.label)>-1:e.model},on:{change:[function(t){var n=e.model,o=t.target,s=!!o.checked;if(Array.isArray(n)){var r=e.label,i=e._i(n,r);o.checked?i<0&&(e.model=n.concat([r])):i>-1&&(e.model=n.slice(0,i).concat(n.slice(i+1)))}else e.model=s},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}})]),e.$slots.default||e.label?n("span",{staticClass:"el-checkbox__label"},[e._t("default"),e.$slots.default?e._e():[e._v(e._s(e.label))]],2):e._e()])},s=[];o._withStripped=!0;var r=n(4),i=n.n(r),a={name:"ElCheckbox",mixins:[i.a],inject:{elForm:{default:""},elFormItem:{default:""}},componentName:"ElCheckbox",data:function(){return{selfModel:!1,focus:!1,isLimitExceeded:!1}},computed:{model:{get:function(){return this.isGroup?this.store:void 0!==this.value?this.value:this.selfModel},set:function(e){this.isGroup?(this.isLimitExceeded=!1,void 0!==this._checkboxGroup.min&&e.length<this._checkboxGroup.min&&(this.isLimitExceeded=!0),void 0!==this._checkboxGroup.max&&e.length>this._checkboxGroup.max&&(this.isLimitExceeded=!0),!1===this.isLimitExceeded&&this.dispatch("ElCheckboxGroup","input",[e])):(this.$emit("input",e),this.selfModel=e)}},isChecked:function(){return"[object Boolean]"==={}.toString.call(this.model)?this.model:Array.isArray(this.model)?this.model.indexOf(this.label)>-1:null!==this.model&&void 0!==this.model?this.model===this.trueLabel:void 0},isGroup:function(){var e=this.$parent;while(e){if("ElCheckboxGroup"===e.$options.componentName)return this._checkboxGroup=e,!0;e=e.$parent}return!1},store:function(){return this._checkboxGroup?this._checkboxGroup.value:this.value},isLimitDisabled:function(){var e=this._checkboxGroup,t=e.max,n=e.min;return!(!t&&!n)&&this.model.length>=t&&!this.isChecked||this.model.length<=n&&this.isChecked},isDisabled:function(){return this.isGroup?this._checkboxGroup.disabled||this.disabled||(this.elForm||{}).disabled||this.isLimitDisabled:this.disabled||(this.elForm||{}).disabled},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},checkboxSize:function(){var e=this.size||this._elFormItemSize||(this.$ELEMENT||{}).size;return this.isGroup&&this._checkboxGroup.checkboxGroupSize||e}},props:{value:{},label:{},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:String,trueLabel:[String,Number],falseLabel:[String,Number],id:String,controls:String,border:B
1oolean,size:String},methods:{addToStore:function(){Array.isArray(this.model)&&-1===this.model.indexOf(this.label)?this.model.push(this.label):this.model=this.trueLabel||!0},handleChange:function(e){var t=this;if(!this.isLimitExceeded){var n=void 0;n=e.target.checked?void 0===this.trueLabel||this.trueLabel:void 0!==this.falseLabel&&this.falseLabel,this.$emit("change",n,e),this.$nextTick((function(){t.isGroup&&t.dispatch("ElCheckboxGroup","change",[t._checkboxGroup.value])}))}}},created:function(){this.checked&&this.addToStore()},mounted:function(){this.indeterminate&&this.$el.setAttribute("aria-controls",this.controls)},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",e)}}},c=a,l=n(0),u=Object(l["a"])(c,o,s,!1,null,null,null);u.options.__file="packages/checkbox/src/checkbox.vue";var d=u.exports;d.install=function(e){e.component(d.name,d)};t["default"]=d}})},6177:function(e,t,n){e.exports=function(e){var t={};function n(o){if(t[o])return t[o].exports;var s=t[o]={i:o,l:!1,exports:{}};return e[o].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},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 o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(o,s,function(t){return e[t]}.bind(null,s));return o},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=82)}({0:function(e,t,n){"use strict";function o(e,t,n,o,s,r,i,a){var c,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),r&&(l._scopeId="data-v-"+r),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__),s&&s.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=c):s&&(c=a?function(){s.call(this,this.$root.$options.shadowRoot)}:s),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}n.d(t,"a",(function(){return o}))},11:function(e,t){e.exports=n(4222)},13:function(e,t){e.exports=n(2680)},4:function(e,t){e.exports=n(2477)},82:function(e,t,n){"use strict";n.r(t);var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"dialog-fade"},on:{"after-enter":e.afterEnter,"after-leave":e.afterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-dialog__wrapper",on:{click:function(t){return t.target!==t.currentTarget?null:e.handleWrapperClick(t)}}},[n("div",{key:e.key,ref:"dialog",class:["el-dialog",{"is-fullscreen":e.fullscreen,"el-dialog--center":e.center},e.customClass],style:e.style,attrs:{role:"dialog","aria-modal":"true","aria-label":e.title||"dialog"}},[n("div",{staticClass:"el-dialog__header"},[e._t("title",[n("span",{staticClass:"el-dialog__title"},[e._v(e._s(e.title))])]),e.showClose?n("button",{staticClass:"el-dialog__headerbtn",attrs:{type:"button","aria-label":"Close"},on:{click:e.handleClose}},[n("i",{staticClass:"el-dialog__close el-icon el-icon-close"})]):e._e()],2),e.rendered?n("div",{staticClass:"el-dialog__body"},[e._t("default")],2):e._e(),e.$slots.footer?n("div",{staticClass:"el-dialog__footer"},[e._t("footer")],2):e._e()])])])},s=[];o._withStripped=!0;var r=n(13),i=n.n(r),a=n(11),c=n.n(a),l=n(4),u=n.n(l),d={name:"ElDialog",mixins:[i.a,u.a,c.a],props:{title:{type:String,default:""},modal:{type:Boolean,default:!0},modalAppendToBody:{type:Boolean,default:!0},appendToBody:{type:Boolean,default:!1},lockScroll:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},width:String,fullscreen:Boolean,customClass:{type:String,default:""},top:{type:String,default:"15vh"},beforeClose:Function,center:{type:Boolean,default:!1},destroyOnClose:Boolean},data:function(){return{closed:!1,key:0}},watch:{visible:function(e){var t=this;e?(this.closed=!1,this.$emit("open"),this.$el.addEventListener("scroll",this.updatePopper),this.$nextTick((function(){t.$refs.dialog.scrollTop=0})),this.appendToBody&&document.body.appendChild(this.$el)):(this.$el.removeEventListener("scroll",this.updatePopper),this.closed||this.$emit("close"),this.destroyOnClose&&this.$nextTick((function(){t.key++})))}},computed:{style:function(){var e={};return this.fullscreen||(e.marginTop=this.top,this.width&&(e.width=this.width)),e}},methods:{getMigratingConfig:function(){return{props:{size:"size is removed."}}},handleWrapperClick:function(){this.closeOnClickModal&&this.handleClose()},handleClose:function(){"function"===typeof this.beforeClose?this.beforeClose(this.hide):this.hide()},hide:function(e){!1!==e&&(this.$emit("update:visible",!1),this.$emit("close"),this.closed=!0)},updatePopper:function(){this.broadcast("ElSelectDropdown","updatePopper"),this.broadcast("ElDropdownMenu","updatePopper")},afterEnter:function(){this.$emit("opened")},afterLeave:function(){this.$emit("closed")}},mounted:function(){this.visible&&(this.rendered=!0,this.open(),this.appendToBody&&document.body.appendChild(this.$el))},destroyed:function(){this.appendToBody&&this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)}},p=d,f=n(0),_=Object(f["a"])(p,o,s,!1,null,null,null);_.options.__file="packages/dialog/src/component.vue";var h=_.exports;h.install=function(e){e.component(h.name,h)};t["default"]=h}})},2173:function(e,t,n){e.exports=function(e){var t={};function n(o){if(t[o])return t[o].exports;var s=t[o]={i:o,l:!1,exports:{}};return e[o].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}
1),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 o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(o,s,function(t){return e[t]}.bind(null,s));return o},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=84)}({0:function(e,t,n){"use strict";function o(e,t,n,o,s,r,i,a){var c,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),r&&(l._scopeId="data-v-"+r),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__),s&&s.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=c):s&&(c=a?function(){s.call(this,this.$root.$options.shadowRoot)}:s),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}n.d(t,"a",(function(){return o}))},4:function(e,t){e.exports=n(2477)},84:function(e,t,n){"use strict";n.r(t);var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{staticClass:"el-dropdown-menu__item",class:{"is-disabled":e.disabled,"el-dropdown-menu__item--divided":e.divided},attrs:{"aria-disabled":e.disabled,tabindex:e.disabled?null:-1},on:{click:e.handleClick}},[e.icon?n("i",{class:e.icon}):e._e(),e._t("default")],2)},s=[];o._withStripped=!0;var r=n(4),i=n.n(r),a={name:"ElDropdownItem",mixins:[i.a],props:{command:{},disabled:Boolean,divided:Boolean,icon:String},methods:{handleClick:function(e){this.dispatch("ElDropdown","menu-item-click",[this.command,this])}}},c=a,l=n(0),u=Object(l["a"])(c,o,s,!1,null,null,null);u.options.__file="packages/dropdown/src/dropdown-item.vue";var d=u.exports;d.install=function(e){e.component(d.name,d)};t["default"]=d}})},3229:function(e,t,n){e.exports=function(e){var t={};function n(o){if(t[o])return t[o].exports;var s=t[o]={i:o,l:!1,exports:{}};return e[o].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},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 o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(o,s,function(t){return e[t]}.bind(null,s));return o},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=83)}({0:function(e,t,n){"use strict";function o(e,t,n,o,s,r,i,a){var c,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),r&&(l._scopeId="data-v-"+r),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__),s&&s.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=c):s&&(c=a?function(){s.call(this,this.$root.$options.shadowRoot)}:s),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}n.d(t,"a",(function(){return o}))},5:function(e,t){e.exports=n(499)},83:function(e,t,n){"use strict";n.r(t);var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":e.doDestroy}},[n("ul",{directives:[{name:"show",rawName:"v-show",value:e.showPopper,expression:"showPopper"}],staticClass:"el-dropdown-menu el-popper",class:[e.size&&"el-dropdown-menu--"+e.size]},[e._t("default")],2)])},s=[];o._withStripped=!0;var r=n(5),i=n.n(r),a={name:"ElDropdownMenu",componentName:"ElDropdownMenu",mixins:[i.a],props:{visibleArrow:{type:Boolean,default:!0},arrowOffset:{type:Number,default:0}},data:function(){return{size:this.dropdown.dropdownSize}},inject:["dropdown"],created:function(){var e=this;this.$on("updatePopper",(function(){e.showPopper&&e.updatePopper()})),this.$on("visible",(function(t){e.showPopper=t}))},mounted:function(){this.dropdown.popperElm=this.popperElm=this.$el,this.referenceElm=this.dropdown.$el,this.dropdown.initDomOperation()},watch:{"dropdown.placement":{immediate:!0,handler:function(e){this.currentPlacement=e}}}},c=a,l=n(0),u=Object(l["a"])(c,o,s,!1,null,null,null);u.options.__file="packages/dropdown/src/dropdown-menu.vue";var d=u.exports;d.install=function(e){e.component(d.name,d)};t["default"]=d}})},7099:function(e,t,n){e.exports=function(e){var t={};function n(o){if(t[o])return t[o].exports;var s=t[o]={i:o,l:!1,exports:{}};return e[o].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}
1),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 o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(o,s,function(t){return e[t]}.bind(null,s));return o},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=130)}({0:function(e,t,n){"use strict";function o(e,t,n,o,s,r,i,a){var c,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),r&&(l._scopeId="data-v-"+r),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__),s&&s.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=c):s&&(c=a?function(){s.call(this,this.$root.$options.shadowRoot)}:s),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}n.d(t,"a",(function(){return o}))},11:function(e,t){e.exports=n(4222)},12:function(e,t){e.exports=n(1080)},130:function(e,t,n){"use strict";n.r(t);var o,s,r=n(12),i=n.n(r),a=n(4),c=n.n(a),l=n(11),u=n.n(l),d=n(14),p=n.n(d),f=n(36),_=n.n(f),h=n(3),m={name:"ElDropdown",componentName:"ElDropdown",mixins:[c.a,u.a],directives:{Clickoutside:i.a},components:{ElButton:p.a,ElButtonGroup:_.a},provide:function(){return{dropdown:this}},props:{trigger:{type:String,default:"hover"},type:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},placement:{type:String,default:"bottom-end"},visibleArrow:{default:!0},showTimeout:{type:Number,default:250},hideTimeout:{type:Number,default:150},tabindex:{type:Number,default:0},disabled:{type:Boolean,default:!1}},data:function(){return{timeout:null,visible:!1,triggerElm:null,menuItems:null,menuItemsArray:null,dropdownElm:null,focusing:!1,listId:"dropdown-menu-"+Object(h["generateId"])()}},computed:{dropdownSize:function(){return this.size||(this.$ELEMENT||{}).size}},mounted:function(){this.$on("menu-item-click",this.handleMenuItemClick)},watch:{visible:function(e){this.broadcast("ElDropdownMenu","visible",e),this.$emit("visible-change",e)},focusing:function(e){var t=this.$el.querySelector(".el-dropdown-selfdefine");t&&(e?t.className+=" focusing":t.className=t.className.replace("focusing",""))}},methods:{getMigratingConfig:function(){return{props:{"menu-align":"menu-align is renamed to placement."}}},show:function(){var e=this;this.disabled||(clearTimeout(this.timeout),this.timeout=setTimeout((function(){e.visible=!0}),"click"===this.trigger?0:this.showTimeout))},hide:function(){var e=this;this.disabled||(this.removeTabindex(),this.tabindex>=0&&this.resetTabindex(this.triggerElm),clearTimeout(this.timeout),this.timeout=setTimeout((function(){e.visible=!1}),"click"===this.trigger?0:this.hideTimeout))},handleClick:function(){this.disabled||(this.visible?this.hide():this.show())},handleTriggerKeyDown:function(e){var t=e.keyCode;[38,40].indexOf(t)>-1?(this.removeTabindex(),this.resetTabindex(this.menuItems[0]),this.menuItems[0].focus(),e.preventDefault(),e.stopPropagation()):13===t?this.handleClick():[9,27].indexOf(t)>-1&&this.hide()},handleItemKeyDown:function(e){var t=e.keyCode,n=e.target,o=this.menuItemsArray.indexOf(n),s=this.menuItemsArray.length-1,r=void 0;[38,40].indexOf(t)>-1?(r=38===t?0!==o?o-1:0:o<s?o+1:s,this.removeTabindex(),this.resetTabindex(this.menuItems[r]),this.menuItems[r].focus(),e.preventDefault(),e.stopPropagation()):13===t?(this.triggerElmFocus(),n.click(),this.hideOnClick&&(this.visible=!1)):[9,27].indexOf(t)>-1&&(this.hide(),this.triggerElmFocus())},resetTabindex:function(e){this.removeTabindex(),e.setAttribute("tabindex","0")},removeTabindex:function(){this.triggerElm.setAttribute("tabindex","-1"),this.menuItemsArray.forEach((function(e){e.setAttribute("tabindex","-1")}))},initAria:function(){this.dropdownElm.setAttribute("id",this.listId),this.triggerElm.setAttribute("aria-haspopup","list"),this.triggerElm.setAttribute("aria-controls",this.listId),this.splitButton||(this.triggerElm.setAttribute("role","button"),this.triggerElm.setAttribute("tabindex",this.tabindex),this.triggerElm.setAttribute("class",(this.triggerElm.getAttribute("class")||"")+" el-dropdown-selfdefine"))},initEvent:function(){var e=this,t=this.trigger,n=this.show,o=this.hide,s=this.handleClick,r=this.splitButton,i=this.handleTriggerKeyDown,a=this.handleItemKeyDown;this.triggerElm=r?this.$refs.trigger.$el:this.$slots.default[0].elm;var c=this.dropdownElm;this.triggerElm.addEventListener("keydown",i),c.addEventListener("keydown",a,!0),r||(this.triggerElm.addEventListener("focus",(function(){e.focusing=!0})),this.triggerElm.addEventListener("blur",(function(){e.focusing=!1})),this.triggerElm.addEventListener("click",(function(){e.focusing=!1}))),"hover"===t?(this.triggerElm.addEventListener("mouseenter",n),this.triggerElm.addEventListener("mouseleave",o),c.addEventListener("mouseenter",n),c.addEventListener("mouseleave",o)):"click"===t&&this.triggerElm.addEventListener("click",
1s)},handleMenuItemClick:function(e,t){this.hideOnClick&&(this.visible=!1),this.$emit("command",e,t)},triggerElmFocus:function(){this.triggerElm.focus&&this.triggerElm.focus()},initDomOperation:function(){this.dropdownElm=this.popperElm,this.menuItems=this.dropdownElm.querySelectorAll("[tabindex='-1']"),this.menuItemsArray=[].slice.call(this.menuItems),this.initEvent(),this.initAria()}},render:function(e){var t=this,n=this.hide,o=this.splitButton,s=this.type,r=this.dropdownSize,i=this.disabled,a=function(e){t.$emit("click",e),n()},c=null;if(o)c=e("el-button-group",[e("el-button",{attrs:{type:s,size:r,disabled:i},nativeOn:{click:a}},[this.$slots.default]),e("el-button",{ref:"trigger",attrs:{type:s,size:r,disabled:i},class:"el-dropdown__caret-button"},[e("i",{class:"el-dropdown__icon el-icon-arrow-down"})])]);else{c=this.$slots.default;var l=c[0].data||{},u=l.attrs,d=void 0===u?{}:u;i&&!d.disabled&&(d.disabled=!0,l.attrs=d)}var p=i?null:this.$slots.dropdown;return e("div",{class:"el-dropdown",directives:[{name:"clickoutside",value:n}],attrs:{"aria-disabled":i}},[c,p])}},v=m,g=n(0),b=Object(g["a"])(v,o,s,!1,null,null,null);b.options.__file="packages/dropdown/src/dropdown.vue";var y=b.exports;y.install=function(e){e.component(y.name,y)};t["default"]=y},14:function(e,t){e.exports=n(6426)},3:function(e,t){e.exports=n(3104)},36:function(e,t){e.exports=n(7563)},4:function(e,t){e.exports=n(2477)}})},6473:function(e,t,n){e.exports=function(e){var t={};function n(o){if(t[o])return t[o].exports;var s=t[o]={i:o,l:!1,exports:{}};return e[o].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},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 o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(o,s,function(t){return e[t]}.bind(null,s));return o},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 o(e,t,n,o,s,r,i,a){var c,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),r&&(l._scopeId="data-v-"+r),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__),s&&s.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=c):s&&(c=a?function(){s.call(this,this.$root.$options.shadowRoot)}:s),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}n.d(t,"a",(function(){return o}))},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 o=n(7),s=n.n(o),r=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}}
1):e._e()],2)])},i=[];r._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))},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)}},l=c,u=n(0),d=Object(u["a"])(l,r,i,!1,null,null,null);d.options.__file="packages/message/src/main.vue";var p=d.exports,f=n(13),_=n(23),h=n(17),m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},v=s.a.extend(p),g=void 0,b=[],y=1,w=function e(t){if(!s.a.prototype.$isServer){t=t||{},"string"===typeof t&&(t={message:t});var n=t.onClose,o="message_"+y++;t.onClose=function(){e.close(o,n)},g=new v({data:t}),g.id=o,Object(_["isVNode"])(g.message)&&(g.$slots.default=[g.message],g.message=null),g.$mount(),document.body.appendChild(g.$el);var r=t.offset||20;return b.forEach((function(e){r+=e.$el.offsetHeight+16})),g.verticalOffset=r,g.visible=!0,g.$el.style.zIndex=f["PopupManager"].nextZIndex(),b.push(g),g}};["success","warning","info","error"].forEach((function(e){w[e]=function(t){return Object(h["isObject"])(t)&&!Object(_["isVNode"])(t)?w(m({},t,{type:e})):w({type:e,message:t})}})),w.close=function(e,t){for(var n=b.length,o=-1,s=void 0,r=0;r<n;r++)if(e===b[r].id){s=b[r].$el.offsetHeight,o=r,"function"===typeof t&&t(b[r]),b.splice(r,1);break}if(!(n<=1||-1===o||o>b.length-1))for(var i=o;i<n-1;i++){var a=b[i].$el;a.style["top"]=parseInt(a.style["top"],10)-s-16+"px"}},w.closeAll=function(){for(var e=b.length-1;e>=0;e--)b[e].close()};var C=w;t["default"]=C}})},2477:function(e,t){"use strict";function n(e,t,o){this.$children.forEach((function(s){var r=s.$options.componentName;r===e?s.$emit.apply(s,[t].concat(o)):n.apply(s,[e,t].concat([o]))}))}t.__esModule=!0,t["default"]={methods:{dispatch:function(e,t,n){var o=this.$parent||this.$root,s=o.$options.componentName;while(o&&(!s||s!==e))o=o.$parent,o&&(s=o.$options.componentName);o&&o.$emit.apply(o,[t].concat(n))},broadcast:function(e,t,o){n.call(this,e,t,o)}}}},4222:function(e,t,n){"use strict";t.__esModule=!0;n(3104);t["default"]={mounted:function(){},methods:{getMigratingConfig:function(){return{props:{},events:{}}}}}},4650:function(e,t,n){e.exports=function(e){var t={};function n(o){if(t[o])return t[o].exports;var s=t[o]={i:o,l:!1,exports:{}};return e[o].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},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 o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(o,s,function(t){return e[t]}.bind(null,s));return o},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";
1function o(e,t,n,o,s,r,i,a){var c,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),r&&(l._scopeId="data-v-"+r),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__),s&&s.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=c):s&&(c=a?function(){s.call(this,this.$root.$options.shadowRoot)}:s),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}n.d(t,"a",(function(){return o}))},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 o=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)}}):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)},s=[];o._withStripped=!0;var r=n(5),i=n.n(r),a=n(2),c=n(3),l={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}
1,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)}},u=l,d=n(0),p=Object(d["a"])(u,o,s,!1,null,null,null);p.options.__file="packages/popover/src/main.vue";var f=p.exports,_=function(e,t,n){var o=t.expression?t.value:t.arg,s=n.context.$refs[o];s&&(Array.isArray(s)?s[0].$refs.reference=e:s.$refs.reference=e)},h={bind:function(e,t,n){_(e,t,n)},inserted:function(e,t,n){_(e,t,n)}},m=n(7),v=n.n(m);v.a.directive("popover",h),f.install=function(e){e.directive("popover",h),e.component(f.name,f)},f.directive=h;t["default"]=f}})},1080:function(e,t,n){"use strict";t.__esModule=!0;var o=n(7203),s=i(o),r=n(4594);function i(e){return e&&e.__esModule?e:{default:e}}var a=[],c="@@clickoutsideContext",l=void 0,u=0;function d(e,t,n){return function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!(n&&n.context&&o.target&&s.target)||e.contains(o.target)||e.contains(s.target)||e===o.target||n.context.popperElm&&(n.context.popperElm.contains(o.target)||n.context.popperElm.contains(s.target))||(t.expression&&e[c].methodName&&n.context[e[c].methodName]?n.context[e[c].methodName]():e[c].bindingFn&&e[c].bindingFn())}}!s.default.prototype.$isServer&&(0,r.on)(document,"mousedown",(function(e){return l=e})),!s.default.prototype.$isServer&&(0,r.on)(document,"mouseup",(function(e){a.forEach((function(t){return t[c].documentHandler(e,l)}))})),t["default"]={bind:function(e,t,n){a.push(e);var o=u++;e[c]={id:o,documentHandler:d(e,t,n),methodName:t.expression,bindingFn:t.value}},update:function(e,t,n){e[c].documentHandler=d(e,t,n),e[c].methodName=t.expression,e[c].bindingFn=t.value},unbind:function(e){for(var t=a.length,n=0;n<t;n++)if(a[n][c].id===e[c].id){a.splice(n,1);break}delete e[c]}}},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 o="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=h,t.addClass=m,t.removeClass=v,t.setStyle=b;var s=n(7203),r=i(s);function i(e){return e&&e.__esModule?e:{default:e}}var a=r.default.prototype.$isServer,c=/([\:\-\_]+(.))/g,l=/^moz([A-Z])/,u=a?0:Number(document.documentMode),d=function(e){return(e||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,"")},p=function(e){return e.replace(c,(function(e,t,n,o){return o?n.toUpperCase():n})).replace(l,"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)}}(),_=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 o=function o(){n&&n.apply(this,arguments),_(e,t,o)};f(e,t,o)};function h(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 m(e,t){if(e){for(var n=e.className,o=(t||"").split(" "),s=0,r=o.length;s<r;s++){var i=o[s];i&&(e.classList?e.classList.add(i):h(e,i)||(n+=" "+i))}e.classList||e.setAttribute("class",n)}}function v(e,t){if(e&&t){for(var n=t.split(" "),o=" "+e.className+" ",s=0,r=n.length;s<r;s++){var i=n[s];i&&(e.classList?e.classList.remove(i):h(e,i)&&(o=o.replace(" "+i+" "," ")))}e.classList||e.setAttribute("class",d(o))}}var g=t.getStyle=u<9?function(e,t){if(!a){if(!e||!t)return null;t=p(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=p(t),"float"===t&&(t="cssFloat");try{var n=document.defaultView.getComputedStyle(e,"");return e.style[t]||n?n[t]:null}catch(o){return e.style[t]}}};function b(e,t,n){if(e&&t)if("object"===("undefined"===typeof t?"undefined":o(t)))for(var s in t)t.hasOwnProperty(s)&&b(e,s,t[s]);else t=p(t),"opacity"===t&&u<9?e.style.filter=isNaN(n)?"":"alpha(opacity="+100*n+")":e.style[t]=n}var y=t.isScroll=function(e,t){if(!a){var n=null!==t&&void 0!==t,o=g(e,n?t?"overflow-y":"overflow-x":"overflow");return o.match(/(scroll|auto|overlay)/)}};
1t.getScrollContainer=function(e,t){if(!a){var n=e;while(n){if([window,document,document.documentElement].includes(n))return window;if(y(n,t))return n;n=n.parentNode}return n}},t.isInContainer=function(e,t){if(a||!e||!t)return!1;var n=e.getBoundingClientRect(),o=void 0;return o=[window,document,document.documentElement,null,void 0].includes(t)?{top:0,right:window.innerWidth,bottom:window.innerHeight,left:0}:t.getBoundingClientRect(),n.top<o.bottom&&n.bottom>o.top&&n.right>o.left&&n.left<o.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 o=arguments[t]||{};for(var s in o)if(o.hasOwnProperty(s)){var r=o[s];void 0!==r&&(e[s]=r)}}return e}},8335:function(e,t,n){"use strict";var o,s;"function"===typeof Symbol&&Symbol.iterator;(function(r,i){o=i,s="function"===typeof o?o.call(t,n,t,e):o,void 0===s||(e.exports=s)})(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,o){this._reference=e.jquery?e[0]:e,this.state={};var s="undefined"===typeof n||null===n,r=n&&"[object Object]"===Object.prototype.toString.call(n);return this._popper=s||r?this.parse(r?n:{}):n.jquery?n[0]:n,this._options=Object.assign({},t,o),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),d(this._popper,{position:this.state.position,top:0}),this.update(),this._setupEventListeners(),this}function o(t){var n=t.style.display,o=t.style.visibility;t.style.display="block",t.style.visibility="hidden";t.offsetWidth;var s=e.getComputedStyle(t),r=parseFloat(s.marginTop)+parseFloat(s.marginBottom),i=parseFloat(s.marginLeft)+parseFloat(s.marginRight),a={width:t.offsetWidth+i,height:t.offsetHeight+r};return t.style.display=n,t.style.visibility=o,a}function s(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 r(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,o=0;for(n in e){if(e[n]===t)return o;o++}return null}function a(t,n){var o=e.getComputedStyle(t,null);return o[n]}function c(t){var n=t.offsetParent;return n!==e.document.body&&n?n:e.document.documentElement}function l(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:l(t.parentNode):t}function u(t){return t!==e.document.body&&("fixed"===a(t,"position")||(t.parentNode?u(t.parentNode):t))}function d(e,t){function n(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}Object.keys(t).forEach((function(o){var s="";-1!==["width","height","top","right","bottom","left"].indexOf(o)&&n(t[o])&&(s="px"),e.style[o]=t[o]+s}))}function p(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 _(e){var t=e.getBoundingClientRect(),n=-1!=navigator.userAgent.indexOf("MSIE"),o=n&&"HTML"===e.tagName?-e.scrollTop:t.top;return{left:t.left,top:o,right:t.right,bottom:t.bottom,width:t.right-t.left,height:t.bottom-o}}function h(e,t,n){var o=_(e),s=_(t);if(n){var r=l(t);s.top+=r.scrollTop,s.bottom+=r.scrollTop,s.left+=r.scrollLeft,s.right+=r.scrollLeft}var i={top:o.top-s.top,left:o.left-s.left,bottom:o.top-s.top+o.height,right:o.left-s.left+o.width,width:o.width,height:o.height};return i}function m(t){for(var n=["","ms","webkit","moz","o"],o=0;o<n.length;o++){var s=n[o]?n[o]+t.charAt(0).toUpperCase()+t.slice(1):t;if("undefined"!==typeof e.document.body.style[s])return s}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[m("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 o=e.document,s=o.createElement(t.tagName);if(a(s,t.classNames),c(s,t.attributes),"node"===t.contentType?s.appendChild(t.content.jquery?t.content[0]:t.content):"html"===t.contentType?s.innerHTML=t.content:s.textContent=t.content,t.arrowTagName){var r=o.createElement(t.arrowTagName);a(r,t.arrowClassNames),c(r,t.arrowAttributes),s.appendChild(r)}var i=t.parent.jquery?t.parent[0]:t.parent;if("string"===typeof i){if(i=o.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(s),s;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 o=u(t,n);return o?"fixed":"absolute"},n.prototype._getOffsets=function(e,t,n){n=n.split("-")[0];var s={};s.position=this.state.position;var r="fixed"===s.position,i=h(t,c(e),r),a=o(e);return-1!==["right","left"].indexOf(n)?(s.top=i.top+i.height/2-a.height/2,s.left="left"===n?i.left-a.width:i.right):(s.left=i.left+i.width/2-a.width/2,s.top="top"===n?i.top-a.height:i.bottom),s.width=a.width,s.height=a.height,{popper:s,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=l(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,o){var s,r,i={};if("window"===o){var a=e.document.body,u=e.document.documentElement;
1r=Math.max(a.scrollHeight,a.offsetHeight,u.clientHeight,u.scrollHeight,u.offsetHeight),s=Math.max(a.scrollWidth,a.offsetWidth,u.clientWidth,u.scrollWidth,u.offsetWidth),i={top:0,right:s,bottom:r,left:0}}else if("viewport"===o){var d=c(this._popper),p=l(this._popper),_=f(d),h=function(e){return e==document.body?Math.max(document.documentElement.scrollTop,document.body.scrollTop):e.scrollTop},m=function(e){return e==document.body?Math.max(document.documentElement.scrollLeft,document.body.scrollLeft):e.scrollLeft},v="fixed"===t.offsets.popper.position?0:h(p),g="fixed"===t.offsets.popper.position?0:m(p);i={top:0-(_.top-v),right:e.document.documentElement.clientWidth-(_.left-g),bottom:e.document.documentElement.clientHeight-(_.top-v),left:0-(_.left-g)}}else i=c(this._popper)===o?{top:0,left:0,right:o.clientWidth,bottom:o.clientHeight}:f(o);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 o=t.slice();return void 0!==n&&(o=this._options.modifiers.slice(0,i(this._options.modifiers,n))),o.forEach(function(t){p(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},o=Math.round(e.offsets.popper.left),s=Math.round(e.offsets.popper.top);return this._options.gpuAcceleration&&(t=m("transform"))?(n[t]="translate3d("+o+"px, "+s+"px, 0)",n.top=0,n.left=0):(n.left=o,n.top=s),Object.assign(n,e.styles),d(this._popper,n),this._popper.setAttribute("x-placement",e.placement),this.isModifierRequired(this.modifiers.applyStyle,this.modifiers.arrow)&&e.offsets.arrow&&d(e.arrowElement,e.offsets.arrow),e},n.prototype.modifiers.shift=function(e){var t=e.placement,n=t.split("-")[0],o=t.split("-")[1];if(o){var s=e.offsets.reference,i=r(e.offsets.popper),a={y:{start:{top:s.top},end:{top:s.top+s.height-i.height}},x:{start:{left:s.left},end:{left:s.left+s.width-i.width}}},c=-1!==["bottom","top"].indexOf(n)?"x":"y";e.offsets.popper=Object.assign(i,a[c][o])}return e},n.prototype.modifiers.preventOverflow=function(e){var t=this._options.preventOverflowOrder,n=r(e.offsets.popper),o={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,o[t]())})),e},n.prototype.modifiers.keepTogether=function(e){var t=r(e.offsets.popper),n=e.offsets.reference,o=Math.floor;return t.right<o(n.left)&&(e.offsets.popper.left=o(n.left)-t.width),t.left>o(n.right)&&(e.offsets.popper.left=o(n.right)),t.bottom<o(n.top)&&(e.offsets.popper.top=o(n.top)-t.height),t.top>o(n.bottom)&&(e.offsets.popper.top=o(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=s(t),o=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=s(t);var l=r(e.offsets.popper),u=-1!==["right","bottom"].indexOf(t);(u&&Math.floor(e.offsets.reference[t])>Math.floor(l[n])||!u&&Math.floor(e.offsets.reference[t])<Math.floor(l[n]))&&(e.flipped=!0,e.placement=i[c+1],o&&(e.placement+="-"+o),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 s={},i=e.placement.split("-")[0],a=r(e.offsets.popper),c=e.offsets.reference,l=-1!==["left","right"].indexOf(i),u=l?"height":"width",d=l?"top":"left",p=l?"left"
1:"top",f=l?"bottom":"right",_=o(t)[u];c[f]-_<a[d]&&(e.offsets.popper[d]-=a[d]-(c[f]-_)),c[d]+_>a[f]&&(e.offsets.popper[d]+=c[d]+_-a[f]);var h=c[d]+(n||c[u]/2-_/2),m=h-a[d];return m=Math.max(Math.min(a[u]-_-8,m),8),s[d]=m,s[p]="",e.offsets.arrow=s,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 o=arguments[n];if(void 0!==o&&null!==o){o=Object(o);for(var s=Object.keys(o),r=0,i=s.length;r<i;r++){var a=s[r],c=Object.getOwnPropertyDescriptor(o,a);void 0!==c&&c.enumerable&&(t[a]=o[a])}}}return t}}),n}))},2680:function(e,t,n){"use strict";t.__esModule=!0,t.PopupManager=void 0;var o=n(7203),s=p(o),r=n(1615),i=p(r),a=n(7562),c=p(a),l=n(1301),u=p(l),d=n(4594);function p(e){return e&&e.__esModule?e:{default:e}}var f=1,_=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,s.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 o=Number(n.openDelay);o>0?this._openTimer=setTimeout((function(){t._openTimer=null,t.doOpen(n)}),o):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,o=e.zIndex;if(o&&(c.default.zIndex=o),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,d.hasClass)(document.body,"el-popup-parent--hidden"),this.withoutHiddenClass&&(this.bodyPaddingRight=document.body.style.paddingRight,this.computedBodyPaddingRight=parseInt((0,d.getStyle)(document.body,"paddingRight"),10)),_=(0,u.default)();var s=document.documentElement.clientHeight<document.body.scrollHeight,r=(0,d.getStyle)(document.body,"overflowY");_>0&&(s||"scroll"===r)&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.computedBodyPaddingRight+_+"px"),(0,d.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,d.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 o=n(7203),s=i(o),r=n(4594);
1function i(e){return e&&e.__esModule?e:{default:e}}var a=!1,c=!1,l=void 0,u=function(){if(!s.default.prototype.$isServer){var e=p.modalDom;return e?a=!0:(a=!1,e=document.createElement("div"),p.modalDom=e,e.addEventListener("touchmove",(function(e){e.preventDefault(),e.stopPropagation()})),e.addEventListener("click",(function(){p.doOnModalClick&&p.doOnModalClick()}))),e}},d={},p={modalFade:!0,getInstance:function(e){return d[e]},register:function(e,t){e&&t&&(d[e]=t)},deregister:function(e){e&&(d[e]=null,delete d[e])},nextZIndex:function(){return p.zIndex++},modalStack:[],doOnModalClick:function(){var e=p.modalStack[p.modalStack.length-1];if(e){var t=p.getInstance(e.id);t&&t.closeOnClickModal&&t.close()}},openModal:function(e,t,n,o,i){if(!s.default.prototype.$isServer&&e&&void 0!==t){this.modalFade=i;for(var c=this.modalStack,l=0,d=c.length;l<d;l++){var p=c[l];if(p.id===e)return}var f=u();if((0,r.addClass)(f,"v-modal"),this.modalFade&&!a&&(0,r.addClass)(f,"v-modal-enter"),o){var _=o.trim().split(/\s+/);_.forEach((function(e){return(0,r.addClass)(f,e)}))}setTimeout((function(){(0,r.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:o})}},closeModal:function(e){var t=this.modalStack,n=u();if(t.length>0){var o=t[t.length-1];if(o.id===e){if(o.modalClass){var s=o.modalClass.trim().split(/\s+/);s.forEach((function(e){return(0,r.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,r.addClass)(n,"v-modal-leave"),setTimeout((function(){0===t.length&&(n.parentNode&&n.parentNode.removeChild(n),n.style.display="none",p.modalDom=void 0),(0,r.removeClass)(n,"v-modal-leave")}),200))}};Object.defineProperty(p,"zIndex",{configurable:!0,get:function(){return c||(l=l||(s.default.prototype.$ELEMENT||{}).zIndex||2e3,c=!0),l},set:function(e){l=e}});var f=function(){if(!s.default.prototype.$isServer&&p.modalStack.length>0){var e=p.modalStack[p.modalStack.length-1];if(!e)return;var t=p.getInstance(e.id);return t}};s.default.prototype.$isServer||window.addEventListener("keydown",(function(e){if(27===e.keyCode){var t=f();t&&t.closeOnPressEscape&&(t.handleClose?t.handleClose():t.handleAction?t.handleAction("cancel"):t.close())}})),t["default"]=p},1301:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(){if(s.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 o=n.offsetWidth;return e.parentNode.removeChild(e),i=t-o,i};var o=n(7203),s=r(o);function r(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 o="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=l;var s=n(7203),r=i(s);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 l(e){return e&&e.nodeType===Node.ELEMENT_NODE}var u=function(e){var t={};return e&&"[object Function]"===t.toString.call(e)};"object"===("undefined"===typeof Int8Array?"undefined":o(Int8Array))||!r.default.prototype.$isServer&&"function"===typeof document.childNodes||(t.isFunction=u=function(e){return"function"===typeof e||!1}),t.isFunction=u;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.auto
1prefixer=t.isFirefox=t.isEdge=t.isIE=t.coerceTruthyValueToArray=t.arrayFind=t.arrayFindIndex=t.escapeRegexpString=t.valueEquals=t.generateId=t.getValueByPath=void 0;var o="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=l,t.hasOwn=u,t.toObject=p,t.getPropByPath=f,t.rafThrottle=g,t.objToArray=b;var s=n(7203),r=a(s),i=n(5389);function a(e){return e&&e.__esModule?e:{default:e}}var c=Object.prototype.hasOwnProperty;function l(){}function u(e,t){return c.call(e,t)}function d(e,t){for(var n in t)e[n]=t[n];return e}function p(e){for(var t={},n=0;n<e.length;n++)e[n]&&d(t,e[n]);return t}t.getValueByPath=function(e,t){t=t||"";for(var n=t.split("."),o=e,s=null,r=0,i=n.length;r<i;r++){var a=n[r];if(!o)break;if(r===i-1){s=o[a];break}o=o[a]}return s};function f(e,t,n){var o=e;t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,"");for(var s=t.split("."),r=0,i=s.length;r<i-1;++r){if(!o&&!n)break;var a=s[r];if(!(a in o)){if(n)throw new Error("please transfer a valid prop path to form item!");break}o=o[a]}return{o:o,k:s[r],v:o?o[s[r]]: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 _=t.arrayFindIndex=function(e,t){for(var n=0;n!==e.length;++n)if(t(e[n]))return n;return-1},h=(t.arrayFind=function(e,t){var n=_(e,t);return-1!==n?e[n]:void 0},t.coerceTruthyValueToArray=function(e){return Array.isArray(e)?e:e?[e]:[]},t.isIE=function(){return!r.default.prototype.$isServer&&!isNaN(Number(document.documentMode))},t.isEdge=function(){return!r.default.prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},t.isFirefox=function(){return!r.default.prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)},t.autoprefixer=function(e){if("object"!==("undefined"===typeof e?"undefined":o(e)))return e;var t=["transform","transition","animation"],n=["ms-","webkit-"];return t.forEach((function(t){var o=e[t];t&&o&&n.forEach((function(n){e[n+t]=o}))})),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),o=(0,i.isObject)(t);return n&&o?JSON.stringify(e)===JSON.stringify(t):!n&&!o&&String(e)===String(t)}),m=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(!h(e[n],t[n]))return!1;return!0},v=(t.isEqual=function(e,t){return Array.isArray(e)&&Array.isArray(t)?m(e,t):h(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,o=arguments.length,s=Array(o),r=0;r<o;r++)s[r]=arguments[r];t||(t=!0,window.requestAnimationFrame((function(o){e.apply(n,s),t=!1})))}}function b(e){return Array.isArray(e)?e:v(e)?[]:[e]}t.isMac=function(){return!r.default.prototype.$isServer&&/macintosh|mac os x/i.test(navigator.userAgent)}},4823:function(e,t,n){"use strict";t.__esModule=!0;var o="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=r;var s=n(3104);function r(e){return null!==e&&"object"===("undefined"===typeof e?"undefined":o(e))&&(0,s.hasOwn)(e,"componentOptions")}},499:function(e,t,n){"use strict";t.__esModule=!0;var o=n(7203),s=i(o),r=n(2680);
1function i(e){return e&&e.__esModule?e:{default:e}}var a=s.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,o=this.referenceElm=this.referenceElm||this.reference||this.$refs.reference;!o&&this.$slots.reference&&this.$slots.reference[0]&&(o=this.referenceElm=this.$slots.reference[0].elm),n&&o&&(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(o,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=r.PopupManager.nextZIndex(),this.popperElm.addEventListener("click",c))}},updatePopper:function(){var e=this.popperJS;e?(e.update(),e._popper&&(e._popper.style.zIndex=r.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 o=document.createElement("div");t&&o.setAttribute(t,""),o.setAttribute("x-arrow",""),o.className="popper__arrow",e.appendChild(o)}}},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 o=n(5639),s=o.Symbol;e.exports=s},4239:function(e,t,n){var o=n(2705),s=n(9607),r=n(2333),i="[object Null]",a="[object Undefined]",c=o?o.toStringTag:void 0;function l(e){return null==e?void 0===e?a:i:c&&c in Object(e)?s(e):r(e)}e.exports=l},7561:function(e,t,n){var o=n(7990),s=/^\s+/;function r(e){return e?e.slice(0,o(e)+1).replace(s,""):e}e.exports=r},1957:function(e,t,n){var o="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=o},9607:function(e,t,n){var o=n(2705),s=Object.prototype,r=s.hasOwnProperty,i=s.toString,a=o?o.toStringTag:void 0;function c(e){var t=r.call(e,a),n=e[a];try{e[a]=void 0;var o=!0}catch(c){}var s=i.call(e);return o&&(t?e[a]=n:delete e[a]),s}e.exports=c},2333:function(e){var t=Object.prototype,n=t.toString;function o(e){return n.call(e)}e.exports=o},5639:function(e,t,n){var o=n(1957),s="object"==typeof self&&self&&self.Object===Object&&self,r=o||s||Function("return this")();e.exports=r},7990:function(e){var t=/\s/;function n(e){var n=e.length;while(n--&&t.test(e.charAt(n)));return n}
1e.exports=n},3279:function(e,t,n){var o=n(3218),s=n(7771),r=n(4841),i="Expected a function",a=Math.max,c=Math.min;function l(e,t,n){var l,u,d,p,f,_,h=0,m=!1,v=!1,g=!0;if("function"!=typeof e)throw new TypeError(i);function b(t){var n=l,o=u;return l=u=void 0,h=t,p=e.apply(o,n),p}function y(e){return h=e,f=setTimeout(S,t),m?b(e):p}function w(e){var n=e-_,o=e-h,s=t-n;return v?c(s,d-o):s}function C(e){var n=e-_,o=e-h;return void 0===_||n>=t||n<0||v&&o>=d}function S(){var e=s();if(C(e))return x(e);f=setTimeout(S,w(e))}function x(e){return f=void 0,g&&l?b(e):(l=u=void 0,p)}function k(){void 0!==f&&clearTimeout(f),h=0,l=_=u=f=void 0}function E(){return void 0===f?p:x(s())}function $(){var e=s(),n=C(e);if(l=arguments,u=this,_=e,n){if(void 0===f)return y(_);if(v)return clearTimeout(f),f=setTimeout(S,t),b(_)}return void 0===f&&(f=setTimeout(S,t)),p}return t=r(t)||0,o(n)&&(m=!!n.leading,v="maxWait"in n,d=v?a(r(n.maxWait)||0,t):d,g="trailing"in n?!!n.trailing:g),$.cancel=k,$.flush=E,$}e.exports=l},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 o=n(4239),s=n(7005),r="[object Symbol]";function i(e){return"symbol"==typeof e||s(e)&&o(e)==r}e.exports=i},7771:function(e,t,n){var o=n(5639),s=function(){return o.Date.now()};e.exports=s},3493:function(e,t,n){var o=n(3279),s=n(3218),r="Expected a function";function i(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError(r);return s(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),o(e,t,{leading:i,maxWait:t,trailing:a})}e.exports=i},4841:function(e,t,n){var o=n(7561),s=n(3218),r=n(3448),i=NaN,a=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt;function d(e){if("number"==typeof e)return e;if(r(e))return i;if(s(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=s(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=o(e);var n=c.test(e);return n||l.test(e)?u(e.slice(2),n?2:8):a.test(e)?i:+e}e.exports=d},7203:function(t){"use strict";t.exports=e},509:function(e,t,n){"use strict";var o=n(9985),s=n(3691),r=TypeError;e.exports=function(e){if(o(e))return e;throw new r(s(e)+" is not a function")}},5027:function(e,t,n){"use strict";var o=n(8999),s=String,r=TypeError;e.exports=function(e){if(o(e))return e;throw new r(s(e)+" is not an object")}},4328:function(e,t,n){"use strict";var o=n(5290),s=n(7578),r=n(6310),i=function(e){return function(t,n,i){var a=o(t),c=r(a);if(0===c)return!e&&-1;var l,u=s(i,c);if(e&&n!==n){while(c>u)if(l=a[u++],l!==l)return!0}else for(;c>u;u++)if((e||u in a)&&a[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},5649:function(e,t,n){"use strict";var o=n(7697),s=n(2297),r=TypeError,i=Object.getOwnPropertyDescriptor,a=o&&!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(s(e)&&!i(e,"length").writable)throw new r("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},6648:function(e,t,n){"use strict";var o=n(8844),s=o({}.toString),r=o("".slice);e.exports=function(e){return r(s(e),8,-1)}},926:function(e,t,n){"use strict";var o=n(3043),s=n(9985),r=n(6648),i=n(4201),a=i("toStringTag"),c=Object,l="Arguments"===r(function(){return arguments}()),u=function(e,t){try{return e[t]}catch(n){}};e.exports=o?r:function(e){var t,n,o;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=u(t=c(e),a))?n:l?r(t):"Object"===(o=r(t))&&s(t.callee)?"Arguments":o}},8758:function(e,t,n){"use strict";var o=n(6812),s=n(9152),r=n(2474),i=n(2560);e.exports=function(e,t,n){for(var a=s(t),c=i.f,l=r.f,u=0;u<a.length;u++){var d=a[u];o(e,d)||n&&o(n,d)||c(e,d,l(t,d))}}},5773:function(e,t,n){"use strict";var o=n(7697),s=n(2560),r=n(5684);e.exports=o?function(e,t,n){return s.f(e,t,r(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}}},2148:function(e,t,n){"use strict";var o=n(8702),s=n(2560);e.exports=function(e,t,n){return n.get&&o(n.get,t,{getter:!0}),n.set&&o(n.set,t,{setter:!0}),s.f(e,t,n)}},1880:function(e,t,n){"use strict";var o=n(9985),s=n(2560),r=n(8702),i=n(5014);e.exports=function(e,t,n,a){a||(a={});var c=a.enumerable,l=void 0!==a.name?a.name:t;if(o(n)&&r(n,l,a),a.global)c?e[t]=n:i(t,n);else{try{a.unsafe?e[t]&&(c=!0):delete e[t]}catch(u){}
vendor: 11,505 bytes, line 1
1c?e[t]=n:s.f(e,t,{value:n,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},5014:function(e,t,n){"use strict";var o=n(1087),s=Object.defineProperty;e.exports=function(e,t){try{s(o,e,{value:t,configurable:!0,writable:!0})}catch(n){o[e]=t}return t}},7697:function(e,t,n){"use strict";var o=n(3689);e.exports=!o((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},6420:function(e,t,n){"use strict";var o=n(1087),s=n(8999),r=o.document,i=s(r)&&s(r.createElement);e.exports=function(e){return i?r.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 o=n(1087),s=o.navigator,r=s&&s.userAgent;e.exports=r?String(r):""},1352:function(e,t,n){"use strict";var o,s,r=n(1087),i=n(8017),a=r.process,c=r.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u&&(o=u.split("."),s=o[0]>0&&o[0]<4?1:+(o[0]+o[1])),!s&&i&&(o=i.match(/Edge\/(\d+)/),(!o||o[1]>=74)&&(o=i.match(/Chrome\/(\d+)/),o&&(s=+o[1]))),e.exports=s},9989:function(e,t,n){"use strict";var o=n(1087),s=n(2474).f,r=n(5773),i=n(1880),a=n(5014),c=n(8758),l=n(5266);e.exports=function(e,t){var n,u,d,p,f,_,h=e.target,m=e.global,v=e.stat;if(u=m?o:v?o[h]||a(h,{}):o[h]&&o[h].prototype,u)for(d in t){if(f=t[d],e.dontCallGetSet?(_=s(u,d),p=_&&_.value):p=u[d],n=l(m?d:h+(v?".":"#")+d,e.forced),!n&&void 0!==p){if(typeof f==typeof p)continue;c(f,p)}(e.sham||p&&p.sham)&&r(f,"sham",!0),i(u,d,f,e)}}},3689:function(e){"use strict";e.exports=function(e){try{return!!e()}catch(t){return!0}}},7215:function(e,t,n){"use strict";var o=n(3689);e.exports=!o((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},2615:function(e,t,n){"use strict";var o=n(7215),s=Function.prototype.call;e.exports=o?s.bind(s):function(){return s.apply(s,arguments)}},1236:function(e,t,n){"use strict";var o=n(7697),s=n(6812),r=Function.prototype,i=o&&Object.getOwnPropertyDescriptor,a=s(r,"name"),c=a&&"something"===function(){}.name,l=a&&(!o||o&&i(r,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:l}},8844:function(e,t,n){"use strict";var o=n(7215),s=Function.prototype,r=s.call,i=o&&s.bind.bind(r,r);e.exports=o?i:function(e){return function(){return r.apply(e,arguments)}}},6058:function(e,t,n){"use strict";var o=n(1087),s=n(9985),r=function(e){return s(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?r(o[e]):o[e]&&o[e][t]}},4849:function(e,t,n){"use strict";var o=n(509),s=n(981);e.exports=function(e,t){var n=e[t];return s(n)?void 0:o(n)}},1087:function(e,t,n){"use strict";var o=function(e){return e&&e.Math===Math&&e};e.exports=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof n.g&&n.g)||o("object"==typeof this&&this)||function(){return this}()||Function("return this")()},6812:function(e,t,n){"use strict";var o=n(8844),s=n(690),r=o({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return r(s(e),t)}},7248:function(e){"use strict";e.exports={}},8506:function(e,t,n){"use strict";var o=n(7697),s=n(3689),r=n(6420);e.exports=!o&&!s((function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},4413:function(e,t,n){"use strict";var o=n(8844),s=n(3689),r=n(6648),i=Object,a=o("".split);e.exports=s((function(){return!i("z").propertyIsEnumerable(0)}))?function(e){return"String"===r(e)?a(e,""):i(e)}:i},6738:function(e,t,n){"use strict";var o=n(8844),s=n(9985),r=n(4091),i=o(Function.toString);s(r.inspectSource)||(r.inspectSource=function(e){return i(e)}),e.exports=r.inspectSource},618:function(e,t,n){"use strict";var o,s,r,i=n(9834),a=n(1087),c=n(8999),l=n(5773),u=n(6812),d=n(4091),p=n(2713),f=n(7248),_="Object already initialized",h=a.TypeError,m=a.WeakMap,v=function(e){return r(e)?s(e):o(e,{})},g=function(e){return function(t){var n;if(!c(t)||(n=s(t)).type!==e)throw new h("Incompatible receiver, "+e+" required");return n}};if(i||d.state){var b=d.state||(d.state=new m);b.get=b.get,b.has=b.has,b.set=b.set,o=function(e,t){if(b.has(e))throw new h(_);return t.facade=e,b.set(e,t),t},s=function(e){return b.get(e)||{}},r=function(e){return b.has(e)}}else{var y=p("state");f[y]=!0,o=function(e,t){if(u(e,y))throw new h(_);return t.facade=e,l(e,y,t),t},s=function(e){return u(e,y)?e[y]:{}},r=function(e){return u(e,y)}}e.exports={set:o,get:s,has:r,enforce:v,getterFor:g}},2297:function(e,t,n){"use strict";var o=n(6648);e.exports=Array.isArray||function(e){return"Array"===o(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 o=n(3689),s=n(9985),r=/#|\.prototype\./,i=function(e,t){var n=c[a(e)];return n===u||n!==l&&(s(t)?o(t):!!t)},a=i.normalize=function(e){return String(e).replace(r,".").toLowerCase()},c=i.data={},l=i.NATIVE="N",u=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 o=n(9985);e.exports=function(e){return"object"==typeof e?null!==e:o(e)}},3931:function(e){"use strict";e.exports=!1},734:function(e,t,n){"use strict";var o=n(6058),s=n(9985),r=n(3622),i=n(9525),a=Object;e.exports=i?function(e){return"symbol"==typeof e}:function(e){var t=o("Symbol");return s(t)&&r(t.prototype,a(e))}},6310:function(e,t,n){"use strict";var o=n(3126);e.exports=function(e){return o(e.length)}},8702:function(e,t,n){"use strict";var o=n(8844),s=n(3689),r=n(9985),i=n(6812),a=n(7697),c=n(1236).CONFIGURABLE,l=n(6738),u=n(618),d=u.enforce,p=u.get,f=String,_=Object.defineProperty,h=o("".slice),m=o("".replace),v=o([].join),g=a&&!s((function(){return 8!==_((function(){}),"length",{value:8}).length})),b=String(String).split("String"),y=e.exports=function(e,t,n){"Symbol("===h(f(t),0,7)&&(t="["+m(f(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!i(e,"name")||c&&e.name!==t)&&(a?_(e,"name",{value:t,configurable:!0}):e.name=t),g&&n&&i(n,"arity")&&e.length!==n.arity&&_(e,"length",{value:n.arity});try{n&&i(n,"constructor")&&n.constructor?a&&_(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(s){}var o=d(e);return i(o,"source")||(o.source=v(b,"string"==typeof t?t:"")),e};Function.prototype.toString=y((function(){return r(this)&&p(this).source||l(this)}),"toString")},8828:function(e){"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var o=+e;return(o>0?n:t)(o)}},2560:function(e,t,n){"use strict";var o=n(7697),s=n(8506),r=n(5648),i=n(5027),a=n(8360),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",p="configurable",f="writable";t.f=o?r?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 o=u(e,t);o&&o[f]&&(e[t]=n.value,n={configurable:p in n?n[p]:o[p],enumerable:d in n?n[d]:o[d],writable:!1})}return l(e,t,n)}:l:function(e,t,n){if(i(e),t=a(t),i(n),s)try{return l(e,t,n)}catch(o){}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 o=n(7697),s=n(2615),r=n(9556),i=n(5684),a=n(5290),c=n(8360),l=n(6812),u=n(8506),d=Object.getOwnPropertyDescriptor;t.f=o?d:function(e,t){if(e=a(e),t=c(t),u)try{return d(e,t)}catch(n){}if(l(e,t))return i(!s(r.f,e,t),e[t])}},2741:function(e,t,n){"use strict";var o=n(4948),s=n(2739),r=s.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return o(e,r)}},7518:function(e,t){"use strict";t.f=Object.getOwnPropertySymbols},3622:function(e,t,n){"use strict";var o=n(8844);e.exports=o({}.isPrototypeOf)},4948:function(e,t,n){"use strict";var o=n(8844),s=n(6812),r=n(5290),i=n(4328).indexOf,a=n(7248),c=o([].push);e.exports=function(e,t){var n,o=r(e),l=0,u=[];for(n in o)!s(a,n)&&s(o,n)&&c(u,n);while(t.length>l)s(o,n=t[l++])&&(~i(u,n)||c(u,n));return u}},9556:function(e,t){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,s=o&&!n.call({1:2},1);t.f=s?function(e){var t=o(this,e);return!!t&&t.enumerable}:n},5899:function(e,t,n){"use strict";var o=n(2615),s=n(9985),r=n(8999),i=TypeError;e.exports=function(e,t){var n,a;if("string"===t&&s(n=e.toString)&&!r(a=o(n,e)))return a;if(s(n=e.valueOf)&&!r(a=o(n,e)))return a;if("string"!==t&&s(n=e.toString)&&!r(a=o(n,e)))return a;throw new i("Can't convert object to primitive value")}},9152:function(e,t,n){"use strict";var o=n(6058),s=n(8844),r=n(2741),i=n(7518),a=n(5027),c=s([].concat);e.exports=o("Reflect","ownKeys")||function(e){var t=r.f(a(e)),n=i.f;return n?c(t,n(e)):t}},4684:function(e,t,n){"use strict";var o=n(981),s=TypeError;e.exports=function(e){if(o(e))throw new s("Can't call method on "+e);return e}},2713:function(e,t,n){"use strict";var o=n(3430),s=n(4630),r=o("keys");e.exports=function(e){return r[e]||(r[e]=s(e))}},4091:function(e,t,n){"use strict";var o=n(3931),s=n(1087),r=n(5014),i="__core-js_shared__",a=e.exports=s[i]||r(i,{});(a.versions||(a.versions=[])).push({version:"3.38.1",mode:o?"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 o=n(4091);e.exports=function(e,t){return o[e]||(o[e]=t||{})}},146:function(e,t,n){"use strict";var o=n(1352),s=n(3689),r=n(1087),i=r.String;e.exports=!!Object.getOwnPropertySymbols&&!s((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&o&&o<41}))},7578:function(e,t,n){"use strict";var o=n(8700),s=Math.max,r=Math.min;e.exports=function(e,t){var n=o(e);return n<0?s(n+t,0):r(n,t)}},5290:function(e,t,n){"use strict";var o=n(4413),s=n(4684);e.exports=function(e){return o(s(e))}},8700:function(e,t,n){"use strict";var o=n(8828);e.exports=function(e){var t=+e;return t!==t||0===t?0:o(t)}},3126:function(e,t,n){"use strict";var o=n(8700),s=Math.min;e.exports=function(e){var t=o(e);return t>0?s(t,9007199254740991):0}},690:function(e,t,n){"use strict";var o=n(4684),s=Object;e.exports=function(e){return s(o(e))}},8732:function(e,t,n){"use strict";var o=n(2615),s=n(8999),r=n(734),i=n(4849),a=n(5899),c=n(4201),l=TypeError,u=c("toPrimitive");e.exports=function(e,t){if(!s(e)||r(e))return e;var n,c=i(e,u);if(c){if(void 0===t&&(t="default"),n=o(c,e,t),!s(n)||r(n))return n;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},8360:function(e,t,n){"use strict";var o=n(8732),s=n(734);e.exports=function(e){var t=o(e,"string");return s(t)?t:t+""}},3043:function(e,t,n){"use strict";var o=n(4201),s=o("toStringTag"),r={};r[s]="z",e.exports="[object z]"===String(r)},4327:function(e,t,n){"use strict";var o=n(926),s=String;e.exports=function(e){if("Symbol"===o(e))throw new TypeError("Cannot convert a Symbol value to a string");return s(e)}},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 o=n(8844),s=0,r=Math.random(),i=o(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++s+r,3
16)}},9525:function(e,t,n){"use strict";var o=n(146);e.exports=o&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5648:function(e,t,n){"use strict";var o=n(7697),s=n(3689);e.exports=o&&s((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},1500:function(e){"use strict";var t=TypeError;e.exports=function(e,n){if(e<n)throw new t("Not enough arguments");return e}},9834:function(e,t,n){"use strict";var o=n(1087),s=n(9985),r=o.WeakMap;e.exports=s(r)&&/native code/.test(String(r))},4201:function(e,t,n){"use strict";var o=n(1087),s=n(3430),r=n(6812),i=n(4630),a=n(146),c=n(9525),l=o.Symbol,u=s("wks"),d=c?l["for"]||l:l&&l.withoutSetter||i;e.exports=function(e){return r(u,e)||(u[e]=a&&r(l,e)?l[e]:d("Symbol."+e)),u[e]}},560:function(e,t,n){"use strict";var o=n(9989),s=n(690),r=n(6310),i=n(5649),a=n(5565),c=n(3689),l=c((function(){return 4294967297!==[].push.call({length:4294967296},1)})),u=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}},d=l||!u();o({target:"Array",proto:!0,arity:1,forced:d},{push:function(e){var t=s(this),n=r(t),o=arguments.length;a(n+o);for(var c=0;c<o;c++)t[n]=arguments[c],n++;return i(t,n),n}})},8858:function(e,t,n){"use strict";var o=n(1880),s=n(8844),r=n(4327),i=n(1500),a=URLSearchParams,c=a.prototype,l=s(c.append),u=s(c["delete"]),d=s(c.forEach),p=s([].push),f=new a("a=1&a=2&b=3");f["delete"]("a",1),f["delete"]("b",void 0),f+""!=="a=2"&&o(c,"delete",(function(e){var t=arguments.length,n=t<2?void 0:arguments[1];if(t&&void 0===n)return u(this,e);var o=[];d(this,(function(e,t){p(o,{key:t,value:e})})),i(t,1);var s,a=r(e),c=r(n),f=0,_=0,h=!1,m=o.length;while(f<m)s=o[f++],h||s.key===a?(h=!0,u(this,s.key)):_++;while(_<m)s=o[_++],s.key===a&&s.value===c||l(this,s.key,s.value)}),{enumerable:!0,unsafe:!0})},1318:function(e,t,n){"use strict";var o=n(1880),s=n(8844),r=n(4327),i=n(1500),a=URLSearchParams,c=a.prototype,l=s(c.getAll),u=s(c.has),d=new a("a=1");!d.has("a",2)&&d.has("a",void 0)||o(c,"has",(function(e){var t=arguments.length,n=t<2?void 0:arguments[1];if(t&&void 0===n)return u(this,e);var o=l(this,e);i(t,1);var s=r(n),a=0;while(a<o.length)if(o[a++]===s)return!0;return!1}),{enumerable:!0,unsafe:!0})},3228:function(e,t,n){"use strict";var o=n(7697),s=n(8844),r=n(2148),i=URLSearchParams.prototype,a=s(i.forEach);o&&!("size"in i)&&r(i,"size",{get:function(){var e=0;return a(this,(function(){e++})),e},configurable:!0,enumerable:!0})}},n={};function o(e){var s=n[e];if(void 0!==s)return s.exports;var r=n[e]={exports:{}};return t[e].call(r.exports,r,r.exports,o),r.exports}!function(){o.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return o.d(t,{a:t}),t}}(),function(){o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}}(),function(){o.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){o.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){o.p=""}();var s={};return function(){"use strict";o.r(s);var e={};if(o.r(e),o.d(e,{hasBrowserEnv:function(){return gt},hasStandardBrowserEnv:function(){return bt},hasStandardBrowserWebWorkerEnv:function(){return yt},origin:function(){return wt}}),"undefined"!==typeof window){var t=window.document.currentScript,n=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);n&&(o.p=n[1])}var r=o(6473),i=o.n(r),a=o(6177),c=o.n(a),l=o(7203),u=o.n(l);function d(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||d;d.bind(Object);function p(){return"undefined"!==typeof Symbol&&"undefined"!==typeof Reflect&&"undefined"!==typeof Proxy&&!Object.isSealed(Proxy)}var f=p(),_=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(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 v(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 g(){return Reflect.construct(HTMLElement,[],this.__proto__.constructor)}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("undefined"!==typeof customElements){if(f){var n=function(e){function n(e){var t;h(this,n);var o=m(this,(n.__proto__||Object.getPrototypeOf(n)).call(this)),r=e?HTMLElement.call(e):o;return s.call(r),t=r,m(o,t)}return v(n,e),_(n,null,[{key:"observedAttributes",get:function(){return t.observedAttributes||[]}}]),n}(g);return n.prototype.connectedCallback=r,n.prototype.disconnectedCallback=i,n.prototype.attributeChangedCallback=a,c(e,n),n}var o=function(e){var t=e?HTMLElement.call(e):this;return s.call(t),t};return o.observedAttributes=t.observedAttributes||[],o.prototype=Object.create(HTMLElement.prototype,{constructor:{configurable:!0,writable:!0,value:o}}),o.prototype.connectedCallback=r,o.prototype.disconnectedCallback=i,o.prototype.attributeChangedCallback=a,c(e,o),o}function s(){!0===t.shadow&&HTMLElement.prototype.attachShadow&&this.attachShadow({mode:"open"}),"function"===typeof t.constructorCallback&&t.constructorCallback.call(this)}function r(){"function"===typeof t.connectedCallback&&t.connectedCallback.call(this)}function i(){"function"===typeof t.disconnectedCallback&&t.disconnectedCallback.call(this)}function a(e,n,o){"function"===typeof t.attributeChangedCallback&&t.attributeChangedCallback.call(this,e,n,o)}function c(e,t){var n=customElements.get(e);return"undefined"!==typeof n?n:customElements.define(e,t)}}Object.setPrototypeOf(g.prototype,HTMLElement.prototype),Object.setPrototypeOf(g,HTMLElement);var y=/-(\w)/g,w=function(e){return e.replace(y,(function(e,t){return t?t.toUpperCase():""}))},C=/([^-])([A-Z])/g,S=function(e){return e.replace(C,"$1-$2").replace(C,"$1-$2").toLowerCase()};function x(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e.length-t,o=new Array(n);while(n--)o[n]=e[n+t];return o}var k="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 E(e,t){if(null===e||void 0===e)return t!==Boolean&&void 0;var n=e,o=["true","false"].indexOf(e)>-1,s=parseFloat(n,10),r=!isNaN(s)&&isFinite(n)&&"string"===typeof n&&!n.match(/^0+[^.]\d*$/g);return t&&t!==Boolean&&("undefined"===typeof n?"undefined":k(n))!==t?n=t(e):o||t===Boolean?n=""===n||("true"===n||!0===n):r&&(n=s),n}function $(e,t){if(e&&e.length)e.forEach((function(e){var n=w(e);-1===t.camelCase.indexOf(n)&&t.camelCase.push(n)}));else if(e&&"object"===("undefined"===typeof e?"undefined":k(e)))for(var n in e){var o=w(n);-1===t.camelCase.indexOf(o)&&t.camelCase.push(o),e[o]&&e[o].type&&(t.types[n]=[].concat(e[o].type)[0])}}function O(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={camelCase:[],hyphenate:[],types:{}};if(e.mixins&&e.mixins.forEach((function(e){$(e.props,t)})),e.extends&&e.extends.props){var n=e.extends.props;$(n,t)}return $(e.props,t),t.camelCase.forEach((function(e){t.hyphenate.push(S(e))})),t}function T(e,t){t.camelCase.forEach((function(n,o){Object.defineProperty(e,n,{get:function(){return this.__vue_custom_element__[n]},set:function(e){if("object"!==("undefined"===typeof e?"undefined":k(e))&&"function"!==typeof e||!this.__vue_custom_element__){var n=t.types[t.camelCase[o]];this.setAttribute(t.hyphenate[o],E(e,n))}else{var s=t.camelCase[o];this.__vue_custom_element__[s]=e}}})}))}function I(e,t,n){var o=t.propsData||{};return n.hyphenate.forEach((function(t,s){var r=n.camelCase[s],i=e.attributes[t]||e[r],a=null;n.types[r]&&(a=n.types[r]),i instanceof Attr?o[r]=E(i.value,a):"undefined"!==typeof i&&(o[r]=i)})),o}function M(e){var t={};
7return x(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 P(e,t,n){var o=L(t),s=x(o).map((function(t){return"#text"===t.nodeName?t.nodeValue:e(t.tagName,{attrs:M(t),domProps:{innerHTML:t.innerHTML}})}));return n.slot=t.id,e("template",n,s)}function A(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],n=[];return x(e).forEach((function(e){if("#text"===e.nodeName)e.nodeValue.trim()&&n.push(t("span",e.nodeValue));else if("#comment"!==e.nodeName){var o=M(e),s={attrs:o,domProps:{innerHTML:""===e.innerHTML?e.innerText:e.innerHTML}};o.slot&&(s.slot=o.slot,o.slot=void 0);var r="TEMPLATE"===e.tagName?P(t,e,s):t(e.tagName,s);n.push(r)}})),n}function D(e,t){var n={bubbles:!1,cancelable:!1,detail:t},o=void 0;return"function"===typeof window.CustomEvent?o=new CustomEvent(e,n):(o=document.createEvent("CustomEvent"),o.initCustomEvent(e,n.bubbles,n.cancelable,n.detail)),o}function j(e,t){for(var n=arguments.length,o=Array(n>2?n-2:0),s=2;s<n;s++)o[s-2]=arguments[s];var r=D(t,[].concat(o));e.dispatchEvent(r)}function R(e,t,n,o,s){if(e.__vue_custom_element__)return Promise.resolve(e);var r=t.util.extend({},n),i=I(e,r,o),a=t.version&&parseInt(t.version.split(".")[0],10)||0;function c(){this.$emit=function(){for(var t,n=arguments.length,o=Array(n),s=0;s<n;s++)o[s]=arguments[s];j.apply(void 0,[e].concat(o)),this.__proto__&&(t=this.__proto__.$emit).call.apply(t,[this].concat(o))}}if(r.beforeCreate=[].concat(r.beforeCreate||[],c),r._compiled){var l={},u=r._Ctor;u&&(l=Object.keys(u).map((function(e){return u[e]}))[0].options),l.beforeCreate=r.beforeCreate}var d=void 0;if(a>=2){var p=e.cloneNode(!0).childNodes;d={propsData:i,props:o.camelCase,computed:{reactiveProps:function(){var e=this,t={};return o.camelCase.forEach((function(n){"undefined"!==typeof e[n]&&(t[n]=e[n])})),t}}
7,render:function(e){var t={props:this.reactiveProps};return e(r,t,A(p,e))}}}else if(1===a)d=r,d.propsData=i;else{d=r;var f={};Object.keys(i).forEach((function(e){f[e]={default:i[e]}})),d.props=f}var _=a>=2?"<div></div>":("<div>"+e.innerHTML+"</div>").replace(/vue-slot=/g,"slot=");if(s.shadow&&e.shadowRoot?(e.shadowRoot.innerHTML=_,d.el=e.shadowRoot.children[0]):(e.innerHTML=_,d.el=e.children[0]),s.shadow&&s.shadowCss&&e.shadowRoot){var h=document.createElement("style");h.type="text/css",h.appendChild(document.createTextNode(s.shadowCss)),e.shadowRoot.appendChild(h)}return T(e,o),"function"===typeof s.beforeCreateVueInstance&&(d=s.beforeCreateVueInstance(d)||d),Promise.resolve(d).then((function(n){return e.__vue_custom_element__=new t(n),e.__vue_custom_element_props__=o,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",""),j(e,"vce-ready"),e}))}function N(e){e.customElement=function(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s="function"===typeof n,r=s&&{props:o.props||[]},i=O(s?r:n),a=b(t,{constructorCallback:function(){"function"===typeof o.constructorCallback&&o.constructorCallback.call(this)},connectedCallback:function(){var r=this,a=s&&n(),c=a&&a.then&&"function"===typeof a.then;if("function"===typeof o.connectedCallback&&o.connectedCallback.call(this),s&&!c)throw new Error("Async component "+t+" do not returns Promise");this.__detached__||(c?a.then((function(t){var n=O(t);R(r,e,t,n,o).then((function(){"function"===typeof o.vueInstanceCreatedCallback&&o.vueInstanceCreatedCallback.call(r)}))})):R(this,e,n,i,o).then((function(){"function"===typeof o.vueInstanceCreatedCallback&&o.vueInstanceCreatedCallback.call(r)}))),this.__detached__=!1},disconnectedCallback:function(){var e=this;this.__detached__=!0,"function"===typeof o.disconnectedCallback&&o.disconnectedCallback.call(this),null!==o.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__)}),o.destroyTimeout||3e3)},attributeChangedCallback:function(e,t,n){if(this.__vue_custom_element__&&"undefined"!==typeof n){var s=w(e);"function"===typeof o.attributeChangedCallback&&o.attributeChangedCallback.call(this,e,t,n);var r=this.__vue_custom_element_props__.types[s];this.__vue_custom_element__[s]=E(n,r)}},observedAttributes:i.hyphenate,shadow:!!o.shadow&&!!HTMLElement.prototype.attachShadow});return a}}"undefined"!==typeof window&&window.Vue&&(window.Vue.use(N),N.installed&&(N.installed=!1));var B=N;function F(e,t){return function(){return e.apply(t,arguments)}}const{toString:H}=Object.prototype,{getPrototypeOf:V}=Object,U=(e=>t=>{const n=H.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),z=e=>(e=e.toLowerCase(),t=>U(t)===e),W=e=>t=>typeof t===e,{isArray:q}=Array,Y=W("undefined");function G(e){return null!==e&&!Y(e)&&null!==e.constructor&&!Y(e.constructor)&&X(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const J=z("ArrayBuffer");function K(e){let t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&J(e.buffer),t}const Z=W("string"),X=W("function"),Q=W("number"),ee=e=>null!==e&&"object"===typeof e,te=e=>!0===e||!1===e,ne=e=>{if("object"!==U(e))return!1;const t=V(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},oe=z("Date"),se=z("File"),re=z("Blob"),ie=z("FileList"),ae=e=>ee(e)&&X(e.pipe),ce=e=>{let t;return e&&("function"===typeof FormData&&e instanceof FormData||X(e.append)&&("formdata"===(t=U(e))||"object"===t&&X(e.toString)&&"[object FormData]"===e.toString()))},le=z("URLSearchParams"),[ue,de,pe,fe]=["ReadableStream","Request","Response","Headers"].map(z),_e=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function he(e,t,{allOwnKeys:n=!1}={}){if(null===e||"undefined"===typeof e)return;let o,s;if("object"!==typeof e&&(e=[e]),q(e))for(o=0,s=e.length;o<s;o++)t.call(null,e[o],o,e);else{const s=n?Object.getOwnPropertyNames(e):Object.keys(e),r=s.length;let i;for(o=0;o<r;o++)i=s[o],t.call(null,e[i],i,e)}}function me(e,t){t=t.toLowerCase();const n=Object.keys(e);let o,s=n.length;while(s-- >0)if(o=n[s],t===o.toLowerCase())return o;return null}const ve=(()=>"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global)(),ge=e=>!Y(e)&&e!==ve;function be(){const{caseless:e}=ge(this)&&this||{},t={},n=(n,o)=>{const s=e&&me(t,o)||o;ne(t[s])&&ne(n)?t[s]=be(t[s],n):ne(n)?t[s]=be({},n):q(n)?t[s]=n.slice():t[s]=n};for(let o=0,s=arguments.length;o<s;o++)arguments[o]&&he(arguments[o],n);return t}const ye=(e,t,n,{allOwnKeys:o}={})=>(he(t,((t,o)=>{n&&X(t)?e[o]=F(t,n):e[o]=t}),{allOwnKeys:o}),e),we=e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),Ce=(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Se=(e,t,n,o)=>{let s,r,i;const a={};if(t=t||{},null==e)return t;do{s=Object.getOwnPropertyNames(e),r=s.length;while(r-- >0)i=s[r],o&&!o(i,e,t)||a[i]||(t[i]=e[i],a[i]=!0);e=!1!==n&&V(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},xe=(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const o=e.indexOf(t,n);return-1!==o&&o===n},ke=e=>{if(!e)return null;if(q(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},Ee=(e=>t=>e&&t instanceof e)("undefined"!==typeof Uint8Array&&V(Uint8Array)),$e=(e,t)=>
7{const n=e&&e[Symbol.iterator],o=n.call(e);let s;while((s=o.next())&&!s.done){const n=s.value;t.call(e,n[0],n[1])}},Oe=(e,t)=>{let n;const o=[];while(null!==(n=e.exec(t)))o.push(n);return o},Te=z("HTMLFormElement"),Ie=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),Me=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Le=z("RegExp"),Pe=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};he(n,((n,s)=>{let r;!1!==(r=t(n,s,e))&&(o[s]=r||n)})),Object.defineProperties(e,o)},Ae=e=>{Pe(e,((t,n)=>{if(X(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const o=e[n];X(o)&&(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={},o=e=>{e.forEach((e=>{n[e]=!0}))};return q(e)?o(e):o(String(e).split(t)),n},je=()=>{},Re=(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,Ne="abcdefghijklmnopqrstuvwxyz",Be="0123456789",Fe={DIGIT:Be,ALPHA:Ne,ALPHA_DIGIT:Ne+Ne.toUpperCase()+Be},He=(e=16,t=Fe.ALPHA_DIGIT)=>{let n="";const{length:o}=t;while(e--)n+=t[Math.random()*o|0];return n};function Ve(e){return!!(e&&X(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])}const Ue=e=>{const t=new Array(10),n=(e,o)=>{if(ee(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[o]=e;const s=q(e)?[]:{};return he(e,((e,t)=>{const r=n(e,o+1);!Y(r)&&(s[t]=r)})),t[o]=void 0,s}}return e};return n(e,0)},ze=z("AsyncFunction"),We=e=>e&&(ee(e)||X(e))&&X(e.then)&&X(e.catch);var qe={isArray:q,isArrayBuffer:J,isBuffer:G,isFormData:ce,isArrayBufferView:K,isString:Z,isNumber:Q,isBoolean:te,isObject:ee,isPlainObject:ne,isReadableStream:ue,isRequest:de,isResponse:pe,isHeaders:fe,isUndefined:Y,isDate:oe,isFile:se,isBlob:re,isRegExp:Le,isFunction:X,isStream:ae,isURLSearchParams:le,isTypedArray:Ee,isFileList:ie,forEach:he,merge:be,extend:ye,trim:_e,stripBOM:we,inherits:Ce,toFlatObject:Se,kindOf:U,kindOfTest:z,endsWith:xe,toArray:ke,forEachEntry:$e,matchAll:Oe,isHTMLForm:Te,hasOwnProperty:Me,hasOwnProp:Me,reduceDescriptors:Pe,freezeMethods:Ae,toObjectSet:De,toCamelCase:Ie,noop:je,toFiniteNumber:Re,findKey:me,global:ve,isContextDefined:ge,ALPHABET:Fe,generateString:He,isSpecCompliantForm:Ve,toJSONObject:Ue,isAsyncFn:ze,isThenable:We};function Ye(e,t,n,o,s){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),o&&(this.request=o),s&&(this.response=s)}qe.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:qe.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Ge=Ye.prototype,Je={};["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=>{Je[e]={value:e}})),Object.defineProperties(Ye,Je),Object.defineProperty(Ge,"isAxiosError",{value:!0}),Ye.from=(e,t,n,o,s,r)=>{const i=Object.create(Ge);return qe.toFlatObject(e,i,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),Ye.call(i,e.message,t,n,o,s),i.cause=e,i.name=e.name,r&&Object.assign(i,r),i};var Ke=Ye,Ze=null;function Xe(e){return qe.isPlainObject(e)||qe.isArray(e)}function Qe(e){return qe.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 qe.isArray(e)&&!e.some(Xe)}const nt=qe.toFlatObject(qe,{},null,(function(e){return/^is[A-Z]/.test(e)}));function ot(e,t,n){if(!qe.isObject(e))throw new TypeError("target must be an object");t=t||new(Ze||FormData),n=qe.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!qe.isUndefined(t[e])}));const o=n.metaTokens,s=n.visitor||u,r=n.dots,i=n.indexes,a=n.Blob||"undefined"!==typeof Blob&&Blob,c=a&&qe.isSpecCompliantForm(t);if(!qe.isFunction(s))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(qe.isDate(e))return e.toISOString();if(!c&&qe.isBlob(e))throw new Ke("Blob is not supported. Use a Buffer instead.");return qe.isArrayBuffer(e)||qe.isTypedArray(e)?c&&"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,n,s){let a=e;if(e&&!s&&"object"===typeof e)if(qe.endsWith(n,"{}"))n=o?n:n.slice(0,-2),e=JSON.stringify(e);
7else if(qe.isArray(e)&&tt(e)||(qe.isFileList(e)||qe.endsWith(n,"[]"))&&(a=qe.toArray(e)))return n=Qe(n),a.forEach((function(e,o){!qe.isUndefined(e)&&null!==e&&t.append(!0===i?et([n],o,r):null===i?n:n+"[]",l(e))})),!1;return!!Xe(e)||(t.append(et(s,n,r),l(e)),!1)}const d=[],p=Object.assign(nt,{defaultVisitor:u,convertValue:l,isVisitable:Xe});function f(e,n){if(!qe.isUndefined(e)){if(-1!==d.indexOf(e))throw Error("Circular reference detected in "+n.join("."));d.push(e),qe.forEach(e,(function(e,o){const r=!(qe.isUndefined(e)||null===e)&&s.call(t,e,qe.isString(o)?o.trim():o,n,p);!0===r&&f(e,n?n.concat(o):[o])})),d.pop()}}if(!qe.isObject(e))throw new TypeError("data must be an object");return f(e),t}var st=ot;function rt(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&&st(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,rt)}:rt;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var ct=it;function lt(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ut(e,t,n){if(!t)return e;const o=n&&n.encode||lt,s=n&&n.serialize;let r;if(r=s?s(t,n):qe.isURLSearchParams(t)?t.toString():new ct(t,n).toString(o),r){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}class dt{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){qe.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}var pt=dt,ft={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},_t="undefined"!==typeof URLSearchParams?URLSearchParams:ct,ht="undefined"!==typeof FormData?FormData:null,mt="undefined"!==typeof Blob?Blob:null,vt={isBrowser:!0,classes:{URLSearchParams:_t,FormData:ht,Blob:mt},protocols:["http","https","file","blob","url","data"]};const gt="undefined"!==typeof window&&"undefined"!==typeof document,bt=(e=>gt&&["ReactNative","NativeScript","NS"].indexOf(e)<0)("undefined"!==typeof navigator&&navigator.product),yt=(()=>"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts)(),wt=gt&&window.location.href||"http://localhost";var Ct={...e,...vt};function St(e,t){return st(e,new Ct.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,o){return Ct.isNode&&qe.isBuffer(e)?(this.append(t,e.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function xt(e){return qe.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}function kt(e){const t={},n=Object.keys(e);let o;const s=n.length;let r;for(o=0;o<s;o++)r=n[o],t[r]=e[r];return t}function Et(e){function t(e,n,o,s){let r=e[s++];if("__proto__"===r)return!0;const i=Number.isFinite(+r),a=s>=e.length;if(r=!r&&qe.isArray(o)?o.length:r,a)return qe.hasOwnProp(o,r)?o[r]=[o[r],n]:o[r]=n,!i;o[r]&&qe.isObject(o[r])||(o[r]=[]);const c=t(e,n,o[r],s);return c&&qe.isArray(o[r])&&(o[r]=kt(o[r])),!i}if(qe.isFormData(e)&&qe.isFunction(e.entries)){const n={};return qe.forEachEntry(e,((e,o)=>{t(xt(e),o,n,0)})),n}return null}var $t=Et;function Ot(e,t,n){if(qe.isString(e))try{return(t||JSON.parse)(e),qe.trim(e)}catch(o){if("SyntaxError"!==o.name)throw o}return(n||JSON.stringify)(e)}const Tt={transitional:ft,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",o=n.indexOf("application/json")>-1,s=qe.isObject(e);s&&qe.isHTMLForm(e)&&(e=new FormData(e));const r=qe.isFormData(e);if(r)return o?JSON.stringify($t(e)):e;if(qe.isArrayBuffer(e)||qe.isBuffer(e)||qe.isStream(e)||qe.isFile(e)||qe.isBlob(e)||qe.isReadableStream(e))return e;if(qe.isArrayBufferView(e))return e.buffer;if(qe.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(s){if(n.indexOf("application/x-www-form-urlencoded")>
7-1)return St(e,this.formSerializer).toString();if((i=qe.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return st(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return s||o?(t.setContentType("application/json",!1),Ot(e)):e}],transformResponse:[function(e){const t=this.transitional||Tt.transitional,n=t&&t.forcedJSONParsing,o="json"===this.responseType;if(qe.isResponse(e)||qe.isReadableStream(e))return e;if(e&&qe.isString(e)&&(n&&!this.responseType||o)){const n=t&&t.silentJSONParsing,r=!n&&o;try{return JSON.parse(e)}catch(s){if(r){if("SyntaxError"===s.name)throw Ke.from(s,Ke.ERR_BAD_RESPONSE,this,null,this.response);throw s}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ct.classes.FormData,Blob:Ct.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};qe.forEach(["delete","get","head","post","put","patch"],(e=>{Tt.headers[e]={}}));var It=Tt;const Mt=qe.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 Lt=e=>{const t={};let n,o,s;return e&&e.split("\n").forEach((function(e){s=e.indexOf(":"),n=e.substring(0,s).trim().toLowerCase(),o=e.substring(s+1).trim(),!n||t[n]&&Mt[n]||("set-cookie"===n?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)})),t};const Pt=Symbol("internals");function At(e){return e&&String(e).trim().toLowerCase()}function Dt(e){return!1===e||null==e?e:qe.isArray(e)?e.map(Dt):String(e)}function jt(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;while(o=n.exec(e))t[o[1]]=o[2];return t}const Rt=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Nt(e,t,n,o,s){return qe.isFunction(o)?o.call(this,t,n):(s&&(t=n),qe.isString(t)?qe.isString(o)?-1!==t.indexOf(o):qe.isRegExp(o)?o.test(t):void 0:void 0)}function Bt(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}function Ft(e,t){const n=qe.toCamelCase(" "+t);["get","set","has"].forEach((o=>{Object.defineProperty(e,o+n,{value:function(e,n,s){return this[o].call(this,t,e,n,s)},configurable:!0})}))}class Ht{constructor(e){e&&this.set(e)}set(e,t,n){const o=this;function s(e,t,n){const s=At(t);if(!s)throw new Error("header name must be a non-empty string");const r=qe.findKey(o,s);(!r||void 0===o[r]||!0===n||void 0===n&&!1!==o[r])&&(o[r||t]=Dt(e))}const r=(e,t)=>qe.forEach(e,((e,n)=>s(e,n,t)));if(qe.isPlainObject(e)||e instanceof this.constructor)r(e,t);else if(qe.isString(e)&&(e=e.trim())&&!Rt(e))r(Lt(e),t);else if(qe.isHeaders(e))for(const[i,a]of e.entries())s(a,i,n);else null!=e&&s(t,e,n);return this}get(e,t){if(e=At(e),e){const n=qe.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return jt(e);if(qe.isFunction(t))return t.call(this,e,n);if(qe.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=At(e),e){const n=qe.findKey(this,e);return!(!n||void 0===this[n]||t&&!Nt(this,this[n],n,t))}return!1}delete(e,t){const n=this;let o=!1;function s(e){if(e=At(e),e){const s=qe.findKey(n,e);!s||t&&!Nt(n,n[s],s,t)||(delete n[s],o=!0)}}return qe.isArray(e)?e.forEach(s):s(e),o}clear(e){const t=Object.keys(this);let n=t.length,o=!1;while(n--){const s=t[n];e&&!Nt(this,this[s],s,e,!0)||(delete this[s],o=!0)}return o}normalize(e){const t=this,n={};return qe.forEach(this,((o,s)=>{const r=qe.findKey(n,s);if(r)return t[r]=Dt(o),void delete t[s];const i=e?Bt(s):String(s).trim();i!==s&&delete t[s],t[i]=Dt(o),n[i]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return qe.forEach(this,((n,o)=>{null!=n&&!1!==n&&(t[o]=e&&qe.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")}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[Pt]=this[Pt]={accessors:{}},n=t.accessors,o=this.prototype;function s(e){const t=At(e);n[t]||(Ft(o,e),n[t]=!0)}return qe.isArray(e)?e.forEach(s):s(e),this}}Ht.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),qe.reduceDescriptors(Ht.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}
7)),qe.freezeMethods(Ht);var Vt=Ht;function Ut(e,t){const n=this||It,o=t||n,s=Vt.from(o.headers);let r=o.data;return qe.forEach(e,(function(e){r=e.call(n,r,s.normalize(),t?t.status:void 0)})),s.normalize(),r}function zt(e){return!(!e||!e.__CANCEL__)}function Wt(e,t,n){Ke.call(this,null==e?"canceled":e,Ke.ERR_CANCELED,t,n),this.name="CanceledError"}qe.inherits(Wt,Ke,{__CANCEL__:!0});var qt=Wt;function Yt(e,t,n){const o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(new Ke("Request failed with status code "+n.status,[Ke.ERR_BAD_REQUEST,Ke.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function Gt(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Jt(e,t){e=e||10;const n=new Array(e),o=new Array(e);let s,r=0,i=0;return t=void 0!==t?t:1e3,function(a){const c=Date.now(),l=o[i];s||(s=c),n[r]=a,o[r]=c;let u=i,d=0;while(u!==r)d+=n[u++],u%=e;if(r=(r+1)%e,r===i&&(i=(i+1)%e),c-s<t)return;const p=l&&c-l;return p?Math.round(1e3*d/p):void 0}}var Kt=Jt;function Zt(e,t){let n=0;const o=1e3/t;let s=null;return function(){const t=!0===this,r=Date.now();if(t||r-n>o)return s&&(clearTimeout(s),s=null),n=r,e.apply(null,arguments);s||(s=setTimeout((()=>(s=null,n=Date.now(),e.apply(null,arguments))),o-(r-n)))}}var Xt=Zt,Qt=(e,t,n=3)=>{let o=0;const s=Kt(50,250);return Xt((n=>{const r=n.loaded,i=n.lengthComputable?n.total:void 0,a=r-o,c=s(a),l=r<=i;o=r;const u={loaded:r,total:i,progress:i?r/i:void 0,bytes:a,rate:c||void 0,estimated:c&&i&&l?(i-r)/c:void 0,event:n,lengthComputable:null!=i};u[t?"download":"upload"]=!0,e(u)}),n)},en=Ct.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function o(n){let o=n;return e&&(t.setAttribute("href",o),o=t.href),t.setAttribute("href",o),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=o(window.location.href),function(e){const t=qe.isString(e)?o(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return function(){return!0}}(),tn=Ct.hasStandardBrowserEnv?{write(e,t,n,o,s,r){const i=[e+"="+encodeURIComponent(t)];qe.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),qe.isString(o)&&i.push("path="+o),qe.isString(s)&&i.push("domain="+s),!0===r&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function nn(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function on(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function sn(e,t){return e&&!nn(t)?on(e,t):t}const rn=e=>e instanceof Vt?{...e}:e;function an(e,t){t=t||{};const n={};function o(e,t,n){return qe.isPlainObject(e)&&qe.isPlainObject(t)?qe.merge.call({caseless:n},e,t):qe.isPlainObject(t)?qe.merge({},t):qe.isArray(t)?t.slice():t}function s(e,t,n){return qe.isUndefined(t)?qe.isUndefined(e)?void 0:o(void 0,e,n):o(e,t,n)}function r(e,t){if(!qe.isUndefined(t))return o(void 0,t)}function i(e,t){return qe.isUndefined(t)?qe.isUndefined(e)?void 0:o(void 0,e):o(void 0,t)}function a(n,s,r){return r in t?o(n,s):r in e?o(void 0,n):void 0}const c={url:r,method:r,data:r,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)=>s(rn(e),rn(t),!0)};return qe.forEach(Object.keys(Object.assign({},e,t)),(function(o){const r=c[o]||s,i=r(e[o],t[o],o);qe.isUndefined(i)&&r!==a||(n[o]=i)})),n}var cn=e=>{const t=an({},e);let n,{data:o,withXSRFToken:s,xsrfHeaderName:r,xsrfCookieName:i,headers:a,auth:c}=t;if(t.headers=a=Vt.from(a),t.url=ut(sn(t.baseURL,t.url),e.params,e.paramsSerializer),c&&a.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),qe.isFormData(o))if(Ct.hasStandardBrowserEnv||Ct.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(n=a.getContentType())){const[e,...t]=n?n.split(";").map((e=>
7e.trim())).filter(Boolean):[];a.setContentType([e||"multipart/form-data",...t].join("; "))}if(Ct.hasStandardBrowserEnv&&(s&&qe.isFunction(s)&&(s=s(t)),s||!1!==s&&en(t.url))){const e=r&&i&&tn.read(i);e&&a.set(r,e)}return t};const ln="undefined"!==typeof XMLHttpRequest;var un=ln&&function(e){return new Promise((function(t,n){const o=cn(e);let s=o.data;const r=Vt.from(o.headers).normalize();let i,{responseType:a}=o;function c(){o.cancelToken&&o.cancelToken.unsubscribe(i),o.signal&&o.signal.removeEventListener("abort",i)}let l=new XMLHttpRequest;function u(){if(!l)return;const o=Vt.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),s=a&&"text"!==a&&"json"!==a?l.response:l.responseText,r={data:s,status:l.status,statusText:l.statusText,headers:o,config:e,request:l};Yt((function(e){t(e),c()}),(function(e){n(e),c()}),r),l=null}l.open(o.method.toUpperCase(),o.url,!0),l.timeout=o.timeout,"onloadend"in l?l.onloadend=u:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(u)},l.onabort=function(){l&&(n(new Ke("Request aborted",Ke.ECONNABORTED,o,l)),l=null)},l.onerror=function(){n(new Ke("Network Error",Ke.ERR_NETWORK,o,l)),l=null},l.ontimeout=function(){let e=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const t=o.transitional||ft;o.timeoutErrorMessage&&(e=o.timeoutErrorMessage),n(new Ke(e,t.clarifyTimeoutError?Ke.ETIMEDOUT:Ke.ECONNABORTED,o,l)),l=null},void 0===s&&r.setContentType(null),"setRequestHeader"in l&&qe.forEach(r.toJSON(),(function(e,t){l.setRequestHeader(t,e)})),qe.isUndefined(o.withCredentials)||(l.withCredentials=!!o.withCredentials),a&&"json"!==a&&(l.responseType=o.responseType),"function"===typeof o.onDownloadProgress&&l.addEventListener("progress",Qt(o.onDownloadProgress,!0)),"function"===typeof o.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",Qt(o.onUploadProgress)),(o.cancelToken||o.signal)&&(i=t=>{l&&(n(!t||t.type?new qt(null,e,l):t),l.abort(),l=null)},o.cancelToken&&o.cancelToken.subscribe(i),o.signal&&(o.signal.aborted?i():o.signal.addEventListener("abort",i)));const d=Gt(o.url);d&&-1===Ct.protocols.indexOf(d)?n(new Ke("Unsupported protocol "+d+":",Ke.ERR_BAD_REQUEST,e)):l.send(s||null)}))};const dn=(e,t)=>{let n,o=new AbortController;const s=function(e){if(!n){n=!0,i();const t=e instanceof Error?e:this.reason;o.abort(t instanceof Ke?t:new qt(t instanceof Error?t.message:t))}};let r=t&&setTimeout((()=>{s(new Ke(`timeout ${t} of ms exceeded`,Ke.ETIMEDOUT))}),t);const i=()=>{e&&(r&&clearTimeout(r),r=null,e.forEach((e=>{e&&(e.removeEventListener?e.removeEventListener("abort",s):e.unsubscribe(s))})),e=null)};e.forEach((e=>e&&e.addEventListener&&e.addEventListener("abort",s)));const{signal:a}=o;return a.unsubscribe=i,[a,()=>{r&&clearTimeout(r),r=null}]};var pn=dn;const fn=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let o,s=0;while(s<n)o=s+t,yield e.slice(s,o),s=o},_n=async function*(e,t,n){for await(const o of e)yield*fn(ArrayBuffer.isView(o)?o:await n(String(o)),t)},hn=(e,t,n,o,s)=>{const r=_n(e,t,s);let i=0;return new ReadableStream({type:"bytes",async pull(e){const{done:t,value:s}=await r.next();if(t)return e.close(),void o();let a=s.byteLength;n&&n(i+=a),e.enqueue(new Uint8Array(s))},cancel(e){return o(e),r.return()}},{highWaterMark:2})},mn=(e,t)=>{const n=null!=e;return o=>setTimeout((()=>t({lengthComputable:n,total:e,loaded:o})))},vn="function"===typeof fetch&&"function"===typeof Request&&"function"===typeof Response,gn=vn&&"function"===typeof ReadableStream,bn=vn&&("function"===typeof TextEncoder?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),yn=gn&&(()=>{let e=!1;const t=new Request(Ct.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),wn=65536,Cn=gn&&!!(()=>{try{return qe.isReadableStream(new Response("").body)}catch(e){}})(),Sn={stream:Cn&&(e=>e.body)};vn&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach((t=>{!Sn[t]&&(Sn[t]=qe.isFunction(e[t])?e=>e[t]():(e,n)=>{throw new Ke(`Response type '${t}' is not supported`,Ke.ERR_NOT_SUPPORT,n)})}))})(new Response);const xn=async e=>null==e?0:qe.isBlob(e)?e.size:qe.isSpecCompliantForm(e)?(await new Request
7(e).arrayBuffer()).byteLength:qe.isArrayBufferView(e)?e.byteLength:(qe.isURLSearchParams(e)&&(e+=""),qe.isString(e)?(await bn(e)).byteLength:void 0),kn=async(e,t)=>{const n=qe.toFiniteNumber(e.getContentLength());return null==n?xn(t):n};var En=vn&&(async e=>{let{url:t,method:n,data:o,signal:s,cancelToken:r,timeout:i,onDownloadProgress:a,onUploadProgress:c,responseType:l,headers:u,withCredentials:d="same-origin",fetchOptions:p}=cn(e);l=l?(l+"").toLowerCase():"text";let f,_,[h,m]=s||r||i?pn([s,r],i):[];const v=()=>{!f&&setTimeout((()=>{h&&h.unsubscribe()})),f=!0};let g;try{if(c&&yn&&"get"!==n&&"head"!==n&&0!==(g=await kn(u,o))){let e,n=new Request(t,{method:"POST",body:o,duplex:"half"});qe.isFormData(o)&&(e=n.headers.get("content-type"))&&u.setContentType(e),n.body&&(o=hn(n.body,wn,mn(g,Qt(c)),null,bn))}qe.isString(d)||(d=d?"cors":"omit"),_=new Request(t,{...p,signal:h,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:o,duplex:"half",withCredentials:d});let s=await fetch(_);const r=Cn&&("stream"===l||"response"===l);if(Cn&&(a||r)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=s[t]}));const t=qe.toFiniteNumber(s.headers.get("content-length"));s=new Response(hn(s.body,wn,a&&mn(t,Qt(a,!0)),r&&v,bn),e)}l=l||"text";let i=await Sn[qe.findKey(Sn,l)||"text"](s,e);return!r&&v(),m&&m(),await new Promise(((t,n)=>{Yt(t,n,{data:i,headers:Vt.from(s.headers),status:s.status,statusText:s.statusText,config:e,request:_})}))}catch(b){if(v(),b&&"TypeError"===b.name&&/fetch/i.test(b.message))throw Object.assign(new Ke("Network Error",Ke.ERR_NETWORK,e,_),{cause:b.cause||b});throw Ke.from(b,b&&b.code,e,_)}});const $n={http:Ze,xhr:un,fetch:En};qe.forEach($n,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(n){}Object.defineProperty(e,"adapterName",{value:t})}}));const On=e=>`- ${e}`,Tn=e=>qe.isFunction(e)||null===e||!1===e;var In={getAdapter:e=>{e=qe.isArray(e)?e:[e];const{length:t}=e;let n,o;const s={};for(let r=0;r<t;r++){let t;if(n=e[r],o=n,!Tn(n)&&(o=$n[(t=String(n)).toLowerCase()],void 0===o))throw new Ke(`Unknown adapter '${t}'`);if(o)break;s[t||"#"+r]=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 n=t?e.length>1?"since :\n"+e.map(On).join("\n"):" "+On(e[0]):"as no adapter specified";throw new Ke("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return o},adapters:$n};function Mn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new qt(null,e)}function Ln(e){Mn(e),e.headers=Vt.from(e.headers),e.data=Ut.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);const t=In.getAdapter(e.adapter||It.adapter);return t(e).then((function(t){return Mn(e),t.data=Ut.call(e,e.transformResponse,t),t.headers=Vt.from(t.headers),t}),(function(t){return zt(t)||(Mn(e),t&&t.response&&(t.response.data=Ut.call(e,e.transformResponse,t.response),t.response.headers=Vt.from(t.response.headers))),Promise.reject(t)}))}const Pn="1.7.2",An={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{An[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const Dn={};function jn(e,t,n){if("object"!==typeof e)throw new Ke("options must be an object",Ke.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let s=o.length;while(s-- >0){const r=o[s],i=t[r];if(i){const t=e[r],n=void 0===t||i(t,r,e);if(!0!==n)throw new Ke("option "+r+" must be "+n,Ke.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Ke("Unknown option "+r,Ke.ERR_BAD_OPTION)}}An.transitional=function(e,t,n){function o(e,t){return"[Axios v"+Pn+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,s,r)=>{if(!1===e)throw new Ke(o(s," has been removed"+(t?" in "+t:"")),Ke.ERR_DEPRECATED);return t&&!Dn[s]&&(Dn[s]=!0,console.warn(o(s," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,s,r)}};var Rn={assertOptions:jn,validators:An};const Nn=Rn.validators;class Bn{constructor(e){this.defaults=e,this.interceptors={request:new pt,response:new pt}}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;
7const 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(o){}}throw n}}_request(e,t){"string"===typeof e?(t=t||{},t.url=e):t=e||{},t=an(this.defaults,t);const{transitional:n,paramsSerializer:o,headers:s}=t;void 0!==n&&Rn.assertOptions(n,{silentJSONParsing:Nn.transitional(Nn.boolean),forcedJSONParsing:Nn.transitional(Nn.boolean),clarifyTimeoutError:Nn.transitional(Nn.boolean)},!1),null!=o&&(qe.isFunction(o)?t.paramsSerializer={serialize:o}:Rn.assertOptions(o,{encode:Nn.function,serialize:Nn.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let r=s&&qe.merge(s.common,s[t.method]);s&&qe.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete s[e]})),t.headers=Vt.concat(r,s);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 l;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let u,d=0;if(!a){const e=[Ln.bind(this),void 0];e.unshift.apply(e,i),e.push.apply(e,c),u=e.length,l=Promise.resolve(t);while(d<u)l=l.then(e[d++],e[d++]);return l}u=i.length;let p=t;d=0;while(d<u){const e=i[d++],t=i[d++];try{p=e(p)}catch(f){t.call(this,f);break}}try{l=Ln.call(this,p)}catch(f){return Promise.reject(f)}d=0,u=c.length;while(d<u)l=l.then(c[d++],c[d++]);return l}getUri(e){e=an(this.defaults,e);const t=sn(e.baseURL,e.url);return ut(t,e.params,e.paramsSerializer)}}qe.forEach(["delete","get","head","options"],(function(e){Bn.prototype[e]=function(t,n){return this.request(an(n||{},{method:e,url:t,data:(n||{}).data}))}})),qe.forEach(["post","put","patch"],(function(e){function t(t){return function(n,o,s){return this.request(an(s||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:o}))}}Bn.prototype[e]=t(),Bn.prototype[e+"Form"]=t(!0)}));var Fn=Bn;class Hn{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 o=new Promise((e=>{n.subscribe(e),t=e})).then(e);return o.cancel=function(){n.unsubscribe(t)},o},e((function(e,o,s){n.reason||(n.reason=new qt(e,o,s),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(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)}static source(){let e;const t=new Hn((function(t){e=t}));return{token:t,cancel:e}}}var Vn=Hn;function Un(e){return function(t){return e.apply(null,t)}}function zn(e){return qe.isObject(e)&&!0===e.isAxiosError}const Wn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
7alContent: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};Object.entries(Wn).forEach((([e,t])=>{Wn[t]=e}));var qn=Wn;function Yn(e){const t=new Fn(e),n=F(Fn.prototype.request,t);return qe.extend(n,Fn.prototype,t,{allOwnKeys:!0}),qe.extend(n,t,null,{allOwnKeys:!0}),n.create=function(t){return Yn(an(e,t))},n}const Gn=Yn(It);Gn.Axios=Fn,Gn.CanceledError=qt,Gn.CancelToken=Vn,Gn.isCancel=zt,Gn.VERSION=Pn,Gn.toFormData=st,Gn.AxiosError=Ke,Gn.Cancel=Gn.CanceledError,Gn.all=function(e){return Promise.all(e)},Gn.spread=Un,Gn.isAxiosError=zn,Gn.mergeConfig=an,Gn.AxiosHeaders=Vt,Gn.formToJSON=e=>$t(qe.isHTMLForm(e)?new FormData(e):e),Gn.getAdapter=In.getAdapter,Gn.HttpStatusCode=qn,Gn.default=Gn;var Jn=Gn;const Kn=Jn.create({baseURL:"sspai.com"===window.location.host?"https://sspai.com/api/v1":"https://neo.sspai.com/api/v1"}),Zn=window.localStorage.getItem("ssToken");Zn&&(Kn.defaults.headers.common["Authorization"]="Bearer "+Zn),Kn.interceptors.response.use((e=>(0!==e.data.error&&console.log(e.data),e.data)),(e=>Promise.reject(e)));var Xn=Kn,Qn=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)},eo=[],to=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"}
7,[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)},no=[],oo=o(3279),so=o.n(oo),ro=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`}})])},io=[],ao={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}}},co=ao;function lo(e,t,n,o,s,r,i,a){var c,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),r&&(l._scopeId="data-v-"+r),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__),s&&s.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=c):s&&(c=a?function(){s.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:s),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}var uo=lo(co,ro,io,!1,null,"bc4a118e",null),po=uo.exports,fo=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)},_o=[],ho={name:"SsButton2"},mo=ho,vo=lo(mo,fo,_o,!1,null,"2790f63a",null),go=vo.exports,bo=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)])},yo=[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"})])}],wo={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:o,message:s}=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:o,link:"/notifications/activity/community"},{name:"私信",icon:"ssCommunityIcon__mail",count:s,link:"/notifications/message"}]}},methods:{formatCount(e){return e>99?"99+":e}}},Co=wo,So=lo(Co,bo,yo,!1,null,"7e0338c6",null),xo=So.exports,ko={name:"SsCustomHeaderNotice",components:{SafeArea:po,SsButton2:go,SsNotificationsPop
7over:xo},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:o=0,message_count:s=0}=this.noticeCount||{},r=e+t+n+o+s;return r>99?"99+":r},notifications(){const{online_count:e=0,comment_count:t=0,system_count:n=0,community_comment_count:o=0,message_count:s=0}=this.noticeCount||{};return{reaction:e,comment:t,system:n,community:o,message:s}}},methods:{open(){const e=document.querySelector(".ss__custom__header__btn__notice"),{left:t,top:n,width:o,height:s}=e.getBoundingClientRect(),r=298;"ontouchstart"in window?this.offsetLeft=window.innerWidth-r-24:this.offsetLeft=t-r+o,this.offsetTop=n+s,this.$emit("update:visible",!0),dispatchEvent(new CustomEvent("ssCustomHeaderToggleTarget",{detail:"notice"}))},close(){this.$emit("update:visible",!1)},updateMousePosition:so()((function(e){this.mouseX=e.clientX,this.mouseY=e.clientY-4}),30)},mounted(){window.addEventListener("mousemove",this.updateMousePosition)},destoryed(){window.removeEventListener("mousemove",this.updateMousePosition)}},Eo=ko,$o=lo(Eo,to,no,!1,null,"5b11d588",null),Oo=$o.exports,To=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)},Io=[],Mo=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()])},Lo=[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("账号设置")])])}],Po=(o(560),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)])}),Ao=[],Do={name:"SsAppearanceSetting",props:{options:{type:Array},value:{type:Number}},computed:{checkedIndex(){return this.options.findIndex((e=>this.value===e.value))}}},jo=Do,Ro=lo(jo,Po,Ao,!1,null,"736fc59e",null),No=Ro.exports,Bo=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)},Fo=[],Ho=o(4650),Vo=o.n(Ho),Uo=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"},[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)},zo=[],Wo={name:"SsUserIdentifier",props:{identifier:{type:Object},popoverDisable:{type:Boolean,default:!1},popoverPlacement:{type:String,default:"bottom"}}},qo=Wo,Yo=lo(qo,Uo,zo,!1,null,"72ae14aa",null),Go=Yo.exports,Jo=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"}}
7):e._e()],1),!e.forList&&e.role?t("div",{staticClass:"ss__user__card__role__wrapper"},[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.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(),e.forList&&e.articleCount?t("span",[e._v(e._s(e.articleCount)+" 篇文章")]):e._e()]):e._e()])])},Ko=[],Zo={name:"SsUserCard",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},terminalType:{type:String,required:!0},forList:{type:Boolean,default:!1},followedCountKey:{type:String,default:"followed_count"},articleCountKey:{type:String,default:"released_article_count"},identifierKey:{type:String,default:"user_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}},methods:{onError(e){e.target.src="https://cdn-static.sspai.com/ui/otter_avatar_placeholder_240511.png"},updateFollowStatus:so()((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)}},Xo=Zo,Qo=lo(Xo,Jo,Ko,!1,null,"2b9b14ca",null),es=Qo.exports,ts={name:"SsPortrait",components:{SsUserIdentifier:Go,SsUserCard:es,ElPopover:Vo()},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)}}}},ns=ts,os=lo(ns,Bo,Fo,!1,null,"dc6c88b8",null),ss=os.exports,rs={name:"SsCustomHeaderUserMenu",components:{SsAppearanceSetting:No,SsButton2:go,SsPortrait:ss},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/m
7y",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}},is=rs,as=lo(is,Mo,Lo,!1,null,"7e15e366",null),cs=as.exports,ls={name:"SsCustomHeaderUser",components:{SafeArea:po,SsButton2:go,SsCustomHeaderUserMenu:cs,SsPortrait:ss},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:o,width:s,height:r}=e.getBoundingClientRect(),{width:i}=t.getBoundingClientRect();this.offsetLeft=n-i+s,this.offsetTop=o+r})),dispatchEvent(new CustomEvent("ssCustomHeaderToggleTarget",{detail:"user"}))},close(){this.$emit("update:visible",!1)},onBtnLoginClick(){this.$emit("login"),dispatchEvent(new CustomEvent("ssCustomHeaderToggleTarget",{detail:"login"}))},updateMousePosition:so()((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)}},us=ls,ds=lo(us,To,Io,!1,null,"6aeec776",null),ps=ds.exports,fs=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-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
7-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-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
7-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.3166V21.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"}})])},_s=[],hs={name:"SsCustomHeaderLogo",props:{viewBox:{type:String,default:"0 0 117 36"}}},ms=hs,vs=lo(ms,fs,_s,!1,null,"3e4c5609",null),gs=vs.exports,bs=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)},ys=[],ws=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()])},Cs=[],Ss={name:"SsInput",model:{prop:"value",event:"input"},props:{value:{type:[String,Number],require:!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()}}},xs=Ss,ks=lo(xs,ws,Cs,!1,null,"7a8474a1",null),Es=ks.exports,$s={name:"SsCustomHeaderSearch",components:{SsButton2:go,SsInput:Es},props:{visible:{type:Boolean,default:!1},searchUrl:String},data(){return{keyword:"",history:[],deleteConfirm:!1,observer:null}},methods:{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)}),300),dispatchEvent(new CustomEvent("ssCustomHeaderToggleTarget",{detail:"search"}))},close(){this.onClearSearch(),this.$emit("update:visible",!1),document.body.removeEventListener("click",this.close)},handleShortcut(e){(e.metaKey||e.ctrlKey)&&"k"===e.key&&(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)}))}}}
7,mounted(){this.getSearchHistory(),document.addEventListener("keydown",this.handleShortcut)},beforeDestroy(){document.removeEventListener("keydown",this.handleShortcut)}},Os=$s,Ts=lo(Os,bs,ys,!1,null,"6d8421dc",null),Is=Ts.exports,Ms=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)},Ls=[];o(8858),o(1318),o(3228);new(u());function Ps(e){return Ps="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},Ps(e)}function As(e){var t="string"===typeof e||e instanceof String;if(!t){var n=Ps(e);throw null===e?n="null":"object"===n&&(n=e.constructor.name),new TypeError("Expected a string but received a ".concat(n))}}function Ds(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;for(var n in t)"undefined"===typeof e[n]&&(e[n]=t[n]);return e}var js={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1,ignore_max_length:!1};function Rs(e,t){As(e),t=Ds(t,js),t.allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1)),!0===t.allow_wildcard&&0===e.indexOf("*.")&&(e=e.substring(2));var n=e.split("."),o=n[n.length-1];if(t.require_tld){if(n.length<2)return!1;if(!t.allow_numeric_tld&&!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(o))return!1;if(/\s/.test(o))return!1}return!(!t.allow_numeric_tld&&/^\d+$/.test(o))&&n.every((function(e){return!(e.length>63&&!t.ignore_max_length)&&(!!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)&&(!/[\uff01-\uff5e]/.test(e)&&(!/^-|-$/.test(e)&&!(!t.allow_underscores&&/_/.test(e)))))}))}var Ns="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",Bs="(".concat(Ns,"[.]){3}").concat(Ns),Fs=new RegExp("^".concat(Bs,"$")),Hs="(?:[0-9a-fA-F]{1,4})",Vs=new RegExp("^("+"(?:".concat(Hs,":){7}(?:").concat(Hs,"|:)|")+"(?:".concat(Hs,":){6}(?:").concat(Bs,"|:").concat(Hs,"|:)|")+"(?:".concat(Hs,":){5}(?::").concat(Bs,"|(:").concat(Hs,"){1,2}|:)|")+"(?:".concat(Hs,":){4}(?:(:").concat(Hs,"){0,1}:").concat(Bs,"|(:").concat(Hs,"){1,3}|:)|")+"(?:".concat(Hs,":){3}(?:(:").concat(Hs,"){0,2}:").concat(Bs,"|(:").concat(Hs,"){1,4}|:)|")+"(?:".concat(Hs,":){2}(?:(:").concat(Hs,"){0,3}:").concat(Bs,"|(:").concat(Hs,"){1,5}|:)|")+"(?:".concat(Hs,":){1}(?:(:").concat(Hs,"){0,4}:").concat(Bs,"|(:").concat(Hs,"){1,6}|:)|")+"(?::((?::".concat(Hs,"){0,5}:").concat(Bs,"|(?::").concat(Hs,"){1,7}|:))")+")(%[0-9a-zA-Z-.:]{1,})?$");function Us(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return As(e),t=String(t),t?"4"===t?Fs.test(e):"6"===t&&Vs.test(e):Us(e,4)||Us(e,6)}function zs(e,t){return Js(e)||Gs(e,t)||qs(e,t)||Ws()}function Ws(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function qs(e,t){if(e){if("string"===typeof e)return Ys(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ys(e,t):void 0}}function Ys(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function Gs(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,s,r,i,a=[],c=!0,l=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(o=r.call(n)).done)&&(a.push(o.value),a.length!==t);c=!0);}catch(e){l=!0,s=e}finally{try{if(!c&&null!=n["return"]&&(i=n["return"](),Object(i)!==i))return}finally{if(l)throw s}}return a}}function Js(e){if(Array.isArray(e))return e}var Ks={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_port:!1,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1,allow_fragments:!0,allow_query_components:!0,validate_length:!0},Zs=/^\[([^\]]+)\](?::([0-9]+))?$/;function Xs(e){return"[object RegExp]"===Object.prototype.toString.call(e)}function Qs(e,t){for(var n=0;n<t.length;n++){var o=t[n];if(e===o||Xs(o)&&o.test(e))return!0}return!1}function er(e,t){if(As(e),!e||/[\s<>]/.test(e))return!1;if(0===e.indexOf("mailto:"))return!1;if(t=Ds(t,Ks),t.validate_length&&e.length>=2083)return!1;if(!t.allow_fragments&&e.includes("#"))return!1;if(!t.allow_query_components&&(e.includes("?")||e.includes("&")))return!1;var n,o,s,r,i,a,c,l;if(c=e.split("#"),e=c.shift(),c=e.split("?"),e=c.shift(),c=e.split("://"),c.length>1){if(n=c.shift().toLowerCase(),t.require_valid_protocol&&-1===t.protocols.indexOf(n))return!1}else{if(t.require_protocol)return!1;if("//"===e.slice(0,2)){if(!t.allow_protocol_relative_urls)return!1;c[0]=e.slice(2)}}if(e=c.join("://"),""===e)return!1;if(c=e.split("/"),e=c.shift(),""===e&&!t.require_host)return!0;
7if(c=e.split("@"),c.length>1){if(t.disallow_auth)return!1;if(""===c[0])return!1;if(o=c.shift(),o.indexOf(":")>=0&&o.split(":").length>2)return!1;var u=o.split(":"),d=zs(u,2),p=d[0],f=d[1];if(""===p&&""===f)return!1}r=c.join("@"),a=null,l=null;var _=r.match(Zs);if(_?(s="",l=_[1],a=_[2]||null):(c=r.split(":"),s=c.shift(),c.length&&(a=c.join(":"))),null!==a&&a.length>0){if(i=parseInt(a,10),!/^[0-9]+$/.test(a)||i<=0||i>65535)return!1}else if(t.require_port)return!1;return t.host_whitelist?Qs(s,t.host_whitelist):""===s&&!t.require_host||!!(Us(s)||Rs(s,t)||l&&Us(l,6))&&(s=s||l,!t.host_blacklist||!Qs(s,t.host_blacklist))}var tr=o(7484),nr=o.n(tr),or=(o(3852),o(4712)),sr=o.n(or),rr=o(4110),ir=o.n(rr);function ar(e,t){if(!e)return"";const n=nr()(e);if(t)return n.format(t);const o=nr()(),s=o.diff(n,"minute"),r=o.clone().startOf("date").diff(n.clone().startOf("date"),"day");return n.calendar(null,{sameDay:()=>s<0?n.format("HH:mm"):s<1?"刚刚":s<10?`${s} 分钟前`:n.format("HH:mm"),lastDay:"[昨天] HH:mm",lastWeek:2===r?"前天 HH:mm":"MM/DD HH:mm",sameElse:n.year()===o.year()?"MM/DD HH:mm":"YYYY/MM/DD HH:mm",nextDay:"[明天] HH:mm",nextWeek:"MM/DD HH:mm"})}function cr(e,t=2,n="string"){const o=Math.round(+e+"e"+t)/Math.pow(10,t);return"number"===n?o:o.toFixed(t)}function lr(e,t="_blank"){const n=document.createElement("a");n.href=e,n.target=t,n.click()}function ur(e){return Function('"use strict";return ('+e+")")()}function dr(e,t){const n=document.createElement("div");return n.style.cssText=e,n.style.getPropertyValue(t)}function pr(e,t){try{return!!er(e)&&(e=new URL(e),e.hostname!==t)}catch(n){return!1}}nr().extend(ir()),nr().extend(sr());var 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)},_r=[],hr=o(3493),mr=o.n(hr),vr=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.97118L72.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"}})])},gr=[],br={name:"star"},yr=br,wr=lo(yr,vr,gr,!1,null,"327aeda8",null),Cr=wr.exports,Sr=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"}})])},xr=[],kr={name:"triangle"},Er=kr,$r=lo(Er,Sr,xr,!1,null,"a7bef752",null),Or=$r.exports,Tr={name:"SsFeaturePopover",components:{Star:Cr,Triangle:Or},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:mr()((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,o=(e.width-this.rect.width)/2,s=e.height+t+this.spacing;let r=0,i=0,a=0,c=this.$round((s+this.rect.height/2)/99*100,2,"number");this.rect.x<=o?(r=8,a=this.$round((this.rect.x+this.rect.width/2)/e.width*100,2,"number")):n-this.rect.x-this.rect.width<=o?(r=n-e.width-8,a=this.$round((this.rect.x-r+this.rect.width/2)/e.width*100,2,"number")):(r=this.rect.x-o,a=50),this.rect.y>s?(i=this.rect.y-s,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=`${r}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)}},Ir=Tr,Mr=lo(Ir,fr,_r,!1,null,"01a2d3e8",null),Lr=Mr.exports,Pr={name:"SsCustomHeaderWrite",components:{SsButton2:go,SsFeaturePopover:Lr},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?lr("/write","_self"):this.$emit("login"),dispatchEvent(new CustomEvent("ssCu
7stomHeaderToggleTarget",{detail:"write"}))}},mounted(){setTimeout(this.showFeaturePopover,400)}},Ar=Pr,Dr=lo(Ar,Ms,Ls,!1,null,"5d7490da",null),jr=Dr.exports,Rr=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)},Nr=[],Br={name:"SsCustomHeaderMobileMenu",components:{SsButton2:go},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)}}},Fr=Br,Hr=lo(Fr,Rr,Nr,!1,null,"66e5b153",null),Vr=Hr.exports,Ur=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)])},zr=[],Wr=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()])},qr=[],Yr={name:"SsDesktopMenuItem",props:{item:{type:Object}}},Gr=Yr,Jr=lo(Gr,Wr,qr,!1,null,"6d300903",null),Kr=Jr.exports,Zr={name:"SsDesktopMenu",components:{SsDesktopMenuItem:Kr,SafeArea:po},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:so()((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)}},Xr=Zr,Qr=lo(Xr,Ur,zr,!1,null,"1467499a",null),ei=Qr.exports,ti=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)},ni=[],oi=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)])},si=[],ri=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))])])},ii=[],ai={name:"SsDesktopMenuPostItem",props:{item:Object}},ci=ai,li=lo(ci,ri,ii,!1,null,"530d05a5",null),ui=li.exports,di=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))])])},pi=[],fi={name:"SsDesktopMenuSeriesItem",props:{item:Object}},_i=fi,hi=lo(_i,di,pi,!1,null,"c3fac60c",null),mi=hi.exports,vi=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()])},gi=[],bi={name:"SsDesktopMenuGoodItem",props:{item:Object},filters:{round:cr}},yi=bi,wi=lo(yi,vi,gi,!1,null,"90b66948",null),Ci=wi.exports,Si=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)])},xi=[],ki={name:"SsDesktopMenuPrimeExplore",components:{SsButton2:go},props:{item:Object},mounted(){}},Ei=ki,$i=lo(Ei,Si,xi,!1,null,"7425759b",null),Oi=$i.exports,Ti=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",{staticClass:"ss__user__prime__card ss__user__prime__card--front"},[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:!1}}):e._e(),t("i",{staticClass:"prime__badge"})],1),e.userInfo?t("div",{staticClass:"ss__user__prime__card__nickname"},[e._v(e._s(e.userInfo.nickname))]):e._e(),e.userInfo&&e.userInfo.member?t("div",{staticClass:"ss__user__prime__card__info"},[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))]),t("span",{directives:[{name:"show",rawName:"v-show",value:e.userInfo.member.end_time,expression:"userInfo.member.end_time"}],staticClass:"prime__valid"},[e._v("VALID THRU "+e._s(e._f("formatDate")(1e3*e.userInfo.member.end_time,"YYYY/MM/DD")))])]):e._e(),t("i",{staticClass:"sspai__logo"})]),t("div",{staticClass:"ss__user__prime__card ss__user__prime__card--back"},[t("SsPrimeLogo",{staticClass:"comp__PrimeLogo"})],1)])])])},Ii=[],Mi=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.0578 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.2887
7Z"}}),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"}})])])},Li=[],Pi={name:"SsPrimeLogo",props:{type:{type:String,default:"italic"}}},Ai=Pi,Di=lo(Ai,Mi,Li,!1,null,"3accd1bc",null),ji=Di.exports,Ri={name:"SsUserPrimeCard",components:{SsPortrait:ss,SsPrimeLogo:ji},inject:["$getUserInfo"],data(){return{flipped:!1}},computed:{userInfo(){const e=this.$getUserInfo();return e||{nickname:"吃派的水獭",member:{}}}},filters:{formatDate:ar}
7,methods:{toggle(){this.flipped=!this.flipped}},mounted(){}},Ni=Ri,Bi=lo(Ni,Ti,Ii,!1,null,"6e6d8934",null),Fi=Bi.exports,Hi=function(){var e,t,n,o,s,r,i,a,c,l,u,d,p,f,_,h,m,v,g,b,y=this,w=y._self._c;return w("a",{staticClass:"ss__coCreaionItem__card__wrapper",attrs:{href:y.item.url,target:y.item.blank?"_blank":"_self"}},[w("div",{staticClass:"ss__coCreaionItem__card"},[w("div",{staticClass:"ss__coCreaionItem__image__wrapper"},[w("img",{attrs:{src:y.$formatImageSrc(null===(e=y.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"},[y._v(y._s(null===(t=y.item)||void 0===t?void 0:t.name))]),w("div",{staticClass:"ss__coCreaionItem__desc text_ellipsis"},[y._v(y._s(null===(n=y.item)||void 0===n?void 0:n.description))]),w("div",{staticClass:"ss__coCreaionItem__info__footer"},[null!==(o=y.item)&&void 0!==o&&o.initiator?w("SsAvatar",{staticClass:"comp__SsAvatar",attrs:{src:y.$formatImageSrc(null===(s=y.item)||void 0===s||null===(s=s.initiator)||void 0===s?void 0:s.avatar,{w:32,h:32})}}):y._e(),null!==(r=y.item)&&void 0!==r&&r.initiator?w("span",[y._v(" "+y._s(null===(i=y.item)||void 0===i||null===(i=i.initiator)||void 0===i?void 0:i.nickname)+" 发起 ")]):y._e(),null!==(a=y.item)&&void 0!==a&&a.participationCount?w("hr"):y._e(),null!==(c=y.item)&&void 0!==c&&c.participationCount?w("span",[y._v(" "+y._s(null===(l=y.item)||void 0===l?void 0:l.participationCount)+" 派友参与 ")]):y._e()],1)]),w("div",{class:["ss__coCreaionItem__footer",{"ss__coCreaionItem__footer--onCrowdfunding":null===(u=y.latest)||void 0===u?void 0:u.onCrowdfunding},{"ss__coCreaionItem__footer--onSale":null===(d=y.latest)||void 0===d?void 0:d.onSale},{"ss__coCreaionItem__footer--yipai":null===(p=y.latest)||void 0===p?void 0:p.isYipai}],style:{"--progress":`${y.progress}%`}},[null!==(f=y.latest)&&void 0!==f&&f.onCrowdfunding?[w("div",{staticClass:"onCrowdfunding"},[w("span",[y._v("众筹已完成 "+y._s(`${y.progress}%`))]),w("span",[y._v("|")]),w("span",[y._v(y._s(y.remainingTime))])]),w("CoCreationItemButton",{staticClass:"comp__CoCreationItemButton",attrs:{button:null===(_=y.latest)||void 0===_?void 0:_.button,"arrow-visible":!0}})]:null!==(h=y.latest)&&void 0!==h&&h.onSale?[w("div",{staticClass:"onSale"},[w("span",[y._v(y._s(null===(m=y.latest)||void 0===m?void 0:m.title))]),w("span",{staticClass:"price"},[w("strong",[y._v(y._s(y.price))]),y._v("起")])]),w("CoCreationItemButton",{staticClass:"comp__CoCreationItemButton",attrs:{button:null===(v=y.latest)||void 0===v?void 0:v.button,"arrow-visible":!0}})]:[w("div",{staticClass:"ss__coCreaionItem__updates text_ellipsis"},[w("span",[y._v(y._s(null===(g=y.latest)||void 0===g?void 0:g.title))])]),null!==(b=y.latest)&&void 0!==b&&b.isYipai?w("CoCreationItemButton",{staticClass:"comp__CoCreationItemButton",attrs:{button:y.latest.button,"arrow-visible":!0}}):y._e()]],2)])])},Vi=[];const Ui={key:"url",value:1},zi={key:"url",value:2,getUrl:e=>`/bullet/${e}`},Wi={key:"interaction",value:3},qi={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}},Yi={key:"url",value:5,getUrl:e=>`/order/confirm/product?id=${e}`},Gi={value:1,label:"已筹金额"},Ji={value:2,label:"已筹份数"};var Ki=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}})])},Zi=[],Xi={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}}},Qi=Xi,ea=lo(Qi,Ki,Zi,!1,null,"4796c51e",null),ta=ea.exports,na=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)},oa=[],sa={name:"CoCreationItemButton",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}}},ra=sa,ia=lo(ra,na,oa,!1,null,"ffae20fa",null),aa=ia.exports,ca={name:"SsCoCreationItemCard",components:{SsAvatar:ta,CoCreationItemButton:aa},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 o=parseInt(new Date/1e3);return o>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 o=parseInt(new Date/1e3);return o>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:qi.value===e.button_type,onCrowdfunding:Yi.value===e.button_type,isYipai:zi.value===e.button_type}},getTimelineNodeButton(e,t){var n;const{button_title:o,button_url:s,button_type:r,button_icon:i,content:a,button_crowdfunding_goal_type:c,button_crowdfunding_goal_value:l,button_crowdfunding_start_time:u,button_crowdfunding_end_time:d,button_crowdfunding_price:p,button_crowdfunding_origin_price:f,button_crowdfunding_sale_value:_}=e;switch(r){case Ui.value:return{title:o,url:s,icon:i};case zi.value:return{title:o,icon:i,url:zi.getUrl(e.button_bullet_created_at)};case Wi.value:return{title:o,icon:i,eventHandler:()=>{}};case qi.value:return{title:o,icon:i,url:qi.getUrl(e.button_product_booking_id),getProductData:qi.beforeHandler.bind(this,e.button_product_booking_id)};case Yi.value:return{title:o,icon:i,url:Yi.getUrl(e.button_product_booking_id),panel:{title:(null===(n=[Gi,Ji].find((e=>e.value===c)))||void 0===n?void 0:n.label)||"",crowdfundingGoalValue:l,crowdfundingStartTime:u,crowdfundingEndTime:d,crowdfundingPrice:p,crowdfundingPriceOriginal:f,crowdfundingAchievedValue:_}};default:return{title:a?o||"查看详情":"",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 o=parseInt(new Date/1e3),s=n-o;if(s>259200)this.remainingTime=`剩余 ${Math.ceil(s/86400)} 天`;else if(s<=0)this.remainingTime="已结束";else{const e=Math.floor(s/3600),t=Math.floor(s%3600/60),n=s%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()}},la=ca,ua=lo(la,Hi,Vi,!1,null,"401338a7",null),da=ua.exports,pa=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)])},fa=[];go.install=e=>e.component(go.name,go);var _a=go,ha={name:"SsCoCreationEntryCard",components:{SsButton2:_a},props:{item:{type:Object,required:!0}}},ma=ha,va=lo(ma,pa,fa,!1,null,"7812b3fe",null),ga=va.exports,ba={name:"SsDesktopSubmenuItem",components:{SsDesktopMenuItem:Kr,SsDesktopMenuPostItem:ui,SsDesktopMenuSeriesItem:mi,SsDesktopMenuGoodItem:Ci,SsDesktopMenuPrimeExplore:Oi,SsUserPrimeCard:Fi,SsCoCreationItemCard:da,SsCoCreationEntryCard:ga},props:{submenu:{type:Object}}},ya=ba,wa=lo(ya,oi,si,!1,null,"98bf876a",null),Ca=wa.exports,Sa={name:"SsDesktopSubmenu",components:{SsDesktopSubmenuItem:Ca},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=dr(t,"--h-SsCustomHeaderDesktopSubmenu");e&&(this.$refs.menuWrapper.style.height=e)}}}},xa=Sa,ka=lo(xa,ti,ni,!1,null,"17889ae3",null),Ea=ka.exports,$a=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"}
7)]):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)},Oa=[],Ta={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")}}},Ia=Ta,Ma=lo(Ia,$a,Oa,!1,null,"1b263d52",null),La=Ma.exports;La.install=e=>e.component(La.name,La);var Pa=La,Aa=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:["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)},Da=[],ja=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)},Ra=[],Na={name:"SsMobileSubmenu",components:{SsDesktopMenuItem:Kr,SsDesktopMenuPostItem:ui,SsDesktopMenuSeriesItem:mi,SsDesktopMenuGoodItem:Ci,SsDesktopMenuPrimeExplore:Oi,SsCoCreationItemCard:da,SsCoCreationEntryCard:ga},props:{submenu:{type:Object,require:!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 o=event.deltaY||event.detail||event.wheelDelta;o>0?t.scrollLeft+=e:t.scrollLeft-=e}))}))}},mounted(){}},Ba=Na,Fa=lo(Ba,ja,Ra,!1,null,"0c333df6",null),Ha=Fa.exports,Va=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()])},Ua=[],za={name:"SsMobileMenuItem",components:{SsButton2:_a},props:{item:{type:Object,require:!0},noJump:{type:Boolean,default:!1}}},Wa=za,qa=lo(Wa,Va,Ua,!1,null,"6136d4a2",null),Ya=qa.exports;Es.install=e=>e.component(Es.name,Es);var Ga=Es,Ja={name:"SsMobileMenu",components:{SsMobileSubmenu:Ha,SsMobileMenuItem:Ya,SsInput:Ga,SsButton2:_a},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"}}},Ka=Ja,Za=lo(Ka,Aa,Da,!1,null,"31590f69",null),Xa=Za.exports,Qa=o(7771),ec=o.n(Qa),tc={name:"SsCustomHeader",components:{SsCustomHeaderSearch:Is,SsCustomHeaderWrite:jr,SsCustomHeaderMobileMenu:Vr,SsCustomHeaderDesktopMenu:ei,SsDesktopSubmenu:Ea,SsDialog2:Pa,SsMobileMenu:Xa,SsCustomHeaderLogo:gs,SsCustomHeaderUser:ps,SsCustomHeaderNotice:Oo},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:ec()()+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=ur(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:pr(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,o;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===(o=e.co_creation)||void 0===o?void 0:o.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}},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<ec()()&&this.fetchHeaderData()},mounted(){window.addEventListener("ssCustomHeaderToggleTarget",(e=>{const{detail:t}=e;
7"search"!==t&&(this.searchVisible=!1),"notice"!==t&&(this.noticeVisible=!1),"menu"!==t&&(this.mobileMenuVisible=!1),"user"!==t&&(this.userMenuVisible=!1)}))},beforeDestroy(){window.removeEventListener("ssCustomHeaderToggleTarget")}},nc=tc,oc=lo(nc,Qn,eo,!1,null,"1e5c6b14",null),sc=oc.exports;sc.install=e=>e.component(sc.name,sc);var rc=sc,ic=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/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")])])])])])},ac=[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"})])}],cc={name:"SsCustomFooter",components:{SsCustomHeaderLogo:gs,SsFeaturePopover:Lr},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)}},lc=cc,uc=lo(lc,ic,ac,!1,null,"34c64568",null),dc=uc.exports;dc.install=e=>e.component(dc.name,dc);var pc=dc,fc=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}
7),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}),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)},_c=[],hc={name:"SsCustomerService",components:{SsButton2:go,SsFeaturePopover:Lr},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=hc,vc=lo(mc,fc,_c,!1,null,"1fc3bcf0",null),gc=vc.exports;gc.install=e=>e.component(gc.name,gc);var bc=gc,yc=function(){var e,t=this,n=t._self._c;return n("el-dialog",{staticClass:"ss__login__dialog__wrapper",attrs:{"custom-class":"ss__login__dialog",visible:t.dialogVisible,"append-to-body":"","show-close":!1,"close-on-click-modal":!1,width:"626px"},on:{"update:visible":function(e){t.dialogVisible=e}}},[n("div",{staticClass:"text-align-right",attrs:{slot:"title"},slot:"title"},[n("SsButton2",{staticClass:"ss__login__dialog__btn__close",attrs:{type:"text"},on:{click:function(e){t.dialogVisible=!1}}},[n("i",{staticClass:"ssCommunityIcon__cancel"})])],1),n("SsLogin",{attrs:{internationalUserLoginOn:null===(e=t.setting)||void 0===e?void 0:e.international_user_login_on},on:{loginSuccess:function(e){return t.$emit("loginSuccess",e)}}})],1)},wc=[],Cc=function(){var e=this,t=e._self._c;return t("div",{class:["ss__login__wrapper",e.currentState]},[t("div",{staticClass:"ss__login__title"},[e._v(" "+e._s(e.currentState===e.STATES.INITIAL?"登录少数派":e.currentState===e.STATES.WELCOME_BACK?"欢迎回来":e.currentState.includes("CODE")?"验证码登录":"密码登录")+" ")]),e.currentState===e.STATES.WELCOME_BACK?t("div",{staticClass:"ss__login__user__info"},[t("SsAvatar",{staticClass:"comp__SsAvatar",attrs:{src:e.$formatImageSrc(e.avatar,{w:176,h:176})}}),t("span",{staticClass:"ss__login__user__nickname"},[e._v(e._s(e.nickname))]),t("span",{staticClass:"ss__login__user__account"},[e._v(e._s(e.formatAccout(e.account.value)))]),t("SsButton2",{staticClass:"btn__continue",on:{click:e.onContinue}},[t("span",[e._v("登录")])]),t("SsButton2",{staticClass:"btn__clear__user",attrs:{type:"text"},on:{click:e.resetAccount}},[t("i",{staticClass:"ssCommunityIcon__otterAwkward"}
7),t("span",[e._v("这不是我")])])],1):e._e(),t("form",{class:["ss__login",{loginByPwd:e.loginByPwd},{loginByCode:e.loginByCode}],attrs:{autocomplete:"off"},on:{submit:function(e){e.preventDefault()}}},[t("SsPhoneInput",{directives:[{name:"show",rawName:"v-show",value:e.currentState===e.STATES.INITIAL||e.currentState===e.STATES.PWD_FORM||e.currentState===e.STATES.PWD_ERROR,expression:"currentState === STATES.INITIAL || currentState === STATES.PWD_FORM || currentState === STATES.PWD_ERROR"}],class:["comp__PhoneInput",e.accountType],attrs:{"show-area":!("mobilePhone"!==e.accountType||!e.internationalUserLoginOn),"show-all-area":!0,phone:e.account.value,"area-id":e.account.national_area_id,type:"text",placeholder:"输入手机号 或 邮箱"},on:{"update:phone":function(t){return e.$set(e.account,"value",t)},"update:areaId":function(t){return e.$set(e.account,"national_area_id",t)},"update:area-id":function(t){return e.$set(e.account,"national_area_id",t)},enter:e.onContinue}}),e.currentState===e.STATES.INITIAL?t("SsButton2",{staticClass:"btn__continue",on:{click:e.onContinue}},[t("span",[e._v("继续")])]):e._e(),t("SsPasswordInput",{directives:[{name:"show",rawName:"v-show",value:e.currentState===e.STATES.INITIAL||e.currentState===e.STATES.PWD_FORM||e.currentState===e.STATES.PWD_ERROR,expression:"currentState === STATES.INITIAL || currentState === STATES.PWD_FORM || currentState === STATES.PWD_ERROR"}],ref:"SsPasswordInput",class:["comp__PasswordInput",{"comp__PasswordInput--hidden":!(e.currentState===e.STATES.PWD_FORM||e.currentState===e.STATES.PWD_ERROR)}],attrs:{"aria-hidden":!(e.currentState===e.STATES.PWD_FORM||e.currentState===e.STATES.PWD_ERROR),password:e.password},on:{"update:password":function(t){e.password=t},input:e.OnPwdInput}}),e.currentState===e.STATES.PWD_ERROR?t("div",{staticClass:"ss__login__error__message"},[e._v(" "+e._s(e.message)+" ")]):e._e(),e.currentState===e.STATES.PWD_FORM||e.currentState===e.STATES.PWD_ERROR?t("SsButton2",{staticClass:"btn__continue",on:{click:e.onLoginSubmit}},[t("span",[e._v("登录")])]):e._e()],1),e.currentState===e.STATES.INITIAL?[t("div",{staticClass:"split"},[e._v("其他方式")]),t("div",{staticClass:"btns__wrapper"},[t("SsButton2",{staticClass:"btn__login__by__other",on:{click:e.weixinLogin}},[t("i",{staticClass:"ssCommunityIcon__weixin"})]),t("SsButton2",{staticClass:"btn__login__by__other",on:{click:e.weiboLogin}},[t("i",{staticClass:"ssCommunityIcon__weibo"})])],1),t("div",{staticClass:"ss__login__statement"},[1===e.account.national_area_id?[t("span",[e._v(e._s("未注册账号验证后自动登录, \n注册或登录即代表同意"))]),t("a",{attrs:{href:"https://sspai.com/page/agreement",target:"_blank"}},[e._v("用户协议")]),t("span",[e._v("及")]),t("a",{attrs:{href:"https://sspai.com/page/privacy_policy",target:"_blank"}},[e._v("隐私条款")])]:[t("span",[e._v("海外手机号暂不支持注册,已注册账号可正常登录")])]],2)]:e._e(),t("div",{directives:[{name:"show",rawName:"v-show",value:e.currentState===e.STATES.CODE_SLIDER||e.currentState===e.STATES.PWD_SLIDE,expression:"currentState === STATES.CODE_SLIDER || currentState === STATES.PWD_SLIDE"}],staticClass:"comp__SlideVerification__wrapper"},[t("div",{staticClass:"comp__SlideVerification__tips"},[e.currentState===e.STATES.CODE_SLIDER?t("span",[e._v("点击验证,获取验证码")]):t("span",[e._v("点击验证")])]),t("SsSlideVerification",{ref:"slideVerification",staticClass:"comp__SlideVerification",attrs:{id:"SlideVerificationForLogin"}})],1),e.currentState===e.STATES.CODE_FORM||e.currentState===e.STATES.CODE_ERROR?t("div",[t("div",{staticClass:"ss__login__verification__status"},[t("span",[e._v("验证码已发送至 "+e._s(e.formatAccout(e.account.value)))]),t("SsButton2",{staticClass:"btn__send__code",attrs:{type:"text",disabled:e.countdown>0},on:{click:e.onContinue}},[e._v(" 重新发送 "),e.countdown?t("span",{staticClass:"countdown"},[e._v("("+e._s(e.countdown)+")")]):e._e()])],1),t("SsVerificationCode",{staticClass:"comp__SsVerificationCode",attrs:{error:e.currentState===e.STATES.CODE_ERROR,errorMessage:e.message},on:{completed:e.onCodeCompleted,input:e.onCodeInput}}
7)],1):e._e(),e.currentState!==e.STATES.INITIAL&&e.currentState!==e.STATES.WELCOME_BACK?t("div",{staticClass:"login__dropdown__wrapper"},[e.currentState.includes("PWD")?t("a",{staticClass:"ss__login__link__reset__pwd",attrs:{href:"/forget/phone"}},[e._v("忘记密码")]):e._e(),t("Dropdown",{staticClass:"login__dropdown",attrs:{trigger:"click",placement:"bottom"},on:{command:e.toggleLoginType}},[t("span",{staticClass:"el-dropdown-link"},[e._v("更多选项")]),t("DropdownMenu",{staticClass:"login__options",attrs:{slot:"dropdown"},slot:"dropdown"},[e.loginByPwd?t("DropdownItem",{attrs:{icon:"ssCommunityIcon__mobile",command:"mobilePhoneCode"}},[e._v(" 手机号 + 验证码登录 ")]):e._e(),e.loginByCode?t("DropdownItem",{attrs:{icon:"ssCommunityIcon__password",command:"mobilePhonePwd"}},[e._v(" 手机号 + 密码登录 ")]):e._e(),e.loginByCode?t("DropdownItem",{attrs:{icon:"ssCommunityIcon__mail",command:"emailPwd"}},[e._v(" 邮箱 + 密码登录 ")]):e._e(),t("DropdownItem",{attrs:{icon:"ssCommunityIcon__more",command:"other"}},[e._v(" 其他方式 ")])],1)],1)],1):e._e()],2)},Sc=[],xc=o(7099),kc=o.n(xc),Ec=o(2173),$c=o.n(Ec),Oc=o(3229),Tc=o.n(Oc);ta.install=e=>e.component(ta.name,ta);var Ic=ta,Mc=function(){var e=this,t=e._self._c;return t("div",{staticClass:"phone__input__wrapper"},[t("SsAreaCodeSelect",{directives:[{name:"show",rawName:"v-show",value:e.showArea,expression:"showArea"}],staticClass:"comp__AreaCodeSelect phone__input__prefix",attrs:{options:e.areaCode,disabled:e.disabled},on:{change:e.onChangeArea},model:{value:e.area,callback:function(t){e.area=t},expression:"area"}}),t("input",{staticClass:"phone__input",attrs:{name:e.name,id:e.id,autocomplete:e.id,placeholder:e.placeholder,type:e.type,disabled:e.disabled},domProps:{value:e.phone},on:{input:e.onPhoneInput,keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.$emit("enter")}}})],1)},Lc=[],Pc=function(){var e=this,t=e._self._c;return t("div",{staticClass:"area__code__select__wrapper"},[t("div",{staticClass:"input__wrapper",on:{click:e.onClick}},[t("input",{ref:"input",staticClass:"input",attrs:{readonly:"",disabled:e.disabled},domProps:{value:e.value?`+${e.value.code}`:""},on:{focus:e.show,blur:e.hide}}),t("span",{staticClass:"input__placeholder"},[e._v(e._s(e.value?`+${e.value.code}`:""))])]),t("transition",{attrs:{name:"dropdown"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"select__scrollbar"},[t("div",{staticClass:"select__dropdown"},[t("ul",{staticClass:"select__dropdown__list"},e._l(e.options,(function(n){return t("li",{key:n.id,class:["select__dropdown__item",{"select__dropdown__item--active":e.value.id===n.id}],on:{click:function(t){return e.select(n)}}},[t("span",{staticClass:"select__dropdown__item__text"},[e._v(e._s(n.name_zh))]),t("span",{staticClass:"select__dropdown__item__code"},[e._v(e._s(n.code))])])})),0)])])])],1)},Ac=[],Dc={name:"SsAreaCodeSelect",model:{prop:"value",event:"change"},props:{value:{type:Object,default:()=>({code:"86",id:1,name_zh:"中国"})},options:{type:Array,default:()=>[]},disabled:{type:Boolean,default:!1}},data(){return{visible:!1,timer:null}},methods:{show(){this.timer&&(clearTimeout(this.timer),this.timer=null),this.disabled||(this.visible=!0)},hide(){this.timer=setTimeout((()=>{this.visible=!1}),150)},hideNow(){this.timer&&(clearTimeout(this.timer),this.timer=null),this.visible=!1},onClick(){this.disabled||this.$refs.input.focus()},select(e){this.$emit("change",e),this.hideNow()}},mounted(){"ontouchstart"in window||(this.$el.addEventListener("mouseenter",this.show),this.$el.addEventListener("mouseleave",this.hide))},destroyed(){this.$el.removeEventListener("mouseenter",this.show),this.$el.removeEventListener("mouseleave",this.hide)}},jc=Dc,Rc=lo(jc,Pc,Ac,!1,null,"f2c56c64",null),Nc=Rc.exports;Nc.install=e=>e.component(Nc.name,Nc);var Bc=Nc,Fc={name:"SsPhoneInput",components:{SsAreaCodeSelect:Bc},props:{showArea:{type:Boolean,default:()=>!0},showAllArea:{type:Boolean,default:()=>!1},phone:{type:String,default:""},areaId:{type:Number},type:{type:String,default:"tel"},name:{type:String,default:"username"},id:{type:String,default:"username"},placeholder:{type:String,default:""},disabled:{type:Boolean,default:!1}},data(){return{areaCode:[{code:"86",id:1,name_zh:"中国"}],area:{code:"86",id:1,name_zh:"中国"}}},watch:{areaId(){this.areaId!==(this.area&&this.area.id)&&(this.area=this.areaCode.find((e=>e.id===this.areaId)))}},methods:{async getAreaCode(){try{const e=await this.$http({url:"/user/national/code/international/page/get",params:{limit:100,offset:0}});if(!e)throw new Error("请求超时!");if(e.error||!e.data)throw new Error(e.msg||JSON.stringify(e));this.showAllArea?this.areaCode=e.data:this.areaCode=e.data.slice(1),this.area=this.areaCode.find((e=>e.id===this.areaId))}catch(e){console.log(e)}},onPhoneInput(e){e.target.value=e.target.value.replace(/[^a-zA-Z0-9_\-.+@]/g,"");const t=e.target.value;this.$emit("update:phone",t)},onChangeArea(e){this.$emit("update:areaId",e.id)}},created(){this.getAreaCode()}},Hc=Fc,Vc=lo(Hc,Mc,Lc,!1,null,"38def426",null),Uc=Vc.exports;Uc.install=e=>e.component(Uc.name,Uc);var zc=Uc,Wc=function(){var e=this,t=e._self._c;return t("div",{staticClass:"password__input__wrapper"},[t("input",{ref:"input",attrs:{placeholder:e.placeholder,type:e.pwdVisible?"text":"password",name:e.name,id:e.id,autocomplete:e.id},domProps:{value:e.password},on:{input:e.onInput,change:e.onInput}}),t("Checkbox",{staticClass:"password__input__append",model:{value:e.pwdVisible,callback:function(t){e.pwdVisible=t},expression:"pwdVisible"}},[e.pwdVisible?t("i",{staticClass:"ssCommunityIcon__otter"}):t("i",{staticClass:"ssCommunityIcon__otterClosedEyes"})])],1)},qc=[],Yc=o(2626),Gc=o.n(Yc),Jc={name:"SsPasswordInput",components:{Checkbox:Gc()},props:{name:{type:String,default:"password"},id:{type:String,default:"password"},password:{type:String,default:""},rememberPwd:{type:Boolean,default:()=>!1},placeholder:{type:String,default:"密码"}},data(){return{pwdVisible:!1}}
7,methods:{onChange(e){this.$emit("update:rememberPwd",e)},onInput(e){this.$emit("update:password",e.target.value),this.$emit("input")},focus(){this.$refs.input.focus()}}},Kc=Jc,Zc=lo(Kc,Wc,qc,!1,null,"71d7d615",null),Xc=Zc.exports;Xc.install=e=>e.component(Xc.name,Xc);var Qc=Xc,el=function(){var e=this,t=e._self._c;return t("div",{staticClass:"nc-container",attrs:{id:e.id}})},tl=[],nl={name:"SsSlideVerification",props:{id:{type:String,default:""},terminalType:{type:String,default:"pc"}},data(){return{isDesktop:!1,captchaInstance:null,controller:null}},methods:{init(){const e=this;e.clear(),e.controller=new AbortController;const t=`#${e.id}`;let n="FFFF0N0N000000006ED9",o="ic_message_h5";return e.isDesktop&&(n="FFFF0N0N000000006ED9",o="ic_message"),new Promise(((s,r)=>{var i;e.controller.signal.aborted?r(new Error("cancel")):(window.AWSC.use("ic",(function(r,i){e.captchaInstance=i.init({appkey:n,scene:o,renderTo:t,width:"100%",height:56,upLang:{cn:{LOADING:"加载中...",SLIDE:"请向右滑动验证",SUCCESS:"验证通过",ERROR:"非常抱歉,网络出错了...",FAIL:"验证失败,请重试"}},success:function(e){s(e)},fail:function(e){console.log(e)},error:function(e){console.log(e)}})})),null===(i=this.controller.signal)||void 0===i||i.addEventListener("abort",(()=>{r(new Error("cancel"))}),{once:!0}))}))},clear(){this.controller&&!this.controller.signal.aborted&&this.controller.abort(),this.controller=null,this.$el.innerHTML="",this.captchaInstance=null},async reinit(){return this.clear(),await this.$nextTick(),this.init()}},beforeMount(){this.isDesktop=!("ontouchstart"in window)},mounted(){window.report=console.log},destroyed(){window.report=void 0}},ol=nl,sl=lo(ol,el,tl,!1,null,null,null),rl=sl.exports;rl.install=e=>e.component(rl.name,rl);var il=rl,al=function(){var e=this,t=e._self._c;return t("div",{class:["ss__verification__code__wrapper",{error:e.error},{focused:e.focusedIndex>-1}]},[e._l(e.maxLength,(function(n,o){return t("div",{key:o,staticClass:"ss__verification__code__box",class:{blank:isNaN(e.code[o]),focused:e.focusedIndex===o,filled:e.code.length>o},on:{click:e.focusHiddenInput}},[e._v(" "+e._s(e.code[o]||"-")+" ")])})),t("input",{directives:[{name:"model",rawName:"v-model",value:e.code,expression:"code"}],ref:"hiddenInput",staticClass:"ss__verification__code__hidden__input",attrs:{type:"text",name:"code",id:"code",autocomplete:"code",maxlength:e.maxLength},domProps:{value:e.code},on:{input:[function(t){t.target.composing||(e.code=t.target.value)},e.handleInput],focus:e.handleFocus,blur:e.handleBlur,keydown:e.handleKeydown}}),e.error?t("div",{staticClass:"error__msg"},[e._v(e._s(e.errorMessage))]):e._e()],2)},cl=[],ll={name:"SsVerificationCode",props:{maxLength:{type:Number,default:6},error:{type:Boolean,default:!1},errorMessage:{type:String}},data(){return{code:"",focusedIndex:-1}},methods:{handleInput(){this.code=this.code.replace(/[^0-9]/g,""),this.$emit("input",this.code),this.code.length===this.maxLength&&(this.$emit("completed",this.co
7de),this.$refs.hiddenInput.blur()),this.focusedIndex=this.code.length===this.maxLength?this.maxLength-1:this.code.length},handleFocus(){this.error&&(this.code="",this.$emit("input",this.code)),this.focusedIndex=this.code.length},handleBlur(){this.focusedIndex=-1},handleKeydown(e){"Backspace"===e.key&&0===this.code.length&&(this.focusedIndex=-1)},focusHiddenInput(){this.$refs.hiddenInput.focus()}}},ul=ll,dl=lo(ul,al,cl,!1,null,"02ee8600",null),pl=dl.exports;pl.install=e=>e.component(pl.name,pl);var fl=pl,_l={"am-AM":/^(\+?374|0)(33|4[134]|55|77|88|9[13-689])\d{6}$/,"ar-AE":/^((\+?971)|0)?5[024568]\d{7}$/,"ar-BH":/^(\+?973)?(3|6)\d{7}$/,"ar-DZ":/^(\+?213|0)(5|6|7)\d{8}$/,"ar-LB":/^(\+?961)?((3|81)\d{6}|7\d{7})$/,"ar-EG":/^((\+?20)|0)?1[0125]\d{8}$/,"ar-IQ":/^(\+?964|0)?7[0-9]\d{8}$/,"ar-JO":/^(\+?962|0)?7[789]\d{7}$/,"ar-KW":/^(\+?965)([569]\d{7}|41\d{6})$/,"ar-LY":/^((\+?218)|0)?(9[1-6]\d{7}|[1-8]\d{7,9})$/,"ar-MA":/^(?:(?:\+|00)212|0)[5-7]\d{8}$/,"ar-OM":/^((\+|00)968)?(9[1-9])\d{6}$/,"ar-PS":/^(\+?970|0)5[6|9](\d{7})$/,"ar-SA":/^(!?(\+?966)|0)?5\d{8}$/,"ar-SD":/^((\+?249)|0)?(9[012369]|1[012])\d{7}$/,"ar-SY":/^(!?(\+?963)|0)?9\d{8}$/,"ar-TN":/^(\+?216)?[2459]\d{7}$/,"az-AZ":/^(\+994|0)(10|5[015]|7[07]|99)\d{7}$/,"bs-BA":/^((((\+|00)3876)|06))((([0-3]|[5-6])\d{6})|(4\d{7}))$/,"be-BY":/^(\+?375)?(24|25|29|33|44)\d{7}$/,"bg-BG":/^(\+?359|0)?8[789]\d{7}$/,"bn-BD":/^(\+?880|0)1[13456789][0-9]{8}$/,"ca-AD":/^(\+376)?[346]\d{5}$/,"cs-CZ":/^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"da-DK":/^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,"de-DE":/^((\+49|0)1)(5[0-25-9]\d|6([23]|0\d?)|7([0-57-9]|6\d))\d{7,9}$/,"de-AT":/^(\+43|0)\d{1,4}\d{3,12}$/,"de-CH":/^(\+41|0)([1-9])\d{1,9}$/,"de-LU":/^(\+352)?((6\d1)\d{6})$/,"dv-MV":/^(\+?960)?(7[2-9]|9[1-9])\d{5}$/,"el-GR":/^(\+?30|0)?6(8[5-9]|9(?![26])[0-9])\d{7}$/,"el-CY":/^(\+?357?)?(9(9|6)\d{6})$/,"en-AI":/^(\+?1|0)264(?:2(35|92)|4(?:6[1-2]|76|97)|5(?:3[6-9]|8[1-4])|7(?:2(4|9)|72))\d{4}$/,"en-AU":/^(\+?61|0)4\d{8}$/,"en-AG":/^(?:\+1|1)268(?:464|7(?:1[3-9]|[28]\d|3[0246]|64|7[0-689]))\d{4}$/,"en-BM":/^(\+?1)?441(((3|7)\d{6}$)|(5[0-3][0-9]\d{4}$)|(59\d{5}$))/,"en-BS":/^(\+?1[-\s]?|0)?\(?242\)?[-\s]?\d{3}[-\s]?\d{4}$/,"en-GB":/^(\+?44|0)7\d{9}$/,"en-GG":/^(\+?44|0)1481\d{6}$/,"en-GH":/^(\+233|0)(20|50|24|54|27|57|26|56|23|28|55|59)\d{7}$/,"en-GY":/^(\+592|0)6\d{6}$/,"en-HK":/^(\+?852[-\s]?)?[456789]\d{3}[-\s]?\d{4}$/,"en-MO":/^(\+?853[-\s]?)?[6]\d{3}[-\s]?\d{4}$/,"en-IE":/^(\+?353|0)8[356789]\d{7}$/,"en-IN":/^(\+?91|0)?[6789]\d{9}$/,"en-JM":/^(\+?876)?\d{7}$/,"en-KE":/^(\+?254|0)(7|1)\d{8}$/,"fr-CF":/^(\+?236| ?)(70|75|77|72|21|22)\d{6}$/,"en-SS":/^(\+?211|0)(9[1257])\d{7}$/,"en-KI":/^((\+686|686)?)?( )?((6|7)(2|3|8)[0-9]{6})$/,"en-KN":/^(?:\+1|1)869(?:46\d|48[89]|55[6-8]|66\d|76[02-7])\d{4}$/,"en-LS":/^(\+?266)(22|28|57|58|59|27|52)\d{6}$/,"en-MT":/^(\+?356|0)?(99|79|77|21|27|22|25)[0-9]{6}$/,"en-MU":/^(\+?230|0)?\d{8}$/,"en-MW":/^(\+?265|0)(((77|88|31|99|98|21)\d{7})|(((111)|1)\d{6})|(32000\d{4}))$/,"en-NA":/^(\+?264|0)(6|8)\d{7}$/,"en-NG":/^(\+?234|0)?[789]\d{9}$/,"en-NZ":/^(\+?64|0)[28]\d{7,9}$/,"en-PG":/^(\+?675|0)?(7\d|8[18])\d{6}$/,"en-PK":/^((00|\+)?92|0)3[0-6]\d{8}$/,"en-PH":/^(09|\+639)\d{9}$/,"en-RW":/^(\+?250|0)?[7]\d{8}$/,"en-SG":/^(\+65)?[3689]\d{7}$/,"en-SL":/^(\+?232|0)\d{8}$/,"en-TZ":/^(\+?255|0)?[67]\d{8}$/,"en-UG":/^(\+?256|0)?[7]\d{8}$/,"en-US":/^((\+1|1)?( |-)?)?(\([2-9][0-9]{2}\)|[2-9][0-9]{2})( |-)?([2-9][0-9]{2}( |-)?[0-9]{4})$/,"en-ZA":/^(\+?27|0)\d{9}$/,"en-ZM":/^(\+?26)?09[567]\d{7}$/,"en-ZW":/^(\+263)[0-9]{9}$/,"en-BW":/^(\+?267)?(7[1-8]{1})\d{6}$/,"es-AR":/^\+?549(11|[2368]\d)\d{8}$/,"es-BO":/^(\+?591)?(6|7)\d{7}$/,"es-CO":/^(\+?57)?3(0(0|1|2|4|5)|1\d|2[0-4]|5(0|1))\d{7}$/,"es-CL":/^(\+?56|0)[2-9]\d{1}\d{7}$/,"es-CR":/^(\+506)?[2-8]\d{7}$/,"es-CU":/^(\+53|0053)?5\d{7}$/,"es-DO":/^(\+?1)?8[024]9\d{7}$/,"es-HN":/^(\+?504)?[9|8|3|2]\d{7}$/,"es-EC":/^(\+?593|0)([2-7]|9[2-9])\d{7}$/,"es-ES":/^(\+?34)?[6|7]\d{8}$/,"es-PE":/^(\+?51)?9\d{8}$/,"es-MX":/^(\+?52)?(1|01)?\d{10,11}$/,"es-NI":/^(\+?505)\d{7,8}$/,"es-PA":/^(\+?507)\d{7,8}$/,"es-PY":/^(\+?595|0)9[9876]\d{7}$/,"es-SV":/^(\+?503)?[67]\d{7}$/,"es-UY":/^(\+598|0)9[1-9][\d]{6}$/,"es-VE":/^(\+?58)?(2|4)\d{9}$/,"et-EE":/^(\+?372)?\s?(5|8[1-4])\s?([0-9]\s?){6,7}$/,"fa-IR":/^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/,"fi-FI":/^(\+?358|0)\s?(4[0-6]|50)\s?(\d\s?){4,8}$/,"fj-FJ":/^(\+?679)?\s?\d{3}\s?\d{4}$/,"fo-FO":/^(\+?298)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"fr-BF":/^(\+226|0)[67]\d{7}$/,"fr-BJ":/^(\+229)\d{8}$/,"fr-CD":/^(\+?243|0)?(8|9)\d{8}$/,"fr-CM":/^(\+?237)6[0-9]{8}$/,"fr-FR":/^(\+?33|0)[67]\d{8}$/,"fr-GF":/^(\+?594|0|00594)[67]\d{8}$/,"fr-GP":/^(\+?590|0|00590)[67]\d{8}$/,"fr-MQ":/^(\+?596|0|00596)[67]\d{8}$/,"fr-PF":/^(\+?689)?8[789]\d{6}$/,"fr-RE":/^(\+?262|0|00262)[67]\d{8}$/,"fr-WF":/^(\+681)?\d{6}$/,"he-IL":/^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}$/,"hu-HU":/^(\+?36|06)(20|30|31|50|70)\d{7}$/,"id-ID":/^(\+?62|0)8(1[123456789]|2[1238]|3[1238]|5[12356789]|7[78]|9[56789]|8[123456789])([\s?|\d]{5,11})$/,"ir-IR":/^(\+98|0)?9\d{9}$/,"it-IT":/^(\+?39)?\s?3\d{2} ?\d{6,7}$/,"it-SM":/^((\+378)|(0549)|(\+390549)|(\+3780549))?6\d{5,9}$/,"ja-JP":/^(\+81[ \-]?(\(0\))?|0)[6789]0[ \-]?\d{4}[ \-]?\d{4}$/,"ka-GE":/^(\+?995)?(79\d{7}|5\d{8})$/,"kk-KZ":/^(\+?7|8)?7\d{9}$/,"kl-GL":/^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"ko-KR":/^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/,"ky-KG":/^(\+?7\s?\+?7|0)\s?\d{2}\s?\d{3}\s?\d{4}$/,"lt-LT":/^(\+370|8)\d{8}$/,"lv-LV":/^(\+?371)2\d{7}$/,"mg-MG":/^((\+?261|0)(2|3)\d)?\d{7}$/,"mn-MN":/^(\+|00|011)?976(77|81|88|91|94|95|96|99)\d{6}
7$/,"my-MM":/^(\+?959|09|9)(2[5-7]|3[1-2]|4[0-5]|6[6-9]|7[5-9]|9[6-9])[0-9]{7}$/,"ms-MY":/^(\+?60|0)1(([0145](-|\s)?\d{7,8})|([236-9](-|\s)?\d{7}))$/,"mz-MZ":/^(\+?258)?8[234567]\d{7}$/,"nb-NO":/^(\+?47)?[49]\d{7}$/,"ne-NP":/^(\+?977)?9[78]\d{8}$/,"nl-BE":/^(\+?32|0)4\d{8}$/,"nl-NL":/^(((\+|00)?31\(0\))|((\+|00)?31)|0)6{1}\d{8}$/,"nl-AW":/^(\+)?297(56|59|64|73|74|99)\d{5}$/,"nn-NO":/^(\+?47)?[49]\d{7}$/,"pl-PL":/^(\+?48)? ?([5-8]\d|45) ?\d{3} ?\d{2} ?\d{2}$/,"pt-BR":/^((\+?55\ ?[1-9]{2}\ ?)|(\+?55\ ?\([1-9]{2}\)\ ?)|(0[1-9]{2}\ ?)|(\([1-9]{2}\)\ ?)|([1-9]{2}\ ?))((\d{4}\-?\d{4})|(9[1-9]{1}\d{3}\-?\d{4}))$/,"pt-PT":/^(\+?351)?9[1236]\d{7}$/,"pt-AO":/^(\+244)\d{9}$/,"ro-MD":/^(\+?373|0)((6(0|1|2|6|7|8|9))|(7(6|7|8|9)))\d{6}$/,"ro-RO":/^(\+?40|0)\s?7\d{2}(\/|\s|\.|-)?\d{3}(\s|\.|-)?\d{3}$/,"ru-RU":/^(\+?7|8)?9\d{9}$/,"si-LK":/^(?:0|94|\+94)?(7(0|1|2|4|5|6|7|8)( |-)?)\d{7}$/,"sl-SI":/^(\+386\s?|0)(\d{1}\s?\d{3}\s?\d{2}\s?\d{2}|\d{2}\s?\d{3}\s?\d{3})$/,"sk-SK":/^(\+?421)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"so-SO":/^(\+?252|0)((6[0-9])\d{7}|(7[1-9])\d{7})$/,"sq-AL":/^(\+355|0)6[789]\d{6}$/,"sr-RS":/^(\+3816|06)[- \d]{5,9}$/,"sv-SE":/^(\+?46|0)[\s\-]?7[\s\-]?[02369]([\s\-]?\d){7}$/,"tg-TJ":/^(\+?992)?[5][5]\d{7}$/,"th-TH":/^(\+66|66|0)\d{9}$/,"tr-TR":/^(\+?90|0)?5\d{9}$/,"tk-TM":/^(\+993|993|8)\d{8}$/,"uk-UA":/^(\+?38|8)?0\d{9}$/,"uz-UZ":/^(\+?998)?(6[125-79]|7[1-69]|88|9\d)\d{7}$/,"vi-VN":/^((\+?84)|0)((3([2-9]))|(5([25689]))|(7([0|6-9]))|(8([1-9]))|(9([0-9])))([0-9]{7})$/,"zh-CN":/^((\+|00)86)?(1[3-9]|9[28])\d{9}$/,"zh-TW":/^(\+?886\-?|0)?9\d{8}$/,"dz-BT":/^(\+?975|0)?(17|16|77|02)\d{6}$/,"ar-YE":/^(((\+|00)9677|0?7)[0137]\d{7}|((\+|00)967|0)[1-7]\d{6})$/,"ar-EH":/^(\+?212|0)[\s\-]?(5288|5289)[\s\-]?\d{5}$/,"fa-AF":/^(\+93|0)?(2{1}[0-8]{1}|[3-5]{1}[0-4]{1})(\d{7})$/};function hl(e,t,n){if(As(e),n&&n.strictMode&&!e.startsWith("+"))return!1;if(Array.isArray(t))return t.some((function(t){if(_l.hasOwnProperty(t)){var n=_l[t];if(n.test(e))return!0}return!1}));if(t in _l)return _l[t].test(e);if(!t||"any"===t){for(var o in _l)if(_l.hasOwnProperty(o)){var s=_l[o];if(s.test(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))}_l["en-CA"]=_l["en-US"],_l["fr-CA"]=_l["en-CA"],_l["fr-BE"]=_l["nl-BE"],_l["zh-HK"]=_l["en-HK"],_l["zh-MO"]=_l["en-MO"],_l["ga-IE"]=_l["en-IE"],_l["fr-CH"]=_l["de-CH"],_l["it-CH"]=_l["fr-CH"];Object.keys(_l);function ml(e){return ml="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},ml(e)}function vl(e,t){var n,o;As(e),"object"===ml(t)?(n=t.min||0,o=t.max):(n=arguments[1],o=arguments[2]);var s=encodeURI(e).split(/%..|./).length-1;return s>=n&&("undefined"===typeof o||s<=o)}var gl={allow_display_name:!1,allow_underscores:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0,blackl
7isted_chars:"",ignore_max_length:!1,host_blacklist:[],host_whitelist:[]},bl=/^([^\x00-\x1F\x7F-\x9F\cX]+)</i,yl=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,wl=/^[a-z\d]+$/,Cl=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,Sl=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A1-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,xl=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i,kl=254;function El(e){var t=e.replace(/^"(.+)"$/,"$1");if(!t.trim())return!1;var n=/[\.";<>]/.test(t);if(n){if(t===e)return!1;var o=t.split('"').length===t.split('\\"').length;if(!o)return!1}return!0}function $l(e,t){if(As(e),t=Ds(t,gl),t.require_display_name||t.allow_display_name){var n=e.match(bl);if(n){var o=n[1];if(e=e.replace(o,"").replace(/(^<|>$)/g,""),o.endsWith(" ")&&(o=o.slice(0,-1)),!El(o))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&e.length>kl)return!1;var s=e.split("@"),r=s.pop(),i=r.toLowerCase();if(t.host_blacklist.includes(i))return!1;if(t.host_whitelist.length>0&&!t.host_whitelist.includes(i))return!1;var a=s.join("@");if(t.domain_specific_validation&&("gmail.com"===i||"googlemail.com"===i)){a=a.toLowerCase();var c=a.split("+")[0];if(!vl(c.replace(/\./g,""),{min:6,max:30}))return!1;for(var l=c.split("."),u=0;u<l.length;u++)if(!wl.test(l[u]))return!1}if(!1===t.ignore_max_length&&(!vl(a,{max:64})||!vl(r,{max:254})))return!1;if(!Rs(r,{require_tld:t.require_tld,ignore_max_length:t.ignore_max_length,allow_underscores:t.allow_underscores})){if(!t.allow_ip_domain)return!1;if(!Us(r)){if(!r.startsWith("[")||!r.endsWith("]"))return!1;var d=r.slice(1,-1);if(0===d.length||!Us(d))return!1}}if('"'===a[0])return a=a.slice(1,a.length-1),t.allow_utf8_local_part?xl.test(a):Cl.test(a);for(var p=t.allow_utf8_local_part?Sl:yl,f=a.split("."),_=0;_<f.length;_++)if(!p.test(f[_]))return!1;return!t.blacklisted_chars||-1===a.search(new RegExp("[".concat(t.blacklisted_chars,"]+"),"g"))}const Ol={INITIAL:"INITIAL",WELCOME_BACK:"WELCOME_BACK",CODE_SLIDER:"CODE_SLIDER",CODE_FORM:"CODE_FORM",CODE_ERROR:"CODE_ERROR",PWD_FORM:"PWD_FORM",PWD_SLIDE:"PWD_SLIDE",PWD_ERROR:"PWD_ERROR"};var Tl={name:"SsLogin",components:{SsAvatar:Ic,SsButton2:_a,SsPhoneInput:zc,SsPasswordInput:Qc,SsSlideVerification:il,SsVerificationCode:fl,DropdownMenu:Tc(),DropdownItem:$c(),Dropdown:kc()},props:{internationalUserLoginOn:{type:Boolean,default:!0}},data(){return{STATES:Ol,currentState:Ol.INITIAL,account:{national_area_id:1,value:""},avatar:"",nickname:"",password:"",code:"",message:"",countdown:0}},computed:{accountType(){return this.internationalUserLoginOn&&hl(this.account.value)||!this.internationalUserLoginOn&&hl(this.account.value,"zh-CN")?"mobilePhone":$l(this.account.value)?"email":""},loginByPwd(){return this.currentState===Ol.PWD_FORM||this.currentState===Ol.PWD_SLIDE||this.currentState===Ol.PWD_ERROR},loginByCode(){return this.currentState===Ol.CODE_SLIDER||this.currentState===Ol.CODE_FORM||this.currentState===Ol.CODE_ERROR}},created(){this.getUserInfo()},methods:{weixinLogin(){let e=navigator.userAgent.toLowerCase();/micromessenger/i.test(e)?window.location.replace("https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx5fcbd08737189722&redirect_uri=https%3A%2F%2Fsspai.com%2Fcallback%2Fweixin_mp&response_type=code&scope=snsapi_userinfo&state=sspai_mp#wechat_redirect"):window.location.replace("https://open.weixin.qq.com/connect/qrconnect?appid=wx4445a22c1049d828&redirect_uri=http%3A%2F%2Fsspai.com%2Fcallback%2Fweixin&response_type=code&scope=snsapi_login")},weiboLogin(){const e=window.location.origin+"/callback/weibo";window.location.replace(`https://api.weibo.com/oauth2/authorize?redirect_uri=${encodeURIComponent(e)}&response_type=code&client_id=3196502474&display=mobile`)},onContinue(){const e="mobilePhone"===this.accountType,t="email"===this.accountType;if(!e&&!t)return void this.$toast({type:"error",message:"请填写正确的手机号或邮箱"});t&&this.setCurrentState(Ol.PWD_FORM);const n=window.localStorage.getItem("ss_login_way");n&&"mobilePhonePwd"===n&&this.setCurrentState(Ol.PWD_FORM),this.currentState!==Ol.PWD_FORM?this.beforeSendCode():this.$nextTick((()=>{this.$refs.SsPasswordInput.focus()}))},beforeSendCode(){this.setCurrentState(Ol.CODE_SLIDER),this.$nextTick((async()=>{try{await this.initSlideVerification(),this.sendCode(this.verification)}catch(e){console.log(e)}}))},async onLoginSubmit(){const e="mobilePhone"===this.accountType,t="email"===this.accountType;if(!e&&!t)return this.setCurrentState(Ol.PWD_ERROR),void(this.message="请填写正确的手机号或邮箱");if(!this.password)return this.setCurrentState(Ol.PWD_ERROR),void(this.message="请填写密码");this.setCurrentState(Ol.PWD_SLIDE);try{await this.initSlideVerification(),setTimeout((()=>{t&&this.loginByEmailPwd(),e&&this.loginByMobilePhonePwd()}),1e3)}catch(n){console.log(n)}},async loginByEmailPwd(){try{const{value:e}=this.account,{sig:t,token:n,sessionId:o}=this.verification;let s={password:this.password,sig:t,token_afs:n,session_id:o};const r=await this.$http({method:"POST",url:"/user/email/login",data:Object.assign(s,{email:e}),skipDefaultHandler:!0});if(!r)throw new Error("请求超时!");if(r.error||!r.data)throw new Error(r.msg||JSON.stringify(r));this.$bus.$emit("gtag","login",{method:"email"}),window.localStorage.setItem("ss_login_way","emailPwd"),this.$bus.$emit("loginSuccess",r.data),this.$emit("loginSuccess",r.data)}catch(e){console.error(e),this.setCurrentState(Ol.PWD_ERROR),this.message=e.message}},async loginByMobilePhonePwd(){try{const{sig:e,token:t,sessionId:n}=this.verification,{national_area_id:o,value:s}=this.account;let r={national_area_id:o,phone:s,password:this.password,sig:e,token_afs:t,session_id:n},i=null;if(0===this.account.national_area_id&&(this.account.national_area_id=1),i=1===this.account.national_area_id?await this.$http({method:"POST",url:"/user/phone/login",data:r,skipDefaultHandler:!0}):await this.$http({method:"POST",url:"/user/international/phone/login",data:r,skipDefaultHandler:!0}),!i)throw new Error("请求失败或超时!");if(i.error||!i.data){let e=i.msg||JSON.stringify(i);throw"1000"!==i.error&&1e3!==i.error||(e="账户密码不匹配"),new Error(e)}this.$bus.$emit("gtag","login",{method:"phone"}),window.localStorage.setItem("ss_login_way","mobilePhonePwd"),this.$bus.$emit("loginSuccess",i.data),this.$emit("loginSuccess",i.data)}catch(e){console.log(e),this.setCurrentState(Ol.PWD_ERROR),this.message=e.message}},async loginByVerificationCode(){try{let e={national_area_id:this.account.national_area_id,phone:this.account.value,phone_verify_code:this.code},t=null;if(t=1===this.account.national_area_id?await this.$http({method:"POST",url:"/user/phone/ver
7ify/code/login",data:e,skipDefaultHandler:!0}):await this.$http({method:"POST",url:"/user/international/phone/login",data:e,skipDefaultHandler:!0}),!t)throw new Error("请求失败或超时!");if(t.error||!t.data){let e=t.msg||JSON.stringify(t);throw"1000"!==t.error&&1e3!==t.error&&"验证码不存在"!==t.msg||(e="验证码错误"),new Error(e)}this.$bus.$emit("gtag","login",{method:"code"}),window.localStorage.setItem("ss_login_way","mobilePhoneCode"),this.$bus.$emit("loginSuccess",t.data),this.$emit("loginSuccess",t.data)}catch(e){console.error(e),this.setCurrentState(Ol.CODE_ERROR),this.message=e.message}},async initSlideVerification(){try{const e=await this.$refs.slideVerification.reinit();return this.verification=e,e}catch(e){throw"cancel"===e.message?console.log("验证被取消"):console.error("验证初始化失败:",e),e}},formatAccout(e){if(!e)return"";let t="";if($l(e)){const n=e.lastIndexOf("@");t=e.substring(n),e=e.substring(0,n)}const n=e.length;if(n<=4)return e.replace(/\d/g,"·");let o=4,s=Math.min(3,n-o),r=Math.max(0,Math.min(4,n-s-o));const i=e.slice(0,s),a=r>0?e.slice(-r):"",c="*".repeat(Math.max(1,n-s-r));return`${i}${c}${a}${t}`},startCountdown(){this.countdown=60;const e=setInterval((()=>{this.countdown>0?this.countdown--:clearInterval(e)}),1e3)},async sendCode(e){const{national_area_id:t,value:n}=this.account,{sig:o,token:s,sessionId:r}=e;let i=null,a={national_area_id:t,phone:n,session_id:r,sig:o,token_afs:s};try{if(i=1===this.account.national_area_id?await this.$http({method:"POST",url:"/user/phone/verify/code/login/verify/code/send",data:a}):await this.$http({method:"POST",url:"/user/international/phone/verify/code/login/verify/code/send",data:a}),!i)throw new Error("请求失败或超时!");if(i.error)throw new Error(i.msg||JSON.stringify(i));this.setCurrentState(Ol.CODE_FORM),this.startCountdown()}catch(c){console.log(c),this.setCurrentState(Ol.INITIAL)}},OnPwdInput(){this.setCurrentState(Ol.PWD_FORM),this.message=""},onCodeInput(){this.setCurrentState(Ol.CODE_FORM),this.message=""},onCodeCompleted(e){console.log(e),this.code=e,this.loginByVerificationCode()},getUserInfo(){try{const e=JSON.parse(window.localStorage.getItem("SsUserInfo")),t=window.localStorage.getItem("ss_login_way");if(e){const{avatar:n,nickname:o,phone:s,national_area_id:r,email:i}=e;this.account={national_area_id:r,value:"emailPwd"===t?i:s},this.avatar=n,this.nickname=o,this.setCurrentState(Ol.WELCOME_BACK)}}catch(e){console.log("用户数据无效!")}},resetAccount(){this.account={national_area_id:1,value:""},this.avatar="",this.nickname="",this.setCurrentState(Ol.INITIAL),window.localStorage.setItem("SsUserInfo","")},toggleLoginType(e){switch(e){case"mobilePhoneCode":"email"===this.accountType?(this.setCurrentState(Ol.INITIAL),this.account.value="",this.password="",this.code=""):this.beforeSendCode();break;case"mobilePhonePwd":"email"===this.accountType&&(this.account.value="",this.account.national_area_id=1),this.setCurrentState(Ol.PWD_FORM);break;case"emailPwd":"mobilePhone"===this.accountType&&(this.account.value="",this.account.national_area_id=0),this.setCurrentState(Ol.PWD_FORM);break;default:this.setCurrentState(Ol.INITIAL),this.account.value="",this.password="",this.code="";break}},setCurrentState(e){this.currentState=e,this.$emit("changeState",this.currentState)}}},Il=Tl,Ml=lo(Il,Cc,Sc,!1,null,"9a3eb6a4",null),Ll=Ml.exports,Pl={name:"ss-login-dialog",components:{SsLogin:Ll,SsButton2:go},data(){return{dialogVisible:!1}},props:{setting:{type:Object}},mounted(){this.$bus.$on("openLogin",((e=!0)=>{this.dialogVisible=e})),this.$bus.$on("closeLogin",((e=!1)=>{this.dialogVisible=e}))},destroyed(){this.$bus.$off("openLogin"),this.$bus.$off("closeLogin")},methods:{dialogIsShow(){return this.dialogVisible}}},Al=Pl,Dl=lo(Al,yc,wc,!1,null,"cdda3dce",null),jl=Dl.exports;jl.install=e=>e.component(jl.name,jl);var Rl=jl;function Nl(e){const t=e.split(/[\\/]/).pop(),n=t.lastIndexOf(".");return""===t||n<1?"":t.slice(n+1)}function Bl(e,{thumbnail:t,crop:n,quality:o,format:s}){let r="/auto-orient";if(t){const{w:e,h:n}=t;r+=`/thumbnail/!${e||""}x${n||""}${e&&n?"r":""}`}if(n){const{w:e,h:t}=n;r+=`/gravity/center/crop/${e||""}x${t||""}`}return o&&(r+=`/quality/${o}`),s&&(r+="/format/webp"),r+="/ignore-error/1",`${e}?imageMogr2${r}`}function Fl(e,t,n,o){if(!n)return"";o||(o={}
7),(o.w||o.h)&&(o.thumbnail={w:o.w,h:o.h},o.crop={w:o.w,h:o.h}),n=0===n.indexOf("http")?n:"/"===n[0]?`${t}${n.slice(1)}`:`${t}${n}`;let s=Nl(n);const r="webp"===s,i="gif"===s;return Bl(n,!s||i?{quality:90}:r&&e?o:r&&!e?Object.assign(o,{format:"jpg"}):e?Object.assign(o,{format:"webp"}):o)}const Hl={install(e){e.prototype.$bus=new e,window.$bus=e.prototype.$bus}};u().use(B),u().use(c()),u().use(Hl),u().customElement("ss-custom-header",rc),u().customElement("ss-custom-footer",pc),u().customElement("ss-customer-service",bc),u().customElement("ss-login-dialog",Rl),u().prototype.$http=Xn,u().prototype.$formatImageSrc=Fl.bind(null,window.isSupportWebp,window.__CDN_HOST__),u().prototype.$round=(e,t,n="string")=>{const o=Math.round(+e+"e"+t)/Math.pow(10,t);return"number"===n?o:o.toFixed(t)},u().prototype.$toast=e=>(e=e||{},"string"===typeof e&&(e={message:e}),e.customClass="ss__toast",e.iconClass=`ssCommunityIcon__${e.type||"info"}`,i()(e)),u().prototype.$openLink=lr,u().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"}}(),s}()}));
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.