/*
 * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
 * This devtool is neither made for production nor for readable output files.
 * It uses "eval()" calls to create a separate source file in the browser devtools.
 * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
 * or disable the default devtool with "devtool: false".
 * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
 */
/******/ (() => { // webpackBootstrap
/******/ 	"use strict";
/******/ 	var __webpack_modules__ = ({

/***/ "./assets/src/ai/app.vue":
/*!*******************************!*\
  !*** ./assets/src/ai/app.vue ***!
  \*******************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _app_vue_vue_type_template_id_6dfaf433__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./app.vue?vue&type=template&id=6dfaf433 */ \"./assets/src/ai/app.vue?vue&type=template&id=6dfaf433\");\n/* harmony import */ var _app_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./app.vue?vue&type=script&lang=js */ \"./assets/src/ai/app.vue?vue&type=script&lang=js\");\n/* harmony import */ var _app_vue_vue_type_style_index_0_id_6dfaf433_lang_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./app.vue?vue&type=style&index=0&id=6dfaf433&lang=scss */ \"./assets/src/ai/app.vue?vue&type=style&index=0&id=6dfaf433&lang=scss\");\n/* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ \"./node_modules/vue-loader/lib/runtime/componentNormalizer.js\");\n\n\n\n;\n\n\n/* normalize component */\n\nvar component = (0,_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(\n  _app_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n  _app_vue_vue_type_template_id_6dfaf433__WEBPACK_IMPORTED_MODULE_0__.render,\n  _app_vue_vue_type_template_id_6dfaf433__WEBPACK_IMPORTED_MODULE_0__.staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\n/* hot reload */\nif (false) { var api; }\ncomponent.options.__file = \"assets/src/ai/app.vue\"\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (component.exports);\n\n//# sourceURL=webpack://uicore-framework/./assets/src/ai/app.vue?");

/***/ }),

/***/ "./assets/src/ai/app.vue?vue&type=script&lang=js":
/*!*******************************************************!*\
  !*** ./assets/src/ai/app.vue?vue&type=script&lang=js ***!
  \*******************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _node_modules_babel_loader_lib_index_js_clonedRuleSet_1_use_node_modules_vue_loader_lib_index_js_vue_loader_options_app_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./app.vue?vue&type=script&lang=js */ \"./node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/lib/index.js??vue-loader-options!./assets/src/ai/app.vue?vue&type=script&lang=js\");\n /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_babel_loader_lib_index_js_clonedRuleSet_1_use_node_modules_vue_loader_lib_index_js_vue_loader_options_app_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"]); \n\n//# sourceURL=webpack://uicore-framework/./assets/src/ai/app.vue?");

/***/ }),

/***/ "./assets/src/ai/app.vue?vue&type=style&index=0&id=6dfaf433&lang=scss":
/*!****************************************************************************!*\
  !*** ./assets/src/ai/app.vue?vue&type=style&index=0&id=6dfaf433&lang=scss ***!
  \****************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_dist_cjs_js_clonedRuleSet_3_use_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_clonedRuleSet_3_use_2_node_modules_sass_loader_dist_cjs_js_clonedRuleSet_3_use_3_node_modules_vue_loader_lib_index_js_vue_loader_options_app_vue_vue_type_style_index_0_id_6dfaf433_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-3.use[1]!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-3.use[2]!../../../node_modules/sass-loader/dist/cjs.js??clonedRuleSet-3.use[3]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./app.vue?vue&type=style&index=0&id=6dfaf433&lang=scss */ \"./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-3.use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-3.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-3.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./assets/src/ai/app.vue?vue&type=style&index=0&id=6dfaf433&lang=scss\");\n\n\n//# sourceURL=webpack://uicore-framework/./assets/src/ai/app.vue?");

/***/ }),

/***/ "./assets/src/ai/app.vue?vue&type=template&id=6dfaf433":
/*!*************************************************************!*\
  !*** ./assets/src/ai/app.vue?vue&type=template&id=6dfaf433 ***!
  \*************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   render: () => (/* reexport safe */ _node_modules_babel_loader_lib_index_js_clonedRuleSet_1_use_node_modules_vue_loader_lib_loaders_templateLoader_js_ruleSet_1_rules_2_node_modules_vue_loader_lib_index_js_vue_loader_options_app_vue_vue_type_template_id_6dfaf433__WEBPACK_IMPORTED_MODULE_0__.render),\n/* harmony export */   staticRenderFns: () => (/* reexport safe */ _node_modules_babel_loader_lib_index_js_clonedRuleSet_1_use_node_modules_vue_loader_lib_loaders_templateLoader_js_ruleSet_1_rules_2_node_modules_vue_loader_lib_index_js_vue_loader_options_app_vue_vue_type_template_id_6dfaf433__WEBPACK_IMPORTED_MODULE_0__.staticRenderFns)\n/* harmony export */ });\n/* harmony import */ var _node_modules_babel_loader_lib_index_js_clonedRuleSet_1_use_node_modules_vue_loader_lib_loaders_templateLoader_js_ruleSet_1_rules_2_node_modules_vue_loader_lib_index_js_vue_loader_options_app_vue_vue_type_template_id_6dfaf433__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!../../../node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./app.vue?vue&type=template&id=6dfaf433 */ \"./node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./assets/src/ai/app.vue?vue&type=template&id=6dfaf433\");\n\n\n//# sourceURL=webpack://uicore-framework/./assets/src/ai/app.vue?");

/***/ }),

/***/ "./assets/src/ai/main.js":
/*!*******************************!*\
  !*** ./assets/src/ai/main.js ***!
  \*******************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm.js\");\n/* harmony import */ var _app_vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./app.vue */ \"./assets/src/ai/app.vue\");\n\n\n// import PerfectScrollbar from 'vue2-perfect-scrollbar';\n// import 'vue2-perfect-scrollbar/dist/vue2-perfect-scrollbar.css';\n// // import store from 'admin/utils/store';\n\n// Vue.use(PerfectScrollbar);\n\n(function (window, wp) {\n  // just to keep it cleaner - we refer to our link by id for speed of lookup on DOM.\n  var link_id = 'uicore-writing-assistant-trigger';\n\n  // prepare our custom link's html.\n  var link_html = '<a id=\"' + link_id + '\" type=\"button\" class=\"button button-primary button-large uicore-ai-assistant-btn\" href=\"#\" >AI Writing Assistant</a>';\n\n  // check if gutenberg's editor root element is present.\n  var editorEl = document.getElementById('editor');\n  if (!editorEl) {\n    // do nothing if there's no gutenberg root element on page.\n    return;\n  }\n  var unsubscribe = wp.data.subscribe(function () {\n    setTimeout(function () {\n      if (/*!document.getElementById( link_id )*/document.getElementsByClassName(\"uicore-ai-assistant-btn\")[0] == undefined) {\n        var toolbalEl = editorEl.querySelector('.edit-post-header-toolbar');\n        if (toolbalEl instanceof HTMLElement) {\n          toolbalEl.insertAdjacentHTML('beforeend', link_html);\n          toolbalEl.insertAdjacentHTML('beforeend', '<div id=\"uicore-assistant-wrapper\"><div id=\"ui-ai-app\"></div></div>');\n          // add click event listener to our custom link.\n          document.getElementById(link_id).addEventListener('click', function (event) {\n            var uicore_ai_vue = new vue__WEBPACK_IMPORTED_MODULE_1__[\"default\"]({\n              el: '#ui-ai-app',\n              destroyed: function destroyed() {},\n              render: function render(h) {\n                return h(_app_vue__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n              }\n            });\n\n            // Add a click event listener to the close button\n            setTimeout(function () {\n              jQuery('.ui-ai-writer .uicore-base_close').on(\"click\", function () {\n                uicore_ai_vue.$destroy();\n                document.getElementById('uicore-assistant-wrapper').innerHTML = '<div id=\"ui-ai-app\"></div>';\n              });\n            }, 400);\n            event.preventDefault();\n          });\n        }\n      }\n    }, 1);\n  });\n})(window, wp);\n\n//# sourceURL=webpack://uicore-framework/./assets/src/ai/main.js?");

/***/ }),

/***/ "./assets/src/ai/popup-base.vue":
/*!**************************************!*\
  !*** ./assets/src/ai/popup-base.vue ***!
  \**************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _popup_base_vue_vue_type_template_id_4257a0a0__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./popup-base.vue?vue&type=template&id=4257a0a0 */ \"./assets/src/ai/popup-base.vue?vue&type=template&id=4257a0a0\");\n/* harmony import */ var _popup_base_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./popup-base.vue?vue&type=script&lang=js */ \"./assets/src/ai/popup-base.vue?vue&type=script&lang=js\");\n/* harmony import */ var _popup_base_vue_vue_type_style_index_0_id_4257a0a0_lang_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./popup-base.vue?vue&type=style&index=0&id=4257a0a0&lang=scss */ \"./assets/src/ai/popup-base.vue?vue&type=style&index=0&id=4257a0a0&lang=scss\");\n/* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ \"./node_modules/vue-loader/lib/runtime/componentNormalizer.js\");\n\n\n\n;\n\n\n/* normalize component */\n\nvar component = (0,_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(\n  _popup_base_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n  _popup_base_vue_vue_type_template_id_4257a0a0__WEBPACK_IMPORTED_MODULE_0__.render,\n  _popup_base_vue_vue_type_template_id_4257a0a0__WEBPACK_IMPORTED_MODULE_0__.staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\n/* hot reload */\nif (false) { var api; }\ncomponent.options.__file = \"assets/src/ai/popup-base.vue\"\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (component.exports);\n\n//# sourceURL=webpack://uicore-framework/./assets/src/ai/popup-base.vue?");

/***/ }),

/***/ "./assets/src/ai/popup-base.vue?vue&type=script&lang=js":
/*!**************************************************************!*\
  !*** ./assets/src/ai/popup-base.vue?vue&type=script&lang=js ***!
  \**************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _node_modules_babel_loader_lib_index_js_clonedRuleSet_1_use_node_modules_vue_loader_lib_index_js_vue_loader_options_popup_base_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./popup-base.vue?vue&type=script&lang=js */ \"./node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/lib/index.js??vue-loader-options!./assets/src/ai/popup-base.vue?vue&type=script&lang=js\");\n /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_babel_loader_lib_index_js_clonedRuleSet_1_use_node_modules_vue_loader_lib_index_js_vue_loader_options_popup_base_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"]); \n\n//# sourceURL=webpack://uicore-framework/./assets/src/ai/popup-base.vue?");

/***/ }),

/***/ "./assets/src/ai/popup-base.vue?vue&type=style&index=0&id=4257a0a0&lang=scss":
/*!***********************************************************************************!*\
  !*** ./assets/src/ai/popup-base.vue?vue&type=style&index=0&id=4257a0a0&lang=scss ***!
  \***********************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_dist_cjs_js_clonedRuleSet_3_use_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_clonedRuleSet_3_use_2_node_modules_sass_loader_dist_cjs_js_clonedRuleSet_3_use_3_node_modules_vue_loader_lib_index_js_vue_loader_options_popup_base_vue_vue_type_style_index_0_id_4257a0a0_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-3.use[1]!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-3.use[2]!../../../node_modules/sass-loader/dist/cjs.js??clonedRuleSet-3.use[3]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./popup-base.vue?vue&type=style&index=0&id=4257a0a0&lang=scss */ \"./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-3.use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-3.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-3.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./assets/src/ai/popup-base.vue?vue&type=style&index=0&id=4257a0a0&lang=scss\");\n\n\n//# sourceURL=webpack://uicore-framework/./assets/src/ai/popup-base.vue?");

/***/ }),

/***/ "./assets/src/ai/popup-base.vue?vue&type=template&id=4257a0a0":
/*!********************************************************************!*\
  !*** ./assets/src/ai/popup-base.vue?vue&type=template&id=4257a0a0 ***!
  \********************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   render: () => (/* reexport safe */ _node_modules_babel_loader_lib_index_js_clonedRuleSet_1_use_node_modules_vue_loader_lib_loaders_templateLoader_js_ruleSet_1_rules_2_node_modules_vue_loader_lib_index_js_vue_loader_options_popup_base_vue_vue_type_template_id_4257a0a0__WEBPACK_IMPORTED_MODULE_0__.render),\n/* harmony export */   staticRenderFns: () => (/* reexport safe */ _node_modules_babel_loader_lib_index_js_clonedRuleSet_1_use_node_modules_vue_loader_lib_loaders_templateLoader_js_ruleSet_1_rules_2_node_modules_vue_loader_lib_index_js_vue_loader_options_popup_base_vue_vue_type_template_id_4257a0a0__WEBPACK_IMPORTED_MODULE_0__.staticRenderFns)\n/* harmony export */ });\n/* harmony import */ var _node_modules_babel_loader_lib_index_js_clonedRuleSet_1_use_node_modules_vue_loader_lib_loaders_templateLoader_js_ruleSet_1_rules_2_node_modules_vue_loader_lib_index_js_vue_loader_options_popup_base_vue_vue_type_template_id_4257a0a0__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!../../../node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./popup-base.vue?vue&type=template&id=4257a0a0 */ \"./node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./assets/src/ai/popup-base.vue?vue&type=template&id=4257a0a0\");\n\n\n//# sourceURL=webpack://uicore-framework/./assets/src/ai/popup-base.vue?");

/***/ }),

/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/lib/index.js??vue-loader-options!./assets/src/ai/app.vue?vue&type=script&lang=js":
/*!********************************************************************************************************************************************************************************!*\
  !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/lib/index.js??vue-loader-options!./assets/src/ai/app.vue?vue&type=script&lang=js ***!
  \********************************************************************************************************************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _popup_base_vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./popup-base.vue */ \"./assets/src/ai/popup-base.vue\");\n/* harmony import */ var vue_multiselect__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue-multiselect */ \"./node_modules/vue-multiselect/dist/vue-multiselect.min.js\");\n/* harmony import */ var vue_multiselect__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(vue_multiselect__WEBPACK_IMPORTED_MODULE_1__);\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction _regeneratorRuntime() { \"use strict\"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = \"function\" == typeof Symbol ? Symbol : {}, a = i.iterator || \"@@iterator\", c = i.asyncIterator || \"@@asyncIterator\", u = i.toStringTag || \"@@toStringTag\"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, \"\"); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, \"_invoke\", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: \"normal\", arg: t.call(e, r) }; } catch (t) { return { type: \"throw\", arg: t }; } } e.wrap = wrap; var h = \"suspendedStart\", l = \"suspendedYield\", f = \"executing\", s = \"completed\", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { [\"next\", \"throw\", \"return\"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if (\"throw\" !== c.type) { var u = c.arg, h = u.value; return h && \"object\" == _typeof(h) && n.call(h, \"__await\") ? e.resolve(h.__await).then(function (t) { invoke(\"next\", t, i, a); }, function (t) { invoke(\"throw\", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke(\"throw\", t, i, a); }); } a(c.arg); } var r; o(this, \"_invoke\", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error(\"Generator is already running\"); if (o === s) { if (\"throw\" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if (\"next\" === n.method) n.sent = n._sent = n.arg;else if (\"throw\" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else \"return\" === n.method && n.abrupt(\"return\", n.arg); o = f; var p = tryCatch(e, r, n); if (\"normal\" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } \"throw\" === p.type && (o = s, n.method = \"throw\", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, \"throw\" === n && e.iterator[\"return\"] && (r.method = \"return\", r.arg = t, maybeInvokeDelegate(e, r), \"throw\" === r.method) || \"return\" !== n && (r.method = \"throw\", r.arg = new TypeError(\"The iterator does not provide a '\" + n + \"' method\")), y; var i = tryCatch(o, e.iterator, r.arg); if (\"throw\" === i.type) return r.method = \"throw\", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, \"return\" !== r.method && (r.method = \"next\", r.arg = t), r.delegate = null, y) : a : (r.method = \"throw\", r.arg = new TypeError(\"iterator result is not an object\"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = \"normal\", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: \"root\" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || \"\" === e) { var r = e[a]; if (r) return r.call(e); if (\"function\" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + \" is not iterable\"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, \"constructor\", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, \"constructor\", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, \"GeneratorFunction\"), e.isGeneratorFunction = function (t) { var e = \"function\" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || \"GeneratorFunction\" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, \"GeneratorFunction\")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, \"Generator\"), define(g, a, function () { return this; }), define(g, \"toString\", function () { return \"[object Generator]\"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = \"next\", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) \"t\" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if (\"throw\" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = \"throw\", a.arg = e, r.next = n, o && (r.method = \"next\", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if (\"root\" === i.tryLoc) return handle(\"end\"); if (i.tryLoc <= this.prev) { var c = n.call(i, \"catchLoc\"), u = n.call(i, \"finallyLoc\"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error(\"try statement without catch or finally\"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, \"finallyLoc\") && this.prev < o.finallyLoc) { var i = o; break; } } i && (\"break\" === t || \"continue\" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = \"next\", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if (\"throw\" === t.type) throw t.arg; return \"break\" === t.type || \"continue\" === t.type ? this.next = t.arg : \"return\" === t.type ? (this.rval = this.arg = t.arg, this.method = \"return\", this.next = \"end\") : \"normal\" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, \"catch\": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if (\"throw\" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error(\"illegal catch attempt\"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, \"next\" === this.method && (this.arg = t), y; } }, e; }\nfunction asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }\nfunction _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"next\", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"throw\", n); } _next(void 0); }); }; }\nvar axios = __webpack_require__(/*! axios */ \"./node_modules/axios/index.js\");\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n  components: {\n    uibase: _popup_base_vue__WEBPACK_IMPORTED_MODULE_0__[\"default\"],\n    multiselect: (vue_multiselect__WEBPACK_IMPORTED_MODULE_1___default())\n  },\n  data: function data() {\n    return {\n      mode: '',\n      abortController: null,\n      writing: false,\n      tone: [],\n      keywords: '',\n      topic: '',\n      length: 500,\n      active: true,\n      openaiApiKey: '',\n      toneList: ['Informative', 'Conversational', 'Persuasive', 'Educational', 'Humorous', 'Authoritative', 'Instructional', 'Personal', 'Thoughtful', 'Inspirational', 'Analytical', 'Entertaining', 'Professional', 'Narrative', 'Motivational', 'Controversial', 'Chatty', 'Casual', 'Opinionated', 'Helpful', 'Friendly', 'Sarcastic', 'Sincere', 'Relatable', 'Candid', 'Analytic', 'Emotional', 'Serious', 'Explanatory', 'Instructional', 'Encouraging', 'Critical', 'Honest', 'Engaging', 'Descriptive', 'Inspiring', 'Witty', 'Unbiased', 'Expository', 'Inquisitive', 'Factual', 'Informal', 'Analyzing', 'Comparative', 'Reflective', 'Argumentative', 'Compelling', 'Insightful', 'Practical', 'Inspired', 'Clear', 'Expressive']\n    };\n  },\n  beforeMount: function beforeMount() {\n    if (window.uicore_ai.key == '' || window.uicore_ai.key == undefined) {\n      this.mode = '';\n    } else {\n      this.openaiApiKey = window.uicore_ai.key;\n      this.mode = 'write';\n    }\n  },\n  // This method generates a response by creating a new block with the text block and then sending a stream request to the OpenAI API\n  methods: {\n    close: function close() {\n      document.querySelector('.ui-ai-writer .uicore-base_close').click();\n    },\n    start: function start() {\n      this.writing = true;\n      this.abortController = new AbortController();\n      jQuery('#uicore-writing-assistant-trigger').hide();\n    },\n    stop: function stop(_stop) {\n      if (!_stop) {\n        this.mode = 'done';\n      } else {\n        this.mode = 'write';\n      }\n      this.writing = false;\n      this.abortController.abort();\n      this.convertToBlocks();\n      jQuery('#uicore-writing-assistant-trigger').show();\n    },\n    saveKey: function saveKey() {\n      var _this = this;\n      return _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {\n        var url;\n        return _regeneratorRuntime().wrap(function _callee$(_context) {\n          while (1) switch (_context.prev = _context.next) {\n            case 0:\n              _context.next = 2;\n              return _this.storeValidKey(_this.openaiApiKey);\n            case 2:\n              if (!_context.sent) {\n                _context.next = 9;\n                break;\n              }\n              window.uicore_ai.key = _this.openaiApiKey;\n              _this.mode = 'write';\n\n              // Save the key to the database\n              url = uicore_ai.api;\n              axios.post(url, {\n                aiKey: _this.openaiApiKey\n              });\n              _context.next = 10;\n              break;\n            case 9:\n              alert('Invalid Api Key');\n            case 10:\n            case \"end\":\n              return _context.stop();\n          }\n        }, _callee);\n      }))();\n    },\n    storeValidKey: function storeValidKey(key) {\n      return _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {\n        var url, options, response, data;\n        return _regeneratorRuntime().wrap(function _callee2$(_context2) {\n          while (1) switch (_context2.prev = _context2.next) {\n            case 0:\n              url = 'https://api.openai.com/v1/chat/completions';\n              options = {\n                method: 'POST',\n                headers: {\n                  'Content-Type': 'application/json',\n                  Authorization: \"Bearer \".concat(key)\n                },\n                body: JSON.stringify({\n                  model: 'gpt-3.5-turbo',\n                  temperature: 0.02,\n                  max_tokens: 1,\n                  messages: [{\n                    role: 'user',\n                    content: '?'\n                  }]\n                })\n              };\n              _context2.prev = 2;\n              _context2.next = 5;\n              return fetch(url, options);\n            case 5:\n              response = _context2.sent;\n              _context2.next = 8;\n              return response.json();\n            case 8:\n              data = _context2.sent;\n              if (!response.ok) {\n                _context2.next = 13;\n                break;\n              }\n              return _context2.abrupt(\"return\", true);\n            case 13:\n              throw new Error(\"API key error: \".concat(data.error));\n            case 14:\n              _context2.next = 20;\n              break;\n            case 16:\n              _context2.prev = 16;\n              _context2.t0 = _context2[\"catch\"](2);\n              console.error(_context2.t0.message);\n              return _context2.abrupt(\"return\", false);\n            case 20:\n            case \"end\":\n              return _context2.stop();\n          }\n        }, _callee2, null, [[2, 16]]);\n      }))();\n    },\n    generateResponse: function generateResponse() {\n      var _this2 = this;\n      return _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {\n        var blockInitiated, updateContent, addTextToBlock, response, readStreamData, reader;\n        return _regeneratorRuntime().wrap(function _callee4$(_context4) {\n          while (1) switch (_context4.prev = _context4.next) {\n            case 0:\n              _context4.prev = 0;\n              blockInitiated = false; // Define a function to update the content of the block\n              updateContent = function updateContent(newContent, blockId) {\n                wp.data.dispatch('core/block-editor').updateBlockAttributes(blockId, {\n                  content: newContent\n                });\n              }; // Define a function to add text from the stream to the block content\n              addTextToBlock = function addTextToBlock(text) {\n                //if block was not initiated initiate it first\n                if (!blockInitiated) {\n                  // Create a new block with the text block\n                  wp.data.dispatch('core/block-editor').insertBlock(wp.blocks.createBlock('core/freeform', {\n                    content: ''\n                  }));\n                  blockInitiated = true;\n                }\n                // Get the ID of the last inserted block\n                var blockId = wp.data.select('core/block-editor').getSelectedBlockClientId();\n\n                // Get the current content of the block\n                var content = wp.data.select('core/block-editor').getBlock(blockId);\n                var oldContent = content && content.attributes ? content.attributes.content : '';\n                var newContent = oldContent + text;\n                updateContent(newContent, blockId);\n              };\n              _this2.start();\n\n              // Send a stream request to the OpenAI API\n              _context4.next = 7;\n              return fetch('https://api.openai.com/v1/chat/completions', {\n                method: 'POST',\n                headers: {\n                  'Content-Type': 'application/json',\n                  Authorization: \"Bearer \".concat(_this2.openaiApiKey)\n                },\n                body: JSON.stringify({\n                  model: 'gpt-3.5-turbo',\n                  temperature: 0.03,\n                  stream: true,\n                  stop: ['[STOP]'],\n                  messages: [{\n                    role: 'system',\n                    content: 'You are a profesional blog content writer. You write the article in a gutenberg html format.'\n                  }, {\n                    role: 'user',\n                    content: _this2.prompt()\n                  }]\n                }),\n                signal: _this2.abortController.signal // pass the signal option with the AbortController instance\n              });\n            case 7:\n              response = _context4.sent;\n              // Define a function to read the stream data and update the block content\n              readStreamData = /*#__PURE__*/function () {\n                var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(reader) {\n                  var _yield$reader$read, done, value, objDiv, text;\n                  return _regeneratorRuntime().wrap(function _callee3$(_context3) {\n                    while (1) switch (_context3.prev = _context3.next) {\n                      case 0:\n                        if (false) {}\n                        _context3.next = 3;\n                        return reader.read();\n                      case 3:\n                        _yield$reader$read = _context3.sent;\n                        done = _yield$reader$read.done;\n                        value = _yield$reader$read.value;\n                        if (!done) {\n                          _context3.next = 11;\n                          break;\n                        }\n                        //scroll to top\n                        objDiv = document.querySelector('.interface-interface-skeleton__content');\n                        objDiv.scrollTop = 0;\n                        _this2.stop();\n                        return _context3.abrupt(\"break\", 15);\n                      case 11:\n                        text = _this2.getStreamText(new TextDecoder('utf-8').decode(value));\n                        if (text) {\n                          addTextToBlock(text);\n                        }\n                        _context3.next = 0;\n                        break;\n                      case 15:\n                      case \"end\":\n                        return _context3.stop();\n                    }\n                  }, _callee3);\n                }));\n                return function readStreamData(_x) {\n                  return _ref.apply(this, arguments);\n                };\n              }(); // Start reading the stream data if the response is successful\n              if (response.ok) {\n                _context4.next = 22;\n                break;\n              }\n              if (!(response.status === 401)) {\n                _context4.next = 19;\n                break;\n              }\n              _this2.openaiApiKey = '';\n              _this2.mode = '';\n              _this2.writing = false;\n              _this2.abortController.abort();\n              jQuery('#uicore-writing-assistant-trigger').show();\n              alert('Invalid Api Key');\n              _context4.next = 20;\n              break;\n            case 19:\n              throw new Error(\"HTTP error! status: \".concat(response.status));\n            case 20:\n              _context4.next = 24;\n              break;\n            case 22:\n              reader = response.body.getReader();\n              readStreamData(reader);\n            case 24:\n              _context4.next = 31;\n              break;\n            case 26:\n              _context4.prev = 26;\n              _context4.t0 = _context4[\"catch\"](0);\n              console.error(_context4.t0);\n              console.log('Error: ', _context4.t0.message);\n              //if is 401 error then the key is invalid\n              if (_context4.t0.message === 'Unauthorized') {\n                alert('Invalid Api Key');\n              }\n            case 31:\n            case \"end\":\n              return _context4.stop();\n          }\n        }, _callee4, null, [[0, 26]]);\n      }))();\n    },\n    // This method gets the text from the stream data\n    getStreamText: function getStreamText(data) {\n      var _this3 = this;\n      // Split text by new line\n      var splitData = data.split('\\n\\n');\n      if (splitData.length > 1) {\n        var content = '';\n        splitData.forEach(function (element) {\n          if (element.startsWith('data: ')) {\n            content = content + _this3.getStreamText(element);\n          }\n        });\n        return content;\n      }\n      var cleanData = splitData[0].substring(6); // Removes \"data: \" prefix\n\n      var obj = null;\n      try {\n        obj = JSON.parse(cleanData);\n      } catch (err) {\n        return '';\n      }\n      if (obj.choices[0].finish_reason === 'stop') {\n        return '';\n      }\n      if (!obj.choices[0]) {\n        return '';\n      }\n      if (typeof obj.choices[0].delta.content !== 'undefined') {\n        return obj.choices[0].delta.content;\n      }\n      return '';\n    },\n    prompt: function prompt() {\n      return \"Create a blog post about \\u201C\" + this.topic + \"\\u201D. Write it in a \\u201C\" + this.tone.join(', ') + \"\\u201D tone. \\n            Use transition words. Use active voice. Write aproximative \" + this.length + \" words. \\n            Include the following keywords: \\u201C\" + this.keywords + \"\\u201D.\\n            Start with a compelling headline and introduction.\\n            Use subheadings to break up the content and make it easy to scan.\\n            Use short paragraphs and sentences to improve readability.\\n            Use bullet points and numbered lists to highlight important information (using ul and li).\\n            Use a conversational tone and avoid jargon.\\n            End with a clear call-to-action or conclusion.\\n\\n            When it comes to structure, a good format to follow is:\\n            Grab the reader's attention and introduce the topic.\\n            Develop your ideas and provide supporting evidence.\\n            Summarize your main points and provide a call-to-action or conclusion.\\n\\n            Format the response as wysiwyg html.\\n            !!DO NOT INCLUDE OTHER HTML TAGS THAN THE ONES USED FOR TEXT FORMATING eg: <section>, <heade> <html> etc!!\\n            !!WRITE THE TEXT IN THE LANGUAGE OF THE TOPIC: \\\"\" + this.topic + \"\\\"!!\\n            \";\n    },\n    convertToBlocks: function convertToBlocks() {\n      var createBlock = wp.blocks.createBlock;\n      var dispatch = wp.data.dispatch;\n      var freeformBlock = wp.data.select('core/block-editor').getSelectedBlock();\n      var freeformHtml = freeformBlock.attributes.content; // Get the HTML content of the freeform block\n\n      var blocks = wp.blocks.rawHandler({\n        HTML: freeformHtml,\n        mode: 'BLOCKS'\n      }); // Convert the HTML to individual block objects\n\n      //reverse blocks order\n      blocks.reverse();\n\n      // Add the new blocks to the editor\n      blocks.forEach(function (block) {\n        var name = block.name,\n          attributes = block.attributes,\n          innerBlocks = block.innerBlocks;\n        var newBlock = createBlock(name, attributes, innerBlocks);\n        dispatch('core/block-editor').insertBlock(newBlock, freeformBlock.clientId);\n      });\n\n      // Remove the freeform block from the editor\n      dispatch('core/block-editor').removeBlock(freeformBlock.clientId);\n    }\n  },\n  computed: {\n    getMainColor: function getMainColor() {\n      var color = '#532df5'; //to_color\n      // if (this.uicoreSettings.admin_customizer === 'true' && this.uicoreSettings.to_color) {\n      //     color = this.uicoreSettings.to_color;\n      // }\n      return '--uicore-primary:' + color;\n    }\n  }\n});\n\n//# sourceURL=webpack://uicore-framework/./assets/src/ai/app.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/lib/index.js??vue-loader-options");

/***/ }),

/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/lib/index.js??vue-loader-options!./assets/src/ai/popup-base.vue?vue&type=script&lang=js":
/*!***************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/lib/index.js??vue-loader-options!./assets/src/ai/popup-base.vue?vue&type=script&lang=js ***!
  \***************************************************************************************************************************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n  name: 'uibase',\n  props: ['title', 'scroll'],\n  methods: {\n    close: function close() {\n      this.$emit('close');\n    }\n  }\n});\n\n//# sourceURL=webpack://uicore-framework/./assets/src/ai/popup-base.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/lib/index.js??vue-loader-options");

/***/ }),

/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./assets/src/ai/app.vue?vue&type=template&id=6dfaf433":
/*!*******************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./assets/src/ai/app.vue?vue&type=template&id=6dfaf433 ***!
  \*******************************************************************************************************************************************************************************************************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   render: () => (/* binding */ render),\n/* harmony export */   staticRenderFns: () => (/* binding */ staticRenderFns)\n/* harmony export */ });\nvar render = function render() {\n  var _vm = this,\n    _c = _vm._self._c;\n  return _c('div', {\n    staticClass: \"ui-ai-writer\"\n  }, [_c('a', {\n    directives: [{\n      name: \"show\",\n      rawName: \"v-show\",\n      value: _vm.writing,\n      expression: \"writing\"\n    }],\n    staticClass: \"button button-primary button-large uicore-ai-assistant-working\",\n    attrs: {\n      \"type\": \"button\",\n      \"href\": \"#none\"\n    },\n    on: {\n      \"click\": function click($event) {\n        return _vm.stop(true);\n      }\n    }\n  }, [_vm._v(\"Stop\")]), _c('uibase', {\n    directives: [{\n      name: \"show\",\n      rawName: \"v-show\",\n      value: !_vm.writing,\n      expression: \"!writing\"\n    }],\n    style: _vm.getMainColor,\n    attrs: {\n      \"title\": \"AI Writing Assistant<span>BETA</span>\",\n      \"scroll\": false\n    }\n  }, [_vm.mode == '' ? _c('div', {\n    staticClass: \"uianim-content\"\n  }, [_c('p', {\n    staticStyle: {\n      \"padding\": \"0 20px\",\n      \"font-size\": \"14px\",\n      \"margin\": \"0\"\n    }\n  }, [_vm._v(\"\\r\\n                    We need to connect to your OpenAl account so you have full control and ownership of your data. You\\r\\n                    can find your Secret API key in your\\r\\n                    \"), _c('a', {\n    attrs: {\n      \"href\": \"https://beta.openai.com/account/api-keys\",\n      \"target\": \"_blank\"\n    }\n  }, [_vm._v(\"User settings\")]), _vm._v(\"\\r\\n                    (inside your OpenAI Account).\\r\\n                \")]), _c('div', {\n    staticClass: \"uicore-core-setting\"\n  }, [_c('label', {\n    staticClass: \"uicore_h2\",\n    attrs: {\n      \"for\": \"openaiApiKey\"\n    }\n  }, [_vm._v(\"OpenAI Key\")]), _c('input', {\n    directives: [{\n      name: \"model\",\n      rawName: \"v-model\",\n      value: _vm.openaiApiKey,\n      expression: \"openaiApiKey\"\n    }],\n    staticStyle: {\n      \"width\": \"100%\",\n      \"max-width\": \"100%\"\n    },\n    attrs: {\n      \"id\": \"openaiApiKey\",\n      \"type\": \"text\",\n      \"placeholder\": \"sk-<your key>\"\n    },\n    domProps: {\n      \"value\": _vm.openaiApiKey\n    },\n    on: {\n      \"input\": function input($event) {\n        if ($event.target.composing) return;\n        _vm.openaiApiKey = $event.target.value;\n      }\n    }\n  })]), _c('div', {\n    staticClass: \"uicore-btn\",\n    on: {\n      \"click\": _vm.saveKey\n    }\n  }, [_vm._v(\"Save OpenAI Key\")])]) : _vm._e(), _vm.mode == 'done' ? _c('div', {\n    staticClass: \"uianim-content\"\n  }, [_c('p', {\n    staticStyle: {\n      \"margin\": \"0 20px 15px\",\n      \"font-size\": \"16px\"\n    }\n  }, [_vm._v(\"\\r\\n                    Your article has been generated successfully. Please note that this is a \"), _c('b', [_vm._v(\"beta\")]), _vm._v(\" feature and we\\r\\n                    are constantly working on improving it. \"), _c('br'), _c('i', {\n    staticStyle: {\n      \"font-size\": \"13px\",\n      \"opacity\": \"0.7\",\n      \"line-height\": \"19px\",\n      \"margin-top\": \"14px\",\n      \"display\": \"block\"\n    }\n  }, [_vm._v(\"Your feedback is important to us, so if you have any suggestions please don’t hesitate to let\\r\\n                        us know.\")])]), _c('div', {\n    staticClass: \"ui-ai-feedback\"\n  }, [_c('a', {\n    staticClass: \"uicore-btn\",\n    staticStyle: {\n      \"background\": \"#f1f5f9\",\n      \"color\": \"#0f172a\"\n    },\n    attrs: {\n      \"href\": \"https://feedback.uicore.co/\",\n      \"target\": \"_blank\"\n    },\n    on: {\n      \"click\": _vm.close\n    }\n  }, [_vm._v(\"Suggest an idea\")]), _c('div', {\n    staticClass: \"uicore-btn\",\n    on: {\n      \"click\": _vm.close\n    }\n  }, [_vm._v(\"Dismiss\")])])]) : _vm._e(), _vm.mode == 'write' ? _c('div', {\n    staticClass: \"uianim-content\"\n  }, [_c('div', {\n    staticClass: \"uicore-core-setting\"\n  }, [_c('label', {\n    staticClass: \"uicore_h2\",\n    attrs: {\n      \"for\": \"ui-ai-topic\"\n    }\n  }, [_vm._v(\"Topic\")]), _c('textarea', {\n    directives: [{\n      name: \"model\",\n      rawName: \"v-model\",\n      value: _vm.topic,\n      expression: \"topic\"\n    }],\n    attrs: {\n      \"id\": \"ui-ai-topic\",\n      \"type\": \"text\",\n      \"placeholder\": \"Write 1-2 sentences about what your article is about.\"\n    },\n    domProps: {\n      \"value\": _vm.topic\n    },\n    on: {\n      \"input\": function input($event) {\n        if ($event.target.composing) return;\n        _vm.topic = $event.target.value;\n      }\n    }\n  })]), _c('div', {\n    staticClass: \"uicore-core-setting\"\n  }, [_c('label', {\n    staticClass: \"uicore_h2\",\n    attrs: {\n      \"for\": \"ui-ai-keywords\"\n    }\n  }, [_vm._v(\"Keywords to include\")]), _c('textarea', {\n    directives: [{\n      name: \"model\",\n      rawName: \"v-model\",\n      value: _vm.keywords,\n      expression: \"keywords\"\n    }],\n    attrs: {\n      \"id\": \"ui-ai-keywords\",\n      \"type\": \"text\",\n      \"placeholder\": \"List of keywords separated by coma.\"\n    },\n    domProps: {\n      \"value\": _vm.keywords\n    },\n    on: {\n      \"input\": function input($event) {\n        if ($event.target.composing) return;\n        _vm.keywords = $event.target.value;\n      }\n    }\n  })]), _c('div', {\n    staticClass: \"uicore-core-setting\"\n  }, [_c('label', {\n    staticClass: \"uicore_h2\"\n  }, [_vm._v(\"Tone Of Voice\")]), _c('multiselect', {\n    attrs: {\n      \"options\": _vm.toneList,\n      \"allow-empty\": false,\n      \"show-labels\": false,\n      \"searchable\": true,\n      \"clear-on-select\": false,\n      \"preserve-search\": true,\n      \"multiple\": true,\n      \"placeholder\": \"Select One or More\"\n    },\n    model: {\n      value: _vm.tone,\n      callback: function callback($$v) {\n        _vm.tone = $$v;\n      },\n      expression: \"tone\"\n    }\n  })], 1), _c('div', {\n    staticClass: \"uicore-core-setting\"\n  }, [_c('label', {\n    staticClass: \"uicore_h2\"\n  }, [_vm._v(\"Length\")]), _c('input', {\n    directives: [{\n      name: \"model\",\n      rawName: \"v-model\",\n      value: _vm.length,\n      expression: \"length\"\n    }],\n    attrs: {\n      \"type\": \"range\",\n      \"min\": \"200\",\n      \"max\": \"1500\"\n    },\n    domProps: {\n      \"value\": _vm.length\n    },\n    on: {\n      \"__r\": function __r($event) {\n        _vm.length = $event.target.value;\n      }\n    }\n  }), _c('div', {\n    staticClass: \"data\"\n  }, [_vm._v(_vm._s(_vm.length) + \" Words\")])]), _c('div', {\n    staticClass: \"uicore-btn\",\n    on: {\n      \"click\": _vm.generateResponse\n    }\n  }, [_vm._v(\"Write Article\")])]) : _vm._e()])], 1);\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://uicore-framework/./assets/src/ai/app.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B2%5D!./node_modules/vue-loader/lib/index.js??vue-loader-options");

/***/ }),

/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./assets/src/ai/popup-base.vue?vue&type=template&id=4257a0a0":
/*!**************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./assets/src/ai/popup-base.vue?vue&type=template&id=4257a0a0 ***!
  \**************************************************************************************************************************************************************************************************************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   render: () => (/* binding */ render),\n/* harmony export */   staticRenderFns: () => (/* binding */ staticRenderFns)\n/* harmony export */ });\nvar render = function render() {\n  var _vm = this,\n    _c = _vm._self._c;\n  return _c('div', {\n    staticClass: \"uicore-base\"\n  }, [_c('div', {\n    staticClass: \"uicore-base_header\"\n  }, [_c('div', {\n    staticClass: \"uicore-base_title\",\n    domProps: {\n      \"innerHTML\": _vm._s(_vm.title)\n    }\n  }), _c('div', {\n    staticClass: \"uicore-base_close\",\n    on: {\n      \"click\": _vm.close\n    }\n  }, [_c('svg', {\n    attrs: {\n      \"xmlns\": \"http://www.w3.org/2000/svg\",\n      \"width\": \"24\",\n      \"height\": \"24\",\n      \"viewBox\": \"0 0 24 24\",\n      \"fill\": \"none\"\n    }\n  }, [_c('path', {\n    attrs: {\n      \"d\": \"M18 6L6 18\",\n      \"stroke\": \"#0F172A\",\n      \"stroke-width\": \"2\",\n      \"stroke-linecap\": \"round\",\n      \"stroke-linejoin\": \"round\"\n    }\n  }), _c('path', {\n    attrs: {\n      \"d\": \"M6 6L18 18\",\n      \"stroke\": \"#0F172A\",\n      \"stroke-width\": \"2\",\n      \"stroke-linecap\": \"round\",\n      \"stroke-linejoin\": \"round\"\n    }\n  })])])]), _c('div', {\n    staticClass: \"uicore-base_content\"\n  }, [_vm.scroll ? _c('perfect-scrollbar', [_vm._t(\"default\")], 2) : _vm._t(\"default\")], 2)]);\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://uicore-framework/./assets/src/ai/popup-base.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B2%5D!./node_modules/vue-loader/lib/index.js??vue-loader-options");

/***/ }),

/***/ "./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-3.use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-3.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-3.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./assets/src/ai/app.vue?vue&type=style&index=0&id=6dfaf433&lang=scss":
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-3.use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-3.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-3.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./assets/src/ai/app.vue?vue&type=style&index=0&id=6dfaf433&lang=scss ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack://uicore-framework/./assets/src/ai/app.vue?./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-3.use%5B1%5D!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-3.use%5B2%5D!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-3.use%5B3%5D!./node_modules/vue-loader/lib/index.js??vue-loader-options");

/***/ }),

/***/ "./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-3.use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-3.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-3.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./assets/src/ai/popup-base.vue?vue&type=style&index=0&id=4257a0a0&lang=scss":
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-3.use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-3.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-3.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./assets/src/ai/popup-base.vue?vue&type=style&index=0&id=4257a0a0&lang=scss ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack://uicore-framework/./assets/src/ai/popup-base.vue?./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-3.use%5B1%5D!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-3.use%5B2%5D!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-3.use%5B3%5D!./node_modules/vue-loader/lib/index.js??vue-loader-options");

/***/ })

/******/ 	});
/************************************************************************/
/******/ 	// The module cache
/******/ 	var __webpack_module_cache__ = {};
/******/ 	
/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {
/******/ 		// Check if module is in cache
/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
/******/ 		if (cachedModule !== undefined) {
/******/ 			return cachedModule.exports;
/******/ 		}
/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = __webpack_module_cache__[moduleId] = {
/******/ 			id: moduleId,
/******/ 			loaded: false,
/******/ 			exports: {}
/******/ 		};
/******/ 	
/******/ 		// Execute the module function
/******/ 		__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/ 	
/******/ 		// Flag the module as loaded
/******/ 		module.loaded = true;
/******/ 	
/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}
/******/ 	
/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = __webpack_modules__;
/******/ 	
/************************************************************************/
/******/ 	/* webpack/runtime/chunk loaded */
/******/ 	(() => {
/******/ 		var deferred = [];
/******/ 		__webpack_require__.O = (result, chunkIds, fn, priority) => {
/******/ 			if(chunkIds) {
/******/ 				priority = priority || 0;
/******/ 				for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
/******/ 				deferred[i] = [chunkIds, fn, priority];
/******/ 				return;
/******/ 			}
/******/ 			var notFulfilled = Infinity;
/******/ 			for (var i = 0; i < deferred.length; i++) {
/******/ 				var [chunkIds, fn, priority] = deferred[i];
/******/ 				var fulfilled = true;
/******/ 				for (var j = 0; j < chunkIds.length; j++) {
/******/ 					if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {
/******/ 						chunkIds.splice(j--, 1);
/******/ 					} else {
/******/ 						fulfilled = false;
/******/ 						if(priority < notFulfilled) notFulfilled = priority;
/******/ 					}
/******/ 				}
/******/ 				if(fulfilled) {
/******/ 					deferred.splice(i--, 1)
/******/ 					var r = fn();
/******/ 					if (r !== undefined) result = r;
/******/ 				}
/******/ 			}
/******/ 			return result;
/******/ 		};
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/compat get default export */
/******/ 	(() => {
/******/ 		// getDefaultExport function for compatibility with non-harmony modules
/******/ 		__webpack_require__.n = (module) => {
/******/ 			var getter = module && module.__esModule ?
/******/ 				() => (module['default']) :
/******/ 				() => (module);
/******/ 			__webpack_require__.d(getter, { a: getter });
/******/ 			return getter;
/******/ 		};
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/define property getters */
/******/ 	(() => {
/******/ 		// define getter functions for harmony exports
/******/ 		__webpack_require__.d = (exports, definition) => {
/******/ 			for(var key in definition) {
/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
/******/ 				}
/******/ 			}
/******/ 		};
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/global */
/******/ 	(() => {
/******/ 		__webpack_require__.g = (function() {
/******/ 			if (typeof globalThis === 'object') return globalThis;
/******/ 			try {
/******/ 				return this || new Function('return this')();
/******/ 			} catch (e) {
/******/ 				if (typeof window === 'object') return window;
/******/ 			}
/******/ 		})();
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
/******/ 	(() => {
/******/ 		__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/make namespace object */
/******/ 	(() => {
/******/ 		// define __esModule on exports
/******/ 		__webpack_require__.r = (exports) => {
/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ 			}
/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
/******/ 		};
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/node module decorator */
/******/ 	(() => {
/******/ 		__webpack_require__.nmd = (module) => {
/******/ 			module.paths = [];
/******/ 			if (!module.children) module.children = [];
/******/ 			return module;
/******/ 		};
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/jsonp chunk loading */
/******/ 	(() => {
/******/ 		// no baseURI
/******/ 		
/******/ 		// object to store loaded and loading chunks
/******/ 		// undefined = chunk not loaded, null = chunk preloaded/prefetched
/******/ 		// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
/******/ 		var installedChunks = {
/******/ 			"ai": 0
/******/ 		};
/******/ 		
/******/ 		// no chunk on demand loading
/******/ 		
/******/ 		// no prefetching
/******/ 		
/******/ 		// no preloaded
/******/ 		
/******/ 		// no HMR
/******/ 		
/******/ 		// no HMR manifest
/******/ 		
/******/ 		__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
/******/ 		
/******/ 		// install a JSONP callback for chunk loading
/******/ 		var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
/******/ 			var [chunkIds, moreModules, runtime] = data;
/******/ 			// add "moreModules" to the modules object,
/******/ 			// then flag all "chunkIds" as loaded and fire callback
/******/ 			var moduleId, chunkId, i = 0;
/******/ 			if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
/******/ 				for(moduleId in moreModules) {
/******/ 					if(__webpack_require__.o(moreModules, moduleId)) {
/******/ 						__webpack_require__.m[moduleId] = moreModules[moduleId];
/******/ 					}
/******/ 				}
/******/ 				if(runtime) var result = runtime(__webpack_require__);
/******/ 			}
/******/ 			if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
/******/ 			for(;i < chunkIds.length; i++) {
/******/ 				chunkId = chunkIds[i];
/******/ 				if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ 					installedChunks[chunkId][0]();
/******/ 				}
/******/ 				installedChunks[chunkId] = 0;
/******/ 			}
/******/ 			return __webpack_require__.O(result);
/******/ 		}
/******/ 		
/******/ 		var chunkLoadingGlobal = self["webpackChunkuicore_framework"] = self["webpackChunkuicore_framework"] || [];
/******/ 		chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
/******/ 		chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
/******/ 	})();
/******/ 	
/************************************************************************/
/******/ 	
/******/ 	// startup
/******/ 	// Load entry module and return exports
/******/ 	// This entry module depends on other loaded chunks and execution need to be delayed
/******/ 	var __webpack_exports__ = __webpack_require__.O(undefined, ["vendor"], () => (__webpack_require__("./assets/src/ai/main.js")))
/******/ 	__webpack_exports__ = __webpack_require__.O(__webpack_exports__);
/******/ 	
/******/ })()
;