import{r}from"./es-object-atoms.CyiuHMUS.js";import{r as t,a as e,b as o,c as n,d as a,e as y,f as p}from"./es-errors.DTEWvbA_.js";import{r as i,a as s,b as f,c,d as l,e as u,f as A}from"./math-intrinsics.pM-JTNwN.js";import{r as d}from"./gopd.BudZp56J.js";import{r as m}from"./es-define-property.F0aoeP8o.js";import{r as P}from"./has-symbols.BcO-SUVM.js";import{r as g,a as h,b as S}from"./get-proto.Cb_fpw-j.js";import{a as b,b as I}from"./call-bind-apply-helpers.DJjIjCF_.js";import{r as F}from"./function-bind.DrnB-baK.js";import{r as E}from"./hasown.BXcyoiLU.js";var U,v;function w(){if(v)return U;var w;v=1;var R=r(),j=p(),B=y(),M=a(),x=n(),O=e(),_=t(),G=o(),k=A(),N=u(),W=l(),D=c(),C=f(),T=s(),J=i(),V=Function,q=function(r){try{return V('"use strict"; return ('+r+").constructor;")()}catch(t){}},z=d(),$=m(),H=function(){throw new _},K=z?function(){try{return H}catch(r){try{return z(arguments,"callee").get}catch(t){return H}}}():H,L=P()(),Q=g(),X=h(),Y=S(),Z=I(),rr=b(),tr={},er="undefined"!=typeof Uint8Array&&Q?Q(Uint8Array):w,or={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?w:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?w:ArrayBuffer,"%ArrayIteratorPrototype%":L&&Q?Q([][Symbol.iterator]()):w,"%AsyncFromSyncIteratorPrototype%":w,"%AsyncFunction%":tr,"%AsyncGenerator%":tr,"%AsyncGeneratorFunction%":tr,"%AsyncIteratorPrototype%":tr,"%Atomics%":"undefined"==typeof Atomics?w:Atomics,"%BigInt%":"undefined"==typeof BigInt?w:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?w:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?w:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?w:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":j,"%eval%":eval, // eslint-disable-line no-eval "%EvalError%":B,"%Float16Array%":"undefined"==typeof Float16Array?w:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?w:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?w:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?w:FinalizationRegistry,"%Function%":V,"%GeneratorFunction%":tr,"%Int8Array%":"undefined"==typeof Int8Array?w:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?w:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?w:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":L&&Q?Q(Q([][Symbol.iterator]())):w,"%JSON%":"object"==typeof JSON?JSON:w,"%Map%":"undefined"==typeof Map?w:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&L&&Q?Q((new Map)[Symbol.iterator]()):w,"%Math%":Math,"%Number%":Number,"%Object%":R,"%Object.getOwnPropertyDescriptor%":z,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?w:Promise,"%Proxy%":"undefined"==typeof Proxy?w:Proxy,"%RangeError%":M,"%ReferenceError%":x,"%Reflect%":"undefined"==typeof Reflect?w:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?w:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&L&&Q?Q((new Set)[Symbol.iterator]()):w,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?w:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":L&&Q?Q(""[Symbol.iterator]()):w,"%Symbol%":L?Symbol:w,"%SyntaxError%":O,"%ThrowTypeError%":K,"%TypedArray%":er,"%TypeError%":_,"%Uint8Array%":"undefined"==typeof Uint8Array?w:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?w:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?w:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?w:Uint32Array,"%URIError%":G,"%WeakMap%":"undefined"==typeof WeakMap?w:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?w:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?w:WeakSet,"%Function.prototype.call%":rr,"%Function.prototype.apply%":Z,"%Object.defineProperty%":$,"%Object.getPrototypeOf%":X,"%Math.abs%":k,"%Math.floor%":N,"%Math.max%":W,"%Math.min%":D,"%Math.pow%":C,"%Math.round%":T,"%Math.sign%":J,"%Reflect.getPrototypeOf%":Y};if(Q)try{null.error}catch(Pr){var nr=Q(Q(Pr));or["%Error.prototype%"]=nr}var ar=function r(t){var e;if("%AsyncFunction%"===t)e=q("async function () {}");else if("%GeneratorFunction%"===t)e=q("function* () {}");else if("%AsyncGeneratorFunction%"===t)e=q("async function* () {}");else if("%AsyncGenerator%"===t){var o=r("%AsyncGeneratorFunction%");o&&(e=o.prototype)}else if("%AsyncIteratorPrototype%"===t){var n=r("%AsyncGenerator%");n&&Q&&(e=Q(n.prototype))}return or[t]=e,e},yr={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},pr=F(),ir=E(),sr=pr.call(rr,Array.prototype.concat),fr=pr.call(Z,Array.prototype.splice),cr=pr.call(rr,String.prototype.replace),lr=pr.call(rr,String.prototype.slice),ur=pr.call(rr,RegExp.prototype.exec),Ar=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,dr=/\\(\\)?/g,mr=function(r,t){var e,o=r;if(ir(yr,o)&&(o="%"+(e=yr[o])[0]+"%"),ir(or,o)){var n=or[o];if(n===tr&&(n=ar(o)),void 0===n&&!t)throw new _("intrinsic "+r+" exists, but is not available. Please file an issue!");return{alias:e,name:o,value:n}}throw new O("intrinsic "+r+" does not exist!")};return U=function(r,t){if("string"!=typeof r||0===r.length)throw new _("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new _('"allowMissing" argument must be a boolean');if(null===ur(/^%?[^%]*%?$/,r))throw new O("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var e=function(r){var t=lr(r,0,1),e=lr(r,-1);if("%"===t&&"%"!==e)throw new O("invalid intrinsic syntax, expected closing `%`");if("%"===e&&"%"!==t)throw new O("invalid intrinsic syntax, expected opening `%`");var o=[];return cr(r,Ar,function(r,t,e,n){o[o.length]=e?cr(n,dr,"$1"):t||r}),o}(r),o=e.length>0?e[0]:"",n=mr("%"+o+"%",t),a=n.name,y=n.value,p=!1,i=n.alias;i&&(o=i[0],fr(e,sr([0,1],i)));for(var s=1,f=!0;s=e.length){var A=z(y,c);y=(f=!!A)&&"get"in A&&!("originalValue"in A.get)?A.get:y[c]}else f=ir(y,c),y=y[c];f&&!p&&(or[a]=y)}}return y},U}export{w as r};