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