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