@smartbills/sdk 0.0.2-alpha.21 → 0.0.2-alpha.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/dist/@types/services/oauth/OAuthService.d.ts +1 -1
  2. package/dist/@types/services/prices/PriceService.d.ts +2 -2
  3. package/dist/@types/services/product-images/ProductImageService.d.ts +1 -1
  4. package/dist/@types/services/product-variants/ProductVariantService.d.ts +1 -1
  5. package/dist/@types/services/receipts/ReceiptCreateRequest.d.ts +1 -1
  6. package/dist/@types/services/reviews/ReviewService.d.ts +1 -1
  7. package/dist/cjs/_virtual/__polyfill-node.util.cjs +11 -0
  8. package/dist/cjs/_virtual/__polyfill-node.util.cjs.map +1 -0
  9. package/dist/cjs/_virtual/_commonjsHelpers.cjs +37 -0
  10. package/dist/cjs/_virtual/_commonjsHelpers.cjs.map +1 -0
  11. package/dist/cjs/_virtual/_polyfill-node._inherits.cjs +31 -0
  12. package/dist/cjs/_virtual/_polyfill-node._inherits.cjs.map +1 -0
  13. package/dist/cjs/_virtual/_polyfill-node.buffer.cjs +1985 -0
  14. package/dist/cjs/_virtual/_polyfill-node.buffer.cjs.map +1 -0
  15. package/dist/cjs/_virtual/_polyfill-node.global.cjs +10 -0
  16. package/dist/cjs/_virtual/_polyfill-node.global.cjs.map +1 -0
  17. package/dist/cjs/_virtual/_polyfill-node.process.cjs +253 -0
  18. package/dist/cjs/_virtual/_polyfill-node.process.cjs.map +1 -0
  19. package/dist/cjs/_virtual/_polyfill-node.util.cjs +707 -0
  20. package/dist/cjs/_virtual/_polyfill-node.util.cjs.map +1 -0
  21. package/dist/cjs/_virtual/index.cjs +6 -0
  22. package/dist/cjs/_virtual/index.cjs.map +1 -0
  23. package/dist/cjs/node_modules/call-bind/callBound.cjs +18 -0
  24. package/dist/cjs/node_modules/call-bind/callBound.cjs.map +1 -0
  25. package/dist/cjs/node_modules/call-bind/index.cjs +42 -0
  26. package/dist/cjs/node_modules/call-bind/index.cjs.map +1 -0
  27. package/dist/cjs/node_modules/define-data-property/index.cjs +56 -0
  28. package/dist/cjs/node_modules/define-data-property/index.cjs.map +1 -0
  29. package/dist/cjs/node_modules/es-define-property/index.cjs +29 -0
  30. package/dist/cjs/node_modules/es-define-property/index.cjs.map +1 -0
  31. package/dist/cjs/node_modules/es-errors/eval.cjs +7 -0
  32. package/dist/cjs/node_modules/es-errors/eval.cjs.map +1 -0
  33. package/dist/cjs/node_modules/es-errors/index.cjs +7 -0
  34. package/dist/cjs/node_modules/es-errors/index.cjs.map +1 -0
  35. package/dist/cjs/node_modules/es-errors/range.cjs +7 -0
  36. package/dist/cjs/node_modules/es-errors/range.cjs.map +1 -0
  37. package/dist/cjs/node_modules/es-errors/ref.cjs +7 -0
  38. package/dist/cjs/node_modules/es-errors/ref.cjs.map +1 -0
  39. package/dist/cjs/node_modules/es-errors/syntax.cjs +7 -0
  40. package/dist/cjs/node_modules/es-errors/syntax.cjs.map +1 -0
  41. package/dist/cjs/node_modules/es-errors/type.cjs +7 -0
  42. package/dist/cjs/node_modules/es-errors/type.cjs.map +1 -0
  43. package/dist/cjs/node_modules/es-errors/uri.cjs +7 -0
  44. package/dist/cjs/node_modules/es-errors/uri.cjs.map +1 -0
  45. package/dist/cjs/node_modules/function-bind/implementation.cjs +69 -0
  46. package/dist/cjs/node_modules/function-bind/implementation.cjs.map +1 -0
  47. package/dist/cjs/node_modules/function-bind/index.cjs +9 -0
  48. package/dist/cjs/node_modules/function-bind/index.cjs.map +1 -0
  49. package/dist/cjs/node_modules/get-intrinsic/index.cjs +340 -0
  50. package/dist/cjs/node_modules/get-intrinsic/index.cjs.map +1 -0
  51. package/dist/cjs/node_modules/gopd/index.cjs +18 -0
  52. package/dist/cjs/node_modules/gopd/index.cjs.map +1 -0
  53. package/dist/cjs/node_modules/has-property-descriptors/index.cjs +26 -0
  54. package/dist/cjs/node_modules/has-property-descriptors/index.cjs.map +1 -0
  55. package/dist/cjs/node_modules/has-proto/index.cjs +18 -0
  56. package/dist/cjs/node_modules/has-proto/index.cjs.map +1 -0
  57. package/dist/cjs/node_modules/has-symbols/index.cjs +24 -0
  58. package/dist/cjs/node_modules/has-symbols/index.cjs.map +1 -0
  59. package/dist/cjs/node_modules/has-symbols/shams.cjs +60 -0
  60. package/dist/cjs/node_modules/has-symbols/shams.cjs.map +1 -0
  61. package/dist/cjs/node_modules/hasown/index.cjs +13 -0
  62. package/dist/cjs/node_modules/hasown/index.cjs.map +1 -0
  63. package/dist/cjs/node_modules/object-inspect/index.cjs +522 -0
  64. package/dist/cjs/node_modules/object-inspect/index.cjs.map +1 -0
  65. package/dist/cjs/node_modules/object-inspect/util.inspect.cjs +8 -0
  66. package/dist/cjs/node_modules/object-inspect/util.inspect.cjs.map +1 -0
  67. package/dist/cjs/node_modules/qs/lib/formats.cjs +24 -0
  68. package/dist/cjs/node_modules/qs/lib/formats.cjs.map +1 -0
  69. package/dist/cjs/node_modules/qs/lib/index.cjs +21 -0
  70. package/dist/cjs/node_modules/qs/lib/index.cjs.map +1 -0
  71. package/dist/cjs/node_modules/qs/lib/parse.cjs +258 -0
  72. package/dist/cjs/node_modules/qs/lib/parse.cjs.map +1 -0
  73. package/dist/cjs/node_modules/qs/lib/stringify.cjs +250 -0
  74. package/dist/cjs/node_modules/qs/lib/stringify.cjs.map +1 -0
  75. package/dist/cjs/node_modules/qs/lib/utils.cjs +229 -0
  76. package/dist/cjs/node_modules/qs/lib/utils.cjs.map +1 -0
  77. package/dist/cjs/node_modules/set-function-length/index.cjs +47 -0
  78. package/dist/cjs/node_modules/set-function-length/index.cjs.map +1 -0
  79. package/dist/cjs/node_modules/side-channel/index.cjs +145 -0
  80. package/dist/cjs/node_modules/side-channel/index.cjs.map +1 -0
  81. package/dist/cjs/packages/sdk/package.json.cjs +1 -1
  82. package/dist/cjs/services/oauth/OAuthService.cjs +20 -10
  83. package/dist/cjs/services/oauth/OAuthService.cjs.map +1 -1
  84. package/dist/esm/_virtual/__polyfill-node.util.mjs +7 -0
  85. package/dist/esm/_virtual/__polyfill-node.util.mjs.map +1 -0
  86. package/dist/esm/_virtual/_commonjsHelpers.mjs +33 -0
  87. package/dist/esm/_virtual/_commonjsHelpers.mjs.map +1 -0
  88. package/dist/esm/_virtual/_polyfill-node._inherits.mjs +27 -0
  89. package/dist/esm/_virtual/_polyfill-node._inherits.mjs.map +1 -0
  90. package/dist/esm/_virtual/_polyfill-node.buffer.mjs +1981 -0
  91. package/dist/esm/_virtual/_polyfill-node.buffer.mjs.map +1 -0
  92. package/dist/esm/_virtual/_polyfill-node.global.mjs +6 -0
  93. package/dist/esm/_virtual/_polyfill-node.global.mjs.map +1 -0
  94. package/dist/esm/_virtual/_polyfill-node.process.mjs +226 -0
  95. package/dist/esm/_virtual/_polyfill-node.process.mjs.map +1 -0
  96. package/dist/esm/_virtual/_polyfill-node.util.mjs +679 -0
  97. package/dist/esm/_virtual/_polyfill-node.util.mjs.map +1 -0
  98. package/dist/esm/_virtual/index.mjs +4 -0
  99. package/dist/esm/_virtual/index.mjs.map +1 -0
  100. package/dist/esm/node_modules/call-bind/callBound.mjs +16 -0
  101. package/dist/esm/node_modules/call-bind/callBound.mjs.map +1 -0
  102. package/dist/esm/node_modules/call-bind/index.mjs +40 -0
  103. package/dist/esm/node_modules/call-bind/index.mjs.map +1 -0
  104. package/dist/esm/node_modules/define-data-property/index.mjs +54 -0
  105. package/dist/esm/node_modules/define-data-property/index.mjs.map +1 -0
  106. package/dist/esm/node_modules/es-define-property/index.mjs +27 -0
  107. package/dist/esm/node_modules/es-define-property/index.mjs.map +1 -0
  108. package/dist/esm/node_modules/es-errors/eval.mjs +5 -0
  109. package/dist/esm/node_modules/es-errors/eval.mjs.map +1 -0
  110. package/dist/esm/node_modules/es-errors/index.mjs +5 -0
  111. package/dist/esm/node_modules/es-errors/index.mjs.map +1 -0
  112. package/dist/esm/node_modules/es-errors/range.mjs +5 -0
  113. package/dist/esm/node_modules/es-errors/range.mjs.map +1 -0
  114. package/dist/esm/node_modules/es-errors/ref.mjs +5 -0
  115. package/dist/esm/node_modules/es-errors/ref.mjs.map +1 -0
  116. package/dist/esm/node_modules/es-errors/syntax.mjs +5 -0
  117. package/dist/esm/node_modules/es-errors/syntax.mjs.map +1 -0
  118. package/dist/esm/node_modules/es-errors/type.mjs +5 -0
  119. package/dist/esm/node_modules/es-errors/type.mjs.map +1 -0
  120. package/dist/esm/node_modules/es-errors/uri.mjs +5 -0
  121. package/dist/esm/node_modules/es-errors/uri.mjs.map +1 -0
  122. package/dist/esm/node_modules/function-bind/implementation.mjs +67 -0
  123. package/dist/esm/node_modules/function-bind/implementation.mjs.map +1 -0
  124. package/dist/esm/node_modules/function-bind/index.mjs +7 -0
  125. package/dist/esm/node_modules/function-bind/index.mjs.map +1 -0
  126. package/dist/esm/node_modules/get-intrinsic/index.mjs +338 -0
  127. package/dist/esm/node_modules/get-intrinsic/index.mjs.map +1 -0
  128. package/dist/esm/node_modules/gopd/index.mjs +16 -0
  129. package/dist/esm/node_modules/gopd/index.mjs.map +1 -0
  130. package/dist/esm/node_modules/has-property-descriptors/index.mjs +24 -0
  131. package/dist/esm/node_modules/has-property-descriptors/index.mjs.map +1 -0
  132. package/dist/esm/node_modules/has-proto/index.mjs +16 -0
  133. package/dist/esm/node_modules/has-proto/index.mjs.map +1 -0
  134. package/dist/esm/node_modules/has-symbols/index.mjs +22 -0
  135. package/dist/esm/node_modules/has-symbols/index.mjs.map +1 -0
  136. package/dist/esm/node_modules/has-symbols/shams.mjs +58 -0
  137. package/dist/esm/node_modules/has-symbols/shams.mjs.map +1 -0
  138. package/dist/esm/node_modules/hasown/index.mjs +11 -0
  139. package/dist/esm/node_modules/hasown/index.mjs.map +1 -0
  140. package/dist/esm/node_modules/object-inspect/index.mjs +520 -0
  141. package/dist/esm/node_modules/object-inspect/index.mjs.map +1 -0
  142. package/dist/esm/node_modules/object-inspect/util.inspect.mjs +6 -0
  143. package/dist/esm/node_modules/object-inspect/util.inspect.mjs.map +1 -0
  144. package/dist/esm/node_modules/qs/lib/formats.mjs +22 -0
  145. package/dist/esm/node_modules/qs/lib/formats.mjs.map +1 -0
  146. package/dist/esm/node_modules/qs/lib/index.mjs +17 -0
  147. package/dist/esm/node_modules/qs/lib/index.mjs.map +1 -0
  148. package/dist/esm/node_modules/qs/lib/parse.mjs +256 -0
  149. package/dist/esm/node_modules/qs/lib/parse.mjs.map +1 -0
  150. package/dist/esm/node_modules/qs/lib/stringify.mjs +248 -0
  151. package/dist/esm/node_modules/qs/lib/stringify.mjs.map +1 -0
  152. package/dist/esm/node_modules/qs/lib/utils.mjs +227 -0
  153. package/dist/esm/node_modules/qs/lib/utils.mjs.map +1 -0
  154. package/dist/esm/node_modules/set-function-length/index.mjs +45 -0
  155. package/dist/esm/node_modules/set-function-length/index.mjs.map +1 -0
  156. package/dist/esm/node_modules/side-channel/index.mjs +143 -0
  157. package/dist/esm/node_modules/side-channel/index.mjs.map +1 -0
  158. package/dist/esm/packages/sdk/package.json.mjs +1 -1
  159. package/dist/esm/services/oauth/OAuthService.mjs +20 -10
  160. package/dist/esm/services/oauth/OAuthService.mjs.map +1 -1
  161. package/dist/umd/index.js +5072 -13
  162. package/dist/umd/index.js.map +1 -1
  163. package/package.json +2 -2
@@ -0,0 +1,338 @@
1
+ import { e as esErrors } from '../es-errors/index.mjs';
2
+ import { _ as _eval } from '../es-errors/eval.mjs';
3
+ import { r as range } from '../es-errors/range.mjs';
4
+ import { r as ref } from '../es-errors/ref.mjs';
5
+ import { s as syntax } from '../es-errors/syntax.mjs';
6
+ import { t as type } from '../es-errors/type.mjs';
7
+ import { u as uri } from '../es-errors/uri.mjs';
8
+ import { h as hasSymbols$1 } from '../has-symbols/index.mjs';
9
+ import { h as hasProto$1 } from '../has-proto/index.mjs';
10
+ import { f as functionBind } from '../function-bind/index.mjs';
11
+ import { h as hasown } from '../hasown/index.mjs';
12
+
13
+ var undefined$1;
14
+ var $Error = esErrors;
15
+ var $EvalError = _eval;
16
+ var $RangeError = range;
17
+ var $ReferenceError = ref;
18
+ var $SyntaxError = syntax;
19
+ var $TypeError = type;
20
+ var $URIError = uri;
21
+ var $Function = Function;
22
+
23
+ // eslint-disable-next-line consistent-return
24
+ var getEvalledConstructor = function (expressionSyntax) {
25
+ try {
26
+ return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
27
+ } catch (e) {}
28
+ };
29
+ var $gOPD = Object.getOwnPropertyDescriptor;
30
+ if ($gOPD) {
31
+ try {
32
+ $gOPD({}, '');
33
+ } catch (e) {
34
+ $gOPD = null; // this is IE 8, which has a broken gOPD
35
+ }
36
+ }
37
+ var throwTypeError = function () {
38
+ throw new $TypeError();
39
+ };
40
+ var ThrowTypeError = $gOPD ? function () {
41
+ try {
42
+ // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
43
+ arguments.callee; // IE 8 does not throw here
44
+ return throwTypeError;
45
+ } catch (calleeThrows) {
46
+ try {
47
+ // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
48
+ return $gOPD(arguments, 'callee').get;
49
+ } catch (gOPDthrows) {
50
+ return throwTypeError;
51
+ }
52
+ }
53
+ }() : throwTypeError;
54
+ var hasSymbols = hasSymbols$1();
55
+ var hasProto = hasProto$1();
56
+ var getProto = Object.getPrototypeOf || (hasProto ? function (x) {
57
+ return x.__proto__;
58
+ } // eslint-disable-line no-proto
59
+ : null);
60
+ var needsEval = {};
61
+ var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined$1 : getProto(Uint8Array);
62
+ var INTRINSICS = {
63
+ __proto__: null,
64
+ '%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,
65
+ '%Array%': Array,
66
+ '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,
67
+ '%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined$1,
68
+ '%AsyncFromSyncIteratorPrototype%': undefined$1,
69
+ '%AsyncFunction%': needsEval,
70
+ '%AsyncGenerator%': needsEval,
71
+ '%AsyncGeneratorFunction%': needsEval,
72
+ '%AsyncIteratorPrototype%': needsEval,
73
+ '%Atomics%': typeof Atomics === 'undefined' ? undefined$1 : Atomics,
74
+ '%BigInt%': typeof BigInt === 'undefined' ? undefined$1 : BigInt,
75
+ '%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined$1 : BigInt64Array,
76
+ '%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined$1 : BigUint64Array,
77
+ '%Boolean%': Boolean,
78
+ '%DataView%': typeof DataView === 'undefined' ? undefined$1 : DataView,
79
+ '%Date%': Date,
80
+ '%decodeURI%': decodeURI,
81
+ '%decodeURIComponent%': decodeURIComponent,
82
+ '%encodeURI%': encodeURI,
83
+ '%encodeURIComponent%': encodeURIComponent,
84
+ '%Error%': $Error,
85
+ '%eval%': eval,
86
+ // eslint-disable-line no-eval
87
+ '%EvalError%': $EvalError,
88
+ '%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array,
89
+ '%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array,
90
+ '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry,
91
+ '%Function%': $Function,
92
+ '%GeneratorFunction%': needsEval,
93
+ '%Int8Array%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array,
94
+ '%Int16Array%': typeof Int16Array === 'undefined' ? undefined$1 : Int16Array,
95
+ '%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,
96
+ '%isFinite%': isFinite,
97
+ '%isNaN%': isNaN,
98
+ '%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
99
+ '%JSON%': typeof JSON === 'object' ? JSON : undefined$1,
100
+ '%Map%': typeof Map === 'undefined' ? undefined$1 : Map,
101
+ '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined$1 : getProto(new Map()[Symbol.iterator]()),
102
+ '%Math%': Math,
103
+ '%Number%': Number,
104
+ '%Object%': Object,
105
+ '%parseFloat%': parseFloat,
106
+ '%parseInt%': parseInt,
107
+ '%Promise%': typeof Promise === 'undefined' ? undefined$1 : Promise,
108
+ '%Proxy%': typeof Proxy === 'undefined' ? undefined$1 : Proxy,
109
+ '%RangeError%': $RangeError,
110
+ '%ReferenceError%': $ReferenceError,
111
+ '%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,
112
+ '%RegExp%': RegExp,
113
+ '%Set%': typeof Set === 'undefined' ? undefined$1 : Set,
114
+ '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined$1 : getProto(new Set()[Symbol.iterator]()),
115
+ '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,
116
+ '%String%': String,
117
+ '%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined$1,
118
+ '%Symbol%': hasSymbols ? Symbol : undefined$1,
119
+ '%SyntaxError%': $SyntaxError,
120
+ '%ThrowTypeError%': ThrowTypeError,
121
+ '%TypedArray%': TypedArray,
122
+ '%TypeError%': $TypeError,
123
+ '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array,
124
+ '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray,
125
+ '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array,
126
+ '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array,
127
+ '%URIError%': $URIError,
128
+ '%WeakMap%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap,
129
+ '%WeakRef%': typeof WeakRef === 'undefined' ? undefined$1 : WeakRef,
130
+ '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet
131
+ };
132
+ if (getProto) {
133
+ try {
134
+ null.error; // eslint-disable-line no-unused-expressions
135
+ } catch (e) {
136
+ // https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229
137
+ var errorProto = getProto(getProto(e));
138
+ INTRINSICS['%Error.prototype%'] = errorProto;
139
+ }
140
+ }
141
+ var doEval = function doEval(name) {
142
+ var value;
143
+ if (name === '%AsyncFunction%') {
144
+ value = getEvalledConstructor('async function () {}');
145
+ } else if (name === '%GeneratorFunction%') {
146
+ value = getEvalledConstructor('function* () {}');
147
+ } else if (name === '%AsyncGeneratorFunction%') {
148
+ value = getEvalledConstructor('async function* () {}');
149
+ } else if (name === '%AsyncGenerator%') {
150
+ var fn = doEval('%AsyncGeneratorFunction%');
151
+ if (fn) {
152
+ value = fn.prototype;
153
+ }
154
+ } else if (name === '%AsyncIteratorPrototype%') {
155
+ var gen = doEval('%AsyncGenerator%');
156
+ if (gen && getProto) {
157
+ value = getProto(gen.prototype);
158
+ }
159
+ }
160
+ INTRINSICS[name] = value;
161
+ return value;
162
+ };
163
+ var LEGACY_ALIASES = {
164
+ __proto__: null,
165
+ '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
166
+ '%ArrayPrototype%': ['Array', 'prototype'],
167
+ '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
168
+ '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
169
+ '%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
170
+ '%ArrayProto_values%': ['Array', 'prototype', 'values'],
171
+ '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
172
+ '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
173
+ '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
174
+ '%BooleanPrototype%': ['Boolean', 'prototype'],
175
+ '%DataViewPrototype%': ['DataView', 'prototype'],
176
+ '%DatePrototype%': ['Date', 'prototype'],
177
+ '%ErrorPrototype%': ['Error', 'prototype'],
178
+ '%EvalErrorPrototype%': ['EvalError', 'prototype'],
179
+ '%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
180
+ '%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
181
+ '%FunctionPrototype%': ['Function', 'prototype'],
182
+ '%Generator%': ['GeneratorFunction', 'prototype'],
183
+ '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
184
+ '%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
185
+ '%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
186
+ '%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
187
+ '%JSONParse%': ['JSON', 'parse'],
188
+ '%JSONStringify%': ['JSON', 'stringify'],
189
+ '%MapPrototype%': ['Map', 'prototype'],
190
+ '%NumberPrototype%': ['Number', 'prototype'],
191
+ '%ObjectPrototype%': ['Object', 'prototype'],
192
+ '%ObjProto_toString%': ['Object', 'prototype', 'toString'],
193
+ '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
194
+ '%PromisePrototype%': ['Promise', 'prototype'],
195
+ '%PromiseProto_then%': ['Promise', 'prototype', 'then'],
196
+ '%Promise_all%': ['Promise', 'all'],
197
+ '%Promise_reject%': ['Promise', 'reject'],
198
+ '%Promise_resolve%': ['Promise', 'resolve'],
199
+ '%RangeErrorPrototype%': ['RangeError', 'prototype'],
200
+ '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
201
+ '%RegExpPrototype%': ['RegExp', 'prototype'],
202
+ '%SetPrototype%': ['Set', 'prototype'],
203
+ '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
204
+ '%StringPrototype%': ['String', 'prototype'],
205
+ '%SymbolPrototype%': ['Symbol', 'prototype'],
206
+ '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
207
+ '%TypedArrayPrototype%': ['TypedArray', 'prototype'],
208
+ '%TypeErrorPrototype%': ['TypeError', 'prototype'],
209
+ '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
210
+ '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
211
+ '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
212
+ '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
213
+ '%URIErrorPrototype%': ['URIError', 'prototype'],
214
+ '%WeakMapPrototype%': ['WeakMap', 'prototype'],
215
+ '%WeakSetPrototype%': ['WeakSet', 'prototype']
216
+ };
217
+ var bind = functionBind;
218
+ var hasOwn = hasown;
219
+ var $concat = bind.call(Function.call, Array.prototype.concat);
220
+ var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
221
+ var $replace = bind.call(Function.call, String.prototype.replace);
222
+ var $strSlice = bind.call(Function.call, String.prototype.slice);
223
+ var $exec = bind.call(Function.call, RegExp.prototype.exec);
224
+
225
+ /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
226
+ var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
227
+ var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
228
+ var stringToPath = function stringToPath(string) {
229
+ var first = $strSlice(string, 0, 1);
230
+ var last = $strSlice(string, -1);
231
+ if (first === '%' && last !== '%') {
232
+ throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
233
+ } else if (last === '%' && first !== '%') {
234
+ throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
235
+ }
236
+ var result = [];
237
+ $replace(string, rePropName, function (match, number, quote, subString) {
238
+ result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
239
+ });
240
+ return result;
241
+ };
242
+ /* end adaptation */
243
+
244
+ var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
245
+ var intrinsicName = name;
246
+ var alias;
247
+ if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
248
+ alias = LEGACY_ALIASES[intrinsicName];
249
+ intrinsicName = '%' + alias[0] + '%';
250
+ }
251
+ if (hasOwn(INTRINSICS, intrinsicName)) {
252
+ var value = INTRINSICS[intrinsicName];
253
+ if (value === needsEval) {
254
+ value = doEval(intrinsicName);
255
+ }
256
+ if (typeof value === 'undefined' && !allowMissing) {
257
+ throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
258
+ }
259
+ return {
260
+ alias: alias,
261
+ name: intrinsicName,
262
+ value: value
263
+ };
264
+ }
265
+ throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
266
+ };
267
+ var getIntrinsic = function GetIntrinsic(name, allowMissing) {
268
+ if (typeof name !== 'string' || name.length === 0) {
269
+ throw new $TypeError('intrinsic name must be a non-empty string');
270
+ }
271
+ if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
272
+ throw new $TypeError('"allowMissing" argument must be a boolean');
273
+ }
274
+ if ($exec(/^%?[^%]*%?$/, name) === null) {
275
+ throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');
276
+ }
277
+ var parts = stringToPath(name);
278
+ var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
279
+ var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
280
+ var intrinsicRealName = intrinsic.name;
281
+ var value = intrinsic.value;
282
+ var skipFurtherCaching = false;
283
+ var alias = intrinsic.alias;
284
+ if (alias) {
285
+ intrinsicBaseName = alias[0];
286
+ $spliceApply(parts, $concat([0, 1], alias));
287
+ }
288
+ for (var i = 1, isOwn = true; i < parts.length; i += 1) {
289
+ var part = parts[i];
290
+ var first = $strSlice(part, 0, 1);
291
+ var last = $strSlice(part, -1);
292
+ if ((first === '"' || first === "'" || first === '`' || last === '"' || last === "'" || last === '`') && first !== last) {
293
+ throw new $SyntaxError('property names with quotes must have matching quotes');
294
+ }
295
+ if (part === 'constructor' || !isOwn) {
296
+ skipFurtherCaching = true;
297
+ }
298
+ intrinsicBaseName += '.' + part;
299
+ intrinsicRealName = '%' + intrinsicBaseName + '%';
300
+ if (hasOwn(INTRINSICS, intrinsicRealName)) {
301
+ value = INTRINSICS[intrinsicRealName];
302
+ } else if (value != null) {
303
+ if (!(part in value)) {
304
+ if (!allowMissing) {
305
+ throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
306
+ }
307
+ return void undefined$1;
308
+ }
309
+ if ($gOPD && i + 1 >= parts.length) {
310
+ var desc = $gOPD(value, part);
311
+ isOwn = !!desc;
312
+
313
+ // By convention, when a data property is converted to an accessor
314
+ // property to emulate a data property that does not suffer from
315
+ // the override mistake, that accessor's getter is marked with
316
+ // an `originalValue` property. Here, when we detect this, we
317
+ // uphold the illusion by pretending to see that original data
318
+ // property, i.e., returning the value rather than the getter
319
+ // itself.
320
+ if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
321
+ value = desc.get;
322
+ } else {
323
+ value = value[part];
324
+ }
325
+ } else {
326
+ isOwn = hasOwn(value, part);
327
+ value = value[part];
328
+ }
329
+ if (isOwn && !skipFurtherCaching) {
330
+ INTRINSICS[intrinsicRealName] = value;
331
+ }
332
+ }
333
+ }
334
+ return value;
335
+ };
336
+
337
+ export { getIntrinsic as g };
338
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../../node_modules/get-intrinsic/index.js"],"sourcesContent":["'use strict';\n\nvar undefined;\n\nvar $Error = require('es-errors');\nvar $EvalError = require('es-errors/eval');\nvar $RangeError = require('es-errors/range');\nvar $ReferenceError = require('es-errors/ref');\nvar $SyntaxError = require('es-errors/syntax');\nvar $TypeError = require('es-errors/type');\nvar $URIError = require('es-errors/uri');\n\nvar $Function = Function;\n\n// eslint-disable-next-line consistent-return\nvar getEvalledConstructor = function (expressionSyntax) {\n\ttry {\n\t\treturn $Function('\"use strict\"; return (' + expressionSyntax + ').constructor;')();\n\t} catch (e) {}\n};\n\nvar $gOPD = Object.getOwnPropertyDescriptor;\nif ($gOPD) {\n\ttry {\n\t\t$gOPD({}, '');\n\t} catch (e) {\n\t\t$gOPD = null; // this is IE 8, which has a broken gOPD\n\t}\n}\n\nvar throwTypeError = function () {\n\tthrow new $TypeError();\n};\nvar ThrowTypeError = $gOPD\n\t? (function () {\n\t\ttry {\n\t\t\t// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n\t\t\targuments.callee; // IE 8 does not throw here\n\t\t\treturn throwTypeError;\n\t\t} catch (calleeThrows) {\n\t\t\ttry {\n\t\t\t\t// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n\t\t\t\treturn $gOPD(arguments, 'callee').get;\n\t\t\t} catch (gOPDthrows) {\n\t\t\t\treturn throwTypeError;\n\t\t\t}\n\t\t}\n\t}())\n\t: throwTypeError;\n\nvar hasSymbols = require('has-symbols')();\nvar hasProto = require('has-proto')();\n\nvar getProto = Object.getPrototypeOf || (\n\thasProto\n\t\t? function (x) { return x.__proto__; } // eslint-disable-line no-proto\n\t\t: null\n);\n\nvar needsEval = {};\n\nvar TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);\n\nvar INTRINSICS = {\n\t__proto__: null,\n\t'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,\n\t'%Array%': Array,\n\t'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,\n\t'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,\n\t'%AsyncFromSyncIteratorPrototype%': undefined,\n\t'%AsyncFunction%': needsEval,\n\t'%AsyncGenerator%': needsEval,\n\t'%AsyncGeneratorFunction%': needsEval,\n\t'%AsyncIteratorPrototype%': needsEval,\n\t'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,\n\t'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,\n\t'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,\n\t'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,\n\t'%Boolean%': Boolean,\n\t'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,\n\t'%Date%': Date,\n\t'%decodeURI%': decodeURI,\n\t'%decodeURIComponent%': decodeURIComponent,\n\t'%encodeURI%': encodeURI,\n\t'%encodeURIComponent%': encodeURIComponent,\n\t'%Error%': $Error,\n\t'%eval%': eval, // eslint-disable-line no-eval\n\t'%EvalError%': $EvalError,\n\t'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,\n\t'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,\n\t'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,\n\t'%Function%': $Function,\n\t'%GeneratorFunction%': needsEval,\n\t'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,\n\t'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,\n\t'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,\n\t'%isFinite%': isFinite,\n\t'%isNaN%': isNaN,\n\t'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,\n\t'%JSON%': typeof JSON === 'object' ? JSON : undefined,\n\t'%Map%': typeof Map === 'undefined' ? undefined : Map,\n\t'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),\n\t'%Math%': Math,\n\t'%Number%': Number,\n\t'%Object%': Object,\n\t'%parseFloat%': parseFloat,\n\t'%parseInt%': parseInt,\n\t'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,\n\t'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,\n\t'%RangeError%': $RangeError,\n\t'%ReferenceError%': $ReferenceError,\n\t'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,\n\t'%RegExp%': RegExp,\n\t'%Set%': typeof Set === 'undefined' ? undefined : Set,\n\t'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),\n\t'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,\n\t'%String%': String,\n\t'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,\n\t'%Symbol%': hasSymbols ? Symbol : undefined,\n\t'%SyntaxError%': $SyntaxError,\n\t'%ThrowTypeError%': ThrowTypeError,\n\t'%TypedArray%': TypedArray,\n\t'%TypeError%': $TypeError,\n\t'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,\n\t'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,\n\t'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,\n\t'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,\n\t'%URIError%': $URIError,\n\t'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,\n\t'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,\n\t'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet\n};\n\nif (getProto) {\n\ttry {\n\t\tnull.error; // eslint-disable-line no-unused-expressions\n\t} catch (e) {\n\t\t// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229\n\t\tvar errorProto = getProto(getProto(e));\n\t\tINTRINSICS['%Error.prototype%'] = errorProto;\n\t}\n}\n\nvar doEval = function doEval(name) {\n\tvar value;\n\tif (name === '%AsyncFunction%') {\n\t\tvalue = getEvalledConstructor('async function () {}');\n\t} else if (name === '%GeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('function* () {}');\n\t} else if (name === '%AsyncGeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('async function* () {}');\n\t} else if (name === '%AsyncGenerator%') {\n\t\tvar fn = doEval('%AsyncGeneratorFunction%');\n\t\tif (fn) {\n\t\t\tvalue = fn.prototype;\n\t\t}\n\t} else if (name === '%AsyncIteratorPrototype%') {\n\t\tvar gen = doEval('%AsyncGenerator%');\n\t\tif (gen && getProto) {\n\t\t\tvalue = getProto(gen.prototype);\n\t\t}\n\t}\n\n\tINTRINSICS[name] = value;\n\n\treturn value;\n};\n\nvar LEGACY_ALIASES = {\n\t__proto__: null,\n\t'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],\n\t'%ArrayPrototype%': ['Array', 'prototype'],\n\t'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],\n\t'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],\n\t'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],\n\t'%ArrayProto_values%': ['Array', 'prototype', 'values'],\n\t'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],\n\t'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],\n\t'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],\n\t'%BooleanPrototype%': ['Boolean', 'prototype'],\n\t'%DataViewPrototype%': ['DataView', 'prototype'],\n\t'%DatePrototype%': ['Date', 'prototype'],\n\t'%ErrorPrototype%': ['Error', 'prototype'],\n\t'%EvalErrorPrototype%': ['EvalError', 'prototype'],\n\t'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],\n\t'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],\n\t'%FunctionPrototype%': ['Function', 'prototype'],\n\t'%Generator%': ['GeneratorFunction', 'prototype'],\n\t'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],\n\t'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],\n\t'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],\n\t'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],\n\t'%JSONParse%': ['JSON', 'parse'],\n\t'%JSONStringify%': ['JSON', 'stringify'],\n\t'%MapPrototype%': ['Map', 'prototype'],\n\t'%NumberPrototype%': ['Number', 'prototype'],\n\t'%ObjectPrototype%': ['Object', 'prototype'],\n\t'%ObjProto_toString%': ['Object', 'prototype', 'toString'],\n\t'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],\n\t'%PromisePrototype%': ['Promise', 'prototype'],\n\t'%PromiseProto_then%': ['Promise', 'prototype', 'then'],\n\t'%Promise_all%': ['Promise', 'all'],\n\t'%Promise_reject%': ['Promise', 'reject'],\n\t'%Promise_resolve%': ['Promise', 'resolve'],\n\t'%RangeErrorPrototype%': ['RangeError', 'prototype'],\n\t'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],\n\t'%RegExpPrototype%': ['RegExp', 'prototype'],\n\t'%SetPrototype%': ['Set', 'prototype'],\n\t'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],\n\t'%StringPrototype%': ['String', 'prototype'],\n\t'%SymbolPrototype%': ['Symbol', 'prototype'],\n\t'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],\n\t'%TypedArrayPrototype%': ['TypedArray', 'prototype'],\n\t'%TypeErrorPrototype%': ['TypeError', 'prototype'],\n\t'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],\n\t'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],\n\t'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],\n\t'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],\n\t'%URIErrorPrototype%': ['URIError', 'prototype'],\n\t'%WeakMapPrototype%': ['WeakMap', 'prototype'],\n\t'%WeakSetPrototype%': ['WeakSet', 'prototype']\n};\n\nvar bind = require('function-bind');\nvar hasOwn = require('hasown');\nvar $concat = bind.call(Function.call, Array.prototype.concat);\nvar $spliceApply = bind.call(Function.apply, Array.prototype.splice);\nvar $replace = bind.call(Function.call, String.prototype.replace);\nvar $strSlice = bind.call(Function.call, String.prototype.slice);\nvar $exec = bind.call(Function.call, RegExp.prototype.exec);\n\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g; /** Used to match backslashes in property paths. */\nvar stringToPath = function stringToPath(string) {\n\tvar first = $strSlice(string, 0, 1);\n\tvar last = $strSlice(string, -1);\n\tif (first === '%' && last !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected closing `%`');\n\t} else if (last === '%' && first !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected opening `%`');\n\t}\n\tvar result = [];\n\t$replace(string, rePropName, function (match, number, quote, subString) {\n\t\tresult[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n\t});\n\treturn result;\n};\n/* end adaptation */\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n\tvar intrinsicName = name;\n\tvar alias;\n\tif (hasOwn(LEGACY_ALIASES, intrinsicName)) {\n\t\talias = LEGACY_ALIASES[intrinsicName];\n\t\tintrinsicName = '%' + alias[0] + '%';\n\t}\n\n\tif (hasOwn(INTRINSICS, intrinsicName)) {\n\t\tvar value = INTRINSICS[intrinsicName];\n\t\tif (value === needsEval) {\n\t\t\tvalue = doEval(intrinsicName);\n\t\t}\n\t\tif (typeof value === 'undefined' && !allowMissing) {\n\t\t\tthrow new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n\t\t}\n\n\t\treturn {\n\t\t\talias: alias,\n\t\t\tname: intrinsicName,\n\t\t\tvalue: value\n\t\t};\n\t}\n\n\tthrow new $SyntaxError('intrinsic ' + name + ' does not exist!');\n};\n\nmodule.exports = function GetIntrinsic(name, allowMissing) {\n\tif (typeof name !== 'string' || name.length === 0) {\n\t\tthrow new $TypeError('intrinsic name must be a non-empty string');\n\t}\n\tif (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n\t\tthrow new $TypeError('\"allowMissing\" argument must be a boolean');\n\t}\n\n\tif ($exec(/^%?[^%]*%?$/, name) === null) {\n\t\tthrow new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');\n\t}\n\tvar parts = stringToPath(name);\n\tvar intrinsicBaseName = parts.length > 0 ? parts[0] : '';\n\n\tvar intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);\n\tvar intrinsicRealName = intrinsic.name;\n\tvar value = intrinsic.value;\n\tvar skipFurtherCaching = false;\n\n\tvar alias = intrinsic.alias;\n\tif (alias) {\n\t\tintrinsicBaseName = alias[0];\n\t\t$spliceApply(parts, $concat([0, 1], alias));\n\t}\n\n\tfor (var i = 1, isOwn = true; i < parts.length; i += 1) {\n\t\tvar part = parts[i];\n\t\tvar first = $strSlice(part, 0, 1);\n\t\tvar last = $strSlice(part, -1);\n\t\tif (\n\t\t\t(\n\t\t\t\t(first === '\"' || first === \"'\" || first === '`')\n\t\t\t\t|| (last === '\"' || last === \"'\" || last === '`')\n\t\t\t)\n\t\t\t&& first !== last\n\t\t) {\n\t\t\tthrow new $SyntaxError('property names with quotes must have matching quotes');\n\t\t}\n\t\tif (part === 'constructor' || !isOwn) {\n\t\t\tskipFurtherCaching = true;\n\t\t}\n\n\t\tintrinsicBaseName += '.' + part;\n\t\tintrinsicRealName = '%' + intrinsicBaseName + '%';\n\n\t\tif (hasOwn(INTRINSICS, intrinsicRealName)) {\n\t\t\tvalue = INTRINSICS[intrinsicRealName];\n\t\t} else if (value != null) {\n\t\t\tif (!(part in value)) {\n\t\t\t\tif (!allowMissing) {\n\t\t\t\t\tthrow new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');\n\t\t\t\t}\n\t\t\t\treturn void undefined;\n\t\t\t}\n\t\t\tif ($gOPD && (i + 1) >= parts.length) {\n\t\t\t\tvar desc = $gOPD(value, part);\n\t\t\t\tisOwn = !!desc;\n\n\t\t\t\t// By convention, when a data property is converted to an accessor\n\t\t\t\t// property to emulate a data property that does not suffer from\n\t\t\t\t// the override mistake, that accessor's getter is marked with\n\t\t\t\t// an `originalValue` property. Here, when we detect this, we\n\t\t\t\t// uphold the illusion by pretending to see that original data\n\t\t\t\t// property, i.e., returning the value rather than the getter\n\t\t\t\t// itself.\n\t\t\t\tif (isOwn && 'get' in desc && !('originalValue' in desc.get)) {\n\t\t\t\t\tvalue = desc.get;\n\t\t\t\t} else {\n\t\t\t\t\tvalue = value[part];\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tisOwn = hasOwn(value, part);\n\t\t\t\tvalue = value[part];\n\t\t\t}\n\n\t\t\tif (isOwn && !skipFurtherCaching) {\n\t\t\t\tINTRINSICS[intrinsicRealName] = value;\n\t\t\t}\n\t\t}\n\t}\n\treturn value;\n};\n"],"names":["undefined","$Error","require$$0","$EvalError","require$$1","$RangeError","require$$2","$ReferenceError","require$$3","$SyntaxError","require$$4","$TypeError","require$$5","$URIError","require$$6","$Function","Function","getEvalledConstructor","expressionSyntax","e","$gOPD","Object","getOwnPropertyDescriptor","throwTypeError","ThrowTypeError","arguments","callee","calleeThrows","get","gOPDthrows","hasSymbols","require$$7","hasProto","require$$8","getProto","getPrototypeOf","x","__proto__","needsEval","TypedArray","Uint8Array","INTRINSICS","AggregateError","Array","ArrayBuffer","Symbol","iterator","Atomics","BigInt","BigInt64Array","BigUint64Array","Boolean","DataView","Date","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","eval","Float32Array","Float64Array","FinalizationRegistry","Int8Array","Int16Array","Int32Array","isFinite","isNaN","JSON","Map","Math","Number","parseFloat","parseInt","Promise","Proxy","Reflect","RegExp","Set","SharedArrayBuffer","String","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","WeakRef","WeakSet","error","errorProto","doEval","name","value","fn","prototype","gen","LEGACY_ALIASES","bind","require$$9","hasOwn","require$$10","$concat","call","concat","$spliceApply","apply","splice","$replace","replace","$strSlice","slice","$exec","exec","rePropName","reEscapeChar","stringToPath","string","first","last","result","match","number","quote","subString","length","getBaseIntrinsic","allowMissing","intrinsicName","alias","getIntrinsic","GetIntrinsic","parts","intrinsicBaseName","intrinsic","intrinsicRealName","skipFurtherCaching","i","isOwn","part","desc"],"mappings":";;;;;;;;;;;;AAEA,IAAIA,WAAS,CAAA;AAEb,IAAIC,MAAM,GAAGC,QAAoB,CAAA;AACjC,IAAIC,UAAU,GAAGC,KAAyB,CAAA;AAC1C,IAAIC,WAAW,GAAGC,KAA0B,CAAA;AAC5C,IAAIC,eAAe,GAAGC,GAAwB,CAAA;AAC9C,IAAIC,YAAY,GAAGC,MAA2B,CAAA;AAC9C,IAAIC,UAAU,GAAGC,IAAyB,CAAA;AAC1C,IAAIC,SAAS,GAAGC,GAAwB,CAAA;AAExC,IAAIC,SAAS,GAAGC,QAAQ,CAAA;;AAExB;AACA,IAAIC,qBAAqB,GAAG,UAAUC,gBAAgB,EAAE;EACvD,IAAI;IACH,OAAOH,SAAS,CAAC,wBAAwB,GAAGG,gBAAgB,GAAG,gBAAgB,CAAC,EAAE,CAAA;AACpF,GAAE,CAAC,OAAOC,CAAC,EAAE,EAAE;AACf,CAAC,CAAA;AAED,IAAIC,KAAK,GAAGC,MAAM,CAACC,wBAAwB,CAAA;AAC3C,IAAIF,KAAK,EAAE;EACV,IAAI;AACHA,IAAAA,KAAK,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;GACb,CAAC,OAAOD,CAAC,EAAE;IACXC,KAAK,GAAG,IAAI,CAAC;AACb,GAAA;AACF,CAAA;AAEA,IAAIG,cAAc,GAAG,YAAY;EAChC,MAAM,IAAIZ,UAAU,EAAE,CAAA;AACvB,CAAC,CAAA;AACD,IAAIa,cAAc,GAAGJ,KAAK,GACtB,YAAY;EACd,IAAI;AACN;IACGK,SAAS,CAACC,MAAM,CAAC;AACjB,IAAA,OAAOH,cAAc,CAAA;GACrB,CAAC,OAAOI,YAAY,EAAE;IACtB,IAAI;AACP;AACI,MAAA,OAAOP,KAAK,CAACK,SAAS,EAAE,QAAQ,CAAC,CAACG,GAAG,CAAA;KACrC,CAAC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CAACF,kBAAkB,EAAE;AACjC5F,QAAAA,UAAU,CAAC2F,iBAAiB,CAAC,GAAG1C,KAAK,CAAA;AACrC,OAAA;AACD,KAAA;AACD,GAAA;AACD,EAAA,OAAOA,KAAK,CAAA;AACb;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,16 @@
1
+ import { g as getIntrinsic } from '../get-intrinsic/index.mjs';
2
+
3
+ var GetIntrinsic = getIntrinsic;
4
+ var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);
5
+ if ($gOPD) {
6
+ try {
7
+ $gOPD([], 'length');
8
+ } catch (e) {
9
+ // IE 8 has a broken gOPD
10
+ $gOPD = null;
11
+ }
12
+ }
13
+ var gopd = $gOPD;
14
+
15
+ export { gopd as g };
16
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../../node_modules/gopd/index.js"],"sourcesContent":["'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);\n\nif ($gOPD) {\n\ttry {\n\t\t$gOPD([], 'length');\n\t} catch (e) {\n\t\t// IE 8 has a broken gOPD\n\t\t$gOPD = null;\n\t}\n}\n\nmodule.exports = $gOPD;\n"],"names":["GetIntrinsic","require$$0","$gOPD","e","gopd"],"mappings":";;AAEA,IAAIA,YAAY,GAAGC,YAAwB,CAAA;AAE3C,IAAIC,KAAK,GAAGF,YAAY,CAAC,mCAAmC,EAAE,IAAI,CAAC,CAAA;AAEnE,IAAIE,KAAK,EAAE;EACV,IAAI;AACHA,IAAAA,KAAK,CAAC,EAAE,EAAE,QAAQ,CAAC,CAAA;GACnB,CAAC,OAAOC,CAAC,EAAE;AACb;AACED,IAAAA,KAAK,GAAG,IAAI,CAAA;AACZ,GAAA;AACF,CAAA;AAEAE,IAAAA,IAAc,GAAGF;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,24 @@
1
+ import { __require as requireEsDefineProperty } from '../es-define-property/index.mjs';
2
+
3
+ var $defineProperty = requireEsDefineProperty();
4
+ var hasPropertyDescriptors = function hasPropertyDescriptors() {
5
+ return !!$defineProperty;
6
+ };
7
+ hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
8
+ // node v0.6 has a bug where array lengths can be Set but not Defined
9
+ if (!$defineProperty) {
10
+ return null;
11
+ }
12
+ try {
13
+ return $defineProperty([], 'length', {
14
+ value: 1
15
+ }).length !== 1;
16
+ } catch (e) {
17
+ // In Firefox 4-22, defining length on an array throws an exception.
18
+ return true;
19
+ }
20
+ };
21
+ var hasPropertyDescriptors_1 = hasPropertyDescriptors;
22
+
23
+ export { hasPropertyDescriptors_1 as h };
24
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../../node_modules/has-property-descriptors/index.js"],"sourcesContent":["'use strict';\n\nvar $defineProperty = require('es-define-property');\n\nvar hasPropertyDescriptors = function hasPropertyDescriptors() {\n\treturn !!$defineProperty;\n};\n\nhasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {\n\t// node v0.6 has a bug where array lengths can be Set but not Defined\n\tif (!$defineProperty) {\n\t\treturn null;\n\t}\n\ttry {\n\t\treturn $defineProperty([], 'length', { value: 1 }).length !== 1;\n\t} catch (e) {\n\t\t// In Firefox 4-22, defining length on an array throws an exception.\n\t\treturn true;\n\t}\n};\n\nmodule.exports = hasPropertyDescriptors;\n"],"names":["$defineProperty","require$$0","hasPropertyDescriptors","hasArrayLengthDefineBug","value","length","e","hasPropertyDescriptors_1"],"mappings":";;AAEA,IAAIA,eAAe,GAAGC,uBAAA,EAA6B,CAAA;AAEnD,IAAIC,sBAAsB,GAAG,SAASA,sBAAsBA,GAAG;EAC9D,OAAO,CAAC,CAACF,eAAe,CAAA;AACzB,CAAC,CAAA;AAEDE,sBAAsB,CAACC,uBAAuB,GAAG,SAASA,uBAAuBA,GAAG;AACpF;EACC,IAAI,CAACH,eAAe,EAAE;AACrB,IAAA,OAAO,IAAI,CAAA;AACX,GAAA;EACD,IAAI;AACH,IAAA,OAAOA,eAAe,CAAC,EAAE,EAAE,QAAQ,EAAE;AAAEI,MAAAA,KAAK,EAAE,CAAA;AAAG,KAAA,CAAC,CAACC,MAAM,KAAK,CAAC,CAAA;GAC/D,CAAC,OAAOC,CAAC,EAAE;AACb;AACE,IAAA,OAAO,IAAI,CAAA;AACX,GAAA;AACF,CAAC,CAAA;AAEDC,IAAAA,wBAAc,GAAGL;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,16 @@
1
+ var test = {
2
+ __proto__: null,
3
+ foo: {}
4
+ };
5
+ var $Object = Object;
6
+
7
+ /** @type {import('.')} */
8
+ var hasProto = function hasProto() {
9
+ // @ts-expect-error: TS errors on an inherited property for some reason
10
+ return {
11
+ __proto__: test
12
+ }.foo === test.foo && !(test instanceof $Object);
13
+ };
14
+
15
+ export { hasProto as h };
16
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../../node_modules/has-proto/index.js"],"sourcesContent":["'use strict';\n\nvar test = {\n\t__proto__: null,\n\tfoo: {}\n};\n\nvar $Object = Object;\n\n/** @type {import('.')} */\nmodule.exports = function hasProto() {\n\t// @ts-expect-error: TS errors on an inherited property for some reason\n\treturn { __proto__: test }.foo === test.foo\n\t\t&& !(test instanceof $Object);\n};\n"],"names":["test","__proto__","foo","$Object","Object","hasProto"],"mappings":"AAEA,IAAIA,IAAI,GAAG;AACVC,EAAAA,SAAS,EAAE,IAAI;AACfC,EAAAA,GAAG,EAAE,EAAE;AACR,CAAC,CAAA;AAED,IAAIC,OAAO,GAAGC,MAAM,CAAA;;AAEpB;IACAC,QAAc,GAAG,SAASA,QAAQA,GAAG;AACrC;EACC,OAAO;AAAEJ,IAAAA,SAAS,EAAED,IAAAA;GAAM,CAACE,GAAG,KAAKF,IAAI,CAACE,GAAG,IACvC,EAAEF,IAAI,YAAYG,OAAO,CAAC,CAAA;AAC/B;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,22 @@
1
+ import { s as shams } from './shams.mjs';
2
+
3
+ var origSymbol = typeof Symbol !== 'undefined' && Symbol;
4
+ var hasSymbolSham = shams;
5
+ var hasSymbols = function hasNativeSymbols() {
6
+ if (typeof origSymbol !== 'function') {
7
+ return false;
8
+ }
9
+ if (typeof Symbol !== 'function') {
10
+ return false;
11
+ }
12
+ if (typeof origSymbol('foo') !== 'symbol') {
13
+ return false;
14
+ }
15
+ if (typeof Symbol('bar') !== 'symbol') {
16
+ return false;
17
+ }
18
+ return hasSymbolSham();
19
+ };
20
+
21
+ export { hasSymbols as h };
22
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../../node_modules/has-symbols/index.js"],"sourcesContent":["'use strict';\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = require('./shams');\n\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n"],"names":["origSymbol","Symbol","hasSymbolSham","require$$0","hasSymbols","hasNativeSymbols"],"mappings":";;AAEA,IAAIA,UAAU,GAAG,OAAOC,MAAM,KAAK,WAAW,IAAIA,MAAM,CAAA;AACxD,IAAIC,aAAa,GAAGC,KAAkB,CAAA;IAEtCC,UAAc,GAAG,SAASC,gBAAgBA,GAAG;AAC5C,EAAA,IAAI,OAAOL,UAAU,KAAK,UAAU,EAAE;AAAE,IAAA,OAAO,KAAK,CAAA;AAAG,GAAA;AACvD,EAAA,IAAI,OAAOC,MAAM,KAAK,UAAU,EAAE;AAAE,IAAA,OAAO,KAAK,CAAA;AAAG,GAAA;AACnD,EAAA,IAAI,OAAOD,UAAU,CAAC,KAAK,CAAC,KAAK,QAAQ,EAAE;AAAE,IAAA,OAAO,KAAK,CAAA;AAAG,GAAA;AAC5D,EAAA,IAAI,OAAOC,MAAM,CAAC,KAAK,CAAC,KAAK,QAAQ,EAAE;AAAE,IAAA,OAAO,KAAK,CAAA;AAAG,GAAA;EAExD,OAAOC,aAAa,EAAE,CAAA;AACvB;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,58 @@
1
+ /* eslint complexity: [2, 18], max-statements: [2, 33] */
2
+ var shams = function hasSymbols() {
3
+ if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') {
4
+ return false;
5
+ }
6
+ if (typeof Symbol.iterator === 'symbol') {
7
+ return true;
8
+ }
9
+ var obj = {};
10
+ var sym = Symbol('test');
11
+ var symObj = Object(sym);
12
+ if (typeof sym === 'string') {
13
+ return false;
14
+ }
15
+ if (Object.prototype.toString.call(sym) !== '[object Symbol]') {
16
+ return false;
17
+ }
18
+ if (Object.prototype.toString.call(symObj) !== '[object Symbol]') {
19
+ return false;
20
+ }
21
+
22
+ // temp disabled per https://github.com/ljharb/object.assign/issues/17
23
+ // if (sym instanceof Symbol) { return false; }
24
+ // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
25
+ // if (!(symObj instanceof Symbol)) { return false; }
26
+
27
+ // if (typeof Symbol.prototype.toString !== 'function') { return false; }
28
+ // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
29
+
30
+ var symVal = 42;
31
+ obj[sym] = symVal;
32
+ for (sym in obj) {
33
+ return false;
34
+ } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
35
+ if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) {
36
+ return false;
37
+ }
38
+ if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) {
39
+ return false;
40
+ }
41
+ var syms = Object.getOwnPropertySymbols(obj);
42
+ if (syms.length !== 1 || syms[0] !== sym) {
43
+ return false;
44
+ }
45
+ if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) {
46
+ return false;
47
+ }
48
+ if (typeof Object.getOwnPropertyDescriptor === 'function') {
49
+ var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
50
+ if (descriptor.value !== symVal || descriptor.enumerable !== true) {
51
+ return false;
52
+ }
53
+ }
54
+ return true;
55
+ };
56
+
57
+ export { shams as s };
58
+ //# sourceMappingURL=shams.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shams.mjs","sources":["../../../../../../node_modules/has-symbols/shams.js"],"sourcesContent":["'use strict';\n\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n"],"names":["shams","hasSymbols","Symbol","Object","getOwnPropertySymbols","iterator","obj","sym","symObj","prototype","toString","call","symVal","keys","length","getOwnPropertyNames","syms","propertyIsEnumerable","getOwnPropertyDescriptor","descriptor","value","enumerable"],"mappings":"AAEA;IACAA,KAAc,GAAG,SAASC,UAAUA,GAAG;EACtC,IAAI,OAAOC,MAAM,KAAK,UAAU,IAAI,OAAOC,MAAM,CAACC,qBAAqB,KAAK,UAAU,EAAE;AAAE,IAAA,OAAO,KAAK,CAAA;AAAG,GAAA;AACzG,EAAA,IAAI,OAAOF,MAAM,CAACG,QAAQ,KAAK,QAAQ,EAAE;AAAE,IAAA,OAAO,IAAI,CAAA;AAAG,GAAA;EAEzD,IAAIC,GAAG,GAAG,EAAE,CAAA;AACZ,EAAA,IAAIC,GAAG,GAAGL,MAAM,CAAC,MAAM,CAAC,CAAA;AACxB,EAAA,IAAIM,MAAM,GAAGL,MAAM,CAACI,GAAG,CAAC,CAAA;AACxB,EAAA,IAAI,OAAOA,GAAG,KAAK,QAAQ,EAAE;AAAE,IAAA,OAAO,KAAK,CAAA;AAAG,GAAA;AAE9C,EAAA,IAAIJ,MAAM,CAACM,SAAS,CAACC,QAAQ,CAACC,IAAI,CAACJ,GAAG,CAAC,KAAK,iBAAiB,EAAE;AAAE,IAAA,OAAO,KAAK,CAAA;AAAG,GAAA;AAChF,EAAA,IAAIJ,MAAM,CAACM,SAAS,CAACC,QAAQ,CAACC,IAAI,CAACH,MAAM,CAAC,KAAK,iBAAiB,EAAE;AAAE,IAAA,OAAO,KAAK,CAAA;AAAG,GAAA;;AAEpF;AACA;AACA;AACA;;AAEA;AACA;;EAEC,IAAII,MAAM,GAAG,EAAE,C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,11 @@
1
+ import { f as functionBind } from '../function-bind/index.mjs';
2
+
3
+ var call = Function.prototype.call;
4
+ var $hasOwn = Object.prototype.hasOwnProperty;
5
+ var bind = functionBind;
6
+
7
+ /** @type {import('.')} */
8
+ var hasown = bind.call(call, $hasOwn);
9
+
10
+ export { hasown as h };
11
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../../node_modules/hasown/index.js"],"sourcesContent":["'use strict';\n\nvar call = Function.prototype.call;\nvar $hasOwn = Object.prototype.hasOwnProperty;\nvar bind = require('function-bind');\n\n/** @type {import('.')} */\nmodule.exports = bind.call(call, $hasOwn);\n"],"names":["call","Function","prototype","$hasOwn","Object","hasOwnProperty","bind","require$$0","hasown"],"mappings":";;AAEA,IAAIA,IAAI,GAAGC,QAAQ,CAACC,SAAS,CAACF,IAAI,CAAA;AAClC,IAAIG,OAAO,GAAGC,MAAM,CAACF,SAAS,CAACG,cAAc,CAAA;AAC7C,IAAIC,IAAI,GAAGC,YAAwB,CAAA;;AAEnC;AACAC,IAAAA,MAAc,GAAGF,IAAI,CAACN,IAAI,CAACA,IAAI,EAAEG,OAAO;;;;","x_google_ignoreList":[0]}