@appscode/ui-builder
Version:
## Motivation
1 lines • 2.58 kB
JavaScript
;var t,e,r,n=require("./wrapper-944ca3a6.js"),o=require("./set-to-string-tag-4a66b282.js"),i=require("./object-set-prototype-of-f804d831.js"),a=!n.o((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),u=n.J("IE_PROTO"),s=Object.prototype,c=a?Object.getPrototypeOf:function(t){return t=n.a(t),n.K(t,u)?t[u]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null},f=n.w("iterator"),y=!1;[].keys&&("next"in(r=[].keys())?(e=c(c(r)))!==Object.prototype&&(t=e):y=!0),null==t&&(t={}),n.K(t,f)||n.L(t,f,(function(){return this}));var p={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:y},l=p.IteratorPrototype,v=p.IteratorPrototype,g=p.BUGGY_SAFARI_ITERATORS,d=n.w("iterator"),h=function(){return this},I=function(t,e,r,a,u,s,f){!function(t,e,r){var i=e+" Iterator";t.prototype=n.M(l,{next:n.N(1,r)}),o.s(t,i,!1)}(r,e,a);var y,p,I,O=function(t){if(t===u&&k)return k;if(!g&&t in j)return j[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},A=e+" Iterator",S=!1,j=t.prototype,w=j[d]||j["@@iterator"]||u&&j[u],k=!g&&w||O(u),b="Array"==e&&j.entries||w;if(b&&(y=c(b.call(new t)),v!==Object.prototype&&y.next&&(c(y)!==v&&(i.o?i.o(y,v):"function"!=typeof y[d]&&n.L(y,d,h)),o.s(y,A,!0))),"values"==u&&w&&"values"!==w.name&&(S=!0,k=function(){return w.call(this)}),j[d]!==k&&n.L(j,d,k),u)if(p={values:O("values"),keys:s?k:O("keys"),entries:O("entries")},f)for(I in p)(g||S||!(I in j))&&n.O(j,I,p[I]);else n._({target:e,proto:!0,forced:g||S},p);return p},O=n.R.charAt,A=n.Q.set,S=n.Q.getterFor("String Iterator");I(String,"String",(function(t){A(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=S(this),r=e.string,n=e.index;return n>=r.length?{value:void 0,done:!0}:(t=O(r,n),e.index+=t.length,{value:t,done:!1})}));var j=n.Q.set,w=n.Q.getterFor("Array Iterator"),k=I(Array,"Array",(function(t,e){j(this,{type:"Array Iterator",target:n.S(t),index:0,kind:e})}),(function(){var t=w(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values");n.d("keys"),n.d("values"),n.d("entries");var b=n.w("iterator"),x=n.w("toStringTag"),R=k.values;for(var T in n.T){var L=n.U[T],P=L&&L.prototype;if(P){if(P[b]!==R)try{n.L(P,b,R)}catch(t){P[b]=R}if(P[x]||n.L(P,x,T),n.T[T])for(var _ in k)if(P[_]!==k[_])try{n.L(P,_,k[_])}catch(t){P[_]=k[_]}}}