angular-docs-cn/aio/dist/generated/js/custom-elements-es5-polyfil...

2 lines
11 KiB
JavaScript

function _instanceof(left,right){if(right!=null&&typeof Symbol!=="undefined"&&right[Symbol.hasInstance]){return right[Symbol.hasInstance](left);}else{return left instanceof right;}}var _typeof=function(obj){return obj&&typeof Symbol!=="undefined"&&obj.constructor===Symbol?"symbol":typeof obj;};(function(){var i=function(e,r){return function(){return (r||(r={exports:{}},e(r.exports,r)),r.exports);};};var l=i(function(vi,ne){var O=function O(e){return e&&e.Math==Math&&e;};ne.exports=O(typeof globalThis=="object"&&globalThis)||O(typeof window=="object"&&window)||O(typeof self=="object"&&self)||O(typeof global=="object"&&global)||(function(){return this;})()||Function("return this")();});var v=i(function(di,ie){ie.exports=function(e){try{return !!e();}catch(r) {return !0;}};});var d=i(function(bi,ae){var nt=v();ae.exports=!nt(function(){return Object.defineProperty({},1,{get:function get(){return 7;}})[1]!=7;});});var le=i(function(oe){"use strict";var ue={}.propertyIsEnumerable,se=Object.getOwnPropertyDescriptor,it=se&& !ue.call({1:2},1);oe.f=it?function(r){var t=se(this,r);return !!t&&t.enumerable;}:ue;});var N=i(function(qi,ce){ce.exports=function(e,r){return {enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:r};};});var pe=i(function(hi,fe){var at={}.toString;fe.exports=function(e){return at.call(e).slice(8,-1);};});var de=i(function(gi,ve){var ot=v(),ut=pe(),st="".split;ve.exports=ot(function(){return !Object("z").propertyIsEnumerable(0);})?function(e){return ut(e)=="String"?st.call(e,""):Object(e);}:Object;});var ye=i(function(mi,be){be.exports=function(e){if(e==null)throw TypeError("Can't call method on "+e);return e;};});var x=i(function(ji,qe){var lt=de(),ct=ye();qe.exports=function(e){return lt(ct(e));};});var f=i(function(Oi,he){he.exports=function(e){return typeof e=="object"?e!==null:typeof e=="function";};});var K=i(function(xi,ge){var w=f();ge.exports=function(e,r){if(!w(e))return e;var t,n;if(r&&typeof(t=e.toString)=="function"&& !w(n=t.call(e))||typeof(t=e.valueOf)=="function"&& !w(n=t.call(e))||!r&&typeof(t=e.toString)=="function"&& !w(n=t.call(e)))return n;throw TypeError("Can't convert object to primitive value");};});var b=i(function(wi,me){var ft={}.hasOwnProperty;me.exports=function(e,r){return ft.call(e,r);};});var L=i(function(Pi,je){var pt=l(),Oe=f(),k=pt.document,vt=Oe(k)&&Oe(k.createElement);je.exports=function(e){return vt?k.createElement(e):{};};});var _=i(function(Ei,xe){var dt=d(),bt=v(),yt=L();xe.exports=!dt&& !bt(function(){return Object.defineProperty(yt("div"),"a",{get:function get(){return 7;}}).a!=7;});});var G=i(function(we){var qt=d(),ht=le(),gt=N(),mt=x(),jt=K(),Ot=b(),xt=_(),Pe=Object.getOwnPropertyDescriptor;we.f=qt?Pe:function(r,t){if(r=mt(r),t=jt(t,!0),xt)try{return Pe(r,t);}catch(n) {}if(Ot(r,t))return gt(!ht.f.call(r,t),r[t]);};});var y=i(function(Fi,Ee){var wt=f();Ee.exports=function(e){if(!wt(e))throw TypeError(String(e)+" is not an object");return e;};});var P=i(function(Se){var Pt=d(),Et=_(),Fe=y(),St=K(),Ie=Object.defineProperty;Se.f=Pt?Ie:function(r,t,n){if(Fe(r),t=St(t,!0),Fe(n),Et)try{return Ie(r,t,n);}catch(a) {}if("get" in n||"set" in n)throw TypeError("Accessors not supported");return "value" in n&&(r[t]=n.value),r;};});var g=i(function(Mi,Me){var Ft=d(),It=P(),Mt=N();Me.exports=Ft?function(e,r,t){return It.f(e,r,Mt(1,t));}:function(e,r,t){return e[r]=t,e;};});var E=i(function(Ri,Re){var Te=l(),Rt=g();Re.exports=function(e,r){try{Rt(Te,e,r);}catch(t) {Te[e]=r;}return r;};});var S=i(function(Ti,De){var Tt=l(),Dt=E(),Ce="__core-js_shared__",Ct=Tt[Ce]||Dt(Ce,{});De.exports=Ct;});var H=i(function(Di,Ne){var B=S(),Nt=Function.toString;typeof B.inspectSource!="function"&&(B.inspectSource=function(e){return Nt.call(e);});Ne.exports=B.inspectSource;});var Le=i(function(Ci,Ke){var Kt=l(),kt=H(),ke=Kt.WeakMap;Ke.exports=typeof ke=="function"&&/native code/.test(kt(ke));});var Ge=i(function(Ni,_e){_e.exports=!1;});var We=i(function(Ki,Be){var Lt=Ge(),He=S();(Be.exports=function(e,r){return He[e]||(He[e]=r!== void 0?r:{});})("versions",[]).push({version:"3.8.3",mode:Lt?"pure":"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"});});var Ve=i(function(ki,Ae){var _t=0,Gt=Math.random();Ae.exports=function(e){return "Symbol("+String(e=== void 0?"":e)+")_"+((++_t)+Gt).toString(36);};});var W=i(function(Li,ze){var Bt=We(),Ht=Ve(),Ye=Bt("keys");ze.exports=function(e){return Ye[e]||(Ye[e]=Ht(e));};});var F=i(function(_i,Je){Je.exports={};});var rr=i(function(Gi,Ue){var Wt=Le(),At=l(),Vt=f(),zt=g(),Xe=b(),Qe=S(),Yt=W(),Jt=F(),Ut=At.WeakMap,I,m,M,Xt=function Xt(e){return M(e)?m(e):I(e,{});},Qt=function Qt(e){return function(r){var t;if(!Vt(r)||(t=m(r)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return t;};};Wt?(p=Qe.state||(Qe.state=new Ut),Ze=p.get,$e=p.has,er=p.set,I=function I(e,r){return r.facade=e,er.call(p,e,r),r;},m=function m(e){return Ze.call(p,e)||{};},M=function M(e){return $e.call(p,e);}):(q=Yt("state"),Jt[q]=!0,I=function I(e,r){return r.facade=e,zt(e,q,r),r;},m=function m(e){return Xe(e,q)?e[q]:{};},M=function M(e){return Xe(e,q);});var p,Ze,$e,er,q;Ue.exports={set:I,get:m,has:M,enforce:Xt,getterFor:Qt};});var ar=i(function(Bi,tr){var Zt=l(),nr=g(),$t=b(),en=E(),rn=H(),ir=rr(),tn=ir.get,nn=ir.enforce,an=String(String).split("String");(tr.exports=function(e,r,t,n){var a=n?!!n.unsafe:!1,u=n?!!n.enumerable:!1,o=n?!!n.noTargetGet:!1,s;if(typeof t=="function"&&(typeof r=="string"&& !$t(t,"name")&&nr(t,"name",r),s=nn(t),s.source||(s.source=an.join(typeof r=="string"?r:""))),e===Zt){u?e[r]=t:en(r,t);return;}else a?!o&&e[r]&&(u=!0):delete e[r];u?e[r]=t:nr(e,r,t);})(Function.prototype,"toString",function(){return typeof this=="function"&&tn(this).source||rn(this);});});var ur=i(function(Hi,or){var on=l();or.exports=on;});var R=i(function(Wi,sr){var A=ur(),V=l(),lr=function lr(e){return typeof e=="function"?e:void 0;};sr.exports=function(e,r){return arguments.length<2?lr(A[e])||lr(V[e]):A[e]&&A[e][r]||V[e]&&V[e][r];};});var z=i(function(Ai,cr){var un=Math.ceil,sn=Math.floor;cr.exports=function(e){return isNaN(e=+e)?0:(e>0?sn:un)(e);};});var pr=i(function(Vi,fr){var ln=z(),cn=Math.min;fr.exports=function(e){return e>0?cn(ln(e),9007199254740991):0;};});var dr=i(function(zi,vr){var fn=z(),pn=Math.max,vn=Math.min;vr.exports=function(e,r){var t=fn(e);return t<0?pn(t+r,0):vn(t,r);};});var qr=i(function(Yi,br){var dn=x(),bn=pr(),yn=dr(),yr=function yr(e){return function(r,t,n){var a=dn(r),u=bn(a.length),o=yn(n,u),s;if(e&&t!=t){for(;u>o;)if((s=a[o++],s!=s))return !0;}else for(;u>o;o++)if((e||o in a)&&a[o]===t)return e||o||0;return !e&& -1;};};br.exports={includes:yr(!0),indexOf:yr(!1)};});var J=i(function(Ji,hr){var Y=b(),qn=x(),hn=qr().indexOf,gn=F();hr.exports=function(e,r){var t=qn(e),n=0,a=[],u;for(u in t)!Y(gn,u)&&Y(t,u)&&a.push(u);for(;r.length>n;)Y(t,u=r[n++])&&(~hn(a,u)||a.push(u));return a;};});var T=i(function(Ui,gr){gr.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];});var jr=i(function(mr){var mn=J(),jn=T(),On=jn.concat("length","prototype");mr.f=Object.getOwnPropertyNames||function(r){return mn(r,On);};});var xr=i(function(Or){Or.f=Object.getOwnPropertySymbols;});var Pr=i(function(Zi,wr){var xn=R(),wn=jr(),Pn=xr(),En=y();wr.exports=xn("Reflect","ownKeys")||function(r){var t=wn.f(En(r)),n=Pn.f;return n?t.concat(n(r)):t;};});var Sr=i(function($i,Er){var Sn=b(),Fn=Pr(),In=G(),Mn=P();Er.exports=function(e,r){for(var t=Fn(r),n=Mn.f,a=In.f,u=0;u<t.length;u++){var o=t[u];Sn(e,o)||n(e,o,a(r,o));}};});var Ir=i(function(ea,Fr){var Rn=v(),Tn=/#|\.prototype\./,j=function j(e,r){var t=Cn[Dn(e)];return t==Kn?!0:t==Nn?!1:typeof r=="function"?Rn(r):!!r;},Dn=j.normalize=function Dn(e){return String(e).replace(Tn,".").toLowerCase();},Cn=j.data={},Nn=j.NATIVE="N",Kn=j.POLYFILL="P";Fr.exports=j;});var Rr=i(function(ra,Mr){var U=l(),kn=G().f,Ln=g(),_n=ar(),Gn=E(),Bn=Sr(),Hn=Ir();Mr.exports=function(e,r){var t=e.target,n=e.global,a=e.stat,u,o,s,c,h,C;if(n?o=U:a?o=U[t]||Gn(t,{}):o=(U[t]||{}).prototype,o)for(s in r){if(h=r[s],e.noTargetGet?(C=kn(o,s),c=C&&C.value):c=o[s],u=Hn(n?s:t+(a?".":"#")+s,e.forced),!u&&c!== void 0){if(_typeof(h)==_typeof(c))continue;Bn(h,c);}(e.sham||c&&c.sham)&&Ln(h,"sham",!0),_n(o,s,h,e);}};});var X=i(function(ta,Tr){Tr.exports=function(e){if(typeof e!="function")throw TypeError(String(e)+" is not a function");return e;};});var Cr=i(function(na,Dr){var Wn=J(),An=T();Dr.exports=Object.keys||function(r){return Wn(r,An);};});var Kr=i(function(ia,Nr){var Vn=d(),zn=P(),Yn=y(),Jn=Cr();Nr.exports=Vn?Object.defineProperties:function(r,t){Yn(r);for(var n=Jn(t),a=n.length,u=0,o;a>u;)zn.f(r,o=n[u++],t[o]);return r;};});var Lr=i(function(aa,kr){var Un=R();kr.exports=Un("document","documentElement");});var Vr=i(function(oa,_r){var Xn=y(),Qn=Kr(),Gr=T(),Zn=F(),$n=Lr(),ei=L(),ri=W(),Br=">",Hr="<",Q="prototype",Z="script",Wr=ri("IE_PROTO"),$=function $(){},Ar=function Ar(e){return Hr+Z+Br+e+Hr+"/"+Z+Br;},ti=function ti(e){e.write(Ar("")),e.close();var r=e.parentWindow.Object;return (e=null,r);},ni=function ni(){var e=ei("iframe"),r="java"+Z+":",t;return (e.style.display="none",$n.appendChild(e),e.src=String(r),t=e.contentWindow.document,t.open(),t.write(Ar("document.F=Object")),t.close(),t.F);},ee,D=function(){try{ee=document.domain&&new ActiveXObject("htmlfile");}catch(r) {}D=ee?ti(ee):ni();for(var e=Gr.length;e--;)delete D[Q][Gr[e]];return D();};Zn[Wr]=!0;_r.exports=Object.create||function(r,t){var n;return r!==null?($[Q]=Xn(r),n=new $,$[Q]=null,n[Wr]=r):n=D(),t=== void 0?n:Qn(n,t);};});var Jr=i(function(ua,zr){"use strict";var ii=X(),ai=f(),Yr=[].slice,re={},oi=function oi(e,r,t){if(!(r in re)){for(var n=[],a=0;a<r;a++)n[a]="a["+a+"]";re[r]=Function("C,a","return new C("+n.join(",")+")");}return re[r](e,t);};zr.exports=Function.bind||function(r){var t=ii(this),n=Yr.call(arguments,1),a=function(){var o=n.concat(Yr.call(arguments));return this instanceof a?oi(t,o.length,o):t.apply(r,o);};return ai(t.prototype)&&(a.prototype=t.prototype),a;};});var rt=i(function(){var ui=Rr(),si=R(),Ur=X(),li=y(),Xr=f(),ci=Vr(),fi=Jr(),Qr=v(),te=si("Reflect","construct"),Zr=Qr(function(){var e=function e(){};return !_instanceof(te(function(){},[],e),e);}),$r=!Qr(function(){te(function(){});}),et=Zr||$r;ui({target:"Reflect",stat:!0,forced:et,sham:et},{construct:function construct(r,t){Ur(r),li(t);var n=arguments.length<3?r:Ur(arguments[2]);if($r&& !Zr)return te(r,t,n);if(r==n){switch(t.length){case 0:return new r;case 1:return new r(t[0]);case 2:return new r(t[0],t[1]);case 3:return new r(t[0],t[1],t[2]);case 4:return new r(t[0],t[1],t[2],t[3]);}var a=[null];return (a.push.apply(a,t),new (fi.apply(r,a)));}var u=n.prototype,o=ci(Xr(u)?u:Object.prototype),s=Function.apply.call(r,o,t);return Xr(s)?s:o;}});});var tt=i(function(){(function(){if(window.Reflect=== void 0||window.customElements=== void 0||window.customElements.hasOwnProperty("polyfillWrapFlushCallback"))return;var e=HTMLElement;window.HTMLElement=function(){return Reflect.construct(e,[],this.constructor);},HTMLElement.prototype=e.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,e);})();});rt();tt();})();