Build 545032stable
Module 833658
984 characters · in no known chunkDependencies
Source Raw
function(e,t,n){"use strict";var i=n(267768),r=n(870064),s=n(741623),a=n(14665),o=n(899204),l=n(904283),u=n(732937),c=n(228047),d=n(94535),_=n(444139),f=n(227106);e.exports=function(e,t,n){if(!f(e))throw new s("Assertion failed: O must be an Object");if(!u(t))throw new s("Assertion failed: P must be a Property Key");if(!a(n))throw new s("Assertion failed: Desc must be a Property Descriptor");if(!i){if(o(n))throw new r("This environment does not support accessor property descriptors.");var h=!(t in e)&&n["[[Writable]]"]&&n["[[Enumerable]]"]&&n["[[Configurable]]"]&&"[[Value]]"in n,p=t in e&&(!("[[Configurable]]"in n)||n["[[Configurable]]"])&&(!("[[Enumerable]]"in n)||n["[[Enumerable]]"])&&(!("[[Writable]]"in n)||n["[[Writable]]"])&&"[[Value]]"in n;if(h||p)return e[t]=n["[[Value]]"],d(e[t],n["[[Value]]"]);throw new r("This environment does not support defining non-writable, non-enumerable, or non-configurable properties")}var E=i(e,t),m=E&&c(E),g=l(e);return _(e,t,g,n,m)}}