UNPKG

@copilotkit/react-core

Version:

<img src="https://github.com/user-attachments/assets/0a6b64d9-e193-4940-a3f6-60334ac34084" alt="banner" style="border-radius: 12px; border: 2px solid #d6d4fa;" />

3 lines (2 loc) 1.18 kB
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@copilotkitnext/core"),require("@copilotkitnext/react")):"function"==typeof define&&define.amd?define(["exports","@copilotkitnext/core","@copilotkitnext/react"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).CopilotKitReactCoreV2={},e.CopilotKitNextCore,e.CopilotKitNextReact)}(this,function(e,t,o){"use strict";!function(e,t){void 0===t&&(t={});var o=t.insertAt;if("undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css","top"===o&&i.firstChild?i.insertBefore(n,i.firstChild):i.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}}('@import "@copilotkitnext/react/styles.css";'),Object.keys(t).forEach(function(o){"default"===o||Object.prototype.hasOwnProperty.call(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[o]}})}),Object.keys(o).forEach(function(t){"default"===t||Object.prototype.hasOwnProperty.call(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}})})}); //# sourceMappingURL=index.umd.js.map