UNPKG

shu-c-view

Version:

rollup 打包vue@2.7组件库框架

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