shu-c-view
Version:
rollup 打包vue@2.7组件库框架
7 lines (6 loc) • 23 kB
JavaScript
/*!
* shu-c-view v2.0.0
* (c) 2024-04-23
* @license MIT
*/
;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,o,i=r(t),u=r(e),c="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},a=function(t){try{return!!t()}catch(t){return!0}},f=!a((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),s=!a((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),l=s,p=Function.prototype,d=p.call,g=l&&p.bind.bind(d,d),v=l?g:function(t){return function(){return d.apply(t,arguments)}},y=function(t){return null==t},h=y,b=TypeError,m=function(t){if(h(t))throw b("Can't call method on "+t);return t},x=m,S=Object,E=function(t){return S(x(t))},O=E,w=v({}.hasOwnProperty),_=Object.hasOwn||function(t,e){return w(O(t),e)},j=f,I=_,C=Function.prototype,R=j&&Object.getOwnPropertyDescriptor,P=I(C,"name"),T={EXISTS:P,PROPER:P&&"something"===function(){}.name,CONFIGURABLE:P&&(!j||j&&R(C,"name").configurable)},A={},k=function(t){return t&&t.Math==Math&&t},F=k("object"==typeof globalThis&&globalThis)||k("object"==typeof window&&window)||k("object"==typeof self&&self)||k("object"==typeof c&&c)||function(){return this}()||Function("return this")(),$="object"==typeof document&&document.all,M={all:$,IS_HTMLDDA:void 0===$&&void 0!==$},D=M.all,N=M.IS_HTMLDDA?function(t){return"function"==typeof t||t===D}:function(t){return"function"==typeof t},L=N,z=M.all,U=M.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:L(t)||t===z}:function(t){return"object"==typeof t?null!==t:L(t)},W=U,B=F.document,K=W(B)&&W(B.createElement),Y=function(t){return K?B.createElement(t):{}},V=Y,X=!f&&!a((function(){return 7!=Object.defineProperty(V("div"),"a",{get:function(){return 7}}).a})),q=f&&a((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),G=U,H=String,J=TypeError,Q=function(t){if(G(t))return t;throw J(H(t)+" is not an object")},Z=s,tt=Function.prototype.call,et=Z?tt.bind(tt):function(){return tt.apply(tt,arguments)},rt=F,nt=N,ot=function(t){return nt(t)?t:void 0},it=function(t,e){return arguments.length<2?ot(rt[t]):rt[t]&&rt[t][e]},ut=v({}.isPrototypeOf),ct=F,at=it("navigator","userAgent")||"",ft=ct.process,st=ct.Deno,lt=ft&&ft.versions||st&&st.version,pt=lt&<.v8;pt&&(o=(n=pt.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&at&&(!(n=at.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=at.match(/Chrome\/(\d+)/))&&(o=+n[1]);var dt=o,gt=a,vt=!!Object.getOwnPropertySymbols&&!gt((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&dt&&dt<41})),yt=vt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ht=it,bt=N,mt=ut,xt=Object,St=yt?function(t){return"symbol"==typeof t}:function(t){var e=ht("Symbol");return bt(e)&&mt(e.prototype,xt(t))},Et=String,Ot=N,wt=function(t){try{return Et(t)}catch(t){return"Object"}},_t=TypeError,jt=function(t){if(Ot(t))return t;throw _t(wt(t)+" is not a function")},It=y,Ct=function(t,e){var r=t[e];return It(r)?void 0:jt(r)},Rt=et,Pt=N,Tt=U,At=TypeError,kt={exports:{}},Ft=F,$t=Object.defineProperty,Mt=function(t,e){try{$t(Ft,t,{value:e,configurable:!0,writable:!0})}catch(r){Ft[t]=e}return e},Dt=Mt,Nt=F["__core-js_shared__"]||Dt("__core-js_shared__",{}),Lt=Nt;(kt.exports=function(t,e){return Lt[t]||(Lt[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 zt=v,Ut=0,Wt=Math.random(),Bt=zt(1..toString),Kt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Bt(++Ut+Wt,36)},Yt=F,Vt=kt.exports,Xt=_,qt=Kt,Gt=vt,Ht=yt,Jt=Vt("wks"),Qt=Yt.Symbol,Zt=Qt&&Qt.for,te=Ht?Qt:Qt&&Qt.withoutSetter||qt,ee=function(t){if(!Xt(Jt,t)||!Gt&&"string"!=typeof Jt[t]){var e="Symbol."+t;Gt&&Xt(Qt,t)?Jt[t]=Qt[t]:Jt[t]=Ht&&Zt?Zt(e):te(e)}return Jt[t]},re=et,ne=U,oe=St,ie=Ct,ue=function(t,e){var r,n;if("string"===e&&Pt(r=t.toString)&&!Tt(n=Rt(r,t)))return n;if(Pt(r=t.valueOf)&&!Tt(n=Rt(r,t)))return n;if("string"!==e&&Pt(r=t.toString)&&!Tt(n=Rt(r,t)))return n;throw At("Can't convert object to primitive value")},ce=TypeError,ae=ee("toPrimitive"),fe=function(t,e){if(!ne(t)||oe(t))return t;var r,n=ie(t,ae);if(n){if(void 0===e&&(e="default"),r=re(n,t,e),!ne(r)||oe(r))return r;throw ce("Can't convert object to primitive value")}return void 0===e&&(e="number"),ue(t,e)},se=St,le=function(t){var e=fe(t,"string");return se(e)?e:e+""},pe=f,de=X,ge=q,ve=Q,ye=le,he=TypeError,be=Object.defineProperty,me=Object.getOwnPropertyDescriptor;A.f=pe?ge?function(t,e,r){if(ve(t),e=ye(e),ve(r),"function"==typeof t&&"prototype"===e&&"value"in r&&"writable"in r&&!r.writable){var n=me(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(ve(t),e=ye(e),ve(r),de)try{return be(t,e,r)}catch(t){}if("get"in r||"set"in r)throw he("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var xe=f,Se=T.EXISTS,Ee=v,Oe=A.f,we=Function.prototype,_e=Ee(we.toString),je=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Ie=Ee(je.exec);xe&&!Se&&Oe(we,"name",{configurable:!0,get:function(){try{return Ie(je,_e(this))[1]}catch(t){return""}}});var Ce={},Re={},Pe={}.propertyIsEnumerable,Te=Object.getOwnPropertyDescriptor,Ae=Te&&!Pe.call({1:2},1);Re.f=Ae?function(t){var e=Te(this,t);return!!e&&e.enumerable}:Pe;var ke=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},Fe=v,$e=Fe({}.toString),Me=Fe("".slice),De=function(t){return Me($e(t),8,-1)},Ne=a,Le=De,ze=Object,Ue=v("".split),We=Ne((function(){return!ze("z").propertyIsEnumerable(0)}))?function(t){return"String"==Le(t)?Ue(t,""):ze(t)}:ze,Be=m,Ke=function(t){return We(Be(t))},Ye=f,Ve=et,Xe=Re,qe=ke,Ge=Ke,He=le,Je=_,Qe=X,Ze=Object.getOwnPropertyDescriptor;Ce.f=Ye?Ze:function(t,e){if(t=Ge(t),e=He(e),Qe)try{return Ze(t,e)}catch(t){}if(Je(t,e))return qe(!Ve(Xe.f,t,e),t[e])};var tr=A,er=ke,rr=f?function(t,e,r){return tr.f(t,e,er(1,r))}:function(t,e,r){return t[e]=r,t},nr={exports:{}},or=N,ir=Nt,ur=v(Function.toString);or(ir.inspectSource)||(ir.inspectSource=function(t){return ur(t)});var cr,ar,fr,sr=ir.inspectSource,lr=N,pr=F.WeakMap,dr=lr(pr)&&/native code/.test(String(pr)),gr=kt.exports,vr=Kt,yr=gr("keys"),hr=function(t){return yr[t]||(yr[t]=vr(t))},br={},mr=dr,xr=F,Sr=U,Er=rr,Or=_,wr=Nt,_r=hr,jr=br,Ir=xr.TypeError,Cr=xr.WeakMap;if(mr||wr.state){var Rr=wr.state||(wr.state=new Cr);Rr.get=Rr.get,Rr.has=Rr.has,Rr.set=Rr.set,cr=function(t,e){if(Rr.has(t))throw Ir("Object already initialized");return e.facade=t,Rr.set(t,e),e},ar=function(t){return Rr.get(t)||{}},fr=function(t){return Rr.has(t)}}else{var Pr=_r("state");jr[Pr]=!0,cr=function(t,e){if(Or(t,Pr))throw Ir("Object already initialized");return e.facade=t,Er(t,Pr,e),e},ar=function(t){return Or(t,Pr)?t[Pr]:{}},fr=function(t){return Or(t,Pr)}}var Tr={set:cr,get:ar,has:fr,enforce:function(t){return fr(t)?ar(t):cr(t,{})},getterFor:function(t){return function(e){var r;if(!Sr(e)||(r=ar(e)).type!==t)throw Ir("Incompatible receiver, "+t+" required");return r}}},Ar=a,kr=N,Fr=_,$r=f,Mr=T.CONFIGURABLE,Dr=sr,Nr=Tr.enforce,Lr=Tr.get,zr=Object.defineProperty,Ur=$r&&!Ar((function(){return 8!==zr((function(){}),"length",{value:8}).length})),Wr=String(String).split("String"),Br=nr.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),(!Fr(t,"name")||Mr&&t.name!==e)&&($r?zr(t,"name",{value:e,configurable:!0}):t.name=e),Ur&&r&&Fr(r,"arity")&&t.length!==r.arity&&zr(t,"length",{value:r.arity});try{r&&Fr(r,"constructor")&&r.constructor?$r&&zr(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=Nr(t);return Fr(n,"source")||(n.source=Wr.join("string"==typeof e?e:"")),t};Function.prototype.toString=Br((function(){return kr(this)&&Lr(this).source||Dr(this)}),"toString");var Kr=N,Yr=A,Vr=nr.exports,Xr=Mt,qr=function(t,e,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:e;if(Kr(r)&&Vr(r,i,n),n.global)o?t[e]=r:Xr(e,r);else{try{n.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=r:Yr.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},Gr={},Hr=Math.ceil,Jr=Math.floor,Qr=Math.trunc||function(t){var e=+t;return(e>0?Jr:Hr)(e)},Zr=function(t){var e=+t;return e!=e||0===e?0:Qr(e)},tn=Zr,en=Math.max,rn=Math.min,nn=Zr,on=Math.min,un=function(t){return t>0?on(nn(t),9007199254740991):0},cn=un,an=Ke,fn=function(t,e){var r=tn(t);return r<0?en(r+e,0):rn(r,e)},sn=function(t){return cn(t.length)},ln=function(t){return function(e,r,n){var o,i=an(e),u=sn(i),c=fn(n,u);if(t&&r!=r){for(;u>c;)if((o=i[c++])!=o)return!0}else for(;u>c;c++)if((t||c in i)&&i[c]===r)return t||c||0;return!t&&-1}},pn={includes:ln(!0),indexOf:ln(!1)},dn=_,gn=Ke,vn=pn.indexOf,yn=br,hn=v([].push),bn=function(t,e){var r,n=gn(t),o=0,i=[];for(r in n)!dn(yn,r)&&dn(n,r)&&hn(i,r);for(;e.length>o;)dn(n,r=e[o++])&&(~vn(i,r)||hn(i,r));return i},mn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],xn=bn,Sn=mn.concat("length","prototype");Gr.f=Object.getOwnPropertyNames||function(t){return xn(t,Sn)};var En={};En.f=Object.getOwnPropertySymbols;var On=it,wn=Gr,_n=En,jn=Q,In=v([].concat),Cn=On("Reflect","ownKeys")||function(t){var e=wn.f(jn(t)),r=_n.f;return r?In(e,r(t)):e},Rn=_,Pn=Cn,Tn=Ce,An=A,kn=a,Fn=N,$n=/#|\.prototype\./,Mn=function(t,e){var r=Nn[Dn(t)];return r==zn||r!=Ln&&(Fn(e)?kn(e):!!e)},Dn=Mn.normalize=function(t){return String(t).replace($n,".").toLowerCase()},Nn=Mn.data={},Ln=Mn.NATIVE="N",zn=Mn.POLYFILL="P",Un=Mn,Wn=F,Bn=Ce.f,Kn=rr,Yn=qr,Vn=Mt,Xn=function(t,e,r){for(var n=Pn(e),o=An.f,i=Tn.f,u=0;u<n.length;u++){var c=n[u];Rn(t,c)||r&&Rn(r,c)||o(t,c,i(e,c))}},qn=Un,Gn=function(t,e){var r,n,o,i,u,c=t.target,a=t.global,f=t.stat;if(r=a?Wn:f?Wn[c]||Vn(c,{}):(Wn[c]||{}).prototype)for(n in e){if(i=e[n],o=t.dontCallGetSet?(u=Bn(r,n))&&u.value:r[n],!qn(a?n:c+(f?".":"#")+n,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Xn(i,o)}(t.sham||o&&o.sham)&&Kn(i,"sham",!0),Yn(r,n,i,t)}},Hn={};Hn[ee("toStringTag")]="z";var Jn="[object z]"===String(Hn),Qn=N,Zn=De,to=ee("toStringTag"),eo=Object,ro="Arguments"==Zn(function(){return arguments}()),no=Jn?Zn: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=eo(t),to))?r:ro?Zn(e):"Object"==(n=Zn(e))&&Qn(e.callee)?"Arguments":n},oo=String,io=function(t){if("Symbol"===no(t))throw TypeError("Cannot convert a Symbol value to a string");return oo(t)},uo=Q,co=function(){var t=uo(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},ao=a,fo=F.RegExp,so=ao((function(){var t=fo("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),lo=so||ao((function(){return!fo("a","y").sticky})),po=so||ao((function(){var t=fo("^r","gy");return t.lastIndex=2,null!=t.exec("str")})),go={BROKEN_CARET:po,MISSED_STICKY:lo,UNSUPPORTED_Y:so},vo={},yo=bn,ho=mn,bo=Object.keys||function(t){return yo(t,ho)},mo=f,xo=q,So=A,Eo=Q,Oo=Ke,wo=bo;vo.f=mo&&!xo?Object.defineProperties:function(t,e){Eo(t);for(var r,n=Oo(e),o=wo(e),i=o.length,u=0;i>u;)So.f(t,r=o[u++],n[r]);return t};var _o,jo=it("document","documentElement"),Io=Q,Co=vo,Ro=mn,Po=br,To=jo,Ao=Y,ko=hr("IE_PROTO"),Fo=function(){},$o=function(t){return"<script>"+t+"<\/script>"},Mo=function(t){t.write($o("")),t.close();var e=t.parentWindow.Object;return t=null,e},Do=function(){try{_o=new ActiveXObject("htmlfile")}catch(t){}var t,e;Do="undefined"!=typeof document?document.domain&&_o?Mo(_o):((e=Ao("iframe")).style.display="none",To.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write($o("document.F=Object")),t.close(),t.F):Mo(_o);for(var r=Ro.length;r--;)delete Do.prototype[Ro[r]];return Do()};Po[ko]=!0;var No=Object.create||function(t,e){var r;return null!==t?(Fo.prototype=Io(t),r=new Fo,Fo.prototype=null,r[ko]=t):r=Do(),void 0===e?r:Co.f(r,e)},Lo=a,zo=F.RegExp,Uo=Lo((function(){var t=zo(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),Wo=a,Bo=F.RegExp,Ko=Wo((function(){var t=Bo("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),Yo=et,Vo=v,Xo=io,qo=co,Go=go,Ho=kt.exports,Jo=No,Qo=Tr.get,Zo=Uo,ti=Ko,ei=Ho("native-string-replace",String.prototype.replace),ri=RegExp.prototype.exec,ni=ri,oi=Vo("".charAt),ii=Vo("".indexOf),ui=Vo("".replace),ci=Vo("".slice),ai=function(){var t=/a/,e=/b*/g;return Yo(ri,t,"a"),Yo(ri,e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),fi=Go.BROKEN_CARET,si=void 0!==/()??/.exec("")[1];(ai||si||fi||Zo||ti)&&(ni=function(t){var e,r,n,o,i,u,c,a=this,f=Qo(a),s=Xo(t),l=f.raw;if(l)return l.lastIndex=a.lastIndex,e=Yo(ni,l,s),a.lastIndex=l.lastIndex,e;var p=f.groups,d=fi&&a.sticky,g=Yo(qo,a),v=a.source,y=0,h=s;if(d&&(g=ui(g,"y",""),-1===ii(g,"g")&&(g+="g"),h=ci(s,a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==oi(s,a.lastIndex-1))&&(v="(?: "+v+")",h=" "+h,y++),r=new RegExp("^(?:"+v+")",g)),si&&(r=new RegExp("^"+v+"$(?!\\s)",g)),ai&&(n=a.lastIndex),o=Yo(ri,d?r:a,h),d?o?(o.input=ci(o.input,y),o[0]=ci(o[0],y),o.index=a.lastIndex,a.lastIndex+=o[0].length):a.lastIndex=0:ai&&o&&(a.lastIndex=a.global?o.index+o[0].length:n),si&&o&&o.length>1&&Yo(ei,o[0],r,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&p)for(o.groups=u=Jo(null),i=0;i<p.length;i++)u[(c=p[i])[0]]=o[c[1]];return o});var li=ni;Gn({target:"RegExp",proto:!0,forced:/./.exec!==li},{exec:li});var pi,di,gi=Gn,vi=et,yi=N,hi=Q,bi=io,mi=(pi=!1,(di=/[ac]/).exec=function(){return pi=!0,/./.exec.apply(this,arguments)},!0===di.test("abc")&&pi),xi=/./.test;gi({target:"RegExp",proto:!0,forced:!mi},{test:function(t){var e=hi(this),r=bi(t),n=e.exec;if(!yi(n))return vi(xi,e,r);var o=vi(n,e,r);return null!==o&&(hi(o),!0)}});var Si=s,Ei=Function.prototype,Oi=Ei.apply,wi=Ei.call,_i="object"==typeof Reflect&&Reflect.apply||(Si?wi.bind(Oi):function(){return wi.apply(Oi,arguments)}),ji=De,Ii=v,Ci=function(t){if("Function"===ji(t))return Ii(t)},Ri=qr,Pi=li,Ti=a,Ai=ee,ki=rr,Fi=Ai("species"),$i=RegExp.prototype,Mi=v,Di=Zr,Ni=io,Li=m,zi=Mi("".charAt),Ui=Mi("".charCodeAt),Wi=Mi("".slice),Bi=function(t){return function(e,r){var n,o,i=Ni(Li(e)),u=Di(r),c=i.length;return u<0||u>=c?t?"":void 0:(n=Ui(i,u))<55296||n>56319||u+1===c||(o=Ui(i,u+1))<56320||o>57343?t?zi(i,u):n:t?Wi(i,u,u+2):o-56320+(n-55296<<10)+65536}},Ki={codeAt:Bi(!1),charAt:Bi(!0)}.charAt,Yi=v,Vi=E,Xi=Math.floor,qi=Yi("".charAt),Gi=Yi("".replace),Hi=Yi("".slice),Ji=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Qi=/\$([$&'`]|\d{1,2})/g,Zi=et,tu=Q,eu=N,ru=De,nu=li,ou=TypeError,iu=_i,uu=et,cu=v,au=function(t,e,r,n){var o=Ai(t),i=!Ti((function(){var e={};return e[o]=function(){return 7},7!=""[t](e)})),u=i&&!Ti((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[Fi]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return e=!0,null},r[o](""),!e}));if(!i||!u||r){var c=Ci(/./[o]),a=e(o,""[t],(function(t,e,r,n,o){var u=Ci(t),a=e.exec;return a===Pi||a===$i.exec?i&&!o?{done:!0,value:c(e,r,n)}:{done:!0,value:u(r,e,n)}:{done:!1}}));Ri(String.prototype,t,a[0]),Ri($i,o,a[1])}n&&ki($i[o],"sham",!0)},fu=a,su=Q,lu=N,pu=y,du=Zr,gu=un,vu=io,yu=m,hu=function(t,e,r){return e+(r?Ki(t,e).length:1)},bu=Ct,mu=function(t,e,r,n,o,i){var u=r+t.length,c=n.length,a=Qi;return void 0!==o&&(o=Vi(o),a=Ji),Gi(i,a,(function(i,a){var f;switch(qi(a,0)){case"$":return"$";case"&":return t;case"`":return Hi(e,0,r);case"'":return Hi(e,u);case"<":f=o[Hi(a,1,-1)];break;default:var s=+a;if(0===s)return i;if(s>c){var l=Xi(s/10);return 0===l?i:l<=c?void 0===n[l-1]?qi(a,1):n[l-1]+qi(a,1):i}f=n[s-1]}return void 0===f?"":f}))},xu=function(t,e){var r=t.exec;if(eu(r)){var n=Zi(r,t,e);return null!==n&&tu(n),n}if("RegExp"===ru(t))return Zi(nu,t,e);throw ou("RegExp#exec called on incompatible receiver")},Su=ee("replace"),Eu=Math.max,Ou=Math.min,wu=cu([].concat),_u=cu([].push),ju=cu("".indexOf),Iu=cu("".slice),Cu="$0"==="a".replace(/./,"$0"),Ru=!!/./[Su]&&""===/./[Su]("a","$0"),Pu=!fu((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}));au("replace",(function(t,e,r){var n=Ru?"$":"$0";return[function(t,r){var n=yu(this),o=pu(t)?void 0:bu(t,Su);return o?uu(o,t,n,r):uu(e,vu(n),t,r)},function(t,o){var i=su(this),u=vu(t);if("string"==typeof o&&-1===ju(o,n)&&-1===ju(o,"$<")){var c=r(e,i,u,o);if(c.done)return c.value}var a=lu(o);a||(o=vu(o));var f=i.global;if(f){var s=i.unicode;i.lastIndex=0}for(var l=[];;){var p=xu(i,u);if(null===p)break;if(_u(l,p),!f)break;""===vu(p[0])&&(i.lastIndex=hu(u,gu(i.lastIndex),s))}for(var d,g="",v=0,y=0;y<l.length;y++){for(var h=vu((p=l[y])[0]),b=Eu(Ou(du(p.index),u.length),0),m=[],x=1;x<p.length;x++)_u(m,void 0===(d=p[x])?d:String(d));var S=p.groups;if(a){var E=wu([h],m,b,u);void 0!==S&&_u(E,S);var O=vu(iu(o,void 0,E))}else O=mu(h,u,b,m,S,o);b>=v&&(g+=Iu(u,v,b)+O,v=b+h.length)}return g+Iu(u,v)}]}),!Pu||!Cu||Ru);var Tu=N,Au=String,ku=TypeError,Fu=v,$u=Q,Mu=function(t){if("object"==typeof t||Tu(t))return t;throw ku("Can't set "+Au(t)+" as a prototype")},Du=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Fu(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return $u(r),Mu(n),e?t(r,n):r.__proto__=n,r}}():void 0),Nu=N,Lu=U,zu=Du,Uu=U,Wu=De,Bu=ee("match"),Ku=et,Yu=_,Vu=ut,Xu=co,qu=RegExp.prototype,Gu=function(t){var e=t.flags;return void 0!==e||"flags"in qu||Yu(t,"flags")||!Vu(qu,t)?e:Ku(Xu,t)},Hu=A.f,Ju=it,Qu=A,Zu=f,tc=ee("species"),ec=f,rc=F,nc=v,oc=Un,ic=function(t,e,r){var n,o;return zu&&Nu(n=e.constructor)&&n!==r&&Lu(o=n.prototype)&&o!==r.prototype&&zu(t,o),t},uc=rr,cc=Gr.f,ac=ut,fc=function(t){var e;return Uu(t)&&(void 0!==(e=t[Bu])?!!e:"RegExp"==Wu(t))},sc=io,lc=Gu,pc=go,dc=function(t,e,r){r in t||Hu(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})},gc=qr,vc=a,yc=_,hc=Tr.enforce,bc=function(t){var e=Ju(t),r=Qu.f;Zu&&e&&!e[tc]&&r(e,tc,{configurable:!0,get:function(){return this}})},mc=Uo,xc=Ko,Sc=ee("match"),Ec=rc.RegExp,Oc=Ec.prototype,wc=rc.SyntaxError,_c=nc(Oc.exec),jc=nc("".charAt),Ic=nc("".replace),Cc=nc("".indexOf),Rc=nc("".slice),Pc=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Tc=/a/g,Ac=/a/g,kc=new Ec(Tc)!==Tc,Fc=pc.MISSED_STICKY,$c=pc.UNSUPPORTED_Y,Mc=ec&&(!kc||Fc||mc||xc||vc((function(){return Ac[Sc]=!1,Ec(Tc)!=Tc||Ec(Ac)==Ac||"/a/i"!=Ec(Tc,"i")})));if(oc("RegExp",Mc)){for(var Dc=function(t,e){var r,n,o,i,u,c,a=ac(Oc,this),f=fc(t),s=void 0===e,l=[],p=t;if(!a&&f&&s&&t.constructor===Dc)return t;if((f||ac(Oc,t))&&(t=t.source,s&&(e=lc(p))),t=void 0===t?"":sc(t),e=void 0===e?"":sc(e),p=t,mc&&"dotAll"in Tc&&(n=!!e&&Cc(e,"s")>-1)&&(e=Ic(e,/s/g,"")),r=e,Fc&&"sticky"in Tc&&(o=!!e&&Cc(e,"y")>-1)&&$c&&(e=Ic(e,/y/g,"")),xc&&(i=function(t){for(var e,r=t.length,n=0,o="",i=[],u={},c=!1,a=!1,f=0,s="";n<=r;n++){if("\\"===(e=jc(t,n)))e+=jc(t,++n);else if("]"===e)c=!1;else if(!c)switch(!0){case"["===e:c=!0;break;case"("===e:_c(Pc,Rc(t,n+1))&&(n+=2,a=!0),o+=e,f++;continue;case">"===e&&a:if(""===s||yc(u,s))throw new wc("Invalid capture group name");u[s]=!0,i[i.length]=[s,f],a=!1,s="";continue}a?s+=e:o+=e}return[o,i]}(t),t=i[0],l=i[1]),u=ic(Ec(t,e),a?this:Oc,Dc),(n||o||l.length)&&(c=hc(u),n&&(c.dotAll=!0,c.raw=Dc(function(t){for(var e,r=t.length,n=0,o="",i=!1;n<=r;n++)"\\"!==(e=jc(t,n))?i||"."!==e?("["===e?i=!0:"]"===e&&(i=!1),o+=e):o+="[\\s\\S]":o+=e+jc(t,++n);return o}(t),r)),o&&(c.sticky=!0),l.length&&(c.groups=l)),t!==p)try{uc(u,"source",""===p?"(?:)":p)}catch(t){}return u},Nc=cc(Ec),Lc=0;Nc.length>Lc;)dc(Dc,Ec,Nc[Lc++]);Oc.constructor=Dc,Dc.prototype=Oc,gc(rc,"RegExp",Dc,{constructor:!0})}bc("RegExp");var zc=nr.exports,Uc=A,Wc=f,Bc=go.MISSED_STICKY,Kc=De,Yc=function(t,e,r){return r.get&&zc(r.get,e,{getter:!0}),r.set&&zc(r.set,e,{setter:!0}),Uc.f(t,e,r)},Vc=Tr.get,Xc=RegExp.prototype,qc=TypeError;Wc&&Bc&&Yc(Xc,"sticky",{configurable:!0,get:function(){if(this!==Xc){if("RegExp"===Kc(this))return!!Vc(this).sticky;throw qc("Incompatible receiver, RegExp required")}}});var Gc=T.PROPER,Hc=qr,Jc=Q,Qc=io,Zc=a,ta=Gu,ea=RegExp.prototype.toString,ra=Zc((function(){return"/a/b"!=ea.call({source:"a",flags:"b"})})),na=Gc&&"toString"!=ea.name;(ra||na)&&Hc(RegExp.prototype,"toString",(function(){var t=Jc(this);return"/"+Qc(t.source)+"/"+Qc(ta(t))}),{unsafe:!0});function oa(t,e,r,n,o,i,u,c,a,f){"boolean"!=typeof u&&(a=c,c=u,u=!1);const s="function"==typeof r?r.options:r;let l;if(t&&t.render&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns,s._compiled=!0,o&&(s.functional=!0)),n&&(s._scopeId=n),i?(l=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,a(t)),t&&t._registeredComponents&&t._registeredComponents.add(i)},s._ssrRegister=l):e&&(l=u?function(t){e.call(this,f(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,c(t))}),l)if(s.functional){const t=s.render;s.render=function(e,r){return l.call(r),t(e,r)}}else{const t=s.beforeCreate;s.beforeCreate=t?[].concat(t,l):[l]}return r}const ia={name:"BaseControlProgress",props:{num:{type:Number,default:0},bgColor:{type:String,default:"#192736"},numColor:{type:String,default:"white"},ctCls:{type:String},gradientColors:{type:Array,default:()=>["#0CFEFF","#00A7FF"]}},data:()=>({numWidth:0}),created(){this.numWidth=this.num-7<0?0:this.num-7},methods:{}};var ua=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"base-progress-cls",class:t.ctCls,style:{backgroundColor:t.bgColor}},[r("div",{staticClass:"progressGradient",style:{width:t.num+"%",backgroundImage:"linear-gradient(to right, "+t.gradientColors[0]+", "+t.gradientColors[1]+")"}}),t._v(" "),t._l(10,(function(t,e){return r("div",{key:e,staticClass:"progressItem"})})),t._v(" "),r("div",{staticClass:"progressNum",style:{left:t.numWidth+"%",color:t.numColor}},[t._v("\n "+t._s(t.num)+"%\n ")])],2)};ua._withStripped=!0;const ca=oa({render:ua,staticRenderFns:[]},undefined,ia,undefined,false,undefined,!1,void 0,void 0,void 0);ca.install=function(t,e){var r;if(r="按需加载独立组件:".concat(ca.name),"development"!==process.env.NODE_ENV&&"dev"!==process.env.NODE_ENV||console.warn(r),i(e)&&!u(e))for(var n=0;n<e.length;n+=1)e[n].name!==ca.name&&t.use(e[n]);t.component(ca.name,ca)},exports.BaseControlProgress=ca;