shu-c-view
Version:
rollup 打包vue@2.7组件库框架
7 lines (6 loc) • 49.5 kB
JavaScript
/*!
* shu-c-view v2.0.0
* (c) 2024-04-23
* @license MIT
*/
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("lodash/isArray"),r=require("lodash/isEmpty"),e=require("lodash/cloneDeep");function n(t){return t&&"object"==typeof t&&"default"in t?t.default:t}require("lodash/omit");var o=n(t),i=n(r),a=n(e),c="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},u=function(t){return t&&t.Math==Math&&t},f=u("object"==typeof globalThis&&globalThis)||u("object"==typeof window&&window)||u("object"==typeof self&&self)||u("object"==typeof c&&c)||function(){return this}()||Function("return this")(),s={},l=function(t){try{return!!t()}catch(t){return!0}},p=!l((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),h=!l((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),v=h,d=Function.prototype.call,y=v?d.bind(d):function(){return d.apply(d,arguments)},g={},m={}.propertyIsEnumerable,b=Object.getOwnPropertyDescriptor,S=b&&!m.call({1:2},1);g.f=S?function(t){var r=b(this,t);return!!r&&r.enumerable}:m;var w,x,O=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}},E=h,j=Function.prototype,A=j.call,I=E&&j.bind.bind(A,A),T=E?I:function(t){return function(){return A.apply(t,arguments)}},L=T,P=L({}.toString),R=L("".slice),k=function(t){return R(P(t),8,-1)},_=l,C=k,M=Object,D=T("".split),F=_((function(){return!M("z").propertyIsEnumerable(0)}))?function(t){return"String"==C(t)?D(t,""):M(t)}:M,N=function(t){return null==t},$=N,G=TypeError,H=function(t){if($(t))throw G("Can't call method on "+t);return t},B=F,q=H,U=function(t){return B(q(t))},V="object"==typeof document&&document.all,Y={all:V,IS_HTMLDDA:void 0===V&&void 0!==V},z=Y.all,W=Y.IS_HTMLDDA?function(t){return"function"==typeof t||t===z}:function(t){return"function"==typeof t},K=W,X=Y.all,J=Y.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:K(t)||t===X}:function(t){return"object"==typeof t?null!==t:K(t)},Q=f,Z=W,tt=function(t){return Z(t)?t:void 0},rt=function(t,r){return arguments.length<2?tt(Q[t]):Q[t]&&Q[t][r]},et=T({}.isPrototypeOf),nt=f,ot=rt("navigator","userAgent")||"",it=nt.process,at=nt.Deno,ct=it&&it.versions||at&&at.version,ut=ct&&ct.v8;ut&&(x=(w=ut.split("."))[0]>0&&w[0]<4?1:+(w[0]+w[1])),!x&&ot&&(!(w=ot.match(/Edge\/(\d+)/))||w[1]>=74)&&(w=ot.match(/Chrome\/(\d+)/))&&(x=+w[1]);var ft=x,st=ft,lt=l,pt=!!Object.getOwnPropertySymbols&&!lt((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&st&&st<41})),ht=pt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,vt=rt,dt=W,yt=et,gt=Object,mt=ht?function(t){return"symbol"==typeof t}:function(t){var r=vt("Symbol");return dt(r)&&yt(r.prototype,gt(t))},bt=String,St=function(t){try{return bt(t)}catch(t){return"Object"}},wt=W,xt=St,Ot=TypeError,Et=function(t){if(wt(t))return t;throw Ot(xt(t)+" is not a function")},jt=Et,At=N,It=function(t,r){var e=t[r];return At(e)?void 0:jt(e)},Tt=y,Lt=W,Pt=J,Rt=TypeError,kt={exports:{}},_t=f,Ct=Object.defineProperty,Mt=function(t,r){try{Ct(_t,t,{value:r,configurable:!0,writable:!0})}catch(e){_t[t]=r}return r},Dt=Mt,Ft=f["__core-js_shared__"]||Dt("__core-js_shared__",{}),Nt=Ft;(kt.exports=function(t,r){return Nt[t]||(Nt[t]=void 0!==r?r:{})})("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 $t=H,Gt=Object,Ht=function(t){return Gt($t(t))},Bt=Ht,qt=T({}.hasOwnProperty),Ut=Object.hasOwn||function(t,r){return qt(Bt(t),r)},Vt=T,Yt=0,zt=Math.random(),Wt=Vt(1..toString),Kt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Wt(++Yt+zt,36)},Xt=f,Jt=kt.exports,Qt=Ut,Zt=Kt,tr=pt,rr=ht,er=Jt("wks"),nr=Xt.Symbol,or=nr&&nr.for,ir=rr?nr:nr&&nr.withoutSetter||Zt,ar=function(t){if(!Qt(er,t)||!tr&&"string"!=typeof er[t]){var r="Symbol."+t;tr&&Qt(nr,t)?er[t]=nr[t]:er[t]=rr&&or?or(r):ir(r)}return er[t]},cr=y,ur=J,fr=mt,sr=It,lr=function(t,r){var e,n;if("string"===r&&Lt(e=t.toString)&&!Pt(n=Tt(e,t)))return n;if(Lt(e=t.valueOf)&&!Pt(n=Tt(e,t)))return n;if("string"!==r&&Lt(e=t.toString)&&!Pt(n=Tt(e,t)))return n;throw Rt("Can't convert object to primitive value")},pr=TypeError,hr=ar("toPrimitive"),vr=function(t,r){if(!ur(t)||fr(t))return t;var e,n=sr(t,hr);if(n){if(void 0===r&&(r="default"),e=cr(n,t,r),!ur(e)||fr(e))return e;throw pr("Can't convert object to primitive value")}return void 0===r&&(r="number"),lr(t,r)},dr=mt,yr=function(t){var r=vr(t,"string");return dr(r)?r:r+""},gr=J,mr=f.document,br=gr(mr)&&gr(mr.createElement),Sr=function(t){return br?mr.createElement(t):{}},wr=Sr,xr=!p&&!l((function(){return 7!=Object.defineProperty(wr("div"),"a",{get:function(){return 7}}).a})),Or=p,Er=y,jr=g,Ar=O,Ir=U,Tr=yr,Lr=Ut,Pr=xr,Rr=Object.getOwnPropertyDescriptor;s.f=Or?Rr:function(t,r){if(t=Ir(t),r=Tr(r),Pr)try{return Rr(t,r)}catch(t){}if(Lr(t,r))return Ar(!Er(jr.f,t,r),t[r])};var kr={},_r=p&&l((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Cr=J,Mr=String,Dr=TypeError,Fr=function(t){if(Cr(t))return t;throw Dr(Mr(t)+" is not an object")},Nr=p,$r=xr,Gr=_r,Hr=Fr,Br=yr,qr=TypeError,Ur=Object.defineProperty,Vr=Object.getOwnPropertyDescriptor;kr.f=Nr?Gr?function(t,r,e){if(Hr(t),r=Br(r),Hr(e),"function"==typeof t&&"prototype"===r&&"value"in e&&"writable"in e&&!e.writable){var n=Vr(t,r);n&&n.writable&&(t[r]=e.value,e={configurable:"configurable"in e?e.configurable:n.configurable,enumerable:"enumerable"in e?e.enumerable:n.enumerable,writable:!1})}return Ur(t,r,e)}:Ur:function(t,r,e){if(Hr(t),r=Br(r),Hr(e),$r)try{return Ur(t,r,e)}catch(t){}if("get"in e||"set"in e)throw qr("Accessors not supported");return"value"in e&&(t[r]=e.value),t};var Yr=kr,zr=O,Wr=p?function(t,r,e){return Yr.f(t,r,zr(1,e))}:function(t,r,e){return t[r]=e,t},Kr={exports:{}},Xr=p,Jr=Ut,Qr=Function.prototype,Zr=Xr&&Object.getOwnPropertyDescriptor,te=Jr(Qr,"name"),re={EXISTS:te,PROPER:te&&"something"===function(){}.name,CONFIGURABLE:te&&(!Xr||Xr&&Zr(Qr,"name").configurable)},ee=W,ne=Ft,oe=T(Function.toString);ee(ne.inspectSource)||(ne.inspectSource=function(t){return oe(t)});var ie,ae,ce,ue=ne.inspectSource,fe=W,se=f.WeakMap,le=fe(se)&&/native code/.test(String(se)),pe=kt.exports,he=Kt,ve=pe("keys"),de=function(t){return ve[t]||(ve[t]=he(t))},ye={},ge=le,me=f,be=J,Se=Wr,we=Ut,xe=Ft,Oe=de,Ee=ye,je=me.TypeError,Ae=me.WeakMap;if(ge||xe.state){var Ie=xe.state||(xe.state=new Ae);Ie.get=Ie.get,Ie.has=Ie.has,Ie.set=Ie.set,ie=function(t,r){if(Ie.has(t))throw je("Object already initialized");return r.facade=t,Ie.set(t,r),r},ae=function(t){return Ie.get(t)||{}},ce=function(t){return Ie.has(t)}}else{var Te=Oe("state");Ee[Te]=!0,ie=function(t,r){if(we(t,Te))throw je("Object already initialized");return r.facade=t,Se(t,Te,r),r},ae=function(t){return we(t,Te)?t[Te]:{}},ce=function(t){return we(t,Te)}}var Le={set:ie,get:ae,has:ce,enforce:function(t){return ce(t)?ae(t):ie(t,{})},getterFor:function(t){return function(r){var e;if(!be(r)||(e=ae(r)).type!==t)throw je("Incompatible receiver, "+t+" required");return e}}},Pe=l,Re=W,ke=Ut,_e=p,Ce=re.CONFIGURABLE,Me=ue,De=Le.enforce,Fe=Le.get,Ne=Object.defineProperty,$e=_e&&!Pe((function(){return 8!==Ne((function(){}),"length",{value:8}).length})),Ge=String(String).split("String"),He=Kr.exports=function(t,r,e){"Symbol("===String(r).slice(0,7)&&(r="["+String(r).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),e&&e.getter&&(r="get "+r),e&&e.setter&&(r="set "+r),(!ke(t,"name")||Ce&&t.name!==r)&&(_e?Ne(t,"name",{value:r,configurable:!0}):t.name=r),$e&&e&&ke(e,"arity")&&t.length!==e.arity&&Ne(t,"length",{value:e.arity});try{e&&ke(e,"constructor")&&e.constructor?_e&&Ne(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=De(t);return ke(n,"source")||(n.source=Ge.join("string"==typeof r?r:"")),t};Function.prototype.toString=He((function(){return Re(this)&&Fe(this).source||Me(this)}),"toString");var Be=W,qe=kr,Ue=Kr.exports,Ve=Mt,Ye=function(t,r,e,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:r;if(Be(e)&&Ue(e,i,n),n.global)o?t[r]=e:Ve(r,e);else{try{n.unsafe?t[r]&&(o=!0):delete t[r]}catch(t){}o?t[r]=e:qe.f(t,r,{value:e,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},ze={},We=Math.ceil,Ke=Math.floor,Xe=Math.trunc||function(t){var r=+t;return(r>0?Ke:We)(r)},Je=function(t){var r=+t;return r!=r||0===r?0:Xe(r)},Qe=Je,Ze=Math.max,tn=Math.min,rn=function(t,r){var e=Qe(t);return e<0?Ze(e+r,0):tn(e,r)},en=Je,nn=Math.min,on=function(t){return t>0?nn(en(t),9007199254740991):0},an=on,cn=function(t){return an(t.length)},un=U,fn=rn,sn=cn,ln=function(t){return function(r,e,n){var o,i=un(r),a=sn(i),c=fn(n,a);if(t&&e!=e){for(;a>c;)if((o=i[c++])!=o)return!0}else for(;a>c;c++)if((t||c in i)&&i[c]===e)return t||c||0;return!t&&-1}},pn={includes:ln(!0),indexOf:ln(!1)},hn=Ut,vn=U,dn=pn.indexOf,yn=ye,gn=T([].push),mn=function(t,r){var e,n=vn(t),o=0,i=[];for(e in n)!hn(yn,e)&&hn(n,e)&&gn(i,e);for(;r.length>o;)hn(n,e=r[o++])&&(~dn(i,e)||gn(i,e));return i},bn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Sn=mn,wn=bn.concat("length","prototype");ze.f=Object.getOwnPropertyNames||function(t){return Sn(t,wn)};var xn={};xn.f=Object.getOwnPropertySymbols;var On=rt,En=ze,jn=xn,An=Fr,In=T([].concat),Tn=On("Reflect","ownKeys")||function(t){var r=En.f(An(t)),e=jn.f;return e?In(r,e(t)):r},Ln=Ut,Pn=Tn,Rn=s,kn=kr,_n=function(t,r,e){for(var n=Pn(r),o=kn.f,i=Rn.f,a=0;a<n.length;a++){var c=n[a];Ln(t,c)||e&&Ln(e,c)||o(t,c,i(r,c))}},Cn=l,Mn=W,Dn=/#|\.prototype\./,Fn=function(t,r){var e=$n[Nn(t)];return e==Hn||e!=Gn&&(Mn(r)?Cn(r):!!r)},Nn=Fn.normalize=function(t){return String(t).replace(Dn,".").toLowerCase()},$n=Fn.data={},Gn=Fn.NATIVE="N",Hn=Fn.POLYFILL="P",Bn=Fn,qn=f,Un=s.f,Vn=Wr,Yn=Ye,zn=Mt,Wn=_n,Kn=Bn,Xn=function(t,r){var e,n,o,i,a,c=t.target,u=t.global,f=t.stat;if(e=u?qn:f?qn[c]||zn(c,{}):(qn[c]||{}).prototype)for(n in r){if(i=r[n],o=t.dontCallGetSet?(a=Un(e,n))&&a.value:e[n],!Kn(u?n:c+(f?".":"#")+n,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Wn(i,o)}(t.sham||o&&o.sham)&&Vn(i,"sham",!0),Yn(e,n,i,t)}},Jn=k,Qn=Array.isArray||function(t){return"Array"==Jn(t)},Zn={};Zn[ar("toStringTag")]="z";var to="[object z]"===String(Zn),ro=to,eo=W,no=k,oo=ar("toStringTag"),io=Object,ao="Arguments"==no(function(){return arguments}()),co=ro?no:function(t){var r,e,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,r){try{return t[r]}catch(t){}}(r=io(t),oo))?e:ao?no(r):"Object"==(n=no(r))&&eo(r.callee)?"Arguments":n},uo=T,fo=l,so=W,lo=co,po=ue,ho=function(){},vo=[],yo=rt("Reflect","construct"),go=/^\s*(?:class|function)\b/,mo=uo(go.exec),bo=!go.exec(ho),So=function(t){if(!so(t))return!1;try{return yo(ho,vo,t),!0}catch(t){return!1}},wo=function(t){if(!so(t))return!1;switch(lo(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return bo||!!mo(go,po(t))}catch(t){return!0}};wo.sham=!0;var xo=!yo||fo((function(){var t;return So(So.call)||!So(Object)||!So((function(){t=!0}))||t}))?wo:So,Oo=yr,Eo=kr,jo=O,Ao=function(t,r,e){var n=Oo(r);n in t?Eo.f(t,n,jo(0,e)):t[n]=e},Io=l,To=ft,Lo=ar("species"),Po=function(t){return To>=51||!Io((function(){var r=[];return(r.constructor={})[Lo]=function(){return{foo:1}},1!==r[t](Boolean).foo}))},Ro=T([].slice),ko=Xn,_o=Qn,Co=xo,Mo=J,Do=rn,Fo=cn,No=U,$o=Ao,Go=ar,Ho=Ro,Bo=Po("slice"),qo=Go("species"),Uo=Array,Vo=Math.max;ko({target:"Array",proto:!0,forced:!Bo},{slice:function(t,r){var e,n,o,i=No(this),a=Fo(i),c=Do(t,a),u=Do(void 0===r?a:r,a);if(_o(i)&&(e=i.constructor,(Co(e)&&(e===Uo||_o(e.prototype))||Mo(e)&&null===(e=e[qo]))&&(e=void 0),e===Uo||void 0===e))return Ho(i,c,u);for(n=new(void 0===e?Uo:e)(Vo(u-c,0)),o=0;c<u;c++,o++)c in i&&$o(n,o,i[c]);return n.length=o,n}});var Yo=co,zo=to?{}.toString:function(){return"[object "+Yo(this)+"]"};to||Ye(Object.prototype,"toString",zo,{unsafe:!0});var Wo=k,Ko=T,Xo=function(t){if("Function"===Wo(t))return Ko(t)},Jo=Et,Qo=h,Zo=Xo(Xo.bind),ti=function(t,r){return Jo(t),void 0===r?t:Qo?Zo(t,r):function(){return t.apply(r,arguments)}},ri=y,ei=Fr,ni=It,oi=Fr,ii=function(t,r,e){var n,o;ei(t);try{if(!(n=ni(t,"return"))){if("throw"===r)throw e;return e}n=ri(n,t)}catch(t){o=!0,n=t}if("throw"===r)throw e;if(o)throw n;return ei(n),e},ai={},ci=ai,ui=ar("iterator"),fi=Array.prototype,si=co,li=It,pi=N,hi=ai,vi=ar("iterator"),di=function(t){if(!pi(t))return li(t,vi)||li(t,"@@iterator")||hi[si(t)]},yi=y,gi=Et,mi=Fr,bi=St,Si=di,wi=TypeError,xi=ti,Oi=y,Ei=Ht,ji=function(t,r,e,n){try{return n?r(oi(e)[0],e[1]):r(e)}catch(r){ii(t,"throw",r)}},Ai=function(t){return void 0!==t&&(ci.Array===t||fi[ui]===t)},Ii=xo,Ti=cn,Li=Ao,Pi=function(t,r){var e=arguments.length<2?Si(t):r;if(gi(e))return mi(yi(e,t));throw wi(bi(t)+" is not iterable")},Ri=di,ki=Array,_i=ar("iterator"),Ci=!1;try{var Mi=0,Di={next:function(){return{done:!!Mi++}},return:function(){Ci=!0}};Di[_i]=function(){return this},Array.from(Di,(function(){throw 2}))}catch(t){}var Fi=function(t){var r=Ei(t),e=Ii(this),n=arguments.length,o=n>1?arguments[1]:void 0,i=void 0!==o;i&&(o=xi(o,n>2?arguments[2]:void 0));var a,c,u,f,s,l,p=Ri(r),h=0;if(!p||this===ki&&Ai(p))for(a=Ti(r),c=e?new this(a):ki(a);a>h;h++)l=i?o(r[h],h):r[h],Li(c,h,l);else for(s=(f=Pi(r,p)).next,c=e?new this:[];!(u=Oi(s,f)).done;h++)l=i?ji(f,o,[u.value,h],!0):u.value,Li(c,h,l);return c.length=h,c},Ni=function(t,r){if(!r&&!Ci)return!1;var e=!1;try{var n={};n[_i]=function(){return{next:function(){return{done:e=!0}}}},t(n)}catch(t){}return e};Xn({target:"Array",stat:!0,forced:!Ni((function(t){Array.from(t)}))},{from:Fi});var $i=co,Gi=String,Hi=function(t){if("Symbol"===$i(t))throw TypeError("Cannot convert a Symbol value to a string");return Gi(t)},Bi=T,qi=Je,Ui=Hi,Vi=H,Yi=Bi("".charAt),zi=Bi("".charCodeAt),Wi=Bi("".slice),Ki=function(t){return function(r,e){var n,o,i=Ui(Vi(r)),a=qi(e),c=i.length;return a<0||a>=c?t?"":void 0:(n=zi(i,a))<55296||n>56319||a+1===c||(o=zi(i,a+1))<56320||o>57343?t?Yi(i,a):n:t?Wi(i,a,a+2):o-56320+(n-55296<<10)+65536}},Xi={codeAt:Ki(!1),charAt:Ki(!0)},Ji={},Qi=mn,Zi=bn,ta=Object.keys||function(t){return Qi(t,Zi)},ra=p,ea=_r,na=kr,oa=Fr,ia=U,aa=ta;Ji.f=ra&&!ea?Object.defineProperties:function(t,r){oa(t);for(var e,n=ia(r),o=aa(r),i=o.length,a=0;i>a;)na.f(t,e=o[a++],n[e]);return t};var ca,ua=rt("document","documentElement"),fa=Fr,sa=Ji,la=bn,pa=ye,ha=ua,va=Sr,da=de("IE_PROTO"),ya=function(){},ga=function(t){return"<script>"+t+"<\/script>"},ma=function(t){t.write(ga("")),t.close();var r=t.parentWindow.Object;return t=null,r},ba=function(){try{ca=new ActiveXObject("htmlfile")}catch(t){}var t,r;ba="undefined"!=typeof document?document.domain&&ca?ma(ca):((r=va("iframe")).style.display="none",ha.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write(ga("document.F=Object")),t.close(),t.F):ma(ca);for(var e=la.length;e--;)delete ba.prototype[la[e]];return ba()};pa[da]=!0;var Sa,wa,xa,Oa=Object.create||function(t,r){var e;return null!==t?(ya.prototype=fa(t),e=new ya,ya.prototype=null,e[da]=t):e=ba(),void 0===r?e:sa.f(e,r)},Ea=!l((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),ja=Ut,Aa=W,Ia=Ht,Ta=Ea,La=de("IE_PROTO"),Pa=Object,Ra=Pa.prototype,ka=Ta?Pa.getPrototypeOf:function(t){var r=Ia(t);if(ja(r,La))return r[La];var e=r.constructor;return Aa(e)&&r instanceof e?e.prototype:r instanceof Pa?Ra:null},_a=l,Ca=W,Ma=J,Da=ka,Fa=Ye,Na=ar("iterator"),$a=!1;[].keys&&("next"in(xa=[].keys())?(wa=Da(Da(xa)))!==Object.prototype&&(Sa=wa):$a=!0);var Ga=!Ma(Sa)||_a((function(){var t={};return Sa[Na].call(t)!==t}));Ga&&(Sa={}),Ca(Sa[Na])||Fa(Sa,Na,(function(){return this}));var Ha={IteratorPrototype:Sa,BUGGY_SAFARI_ITERATORS:$a},Ba=kr.f,qa=Ut,Ua=ar("toStringTag"),Va=function(t,r,e){t&&!e&&(t=t.prototype),t&&!qa(t,Ua)&&Ba(t,Ua,{configurable:!0,value:r})},Ya=Ha.IteratorPrototype,za=Oa,Wa=O,Ka=Va,Xa=ai,Ja=function(){return this},Qa=W,Za=String,tc=TypeError,rc=T,ec=Fr,nc=function(t){if("object"==typeof t||Qa(t))return t;throw tc("Can't set "+Za(t)+" as a prototype")},oc=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,e={};try{(t=rc(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(e,[]),r=e instanceof Array}catch(t){}return function(e,n){return ec(e),nc(n),r?t(e,n):e.__proto__=n,e}}():void 0),ic=Xn,ac=y,cc=W,uc=function(t,r,e,n){var o=r+" Iterator";return t.prototype=za(Ya,{next:Wa(+!n,e)}),Ka(t,o,!1),Xa[o]=Ja,t},fc=ka,sc=oc,lc=Va,pc=Wr,hc=Ye,vc=ai,dc=re.PROPER,yc=re.CONFIGURABLE,gc=Ha.IteratorPrototype,mc=Ha.BUGGY_SAFARI_ITERATORS,bc=ar("iterator"),Sc=function(){return this},wc=function(t,r,e,n,o,i,a){uc(e,r,n);var c,u,f,s=function(t){if(t===o&&d)return d;if(!mc&&t in h)return h[t];switch(t){case"keys":case"values":case"entries":return function(){return new e(this,t)}}return function(){return new e(this)}},l=r+" Iterator",p=!1,h=t.prototype,v=h[bc]||h["@@iterator"]||o&&h[o],d=!mc&&v||s(o),y="Array"==r&&h.entries||v;if(y&&(c=fc(y.call(new t)))!==Object.prototype&&c.next&&(fc(c)!==gc&&(sc?sc(c,gc):cc(c[bc])||hc(c,bc,Sc)),lc(c,l,!0)),dc&&"values"==o&&v&&"values"!==v.name&&(yc?pc(h,"name","values"):(p=!0,d=function(){return ac(v,this)})),o)if(u={values:s("values"),keys:i?d:s("keys"),entries:s("entries")},a)for(f in u)(mc||p||!(f in h))&&hc(h,f,u[f]);else ic({target:r,proto:!0,forced:mc||p},u);return h[bc]!==d&&hc(h,bc,d,{name:o}),vc[r]=d,u},xc=function(t,r){return{value:t,done:r}},Oc=Xi.charAt,Ec=Hi,jc=Le,Ac=wc,Ic=xc,Tc=jc.set,Lc=jc.getterFor("String Iterator");Ac(String,"String",(function(t){Tc(this,{type:"String Iterator",string:Ec(t),index:0})}),(function(){var t,r=Lc(this),e=r.string,n=r.index;return n>=e.length?Ic(void 0,!0):(t=Oc(e,n),r.index+=t.length,Ic(t,!1))}));var Pc=Fr,Rc=function(){var t=Pc(this),r="";return t.hasIndices&&(r+="d"),t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.unicodeSets&&(r+="v"),t.sticky&&(r+="y"),r},kc=l,_c=f.RegExp,Cc=kc((function(){var t=_c("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),Mc=Cc||kc((function(){return!_c("a","y").sticky})),Dc=Cc||kc((function(){var t=_c("^r","gy");return t.lastIndex=2,null!=t.exec("str")})),Fc={BROKEN_CARET:Dc,MISSED_STICKY:Mc,UNSUPPORTED_Y:Cc},Nc=l,$c=f.RegExp,Gc=Nc((function(){var t=$c(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),Hc=l,Bc=f.RegExp,qc=Hc((function(){var t=Bc("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),Uc=y,Vc=T,Yc=Hi,zc=Rc,Wc=Fc,Kc=kt.exports,Xc=Oa,Jc=Le.get,Qc=Gc,Zc=qc,tu=Kc("native-string-replace",String.prototype.replace),ru=RegExp.prototype.exec,eu=ru,nu=Vc("".charAt),ou=Vc("".indexOf),iu=Vc("".replace),au=Vc("".slice),cu=function(){var t=/a/,r=/b*/g;return Uc(ru,t,"a"),Uc(ru,r,"a"),0!==t.lastIndex||0!==r.lastIndex}(),uu=Wc.BROKEN_CARET,fu=void 0!==/()??/.exec("")[1];(cu||fu||uu||Qc||Zc)&&(eu=function(t){var r,e,n,o,i,a,c,u=this,f=Jc(u),s=Yc(t),l=f.raw;if(l)return l.lastIndex=u.lastIndex,r=Uc(eu,l,s),u.lastIndex=l.lastIndex,r;var p=f.groups,h=uu&&u.sticky,v=Uc(zc,u),d=u.source,y=0,g=s;if(h&&(v=iu(v,"y",""),-1===ou(v,"g")&&(v+="g"),g=au(s,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==nu(s,u.lastIndex-1))&&(d="(?: "+d+")",g=" "+g,y++),e=new RegExp("^(?:"+d+")",v)),fu&&(e=new RegExp("^"+d+"$(?!\\s)",v)),cu&&(n=u.lastIndex),o=Uc(ru,h?e:u,g),h?o?(o.input=au(o.input,y),o[0]=au(o[0],y),o.index=u.lastIndex,u.lastIndex+=o[0].length):u.lastIndex=0:cu&&o&&(u.lastIndex=u.global?o.index+o[0].length:n),fu&&o&&o.length>1&&Uc(tu,o[0],e,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&p)for(o.groups=a=Xc(null),i=0;i<p.length;i++)a[(c=p[i])[0]]=o[c[1]];return o});var su=eu;Xn({target:"RegExp",proto:!0,forced:/./.exec!==su},{exec:su});var lu,pu,hu=Xn,vu=y,du=W,yu=Fr,gu=Hi,mu=(lu=!1,(pu=/[ac]/).exec=function(){return lu=!0,/./.exec.apply(this,arguments)},!0===pu.test("abc")&&lu),bu=/./.test;hu({target:"RegExp",proto:!0,forced:!mu},{test:function(t){var r=yu(this),e=gu(t),n=r.exec;if(!du(n))return vu(bu,r,e);var o=vu(n,r,e);return null!==o&&(yu(o),!0)}});var Su={},wu=rn,xu=cn,Ou=Ao,Eu=Array,ju=Math.max,Au=k,Iu=U,Tu=ze.f,Lu=function(t,r,e){for(var n=xu(t),o=wu(r,n),i=wu(void 0===e?n:e,n),a=Eu(ju(i-o,0)),c=0;o<i;o++,c++)Ou(a,c,t[o]);return a.length=c,a},Pu="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];Su.f=function(t){return Pu&&"Window"==Au(t)?function(t){try{return Tu(t)}catch(t){return Lu(Pu)}}(t):Tu(Iu(t))};var Ru={},ku=ar;Ru.f=ku;var _u=f,Cu=Ut,Mu=Ru,Du=kr.f,Fu=function(t){var r=_u.Symbol||(_u.Symbol={});Cu(r,t)||Du(r,t,{value:Mu.f(t)})},Nu=y,$u=rt,Gu=ar,Hu=Ye,Bu=Qn,qu=xo,Uu=J,Vu=ar("species"),Yu=Array,zu=function(t){var r;return Bu(t)&&(r=t.constructor,(qu(r)&&(r===Yu||Bu(r.prototype))||Uu(r)&&null===(r=r[Vu]))&&(r=void 0)),void 0===r?Yu:r},Wu=ti,Ku=F,Xu=Ht,Ju=cn,Qu=function(t,r){return new(zu(t))(0===r?0:r)},Zu=T([].push),tf=function(t){var r=1==t,e=2==t,n=3==t,o=4==t,i=6==t,a=7==t,c=5==t||i;return function(u,f,s,l){for(var p,h,v=Xu(u),d=Ku(v),y=Wu(f,s),g=Ju(d),m=0,b=l||Qu,S=r?b(u,g):e||a?b(u,0):void 0;g>m;m++)if((c||m in d)&&(h=y(p=d[m],m,v),t))if(r)S[m]=h;else if(h)switch(t){case 3:return!0;case 5:return p;case 6:return m;case 2:Zu(S,p)}else switch(t){case 4:return!1;case 7:Zu(S,p)}return i?-1:n||o?o:S}},rf={forEach:tf(0),map:tf(1),filter:tf(2),some:tf(3),every:tf(4),find:tf(5),findIndex:tf(6),filterReject:tf(7)},ef=Xn,nf=f,of=y,af=T,cf=p,uf=pt,ff=l,sf=Ut,lf=et,pf=Fr,hf=U,vf=yr,df=Hi,yf=O,gf=Oa,mf=ta,bf=ze,Sf=Su,wf=xn,xf=s,Of=kr,Ef=Ji,jf=g,Af=Ye,If=kt.exports,Tf=ye,Lf=Kt,Pf=ar,Rf=Ru,kf=Fu,_f=function(){var t=$u("Symbol"),r=t&&t.prototype,e=r&&r.valueOf,n=Gu("toPrimitive");r&&!r[n]&&Hu(r,n,(function(t){return Nu(e,this)}),{arity:1})},Cf=Va,Mf=Le,Df=rf.forEach,Ff=de("hidden"),Nf=Mf.set,$f=Mf.getterFor("Symbol"),Gf=Object.prototype,Hf=nf.Symbol,Bf=Hf&&Hf.prototype,qf=nf.TypeError,Uf=nf.QObject,Vf=xf.f,Yf=Of.f,zf=Sf.f,Wf=jf.f,Kf=af([].push),Xf=If("symbols"),Jf=If("op-symbols"),Qf=If("wks"),Zf=!Uf||!Uf.prototype||!Uf.prototype.findChild,ts=cf&&ff((function(){return 7!=gf(Yf({},"a",{get:function(){return Yf(this,"a",{value:7}).a}})).a}))?function(t,r,e){var n=Vf(Gf,r);n&&delete Gf[r],Yf(t,r,e),n&&t!==Gf&&Yf(Gf,r,n)}:Yf,rs=function(t,r){var e=Xf[t]=gf(Bf);return Nf(e,{type:"Symbol",tag:t,description:r}),cf||(e.description=r),e},es=function(t,r,e){t===Gf&&es(Jf,r,e),pf(t);var n=vf(r);return pf(e),sf(Xf,n)?(e.enumerable?(sf(t,Ff)&&t[Ff][n]&&(t[Ff][n]=!1),e=gf(e,{enumerable:yf(0,!1)})):(sf(t,Ff)||Yf(t,Ff,yf(1,{})),t[Ff][n]=!0),ts(t,n,e)):Yf(t,n,e)},ns=function(t,r){pf(t);var e=hf(r),n=mf(e).concat(cs(e));return Df(n,(function(r){cf&&!of(os,e,r)||es(t,r,e[r])})),t},os=function(t){var r=vf(t),e=of(Wf,this,r);return!(this===Gf&&sf(Xf,r)&&!sf(Jf,r))&&(!(e||!sf(this,r)||!sf(Xf,r)||sf(this,Ff)&&this[Ff][r])||e)},is=function(t,r){var e=hf(t),n=vf(r);if(e!==Gf||!sf(Xf,n)||sf(Jf,n)){var o=Vf(e,n);return!o||!sf(Xf,n)||sf(e,Ff)&&e[Ff][n]||(o.enumerable=!0),o}},as=function(t){var r=zf(hf(t)),e=[];return Df(r,(function(t){sf(Xf,t)||sf(Tf,t)||Kf(e,t)})),e},cs=function(t){var r=t===Gf,e=zf(r?Jf:hf(t)),n=[];return Df(e,(function(t){!sf(Xf,t)||r&&!sf(Gf,t)||Kf(n,Xf[t])})),n};uf||(Af(Bf=(Hf=function(){if(lf(Bf,this))throw qf("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?df(arguments[0]):void 0,r=Lf(t),e=function(t){this===Gf&&of(e,Jf,t),sf(this,Ff)&&sf(this[Ff],r)&&(this[Ff][r]=!1),ts(this,r,yf(1,t))};return cf&&Zf&&ts(Gf,r,{configurable:!0,set:e}),rs(r,t)}).prototype,"toString",(function(){return $f(this).tag})),Af(Hf,"withoutSetter",(function(t){return rs(Lf(t),t)})),jf.f=os,Of.f=es,Ef.f=ns,xf.f=is,bf.f=Sf.f=as,wf.f=cs,Rf.f=function(t){return rs(Pf(t),t)},cf&&(Yf(Bf,"description",{configurable:!0,get:function(){return $f(this).description}}),Af(Gf,"propertyIsEnumerable",os,{unsafe:!0}))),ef({global:!0,constructor:!0,wrap:!0,forced:!uf,sham:!uf},{Symbol:Hf}),Df(mf(Qf),(function(t){kf(t)})),ef({target:"Symbol",stat:!0,forced:!uf},{useSetter:function(){Zf=!0},useSimple:function(){Zf=!1}}),ef({target:"Object",stat:!0,forced:!uf,sham:!cf},{create:function(t,r){return void 0===r?gf(t):ns(gf(t),r)},defineProperty:es,defineProperties:ns,getOwnPropertyDescriptor:is}),ef({target:"Object",stat:!0,forced:!uf},{getOwnPropertyNames:as}),_f(),Cf(Hf,"Symbol"),Tf[Ff]=!0;var us=pt&&!!Symbol.for&&!!Symbol.keyFor,fs=Xn,ss=rt,ls=Ut,ps=Hi,hs=kt.exports,vs=us,ds=hs("string-to-symbol-registry"),ys=hs("symbol-to-string-registry");fs({target:"Symbol",stat:!0,forced:!vs},{for:function(t){var r=ps(t);if(ls(ds,r))return ds[r];var e=ss("Symbol")(r);return ds[r]=e,ys[e]=r,e}});var gs=Xn,ms=Ut,bs=mt,Ss=St,ws=us,xs=(0,kt.exports)("symbol-to-string-registry");gs({target:"Symbol",stat:!0,forced:!ws},{keyFor:function(t){if(!bs(t))throw TypeError(Ss(t)+" is not a symbol");if(ms(xs,t))return xs[t]}});var Os=h,Es=Function.prototype,js=Es.apply,As=Es.call,Is="object"==typeof Reflect&&Reflect.apply||(Os?As.bind(js):function(){return As.apply(js,arguments)}),Ts=Xn,Ls=rt,Ps=Is,Rs=y,ks=T,_s=l,Cs=Qn,Ms=W,Ds=J,Fs=mt,Ns=Ro,$s=pt,Gs=Ls("JSON","stringify"),Hs=ks(/./.exec),Bs=ks("".charAt),qs=ks("".charCodeAt),Us=ks("".replace),Vs=ks(1..toString),Ys=/[\uD800-\uDFFF]/g,zs=/^[\uD800-\uDBFF]$/,Ws=/^[\uDC00-\uDFFF]$/,Ks=!$s||_s((function(){var t=Ls("Symbol")();return"[null]"!=Gs([t])||"{}"!=Gs({a:t})||"{}"!=Gs(Object(t))})),Xs=_s((function(){return'"\\udf06\\ud834"'!==Gs("\udf06\ud834")||'"\\udead"'!==Gs("\udead")})),Js=function(t,r){var e=Ns(arguments),n=r;if((Ds(r)||void 0!==t)&&!Fs(t))return Cs(r)||(r=function(t,r){if(Ms(n)&&(r=Rs(n,this,t,r)),!Fs(r))return r}),e[1]=r,Ps(Gs,null,e)},Qs=function(t,r,e){var n=Bs(e,r-1),o=Bs(e,r+1);return Hs(zs,t)&&!Hs(Ws,o)||Hs(Ws,t)&&!Hs(zs,n)?"\\u"+Vs(qs(t,0),16):t};Gs&&Ts({target:"JSON",stat:!0,arity:3,forced:Ks||Xs},{stringify:function(t,r,e){var n=Ns(arguments),o=Ps(Ks?Js:Gs,null,n);return Xs&&"string"==typeof o?Us(o,Ys,Qs):o}});var Zs=xn,tl=Ht;Xn({target:"Object",stat:!0,forced:!pt||l((function(){Zs.f(1)}))},{getOwnPropertySymbols:function(t){var r=Zs.f;return r?r(tl(t)):[]}});var rl=Xn,el=p,nl=f,ol=T,il=Ut,al=W,cl=et,ul=Hi,fl=kr.f,sl=_n,ll=nl.Symbol,pl=ll&&ll.prototype;if(el&&al(ll)&&(!("description"in pl)||void 0!==ll().description)){var hl={},vl=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:ul(arguments[0]),r=cl(pl,this)?new ll(t):void 0===t?ll():ll(t);return""===t&&(hl[r]=!0),r};sl(vl,ll),vl.prototype=pl,pl.constructor=vl;var dl="Symbol(test)"==String(ll("test")),yl=ol(pl.valueOf),gl=ol(pl.toString),ml=/^Symbol\((.*)\)[^)]+$/,bl=ol("".replace),Sl=ol("".slice);fl(pl,"description",{configurable:!0,get:function(){var t=yl(this);if(il(hl,t))return"";var r=gl(t),e=dl?Sl(r,7,-1):bl(r,ml,"$1");return""===e?void 0:e}}),rl({global:!0,constructor:!0,forced:!0},{Symbol:vl})}Fu("iterator");var wl=ar,xl=Oa,Ol=kr.f,El=wl("unscopables"),jl=Array.prototype;null==jl[El]&&Ol(jl,El,{configurable:!0,value:xl(null)});var Al=U,Il=function(t){jl[El][t]=!0},Tl=ai,Ll=Le,Pl=kr.f,Rl=wc,kl=xc,_l=p,Cl=Ll.set,Ml=Ll.getterFor("Array Iterator"),Dl=Rl(Array,"Array",(function(t,r){Cl(this,{type:"Array Iterator",target:Al(t),index:0,kind:r})}),(function(){var t=Ml(this),r=t.target,e=t.kind,n=t.index++;return!r||n>=r.length?(t.target=void 0,kl(void 0,!0)):kl("keys"==e?n:"values"==e?r[n]:[n,r[n]],!1)}),"values"),Fl=Tl.Arguments=Tl.Array;if(Il("keys"),Il("values"),Il("entries"),_l&&"values"!==Fl.name)try{Pl(Fl,"name",{value:"values"})}catch(t){}var Nl={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},$l=Sr("span").classList,Gl=$l&&$l.constructor&&$l.constructor.prototype,Hl=Gl===Object.prototype?void 0:Gl,Bl=f,ql=Nl,Ul=Hl,Vl=Dl,Yl=Wr,zl=ar,Wl=zl("iterator"),Kl=zl("toStringTag"),Xl=Vl.values,Jl=function(t,r){if(t){if(t[Wl]!==Xl)try{Yl(t,Wl,Xl)}catch(r){t[Wl]=Xl}if(t[Kl]||Yl(t,Kl,r),ql[r])for(var e in Vl)if(t[e]!==Vl[e])try{Yl(t,e,Vl[e])}catch(r){t[e]=Vl[e]}}};for(var Ql in ql)Jl(Bl[Ql]&&Bl[Ql].prototype,Ql);function Zl(t,r,e){return r in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}function tp(t,r,e,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void e(t)}c.done?r(u):Promise.resolve(u).then(n,o)}Jl(Ul,"DOMTokenList");var rp=rf.map;Xn({target:"Array",proto:!0,forced:!Po("map")},{map:function(t){return rp(this,t,arguments.length>1?arguments[1]:void 0)}});var ep=p,np=re.EXISTS,op=T,ip=kr.f,ap=Function.prototype,cp=op(ap.toString),up=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,fp=op(up.exec);ep&&!np&&ip(ap,"name",{configurable:!0,get:function(){try{return fp(up,cp(this))[1]}catch(t){return""}}});function sp(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}function lp(t){return function(t){if(Array.isArray(t))return sp(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,r){if(t){if("string"==typeof t)return sp(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?sp(t,r):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}!function(t){var r=function(t){var r,e=Object.prototype,n=e.hasOwnProperty,o=Object.defineProperty||function(t,r,e){t[r]=e.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function f(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{f({},"")}catch(t){f=function(t,r,e){return t[r]=e}}function s(t,r,e,n){var i=r&&r.prototype instanceof y?r:y,a=Object.create(i.prototype),c=new L(n||[]);return o(a,"_invoke",{value:j(t,e,c)}),a}function l(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var p="suspendedStart",h="executing",v="completed",d={};function y(){}function g(){}function m(){}var b={};f(b,a,(function(){return this}));var S=Object.getPrototypeOf,w=S&&S(S(P([])));w&&w!==e&&n.call(w,a)&&(b=w);var x=m.prototype=y.prototype=Object.create(b);function O(t){["next","throw","return"].forEach((function(r){f(t,r,(function(t){return this._invoke(r,t)}))}))}function E(t,r){function e(o,i,a,c){var u=l(t[o],t,i);if("throw"!==u.type){var f=u.arg,s=f.value;return s&&"object"==typeof s&&n.call(s,"__await")?r.resolve(s.__await).then((function(t){e("next",t,a,c)}),(function(t){e("throw",t,a,c)})):r.resolve(s).then((function(t){f.value=t,a(f)}),(function(t){return e("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new r((function(r,o){e(t,n,r,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,e){var n=p;return function(o,i){if(n===h)throw new Error("Generator is already running");if(n===v){if("throw"===o)throw i;return R()}for(e.method=o,e.arg=i;;){var a=e.delegate;if(a){var c=A(a,e);if(c){if(c===d)continue;return c}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(n===p)throw n=v,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n=h;var u=l(t,r,e);if("normal"===u.type){if(n=e.done?v:"suspendedYield",u.arg===d)continue;return{value:u.arg,done:e.done}}"throw"===u.type&&(n=v,e.method="throw",e.arg=u.arg)}}}function A(t,e){var n=e.method,o=t.iterator[n];if(o===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=r,A(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=l(o,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,d;var a=i.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,d):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function I(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function T(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(I,this),this.reset(!0)}function P(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function e(){for(;++o<t.length;)if(n.call(t,o))return e.value=t[o],e.done=!1,e;return e.value=r,e.done=!0,e};return i.next=i}}return{next:R}}function R(){return{value:r,done:!0}}return g.prototype=m,o(x,"constructor",{value:m,configurable:!0}),o(m,"constructor",{value:g,configurable:!0}),g.displayName=f(m,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===g||"GeneratorFunction"===(r.displayName||r.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,f(t,u,"GeneratorFunction")),t.prototype=Object.create(x),t},t.awrap=function(t){return{__await:t}},O(E.prototype),f(E.prototype,c,(function(){return this})),t.AsyncIterator=E,t.async=function(r,e,n,o,i){void 0===i&&(i=Promise);var a=new E(s(r,e,n,o),i);return t.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(x),f(x,u,"Generator"),f(x,a,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var r=Object(t),e=[];for(var n in r)e.push(n);return e.reverse(),function t(){for(;e.length;){var n=e.pop();if(n in r)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(T),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function o(n,o){return c.type="throw",c.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),f=n.call(a,"finallyLoc");if(u&&f){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!f)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var o=this.tryEntries[e];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=r&&r<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=r,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),d},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),T(e),d}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;T(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:P(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),d}},t}(t.exports);try{regeneratorRuntime=r}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}}({exports:{}});var pp=l,hp=rf.forEach,vp=f,dp=Nl,yp=Hl,gp=function(t,r){var e=[][t];return!!e&&pp((function(){e.call(null,r||function(){return 1},1)}))}("forEach")?[].forEach:function(t){return hp(this,t,arguments.length>1?arguments[1]:void 0)},mp=Wr,bp=function(t){if(t&&t.forEach!==gp)try{mp(t,"forEach",gp)}catch(r){t.forEach=gp}};for(var Sp in dp)dp[Sp]&&bp(vp[Sp]&&vp[Sp].prototype);bp(yp);var wp=function t(r,e,n){var o=[r];return r[n]&&r[n].length&&r[n].forEach((function(e){return o.push.apply(o,lp(t(e,r,n)))})),o},xp=Xo,Op=Ye,Ep=su,jp=l,Ap=ar,Ip=Wr,Tp=Ap("species"),Lp=RegExp.prototype,Pp=Xi.charAt,Rp=T,kp=Ht,_p=Math.floor,Cp=Rp("".charAt),Mp=Rp("".replace),Dp=Rp("".slice),Fp=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Np=/\$([$&'`]|\d{1,2})/g,$p=y,Gp=Fr,Hp=W,Bp=k,qp=su,Up=TypeError,Vp=Is,Yp=y,zp=T,Wp=function(t,r,e,n){var o=Ap(t),i=!jp((function(){var r={};return r[o]=function(){return 7},7!=""[t](r)})),a=i&&!jp((function(){var r=!1,e=/a/;return"split"===t&&((e={}).constructor={},e.constructor[Tp]=function(){return e},e.flags="",e[o]=/./[o]),e.exec=function(){return r=!0,null},e[o](""),!r}));if(!i||!a||e){var c=xp(/./[o]),u=r(o,""[t],(function(t,r,e,n,o){var a=xp(t),u=r.exec;return u===Ep||u===Lp.exec?i&&!o?{done:!0,value:c(r,e,n)}:{done:!0,value:a(e,r,n)}:{done:!1}}));Op(String.prototype,t,u[0]),Op(Lp,o,u[1])}n&&Ip(Lp[o],"sham",!0)},Kp=l,Xp=Fr,Jp=W,Qp=N,Zp=Je,th=on,rh=Hi,eh=H,nh=function(t,r,e){return r+(e?Pp(t,r).length:1)},oh=It,ih=function(t,r,e,n,o,i){var a=e+t.length,c=n.length,u=Np;return void 0!==o&&(o=kp(o),u=Fp),Mp(i,u,(function(i,u){var f;switch(Cp(u,0)){case"$":return"$";case"&":return t;case"`":return Dp(r,0,e);case"'":return Dp(r,a);case"<":f=o[Dp(u,1,-1)];break;default:var s=+u;if(0===s)return i;if(s>c){var l=_p(s/10);return 0===l?i:l<=c?void 0===n[l-1]?Cp(u,1):n[l-1]+Cp(u,1):i}f=n[s-1]}return void 0===f?"":f}))},ah=function(t,r){var e=t.exec;if(Hp(e)){var n=$p(e,t,r);return null!==n&&Gp(n),n}if("RegExp"===Bp(t))return $p(qp,t,r);throw Up("RegExp#exec called on incompatible receiver")},ch=ar("replace"),uh=Math.max,fh=Math.min,sh=zp([].concat),lh=zp([].push),ph=zp("".indexOf),hh=zp("".slice),vh="$0"==="a".replace(/./,"$0"),dh=!!/./[ch]&&""===/./[ch]("a","$0"),yh=!Kp((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}));Wp("replace",(function(t,r,e){var n=dh?"$":"$0";return[function(t,e){var n=eh(this),o=Qp(t)?void 0:oh(t,ch);return o?Yp(o,t,n,e):Yp(r,rh(n),t,e)},function(t,o){var i=Xp(this),a=rh(t);if("string"==typeof o&&-1===ph(o,n)&&-1===ph(o,"$<")){var c=e(r,i,a,o);if(c.done)return c.value}var u=Jp(o);u||(o=rh(o));var f=i.global;if(f){var s=i.unicode;i.lastIndex=0}for(var l=[];;){var p=ah(i,a);if(null===p)break;if(lh(l,p),!f)break;""===rh(p[0])&&(i.lastIndex=nh(a,th(i.lastIndex),s))}for(var h,v="",d=0,y=0;y<l.length;y++){for(var g=rh((p=l[y])[0]),m=uh(fh(Zp(p.index),a.length),0),b=[],S=1;S<p.length;S++)lh(b,void 0===(h=p[S])?h:String(h));var w=p.groups;if(u){var x=sh([g],b,m,a);void 0!==w&&lh(x,w);var O=rh(Vp(o,void 0,x))}else O=ih(g,a,m,b,w,o);m>=d&&(v+=hh(a,d,m)+O,d=m+g.length)}return v+hh(a,d)}]}),!yh||!vh||dh);var gh=W,mh=J,bh=oc,Sh=J,wh=k,xh=ar("match"),Oh=y,Eh=Ut,jh=et,Ah=Rc,Ih=RegExp.prototype,Th=function(t){var r=t.flags;return void 0!==r||"flags"in Ih||Eh(t,"flags")||!jh(Ih,t)?r:Oh(Ah,t)},Lh=kr.f,Ph=rt,Rh=kr,kh=p,_h=ar("species"),Ch=p,Mh=f,Dh=T,Fh=Bn,Nh=function(t,r,e){var n,o;return bh&&gh(n=r.constructor)&&n!==e&&mh(o=n.prototype)&&o!==e.prototype&&bh(t,o),t},$h=Wr,Gh=ze.f,Hh=et,Bh=function(t){var r;return Sh(t)&&(void 0!==(r=t[xh])?!!r:"RegExp"==wh(t))},qh=Hi,Uh=Th,Vh=Fc,Yh=function(t,r,e){e in t||Lh(t,e,{configurable:!0,get:function(){return r[e]},set:function(t){r[e]=t}})},zh=Ye,Wh=l,Kh=Ut,Xh=Le.enforce,Jh=function(t){var r=Ph(t),e=Rh.f;kh&&r&&!r[_h]&&e(r,_h,{configurable:!0,get:function(){return this}})},Qh=Gc,Zh=qc,tv=ar("match"),rv=Mh.RegExp,ev=rv.prototype,nv=Mh.SyntaxError,ov=Dh(ev.exec),iv=Dh("".charAt),av=Dh("".replace),cv=Dh("".indexOf),uv=Dh("".slice),fv=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,sv=/a/g,lv=/a/g,pv=new rv(sv)!==sv,hv=Vh.MISSED_STICKY,vv=Vh.UNSUPPORTED_Y,dv=Ch&&(!pv||hv||Qh||Zh||Wh((function(){return lv[tv]=!1,rv(sv)!=sv||rv(lv)==lv||"/a/i"!=rv(sv,"i")})));if(Fh("RegExp",dv)){for(var yv=function(t,r){var e,n,o,i,a,c,u=Hh(ev,this),f=Bh(t),s=void 0===r,l=[],p=t;if(!u&&f&&s&&t.constructor===yv)return t;if((f||Hh(ev,t))&&(t=t.source,s&&(r=Uh(p))),t=void 0===t?"":qh(t),r=void 0===r?"":qh(r),p=t,Qh&&"dotAll"in sv&&(n=!!r&&cv(r,"s")>-1)&&(r=av(r,/s/g,"")),e=r,hv&&"sticky"in sv&&(o=!!r&&cv(r,"y")>-1)&&vv&&(r=av(r,/y/g,"")),Zh&&(i=function(t){for(var r,e=t.length,n=0,o="",i=[],a={},c=!1,u=!1,f=0,s="";n<=e;n++){if("\\"===(r=iv(t,n)))r+=iv(t,++n);else if("]"===r)c=!1;else if(!c)switch(!0){case"["===r:c=!0;break;case"("===r:ov(fv,uv(t,n+1))&&(n+=2,u=!0),o+=r,f++;continue;case">"===r&&u:if(""===s||Kh(a,s))throw new nv("Invalid capture group name");a[s]=!0,i[i.length]=[s,f],u=!1,s="";continue}u?s+=r:o+=r}return[o,i]}(t),t=i[0],l=i[1]),a=Nh(rv(t,r),u?this:ev,yv),(n||o||l.length)&&(c=Xh(a),n&&(c.dotAll=!0,c.raw=yv(function(t){for(var r,e=t.length,n=0,o="",i=!1;n<=e;n++)"\\"!==(r=iv(t,n))?i||"."!==r?("["===r?i=!0:"]"===r&&(i=!1),o+=r):o+="[\\s\\S]":o+=r+iv(t,++n);return o}(t),e)),o&&(c.sticky=!0),l.length&&(c.groups=l)),t!==p)try{$h(a,"source",""===p?"(?:)":p)}catch(t){}return a},gv=Gh(rv),mv=0;gv.length>mv;)Yh(yv,rv,gv[mv++]);ev.constructor=yv,yv.prototype=ev,zh(Mh,"RegExp",yv,{constructor:!0})}Jh("RegExp");var bv=Kr.exports,Sv=kr,wv=p,xv=Fc.MISSED_STICKY,Ov=k,Ev=function(t,r,e){return e.get&&bv(e.get,r,{getter:!0}),e.set&&bv(e.set,r,{setter:!0}),Sv.f(t,r,e)},jv=Le.get,Av=RegExp.prototype,Iv=TypeError;wv&&xv&&Ev(Av,"sticky",{configurable:!0,get:function(){if(this!==Av){if("RegExp"===Ov(this))return!!jv(this).sticky;throw Iv("Incompatible receiver, RegExp required")}}});var Tv=re.PROPER,Lv=Ye,Pv=Fr,Rv=Hi,kv=l,_v=Th,Cv=RegExp.prototype.toString,Mv=kv((function(){return"/a/b"!=Cv.call({source:"a",flags:"b"})})),Dv=Tv&&"toString"!=Cv.name;(Mv||Dv)&&Lv(RegExp.prototype,"toString",(function(){var t=Pv(this);return"/"+Rv(t.source)+"/"+Rv(_v(t))}),{unsafe:!0});function Fv(t,r){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,r){if(!t)return;if("string"==typeof t)return Nv(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return Nv(t,r)}(t))||r&&t&&"number"==typeof t.length){e&&(t=e);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==e.return||e.return()}finally{if(c)throw i}}}}function Nv(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}var $v={name:"BaseTreeAnchor",props:{list:{type:Array,require:!0,default:function(){return[]}},ctCls:{type:String},title:{type:String,default:""},props:{type:Object,default:function(){return{id:"id",name:"name",children:"children",label:"label"}}},showList:{type:Boolean,default:!0},containerId:{type:String,default:""},isContainer:{type:Boolean,default:!0},treeItemClass:{type:String,default:""},anchorPostion:{type:String,default:"start"},anchorBehavior:{type:String,default:"smooth"}},watch:{list:{handler:function(t){t&&(this.treeData=a(this.list))},deep:!0,immediate:!0},activeAnchor:{handler:function(t,r){t!==r&&""!==t&&this.$emit("activeAnchor",t)},immediate:!0}},computed:{activeTop:function(){var t=30*this.activeIndex+4;return"".concat(t,"px")},treeMap:function(){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"children";if(t instanceof Array){var e=[];return t.forEach((function(t){e.push.apply(e,lp(wp(t,0,r)))})),e}}(this.list,this.props.children)}},data:function(){return{treeData:[],activeIndex:0,activeAnchor:""}},created:function(){this.treeData[0]&&(this.treeData[0].active=!0,this.activeAnchor=this.treeData[0][this.props.id]),window.addEventListener("scroll",this.onScroll,!0)},destroyed:function(){window.removeEventListener("scroll",this.onScroll,!0)},methods:{planHeight:function(){var t,r=this;return(t=regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=0,t.next=3,r.$nextTick((function(){e=document.getElementById("tree-anchor-ul").offsetHeight}));case 3:return t.abrupt("return","".concat(e,"px"));case 4:case"end":return t.stop()}}),t)})),function(){var r=this,e=arguments;return new Promise((function(n,o){var i=t.apply(r,e);function a(t){tp(i,n,o,a,c,"next",t)}function c(t){tp(i,n,o,a,c,"throw",t)}a(void 0)}))})()},onScroll:function(t){var r=document.querySelectorAll(".".concat(this.treeItemClass)),e=0;if(this.isContainer)e=t.target.scrollTop;else{var n=document.querySelector("#".concat(this.containerId)).offsetTop;e=t.target.scrollTop-n}for(var o=r.length-1;o>=0;o--){var i=e>=r[o].offsetTop-r[0].offsetTop;if(i||0===i){this.activeAnchor=this.judgeScrollBottom()?this.treeMap[this.treeMap.length-1][this.props.id]:this.treeMap[o][this.props.id],this.getCurrentIndex(this.activeAnchor),this.setCurrentNode(this.activeAnchor,this.treeData);break}}},judgeScrollBottom:function(){var t=document.querySelector("#".concat(this.containerId));if(t&&this.isContainer){var r=t.scrollTop,e=t.clientHeight,n=t.scrollHeight;return Math.ceil(r)+e>=n}var o=this.getScrollTop(),i=this.getWindowHeight(),a=this.getScrollHeight();return Math.ceil(o)+i>=a},getScrollTop:function(){var t=0,r=0;return document.body&&(t=document.body.scrollTop),document.documentElement&&(r=document.documentElement.scrollTop),t-r>0?t:r},getScrollHeight:function(){var t=0,r=0;return document.body&&(t=document.body.scrollHeight),document.documentElement&&(r=document.documentElement.scrollHeight),t-r>0?t:r},getWindowHeight:function(){return"CSS1Compat"===document.compatMode?document.documentElement.clientHeight:document.body.clientHeight},goAnchor:function(t,r){var e=this;this.getCurrentIndex(r),window.removeEventListener("scroll",this.onScroll,!0),this.$nextTick((function(){document.querySelector("#".concat(r)).scrollIntoView({behavior:e.anchorBehavior,block:e.anchorPostion}),setTimeout((function(){window.addEventListener("scroll",e.onScroll,!0)}),1e3)})),this.setCurrentNode(t,this.treeData),this.activeAnchor=t},setCurrentNode:function(t,r){var e,n=Fv(r);try{for(n.s();!(e=n.n()).done;){var o=e.value;o.active=!1,t===o.id&&(o.active=!0),o.children&&o.children.length&&this.setCurrentNode(t,o.children)}}catch(t){n.e(t)}finally{n.f()}},getCurrentIndex:function(t){var r=this;this.treeMap.map((function(e,n){e.name===t&&(r.activeIndex=n)}))},renderChildrenItem:function(t){var r=this;if(!t||!t.length)return!1;var e=this.$createElement;return e("ul",{class:{"tree-List-sub":!0},style:{display:this.showList?"block":"none"}},[t.map((function(t){return e("li",{},[e("p",{class:{"section-link":!0,"section-link-active":t.active},on:{click:function(e){r.goAnchor(t[r.props.id],t[r.props.name],t),e.stopPropagation()}}},[t[r.props.label],t[r.props.children]?r.renderChildrenItem(t[r.props.children]):""])])}))])},renderList:function(){var t=this,r=this.$createElement;return[r("div",{class:{"tree-anchor-title":!0},style:{display:this.title.length>0?"block":"none"}},[this.title]),r("div",{class:{"tree-anchor-list":!0}},[r("div",{class:{"tree-anchor-list-plan":!0},style:{height:this.planHeight()}},[r("div",{class:{"active-content":!0},style:{top:this.activeTop}},[])]),r("ul",{class:{"tree-anchor-list-root":!0},attrs:{id:"tree-anchor-ul"}},[this.treeData.map((function(e){return r("li",{},[r("p",{class:{"section-link":!0,"first-selection-link":!0,"section-link-active":e.active},attrs:{href:"#".concat(e[t.props.name])},on:{click:function(r){t.goAnchor(e[t.props.id],e[t.props.name],e),r.stopPropagation()}}},[e[t.props.label]]),e[t.props.children]?t.renderChildrenItem(e[t.props.children]):""])}))])])]}},render:function(t){var r,e;return t("div",{class:(r={},Zl(r,this.ctCls,this.ctCls),Zl(r,"tree-anchor",!0),r)},[null!==(e=this.$slots.default)&&void 0!==e?e:this.renderList()])}};$v.install=function(t,r){var e;if(e="按需加载独立组件:".concat($v.name),"development"!==process.env.NODE_ENV&&"dev"!==process.env.NODE_ENV||console.warn(e),o(r)&&!i(r))for(var n=0;n<r.length;n++)r[n].name!==$v.name&&t.use(r[n]);t.component($v.name,$v)},exports.BaseTreeAnchor=$v;