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