watermark-js-plus 1.6.0 → 1.6.2

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 (202) hide show
  1. package/dist/es/node_modules/tslib/tslib.es6.js +86 -0
  2. package/dist/es/src/core/blind.js +82 -0
  3. package/dist/es/src/core/canvas.js +292 -0
  4. package/dist/es/src/core/image.js +63 -0
  5. package/dist/es/src/core/layout/grid.js +36 -0
  6. package/dist/es/src/core/layout/index.js +25 -0
  7. package/dist/es/src/core/watermark.js +248 -0
  8. package/dist/es/src/index.js +3 -0
  9. package/dist/es/src/utils/index.js +199 -0
  10. package/dist/es/src/utils/initialization.js +284 -0
  11. package/dist/es/src/utils/protection.js +13 -0
  12. package/dist/es/style.css +1 -0
  13. package/dist/ie/es/_virtual/_commonjsHelpers.js +3 -0
  14. package/dist/ie/es/_virtual/es.array.fill.js +3 -0
  15. package/dist/ie/es/_virtual/es.array.fill2.js +3 -0
  16. package/dist/ie/es/_virtual/es.array.from.js +3 -0
  17. package/dist/ie/es/_virtual/es.array.from2.js +3 -0
  18. package/dist/ie/es/_virtual/es.array.includes.js +3 -0
  19. package/dist/ie/es/_virtual/es.array.includes2.js +3 -0
  20. package/dist/ie/es/_virtual/es.promise.all.js +3 -0
  21. package/dist/ie/es/_virtual/es.promise.catch.js +3 -0
  22. package/dist/ie/es/_virtual/es.promise.constructor.js +3 -0
  23. package/dist/ie/es/_virtual/es.promise.js +3 -0
  24. package/dist/ie/es/_virtual/es.promise.race.js +3 -0
  25. package/dist/ie/es/_virtual/es.promise.reject.js +3 -0
  26. package/dist/ie/es/_virtual/es.promise.resolve.js +3 -0
  27. package/dist/ie/es/_virtual/es.promise2.js +3 -0
  28. package/dist/ie/es/_virtual/make-built-in.js +3 -0
  29. package/dist/ie/es/_virtual/new-promise-capability.js +3 -0
  30. package/dist/ie/es/_virtual/object-define-properties.js +3 -0
  31. package/dist/ie/es/_virtual/object-define-property.js +3 -0
  32. package/dist/ie/es/_virtual/object-get-own-property-descriptor.js +3 -0
  33. package/dist/ie/es/_virtual/object-get-own-property-names.js +3 -0
  34. package/dist/ie/es/_virtual/object-get-own-property-symbols.js +3 -0
  35. package/dist/ie/es/_virtual/object-property-is-enumerable.js +3 -0
  36. package/dist/ie/es/_virtual/shared-store.js +3 -0
  37. package/dist/ie/es/node_modules/core-js/internals/a-callable.js +23 -0
  38. package/dist/ie/es/node_modules/core-js/internals/a-constructor.js +23 -0
  39. package/dist/ie/es/node_modules/core-js/internals/a-possible-prototype.js +21 -0
  40. package/dist/ie/es/node_modules/core-js/internals/add-to-unscopables.js +34 -0
  41. package/dist/ie/es/node_modules/core-js/internals/an-instance.js +20 -0
  42. package/dist/ie/es/node_modules/core-js/internals/an-object.js +22 -0
  43. package/dist/ie/es/node_modules/core-js/internals/array-fill.js +30 -0
  44. package/dist/ie/es/node_modules/core-js/internals/array-from.js +66 -0
  45. package/dist/ie/es/node_modules/core-js/internals/array-includes.js +47 -0
  46. package/dist/ie/es/node_modules/core-js/internals/array-slice.js +15 -0
  47. package/dist/ie/es/node_modules/core-js/internals/call-with-safe-iteration-closing.js +24 -0
  48. package/dist/ie/es/node_modules/core-js/internals/check-correctness-of-iteration.js +52 -0
  49. package/dist/ie/es/node_modules/core-js/internals/classof-raw.js +20 -0
  50. package/dist/ie/es/node_modules/core-js/internals/classof.js +44 -0
  51. package/dist/ie/es/node_modules/core-js/internals/copy-constructor-properties.js +31 -0
  52. package/dist/ie/es/node_modules/core-js/internals/create-non-enumerable-property.js +24 -0
  53. package/dist/ie/es/node_modules/core-js/internals/create-property-descriptor.js +18 -0
  54. package/dist/ie/es/node_modules/core-js/internals/create-property.js +22 -0
  55. package/dist/ie/es/node_modules/core-js/internals/define-built-in-accessor.js +21 -0
  56. package/dist/ie/es/node_modules/core-js/internals/define-built-in.js +42 -0
  57. package/dist/ie/es/node_modules/core-js/internals/define-global-property.js +24 -0
  58. package/dist/ie/es/node_modules/core-js/internals/descriptors.js +19 -0
  59. package/dist/ie/es/node_modules/core-js/internals/document-create-element.js +23 -0
  60. package/dist/ie/es/node_modules/core-js/internals/enum-bug-keys.js +20 -0
  61. package/dist/ie/es/node_modules/core-js/internals/environment-is-ios-pebble.js +15 -0
  62. package/dist/ie/es/node_modules/core-js/internals/environment-is-ios.js +16 -0
  63. package/dist/ie/es/node_modules/core-js/internals/environment-is-node.js +15 -0
  64. package/dist/ie/es/node_modules/core-js/internals/environment-is-webos-webkit.js +15 -0
  65. package/dist/ie/es/node_modules/core-js/internals/environment-user-agent.js +18 -0
  66. package/dist/ie/es/node_modules/core-js/internals/environment-v8-version.js +40 -0
  67. package/dist/ie/es/node_modules/core-js/internals/environment.js +34 -0
  68. package/dist/ie/es/node_modules/core-js/internals/export.js +72 -0
  69. package/dist/ie/es/node_modules/core-js/internals/fails.js +17 -0
  70. package/dist/ie/es/node_modules/core-js/internals/function-apply.js +22 -0
  71. package/dist/ie/es/node_modules/core-js/internals/function-bind-context.js +27 -0
  72. package/dist/ie/es/node_modules/core-js/internals/function-bind-native.js +20 -0
  73. package/dist/ie/es/node_modules/core-js/internals/function-call.js +19 -0
  74. package/dist/ie/es/node_modules/core-js/internals/function-name.js +30 -0
  75. package/dist/ie/es/node_modules/core-js/internals/function-uncurry-this-accessor.js +22 -0
  76. package/dist/ie/es/node_modules/core-js/internals/function-uncurry-this-clause.js +22 -0
  77. package/dist/ie/es/node_modules/core-js/internals/function-uncurry-this.js +24 -0
  78. package/dist/ie/es/node_modules/core-js/internals/get-built-in.js +23 -0
  79. package/dist/ie/es/node_modules/core-js/internals/get-iterator-method.js +29 -0
  80. package/dist/ie/es/node_modules/core-js/internals/get-iterator.js +29 -0
  81. package/dist/ie/es/node_modules/core-js/internals/get-method.js +22 -0
  82. package/dist/ie/es/node_modules/core-js/internals/global-this.js +27 -0
  83. package/dist/ie/es/node_modules/core-js/internals/has-own-property.js +24 -0
  84. package/dist/ie/es/node_modules/core-js/internals/hidden-keys.js +11 -0
  85. package/dist/ie/es/node_modules/core-js/internals/host-report-errors.js +16 -0
  86. package/dist/ie/es/node_modules/core-js/internals/html.js +15 -0
  87. package/dist/ie/es/node_modules/core-js/internals/ie8-dom-define.js +25 -0
  88. package/dist/ie/es/node_modules/core-js/internals/indexed-object.js +29 -0
  89. package/dist/ie/es/node_modules/core-js/internals/inspect-source.js +28 -0
  90. package/dist/ie/es/node_modules/core-js/internals/internal-state.js +89 -0
  91. package/dist/ie/es/node_modules/core-js/internals/is-array-iterator-method.js +23 -0
  92. package/dist/ie/es/node_modules/core-js/internals/is-callable.js +21 -0
  93. package/dist/ie/es/node_modules/core-js/internals/is-constructor.js +68 -0
  94. package/dist/ie/es/node_modules/core-js/internals/is-forced.js +35 -0
  95. package/dist/ie/es/node_modules/core-js/internals/is-null-or-undefined.js +15 -0
  96. package/dist/ie/es/node_modules/core-js/internals/is-object.js +17 -0
  97. package/dist/ie/es/node_modules/core-js/internals/is-possible-prototype.js +17 -0
  98. package/dist/ie/es/node_modules/core-js/internals/is-pure.js +11 -0
  99. package/dist/ie/es/node_modules/core-js/internals/is-symbol.js +28 -0
  100. package/dist/ie/es/node_modules/core-js/internals/iterate.js +89 -0
  101. package/dist/ie/es/node_modules/core-js/internals/iterator-close.js +37 -0
  102. package/dist/ie/es/node_modules/core-js/internals/iterators.js +11 -0
  103. package/dist/ie/es/node_modules/core-js/internals/length-of-array-like.js +19 -0
  104. package/dist/ie/es/node_modules/core-js/internals/make-built-in.js +73 -0
  105. package/dist/ie/es/node_modules/core-js/internals/math-trunc.js +20 -0
  106. package/dist/ie/es/node_modules/core-js/internals/microtask.js +98 -0
  107. package/dist/ie/es/node_modules/core-js/internals/new-promise-capability.js +32 -0
  108. package/dist/ie/es/node_modules/core-js/internals/object-create.js +102 -0
  109. package/dist/ie/es/node_modules/core-js/internals/object-define-properties.js +37 -0
  110. package/dist/ie/es/node_modules/core-js/internals/object-define-property.js +59 -0
  111. package/dist/ie/es/node_modules/core-js/internals/object-get-own-property-descriptor.js +41 -0
  112. package/dist/ie/es/node_modules/core-js/internals/object-get-own-property-names.js +24 -0
  113. package/dist/ie/es/node_modules/core-js/internals/object-get-own-property-symbols.js +13 -0
  114. package/dist/ie/es/node_modules/core-js/internals/object-is-prototype-of.js +15 -0
  115. package/dist/ie/es/node_modules/core-js/internals/object-keys-internal.js +36 -0
  116. package/dist/ie/es/node_modules/core-js/internals/object-keys.js +22 -0
  117. package/dist/ie/es/node_modules/core-js/internals/object-property-is-enumerable.js +24 -0
  118. package/dist/ie/es/node_modules/core-js/internals/object-set-prototype-of.js +43 -0
  119. package/dist/ie/es/node_modules/core-js/internals/ordinary-to-primitive.js +29 -0
  120. package/dist/ie/es/node_modules/core-js/internals/own-keys.js +30 -0
  121. package/dist/ie/es/node_modules/core-js/internals/perform.js +17 -0
  122. package/dist/ie/es/node_modules/core-js/internals/promise-constructor-detection.js +66 -0
  123. package/dist/ie/es/node_modules/core-js/internals/promise-native-constructor.js +15 -0
  124. package/dist/ie/es/node_modules/core-js/internals/promise-resolve.js +26 -0
  125. package/dist/ie/es/node_modules/core-js/internals/promise-statics-incorrect-iteration.js +21 -0
  126. package/dist/ie/es/node_modules/core-js/internals/queue.js +34 -0
  127. package/dist/ie/es/node_modules/core-js/internals/require-object-coercible.js +22 -0
  128. package/dist/ie/es/node_modules/core-js/internals/safe-get-built-in.js +25 -0
  129. package/dist/ie/es/node_modules/core-js/internals/set-species.js +32 -0
  130. package/dist/ie/es/node_modules/core-js/internals/set-to-string-tag.js +26 -0
  131. package/dist/ie/es/node_modules/core-js/internals/shared-key.js +21 -0
  132. package/dist/ie/es/node_modules/core-js/internals/shared-store.js +28 -0
  133. package/dist/ie/es/node_modules/core-js/internals/shared.js +17 -0
  134. package/dist/ie/es/node_modules/core-js/internals/species-constructor.js +29 -0
  135. package/dist/ie/es/node_modules/core-js/internals/symbol-constructor-detection.js +32 -0
  136. package/dist/ie/es/node_modules/core-js/internals/task.js +139 -0
  137. package/dist/ie/es/node_modules/core-js/internals/to-absolute-index.js +24 -0
  138. package/dist/ie/es/node_modules/core-js/internals/to-indexed-object.js +20 -0
  139. package/dist/ie/es/node_modules/core-js/internals/to-integer-or-infinity.js +21 -0
  140. package/dist/ie/es/node_modules/core-js/internals/to-length.js +22 -0
  141. package/dist/ie/es/node_modules/core-js/internals/to-object.js +21 -0
  142. package/dist/ie/es/node_modules/core-js/internals/to-primitive.js +42 -0
  143. package/dist/ie/es/node_modules/core-js/internals/to-property-key.js +22 -0
  144. package/dist/ie/es/node_modules/core-js/internals/to-string-tag-support.js +20 -0
  145. package/dist/ie/es/node_modules/core-js/internals/try-to-string.js +19 -0
  146. package/dist/ie/es/node_modules/core-js/internals/uid.js +21 -0
  147. package/dist/ie/es/node_modules/core-js/internals/use-symbol-as-uid.js +18 -0
  148. package/dist/ie/es/node_modules/core-js/internals/v8-prototype-define-bug.js +25 -0
  149. package/dist/ie/es/node_modules/core-js/internals/validate-arguments-length.js +16 -0
  150. package/dist/ie/es/node_modules/core-js/internals/weak-map-basic-detection.js +19 -0
  151. package/dist/ie/es/node_modules/core-js/internals/well-known-symbol.js +35 -0
  152. package/dist/ie/es/node_modules/core-js/modules/es.array.fill.js +26 -0
  153. package/dist/ie/es/node_modules/core-js/modules/es.array.from.js +28 -0
  154. package/dist/ie/es/node_modules/core-js/modules/es.array.includes.js +36 -0
  155. package/dist/ie/es/node_modules/core-js/modules/es.promise.all.js +56 -0
  156. package/dist/ie/es/node_modules/core-js/modules/es.promise.catch.js +43 -0
  157. package/dist/ie/es/node_modules/core-js/modules/es.promise.constructor.js +323 -0
  158. package/dist/ie/es/node_modules/core-js/modules/es.promise.js +24 -0
  159. package/dist/ie/es/node_modules/core-js/modules/es.promise.race.js +43 -0
  160. package/dist/ie/es/node_modules/core-js/modules/es.promise.reject.js +28 -0
  161. package/dist/ie/es/node_modules/core-js/modules/es.promise.resolve.js +34 -0
  162. package/dist/ie/es/node_modules/tslib/tslib.es6.js +86 -0
  163. package/dist/ie/es/node_modules/whatwg-fetch/fetch.js +643 -0
  164. package/dist/ie/es/src/core/blind.js +82 -0
  165. package/dist/ie/es/src/core/canvas.js +292 -0
  166. package/dist/ie/es/src/core/image.js +63 -0
  167. package/dist/ie/es/src/core/layout/grid.js +36 -0
  168. package/dist/ie/es/src/core/layout/index.js +25 -0
  169. package/dist/ie/es/src/core/watermark.js +248 -0
  170. package/dist/ie/es/src/index.ie.js +9 -0
  171. package/dist/ie/es/src/utils/index.js +199 -0
  172. package/dist/ie/es/src/utils/initialization.js +284 -0
  173. package/dist/ie/es/src/utils/polyfill.js +5 -0
  174. package/dist/ie/es/src/utils/protection.js +13 -0
  175. package/dist/ie/es/style.css +1 -0
  176. package/dist/ie/index.cjs.js +3 -37
  177. package/dist/ie/index.cjs.js.map +1 -1
  178. package/dist/ie/index.cjs.min.js +1 -1
  179. package/dist/ie/index.esm.js +3 -37
  180. package/dist/ie/index.esm.js.map +1 -1
  181. package/dist/ie/index.esm.min.js +1 -1
  182. package/dist/ie/index.iife.js +3 -37
  183. package/dist/ie/index.iife.js.map +1 -1
  184. package/dist/ie/index.iife.min.js +1 -1
  185. package/dist/ie/index.umd.js +3 -37
  186. package/dist/ie/index.umd.js.map +1 -1
  187. package/dist/ie/index.umd.min.js +1 -1
  188. package/dist/index.cjs.js +1 -35
  189. package/dist/index.cjs.js.map +1 -1
  190. package/dist/index.cjs.min.js +1 -1
  191. package/dist/index.esm.js +1 -35
  192. package/dist/index.esm.js.map +1 -1
  193. package/dist/index.esm.min.js +1 -1
  194. package/dist/index.iife.js +1 -35
  195. package/dist/index.iife.js.map +1 -1
  196. package/dist/index.iife.min.js +1 -1
  197. package/dist/index.umd.js +1 -35
  198. package/dist/index.umd.js.map +1 -1
  199. package/dist/index.umd.min.js +1 -1
  200. package/dist/types/core/watermark.d.ts +0 -4
  201. package/dist/types/style/index.d.ts +1 -1
  202. package/package.json +41 -22
@@ -0,0 +1,34 @@
1
+ import { __require as requireGlobalThis } from './global-this.js';
2
+ import { __require as requireEnvironmentUserAgent } from './environment-user-agent.js';
3
+ import { __require as requireClassofRaw } from './classof-raw.js';
4
+
5
+ var environment;
6
+ var hasRequiredEnvironment;
7
+
8
+ function requireEnvironment () {
9
+ if (hasRequiredEnvironment) return environment;
10
+ hasRequiredEnvironment = 1;
11
+ /* global Bun, Deno -- detection */
12
+ var globalThis = requireGlobalThis();
13
+ var userAgent = requireEnvironmentUserAgent();
14
+ var classof = requireClassofRaw();
15
+
16
+ var userAgentStartsWith = function (string) {
17
+ return userAgent.slice(0, string.length) === string;
18
+ };
19
+
20
+ environment = (function () {
21
+ if (userAgentStartsWith('Bun/')) return 'BUN';
22
+ if (userAgentStartsWith('Cloudflare-Workers')) return 'CLOUDFLARE';
23
+ if (userAgentStartsWith('Deno/')) return 'DENO';
24
+ if (userAgentStartsWith('Node.js/')) return 'NODE';
25
+ if (globalThis.Bun && typeof Bun.version == 'string') return 'BUN';
26
+ if (globalThis.Deno && typeof Deno.version == 'object') return 'DENO';
27
+ if (classof(globalThis.process) === 'process') return 'NODE';
28
+ if (globalThis.window && globalThis.document) return 'BROWSER';
29
+ return 'REST';
30
+ })();
31
+ return environment;
32
+ }
33
+
34
+ export { requireEnvironment as __require };
@@ -0,0 +1,72 @@
1
+ import { __require as requireGlobalThis } from './global-this.js';
2
+ import { __require as requireObjectGetOwnPropertyDescriptor } from './object-get-own-property-descriptor.js';
3
+ import { __require as requireCreateNonEnumerableProperty } from './create-non-enumerable-property.js';
4
+ import { __require as requireDefineBuiltIn } from './define-built-in.js';
5
+ import { __require as requireDefineGlobalProperty } from './define-global-property.js';
6
+ import { __require as requireCopyConstructorProperties } from './copy-constructor-properties.js';
7
+ import { __require as requireIsForced } from './is-forced.js';
8
+
9
+ var _export;
10
+ var hasRequired_export;
11
+
12
+ function require_export () {
13
+ if (hasRequired_export) return _export;
14
+ hasRequired_export = 1;
15
+ var globalThis = requireGlobalThis();
16
+ var getOwnPropertyDescriptor = requireObjectGetOwnPropertyDescriptor().f;
17
+ var createNonEnumerableProperty = requireCreateNonEnumerableProperty();
18
+ var defineBuiltIn = requireDefineBuiltIn();
19
+ var defineGlobalProperty = requireDefineGlobalProperty();
20
+ var copyConstructorProperties = requireCopyConstructorProperties();
21
+ var isForced = requireIsForced();
22
+
23
+ /*
24
+ options.target - name of the target object
25
+ options.global - target is the global object
26
+ options.stat - export as static methods of target
27
+ options.proto - export as prototype methods of target
28
+ options.real - real prototype method for the `pure` version
29
+ options.forced - export even if the native feature is available
30
+ options.bind - bind methods to the target, required for the `pure` version
31
+ options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
32
+ options.unsafe - use the simple assignment of property instead of delete + defineProperty
33
+ options.sham - add a flag to not completely full polyfills
34
+ options.enumerable - export as enumerable property
35
+ options.dontCallGetSet - prevent calling a getter on target
36
+ options.name - the .name of the function if it does not match the key
37
+ */
38
+ _export = function (options, source) {
39
+ var TARGET = options.target;
40
+ var GLOBAL = options.global;
41
+ var STATIC = options.stat;
42
+ var FORCED, target, key, targetProperty, sourceProperty, descriptor;
43
+ if (GLOBAL) {
44
+ target = globalThis;
45
+ } else if (STATIC) {
46
+ target = globalThis[TARGET] || defineGlobalProperty(TARGET, {});
47
+ } else {
48
+ target = globalThis[TARGET] && globalThis[TARGET].prototype;
49
+ }
50
+ if (target) for (key in source) {
51
+ sourceProperty = source[key];
52
+ if (options.dontCallGetSet) {
53
+ descriptor = getOwnPropertyDescriptor(target, key);
54
+ targetProperty = descriptor && descriptor.value;
55
+ } else targetProperty = target[key];
56
+ FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
57
+ // contained in target
58
+ if (!FORCED && targetProperty !== undefined) {
59
+ if (typeof sourceProperty == typeof targetProperty) continue;
60
+ copyConstructorProperties(sourceProperty, targetProperty);
61
+ }
62
+ // add a flag to not completely full polyfills
63
+ if (options.sham || (targetProperty && targetProperty.sham)) {
64
+ createNonEnumerableProperty(sourceProperty, 'sham', true);
65
+ }
66
+ defineBuiltIn(target, key, sourceProperty, options);
67
+ }
68
+ };
69
+ return _export;
70
+ }
71
+
72
+ export { require_export as __require };
@@ -0,0 +1,17 @@
1
+ var fails;
2
+ var hasRequiredFails;
3
+
4
+ function requireFails () {
5
+ if (hasRequiredFails) return fails;
6
+ hasRequiredFails = 1;
7
+ fails = function (exec) {
8
+ try {
9
+ return !!exec();
10
+ } catch (error) {
11
+ return true;
12
+ }
13
+ };
14
+ return fails;
15
+ }
16
+
17
+ export { requireFails as __require };
@@ -0,0 +1,22 @@
1
+ import { __require as requireFunctionBindNative } from './function-bind-native.js';
2
+
3
+ var functionApply;
4
+ var hasRequiredFunctionApply;
5
+
6
+ function requireFunctionApply () {
7
+ if (hasRequiredFunctionApply) return functionApply;
8
+ hasRequiredFunctionApply = 1;
9
+ var NATIVE_BIND = requireFunctionBindNative();
10
+
11
+ var FunctionPrototype = Function.prototype;
12
+ var apply = FunctionPrototype.apply;
13
+ var call = FunctionPrototype.call;
14
+
15
+ // eslint-disable-next-line es/no-function-prototype-bind, es/no-reflect -- safe
16
+ functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {
17
+ return call.apply(apply, arguments);
18
+ });
19
+ return functionApply;
20
+ }
21
+
22
+ export { requireFunctionApply as __require };
@@ -0,0 +1,27 @@
1
+ import { __require as requireFunctionUncurryThisClause } from './function-uncurry-this-clause.js';
2
+ import { __require as requireACallable } from './a-callable.js';
3
+ import { __require as requireFunctionBindNative } from './function-bind-native.js';
4
+
5
+ var functionBindContext;
6
+ var hasRequiredFunctionBindContext;
7
+
8
+ function requireFunctionBindContext () {
9
+ if (hasRequiredFunctionBindContext) return functionBindContext;
10
+ hasRequiredFunctionBindContext = 1;
11
+ var uncurryThis = requireFunctionUncurryThisClause();
12
+ var aCallable = requireACallable();
13
+ var NATIVE_BIND = requireFunctionBindNative();
14
+
15
+ var bind = uncurryThis(uncurryThis.bind);
16
+
17
+ // optional / simple context binding
18
+ functionBindContext = function (fn, that) {
19
+ aCallable(fn);
20
+ return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {
21
+ return fn.apply(that, arguments);
22
+ };
23
+ };
24
+ return functionBindContext;
25
+ }
26
+
27
+ export { requireFunctionBindContext as __require };
@@ -0,0 +1,20 @@
1
+ import { __require as requireFails } from './fails.js';
2
+
3
+ var functionBindNative;
4
+ var hasRequiredFunctionBindNative;
5
+
6
+ function requireFunctionBindNative () {
7
+ if (hasRequiredFunctionBindNative) return functionBindNative;
8
+ hasRequiredFunctionBindNative = 1;
9
+ var fails = requireFails();
10
+
11
+ functionBindNative = !fails(function () {
12
+ // eslint-disable-next-line es/no-function-prototype-bind -- safe
13
+ var test = (function () { /* empty */ }).bind();
14
+ // eslint-disable-next-line no-prototype-builtins -- safe
15
+ return typeof test != 'function' || test.hasOwnProperty('prototype');
16
+ });
17
+ return functionBindNative;
18
+ }
19
+
20
+ export { requireFunctionBindNative as __require };
@@ -0,0 +1,19 @@
1
+ import { __require as requireFunctionBindNative } from './function-bind-native.js';
2
+
3
+ var functionCall;
4
+ var hasRequiredFunctionCall;
5
+
6
+ function requireFunctionCall () {
7
+ if (hasRequiredFunctionCall) return functionCall;
8
+ hasRequiredFunctionCall = 1;
9
+ var NATIVE_BIND = requireFunctionBindNative();
10
+
11
+ var call = Function.prototype.call;
12
+ // eslint-disable-next-line es/no-function-prototype-bind -- safe
13
+ functionCall = NATIVE_BIND ? call.bind(call) : function () {
14
+ return call.apply(call, arguments);
15
+ };
16
+ return functionCall;
17
+ }
18
+
19
+ export { requireFunctionCall as __require };
@@ -0,0 +1,30 @@
1
+ import { __require as requireDescriptors } from './descriptors.js';
2
+ import { __require as requireHasOwnProperty } from './has-own-property.js';
3
+
4
+ var functionName;
5
+ var hasRequiredFunctionName;
6
+
7
+ function requireFunctionName () {
8
+ if (hasRequiredFunctionName) return functionName;
9
+ hasRequiredFunctionName = 1;
10
+ var DESCRIPTORS = requireDescriptors();
11
+ var hasOwn = requireHasOwnProperty();
12
+
13
+ var FunctionPrototype = Function.prototype;
14
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
15
+ var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
16
+
17
+ var EXISTS = hasOwn(FunctionPrototype, 'name');
18
+ // additional protection from minified / mangled / dropped function names
19
+ var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
20
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
21
+
22
+ functionName = {
23
+ EXISTS: EXISTS,
24
+ PROPER: PROPER,
25
+ CONFIGURABLE: CONFIGURABLE
26
+ };
27
+ return functionName;
28
+ }
29
+
30
+ export { requireFunctionName as __require };
@@ -0,0 +1,22 @@
1
+ import { __require as requireFunctionUncurryThis } from './function-uncurry-this.js';
2
+ import { __require as requireACallable } from './a-callable.js';
3
+
4
+ var functionUncurryThisAccessor;
5
+ var hasRequiredFunctionUncurryThisAccessor;
6
+
7
+ function requireFunctionUncurryThisAccessor () {
8
+ if (hasRequiredFunctionUncurryThisAccessor) return functionUncurryThisAccessor;
9
+ hasRequiredFunctionUncurryThisAccessor = 1;
10
+ var uncurryThis = requireFunctionUncurryThis();
11
+ var aCallable = requireACallable();
12
+
13
+ functionUncurryThisAccessor = function (object, key, method) {
14
+ try {
15
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
16
+ return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
17
+ } catch (error) { /* empty */ }
18
+ };
19
+ return functionUncurryThisAccessor;
20
+ }
21
+
22
+ export { requireFunctionUncurryThisAccessor as __require };
@@ -0,0 +1,22 @@
1
+ import { __require as requireClassofRaw } from './classof-raw.js';
2
+ import { __require as requireFunctionUncurryThis } from './function-uncurry-this.js';
3
+
4
+ var functionUncurryThisClause;
5
+ var hasRequiredFunctionUncurryThisClause;
6
+
7
+ function requireFunctionUncurryThisClause () {
8
+ if (hasRequiredFunctionUncurryThisClause) return functionUncurryThisClause;
9
+ hasRequiredFunctionUncurryThisClause = 1;
10
+ var classofRaw = requireClassofRaw();
11
+ var uncurryThis = requireFunctionUncurryThis();
12
+
13
+ functionUncurryThisClause = function (fn) {
14
+ // Nashorn bug:
15
+ // https://github.com/zloirock/core-js/issues/1128
16
+ // https://github.com/zloirock/core-js/issues/1130
17
+ if (classofRaw(fn) === 'Function') return uncurryThis(fn);
18
+ };
19
+ return functionUncurryThisClause;
20
+ }
21
+
22
+ export { requireFunctionUncurryThisClause as __require };
@@ -0,0 +1,24 @@
1
+ import { __require as requireFunctionBindNative } from './function-bind-native.js';
2
+
3
+ var functionUncurryThis;
4
+ var hasRequiredFunctionUncurryThis;
5
+
6
+ function requireFunctionUncurryThis () {
7
+ if (hasRequiredFunctionUncurryThis) return functionUncurryThis;
8
+ hasRequiredFunctionUncurryThis = 1;
9
+ var NATIVE_BIND = requireFunctionBindNative();
10
+
11
+ var FunctionPrototype = Function.prototype;
12
+ var call = FunctionPrototype.call;
13
+ // eslint-disable-next-line es/no-function-prototype-bind -- safe
14
+ var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
15
+
16
+ functionUncurryThis = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
17
+ return function () {
18
+ return call.apply(fn, arguments);
19
+ };
20
+ };
21
+ return functionUncurryThis;
22
+ }
23
+
24
+ export { requireFunctionUncurryThis as __require };
@@ -0,0 +1,23 @@
1
+ import { __require as requireGlobalThis } from './global-this.js';
2
+ import { __require as requireIsCallable } from './is-callable.js';
3
+
4
+ var getBuiltIn;
5
+ var hasRequiredGetBuiltIn;
6
+
7
+ function requireGetBuiltIn () {
8
+ if (hasRequiredGetBuiltIn) return getBuiltIn;
9
+ hasRequiredGetBuiltIn = 1;
10
+ var globalThis = requireGlobalThis();
11
+ var isCallable = requireIsCallable();
12
+
13
+ var aFunction = function (argument) {
14
+ return isCallable(argument) ? argument : undefined;
15
+ };
16
+
17
+ getBuiltIn = function (namespace, method) {
18
+ return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method];
19
+ };
20
+ return getBuiltIn;
21
+ }
22
+
23
+ export { requireGetBuiltIn as __require };
@@ -0,0 +1,29 @@
1
+ import { __require as requireClassof } from './classof.js';
2
+ import { __require as requireGetMethod } from './get-method.js';
3
+ import { __require as requireIsNullOrUndefined } from './is-null-or-undefined.js';
4
+ import { __require as requireIterators } from './iterators.js';
5
+ import { __require as requireWellKnownSymbol } from './well-known-symbol.js';
6
+
7
+ var getIteratorMethod;
8
+ var hasRequiredGetIteratorMethod;
9
+
10
+ function requireGetIteratorMethod () {
11
+ if (hasRequiredGetIteratorMethod) return getIteratorMethod;
12
+ hasRequiredGetIteratorMethod = 1;
13
+ var classof = requireClassof();
14
+ var getMethod = requireGetMethod();
15
+ var isNullOrUndefined = requireIsNullOrUndefined();
16
+ var Iterators = requireIterators();
17
+ var wellKnownSymbol = requireWellKnownSymbol();
18
+
19
+ var ITERATOR = wellKnownSymbol('iterator');
20
+
21
+ getIteratorMethod = function (it) {
22
+ if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)
23
+ || getMethod(it, '@@iterator')
24
+ || Iterators[classof(it)];
25
+ };
26
+ return getIteratorMethod;
27
+ }
28
+
29
+ export { requireGetIteratorMethod as __require };
@@ -0,0 +1,29 @@
1
+ import { __require as requireFunctionCall } from './function-call.js';
2
+ import { __require as requireACallable } from './a-callable.js';
3
+ import { __require as requireAnObject } from './an-object.js';
4
+ import { __require as requireTryToString } from './try-to-string.js';
5
+ import { __require as requireGetIteratorMethod } from './get-iterator-method.js';
6
+
7
+ var getIterator;
8
+ var hasRequiredGetIterator;
9
+
10
+ function requireGetIterator () {
11
+ if (hasRequiredGetIterator) return getIterator;
12
+ hasRequiredGetIterator = 1;
13
+ var call = requireFunctionCall();
14
+ var aCallable = requireACallable();
15
+ var anObject = requireAnObject();
16
+ var tryToString = requireTryToString();
17
+ var getIteratorMethod = requireGetIteratorMethod();
18
+
19
+ var $TypeError = TypeError;
20
+
21
+ getIterator = function (argument, usingIterator) {
22
+ var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
23
+ if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));
24
+ throw new $TypeError(tryToString(argument) + ' is not iterable');
25
+ };
26
+ return getIterator;
27
+ }
28
+
29
+ export { requireGetIterator as __require };
@@ -0,0 +1,22 @@
1
+ import { __require as requireACallable } from './a-callable.js';
2
+ import { __require as requireIsNullOrUndefined } from './is-null-or-undefined.js';
3
+
4
+ var getMethod;
5
+ var hasRequiredGetMethod;
6
+
7
+ function requireGetMethod () {
8
+ if (hasRequiredGetMethod) return getMethod;
9
+ hasRequiredGetMethod = 1;
10
+ var aCallable = requireACallable();
11
+ var isNullOrUndefined = requireIsNullOrUndefined();
12
+
13
+ // `GetMethod` abstract operation
14
+ // https://tc39.es/ecma262/#sec-getmethod
15
+ getMethod = function (V, P) {
16
+ var func = V[P];
17
+ return isNullOrUndefined(func) ? undefined : aCallable(func);
18
+ };
19
+ return getMethod;
20
+ }
21
+
22
+ export { requireGetMethod as __require };
@@ -0,0 +1,27 @@
1
+ import { commonjsGlobal } from '../../../_virtual/_commonjsHelpers.js';
2
+
3
+ var globalThis_1;
4
+ var hasRequiredGlobalThis;
5
+
6
+ function requireGlobalThis () {
7
+ if (hasRequiredGlobalThis) return globalThis_1;
8
+ hasRequiredGlobalThis = 1;
9
+ var check = function (it) {
10
+ return it && it.Math === Math && it;
11
+ };
12
+
13
+ // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
14
+ globalThis_1 =
15
+ // eslint-disable-next-line es/no-global-this -- safe
16
+ check(typeof globalThis == 'object' && globalThis) ||
17
+ check(typeof window == 'object' && window) ||
18
+ // eslint-disable-next-line no-restricted-globals -- safe
19
+ check(typeof self == 'object' && self) ||
20
+ check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
21
+ check(typeof globalThis_1 == 'object' && globalThis_1) ||
22
+ // eslint-disable-next-line no-new-func -- fallback
23
+ (function () { return this; })() || Function('return this')();
24
+ return globalThis_1;
25
+ }
26
+
27
+ export { requireGlobalThis as __require };
@@ -0,0 +1,24 @@
1
+ import { __require as requireFunctionUncurryThis } from './function-uncurry-this.js';
2
+ import { __require as requireToObject } from './to-object.js';
3
+
4
+ var hasOwnProperty_1;
5
+ var hasRequiredHasOwnProperty;
6
+
7
+ function requireHasOwnProperty () {
8
+ if (hasRequiredHasOwnProperty) return hasOwnProperty_1;
9
+ hasRequiredHasOwnProperty = 1;
10
+ var uncurryThis = requireFunctionUncurryThis();
11
+ var toObject = requireToObject();
12
+
13
+ var hasOwnProperty = uncurryThis({}.hasOwnProperty);
14
+
15
+ // `HasOwnProperty` abstract operation
16
+ // https://tc39.es/ecma262/#sec-hasownproperty
17
+ // eslint-disable-next-line es/no-object-hasown -- safe
18
+ hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
19
+ return hasOwnProperty(toObject(it), key);
20
+ };
21
+ return hasOwnProperty_1;
22
+ }
23
+
24
+ export { requireHasOwnProperty as __require };
@@ -0,0 +1,11 @@
1
+ var hiddenKeys;
2
+ var hasRequiredHiddenKeys;
3
+
4
+ function requireHiddenKeys () {
5
+ if (hasRequiredHiddenKeys) return hiddenKeys;
6
+ hasRequiredHiddenKeys = 1;
7
+ hiddenKeys = {};
8
+ return hiddenKeys;
9
+ }
10
+
11
+ export { requireHiddenKeys as __require };
@@ -0,0 +1,16 @@
1
+ var hostReportErrors;
2
+ var hasRequiredHostReportErrors;
3
+
4
+ function requireHostReportErrors () {
5
+ if (hasRequiredHostReportErrors) return hostReportErrors;
6
+ hasRequiredHostReportErrors = 1;
7
+ hostReportErrors = function (a, b) {
8
+ try {
9
+ // eslint-disable-next-line no-console -- safe
10
+ arguments.length === 1 ? (void 0) : (void 0);
11
+ } catch (error) { /* empty */ }
12
+ };
13
+ return hostReportErrors;
14
+ }
15
+
16
+ export { requireHostReportErrors as __require };
@@ -0,0 +1,15 @@
1
+ import { __require as requireGetBuiltIn } from './get-built-in.js';
2
+
3
+ var html;
4
+ var hasRequiredHtml;
5
+
6
+ function requireHtml () {
7
+ if (hasRequiredHtml) return html;
8
+ hasRequiredHtml = 1;
9
+ var getBuiltIn = requireGetBuiltIn();
10
+
11
+ html = getBuiltIn('document', 'documentElement');
12
+ return html;
13
+ }
14
+
15
+ export { requireHtml as __require };
@@ -0,0 +1,25 @@
1
+ import { __require as requireDescriptors } from './descriptors.js';
2
+ import { __require as requireFails } from './fails.js';
3
+ import { __require as requireDocumentCreateElement } from './document-create-element.js';
4
+
5
+ var ie8DomDefine;
6
+ var hasRequiredIe8DomDefine;
7
+
8
+ function requireIe8DomDefine () {
9
+ if (hasRequiredIe8DomDefine) return ie8DomDefine;
10
+ hasRequiredIe8DomDefine = 1;
11
+ var DESCRIPTORS = requireDescriptors();
12
+ var fails = requireFails();
13
+ var createElement = requireDocumentCreateElement();
14
+
15
+ // Thanks to IE8 for its funny defineProperty
16
+ ie8DomDefine = !DESCRIPTORS && !fails(function () {
17
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
18
+ return Object.defineProperty(createElement('div'), 'a', {
19
+ get: function () { return 7; }
20
+ }).a !== 7;
21
+ });
22
+ return ie8DomDefine;
23
+ }
24
+
25
+ export { requireIe8DomDefine as __require };
@@ -0,0 +1,29 @@
1
+ import { __require as requireFunctionUncurryThis } from './function-uncurry-this.js';
2
+ import { __require as requireFails } from './fails.js';
3
+ import { __require as requireClassofRaw } from './classof-raw.js';
4
+
5
+ var indexedObject;
6
+ var hasRequiredIndexedObject;
7
+
8
+ function requireIndexedObject () {
9
+ if (hasRequiredIndexedObject) return indexedObject;
10
+ hasRequiredIndexedObject = 1;
11
+ var uncurryThis = requireFunctionUncurryThis();
12
+ var fails = requireFails();
13
+ var classof = requireClassofRaw();
14
+
15
+ var $Object = Object;
16
+ var split = uncurryThis(''.split);
17
+
18
+ // fallback for non-array-like ES3 and non-enumerable old V8 strings
19
+ indexedObject = fails(function () {
20
+ // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
21
+ // eslint-disable-next-line no-prototype-builtins -- safe
22
+ return !$Object('z').propertyIsEnumerable(0);
23
+ }) ? function (it) {
24
+ return classof(it) === 'String' ? split(it, '') : $Object(it);
25
+ } : $Object;
26
+ return indexedObject;
27
+ }
28
+
29
+ export { requireIndexedObject as __require };
@@ -0,0 +1,28 @@
1
+ import { __require as requireFunctionUncurryThis } from './function-uncurry-this.js';
2
+ import { __require as requireIsCallable } from './is-callable.js';
3
+ import { __require as requireSharedStore } from './shared-store.js';
4
+
5
+ var inspectSource;
6
+ var hasRequiredInspectSource;
7
+
8
+ function requireInspectSource () {
9
+ if (hasRequiredInspectSource) return inspectSource;
10
+ hasRequiredInspectSource = 1;
11
+ var uncurryThis = requireFunctionUncurryThis();
12
+ var isCallable = requireIsCallable();
13
+ var store = requireSharedStore();
14
+
15
+ var functionToString = uncurryThis(Function.toString);
16
+
17
+ // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
18
+ if (!isCallable(store.inspectSource)) {
19
+ store.inspectSource = function (it) {
20
+ return functionToString(it);
21
+ };
22
+ }
23
+
24
+ inspectSource = store.inspectSource;
25
+ return inspectSource;
26
+ }
27
+
28
+ export { requireInspectSource as __require };