native-fn 1.0.82 → 1.0.83
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.
- package/dist/index.d.ts +8 -1
- package/dist/native.cjs +4 -10
- package/dist/native.min.cjs +1 -1
- package/dist/native.min.mjs +1 -1
- package/dist/native.mjs +4 -10
- package/dist/native.umd.js +4 -10
- package/dist/native.umd.min.js +1 -1
- package/dist/plugin/app/index.cjs +102 -255
- package/dist/plugin/app/index.min.cjs +1 -1
- package/dist/plugin/app/index.min.mjs +1 -1
- package/dist/plugin/app/index.mjs +102 -255
- package/dist/plugin/app/index.umd.js +102 -255
- package/dist/plugin/app/index.umd.min.js +1 -1
- package/dist/plugin/app/src/plugin/appearance/constants/index.d.ts +2 -2
- package/dist/plugin/app/src/plugin/appearance/types/appearance.d.ts +0 -6
- package/dist/plugin/app/src/plugin/dimension/constants/index.d.ts +3 -0
- package/dist/plugin/app/src/plugin/dimension/types/dimension.d.ts +9 -6
- package/dist/plugin/app/src/plugin/dimension/types/dimensions.d.ts +11 -0
- package/dist/plugin/app/src/plugin/dimension/types/index.d.ts +2 -2
- package/dist/plugin/app/src/plugin/platform/constants/index.d.ts +1 -0
- package/dist/plugin/app/src/plugin/platform/cores/index.d.ts +0 -10
- package/dist/plugin/app/src/plugin/platform/types/platform.d.ts +3 -19
- package/dist/plugin/app/src/types/listener-entry.d.ts +6 -0
- package/dist/plugin/app/src/utils/request.d.ts +1 -0
- package/dist/plugin/appearance/index.cjs +55 -208
- package/dist/plugin/appearance/index.d.ts +1 -7
- package/dist/plugin/appearance/index.min.cjs +1 -1
- package/dist/plugin/appearance/index.min.mjs +1 -1
- package/dist/plugin/appearance/index.mjs +55 -208
- package/dist/plugin/appearance/index.umd.js +55 -208
- package/dist/plugin/appearance/index.umd.min.js +1 -1
- package/dist/plugin/appearance/src/plugin/appearance/constants/index.d.ts +2 -2
- package/dist/plugin/appearance/src/plugin/appearance/types/appearance.d.ts +0 -6
- package/dist/plugin/appearance/src/plugin/dimension/constants/index.d.ts +3 -0
- package/dist/plugin/appearance/src/plugin/dimension/types/dimension.d.ts +9 -6
- package/dist/plugin/appearance/src/plugin/dimension/types/dimensions.d.ts +11 -0
- package/dist/plugin/appearance/src/plugin/dimension/types/index.d.ts +2 -2
- package/dist/plugin/appearance/src/plugin/platform/constants/index.d.ts +1 -0
- package/dist/plugin/appearance/src/plugin/platform/cores/index.d.ts +0 -10
- package/dist/plugin/appearance/src/plugin/platform/types/platform.d.ts +3 -19
- package/dist/plugin/appearance/src/types/listener-entry.d.ts +6 -0
- package/dist/plugin/appearance/src/utils/request.d.ts +1 -0
- package/dist/plugin/clipboard/index.cjs +61 -214
- package/dist/plugin/clipboard/index.min.cjs +1 -1
- package/dist/plugin/clipboard/index.min.mjs +1 -1
- package/dist/plugin/clipboard/index.mjs +61 -214
- package/dist/plugin/clipboard/index.umd.js +61 -214
- package/dist/plugin/clipboard/index.umd.min.js +1 -1
- package/dist/plugin/clipboard/src/plugin/appearance/constants/index.d.ts +2 -2
- package/dist/plugin/clipboard/src/plugin/appearance/types/appearance.d.ts +0 -6
- package/dist/plugin/clipboard/src/plugin/dimension/constants/index.d.ts +3 -0
- package/dist/plugin/clipboard/src/plugin/dimension/types/dimension.d.ts +9 -6
- package/dist/plugin/clipboard/src/plugin/dimension/types/dimensions.d.ts +11 -0
- package/dist/plugin/clipboard/src/plugin/dimension/types/index.d.ts +2 -2
- package/dist/plugin/clipboard/src/plugin/platform/constants/index.d.ts +1 -0
- package/dist/plugin/clipboard/src/plugin/platform/cores/index.d.ts +0 -10
- package/dist/plugin/clipboard/src/plugin/platform/types/platform.d.ts +3 -19
- package/dist/plugin/clipboard/src/types/listener-entry.d.ts +6 -0
- package/dist/plugin/clipboard/src/utils/request.d.ts +1 -0
- package/dist/plugin/dimension/index.cjs +935 -1
- package/dist/plugin/dimension/index.d.ts +9 -0
- package/dist/plugin/dimension/index.min.cjs +1 -1
- package/dist/plugin/dimension/index.min.mjs +1 -1
- package/dist/plugin/dimension/index.mjs +935 -1
- package/dist/plugin/dimension/index.umd.js +935 -1
- package/dist/plugin/dimension/index.umd.min.js +1 -1
- package/dist/plugin/dimension/src/plugin/appearance/constants/index.d.ts +2 -2
- package/dist/plugin/dimension/src/plugin/appearance/types/appearance.d.ts +0 -6
- package/dist/plugin/dimension/src/plugin/dimension/constants/index.d.ts +3 -0
- package/dist/plugin/dimension/src/plugin/dimension/types/dimension.d.ts +9 -6
- package/dist/plugin/dimension/src/plugin/dimension/types/dimensions.d.ts +11 -0
- package/dist/plugin/dimension/src/plugin/dimension/types/index.d.ts +2 -2
- package/dist/plugin/dimension/src/plugin/platform/constants/index.d.ts +1 -0
- package/dist/plugin/dimension/src/plugin/platform/cores/index.d.ts +0 -10
- package/dist/plugin/dimension/src/plugin/platform/types/platform.d.ts +3 -19
- package/dist/plugin/dimension/src/types/listener-entry.d.ts +6 -0
- package/dist/plugin/dimension/src/utils/request.d.ts +1 -0
- package/dist/plugin/fullscreen/index.cjs +54 -207
- package/dist/plugin/fullscreen/index.min.cjs +1 -1
- package/dist/plugin/fullscreen/index.min.mjs +1 -1
- package/dist/plugin/fullscreen/index.mjs +54 -207
- package/dist/plugin/fullscreen/index.umd.js +54 -207
- package/dist/plugin/fullscreen/index.umd.min.js +1 -1
- package/dist/plugin/fullscreen/src/plugin/appearance/constants/index.d.ts +2 -2
- package/dist/plugin/fullscreen/src/plugin/appearance/types/appearance.d.ts +0 -6
- package/dist/plugin/fullscreen/src/plugin/dimension/constants/index.d.ts +3 -0
- package/dist/plugin/fullscreen/src/plugin/dimension/types/dimension.d.ts +9 -6
- package/dist/plugin/fullscreen/src/plugin/dimension/types/dimensions.d.ts +11 -0
- package/dist/plugin/fullscreen/src/plugin/dimension/types/index.d.ts +2 -2
- package/dist/plugin/fullscreen/src/plugin/platform/constants/index.d.ts +1 -0
- package/dist/plugin/fullscreen/src/plugin/platform/cores/index.d.ts +0 -10
- package/dist/plugin/fullscreen/src/plugin/platform/types/platform.d.ts +3 -19
- package/dist/plugin/fullscreen/src/types/listener-entry.d.ts +6 -0
- package/dist/plugin/fullscreen/src/utils/request.d.ts +1 -0
- package/dist/plugin/platform/index.cjs +50 -203
- package/dist/plugin/platform/index.d.ts +4 -20
- package/dist/plugin/platform/index.min.cjs +1 -1
- package/dist/plugin/platform/index.min.mjs +1 -1
- package/dist/plugin/platform/index.mjs +50 -203
- package/dist/plugin/platform/index.umd.js +50 -203
- package/dist/plugin/platform/index.umd.min.js +1 -1
- package/dist/plugin/platform/src/plugin/appearance/constants/index.d.ts +2 -2
- package/dist/plugin/platform/src/plugin/appearance/types/appearance.d.ts +0 -6
- package/dist/plugin/platform/src/plugin/dimension/constants/index.d.ts +3 -0
- package/dist/plugin/platform/src/plugin/dimension/types/dimension.d.ts +9 -6
- package/dist/plugin/platform/src/plugin/dimension/types/dimensions.d.ts +11 -0
- package/dist/plugin/platform/src/plugin/dimension/types/index.d.ts +2 -2
- package/dist/plugin/platform/src/plugin/platform/constants/index.d.ts +1 -0
- package/dist/plugin/platform/src/plugin/platform/cores/index.d.ts +0 -10
- package/dist/plugin/platform/src/plugin/platform/types/platform.d.ts +3 -19
- package/dist/plugin/platform/src/types/listener-entry.d.ts +6 -0
- package/dist/plugin/platform/src/utils/request.d.ts +1 -0
- package/dist/plugin/theme/index.cjs +51 -204
- package/dist/plugin/theme/index.min.cjs +1 -1
- package/dist/plugin/theme/index.min.mjs +1 -1
- package/dist/plugin/theme/index.mjs +51 -204
- package/dist/plugin/theme/index.umd.js +51 -204
- package/dist/plugin/theme/index.umd.min.js +1 -1
- package/dist/plugin/theme/src/plugin/appearance/constants/index.d.ts +2 -2
- package/dist/plugin/theme/src/plugin/appearance/types/appearance.d.ts +0 -6
- package/dist/plugin/theme/src/plugin/dimension/constants/index.d.ts +3 -0
- package/dist/plugin/theme/src/plugin/dimension/types/dimension.d.ts +9 -6
- package/dist/plugin/theme/src/plugin/dimension/types/dimensions.d.ts +11 -0
- package/dist/plugin/theme/src/plugin/dimension/types/index.d.ts +2 -2
- package/dist/plugin/theme/src/plugin/platform/constants/index.d.ts +1 -0
- package/dist/plugin/theme/src/plugin/platform/cores/index.d.ts +0 -10
- package/dist/plugin/theme/src/plugin/platform/types/platform.d.ts +3 -19
- package/dist/plugin/theme/src/types/listener-entry.d.ts +6 -0
- package/dist/plugin/theme/src/utils/request.d.ts +1 -0
- package/dist/src/plugin/appearance/constants/index.d.ts +2 -2
- package/dist/src/plugin/appearance/types/appearance.d.ts +0 -6
- package/dist/src/plugin/dimension/constants/index.d.ts +3 -0
- package/dist/src/plugin/dimension/types/dimension.d.ts +9 -6
- package/dist/src/plugin/dimension/types/dimensions.d.ts +11 -0
- package/dist/src/plugin/dimension/types/index.d.ts +2 -2
- package/dist/src/plugin/platform/constants/index.d.ts +1 -0
- package/dist/src/plugin/platform/cores/index.d.ts +0 -10
- package/dist/src/plugin/platform/types/platform.d.ts +3 -19
- package/dist/src/types/listener-entry.d.ts +6 -0
- package/dist/src/utils/request.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -27,7 +27,14 @@ declare type NativeBase<Plugins, AssignedConstants extends Record<string, any> =
|
|
|
27
27
|
} & NativePlugins;
|
|
28
28
|
type NativeInstance = NativeBase<NativePlugins, NativeConstants, NativeErrors>;
|
|
29
29
|
|
|
30
|
-
declare const Native:
|
|
30
|
+
declare const Native: {
|
|
31
|
+
Version: string;
|
|
32
|
+
Constants: {};
|
|
33
|
+
Errors: {
|
|
34
|
+
PluginNotExtendedError: ErrorConstructor;
|
|
35
|
+
};
|
|
36
|
+
extends<Key extends string, Module, Constants extends Record<string, any> = Record<string, any>, Errors extends Record<string, ErrorConstructor> = Record<string, ErrorConstructor>>(this: NativeBase<any, any, any>, plugin: NativePlugin<Key, Module, Constants, Errors>): ExtendedNativeBase<Key, Module, Constants, Errors>;
|
|
37
|
+
};
|
|
31
38
|
|
|
32
39
|
export { Native as default };
|
|
33
40
|
export type { ExtendedNativeBase, NativeBase, NativeConstants, NativeErrors, NativeInstance, NativePlugin, NativePlugins };
|
package/dist/native.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var version = "1.0.
|
|
3
|
+
var version = "1.0.83";
|
|
4
4
|
var packageJSON = {
|
|
5
5
|
version: version};
|
|
6
6
|
|
|
@@ -34,7 +34,7 @@ function createCustomError(name, Base) {
|
|
|
34
34
|
else
|
|
35
35
|
error.__proto__ = CustomError.prototype;
|
|
36
36
|
error.name = name;
|
|
37
|
-
if (message !== undefined)
|
|
37
|
+
if (typeof message !== 'undefined')
|
|
38
38
|
error.message = message;
|
|
39
39
|
if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
40
40
|
try {
|
|
@@ -122,7 +122,7 @@ var PluginNotExtendedError = createCustomError('PluginNotExtendedError');
|
|
|
122
122
|
delete Object.prototype.__getGlobalThis__;
|
|
123
123
|
}
|
|
124
124
|
}());
|
|
125
|
-
var Native =
|
|
125
|
+
var Native = {
|
|
126
126
|
Version: packageJSON.version,
|
|
127
127
|
Constants: {},
|
|
128
128
|
Errors: {
|
|
@@ -137,12 +137,6 @@ var Native = new Proxy({
|
|
|
137
137
|
plugin.installed = true;
|
|
138
138
|
return this;
|
|
139
139
|
}
|
|
140
|
-
}
|
|
141
|
-
get: function (target, prop, receiver) {
|
|
142
|
-
if (prop in target)
|
|
143
|
-
return Reflect.get(target, prop, receiver);
|
|
144
|
-
throw new PluginNotExtendedError(prop.toString() + ' is not extended yet. Call Native.extends(plugin) first.');
|
|
145
|
-
}
|
|
146
|
-
});
|
|
140
|
+
};
|
|
147
141
|
|
|
148
142
|
module.exports = Native;
|
package/dist/native.min.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var t="1.0.
|
|
1
|
+
"use strict";var t="1.0.83";function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r=Object(t[0]),o=1;o<t.length;o++){var a=t[o];if(null!=a)for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&"__proto__"!==n&&"constructor"!==n&&"prototype"!==n&&(r[n]=a[n])}return r}var r=function(t,e){function r(o){if(!(this instanceof r))return new r(o);var a=new e(o||"");if("function"==typeof Object.setPrototypeOf?Object.setPrototypeOf(a,r.prototype):a.__proto__=r.prototype,a.name=t,void 0!==o&&(a.message=o),"undefined"!=typeof Symbol&&Symbol.toStringTag)try{Object.defineProperty(a,Symbol.toStringTag,{value:t,writable:!1,enumerable:!1,configurable:!0})}catch(t){}if("function"==typeof Error.captureStackTrace)Error.captureStackTrace(a,r);else if(e.captureStackTrace&&"function"==typeof e.captureStackTrace)e.captureStackTrace(a,r);else try{var n=new e;n.stack&&(a.stack=n.stack)}catch(t){}return a}void 0===e&&(e=Error),r.prototype=Object.create(e.prototype,{constructor:{value:r,writable:!0,enumerable:!1,configurable:!0}});try{Object.defineProperty(r.prototype,"name",{value:t,writable:!0,enumerable:!1,configurable:!0})}catch(e){try{r.prototype.name=t}catch(t){}}try{Object.defineProperty(r,"name",{value:t,writable:!1,enumerable:!1,configurable:!0})}catch(t){}return r}("PluginNotExtendedError");!function(){if("object"!=typeof globalThis){Object.defineProperty(Object.prototype,"__getGlobalThis__",{get:function(){return this},configurable:!0});try{var t=__getGlobalThis__;Object.defineProperty(t,"globalThis",{value:t,writable:!0,configurable:!0})}finally{delete Object.prototype.__getGlobalThis__}}}();var o={Version:t,Constants:{},Errors:{PluginNotExtendedError:r},extends:function(t){return t.installed||(this.Constants=e(this.Constants,t.Constants),this.Errors=e(this.Errors,t.Errors),this[t.name]=t.module,t.installed=!0),this}};module.exports=o;
|
package/dist/native.min.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var t="1.0.
|
|
1
|
+
var t="1.0.83";function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r=Object(t[0]),o=1;o<t.length;o++){var a=t[o];if(null!=a)for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&"__proto__"!==n&&"constructor"!==n&&"prototype"!==n&&(r[n]=a[n])}return r}var r=function(t,e){function r(o){if(!(this instanceof r))return new r(o);var a=new e(o||"");if("function"==typeof Object.setPrototypeOf?Object.setPrototypeOf(a,r.prototype):a.__proto__=r.prototype,a.name=t,void 0!==o&&(a.message=o),"undefined"!=typeof Symbol&&Symbol.toStringTag)try{Object.defineProperty(a,Symbol.toStringTag,{value:t,writable:!1,enumerable:!1,configurable:!0})}catch(t){}if("function"==typeof Error.captureStackTrace)Error.captureStackTrace(a,r);else if(e.captureStackTrace&&"function"==typeof e.captureStackTrace)e.captureStackTrace(a,r);else try{var n=new e;n.stack&&(a.stack=n.stack)}catch(t){}return a}void 0===e&&(e=Error),r.prototype=Object.create(e.prototype,{constructor:{value:r,writable:!0,enumerable:!1,configurable:!0}});try{Object.defineProperty(r.prototype,"name",{value:t,writable:!0,enumerable:!1,configurable:!0})}catch(e){try{r.prototype.name=t}catch(t){}}try{Object.defineProperty(r,"name",{value:t,writable:!1,enumerable:!1,configurable:!0})}catch(t){}return r}("PluginNotExtendedError");!function(){if("object"!=typeof globalThis){Object.defineProperty(Object.prototype,"__getGlobalThis__",{get:function(){return this},configurable:!0});try{var t=__getGlobalThis__;Object.defineProperty(t,"globalThis",{value:t,writable:!0,configurable:!0})}finally{delete Object.prototype.__getGlobalThis__}}}();var o={Version:t,Constants:{},Errors:{PluginNotExtendedError:r},extends:function(t){return t.installed||(this.Constants=e(this.Constants,t.Constants),this.Errors=e(this.Errors,t.Errors),this[t.name]=t.module,t.installed=!0),this}};export{o as default};
|
package/dist/native.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var version = "1.0.
|
|
1
|
+
var version = "1.0.83";
|
|
2
2
|
var packageJSON = {
|
|
3
3
|
version: version};
|
|
4
4
|
|
|
@@ -32,7 +32,7 @@ function createCustomError(name, Base) {
|
|
|
32
32
|
else
|
|
33
33
|
error.__proto__ = CustomError.prototype;
|
|
34
34
|
error.name = name;
|
|
35
|
-
if (message !== undefined)
|
|
35
|
+
if (typeof message !== 'undefined')
|
|
36
36
|
error.message = message;
|
|
37
37
|
if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
38
38
|
try {
|
|
@@ -120,7 +120,7 @@ var PluginNotExtendedError = createCustomError('PluginNotExtendedError');
|
|
|
120
120
|
delete Object.prototype.__getGlobalThis__;
|
|
121
121
|
}
|
|
122
122
|
}());
|
|
123
|
-
var Native =
|
|
123
|
+
var Native = {
|
|
124
124
|
Version: packageJSON.version,
|
|
125
125
|
Constants: {},
|
|
126
126
|
Errors: {
|
|
@@ -135,12 +135,6 @@ var Native = new Proxy({
|
|
|
135
135
|
plugin.installed = true;
|
|
136
136
|
return this;
|
|
137
137
|
}
|
|
138
|
-
}
|
|
139
|
-
get: function (target, prop, receiver) {
|
|
140
|
-
if (prop in target)
|
|
141
|
-
return Reflect.get(target, prop, receiver);
|
|
142
|
-
throw new PluginNotExtendedError(prop.toString() + ' is not extended yet. Call Native.extends(plugin) first.');
|
|
143
|
-
}
|
|
144
|
-
});
|
|
138
|
+
};
|
|
145
139
|
|
|
146
140
|
export { Native as default };
|
package/dist/native.umd.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.Native = factory());
|
|
5
5
|
})(this, (function () { 'use strict';
|
|
6
6
|
|
|
7
|
-
var version = "1.0.
|
|
7
|
+
var version = "1.0.83";
|
|
8
8
|
var packageJSON = {
|
|
9
9
|
version: version};
|
|
10
10
|
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
else
|
|
39
39
|
error.__proto__ = CustomError.prototype;
|
|
40
40
|
error.name = name;
|
|
41
|
-
if (message !== undefined)
|
|
41
|
+
if (typeof message !== 'undefined')
|
|
42
42
|
error.message = message;
|
|
43
43
|
if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
44
44
|
try {
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
delete Object.prototype.__getGlobalThis__;
|
|
127
127
|
}
|
|
128
128
|
}());
|
|
129
|
-
var Native =
|
|
129
|
+
var Native = {
|
|
130
130
|
Version: packageJSON.version,
|
|
131
131
|
Constants: {},
|
|
132
132
|
Errors: {
|
|
@@ -141,13 +141,7 @@
|
|
|
141
141
|
plugin.installed = true;
|
|
142
142
|
return this;
|
|
143
143
|
}
|
|
144
|
-
}
|
|
145
|
-
get: function (target, prop, receiver) {
|
|
146
|
-
if (prop in target)
|
|
147
|
-
return Reflect.get(target, prop, receiver);
|
|
148
|
-
throw new PluginNotExtendedError(prop.toString() + ' is not extended yet. Call Native.extends(plugin) first.');
|
|
149
|
-
}
|
|
150
|
-
});
|
|
144
|
+
};
|
|
151
145
|
|
|
152
146
|
return Native;
|
|
153
147
|
|
package/dist/native.umd.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).Native=t()}(this,(function(){"use strict";var e="1.0.
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).Native=t()}(this,(function(){"use strict";var e="1.0.83";function t(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=Object(e[0]),o=1;o<e.length;o++){var n=e[o];if(null!=n)for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&"__proto__"!==a&&"constructor"!==a&&"prototype"!==a&&(r[a]=n[a])}return r}var r=function(e,t){function r(o){if(!(this instanceof r))return new r(o);var n=new t(o||"");if("function"==typeof Object.setPrototypeOf?Object.setPrototypeOf(n,r.prototype):n.__proto__=r.prototype,n.name=e,void 0!==o&&(n.message=o),"undefined"!=typeof Symbol&&Symbol.toStringTag)try{Object.defineProperty(n,Symbol.toStringTag,{value:e,writable:!1,enumerable:!1,configurable:!0})}catch(e){}if("function"==typeof Error.captureStackTrace)Error.captureStackTrace(n,r);else if(t.captureStackTrace&&"function"==typeof t.captureStackTrace)t.captureStackTrace(n,r);else try{var a=new t;a.stack&&(n.stack=a.stack)}catch(e){}return n}void 0===t&&(t=Error),r.prototype=Object.create(t.prototype,{constructor:{value:r,writable:!0,enumerable:!1,configurable:!0}});try{Object.defineProperty(r.prototype,"name",{value:e,writable:!0,enumerable:!1,configurable:!0})}catch(t){try{r.prototype.name=e}catch(e){}}try{Object.defineProperty(r,"name",{value:e,writable:!1,enumerable:!1,configurable:!0})}catch(e){}return r}("PluginNotExtendedError");return function(){if("object"!=typeof globalThis){Object.defineProperty(Object.prototype,"__getGlobalThis__",{get:function(){return this},configurable:!0});try{var e=__getGlobalThis__;Object.defineProperty(e,"globalThis",{value:e,writable:!0,configurable:!0})}finally{delete Object.prototype.__getGlobalThis__}}}(),{Version:e,Constants:{},Errors:{PluginNotExtendedError:r},extends:function(e){return e.installed||(this.Constants=t(this.Constants,e.Constants),this.Errors=t(this.Errors,e.Errors),this[e.name]=e.module,e.installed=!0),this}}}));
|