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