ai-ebm-assistant-v4 0.0.2 → 0.0.4
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/README.md
CHANGED
|
@@ -1 +1,119 @@
|
|
|
1
|
-
#
|
|
1
|
+
# EBM AI Assistant
|
|
2
|
+
|
|
3
|
+
## Project Description
|
|
4
|
+
EBM AI Assistant is a clinical decision support system that provides AI-powered Evidence-Based Medicine (EBM) recommendations directly within physician workflows during active patient encounters. It's built on top of Vite, React, and MUI library.
|
|
5
|
+
|
|
6
|
+
## Setup
|
|
7
|
+
|
|
8
|
+
### Prerequisites
|
|
9
|
+
- Node.js (v20)
|
|
10
|
+
- npm or yarn
|
|
11
|
+
|
|
12
|
+
### Installation
|
|
13
|
+
|
|
14
|
+
1. Clone the repository:
|
|
15
|
+
```bash
|
|
16
|
+
git clone <repository_url>
|
|
17
|
+
cd emb-ai
|
|
18
|
+
```
|
|
19
|
+
2. Install dependencies:
|
|
20
|
+
```bash
|
|
21
|
+
npm install
|
|
22
|
+
# or yarn install
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Available Scripts
|
|
26
|
+
|
|
27
|
+
In the project directory, you can run:
|
|
28
|
+
|
|
29
|
+
### `npm run dev`
|
|
30
|
+
Runs the app in development mode.
|
|
31
|
+
Open [http://localhost:5173](http://localhost:5173) to view it in the browser.
|
|
32
|
+
|
|
33
|
+
The page will reload if you make edits.
|
|
34
|
+
You will also see any lint errors in the console.
|
|
35
|
+
|
|
36
|
+
### `npm run build`
|
|
37
|
+
Builds the app for production to the `dist` folder.
|
|
38
|
+
It correctly bundles Preact in production mode and optimizes the build for the best performance.
|
|
39
|
+
|
|
40
|
+
The build is minified and the filenames include the hashes.
|
|
41
|
+
Your app is ready to be deployed!
|
|
42
|
+
|
|
43
|
+
### `npm run preview`
|
|
44
|
+
Locally previews the production build.
|
|
45
|
+
|
|
46
|
+
### `npm run generate`
|
|
47
|
+
Runs Plop to generate new components or atoms based on templates.
|
|
48
|
+
|
|
49
|
+
## Technologies Used
|
|
50
|
+
|
|
51
|
+
- **React**: A JavaScript library for building user interfaces, maintained by Facebook and a community of individual developers and companies.
|
|
52
|
+
- **Vite**: A next-generation frontend tooling that provides an extremely fast development experience.
|
|
53
|
+
- **Axios**: Promise-based HTTP client for the browser and Node.js.
|
|
54
|
+
- **Node.js**: JavaScript runtime environment(v20).
|
|
55
|
+
- **npm / Yarn**: Package managers for JavaScript.
|
|
56
|
+
|
|
57
|
+
## Publishing to NPM
|
|
58
|
+
|
|
59
|
+
This project's components are designed to be published as an NPM package. There are two primary ways to publish updates:
|
|
60
|
+
|
|
61
|
+
### Manual Publishing
|
|
62
|
+
|
|
63
|
+
Follow these steps for a manual publishing process:
|
|
64
|
+
|
|
65
|
+
1. **Build and Commit**: First, build the library and commit your changes.
|
|
66
|
+
```bash
|
|
67
|
+
npm run build
|
|
68
|
+
git add .
|
|
69
|
+
git commit -m 'Your descriptive commit message'
|
|
70
|
+
```
|
|
71
|
+
2. **Update Version**: Increment the package version using one of the following commands:
|
|
72
|
+
- `npm version patch`: For bug fixes.
|
|
73
|
+
- `npm version minor`: For a new component addition.
|
|
74
|
+
- `npm version major`: For a completed feature.
|
|
75
|
+
3. **NPM Login**: Log in to your NPM account (if not already logged in).
|
|
76
|
+
```bash
|
|
77
|
+
npm login
|
|
78
|
+
```
|
|
79
|
+
4. **Publish**: Publish the package to NPM.
|
|
80
|
+
```bash
|
|
81
|
+
npm publish --access public
|
|
82
|
+
```
|
|
83
|
+
5. **Verify**: Check the version update on the NPM website after publishing.
|
|
84
|
+
|
|
85
|
+
### Automated Publishing with `publish.sh`
|
|
86
|
+
|
|
87
|
+
To automate the publishing process, you can use the provided `publish.sh` script. This script handles installing dependencies, committing changes (with a message like "Release: EBM AI Assistant package <version>"), updating the package version (patch, minor, or major based on your input), building the library, logging into NPM (using environment variables), and publishing the package.
|
|
88
|
+
|
|
89
|
+
1. **Set NPM Credentials (Securely!)**: Before running the script, ensure your NPM username, password, and email are set as environment variables. **DO NOT hardcode them in the script or commit them to version control.**
|
|
90
|
+
|
|
91
|
+
For persistent setup, add these to your shell's profile file (e.g., `~/.bashrc`, `~/.zshrc`, or system environment variables on Windows).
|
|
92
|
+
|
|
93
|
+
2. **Run the Publish Script**: Execute the `publish.sh` script with the desired version type (patch, minor, or major).
|
|
94
|
+
```bash
|
|
95
|
+
./publish.sh <version_type>
|
|
96
|
+
```
|
|
97
|
+
*Example: `./publish.sh patch`*
|
|
98
|
+
|
|
99
|
+
3. **Verify**: Check the version update on the NPM website after publishing.
|
|
100
|
+
|
|
101
|
+
For more details on manual publishing, refer to the [NPM documentation](https://docs.npmjs.com/creating-and-publishing-scoped-public-packages).
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
## Project Structure (Initial Observations)
|
|
105
|
+
- `src/`: Contains the main application source code.
|
|
106
|
+
- `app.jsx`: Serves as a playground for developing and testing components in isolation before they are packaged for NPM. It's where new components are integrated and demonstrated.
|
|
107
|
+
- `main.jsx`: Main application entry point for the development server.
|
|
108
|
+
- `components/`: Reusable UI components, intended to be part of the published NPM package.
|
|
109
|
+
- `aiAssistant/`: A significant part of the application, likely an AI-powered chat or assistant interface.
|
|
110
|
+
- `atoms/`: Potentially smaller, more granular components or state management entities.
|
|
111
|
+
- `assets/`: Static assets like images or SVGs.
|
|
112
|
+
- `store/`: Suggests state management (e.g., Zustand, Redux, Context API).
|
|
113
|
+
- `plop-templates/`: Templates for generating new code using Plop.
|
|
114
|
+
- `dist/`: Output directory for production builds.
|
|
115
|
+
- `vite.config.js`: Vite configuration file.
|
|
116
|
+
- `package.json`: Project dependencies and scripts.
|
|
117
|
+
|
|
118
|
+
## Vite Library Mode
|
|
119
|
+
This project leverages Vite's library mode (`vite build --watch --mode library`) to build components into a shareable NPM package. This configuration optimizes the output for library consumption, making it easy to integrate these components into other projects. The `app.jsx` serves as a development playground to test these components during their creation.
|
|
@@ -22654,11 +22654,15 @@ function require_domCreate() {
|
|
|
22654
22654
|
return n ? t.createElement(Be) : {};
|
|
22655
22655
|
}, _domCreate;
|
|
22656
22656
|
}
|
|
22657
|
-
var _ie8DomDefine
|
|
22658
|
-
|
|
22659
|
-
|
|
22660
|
-
|
|
22661
|
-
|
|
22657
|
+
var _ie8DomDefine, hasRequired_ie8DomDefine;
|
|
22658
|
+
function require_ie8DomDefine() {
|
|
22659
|
+
return hasRequired_ie8DomDefine || (hasRequired_ie8DomDefine = 1, _ie8DomDefine = !require_descriptors() && !_fails(function() {
|
|
22660
|
+
return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
|
|
22661
|
+
return 7;
|
|
22662
|
+
} }).a != 7;
|
|
22663
|
+
})), _ie8DomDefine;
|
|
22664
|
+
}
|
|
22665
|
+
var isObject$3 = _isObject, _toPrimitive = function(e, t) {
|
|
22662
22666
|
if (!isObject$3(e))
|
|
22663
22667
|
return e;
|
|
22664
22668
|
var n, Be;
|
|
@@ -22670,7 +22674,7 @@ function require_objectDp() {
|
|
|
22670
22674
|
if (hasRequired_objectDp)
|
|
22671
22675
|
return _objectDp;
|
|
22672
22676
|
hasRequired_objectDp = 1;
|
|
22673
|
-
var e = _anObject, t =
|
|
22677
|
+
var e = _anObject, t = require_ie8DomDefine(), n = _toPrimitive, Be = Object.defineProperty;
|
|
22674
22678
|
return _objectDp.f = require_descriptors() ? Object.defineProperty : function(Ee, Oe, Re) {
|
|
22675
22679
|
if (e(Ee), Oe = n(Oe, !0), e(Re), t)
|
|
22676
22680
|
try {
|
|
@@ -22689,14 +22693,14 @@ var _propertyDesc = function(e, t) {
|
|
|
22689
22693
|
writable: !(e & 4),
|
|
22690
22694
|
value: t
|
|
22691
22695
|
};
|
|
22692
|
-
}, dP$
|
|
22693
|
-
return dP$
|
|
22696
|
+
}, dP$1 = require_objectDp(), createDesc$2 = _propertyDesc, _hide = require_descriptors() ? function(e, t, n) {
|
|
22697
|
+
return dP$1.f(e, t, createDesc$2(1, n));
|
|
22694
22698
|
} : function(e, t, n) {
|
|
22695
22699
|
return e[t] = n, e;
|
|
22696
22700
|
}, hasOwnProperty$1 = {}.hasOwnProperty, _has$1 = function(e, t) {
|
|
22697
22701
|
return hasOwnProperty$1.call(e, t);
|
|
22698
|
-
}, global$4 = _globalExports, core$3 = _coreExports, ctx = _ctx, hide$2 = _hide, has$6 = _has$1, PROTOTYPE$
|
|
22699
|
-
var Be = e & $export$7.F, Ce = e & $export$7.G, Ee = e & $export$7.S, Oe = e & $export$7.P, Re = e & $export$7.B, Te = e & $export$7.W, Ue = Ce ? core$3 : core$3[t] || (core$3[t] = {}), Qe = Ue[PROTOTYPE$
|
|
22702
|
+
}, global$4 = _globalExports, core$3 = _coreExports, ctx = _ctx, hide$2 = _hide, has$6 = _has$1, PROTOTYPE$1 = "prototype", $export$7 = function(e, t, n) {
|
|
22703
|
+
var Be = e & $export$7.F, Ce = e & $export$7.G, Ee = e & $export$7.S, Oe = e & $export$7.P, Re = e & $export$7.B, Te = e & $export$7.W, Ue = Ce ? core$3 : core$3[t] || (core$3[t] = {}), Qe = Ue[PROTOTYPE$1], Me = Ce ? global$4 : Ee ? global$4[t] : (global$4[t] || {})[PROTOTYPE$1], He, De, Ve;
|
|
22700
22704
|
Ce && (n = t);
|
|
22701
22705
|
for (He in n)
|
|
22702
22706
|
De = !Be && Me && Me[He] !== void 0, !(De && has$6(Ue, He)) && (Ve = De ? Me[He] : n[He], Ue[He] = Ce && typeof Me[He] != "function" ? n[He] : Re && De ? ctx(Ve, global$4) : Te && Me[He] == Ve ? function(Ge) {
|
|
@@ -22714,7 +22718,7 @@ var _propertyDesc = function(e, t) {
|
|
|
22714
22718
|
}
|
|
22715
22719
|
return Ge.apply(this, arguments);
|
|
22716
22720
|
};
|
|
22717
|
-
return Ke[PROTOTYPE$
|
|
22721
|
+
return Ke[PROTOTYPE$1] = Ge[PROTOTYPE$1], Ke;
|
|
22718
22722
|
}(Ve) : Oe && typeof Ve == "function" ? ctx(Function.call, Ve) : Ve, Oe && ((Ue.virtual || (Ue.virtual = {}))[He] = Ve, e & $export$7.R && Qe && !Qe[He] && hide$2(Qe, He, Ve)));
|
|
22719
22723
|
};
|
|
22720
22724
|
$export$7.F = 1;
|
|
@@ -22774,19 +22778,21 @@ var _sharedExports = _shared.exports, id$1 = 0, px = Math.random(), _uid = funct
|
|
|
22774
22778
|
return "Symbol(".concat(e === void 0 ? "" : e, ")_", (++id$1 + px).toString(36));
|
|
22775
22779
|
}, shared$1 = _sharedExports("keys"), uid$2 = _uid, _sharedKey = function(e) {
|
|
22776
22780
|
return shared$1[e] || (shared$1[e] = uid$2(e));
|
|
22777
|
-
}, has$5 = _has$1, toIObject$4 = _toIobject, arrayIndexOf = _arrayIncludes(!1), IE_PROTO$
|
|
22781
|
+
}, has$5 = _has$1, toIObject$4 = _toIobject, arrayIndexOf = _arrayIncludes(!1), IE_PROTO$1 = _sharedKey("IE_PROTO"), _objectKeysInternal = function(e, t) {
|
|
22778
22782
|
var n = toIObject$4(e), Be = 0, Ce = [], Ee;
|
|
22779
22783
|
for (Ee in n)
|
|
22780
|
-
Ee != IE_PROTO$
|
|
22784
|
+
Ee != IE_PROTO$1 && has$5(n, Ee) && Ce.push(Ee);
|
|
22781
22785
|
for (; t.length > Be; )
|
|
22782
22786
|
has$5(n, Ee = t[Be++]) && (~arrayIndexOf(Ce, Ee) || Ce.push(Ee));
|
|
22783
22787
|
return Ce;
|
|
22784
|
-
}, _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","), $keys$
|
|
22785
|
-
return $keys$
|
|
22788
|
+
}, _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","), $keys$2 = _objectKeysInternal, enumBugKeys = _enumBugKeys, _objectKeys = Object.keys || function(t) {
|
|
22789
|
+
return $keys$2(t, enumBugKeys);
|
|
22786
22790
|
}, _objectGops = {};
|
|
22787
22791
|
_objectGops.f = Object.getOwnPropertySymbols;
|
|
22788
|
-
var _objectPie = {};
|
|
22789
|
-
|
|
22792
|
+
var _objectPie = {}, hasRequired_objectPie;
|
|
22793
|
+
function require_objectPie() {
|
|
22794
|
+
return hasRequired_objectPie || (hasRequired_objectPie = 1, _objectPie.f = {}.propertyIsEnumerable), _objectPie;
|
|
22795
|
+
}
|
|
22790
22796
|
var defined$1 = _defined, _toObject = function(e) {
|
|
22791
22797
|
return Object(defined$1(e));
|
|
22792
22798
|
}, _objectAssign, hasRequired_objectAssign;
|
|
@@ -22794,7 +22800,7 @@ function require_objectAssign() {
|
|
|
22794
22800
|
if (hasRequired_objectAssign)
|
|
22795
22801
|
return _objectAssign;
|
|
22796
22802
|
hasRequired_objectAssign = 1;
|
|
22797
|
-
var e = require_descriptors(), t = _objectKeys, n = _objectGops, Be =
|
|
22803
|
+
var e = require_descriptors(), t = _objectKeys, n = _objectGops, Be = require_objectPie(), Ce = _toObject, Ee = require_iobject(), Oe = Object.assign;
|
|
22798
22804
|
return _objectAssign = !Oe || _fails(function() {
|
|
22799
22805
|
var Re = {}, Te = {}, Ue = Symbol(), Qe = "abcdefghijklmnopqrst";
|
|
22800
22806
|
return Re[Ue] = 7, Qe.split("").forEach(function(Me) {
|
|
@@ -22823,8 +22829,8 @@ _extends.default = _assign2.default || function(e) {
|
|
|
22823
22829
|
}
|
|
22824
22830
|
return e;
|
|
22825
22831
|
};
|
|
22826
|
-
var has$4 = _has$1, toObject$2 = _toObject, IE_PROTO
|
|
22827
|
-
return e = toObject$2(e), has$4(e, IE_PROTO
|
|
22832
|
+
var has$4 = _has$1, toObject$2 = _toObject, IE_PROTO = _sharedKey("IE_PROTO"), ObjectProto$1 = Object.prototype, _objectGpo = Object.getPrototypeOf || function(e) {
|
|
22833
|
+
return e = toObject$2(e), has$4(e, IE_PROTO) ? e[IE_PROTO] : typeof e.constructor == "function" && e instanceof e.constructor ? e.constructor.prototype : e instanceof Object ? ObjectProto$1 : null;
|
|
22828
22834
|
}, $export$5 = _export, core$1 = _coreExports, fails = _fails, _objectSap = function(e, t) {
|
|
22829
22835
|
var n = (core$1.Object || {})[e] || Object[e], Be = {};
|
|
22830
22836
|
Be[e] = t(n), $export$5($export$5.S + $export$5.F * fails(function() {
|
|
@@ -22868,12 +22874,20 @@ var possibleConstructorReturn = {}, _typeof$1 = {}, toInteger = _toInteger, defi
|
|
|
22868
22874
|
var Be = String(defined(t)), Ce = toInteger(n), Ee = Be.length, Oe, Re;
|
|
22869
22875
|
return Ce < 0 || Ce >= Ee ? e ? "" : void 0 : (Oe = Be.charCodeAt(Ce), Oe < 55296 || Oe > 56319 || Ce + 1 === Ee || (Re = Be.charCodeAt(Ce + 1)) < 56320 || Re > 57343 ? e ? Be.charAt(Ce) : Oe : e ? Be.slice(Ce, Ce + 2) : (Oe - 55296 << 10) + (Re - 56320) + 65536);
|
|
22870
22876
|
};
|
|
22871
|
-
}, _redefine = _hide, _iterators = {},
|
|
22872
|
-
|
|
22873
|
-
|
|
22874
|
-
|
|
22875
|
-
|
|
22876
|
-
|
|
22877
|
+
}, _redefine = _hide, _iterators = {}, _objectDps, hasRequired_objectDps;
|
|
22878
|
+
function require_objectDps() {
|
|
22879
|
+
if (hasRequired_objectDps)
|
|
22880
|
+
return _objectDps;
|
|
22881
|
+
hasRequired_objectDps = 1;
|
|
22882
|
+
var e = require_objectDp(), t = _anObject, n = _objectKeys;
|
|
22883
|
+
return _objectDps = require_descriptors() ? Object.defineProperties : function(Ce, Ee) {
|
|
22884
|
+
t(Ce);
|
|
22885
|
+
for (var Oe = n(Ee), Re = Oe.length, Te = 0, Ue; Re > Te; )
|
|
22886
|
+
e.f(Ce, Ue = Oe[Te++], Ee[Ue]);
|
|
22887
|
+
return Ce;
|
|
22888
|
+
}, _objectDps;
|
|
22889
|
+
}
|
|
22890
|
+
var _html, hasRequired_html;
|
|
22877
22891
|
function require_html() {
|
|
22878
22892
|
if (hasRequired_html)
|
|
22879
22893
|
return _html;
|
|
@@ -22881,22 +22895,30 @@ function require_html() {
|
|
|
22881
22895
|
var e = _globalExports.document;
|
|
22882
22896
|
return _html = e && e.documentElement, _html;
|
|
22883
22897
|
}
|
|
22884
|
-
var
|
|
22885
|
-
|
|
22886
|
-
|
|
22887
|
-
|
|
22888
|
-
|
|
22889
|
-
|
|
22890
|
-
},
|
|
22891
|
-
|
|
22892
|
-
|
|
22893
|
-
|
|
22898
|
+
var _objectCreate, hasRequired_objectCreate;
|
|
22899
|
+
function require_objectCreate() {
|
|
22900
|
+
if (hasRequired_objectCreate)
|
|
22901
|
+
return _objectCreate;
|
|
22902
|
+
hasRequired_objectCreate = 1;
|
|
22903
|
+
var e = _anObject, t = require_objectDps(), n = _enumBugKeys, Be = _sharedKey("IE_PROTO"), Ce = function() {
|
|
22904
|
+
}, Ee = "prototype", Oe = function() {
|
|
22905
|
+
var Re = require_domCreate()("iframe"), Te = n.length, Ue = "<", Qe = ">", Me;
|
|
22906
|
+
for (Re.style.display = "none", require_html().appendChild(Re), Re.src = "javascript:", Me = Re.contentWindow.document, Me.open(), Me.write(Ue + "script" + Qe + "document.F=Object" + Ue + "/script" + Qe), Me.close(), Oe = Me.F; Te--; )
|
|
22907
|
+
delete Oe[Ee][n[Te]];
|
|
22908
|
+
return Oe();
|
|
22909
|
+
};
|
|
22910
|
+
return _objectCreate = Object.create || function(Te, Ue) {
|
|
22911
|
+
var Qe;
|
|
22912
|
+
return Te !== null ? (Ce[Ee] = e(Te), Qe = new Ce(), Ce[Ee] = null, Qe[Be] = Te) : Qe = Oe(), Ue === void 0 ? Qe : t(Qe, Ue);
|
|
22913
|
+
}, _objectCreate;
|
|
22914
|
+
}
|
|
22915
|
+
var _wks = { exports: {} }, store = _sharedExports("wks"), uid$1 = _uid, Symbol$1 = _globalExports.Symbol, USE_SYMBOL = typeof Symbol$1 == "function", $exports = _wks.exports = function(e) {
|
|
22894
22916
|
return store[e] || (store[e] = USE_SYMBOL && Symbol$1[e] || (USE_SYMBOL ? Symbol$1 : uid$1)("Symbol." + e));
|
|
22895
22917
|
};
|
|
22896
22918
|
$exports.store = store;
|
|
22897
22919
|
var _wksExports = _wks.exports, def = require_objectDp().f, has$3 = _has$1, TAG = _wksExports("toStringTag"), _setToStringTag = function(e, t, n) {
|
|
22898
22920
|
e && !has$3(e = n ? e : e.prototype, TAG) && def(e, TAG, { configurable: !0, value: t });
|
|
22899
|
-
}, create$2 =
|
|
22921
|
+
}, create$2 = require_objectCreate(), descriptor = _propertyDesc, setToStringTag$2 = _setToStringTag, IteratorPrototype = {};
|
|
22900
22922
|
_hide(IteratorPrototype, _wksExports("iterator"), function() {
|
|
22901
22923
|
return this;
|
|
22902
22924
|
});
|
|
@@ -23002,7 +23024,7 @@ var iterator$2 = _wksExt.f("iterator"), iterator$1 = { default: iterator$2, __es
|
|
|
23002
23024
|
}, _metaExports = _meta.exports, core = _coreExports, wksExt$1 = _wksExt, defineProperty = require_objectDp().f, _wksDefine = function(e) {
|
|
23003
23025
|
var t = core.Symbol || (core.Symbol = {});
|
|
23004
23026
|
e.charAt(0) != "_" && !(e in t) && defineProperty(t, e, { value: wksExt$1.f(e) });
|
|
23005
|
-
}, getKeys = _objectKeys, gOPS = _objectGops, pIE$1 =
|
|
23027
|
+
}, getKeys = _objectKeys, gOPS = _objectGops, pIE$1 = require_objectPie(), _enumKeys = function(e) {
|
|
23006
23028
|
var t = getKeys(e), n = gOPS.f;
|
|
23007
23029
|
if (n)
|
|
23008
23030
|
for (var Be = n(e), Ce = pIE$1.f, Ee = 0, Oe; Be.length > Ee; )
|
|
@@ -23010,17 +23032,11 @@ var iterator$2 = _wksExt.f("iterator"), iterator$1 = { default: iterator$2, __es
|
|
|
23010
23032
|
return t;
|
|
23011
23033
|
}, cof = _cof, _isArray = Array.isArray || function(t) {
|
|
23012
23034
|
return cof(t) == "Array";
|
|
23013
|
-
}, _objectGopnExt = {}, _objectGopn = {},
|
|
23014
|
-
function
|
|
23015
|
-
|
|
23016
|
-
|
|
23017
|
-
|
|
23018
|
-
var e = _objectKeysInternal, t = _enumBugKeys.concat("length", "prototype");
|
|
23019
|
-
return _objectGopn.f = Object.getOwnPropertyNames || function(Be) {
|
|
23020
|
-
return e(Be, t);
|
|
23021
|
-
}, _objectGopn;
|
|
23022
|
-
}
|
|
23023
|
-
var toIObject$2 = _toIobject, gOPN$1 = require_objectGopn().f, toString$3 = {}.toString, windowNames = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [], getWindowNames = function(e) {
|
|
23035
|
+
}, _objectGopnExt = {}, _objectGopn = {}, $keys$1 = _objectKeysInternal, hiddenKeys = _enumBugKeys.concat("length", "prototype");
|
|
23036
|
+
_objectGopn.f = Object.getOwnPropertyNames || function(t) {
|
|
23037
|
+
return $keys$1(t, hiddenKeys);
|
|
23038
|
+
};
|
|
23039
|
+
var toIObject$2 = _toIobject, gOPN$1 = _objectGopn.f, toString$3 = {}.toString, windowNames = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [], getWindowNames = function(e) {
|
|
23024
23040
|
try {
|
|
23025
23041
|
return gOPN$1(e);
|
|
23026
23042
|
} catch {
|
|
@@ -23030,7 +23046,7 @@ var toIObject$2 = _toIobject, gOPN$1 = require_objectGopn().f, toString$3 = {}.t
|
|
|
23030
23046
|
_objectGopnExt.f = function(t) {
|
|
23031
23047
|
return windowNames && toString$3.call(t) == "[object Window]" ? getWindowNames(t) : gOPN$1(toIObject$2(t));
|
|
23032
23048
|
};
|
|
23033
|
-
var _objectGopd = {}, pIE =
|
|
23049
|
+
var _objectGopd = {}, pIE = require_objectPie(), createDesc$1 = _propertyDesc, toIObject$1 = _toIobject, toPrimitive$1 = _toPrimitive, has$1 = _has$1, IE8_DOM_DEFINE = require_ie8DomDefine(), gOPD$1 = Object.getOwnPropertyDescriptor;
|
|
23034
23050
|
_objectGopd.f = require_descriptors() ? gOPD$1 : function(t, n) {
|
|
23035
23051
|
if (t = toIObject$1(t), n = toPrimitive$1(n, !0), IE8_DOM_DEFINE)
|
|
23036
23052
|
try {
|
|
@@ -23040,7 +23056,7 @@ _objectGopd.f = require_descriptors() ? gOPD$1 : function(t, n) {
|
|
|
23040
23056
|
if (has$1(t, n))
|
|
23041
23057
|
return createDesc$1(!pIE.f.call(t, n), t[n]);
|
|
23042
23058
|
};
|
|
23043
|
-
var global$1 = _globalExports, has = _has$1, DESCRIPTORS = require_descriptors(), $export$2 = _export, redefine = _redefine, META = _metaExports.KEY, $fails = _fails, shared = _sharedExports, setToStringTag = _setToStringTag, uid = _uid, wks = _wksExports, wksExt = _wksExt, wksDefine = _wksDefine, enumKeys = _enumKeys, isArray$1 = _isArray, anObject = _anObject, isObject$1 = _isObject, toObject = _toObject, toIObject = _toIobject, toPrimitive = _toPrimitive, createDesc = _propertyDesc, _create$1 =
|
|
23059
|
+
var global$1 = _globalExports, has = _has$1, DESCRIPTORS = require_descriptors(), $export$2 = _export, redefine = _redefine, META = _metaExports.KEY, $fails = _fails, shared = _sharedExports, setToStringTag = _setToStringTag, uid = _uid, wks = _wksExports, wksExt = _wksExt, wksDefine = _wksDefine, enumKeys = _enumKeys, isArray$1 = _isArray, anObject = _anObject, isObject$1 = _isObject, toObject = _toObject, toIObject = _toIobject, toPrimitive = _toPrimitive, createDesc = _propertyDesc, _create$1 = require_objectCreate(), gOPNExt = _objectGopnExt, $GOPD = _objectGopd, $GOPS = _objectGops, $DP = require_objectDp(), $keys = _objectKeys, gOPD = $GOPD.f, dP = $DP.f, gOPN = gOPNExt.f, $Symbol = global$1.Symbol, $JSON = global$1.JSON, _stringify = $JSON && $JSON.stringify, PROTOTYPE = "prototype", HIDDEN = wks("_hidden"), TO_PRIMITIVE = wks("toPrimitive"), isEnum = {}.propertyIsEnumerable, SymbolRegistry = shared("symbol-registry"), AllSymbols = shared("symbols"), OPSymbols = shared("op-symbols"), ObjectProto = Object[PROTOTYPE], USE_NATIVE = typeof $Symbol == "function" && !!$GOPS.f, QObject = global$1.QObject, setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild, setSymbolDesc = DESCRIPTORS && $fails(function() {
|
|
23044
23060
|
return _create$1(dP({}, "a", {
|
|
23045
23061
|
get: function() {
|
|
23046
23062
|
return dP(this, "a", { value: 7 }).a;
|
|
@@ -23091,7 +23107,7 @@ USE_NATIVE || ($Symbol = function() {
|
|
|
23091
23107
|
return DESCRIPTORS && setter && setSymbolDesc(ObjectProto, t, { configurable: !0, set: n }), wrap(t);
|
|
23092
23108
|
}, redefine($Symbol[PROTOTYPE], "toString", function() {
|
|
23093
23109
|
return this._k;
|
|
23094
|
-
}), $GOPD.f = $getOwnPropertyDescriptor, $DP.f = $defineProperty,
|
|
23110
|
+
}), $GOPD.f = $getOwnPropertyDescriptor, $DP.f = $defineProperty, _objectGopn.f = gOPNExt.f = $getOwnPropertyNames, require_objectPie().f = $propertyIsEnumerable, $GOPS.f = $getOwnPropertySymbols, DESCRIPTORS && !_library && redefine(ObjectProto, "propertyIsEnumerable", $propertyIsEnumerable), wksExt.f = function(e) {
|
|
23095
23111
|
return wrap(wks(e));
|
|
23096
23112
|
});
|
|
23097
23113
|
$export$2($export$2.G + $export$2.W + $export$2.F * !USE_NATIVE, { Symbol: $Symbol });
|
|
@@ -23218,7 +23234,7 @@ function require_setProto() {
|
|
|
23218
23234
|
var $export$1 = _export;
|
|
23219
23235
|
$export$1($export$1.S, "Object", { setPrototypeOf: require_setProto().set });
|
|
23220
23236
|
var setPrototypeOf$1 = _coreExports.Object.setPrototypeOf, setPrototypeOf = { default: setPrototypeOf$1, __esModule: !0 }, $export = _export;
|
|
23221
|
-
$export($export.S, "Object", { create:
|
|
23237
|
+
$export($export.S, "Object", { create: require_objectCreate() });
|
|
23222
23238
|
var $Object = _coreExports.Object, create$1 = function(t, n) {
|
|
23223
23239
|
return $Object.create(t, n);
|
|
23224
23240
|
}, create = { default: create$1, __esModule: !0 };
|
|
@@ -58479,7 +58495,7 @@ function(e) {
|
|
|
58479
58495
|
}, e.loadImageFile = e.loadFile;
|
|
58480
58496
|
}(E.API), function(e) {
|
|
58481
58497
|
function t() {
|
|
58482
|
-
return (i.html2canvas ? Promise.resolve(i.html2canvas) : import("./html2canvas-
|
|
58498
|
+
return (i.html2canvas ? Promise.resolve(i.html2canvas) : import("./html2canvas-3b38ef8e.mjs").then((Re) => Re.h)).catch(function(Re) {
|
|
58483
58499
|
return Promise.reject(new Error("Could not load html2canvas: " + Re));
|
|
58484
58500
|
}).then(function(Re) {
|
|
58485
58501
|
return Re.default ? Re.default : Re;
|
|
@@ -59224,7 +59240,7 @@ function(e) {
|
|
|
59224
59240
|
var Ue = Te.getContext("2d");
|
|
59225
59241
|
Ue.fillStyle = "#fff", Ue.fillRect(0, 0, Te.width, Te.height);
|
|
59226
59242
|
var Qe = { ignoreMouse: !0, ignoreAnimation: !0, ignoreDimensions: !0 }, Me = this;
|
|
59227
|
-
return (i.canvg ? Promise.resolve(i.canvg) : import("./index.es-
|
|
59243
|
+
return (i.canvg ? Promise.resolve(i.canvg) : import("./index.es-dece7877.mjs")).catch(function(He) {
|
|
59228
59244
|
return Promise.reject(new Error("Could not load canvg: " + He));
|
|
59229
59245
|
}).then(function(He) {
|
|
59230
59246
|
return He.default ? He.default : He;
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-ebm-assistant-v4",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.4",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"react-icons": "^4.7.1",
|
|
40
40
|
"react-lottie": "^1.2.10"
|
|
41
41
|
},
|
|
42
|
-
"peerDependencies":{
|
|
42
|
+
"peerDependencies": {
|
|
43
43
|
"react": "^18.2.0",
|
|
44
44
|
"react-dom": "^18.2.0"
|
|
45
45
|
},
|