strapi-plugin-faqchatbot 1.0.4 → 1.0.5

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.
@@ -9314,7 +9314,7 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
9314
9314
  var ys = arrObjKeys(obj, inspect2);
9315
9315
  var isPlainObject2 = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
9316
9316
  var protoTag = obj instanceof Object ? "" : "null prototype";
9317
- var stringTag2 = !isPlainObject2 && toStringTag$1 && Object(obj) === obj && toStringTag$1 in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? "Object" : "";
9317
+ var stringTag2 = !isPlainObject2 && toStringTag$1 && Object(obj) === obj && toStringTag$1 in obj ? $slice.call(toStr$1(obj), 8, -1) : protoTag ? "Object" : "";
9318
9318
  var constructorTag = isPlainObject2 || typeof obj.constructor !== "function" ? "" : obj.constructor.name ? obj.constructor.name + " " : "";
9319
9319
  var tag = constructorTag + (stringTag2 || protoTag ? "[" + $join.call($concat$1.call([], stringTag2 || [], protoTag || []), ": ") + "] " : "");
9320
9320
  if (ys.length === 0) {
@@ -9339,25 +9339,25 @@ function canTrustToString(obj) {
9339
9339
  return !toStringTag$1 || !(typeof obj === "object" && (toStringTag$1 in obj || typeof obj[toStringTag$1] !== "undefined"));
9340
9340
  }
9341
9341
  function isArray$4(obj) {
9342
- return toStr(obj) === "[object Array]" && canTrustToString(obj);
9342
+ return toStr$1(obj) === "[object Array]" && canTrustToString(obj);
9343
9343
  }
9344
9344
  function isDate$2(obj) {
9345
- return toStr(obj) === "[object Date]" && canTrustToString(obj);
9345
+ return toStr$1(obj) === "[object Date]" && canTrustToString(obj);
9346
9346
  }
9347
9347
  function isRegExp$2(obj) {
9348
- return toStr(obj) === "[object RegExp]" && canTrustToString(obj);
9348
+ return toStr$1(obj) === "[object RegExp]" && canTrustToString(obj);
9349
9349
  }
9350
9350
  function isError(obj) {
9351
- return toStr(obj) === "[object Error]" && canTrustToString(obj);
9351
+ return toStr$1(obj) === "[object Error]" && canTrustToString(obj);
9352
9352
  }
9353
9353
  function isString$1(obj) {
9354
- return toStr(obj) === "[object String]" && canTrustToString(obj);
9354
+ return toStr$1(obj) === "[object String]" && canTrustToString(obj);
9355
9355
  }
9356
9356
  function isNumber$1(obj) {
9357
- return toStr(obj) === "[object Number]" && canTrustToString(obj);
9357
+ return toStr$1(obj) === "[object Number]" && canTrustToString(obj);
9358
9358
  }
9359
9359
  function isBoolean$1(obj) {
9360
- return toStr(obj) === "[object Boolean]" && canTrustToString(obj);
9360
+ return toStr$1(obj) === "[object Boolean]" && canTrustToString(obj);
9361
9361
  }
9362
9362
  function isSymbol(obj) {
9363
9363
  if (hasShammedSymbols) {
@@ -9393,7 +9393,7 @@ var hasOwn$1 = Object.prototype.hasOwnProperty || function(key) {
9393
9393
  function has$5(obj, key) {
9394
9394
  return hasOwn$1.call(obj, key);
9395
9395
  }
9396
- function toStr(obj) {
9396
+ function toStr$1(obj) {
9397
9397
  return objectToString.call(obj);
9398
9398
  }
9399
9399
  function nameOf(f2) {
@@ -9702,7 +9702,7 @@ var syntax = SyntaxError;
9702
9702
  var uri = URIError;
9703
9703
  var abs$1 = Math.abs;
9704
9704
  var floor$1 = Math.floor;
9705
- var max$1 = Math.max;
9705
+ var max$2 = Math.max;
9706
9706
  var min$1 = Math.min;
9707
9707
  var pow$1 = Math.pow;
9708
9708
  var round$1 = Math.round;
@@ -9831,99 +9831,78 @@ function requireObject_getPrototypeOf() {
9831
9831
  Object_getPrototypeOf = $Object2.getPrototypeOf || null;
9832
9832
  return Object_getPrototypeOf;
9833
9833
  }
9834
- var implementation;
9835
- var hasRequiredImplementation;
9836
- function requireImplementation() {
9837
- if (hasRequiredImplementation) return implementation;
9838
- hasRequiredImplementation = 1;
9839
- var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
9840
- var toStr2 = Object.prototype.toString;
9841
- var max2 = Math.max;
9842
- var funcType = "[object Function]";
9843
- var concatty = function concatty2(a2, b2) {
9844
- var arr = [];
9845
- for (var i2 = 0; i2 < a2.length; i2 += 1) {
9846
- arr[i2] = a2[i2];
9847
- }
9848
- for (var j2 = 0; j2 < b2.length; j2 += 1) {
9849
- arr[j2 + a2.length] = b2[j2];
9850
- }
9851
- return arr;
9852
- };
9853
- var slicy = function slicy2(arrLike, offset) {
9854
- var arr = [];
9855
- for (var i2 = offset, j2 = 0; i2 < arrLike.length; i2 += 1, j2 += 1) {
9856
- arr[j2] = arrLike[i2];
9834
+ var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
9835
+ var toStr = Object.prototype.toString;
9836
+ var max$1 = Math.max;
9837
+ var funcType = "[object Function]";
9838
+ var concatty = function concatty2(a2, b2) {
9839
+ var arr = [];
9840
+ for (var i2 = 0; i2 < a2.length; i2 += 1) {
9841
+ arr[i2] = a2[i2];
9842
+ }
9843
+ for (var j2 = 0; j2 < b2.length; j2 += 1) {
9844
+ arr[j2 + a2.length] = b2[j2];
9845
+ }
9846
+ return arr;
9847
+ };
9848
+ var slicy = function slicy2(arrLike, offset) {
9849
+ var arr = [];
9850
+ for (var i2 = offset, j2 = 0; i2 < arrLike.length; i2 += 1, j2 += 1) {
9851
+ arr[j2] = arrLike[i2];
9852
+ }
9853
+ return arr;
9854
+ };
9855
+ var joiny = function(arr, joiner) {
9856
+ var str = "";
9857
+ for (var i2 = 0; i2 < arr.length; i2 += 1) {
9858
+ str += arr[i2];
9859
+ if (i2 + 1 < arr.length) {
9860
+ str += joiner;
9857
9861
  }
9858
- return arr;
9859
- };
9860
- var joiny = function(arr, joiner) {
9861
- var str = "";
9862
- for (var i2 = 0; i2 < arr.length; i2 += 1) {
9863
- str += arr[i2];
9864
- if (i2 + 1 < arr.length) {
9865
- str += joiner;
9862
+ }
9863
+ return str;
9864
+ };
9865
+ var implementation$1 = function bind(that) {
9866
+ var target = this;
9867
+ if (typeof target !== "function" || toStr.apply(target) !== funcType) {
9868
+ throw new TypeError(ERROR_MESSAGE + target);
9869
+ }
9870
+ var args = slicy(arguments, 1);
9871
+ var bound;
9872
+ var binder = function() {
9873
+ if (this instanceof bound) {
9874
+ var result = target.apply(
9875
+ this,
9876
+ concatty(args, arguments)
9877
+ );
9878
+ if (Object(result) === result) {
9879
+ return result;
9866
9880
  }
9881
+ return this;
9867
9882
  }
9868
- return str;
9883
+ return target.apply(
9884
+ that,
9885
+ concatty(args, arguments)
9886
+ );
9869
9887
  };
9870
- implementation = function bind2(that) {
9871
- var target = this;
9872
- if (typeof target !== "function" || toStr2.apply(target) !== funcType) {
9873
- throw new TypeError(ERROR_MESSAGE + target);
9874
- }
9875
- var args = slicy(arguments, 1);
9876
- var bound;
9877
- var binder = function() {
9878
- if (this instanceof bound) {
9879
- var result = target.apply(
9880
- this,
9881
- concatty(args, arguments)
9882
- );
9883
- if (Object(result) === result) {
9884
- return result;
9885
- }
9886
- return this;
9887
- }
9888
- return target.apply(
9889
- that,
9890
- concatty(args, arguments)
9891
- );
9888
+ var boundLength = max$1(0, target.length - args.length);
9889
+ var boundArgs = [];
9890
+ for (var i2 = 0; i2 < boundLength; i2++) {
9891
+ boundArgs[i2] = "$" + i2;
9892
+ }
9893
+ bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
9894
+ if (target.prototype) {
9895
+ var Empty = function Empty2() {
9892
9896
  };
9893
- var boundLength = max2(0, target.length - args.length);
9894
- var boundArgs = [];
9895
- for (var i2 = 0; i2 < boundLength; i2++) {
9896
- boundArgs[i2] = "$" + i2;
9897
- }
9898
- bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
9899
- if (target.prototype) {
9900
- var Empty = function Empty2() {
9901
- };
9902
- Empty.prototype = target.prototype;
9903
- bound.prototype = new Empty();
9904
- Empty.prototype = null;
9905
- }
9906
- return bound;
9907
- };
9908
- return implementation;
9909
- }
9910
- var functionBind;
9911
- var hasRequiredFunctionBind;
9912
- function requireFunctionBind() {
9913
- if (hasRequiredFunctionBind) return functionBind;
9914
- hasRequiredFunctionBind = 1;
9915
- var implementation2 = requireImplementation();
9916
- functionBind = Function.prototype.bind || implementation2;
9917
- return functionBind;
9918
- }
9919
- var functionCall;
9920
- var hasRequiredFunctionCall;
9921
- function requireFunctionCall() {
9922
- if (hasRequiredFunctionCall) return functionCall;
9923
- hasRequiredFunctionCall = 1;
9924
- functionCall = Function.prototype.call;
9925
- return functionCall;
9926
- }
9897
+ Empty.prototype = target.prototype;
9898
+ bound.prototype = new Empty();
9899
+ Empty.prototype = null;
9900
+ }
9901
+ return bound;
9902
+ };
9903
+ var implementation = implementation$1;
9904
+ var functionBind = Function.prototype.bind || implementation;
9905
+ var functionCall = Function.prototype.call;
9927
9906
  var functionApply;
9928
9907
  var hasRequiredFunctionApply;
9929
9908
  function requireFunctionApply() {
@@ -9933,14 +9912,14 @@ function requireFunctionApply() {
9933
9912
  return functionApply;
9934
9913
  }
9935
9914
  var reflectApply = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
9936
- var bind$3 = requireFunctionBind();
9915
+ var bind$3 = functionBind;
9937
9916
  var $apply$1 = requireFunctionApply();
9938
- var $call$2 = requireFunctionCall();
9917
+ var $call$2 = functionCall;
9939
9918
  var $reflectApply = reflectApply;
9940
9919
  var actualApply = $reflectApply || bind$3.call($call$2, $apply$1);
9941
- var bind$2 = requireFunctionBind();
9920
+ var bind$2 = functionBind;
9942
9921
  var $TypeError$4 = type;
9943
- var $call$1 = requireFunctionCall();
9922
+ var $call$1 = functionCall;
9944
9923
  var $actualApply = actualApply;
9945
9924
  var callBindApplyHelpers = function callBindBasic(args) {
9946
9925
  if (args.length < 1 || typeof args[0] !== "function") {
@@ -10006,8 +9985,8 @@ function requireHasown() {
10006
9985
  hasRequiredHasown = 1;
10007
9986
  var call = Function.prototype.call;
10008
9987
  var $hasOwn = Object.prototype.hasOwnProperty;
10009
- var bind2 = requireFunctionBind();
10010
- hasown = bind2.call(call, $hasOwn);
9988
+ var bind3 = functionBind;
9989
+ hasown = bind3.call(call, $hasOwn);
10011
9990
  return hasown;
10012
9991
  }
10013
9992
  var undefined$1;
@@ -10021,7 +10000,7 @@ var $TypeError$3 = type;
10021
10000
  var $URIError = uri;
10022
10001
  var abs = abs$1;
10023
10002
  var floor = floor$1;
10024
- var max = max$1;
10003
+ var max = max$2;
10025
10004
  var min = min$1;
10026
10005
  var pow = pow$1;
10027
10006
  var round = round$1;
@@ -10055,7 +10034,7 @@ var getProto = requireGetProto();
10055
10034
  var $ObjectGPO = requireObject_getPrototypeOf();
10056
10035
  var $ReflectGPO = requireReflect_getPrototypeOf();
10057
10036
  var $apply = requireFunctionApply();
10058
- var $call = requireFunctionCall();
10037
+ var $call = functionCall;
10059
10038
  var needsEval = {};
10060
10039
  var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined$1 : getProto(Uint8Array);
10061
10040
  var INTRINSICS = {
@@ -10226,7 +10205,7 @@ var LEGACY_ALIASES = {
10226
10205
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
10227
10206
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
10228
10207
  };
10229
- var bind$1 = requireFunctionBind();
10208
+ var bind$1 = functionBind;
10230
10209
  var hasOwn = requireHasown();
10231
10210
  var $concat = bind$1.call($call, Array.prototype.concat);
10232
10211
  var $spliceApply = bind$1.call($apply, Array.prototype.splice);
@@ -14557,7 +14536,7 @@ const admin = adminApi.enhanceEndpoints({
14557
14536
  overrideExisting: false
14558
14537
  });
14559
14538
  const { useInitQuery, useTelemetryPropertiesQuery, useInformationQuery, useProjectSettingsQuery, useUpdateProjectSettingsMutation, useGetPluginsQuery, useGetLicenseLimitsQuery, useGetLicenseTrialTimeLeftQuery, useGetGuidedTourMetaQuery } = admin;
14560
- function bind(fn2, thisArg) {
14539
+ function bind2(fn2, thisArg) {
14561
14540
  return function wrap() {
14562
14541
  return fn2.apply(thisArg, arguments);
14563
14542
  };
@@ -14694,7 +14673,7 @@ function merge2() {
14694
14673
  const extend = (a2, b2, thisArg, { allOwnKeys } = {}) => {
14695
14674
  forEach$1(b2, (val, key) => {
14696
14675
  if (thisArg && isFunction$1(val)) {
14697
- a2[key] = bind(val, thisArg);
14676
+ a2[key] = bind2(val, thisArg);
14698
14677
  } else {
14699
14678
  a2[key] = val;
14700
14679
  }
@@ -16974,7 +16953,7 @@ Object.entries(HttpStatusCode$1).forEach(([key, value]) => {
16974
16953
  });
16975
16954
  function createInstance(defaultConfig) {
16976
16955
  const context = new Axios$1(defaultConfig);
16977
- const instance = bind(Axios$1.prototype.request, context);
16956
+ const instance = bind2(Axios$1.prototype.request, context);
16978
16957
  utils$1.extend(instance, Axios$1.prototype, context, { allOwnKeys: true });
16979
16958
  utils$1.extend(instance, context, null, { allOwnKeys: true });
16980
16959
  instance.create = function create2(instanceConfig) {
@@ -9336,7 +9336,7 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
9336
9336
  var ys = arrObjKeys(obj, inspect2);
9337
9337
  var isPlainObject2 = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
9338
9338
  var protoTag = obj instanceof Object ? "" : "null prototype";
9339
- var stringTag2 = !isPlainObject2 && toStringTag$1 && Object(obj) === obj && toStringTag$1 in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? "Object" : "";
9339
+ var stringTag2 = !isPlainObject2 && toStringTag$1 && Object(obj) === obj && toStringTag$1 in obj ? $slice.call(toStr$1(obj), 8, -1) : protoTag ? "Object" : "";
9340
9340
  var constructorTag = isPlainObject2 || typeof obj.constructor !== "function" ? "" : obj.constructor.name ? obj.constructor.name + " " : "";
9341
9341
  var tag = constructorTag + (stringTag2 || protoTag ? "[" + $join.call($concat$1.call([], stringTag2 || [], protoTag || []), ": ") + "] " : "");
9342
9342
  if (ys.length === 0) {
@@ -9361,25 +9361,25 @@ function canTrustToString(obj) {
9361
9361
  return !toStringTag$1 || !(typeof obj === "object" && (toStringTag$1 in obj || typeof obj[toStringTag$1] !== "undefined"));
9362
9362
  }
9363
9363
  function isArray$4(obj) {
9364
- return toStr(obj) === "[object Array]" && canTrustToString(obj);
9364
+ return toStr$1(obj) === "[object Array]" && canTrustToString(obj);
9365
9365
  }
9366
9366
  function isDate$2(obj) {
9367
- return toStr(obj) === "[object Date]" && canTrustToString(obj);
9367
+ return toStr$1(obj) === "[object Date]" && canTrustToString(obj);
9368
9368
  }
9369
9369
  function isRegExp$2(obj) {
9370
- return toStr(obj) === "[object RegExp]" && canTrustToString(obj);
9370
+ return toStr$1(obj) === "[object RegExp]" && canTrustToString(obj);
9371
9371
  }
9372
9372
  function isError(obj) {
9373
- return toStr(obj) === "[object Error]" && canTrustToString(obj);
9373
+ return toStr$1(obj) === "[object Error]" && canTrustToString(obj);
9374
9374
  }
9375
9375
  function isString$1(obj) {
9376
- return toStr(obj) === "[object String]" && canTrustToString(obj);
9376
+ return toStr$1(obj) === "[object String]" && canTrustToString(obj);
9377
9377
  }
9378
9378
  function isNumber$1(obj) {
9379
- return toStr(obj) === "[object Number]" && canTrustToString(obj);
9379
+ return toStr$1(obj) === "[object Number]" && canTrustToString(obj);
9380
9380
  }
9381
9381
  function isBoolean$1(obj) {
9382
- return toStr(obj) === "[object Boolean]" && canTrustToString(obj);
9382
+ return toStr$1(obj) === "[object Boolean]" && canTrustToString(obj);
9383
9383
  }
9384
9384
  function isSymbol(obj) {
9385
9385
  if (hasShammedSymbols) {
@@ -9415,7 +9415,7 @@ var hasOwn$1 = Object.prototype.hasOwnProperty || function(key) {
9415
9415
  function has$5(obj, key) {
9416
9416
  return hasOwn$1.call(obj, key);
9417
9417
  }
9418
- function toStr(obj) {
9418
+ function toStr$1(obj) {
9419
9419
  return objectToString.call(obj);
9420
9420
  }
9421
9421
  function nameOf(f2) {
@@ -9724,7 +9724,7 @@ var syntax = SyntaxError;
9724
9724
  var uri = URIError;
9725
9725
  var abs$1 = Math.abs;
9726
9726
  var floor$1 = Math.floor;
9727
- var max$1 = Math.max;
9727
+ var max$2 = Math.max;
9728
9728
  var min$1 = Math.min;
9729
9729
  var pow$1 = Math.pow;
9730
9730
  var round$1 = Math.round;
@@ -9853,99 +9853,78 @@ function requireObject_getPrototypeOf() {
9853
9853
  Object_getPrototypeOf = $Object2.getPrototypeOf || null;
9854
9854
  return Object_getPrototypeOf;
9855
9855
  }
9856
- var implementation;
9857
- var hasRequiredImplementation;
9858
- function requireImplementation() {
9859
- if (hasRequiredImplementation) return implementation;
9860
- hasRequiredImplementation = 1;
9861
- var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
9862
- var toStr2 = Object.prototype.toString;
9863
- var max2 = Math.max;
9864
- var funcType = "[object Function]";
9865
- var concatty = function concatty2(a2, b2) {
9866
- var arr = [];
9867
- for (var i2 = 0; i2 < a2.length; i2 += 1) {
9868
- arr[i2] = a2[i2];
9869
- }
9870
- for (var j2 = 0; j2 < b2.length; j2 += 1) {
9871
- arr[j2 + a2.length] = b2[j2];
9872
- }
9873
- return arr;
9874
- };
9875
- var slicy = function slicy2(arrLike, offset) {
9876
- var arr = [];
9877
- for (var i2 = offset, j2 = 0; i2 < arrLike.length; i2 += 1, j2 += 1) {
9878
- arr[j2] = arrLike[i2];
9856
+ var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
9857
+ var toStr = Object.prototype.toString;
9858
+ var max$1 = Math.max;
9859
+ var funcType = "[object Function]";
9860
+ var concatty = function concatty2(a2, b2) {
9861
+ var arr = [];
9862
+ for (var i2 = 0; i2 < a2.length; i2 += 1) {
9863
+ arr[i2] = a2[i2];
9864
+ }
9865
+ for (var j2 = 0; j2 < b2.length; j2 += 1) {
9866
+ arr[j2 + a2.length] = b2[j2];
9867
+ }
9868
+ return arr;
9869
+ };
9870
+ var slicy = function slicy2(arrLike, offset) {
9871
+ var arr = [];
9872
+ for (var i2 = offset, j2 = 0; i2 < arrLike.length; i2 += 1, j2 += 1) {
9873
+ arr[j2] = arrLike[i2];
9874
+ }
9875
+ return arr;
9876
+ };
9877
+ var joiny = function(arr, joiner) {
9878
+ var str = "";
9879
+ for (var i2 = 0; i2 < arr.length; i2 += 1) {
9880
+ str += arr[i2];
9881
+ if (i2 + 1 < arr.length) {
9882
+ str += joiner;
9879
9883
  }
9880
- return arr;
9881
- };
9882
- var joiny = function(arr, joiner) {
9883
- var str = "";
9884
- for (var i2 = 0; i2 < arr.length; i2 += 1) {
9885
- str += arr[i2];
9886
- if (i2 + 1 < arr.length) {
9887
- str += joiner;
9884
+ }
9885
+ return str;
9886
+ };
9887
+ var implementation$1 = function bind(that) {
9888
+ var target = this;
9889
+ if (typeof target !== "function" || toStr.apply(target) !== funcType) {
9890
+ throw new TypeError(ERROR_MESSAGE + target);
9891
+ }
9892
+ var args = slicy(arguments, 1);
9893
+ var bound;
9894
+ var binder = function() {
9895
+ if (this instanceof bound) {
9896
+ var result = target.apply(
9897
+ this,
9898
+ concatty(args, arguments)
9899
+ );
9900
+ if (Object(result) === result) {
9901
+ return result;
9888
9902
  }
9903
+ return this;
9889
9904
  }
9890
- return str;
9905
+ return target.apply(
9906
+ that,
9907
+ concatty(args, arguments)
9908
+ );
9891
9909
  };
9892
- implementation = function bind2(that) {
9893
- var target = this;
9894
- if (typeof target !== "function" || toStr2.apply(target) !== funcType) {
9895
- throw new TypeError(ERROR_MESSAGE + target);
9896
- }
9897
- var args = slicy(arguments, 1);
9898
- var bound;
9899
- var binder = function() {
9900
- if (this instanceof bound) {
9901
- var result = target.apply(
9902
- this,
9903
- concatty(args, arguments)
9904
- );
9905
- if (Object(result) === result) {
9906
- return result;
9907
- }
9908
- return this;
9909
- }
9910
- return target.apply(
9911
- that,
9912
- concatty(args, arguments)
9913
- );
9910
+ var boundLength = max$1(0, target.length - args.length);
9911
+ var boundArgs = [];
9912
+ for (var i2 = 0; i2 < boundLength; i2++) {
9913
+ boundArgs[i2] = "$" + i2;
9914
+ }
9915
+ bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
9916
+ if (target.prototype) {
9917
+ var Empty = function Empty2() {
9914
9918
  };
9915
- var boundLength = max2(0, target.length - args.length);
9916
- var boundArgs = [];
9917
- for (var i2 = 0; i2 < boundLength; i2++) {
9918
- boundArgs[i2] = "$" + i2;
9919
- }
9920
- bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
9921
- if (target.prototype) {
9922
- var Empty = function Empty2() {
9923
- };
9924
- Empty.prototype = target.prototype;
9925
- bound.prototype = new Empty();
9926
- Empty.prototype = null;
9927
- }
9928
- return bound;
9929
- };
9930
- return implementation;
9931
- }
9932
- var functionBind;
9933
- var hasRequiredFunctionBind;
9934
- function requireFunctionBind() {
9935
- if (hasRequiredFunctionBind) return functionBind;
9936
- hasRequiredFunctionBind = 1;
9937
- var implementation2 = requireImplementation();
9938
- functionBind = Function.prototype.bind || implementation2;
9939
- return functionBind;
9940
- }
9941
- var functionCall;
9942
- var hasRequiredFunctionCall;
9943
- function requireFunctionCall() {
9944
- if (hasRequiredFunctionCall) return functionCall;
9945
- hasRequiredFunctionCall = 1;
9946
- functionCall = Function.prototype.call;
9947
- return functionCall;
9948
- }
9919
+ Empty.prototype = target.prototype;
9920
+ bound.prototype = new Empty();
9921
+ Empty.prototype = null;
9922
+ }
9923
+ return bound;
9924
+ };
9925
+ var implementation = implementation$1;
9926
+ var functionBind = Function.prototype.bind || implementation;
9927
+ var functionCall = Function.prototype.call;
9949
9928
  var functionApply;
9950
9929
  var hasRequiredFunctionApply;
9951
9930
  function requireFunctionApply() {
@@ -9955,14 +9934,14 @@ function requireFunctionApply() {
9955
9934
  return functionApply;
9956
9935
  }
9957
9936
  var reflectApply = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
9958
- var bind$3 = requireFunctionBind();
9937
+ var bind$3 = functionBind;
9959
9938
  var $apply$1 = requireFunctionApply();
9960
- var $call$2 = requireFunctionCall();
9939
+ var $call$2 = functionCall;
9961
9940
  var $reflectApply = reflectApply;
9962
9941
  var actualApply = $reflectApply || bind$3.call($call$2, $apply$1);
9963
- var bind$2 = requireFunctionBind();
9942
+ var bind$2 = functionBind;
9964
9943
  var $TypeError$4 = type;
9965
- var $call$1 = requireFunctionCall();
9944
+ var $call$1 = functionCall;
9966
9945
  var $actualApply = actualApply;
9967
9946
  var callBindApplyHelpers = function callBindBasic(args) {
9968
9947
  if (args.length < 1 || typeof args[0] !== "function") {
@@ -10028,8 +10007,8 @@ function requireHasown() {
10028
10007
  hasRequiredHasown = 1;
10029
10008
  var call = Function.prototype.call;
10030
10009
  var $hasOwn = Object.prototype.hasOwnProperty;
10031
- var bind2 = requireFunctionBind();
10032
- hasown = bind2.call(call, $hasOwn);
10010
+ var bind3 = functionBind;
10011
+ hasown = bind3.call(call, $hasOwn);
10033
10012
  return hasown;
10034
10013
  }
10035
10014
  var undefined$1;
@@ -10043,7 +10022,7 @@ var $TypeError$3 = type;
10043
10022
  var $URIError = uri;
10044
10023
  var abs = abs$1;
10045
10024
  var floor = floor$1;
10046
- var max = max$1;
10025
+ var max = max$2;
10047
10026
  var min = min$1;
10048
10027
  var pow = pow$1;
10049
10028
  var round = round$1;
@@ -10077,7 +10056,7 @@ var getProto = requireGetProto();
10077
10056
  var $ObjectGPO = requireObject_getPrototypeOf();
10078
10057
  var $ReflectGPO = requireReflect_getPrototypeOf();
10079
10058
  var $apply = requireFunctionApply();
10080
- var $call = requireFunctionCall();
10059
+ var $call = functionCall;
10081
10060
  var needsEval = {};
10082
10061
  var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined$1 : getProto(Uint8Array);
10083
10062
  var INTRINSICS = {
@@ -10248,7 +10227,7 @@ var LEGACY_ALIASES = {
10248
10227
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
10249
10228
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
10250
10229
  };
10251
- var bind$1 = requireFunctionBind();
10230
+ var bind$1 = functionBind;
10252
10231
  var hasOwn = requireHasown();
10253
10232
  var $concat = bind$1.call($call, Array.prototype.concat);
10254
10233
  var $spliceApply = bind$1.call($apply, Array.prototype.splice);
@@ -14579,7 +14558,7 @@ const admin = adminApi.enhanceEndpoints({
14579
14558
  overrideExisting: false
14580
14559
  });
14581
14560
  const { useInitQuery, useTelemetryPropertiesQuery, useInformationQuery, useProjectSettingsQuery, useUpdateProjectSettingsMutation, useGetPluginsQuery, useGetLicenseLimitsQuery, useGetLicenseTrialTimeLeftQuery, useGetGuidedTourMetaQuery } = admin;
14582
- function bind(fn2, thisArg) {
14561
+ function bind2(fn2, thisArg) {
14583
14562
  return function wrap() {
14584
14563
  return fn2.apply(thisArg, arguments);
14585
14564
  };
@@ -14716,7 +14695,7 @@ function merge2() {
14716
14695
  const extend = (a2, b2, thisArg, { allOwnKeys } = {}) => {
14717
14696
  forEach$1(b2, (val, key) => {
14718
14697
  if (thisArg && isFunction$1(val)) {
14719
- a2[key] = bind(val, thisArg);
14698
+ a2[key] = bind2(val, thisArg);
14720
14699
  } else {
14721
14700
  a2[key] = val;
14722
14701
  }
@@ -16996,7 +16975,7 @@ Object.entries(HttpStatusCode$1).forEach(([key, value]) => {
16996
16975
  });
16997
16976
  function createInstance(defaultConfig) {
16998
16977
  const context = new Axios$1(defaultConfig);
16999
- const instance = bind(Axios$1.prototype.request, context);
16978
+ const instance = bind2(Axios$1.prototype.request, context);
17000
16979
  utils$1.extend(instance, Axios$1.prototype, context, { allOwnKeys: true });
17001
16980
  utils$1.extend(instance, context, null, { allOwnKeys: true });
17002
16981
  instance.create = function create2(instanceConfig) {
@@ -37,7 +37,7 @@ const index = {
37
37
  defaultMessage: PLUGIN_ID
38
38
  },
39
39
  Component: async () => {
40
- const { App } = await Promise.resolve().then(() => require("../_chunks/App-B9KjKqVf.js"));
40
+ const { App } = await Promise.resolve().then(() => require("../_chunks/App-Cc6UTNkw.js"));
41
41
  return App;
42
42
  }
43
43
  });
@@ -36,7 +36,7 @@ const index = {
36
36
  defaultMessage: PLUGIN_ID
37
37
  },
38
38
  Component: async () => {
39
- const { App } = await import("../_chunks/App-BLjeG5zk.mjs");
39
+ const { App } = await import("../_chunks/App-Bv3LDXXw.mjs");
40
40
  return App;
41
41
  }
42
42
  });
@@ -747,8 +747,8 @@ const ask = ({ strapi }) => ({
747
747
  }
748
748
  }
749
749
  });
750
- const suggestQuestions = ({ strapi }) => ({
751
- async getSuggested(ctx) {
750
+ const cardMapping = ({ strapi }) => ({
751
+ async index(ctx) {
752
752
  const pluginStore = strapi.store({
753
753
  environment: null,
754
754
  type: "plugin",
@@ -756,12 +756,12 @@ const suggestQuestions = ({ strapi }) => ({
756
756
  });
757
757
  const settings = await pluginStore.get({ key: "settings" });
758
758
  ctx.body = {
759
- suggestedQuestions: settings?.suggestedQuestions || []
759
+ cardStyles: settings?.cardStyles || {}
760
760
  };
761
761
  }
762
762
  });
763
- const cardMapping = ({ strapi }) => ({
764
- async index(ctx) {
763
+ const suggestQuestionsAndLogo = ({ strapi }) => ({
764
+ async getSuggestionAndLogo(ctx) {
765
765
  const pluginStore = strapi.store({
766
766
  environment: null,
767
767
  type: "plugin",
@@ -769,7 +769,8 @@ const cardMapping = ({ strapi }) => ({
769
769
  });
770
770
  const settings = await pluginStore.get({ key: "settings" });
771
771
  ctx.body = {
772
- cardStyles: settings?.cardStyles || {}
772
+ suggestedQuestions: settings?.suggestedQuestions || [],
773
+ logoUrl: settings?.logoUrl || null
773
774
  };
774
775
  }
775
776
  });
@@ -777,7 +778,7 @@ const controllers = {
777
778
  controller,
778
779
  config: config$1,
779
780
  ask,
780
- suggestQuestions,
781
+ suggestQuestionsAndLogo,
781
782
  cardMapping
782
783
  };
783
784
  const middlewares = {};
@@ -824,8 +825,8 @@ const contentApi = () => ({
824
825
  },
825
826
  {
826
827
  method: "GET",
827
- path: "/suggested-questions",
828
- handler: "suggestQuestions.getSuggested",
828
+ path: "/suggestion-and-logo",
829
+ handler: "suggestQuestionsAndLogo.getSuggestionAndLogo",
829
830
  config: {
830
831
  auth: false
831
832
  }
@@ -744,8 +744,8 @@ const ask = ({ strapi }) => ({
744
744
  }
745
745
  }
746
746
  });
747
- const suggestQuestions = ({ strapi }) => ({
748
- async getSuggested(ctx) {
747
+ const cardMapping = ({ strapi }) => ({
748
+ async index(ctx) {
749
749
  const pluginStore = strapi.store({
750
750
  environment: null,
751
751
  type: "plugin",
@@ -753,12 +753,12 @@ const suggestQuestions = ({ strapi }) => ({
753
753
  });
754
754
  const settings = await pluginStore.get({ key: "settings" });
755
755
  ctx.body = {
756
- suggestedQuestions: settings?.suggestedQuestions || []
756
+ cardStyles: settings?.cardStyles || {}
757
757
  };
758
758
  }
759
759
  });
760
- const cardMapping = ({ strapi }) => ({
761
- async index(ctx) {
760
+ const suggestQuestionsAndLogo = ({ strapi }) => ({
761
+ async getSuggestionAndLogo(ctx) {
762
762
  const pluginStore = strapi.store({
763
763
  environment: null,
764
764
  type: "plugin",
@@ -766,7 +766,8 @@ const cardMapping = ({ strapi }) => ({
766
766
  });
767
767
  const settings = await pluginStore.get({ key: "settings" });
768
768
  ctx.body = {
769
- cardStyles: settings?.cardStyles || {}
769
+ suggestedQuestions: settings?.suggestedQuestions || [],
770
+ logoUrl: settings?.logoUrl || null
770
771
  };
771
772
  }
772
773
  });
@@ -774,7 +775,7 @@ const controllers = {
774
775
  controller,
775
776
  config: config$1,
776
777
  ask,
777
- suggestQuestions,
778
+ suggestQuestionsAndLogo,
778
779
  cardMapping
779
780
  };
780
781
  const middlewares = {};
@@ -821,8 +822,8 @@ const contentApi = () => ({
821
822
  },
822
823
  {
823
824
  method: "GET",
824
- path: "/suggested-questions",
825
- handler: "suggestQuestions.getSuggested",
825
+ path: "/suggestion-and-logo",
826
+ handler: "suggestQuestionsAndLogo.getSuggestionAndLogo",
826
827
  config: {
827
828
  auth: false
828
829
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.4",
2
+ "version": "1.0.5",
3
3
  "keywords": [],
4
4
  "type": "commonjs",
5
5
  "main": "dist/server/index.js",