UNPKG

shu-c-view

Version:

rollup 打包vue@2.7组件库框架

7 lines (6 loc) 46.8 kB
/*! * shu-c-view v2.0.0 * (c) 2024-04-23 * @license MIT */ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("lodash/isArray"),e=require("lodash/isEmpty");function r(t){return t&&"object"==typeof t&&"default"in t?t.default:t}var n=r(t),o=r(e);var i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},s=function(t){return t&&t.Math==Math&&t},a=s("object"==typeof globalThis&&globalThis)||s("object"==typeof window&&window)||s("object"==typeof self&&self)||s("object"==typeof i&&i)||function(){return this}()||Function("return this")(),c={},u=function(t){try{return!!t()}catch(t){return!0}},l=!u((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),f=!u((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),h=f,p=Function.prototype.call,d=h?p.bind(p):function(){return p.apply(p,arguments)},v={},g={}.propertyIsEnumerable,y=Object.getOwnPropertyDescriptor,m=y&&!g.call({1:2},1);v.f=m?function(t){var e=y(this,t);return!!e&&e.enumerable}:g;var b,S,w=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},x=f,O=Function.prototype,P=O.call,_=x&&O.bind.bind(P,P),T=x?_:function(t){return function(){return P.apply(t,arguments)}},E=T,A=E({}.toString),j=E("".slice),C=function(t){return j(A(t),8,-1)},F=u,R=C,I=Object,M=T("".split),k=F((function(){return!I("z").propertyIsEnumerable(0)}))?function(t){return"String"==R(t)?M(t,""):I(t)}:I,$=function(t){return null==t},L=$,D=TypeError,W=function(t){if(L(t))throw D("Can't call method on "+t);return t},H=k,N=W,B=function(t){return H(N(t))},z="object"==typeof document&&document.all,G={all:z,IS_HTMLDDA:void 0===z&&void 0!==z},q=G.all,U=G.IS_HTMLDDA?function(t){return"function"==typeof t||t===q}:function(t){return"function"==typeof t},Y=U,V=G.all,X=G.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:Y(t)||t===V}:function(t){return"object"==typeof t?null!==t:Y(t)},K=a,J=U,Q=function(t){return J(t)?t:void 0},Z=function(t,e){return arguments.length<2?Q(K[t]):K[t]&&K[t][e]},tt=T({}.isPrototypeOf),et=a,rt=Z("navigator","userAgent")||"",nt=et.process,ot=et.Deno,it=nt&&nt.versions||ot&&ot.version,st=it&&it.v8;st&&(S=(b=st.split("."))[0]>0&&b[0]<4?1:+(b[0]+b[1])),!S&&rt&&(!(b=rt.match(/Edge\/(\d+)/))||b[1]>=74)&&(b=rt.match(/Chrome\/(\d+)/))&&(S=+b[1]);var at=S,ct=at,ut=u,lt=!!Object.getOwnPropertySymbols&&!ut((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&ct&&ct<41})),ft=lt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ht=Z,pt=U,dt=tt,vt=Object,gt=ft?function(t){return"symbol"==typeof t}:function(t){var e=ht("Symbol");return pt(e)&&dt(e.prototype,vt(t))},yt=String,mt=function(t){try{return yt(t)}catch(t){return"Object"}},bt=U,St=mt,wt=TypeError,xt=function(t){if(bt(t))return t;throw wt(St(t)+" is not a function")},Ot=xt,Pt=$,_t=function(t,e){var r=t[e];return Pt(r)?void 0:Ot(r)},Tt=d,Et=U,At=X,jt=TypeError,Ct={exports:{}},Ft=a,Rt=Object.defineProperty,It=function(t,e){try{Rt(Ft,t,{value:e,configurable:!0,writable:!0})}catch(r){Ft[t]=e}return e},Mt=It,kt=a["__core-js_shared__"]||Mt("__core-js_shared__",{}),$t=kt;(Ct.exports=function(t,e){return $t[t]||($t[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.26.1",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"});var Lt=W,Dt=Object,Wt=function(t){return Dt(Lt(t))},Ht=Wt,Nt=T({}.hasOwnProperty),Bt=Object.hasOwn||function(t,e){return Nt(Ht(t),e)},zt=T,Gt=0,qt=Math.random(),Ut=zt(1..toString),Yt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Ut(++Gt+qt,36)},Vt=a,Xt=Ct.exports,Kt=Bt,Jt=Yt,Qt=lt,Zt=ft,te=Xt("wks"),ee=Vt.Symbol,re=ee&&ee.for,ne=Zt?ee:ee&&ee.withoutSetter||Jt,oe=function(t){if(!Kt(te,t)||!Qt&&"string"!=typeof te[t]){var e="Symbol."+t;Qt&&Kt(ee,t)?te[t]=ee[t]:te[t]=Zt&&re?re(e):ne(e)}return te[t]},ie=d,se=X,ae=gt,ce=_t,ue=function(t,e){var r,n;if("string"===e&&Et(r=t.toString)&&!At(n=Tt(r,t)))return n;if(Et(r=t.valueOf)&&!At(n=Tt(r,t)))return n;if("string"!==e&&Et(r=t.toString)&&!At(n=Tt(r,t)))return n;throw jt("Can't convert object to primitive value")},le=TypeError,fe=oe("toPrimitive"),he=function(t,e){if(!se(t)||ae(t))return t;var r,n=ce(t,fe);if(n){if(void 0===e&&(e="default"),r=ie(n,t,e),!se(r)||ae(r))return r;throw le("Can't convert object to primitive value")}return void 0===e&&(e="number"),ue(t,e)},pe=gt,de=function(t){var e=he(t,"string");return pe(e)?e:e+""},ve=X,ge=a.document,ye=ve(ge)&&ve(ge.createElement),me=function(t){return ye?ge.createElement(t):{}},be=me,Se=!l&&!u((function(){return 7!=Object.defineProperty(be("div"),"a",{get:function(){return 7}}).a})),we=l,xe=d,Oe=v,Pe=w,_e=B,Te=de,Ee=Bt,Ae=Se,je=Object.getOwnPropertyDescriptor;c.f=we?je:function(t,e){if(t=_e(t),e=Te(e),Ae)try{return je(t,e)}catch(t){}if(Ee(t,e))return Pe(!xe(Oe.f,t,e),t[e])};var Ce={},Fe=l&&u((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Re=X,Ie=String,Me=TypeError,ke=function(t){if(Re(t))return t;throw Me(Ie(t)+" is not an object")},$e=l,Le=Se,De=Fe,We=ke,He=de,Ne=TypeError,Be=Object.defineProperty,ze=Object.getOwnPropertyDescriptor;Ce.f=$e?De?function(t,e,r){if(We(t),e=He(e),We(r),"function"==typeof t&&"prototype"===e&&"value"in r&&"writable"in r&&!r.writable){var n=ze(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:"configurable"in r?r.configurable:n.configurable,enumerable:"enumerable"in r?r.enumerable:n.enumerable,writable:!1})}return Be(t,e,r)}:Be:function(t,e,r){if(We(t),e=He(e),We(r),Le)try{return Be(t,e,r)}catch(t){}if("get"in r||"set"in r)throw Ne("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var Ge=Ce,qe=w,Ue=l?function(t,e,r){return Ge.f(t,e,qe(1,r))}:function(t,e,r){return t[e]=r,t},Ye={exports:{}},Ve=l,Xe=Bt,Ke=Function.prototype,Je=Ve&&Object.getOwnPropertyDescriptor,Qe=Xe(Ke,"name"),Ze={EXISTS:Qe,PROPER:Qe&&"something"===function(){}.name,CONFIGURABLE:Qe&&(!Ve||Ve&&Je(Ke,"name").configurable)},tr=U,er=kt,rr=T(Function.toString);tr(er.inspectSource)||(er.inspectSource=function(t){return rr(t)});var nr,or,ir,sr=er.inspectSource,ar=U,cr=a.WeakMap,ur=ar(cr)&&/native code/.test(String(cr)),lr=Ct.exports,fr=Yt,hr=lr("keys"),pr=function(t){return hr[t]||(hr[t]=fr(t))},dr={},vr=ur,gr=a,yr=X,mr=Ue,br=Bt,Sr=kt,wr=pr,xr=dr,Or=gr.TypeError,Pr=gr.WeakMap;if(vr||Sr.state){var _r=Sr.state||(Sr.state=new Pr);_r.get=_r.get,_r.has=_r.has,_r.set=_r.set,nr=function(t,e){if(_r.has(t))throw Or("Object already initialized");return e.facade=t,_r.set(t,e),e},or=function(t){return _r.get(t)||{}},ir=function(t){return _r.has(t)}}else{var Tr=wr("state");xr[Tr]=!0,nr=function(t,e){if(br(t,Tr))throw Or("Object already initialized");return e.facade=t,mr(t,Tr,e),e},or=function(t){return br(t,Tr)?t[Tr]:{}},ir=function(t){return br(t,Tr)}}var Er={set:nr,get:or,has:ir,enforce:function(t){return ir(t)?or(t):nr(t,{})},getterFor:function(t){return function(e){var r;if(!yr(e)||(r=or(e)).type!==t)throw Or("Incompatible receiver, "+t+" required");return r}}},Ar=u,jr=U,Cr=Bt,Fr=l,Rr=Ze.CONFIGURABLE,Ir=sr,Mr=Er.enforce,kr=Er.get,$r=Object.defineProperty,Lr=Fr&&!Ar((function(){return 8!==$r((function(){}),"length",{value:8}).length})),Dr=String(String).split("String"),Wr=Ye.exports=function(t,e,r){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!Cr(t,"name")||Rr&&t.name!==e)&&(Fr?$r(t,"name",{value:e,configurable:!0}):t.name=e),Lr&&r&&Cr(r,"arity")&&t.length!==r.arity&&$r(t,"length",{value:r.arity});try{r&&Cr(r,"constructor")&&r.constructor?Fr&&$r(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=Mr(t);return Cr(n,"source")||(n.source=Dr.join("string"==typeof e?e:"")),t};Function.prototype.toString=Wr((function(){return jr(this)&&kr(this).source||Ir(this)}),"toString");var Hr=U,Nr=Ce,Br=Ye.exports,zr=It,Gr=function(t,e,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:e;if(Hr(r)&&Br(r,i,n),n.global)o?t[e]=r:zr(e,r);else{try{n.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=r:Nr.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},qr={},Ur=Math.ceil,Yr=Math.floor,Vr=Math.trunc||function(t){var e=+t;return(e>0?Yr:Ur)(e)},Xr=function(t){var e=+t;return e!=e||0===e?0:Vr(e)},Kr=Xr,Jr=Math.max,Qr=Math.min,Zr=function(t,e){var r=Kr(t);return r<0?Jr(r+e,0):Qr(r,e)},tn=Xr,en=Math.min,rn=function(t){return t>0?en(tn(t),9007199254740991):0},nn=rn,on=function(t){return nn(t.length)},sn=B,an=Zr,cn=on,un=function(t){return function(e,r,n){var o,i=sn(e),s=cn(i),a=an(n,s);if(t&&r!=r){for(;s>a;)if((o=i[a++])!=o)return!0}else for(;s>a;a++)if((t||a in i)&&i[a]===r)return t||a||0;return!t&&-1}},ln={includes:un(!0),indexOf:un(!1)},fn=Bt,hn=B,pn=ln.indexOf,dn=dr,vn=T([].push),gn=function(t,e){var r,n=hn(t),o=0,i=[];for(r in n)!fn(dn,r)&&fn(n,r)&&vn(i,r);for(;e.length>o;)fn(n,r=e[o++])&&(~pn(i,r)||vn(i,r));return i},yn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],mn=gn,bn=yn.concat("length","prototype");qr.f=Object.getOwnPropertyNames||function(t){return mn(t,bn)};var Sn={};Sn.f=Object.getOwnPropertySymbols;var wn=Z,xn=qr,On=Sn,Pn=ke,_n=T([].concat),Tn=wn("Reflect","ownKeys")||function(t){var e=xn.f(Pn(t)),r=On.f;return r?_n(e,r(t)):e},En=Bt,An=Tn,jn=c,Cn=Ce,Fn=function(t,e,r){for(var n=An(e),o=Cn.f,i=jn.f,s=0;s<n.length;s++){var a=n[s];En(t,a)||r&&En(r,a)||o(t,a,i(e,a))}},Rn=u,In=U,Mn=/#|\.prototype\./,kn=function(t,e){var r=Ln[$n(t)];return r==Wn||r!=Dn&&(In(e)?Rn(e):!!e)},$n=kn.normalize=function(t){return String(t).replace(Mn,".").toLowerCase()},Ln=kn.data={},Dn=kn.NATIVE="N",Wn=kn.POLYFILL="P",Hn=kn,Nn=a,Bn=c.f,zn=Ue,Gn=Gr,qn=It,Un=Fn,Yn=Hn,Vn=function(t,e){var r,n,o,i,s,a=t.target,c=t.global,u=t.stat;if(r=c?Nn:u?Nn[a]||qn(a,{}):(Nn[a]||{}).prototype)for(n in e){if(i=e[n],o=t.dontCallGetSet?(s=Bn(r,n))&&s.value:r[n],!Yn(c?n:a+(u?".":"#")+n,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Un(i,o)}(t.sham||o&&o.sham)&&zn(i,"sham",!0),Gn(r,n,i,t)}},Xn=u,Kn=Vn,Jn=k,Qn=B,Zn=function(t,e){var r=[][t];return!!r&&Xn((function(){r.call(null,e||function(){return 1},1)}))},to=T([].join),eo=Jn!=Object,ro=Zn("join",",");Kn({target:"Array",proto:!0,forced:eo||!ro},{join:function(t){return to(Qn(this),void 0===t?",":t)}});var no=C,oo=Array.isArray||function(t){return"Array"==no(t)},io=TypeError,so=de,ao=Ce,co=w,uo=function(t,e,r){var n=so(e);n in t?ao.f(t,n,co(0,r)):t[n]=r},lo={};lo[oe("toStringTag")]="z";var fo="[object z]"===String(lo),ho=fo,po=U,vo=C,go=oe("toStringTag"),yo=Object,mo="Arguments"==vo(function(){return arguments}()),bo=ho?vo:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=yo(t),go))?r:mo?vo(e):"Object"==(n=vo(e))&&po(e.callee)?"Arguments":n},So=T,wo=u,xo=U,Oo=bo,Po=sr,_o=function(){},To=[],Eo=Z("Reflect","construct"),Ao=/^\s*(?:class|function)\b/,jo=So(Ao.exec),Co=!Ao.exec(_o),Fo=function(t){if(!xo(t))return!1;try{return Eo(_o,To,t),!0}catch(t){return!1}},Ro=function(t){if(!xo(t))return!1;switch(Oo(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Co||!!jo(Ao,Po(t))}catch(t){return!0}};Ro.sham=!0;var Io=!Eo||wo((function(){var t;return Fo(Fo.call)||!Fo(Object)||!Fo((function(){t=!0}))||t}))?Ro:Fo,Mo=oo,ko=Io,$o=X,Lo=oe("species"),Do=Array,Wo=function(t){var e;return Mo(t)&&(e=t.constructor,(ko(e)&&(e===Do||Mo(e.prototype))||$o(e)&&null===(e=e[Lo]))&&(e=void 0)),void 0===e?Do:e},Ho=function(t,e){return new(Wo(t))(0===e?0:e)},No=u,Bo=at,zo=oe("species"),Go=function(t){return Bo>=51||!No((function(){var e=[];return(e.constructor={})[zo]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},qo=Vn,Uo=u,Yo=oo,Vo=X,Xo=Wt,Ko=on,Jo=function(t){if(t>9007199254740991)throw io("Maximum allowed index exceeded");return t},Qo=uo,Zo=Ho,ti=Go,ei=at,ri=oe("isConcatSpreadable"),ni=ei>=51||!Uo((function(){var t=[];return t[ri]=!1,t.concat()[0]!==t})),oi=ti("concat"),ii=function(t){if(!Vo(t))return!1;var e=t[ri];return void 0!==e?!!e:Yo(t)};qo({target:"Array",proto:!0,arity:1,forced:!ni||!oi},{concat:function(t){var e,r,n,o,i,s=Xo(this),a=Zo(s,0),c=0;for(e=-1,n=arguments.length;e<n;e++)if(ii(i=-1===e?s:arguments[e]))for(o=Ko(i),Jo(c+o),r=0;r<o;r++,c++)r in i&&Qo(a,c,i[r]);else Jo(c+1),Qo(a,c++,i);return a.length=c,a}});var si=C,ai=T,ci=function(t){if("Function"===si(t))return ai(t)},ui=xt,li=f,fi=ci(ci.bind),hi=function(t,e){return ui(t),void 0===e?t:li?fi(t,e):function(){return t.apply(e,arguments)}},pi=k,di=Wt,vi=on,gi=Ho,yi=T([].push),mi=function(t){var e=1==t,r=2==t,n=3==t,o=4==t,i=6==t,s=7==t,a=5==t||i;return function(c,u,l,f){for(var h,p,d=di(c),v=pi(d),g=hi(u,l),y=vi(v),m=0,b=f||gi,S=e?b(c,y):r||s?b(c,0):void 0;y>m;m++)if((a||m in v)&&(p=g(h=v[m],m,d),t))if(e)S[m]=p;else if(p)switch(t){case 3:return!0;case 5:return h;case 6:return m;case 2:yi(S,h)}else switch(t){case 4:return!1;case 7:yi(S,h)}return i?-1:n||o?o:S}},bi={forEach:mi(0),map:mi(1),filter:mi(2),some:mi(3),every:mi(4),find:mi(5),findIndex:mi(6),filterReject:mi(7)},Si=bi.map;Vn({target:"Array",proto:!0,forced:!Go("map")},{map:function(t){return Si(this,t,arguments.length>1?arguments[1]:void 0)}});var wi=T(1..valueOf),xi=bo,Oi=String,Pi=function(t){if("Symbol"===xi(t))throw TypeError("Cannot convert a Symbol value to a string");return Oi(t)},_i=Xr,Ti=Pi,Ei=W,Ai=RangeError,ji=Vn,Ci=T,Fi=Xr,Ri=wi,Ii=function(t){var e=Ti(Ei(this)),r="",n=_i(t);if(n<0||n==1/0)throw Ai("Wrong number of repetitions");for(;n>0;(n>>>=1)&&(e+=e))1&n&&(r+=e);return r},Mi=u,ki=RangeError,$i=String,Li=Math.floor,Di=Ci(Ii),Wi=Ci("".slice),Hi=Ci(1..toFixed),Ni=function(t,e,r){return 0===e?r:e%2==1?Ni(t,e-1,r*t):Ni(t*t,e/2,r)},Bi=function(t,e,r){for(var n=-1,o=r;++n<6;)o+=e*t[n],t[n]=o%1e7,o=Li(o/1e7)},zi=function(t,e){for(var r=6,n=0;--r>=0;)n+=t[r],t[r]=Li(n/e),n=n%e*1e7},Gi=function(t){for(var e=6,r="";--e>=0;)if(""!==r||0===e||0!==t[e]){var n=$i(t[e]);r=""===r?n:r+Di("0",7-n.length)+n}return r};ji({target:"Number",proto:!0,forced:Mi((function(){return"0.000"!==Hi(8e-5,3)||"1"!==Hi(.9,0)||"1.25"!==Hi(1.255,2)||"1000000000000000128"!==Hi(0xde0b6b3a7640080,0)}))||!Mi((function(){Hi({})}))},{toFixed:function(t){var e,r,n,o,i=Ri(this),s=Fi(t),a=[0,0,0,0,0,0],c="",u="0";if(s<0||s>20)throw ki("Incorrect fraction digits");if(i!=i)return"NaN";if(i<=-1e21||i>=1e21)return $i(i);if(i<0&&(c="-",i=-i),i>1e-21)if(r=(e=function(t){for(var e=0,r=t;r>=4096;)e+=12,r/=4096;for(;r>=2;)e+=1,r/=2;return e}(i*Ni(2,69,1))-69)<0?i*Ni(2,-e,1):i/Ni(2,e,1),r*=4503599627370496,(e=52-e)>0){for(Bi(a,0,r),n=s;n>=7;)Bi(a,1e7,0),n-=7;for(Bi(a,Ni(10,n,1),0),n=e-1;n>=23;)zi(a,1<<23),n-=23;zi(a,1<<n),Bi(a,1,1),zi(a,2),u=Gi(a)}else Bi(a,0,r),Bi(a,1<<-e,0),u=Gi(a)+Di("0",s);return u=s>0?c+((o=u.length)<=s?"0."+Di("0",s-o)+u:Wi(u,0,o-s)+"."+Wi(u,o-s)):c+u}});var qi=l,Ui=Ze.EXISTS,Yi=T,Vi=Ce.f,Xi=Function.prototype,Ki=Yi(Xi.toString),Ji=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Qi=Yi(Ji.exec);qi&&!Ui&&Vi(Xi,"name",{configurable:!0,get:function(){try{return Qi(Ji,Ki(this))[1]}catch(t){return""}}});var Zi=ke,ts=function(){var t=Zi(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},es=u,rs=a.RegExp,ns=es((function(){var t=rs("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),os=ns||es((function(){return!rs("a","y").sticky})),is=ns||es((function(){var t=rs("^r","gy");return t.lastIndex=2,null!=t.exec("str")})),ss={BROKEN_CARET:is,MISSED_STICKY:os,UNSUPPORTED_Y:ns},as={},cs=gn,us=yn,ls=Object.keys||function(t){return cs(t,us)},fs=l,hs=Fe,ps=Ce,ds=ke,vs=B,gs=ls;as.f=fs&&!hs?Object.defineProperties:function(t,e){ds(t);for(var r,n=vs(e),o=gs(e),i=o.length,s=0;i>s;)ps.f(t,r=o[s++],n[r]);return t};var ys,ms=Z("document","documentElement"),bs=ke,Ss=as,ws=yn,xs=dr,Os=ms,Ps=me,_s=pr("IE_PROTO"),Ts=function(){},Es=function(t){return"<script>"+t+"<\/script>"},As=function(t){t.write(Es("")),t.close();var e=t.parentWindow.Object;return t=null,e},js=function(){try{ys=new ActiveXObject("htmlfile")}catch(t){}var t,e;js="undefined"!=typeof document?document.domain&&ys?As(ys):((e=Ps("iframe")).style.display="none",Os.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(Es("document.F=Object")),t.close(),t.F):As(ys);for(var r=ws.length;r--;)delete js.prototype[ws[r]];return js()};xs[_s]=!0;var Cs=Object.create||function(t,e){var r;return null!==t?(Ts.prototype=bs(t),r=new Ts,Ts.prototype=null,r[_s]=t):r=js(),void 0===e?r:Ss.f(r,e)},Fs=u,Rs=a.RegExp,Is=Fs((function(){var t=Rs(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),Ms=u,ks=a.RegExp,$s=Ms((function(){var t=ks("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),Ls=d,Ds=T,Ws=Pi,Hs=ts,Ns=ss,Bs=Ct.exports,zs=Cs,Gs=Er.get,qs=Is,Us=$s,Ys=Bs("native-string-replace",String.prototype.replace),Vs=RegExp.prototype.exec,Xs=Vs,Ks=Ds("".charAt),Js=Ds("".indexOf),Qs=Ds("".replace),Zs=Ds("".slice),ta=function(){var t=/a/,e=/b*/g;return Ls(Vs,t,"a"),Ls(Vs,e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),ea=Ns.BROKEN_CARET,ra=void 0!==/()??/.exec("")[1];(ta||ra||ea||qs||Us)&&(Xs=function(t){var e,r,n,o,i,s,a,c=this,u=Gs(c),l=Ws(t),f=u.raw;if(f)return f.lastIndex=c.lastIndex,e=Ls(Xs,f,l),c.lastIndex=f.lastIndex,e;var h=u.groups,p=ea&&c.sticky,d=Ls(Hs,c),v=c.source,g=0,y=l;if(p&&(d=Qs(d,"y",""),-1===Js(d,"g")&&(d+="g"),y=Zs(l,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==Ks(l,c.lastIndex-1))&&(v="(?: "+v+")",y=" "+y,g++),r=new RegExp("^(?:"+v+")",d)),ra&&(r=new RegExp("^"+v+"$(?!\\s)",d)),ta&&(n=c.lastIndex),o=Ls(Vs,p?r:c,y),p?o?(o.input=Zs(o.input,g),o[0]=Zs(o[0],g),o.index=c.lastIndex,c.lastIndex+=o[0].length):c.lastIndex=0:ta&&o&&(c.lastIndex=c.global?o.index+o[0].length:n),ra&&o&&o.length>1&&Ls(Ys,o[0],r,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&h)for(o.groups=s=zs(null),i=0;i<h.length;i++)s[(a=h[i])[0]]=o[a[1]];return o});var na=Xs;Vn({target:"RegExp",proto:!0,forced:/./.exec!==na},{exec:na});var oa,ia,sa=Vn,aa=d,ca=U,ua=ke,la=Pi,fa=(oa=!1,(ia=/[ac]/).exec=function(){return oa=!0,/./.exec.apply(this,arguments)},!0===ia.test("abc")&&oa),ha=/./.test;sa({target:"RegExp",proto:!0,forced:!fa},{test:function(t){var e=ua(this),r=la(t),n=e.exec;if(!ca(n))return aa(ha,e,r);var o=aa(n,e,r);return null!==o&&(ua(o),!0)}});var pa=f,da=Function.prototype,va=da.apply,ga=da.call,ya="object"==typeof Reflect&&Reflect.apply||(pa?ga.bind(va):function(){return ga.apply(va,arguments)}),ma=ci,ba=Gr,Sa=na,wa=u,xa=oe,Oa=Ue,Pa=xa("species"),_a=RegExp.prototype,Ta=T,Ea=Xr,Aa=Pi,ja=W,Ca=Ta("".charAt),Fa=Ta("".charCodeAt),Ra=Ta("".slice),Ia=function(t){return function(e,r){var n,o,i=Aa(ja(e)),s=Ea(r),a=i.length;return s<0||s>=a?t?"":void 0:(n=Fa(i,s))<55296||n>56319||s+1===a||(o=Fa(i,s+1))<56320||o>57343?t?Ca(i,s):n:t?Ra(i,s,s+2):o-56320+(n-55296<<10)+65536}},Ma={codeAt:Ia(!1),charAt:Ia(!0)},ka=Ma.charAt,$a=T,La=Wt,Da=Math.floor,Wa=$a("".charAt),Ha=$a("".replace),Na=$a("".slice),Ba=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,za=/\$([$&'`]|\d{1,2})/g,Ga=d,qa=ke,Ua=U,Ya=C,Va=na,Xa=TypeError,Ka=ya,Ja=d,Qa=T,Za=function(t,e,r,n){var o=xa(t),i=!wa((function(){var e={};return e[o]=function(){return 7},7!=""[t](e)})),s=i&&!wa((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[Pa]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return e=!0,null},r[o](""),!e}));if(!i||!s||r){var a=ma(/./[o]),c=e(o,""[t],(function(t,e,r,n,o){var s=ma(t),c=e.exec;return c===Sa||c===_a.exec?i&&!o?{done:!0,value:a(e,r,n)}:{done:!0,value:s(r,e,n)}:{done:!1}}));ba(String.prototype,t,c[0]),ba(_a,o,c[1])}n&&Oa(_a[o],"sham",!0)},tc=u,ec=ke,rc=U,nc=$,oc=Xr,ic=rn,sc=Pi,ac=W,cc=function(t,e,r){return e+(r?ka(t,e).length:1)},uc=_t,lc=function(t,e,r,n,o,i){var s=r+t.length,a=n.length,c=za;return void 0!==o&&(o=La(o),c=Ba),Ha(i,c,(function(i,c){var u;switch(Wa(c,0)){case"$":return"$";case"&":return t;case"`":return Na(e,0,r);case"'":return Na(e,s);case"<":u=o[Na(c,1,-1)];break;default:var l=+c;if(0===l)return i;if(l>a){var f=Da(l/10);return 0===f?i:f<=a?void 0===n[f-1]?Wa(c,1):n[f-1]+Wa(c,1):i}u=n[l-1]}return void 0===u?"":u}))},fc=function(t,e){var r=t.exec;if(Ua(r)){var n=Ga(r,t,e);return null!==n&&qa(n),n}if("RegExp"===Ya(t))return Ga(Va,t,e);throw Xa("RegExp#exec called on incompatible receiver")},hc=oe("replace"),pc=Math.max,dc=Math.min,vc=Qa([].concat),gc=Qa([].push),yc=Qa("".indexOf),mc=Qa("".slice),bc="$0"==="a".replace(/./,"$0"),Sc=!!/./[hc]&&""===/./[hc]("a","$0"),wc=!tc((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}));Za("replace",(function(t,e,r){var n=Sc?"$":"$0";return[function(t,r){var n=ac(this),o=nc(t)?void 0:uc(t,hc);return o?Ja(o,t,n,r):Ja(e,sc(n),t,r)},function(t,o){var i=ec(this),s=sc(t);if("string"==typeof o&&-1===yc(o,n)&&-1===yc(o,"$<")){var a=r(e,i,s,o);if(a.done)return a.value}var c=rc(o);c||(o=sc(o));var u=i.global;if(u){var l=i.unicode;i.lastIndex=0}for(var f=[];;){var h=fc(i,s);if(null===h)break;if(gc(f,h),!u)break;""===sc(h[0])&&(i.lastIndex=cc(s,ic(i.lastIndex),l))}for(var p,d="",v=0,g=0;g<f.length;g++){for(var y=sc((h=f[g])[0]),m=pc(dc(oc(h.index),s.length),0),b=[],S=1;S<h.length;S++)gc(b,void 0===(p=h[S])?p:String(p));var w=h.groups;if(c){var x=vc([y],b,m,s);void 0!==w&&gc(x,w);var O=sc(Ka(o,void 0,x))}else O=lc(y,s,m,b,w,o);m>=v&&(d+=mc(s,v,m)+O,v=m+y.length)}return d+mc(s,v)}]}),!wc||!bc||Sc);var xc=U,Oc=String,Pc=TypeError,_c=T,Tc=ke,Ec=function(t){if("object"==typeof t||xc(t))return t;throw Pc("Can't set "+Oc(t)+" as a prototype")},Ac=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=_c(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return Tc(r),Ec(n),e?t(r,n):r.__proto__=n,r}}():void 0),jc=U,Cc=X,Fc=Ac,Rc=X,Ic=C,Mc=oe("match"),kc=d,$c=Bt,Lc=tt,Dc=ts,Wc=RegExp.prototype,Hc=function(t){var e=t.flags;return void 0!==e||"flags"in Wc||$c(t,"flags")||!Lc(Wc,t)?e:kc(Dc,t)},Nc=Ce.f,Bc=Z,zc=Ce,Gc=l,qc=oe("species"),Uc=l,Yc=a,Vc=T,Xc=Hn,Kc=function(t,e,r){var n,o;return Fc&&jc(n=e.constructor)&&n!==r&&Cc(o=n.prototype)&&o!==r.prototype&&Fc(t,o),t},Jc=Ue,Qc=qr.f,Zc=tt,tu=function(t){var e;return Rc(t)&&(void 0!==(e=t[Mc])?!!e:"RegExp"==Ic(t))},eu=Pi,ru=Hc,nu=ss,ou=function(t,e,r){r in t||Nc(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})},iu=Gr,su=u,au=Bt,cu=Er.enforce,uu=function(t){var e=Bc(t),r=zc.f;Gc&&e&&!e[qc]&&r(e,qc,{configurable:!0,get:function(){return this}})},lu=Is,fu=$s,hu=oe("match"),pu=Yc.RegExp,du=pu.prototype,vu=Yc.SyntaxError,gu=Vc(du.exec),yu=Vc("".charAt),mu=Vc("".replace),bu=Vc("".indexOf),Su=Vc("".slice),wu=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,xu=/a/g,Ou=/a/g,Pu=new pu(xu)!==xu,_u=nu.MISSED_STICKY,Tu=nu.UNSUPPORTED_Y,Eu=Uc&&(!Pu||_u||lu||fu||su((function(){return Ou[hu]=!1,pu(xu)!=xu||pu(Ou)==Ou||"/a/i"!=pu(xu,"i")})));if(Xc("RegExp",Eu)){for(var Au=function(t,e){var r,n,o,i,s,a,c=Zc(du,this),u=tu(t),l=void 0===e,f=[],h=t;if(!c&&u&&l&&t.constructor===Au)return t;if((u||Zc(du,t))&&(t=t.source,l&&(e=ru(h))),t=void 0===t?"":eu(t),e=void 0===e?"":eu(e),h=t,lu&&"dotAll"in xu&&(n=!!e&&bu(e,"s")>-1)&&(e=mu(e,/s/g,"")),r=e,_u&&"sticky"in xu&&(o=!!e&&bu(e,"y")>-1)&&Tu&&(e=mu(e,/y/g,"")),fu&&(i=function(t){for(var e,r=t.length,n=0,o="",i=[],s={},a=!1,c=!1,u=0,l="";n<=r;n++){if("\\"===(e=yu(t,n)))e+=yu(t,++n);else if("]"===e)a=!1;else if(!a)switch(!0){case"["===e:a=!0;break;case"("===e:gu(wu,Su(t,n+1))&&(n+=2,c=!0),o+=e,u++;continue;case">"===e&&c:if(""===l||au(s,l))throw new vu("Invalid capture group name");s[l]=!0,i[i.length]=[l,u],c=!1,l="";continue}c?l+=e:o+=e}return[o,i]}(t),t=i[0],f=i[1]),s=Kc(pu(t,e),c?this:du,Au),(n||o||f.length)&&(a=cu(s),n&&(a.dotAll=!0,a.raw=Au(function(t){for(var e,r=t.length,n=0,o="",i=!1;n<=r;n++)"\\"!==(e=yu(t,n))?i||"."!==e?("["===e?i=!0:"]"===e&&(i=!1),o+=e):o+="[\\s\\S]":o+=e+yu(t,++n);return o}(t),r)),o&&(a.sticky=!0),f.length&&(a.groups=f)),t!==h)try{Jc(s,"source",""===h?"(?:)":h)}catch(t){}return s},ju=Qc(pu),Cu=0;ju.length>Cu;)ou(Au,pu,ju[Cu++]);du.constructor=Au,Au.prototype=du,iu(Yc,"RegExp",Au,{constructor:!0})}uu("RegExp");var Fu=Ye.exports,Ru=Ce,Iu=l,Mu=ss.MISSED_STICKY,ku=C,$u=function(t,e,r){return r.get&&Fu(r.get,e,{getter:!0}),r.set&&Fu(r.set,e,{setter:!0}),Ru.f(t,e,r)},Lu=Er.get,Du=RegExp.prototype,Wu=TypeError;Iu&&Mu&&$u(Du,"sticky",{configurable:!0,get:function(){if(this!==Du){if("RegExp"===ku(this))return!!Lu(this).sticky;throw Wu("Incompatible receiver, RegExp required")}}});var Hu=Ze.PROPER,Nu=Gr,Bu=ke,zu=Pi,Gu=u,qu=Hc,Uu=RegExp.prototype.toString,Yu=Gu((function(){return"/a/b"!=Uu.call({source:"a",flags:"b"})})),Vu=Hu&&"toString"!=Uu.name;(Yu||Vu)&&Nu(RegExp.prototype,"toString",(function(){var t=Bu(this);return"/"+zu(t.source)+"/"+zu(qu(t))}),{unsafe:!0});function Xu(t){return Xu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xu(t)}var Ku={},Ju=Zr,Qu=on,Zu=uo,tl=Array,el=Math.max,rl=C,nl=B,ol=qr.f,il=function(t,e,r){for(var n=Qu(t),o=Ju(e,n),i=Ju(void 0===r?n:r,n),s=tl(el(i-o,0)),a=0;o<i;o++,a++)Zu(s,a,t[o]);return s.length=a,s},sl="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];Ku.f=function(t){return sl&&"Window"==rl(t)?function(t){try{return ol(t)}catch(t){return il(sl)}}(t):ol(nl(t))};var al={},cl=oe;al.f=cl;var ul=a,ll=Bt,fl=al,hl=Ce.f,pl=function(t){var e=ul.Symbol||(ul.Symbol={});ll(e,t)||hl(e,t,{value:fl.f(t)})},dl=d,vl=Z,gl=oe,yl=Gr,ml=Ce.f,bl=Bt,Sl=oe("toStringTag"),wl=function(t,e,r){t&&!r&&(t=t.prototype),t&&!bl(t,Sl)&&ml(t,Sl,{configurable:!0,value:e})},xl=Vn,Ol=a,Pl=d,_l=T,Tl=l,El=lt,Al=u,jl=Bt,Cl=tt,Fl=ke,Rl=B,Il=de,Ml=Pi,kl=w,$l=Cs,Ll=ls,Dl=qr,Wl=Ku,Hl=Sn,Nl=c,Bl=Ce,zl=as,Gl=v,ql=Gr,Ul=Ct.exports,Yl=dr,Vl=Yt,Xl=oe,Kl=al,Jl=pl,Ql=function(){var t=vl("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,n=gl("toPrimitive");e&&!e[n]&&yl(e,n,(function(t){return dl(r,this)}),{arity:1})},Zl=wl,tf=Er,ef=bi.forEach,rf=pr("hidden"),nf=tf.set,of=tf.getterFor("Symbol"),sf=Object.prototype,af=Ol.Symbol,cf=af&&af.prototype,uf=Ol.TypeError,lf=Ol.QObject,ff=Nl.f,hf=Bl.f,pf=Wl.f,df=Gl.f,vf=_l([].push),gf=Ul("symbols"),yf=Ul("op-symbols"),mf=Ul("wks"),bf=!lf||!lf.prototype||!lf.prototype.findChild,Sf=Tl&&Al((function(){return 7!=$l(hf({},"a",{get:function(){return hf(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=ff(sf,e);n&&delete sf[e],hf(t,e,r),n&&t!==sf&&hf(sf,e,n)}:hf,wf=function(t,e){var r=gf[t]=$l(cf);return nf(r,{type:"Symbol",tag:t,description:e}),Tl||(r.description=e),r},xf=function(t,e,r){t===sf&&xf(yf,e,r),Fl(t);var n=Il(e);return Fl(r),jl(gf,n)?(r.enumerable?(jl(t,rf)&&t[rf][n]&&(t[rf][n]=!1),r=$l(r,{enumerable:kl(0,!1)})):(jl(t,rf)||hf(t,rf,kl(1,{})),t[rf][n]=!0),Sf(t,n,r)):hf(t,n,r)},Of=function(t,e){Fl(t);var r=Rl(e),n=Ll(r).concat(Ef(r));return ef(n,(function(e){Tl&&!Pl(Pf,r,e)||xf(t,e,r[e])})),t},Pf=function(t){var e=Il(t),r=Pl(df,this,e);return!(this===sf&&jl(gf,e)&&!jl(yf,e))&&(!(r||!jl(this,e)||!jl(gf,e)||jl(this,rf)&&this[rf][e])||r)},_f=function(t,e){var r=Rl(t),n=Il(e);if(r!==sf||!jl(gf,n)||jl(yf,n)){var o=ff(r,n);return!o||!jl(gf,n)||jl(r,rf)&&r[rf][n]||(o.enumerable=!0),o}},Tf=function(t){var e=pf(Rl(t)),r=[];return ef(e,(function(t){jl(gf,t)||jl(Yl,t)||vf(r,t)})),r},Ef=function(t){var e=t===sf,r=pf(e?yf:Rl(t)),n=[];return ef(r,(function(t){!jl(gf,t)||e&&!jl(sf,t)||vf(n,gf[t])})),n};El||(ql(cf=(af=function(){if(Cl(cf,this))throw uf("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?Ml(arguments[0]):void 0,e=Vl(t),r=function(t){this===sf&&Pl(r,yf,t),jl(this,rf)&&jl(this[rf],e)&&(this[rf][e]=!1),Sf(this,e,kl(1,t))};return Tl&&bf&&Sf(sf,e,{configurable:!0,set:r}),wf(e,t)}).prototype,"toString",(function(){return of(this).tag})),ql(af,"withoutSetter",(function(t){return wf(Vl(t),t)})),Gl.f=Pf,Bl.f=xf,zl.f=Of,Nl.f=_f,Dl.f=Wl.f=Tf,Hl.f=Ef,Kl.f=function(t){return wf(Xl(t),t)},Tl&&(hf(cf,"description",{configurable:!0,get:function(){return of(this).description}}),ql(sf,"propertyIsEnumerable",Pf,{unsafe:!0}))),xl({global:!0,constructor:!0,wrap:!0,forced:!El,sham:!El},{Symbol:af}),ef(Ll(mf),(function(t){Jl(t)})),xl({target:"Symbol",stat:!0,forced:!El},{useSetter:function(){bf=!0},useSimple:function(){bf=!1}}),xl({target:"Object",stat:!0,forced:!El,sham:!Tl},{create:function(t,e){return void 0===e?$l(t):Of($l(t),e)},defineProperty:xf,defineProperties:Of,getOwnPropertyDescriptor:_f}),xl({target:"Object",stat:!0,forced:!El},{getOwnPropertyNames:Tf}),Ql(),Zl(af,"Symbol"),Yl[rf]=!0;var Af=lt&&!!Symbol.for&&!!Symbol.keyFor,jf=Vn,Cf=Z,Ff=Bt,Rf=Pi,If=Ct.exports,Mf=Af,kf=If("string-to-symbol-registry"),$f=If("symbol-to-string-registry");jf({target:"Symbol",stat:!0,forced:!Mf},{for:function(t){var e=Rf(t);if(Ff(kf,e))return kf[e];var r=Cf("Symbol")(e);return kf[e]=r,$f[r]=e,r}});var Lf=Vn,Df=Bt,Wf=gt,Hf=mt,Nf=Af,Bf=(0,Ct.exports)("symbol-to-string-registry");Lf({target:"Symbol",stat:!0,forced:!Nf},{keyFor:function(t){if(!Wf(t))throw TypeError(Hf(t)+" is not a symbol");if(Df(Bf,t))return Bf[t]}});var zf=T([].slice),Gf=Vn,qf=Z,Uf=ya,Yf=d,Vf=T,Xf=u,Kf=oo,Jf=U,Qf=X,Zf=gt,th=zf,eh=lt,rh=qf("JSON","stringify"),nh=Vf(/./.exec),oh=Vf("".charAt),ih=Vf("".charCodeAt),sh=Vf("".replace),ah=Vf(1..toString),ch=/[\uD800-\uDFFF]/g,uh=/^[\uD800-\uDBFF]$/,lh=/^[\uDC00-\uDFFF]$/,fh=!eh||Xf((function(){var t=qf("Symbol")();return"[null]"!=rh([t])||"{}"!=rh({a:t})||"{}"!=rh(Object(t))})),hh=Xf((function(){return'"\\udf06\\ud834"'!==rh("\udf06\ud834")||'"\\udead"'!==rh("\udead")})),ph=function(t,e){var r=th(arguments),n=e;if((Qf(e)||void 0!==t)&&!Zf(t))return Kf(e)||(e=function(t,e){if(Jf(n)&&(e=Yf(n,this,t,e)),!Zf(e))return e}),r[1]=e,Uf(rh,null,r)},dh=function(t,e,r){var n=oh(r,e-1),o=oh(r,e+1);return nh(uh,t)&&!nh(lh,o)||nh(lh,t)&&!nh(uh,n)?"\\u"+ah(ih(t,0),16):t};rh&&Gf({target:"JSON",stat:!0,arity:3,forced:fh||hh},{stringify:function(t,e,r){var n=th(arguments),o=Uf(fh?ph:rh,null,n);return hh&&"string"==typeof o?sh(o,ch,dh):o}});var vh=Sn,gh=Wt;Vn({target:"Object",stat:!0,forced:!lt||u((function(){vh.f(1)}))},{getOwnPropertySymbols:function(t){var e=vh.f;return e?e(gh(t)):[]}});var yh=Vn,mh=l,bh=a,Sh=T,wh=Bt,xh=U,Oh=tt,Ph=Pi,_h=Ce.f,Th=Fn,Eh=bh.Symbol,Ah=Eh&&Eh.prototype;if(mh&&xh(Eh)&&(!("description"in Ah)||void 0!==Eh().description)){var jh={},Ch=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:Ph(arguments[0]),e=Oh(Ah,this)?new Eh(t):void 0===t?Eh():Eh(t);return""===t&&(jh[e]=!0),e};Th(Ch,Eh),Ch.prototype=Ah,Ah.constructor=Ch;var Fh="Symbol(test)"==String(Eh("test")),Rh=Sh(Ah.valueOf),Ih=Sh(Ah.toString),Mh=/^Symbol\((.*)\)[^)]+$/,kh=Sh("".replace),$h=Sh("".slice);_h(Ah,"description",{configurable:!0,get:function(){var t=Rh(this);if(wh(jh,t))return"";var e=Ih(t),r=Fh?$h(e,7,-1):kh(e,Mh,"$1");return""===r?void 0:r}}),yh({global:!0,constructor:!0,forced:!0},{Symbol:Ch})}var Lh=bo,Dh=fo?{}.toString:function(){return"[object "+Lh(this)+"]"};fo||Gr(Object.prototype,"toString",Dh,{unsafe:!0}),pl("iterator");var Wh=oe,Hh=Cs,Nh=Ce.f,Bh=Wh("unscopables"),zh=Array.prototype;null==zh[Bh]&&Nh(zh,Bh,{configurable:!0,value:Hh(null)});var Gh,qh,Uh,Yh={},Vh=!u((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Xh=Bt,Kh=U,Jh=Wt,Qh=Vh,Zh=pr("IE_PROTO"),tp=Object,ep=tp.prototype,rp=Qh?tp.getPrototypeOf:function(t){var e=Jh(t);if(Xh(e,Zh))return e[Zh];var r=e.constructor;return Kh(r)&&e instanceof r?r.prototype:e instanceof tp?ep:null},np=u,op=U,ip=X,sp=rp,ap=Gr,cp=oe("iterator"),up=!1;[].keys&&("next"in(Uh=[].keys())?(qh=sp(sp(Uh)))!==Object.prototype&&(Gh=qh):up=!0);var lp=!ip(Gh)||np((function(){var t={};return Gh[cp].call(t)!==t}));lp&&(Gh={}),op(Gh[cp])||ap(Gh,cp,(function(){return this}));var fp={IteratorPrototype:Gh,BUGGY_SAFARI_ITERATORS:up},hp=fp.IteratorPrototype,pp=Cs,dp=w,vp=wl,gp=Yh,yp=function(){return this},mp=Vn,bp=d,Sp=U,wp=function(t,e,r,n){var o=e+" Iterator";return t.prototype=pp(hp,{next:dp(+!n,r)}),vp(t,o,!1),gp[o]=yp,t},xp=rp,Op=Ac,Pp=wl,_p=Ue,Tp=Gr,Ep=Yh,Ap=Ze.PROPER,jp=Ze.CONFIGURABLE,Cp=fp.IteratorPrototype,Fp=fp.BUGGY_SAFARI_ITERATORS,Rp=oe("iterator"),Ip=function(){return this},Mp=function(t,e,r,n,o,i,s){wp(r,e,n);var a,c,u,l=function(t){if(t===o&&v)return v;if(!Fp&&t in p)return p[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},f=e+" Iterator",h=!1,p=t.prototype,d=p[Rp]||p["@@iterator"]||o&&p[o],v=!Fp&&d||l(o),g="Array"==e&&p.entries||d;if(g&&(a=xp(g.call(new t)))!==Object.prototype&&a.next&&(xp(a)!==Cp&&(Op?Op(a,Cp):Sp(a[Rp])||Tp(a,Rp,Ip)),Pp(a,f,!0)),Ap&&"values"==o&&d&&"values"!==d.name&&(jp?_p(p,"name","values"):(h=!0,v=function(){return bp(d,this)})),o)if(c={values:l("values"),keys:i?v:l("keys"),entries:l("entries")},s)for(u in c)(Fp||h||!(u in p))&&Tp(p,u,c[u]);else mp({target:e,proto:!0,forced:Fp||h},c);return p[Rp]!==v&&Tp(p,Rp,v,{name:o}),Ep[e]=v,c},kp=function(t,e){return{value:t,done:e}},$p=B,Lp=function(t){zh[Bh][t]=!0},Dp=Yh,Wp=Er,Hp=Ce.f,Np=Mp,Bp=kp,zp=l,Gp=Wp.set,qp=Wp.getterFor("Array Iterator"),Up=Np(Array,"Array",(function(t,e){Gp(this,{type:"Array Iterator",target:$p(t),index:0,kind:e})}),(function(){var t=qp(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,Bp(void 0,!0)):Bp("keys"==r?n:"values"==r?e[n]:[n,e[n]],!1)}),"values"),Yp=Dp.Arguments=Dp.Array;if(Lp("keys"),Lp("values"),Lp("entries"),zp&&"values"!==Yp.name)try{Hp(Yp,"name",{value:"values"})}catch(t){}var Vp=Ma.charAt,Xp=Pi,Kp=Er,Jp=Mp,Qp=kp,Zp=Kp.set,td=Kp.getterFor("String Iterator");Jp(String,"String",(function(t){Zp(this,{type:"String Iterator",string:Xp(t),index:0})}),(function(){var t,e=td(this),r=e.string,n=e.index;return n>=r.length?Qp(void 0,!0):(t=Vp(r,n),e.index+=t.length,Qp(t,!1))}));var ed=me("span").classList,rd=ed&&ed.constructor&&ed.constructor.prototype,nd=rd===Object.prototype?void 0:rd,od=a,id={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},sd=nd,ad=Up,cd=Ue,ud=oe,ld=ud("iterator"),fd=ud("toStringTag"),hd=ad.values,pd=function(t,e){if(t){if(t[ld]!==hd)try{cd(t,ld,hd)}catch(e){t[ld]=hd}if(t[fd]||cd(t,fd,e),id[e])for(var r in ad)if(t[r]!==ad[r])try{cd(t,r,ad[r])}catch(e){t[r]=ad[r]}}};for(var dd in id)pd(od[dd]&&od[dd].prototype,dd);pd(sd,"DOMTokenList");var vd="function"==typeof Symbol&&"symbol"===Xu(Symbol.iterator)?function(t){return Xu(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":Xu(t)};function gd(){Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)});var t=void 0,e=void 0,r=void 0,n=void 0,o=void 0,i=void 0,s=1,a=arguments[0]||{},c=!1,u=arguments.length;if("boolean"==typeof a&&(c=a,a=arguments[1]||{},s++),"object"!==(void 0===a?"undefined":vd(a))&&"function"!=typeof a&&(a={}),s===u)return a;for(;s<u;s+=1)if(null!==(e=arguments[s]))for(t in e)r=a[t],n=e[t],o=Array.isArray(n),c&&n&&("object"===(void 0===n?"undefined":vd(n))||o)?(o?(o=!1,i=r&&Array.isArray(r)?r:[]):i=r&&"object"===(void 0===r?"undefined":vd(r))?r:{},a[t]=gd(c,i,n)):void 0!==n&&(a[t]=n);return a}var yd={props:{data:{type:Array,default:()=>[]},classOption:{type:Object,default:()=>({})}},data:()=>({xPos:0,yPos:0,delay:0,copyHtml:"",height:0,width:0,realBoxWidth:0}),computed:{leftSwitchState(){return this.xPos<0},rightSwitchState(){return Math.abs(this.xPos)<this.realBoxWidth-this.width},leftSwitchClass(){return this.leftSwitchState?"":this.options.switchDisabledClass},rightSwitchClass(){return this.rightSwitchState?"":this.options.switchDisabledClass},leftSwitch(){return{position:"absolute",margin:`${this.height/2}px 0 0 -${this.options.switchOffset}px`,transform:"translate(-100%,-50%)"}},rightSwitch(){return{position:"absolute",margin:`${this.height/2}px 0 0 ${this.width+this.options.switchOffset}px`,transform:"translateY(-50%)"}},float(){return this.isHorizontal?{float:"left",overflow:"hidden"}:{overflow:"hidden"}},pos(){return{transform:`translate(${this.xPos}px,${this.yPos}px)`,transition:`all ${this.ease} ${this.delay}ms`,overflow:"hidden"}},defaultOption:()=>({step:1,limitMoveNum:5,hoverStop:!0,direction:1,openTouch:!0,singleHeight:0,singleWidth:0,waitTime:1e3,switchOffset:30,autoPlay:!0,navigation:!1,switchSingleStep:134,switchDelay:400,switchDisabledClass:"disabled",isSingleRemUnit:!1}),options(){return gd({},this.defaultOption,this.classOption)},navigation(){return this.options.navigation},autoPlay(){return!this.navigation&&this.options.autoPlay},scrollSwitch(){return this.data.length>=this.options.limitMoveNum},hoverStopSwitch(){return this.options.hoverStop&&this.autoPlay&&this.scrollSwitch},canTouchScroll(){return this.options.openTouch},isHorizontal(){return this.options.direction>1},baseFontSize(){return this.options.isSingleRemUnit?parseInt(window.getComputedStyle(document.documentElement,null).fontSize,10):1},realSingleStopWidth(){return this.options.singleWidth*this.baseFontSize},realSingleStopHeight(){return this.options.singleHeight*this.baseFontSize},step(){let t;const e=this.options.step;return t=this.isHorizontal?this.realSingleStopWidth:this.realSingleStopHeight,t>0&&t%e>0&&console.error("如果设置了单步滚动,step需是单步大小的约数,否则无法保证单步滚动结束的位置是否准确。~~~~~"),e}},watch:{data(t,e){this._dataWarm(t),function(t,e){if(t===e)return!0;if(t.length!==e.length)return!1;for(var r=0;r<t.length;++r)if(t[r]!==e[r])return!1;return!0}(t,e)||this.reset()},autoPlay(t){t?this.reset():this._stopMove()}},created(){window.cancelAnimationFrame=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame||function(t){return window.clearTimeout(t)},window.requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)}},mounted(){this._initMove()},beforeCreate(){this.reqFrame=null,this.singleWaitTime=null,this.isHover=!1,this.ease="ease-in"},beforeDestroy(){this._cancle(),clearTimeout(this.singleWaitTime)},methods:{reset(){this._cancle(),this._initMove()},leftSwitchClick(){this.leftSwitchState&&(Math.abs(this.xPos)<this.options.switchSingleStep?this.xPos=0:this.xPos+=this.options.switchSingleStep)},rightSwitchClick(){this.rightSwitchState&&(this.realBoxWidth-this.width+this.xPos<this.options.switchSingleStep?this.xPos=this.width-this.realBoxWidth:this.xPos-=this.options.switchSingleStep)},_cancle(){cancelAnimationFrame(this.reqFrame||"")},touchStart(t){if(!this.canTouchScroll)return;let e;const r=t.targetTouches[0],{waitTime:n,singleHeight:o,singleWidth:i}=this.options;this.startPos={x:r.pageX,y:r.pageY},this.startPosY=this.yPos,this.startPosX=this.xPos,o&&i?(e&&clearTimeout(e),e=setTimeout((()=>{this._cancle()}),n+20)):this._cancle()},touchMove(t){if(!this.canTouchScroll||t.targetTouches.length>1||t.scale&&1!==t.scale)return;const e=t.targetTouches[0],{direction:r}=this.options;this.endPos={x:e.pageX-this.startPos.x,y:e.pageY-this.startPos.y},event.preventDefault();const n=Math.abs(this.endPos.x)<Math.abs(this.endPos.y)?1:0;1===n&&r<2?this.yPos=this.startPosY+this.endPos.y:0===n&&r>1&&(this.xPos=this.startPosX+this.endPos.x)},touchEnd(){if(!this.canTouchScroll)return;let t=null;const e=this.options.direction;if(this.delay=50,1===e)this.yPos>0&&(this.yPos=0);else if(0===e){const t=this.realBoxHeight/2*-1;this.yPos<t&&(this.yPos=t)}else if(2===e)this.xPos>0&&(this.xPos=0);else if(3===e){const t=-1*this.realBoxWidth;this.xPos<t&&(this.xPos=t)}t&&clearTimeout(t),t=setTimeout((()=>{this.delay=0,this._move()}),this.delay)},enter(){this.hoverStopSwitch&&this._stopMove()},leave(){this.hoverStopSwitch&&this._startMove()},_move(){this.isHover||(this._cancle(),this.reqFrame=requestAnimationFrame(function(){const t=this.realBoxHeight/2,e=this.realBoxWidth/2,{direction:r,waitTime:n}=this.options,{step:o}=this;1===r?(Math.abs(this.yPos)>=t&&(this.$emit("ScrollEnd"),this.yPos=0),this.yPos-=o):0===r?(this.yPos>=0&&(this.$emit("ScrollEnd"),this.yPos=-1*t),this.yPos+=o):2===r?(Math.abs(this.xPos)>=e&&(this.$emit("ScrollEnd"),this.xPos=0),this.xPos-=o):3===r&&(this.xPos>=0&&(this.$emit("ScrollEnd"),this.xPos=-1*e),this.xPos+=o),this.singleWaitTime&&clearTimeout(this.singleWaitTime),this.realSingleStopHeight?Math.abs(this.yPos)%this.realSingleStopHeight<o?this.singleWaitTime=setTimeout((()=>{this._move()}),n):this._move():this.realSingleStopWidth&&Math.abs(this.xPos)%this.realSingleStopWidth<o?this.singleWaitTime=setTimeout((()=>{this._move()}),n):this._move()}.bind(this)))},_initMove(){this.$nextTick((()=>{const{switchDelay:t}=this.options,{autoPlay:e,isHorizontal:r}=this;if(this._dataWarm(this.data),this.copyHtml="",r){this.height=this.$refs.wrap.offsetHeight,this.width=this.$refs.wrap.offsetWidth;let t=this.$refs.slotList.offsetWidth;e&&(t=2*t+1),this.$refs.realBox.style.width=`${t}px`,this.realBoxWidth=t}if(!e)return this.ease="linear",void(this.delay=t);this.ease="ease-in",this.delay=0,this.scrollSwitch?(this.copyHtml=this.$refs.slotList.innerHTML,setTimeout((()=>{this.realBoxHeight=this.$refs.realBox.offsetHeight,this._move()}),0)):(this._cancle(),this.yPos=this.xPos=0)}))},_dataWarm(t){t.length>100&&console.warn(`数据达到了${t.length}条有点多哦~,可能会造成部分老旧浏览器卡顿。`)},_startMove(){this.isHover=!1,this._move()},_stopMove(){this.isHover=!0,this.singleWaitTime&&clearTimeout(this.singleWaitTime),this._cancle()}}};function md(t,e,r,n,o,i,s,a,c,u){"boolean"!=typeof s&&(c=a,a=s,s=!1);const l="function"==typeof r?r.options:r;let f;if(t&&t.render&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,o&&(l.functional=!0)),n&&(l._scopeId=n),i?(f=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,c(t)),t&&t._registeredComponents&&t._registeredComponents.add(i)},l._ssrRegister=f):e&&(f=s?function(t){e.call(this,u(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),f)if(l.functional){const t=l.render;l.render=function(e,r){return f.call(r),t(e,r)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,f):[f]}return r}const bd=yd;var Sd=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{ref:"wrap"},[t.navigation?r("div",{class:t.leftSwitchClass,style:t.leftSwitch,on:{click:t.leftSwitchClick}},[t._t("left-switch")],2):t._e(),t._v(" "),t.navigation?r("div",{class:t.rightSwitchClass,style:t.rightSwitch,on:{click:t.rightSwitchClick}},[t._t("right-switch")],2):t._e(),t._v(" "),r("div",{ref:"realBox",style:t.pos,on:{mouseenter:t.enter,mouseleave:t.leave,touchstart:t.touchStart,touchmove:t.touchMove,touchend:t.touchEnd}},[r("div",{ref:"slotList",style:t.float},[t._t("default")],2),t._v(" "),r("div",{style:t.float,domProps:{innerHTML:t._s(t.copyHtml)}})])])};Sd._withStripped=!0;const wd=md({render:Sd,staticRenderFns:[]},undefined,bd,undefined,false,undefined,!1,void 0,void 0,void 0);var xd={name:"BaseCarouselProgress",inheritAttrs:!1,props:{list:{type:Array,default:function(){return[]}},ctCls:{type:String},barColor:{type:Array,default:function(){return["#00FFAB","#1679FF"]}},colorDirection:{type:String,default:"right"},dotBorder:{type:String,default:"#1570ED"},dotShadow:{type:String,default:"#0CFEFF"},borderCls:{type:String,default:""},isScroll:{type:Boolean,default:!0}},computed:{barBGColor:function(){if(this.barColor&&1===this.barColor.length)return"".concat(this.barColor[0]);var t=this.barColor.join(",");return"linear-gradient(to ".concat(this.colorDirection,", ").concat(t,")")},dotStyle:function(){return"border: 2px solid ".concat(this.dotBorder,"; box-shadow: 0px 0px 10px 0px ").concat(this.dotShadow,";")},classOption:function(){return{step:.2,limitMoveNum:this.isScroll?0:this.list.length,hoverStop:!0,direction:1,openWatch:!0,singleHeight:0,singleWidth:0,waitTime:1e3}}},watch:{list:{immediate:!0,handler:function(t){t.length&&this.initComponents()}}},data:function(){return{rankList:[]}},methods:{initComponents:function(){var t=this;this.$nextTick((function(){(t.list||[]).map((function(e,r){t.$set(t.rankList,r,e)}))}))},barWidth:function(t){if(t.percent){var e=t.percent>1?t.percent:100*t.percent;return"".concat(e,"%")}var r=(100*t.value/t.total).toFixed(2);return"".concat(r,"%")},createProgressItem:function(){for(var t=[],e=this.$createElement,r=0,n=this.list.length;r<n;r++){var o=this.list[r],i=e("div",{class:{"progress-item-top":!0}},[e("p",{},[e("span",{class:"label-rank"},["No.".concat(o.rank||r+1)]),e("span",{class:"label-name"},[o.name])]),e("p",{},[o.value?"".concat(o.value," ").concat(o.unit):""])]),s=e("div",{class:{"progress-item-bar":!0},style:{border:this.borderCls}},[e("div",{class:"progress-item-bar-content",style:{background:this.barBGColor,width:this.barWidth(o)}}),e("span",{class:"progress-item-bar-dot",style:this.dotStyle},[])]);t.push(e("div",{class:{"progress-item":!0}},[i,s]))}return t}},render:function(t){return t(wd,{class:(e={"base-carousel-progress__wrapper":!0},r=this.ctCls,n=this.ctCls,r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e),props:{data:this.list,"class-option":this.classOption}},[t("div",{class:{progress:!0}},[this.createProgressItem()])]);var e,r,n}};xd.install=function(t,e){var r;if(r="按需加载独立组件:".concat(xd.name),"development"!==process.env.NODE_ENV&&"dev"!==process.env.NODE_ENV||console.warn(r),n(e)&&!o(e))for(var i=0;i<e.length;i++)e[i].name!==xd.name&&t.use(e[i]);t.component(xd.name,xd)},exports.BaseCarouselProgress=xd;