isometrik-chat 1.0.0 → 1.0.1

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.
Files changed (120) hide show
  1. package/dist/App.js +16 -0
  2. package/dist/App.test.js +10 -0
  3. package/dist/Authpage.js +35 -0
  4. package/dist/ChatContext.js +244 -0
  5. package/dist/Data/index.js +89 -0
  6. package/dist/assets/icons.js +47 -0
  7. package/dist/assets/images/WhatsApp.html +258 -0
  8. package/dist/assets/images/WhatsApp_files/301446776_522918349234681_1974693392291574064_n.jpg +0 -0
  9. package/dist/assets/images/WhatsApp_files/app-bf223f825866ee433b07.css +242 -0
  10. package/dist/assets/images/WhatsApp_files/app.77ee8aa7a4c593101105.js +2 -0
  11. package/dist/assets/images/WhatsApp_files/lazy_loaded_high_priority_components.85a06e74a0a4ade1640b.css +16 -0
  12. package/dist/assets/images/WhatsApp_files/lazy_loaded_low_priority_components.8621270bc215a9298a97.css +47 -0
  13. package/dist/assets/images/WhatsApp_files/libsignal-protocol-ee5b8ba.min.js +4175 -0
  14. package/dist/assets/images/WhatsApp_files/main.48b845d68e066fb27a75.css +161 -0
  15. package/dist/assets/images/WhatsApp_files/runtime.e6018f3c1e255e8f4dc7.js +643 -0
  16. package/dist/assets/images/WhatsApp_files/stylex-d50abd61e6cf7eab2afd855adccf14e5.css +2841 -0
  17. package/dist/assets/images/WhatsApp_files/vendor1_app.58a51d93a250f83ab555.js +58 -0
  18. package/dist/assets/images/bg.jpeg +0 -0
  19. package/dist/assets/images/drkbg.jpg +0 -0
  20. package/dist/assets/images/notFound.jpeg +0 -0
  21. package/dist/assets/images/watsapp.jpg +0 -0
  22. package/dist/assets/images/watsappbg.png +0 -0
  23. package/dist/assets/images/wb.jpg +0 -0
  24. package/dist/assets/images/whatsapp.jpeg +0 -0
  25. package/dist/components/ChatBox/AudioBubble.js +137 -0
  26. package/dist/components/ChatBox/ChatBubble.js +162 -0
  27. package/dist/components/ChatBox/DocumentBubble.js +50 -0
  28. package/dist/components/ChatBox/MessagesBox.js +458 -0
  29. package/dist/components/CustomModal.js +26 -0
  30. package/dist/components/Icon.js +20 -0
  31. package/dist/components/ImageComponent.js +32 -0
  32. package/dist/components/MediaDocs.js +102 -0
  33. package/dist/components/MediaDocumentContainer.js +39 -0
  34. package/dist/components/MessageInfoDropdown.js +115 -0
  35. package/dist/components/Modal/AllowMicPermissionModal.js +27 -0
  36. package/dist/components/Modal/BlockUnblockChatModal.js +37 -0
  37. package/dist/components/Modal/CameraPermissionBlockedModal.js +31 -0
  38. package/dist/components/Modal/CameraPermissionRequestModal.js +29 -0
  39. package/dist/components/Modal/ClearChatModal.js +35 -0
  40. package/dist/components/Modal/DeleteChatModal.js +35 -0
  41. package/dist/components/Modal/MicPermissionDisableModal.js +27 -0
  42. package/dist/components/Modal/Modal.js +47 -0
  43. package/dist/components/Modal/ModalDialog.js +51 -0
  44. package/dist/components/Modal/ProfilePictureUploadPreview.js +140 -0
  45. package/dist/components/OutsideAlerter/OutsideAlerter.js +46 -0
  46. package/dist/components/ProfilePicture/ProfilePicture.js +52 -0
  47. package/dist/components/Registration/Login.js +208 -0
  48. package/dist/components/Registration/SignUp.js +267 -0
  49. package/dist/components/SnackBar.js +30 -0
  50. package/dist/components/common/Modal/useDetectOutsideClick.js +34 -0
  51. package/dist/components/common/styled/PageWrapper.js +16 -0
  52. package/dist/components/formcontrol/CustomButton.js +20 -0
  53. package/dist/components/formcontrol/InputText.js +36 -0
  54. package/dist/global-styles.js +12 -0
  55. package/dist/hooks/useDeviceType.js +36 -0
  56. package/dist/hooks/useThrottle.js +40 -0
  57. package/dist/index.css +225 -0
  58. package/dist/index.js +20 -681
  59. package/dist/lib/constant.js +48 -0
  60. package/dist/lib/functionality.js +17 -0
  61. package/dist/lib/helpers.js +614 -0
  62. package/dist/lib/mockData/index.js +70 -0
  63. package/dist/lib/session/index.js +44 -0
  64. package/dist/lib/validation.js +14 -0
  65. package/dist/logo.svg +1 -0
  66. package/dist/pages/WhatsappMainBox/index.js +684 -0
  67. package/dist/reportWebVitals.js +29 -0
  68. package/dist/services/deliveryStatus.js +73 -0
  69. package/dist/setupTests.js +3 -0
  70. package/dist/utils/chatSdk.js +20 -0
  71. package/dist/utils/global.js +116 -0
  72. package/dist/utils/media.js +61 -0
  73. package/dist/view/component/BlockedContactSlide.js +153 -0
  74. package/dist/view/component/Carousle/UpperMenuBar.js +112 -0
  75. package/dist/view/component/Carousle/index.js +140 -0
  76. package/dist/view/component/Chatbox.js/AudioRecorder.js +321 -0
  77. package/dist/view/component/Chatbox.js/ChatBubbleReply.js +22 -0
  78. package/dist/view/component/Chatbox.js/TakePhoto.js +254 -0
  79. package/dist/view/component/Chatbox.js/index.js +929 -0
  80. package/dist/view/component/Chatbox.js/styles.css +231 -0
  81. package/dist/view/component/Contact/index.js +49 -0
  82. package/dist/view/component/Contact/styles.css +208 -0
  83. package/dist/view/component/ContactInfo/index.js +399 -0
  84. package/dist/view/component/ContactInfo/styles.css +289 -0
  85. package/dist/view/component/Context/index.js +10 -0
  86. package/dist/view/component/DialogBox.js +29 -0
  87. package/dist/view/component/ImageCropper/ImageCropper.js +98 -0
  88. package/dist/view/component/Loader/Loader.js +44 -0
  89. package/dist/view/component/Loader/UserPagingLoader.js +19 -0
  90. package/dist/view/component/MainChatBox/index.js +766 -0
  91. package/dist/view/component/MainChatBox/styles.css +124 -0
  92. package/dist/view/component/Menu/index.js +226 -0
  93. package/dist/view/component/Menu/styles.css +68 -0
  94. package/dist/view/component/Profile/ProfileInfoContainer.js +119 -0
  95. package/dist/view/component/Profile/ProfileUpdate.js +226 -0
  96. package/dist/view/component/Profile/TakeProfilePhoto.js +310 -0
  97. package/dist/view/component/Profile/index.js +568 -0
  98. package/dist/view/component/Profile/styles.css +370 -0
  99. package/dist/view/component/ReplyChatMessage/ReplyChatMessage.js +44 -0
  100. package/dist/view/component/SeachBar/index.js +106 -0
  101. package/dist/view/component/SeachBar/styles.css +53 -0
  102. package/dist/view/component/Siderbar/index.js +485 -0
  103. package/dist/view/component/Siderbar/styles.css +138 -0
  104. package/dist/view/component/Toaster/Toaster.js +83 -0
  105. package/dist/view/component/UserDetailsCard/UserDetailCard.js +104 -0
  106. package/dist/view/component/deleteMessageMoal.js +39 -0
  107. package/dist/view/component/emoji/index.js +22 -0
  108. package/dist/view/component/emoji/sstyles.css +0 -0
  109. package/dist/view/component/forwardData/index.js +250 -0
  110. package/dist/view/component/forwardData/styles.css +112 -0
  111. package/dist/view/component/forwardPopup/index.js +48 -0
  112. package/dist/view/component/forwardPopup/styles.css +144 -0
  113. package/dist/view/component/mediaList/index.js +67 -0
  114. package/dist/view/component/menuDialog/index.js +118 -0
  115. package/dist/view/component/menuDialog/styles.css +24 -0
  116. package/dist/view/component/pagination/pagination.js +77 -0
  117. package/dist/view/component/pagination/paginationForMsg.js +65 -0
  118. package/dist/view/component/sidebarChat/index.js +431 -0
  119. package/dist/view/component/sidebarChat/styles.css +109 -0
  120. package/package.json +2 -2
package/dist/App.js ADDED
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _WhatsappMainBox = _interopRequireDefault(require("./pages/WhatsappMainBox"));
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
+ function App() {
11
+ return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_WhatsappMainBox.default, {
12
+ showSideChatHeader: true
13
+ })));
14
+ }
15
+ var _default = App;
16
+ exports.default = _default;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ var _react = require("@testing-library/react");
4
+ var _App = _interopRequireDefault(require("./App"));
5
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
6
+ test('renders learn react link', function () {
7
+ (0, _react.render)( /*#__PURE__*/React.createElement(_App.default, null));
8
+ var linkElement = _react.screen.getByText(/learn react/i);
9
+ expect(linkElement).toBeInTheDocument();
10
+ });
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.default = void 0;
8
+ var _react = _interopRequireWildcard(require("react"));
9
+ var _Login = _interopRequireDefault(require("./components/Registration/Login"));
10
+ var _SignUp = _interopRequireDefault(require("./components/Registration/SignUp"));
11
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
12
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
13
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
14
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
15
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
16
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
17
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
18
+ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
19
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
20
+ var Authpage = function Authpage(props) {
21
+ var theme = props.theme;
22
+ var _useState = (0, _react.useState)(true),
23
+ _useState2 = _slicedToArray(_useState, 2),
24
+ isLoginPage = _useState2[0],
25
+ setLoginPage = _useState2[1];
26
+ return /*#__PURE__*/_react.default.createElement("div", null, isLoginPage && /*#__PURE__*/_react.default.createElement(_Login.default, {
27
+ setLoginPage: setLoginPage,
28
+ theme: theme
29
+ }), !isLoginPage && /*#__PURE__*/_react.default.createElement(_SignUp.default, {
30
+ setLoginPage: setLoginPage,
31
+ theme: theme
32
+ }));
33
+ };
34
+ var _default = Authpage;
35
+ exports.default = _default;
@@ -0,0 +1,244 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.default = exports.ChatState = void 0;
8
+ var _react = require("react");
9
+ var _session = require("./lib/session");
10
+ var _chatSdk = _interopRequireDefault(require("./utils/chatSdk"));
11
+ var _helpers = require("./lib/helpers");
12
+ var _global = require("./utils/global");
13
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
14
+ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
15
+ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
16
+ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
17
+ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
18
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
19
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
20
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
21
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
22
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
23
+ function _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 exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
24
+ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
25
+ function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
26
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
27
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
28
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
29
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
30
+ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
31
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
32
+ var Chat = /*#__PURE__*/(0, _react.createContext)();
33
+ var ChatContext = function ChatContext(props) {
34
+ var children = props.children,
35
+ mqttCreds = props.mqttCreds;
36
+ var _useState = (0, _react.useState)(),
37
+ _useState2 = _slicedToArray(_useState, 2),
38
+ theme = _useState2[0],
39
+ setTheme = _useState2[1];
40
+ var _useState3 = (0, _react.useState)(true),
41
+ _useState4 = _slicedToArray(_useState3, 2),
42
+ loading = _useState4[0],
43
+ setLoading = _useState4[1];
44
+ var _useState5 = (0, _react.useState)(false),
45
+ _useState6 = _slicedToArray(_useState5, 2),
46
+ userloggedIn = _useState6[0],
47
+ setUserloggedIn = _useState6[1];
48
+ var _useState7 = (0, _react.useState)(),
49
+ _useState8 = _slicedToArray(_useState7, 2),
50
+ userDetails = _useState8[0],
51
+ setUserDetails = _useState8[1];
52
+ var _useState9 = (0, _react.useState)(true),
53
+ _useState10 = _slicedToArray(_useState9, 2),
54
+ showLoader = _useState10[0],
55
+ setShowLoader = _useState10[1];
56
+ var _useState11 = (0, _react.useState)({}),
57
+ _useState12 = _slicedToArray(_useState11, 2),
58
+ findUserId = _useState12[0],
59
+ setFindUserId = _useState12[1];
60
+ var _useState13 = (0, _react.useState)({
61
+ selectedConvId: "",
62
+ messages: {},
63
+ conversations: [],
64
+ users: []
65
+ }),
66
+ _useState14 = _slicedToArray(_useState13, 2),
67
+ state = _useState14[0],
68
+ setState = _useState14[1];
69
+ var userId = (0, _session.getCookie)("userId");
70
+ (0, _react.useEffect)(function () {
71
+ var isDarkTheme = (0, _session.getCookie)("theme");
72
+ isDarkTheme === "true" ? setTheme(true) : setTheme(false);
73
+ if (isDarkTheme === "true") {
74
+ var element = document.body;
75
+ element.classList.add("dark-theme");
76
+ }
77
+ getData();
78
+ fetchUserToken();
79
+ registerServiceWorker();
80
+ }, []);
81
+ var registerServiceWorker = function registerServiceWorker() {
82
+ try {
83
+ if ('serviceWorker' in navigator) {
84
+ window.addEventListener('load', function () {
85
+ navigator.serviceWorker.register('/service-worker.js').then(function (registration) {
86
+ console.log('Service worker registered:', registration);
87
+ }).catch(function (error) {
88
+ console.log('Service worker registration failed:', error);
89
+ });
90
+ });
91
+ } else {
92
+ console.log('service worker not available');
93
+ }
94
+ } catch (error) {
95
+ console.log('!! --- Error while registering service worker -- !!!');
96
+ }
97
+ };
98
+ var fetchUserToken = /*#__PURE__*/function () {
99
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
100
+ var token, _client$user;
101
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
102
+ while (1) switch (_context.prev = _context.next) {
103
+ case 0:
104
+ try {
105
+ token = (0, _session.getCookie)("userToken");
106
+ if (token) {
107
+ _chatSdk.default === null || _chatSdk.default === void 0 || (_client$user = _chatSdk.default.user) === null || _client$user === void 0 ? void 0 : _client$user.setUserToken(token);
108
+ setUserloggedIn(true);
109
+ } else {
110
+ setUserloggedIn(false);
111
+ }
112
+ setLoading(false);
113
+ _chatSdk.default.user.getUserDetails().then(function (res) {
114
+ setUserDetails(res);
115
+ });
116
+ } catch (err) {
117
+ console.log('Errrroorrr -- ', err);
118
+ }
119
+ case 1:
120
+ case "end":
121
+ return _context.stop();
122
+ }
123
+ }, _callee);
124
+ }));
125
+ return function fetchUserToken() {
126
+ return _ref.apply(this, arguments);
127
+ };
128
+ }();
129
+ var getData = /*#__PURE__*/function () {
130
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
131
+ var deviceId, mqttClient;
132
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
133
+ while (1) switch (_context2.prev = _context2.next) {
134
+ case 0:
135
+ _context2.next = 2;
136
+ return (0, _helpers.getDeviceId)();
137
+ case 2:
138
+ deviceId = _context2.sent;
139
+ mqttClient = _chatSdk.default.initializeMqtt({
140
+ hostUri: "wss://connections.isometrik.io:2053/mqtt",
141
+ clientId: userId,
142
+ licenseKey: mqttCreds.licenseKey,
143
+ // context
144
+ projectId: mqttCreds.projectId,
145
+ // context
146
+ keysetId: mqttCreds.keysetId,
147
+ // context
148
+ accountId: mqttCreds.accountId,
149
+ // context
150
+ deviceId: deviceId
151
+ });
152
+ mqttClient.on("MESSAGE_RECEIVED", function (msg) {
153
+ var message = JSON.parse(msg === null || msg === void 0 ? void 0 : msg.payloadString);
154
+ console.log("APPmessage", message);
155
+ setFindUserId(message);
156
+ setState(function (prev) {
157
+ if (prev !== null && prev !== void 0 && prev.messages && Object.keys(prev === null || prev === void 0 ? void 0 : prev.messages).includes(message === null || message === void 0 ? void 0 : message.conversationId)) {
158
+ var _message$body;
159
+ if ((message === null || message === void 0 || (_message$body = message.body) === null || _message$body === void 0 ? void 0 : _message$body.length) > 0) {
160
+ return _objectSpread(_objectSpread({}, prev), {}, {
161
+ messages: _objectSpread(_objectSpread({}, prev === null || prev === void 0 ? void 0 : prev.messages), {}, _defineProperty({}, message === null || message === void 0 ? void 0 : message.conversationId, [message].concat(_toConsumableArray(prev === null || prev === void 0 ? void 0 : prev.messages[message === null || message === void 0 ? void 0 : message.conversationId]))))
162
+ });
163
+ } else {
164
+ return _objectSpread(_objectSpread({}, prev), {}, {
165
+ messages: _objectSpread(_objectSpread({}, prev === null || prev === void 0 ? void 0 : prev.messages), {}, _defineProperty({}, message === null || message === void 0 ? void 0 : message.conversationId, _toConsumableArray(prev === null || prev === void 0 ? void 0 : prev.messages[message === null || message === void 0 ? void 0 : message.conversationId])))
166
+ });
167
+ }
168
+ } else {
169
+ return _objectSpread(_objectSpread({}, prev), {}, {
170
+ messages: _objectSpread(_objectSpread({}, prev === null || prev === void 0 ? void 0 : prev.messages), {}, _defineProperty({}, message === null || message === void 0 ? void 0 : message.conversationId, [message]))
171
+ });
172
+ }
173
+ });
174
+ });
175
+ case 5:
176
+ case "end":
177
+ return _context2.stop();
178
+ }
179
+ }, _callee2);
180
+ }));
181
+ return function getData() {
182
+ return _ref2.apply(this, arguments);
183
+ };
184
+ }();
185
+ (0, _react.useEffect)(function () {
186
+ if (!Object.keys(findUserId).length || !findUserId.body || (findUserId === null || findUserId === void 0 ? void 0 : findUserId.senderId) === userId) return;
187
+ var title = "You have received a new message from ".concat(findUserId.senderName);
188
+ var body = "".concat((0, _helpers.decodeChatBody)(findUserId.body));
189
+ var icon = _global.ARROW_LOGO;
190
+
191
+ // const pushNotification = new Notification(title, { body, icon });
192
+
193
+ showNotification(title, body, icon);
194
+
195
+ // return () => pushNotification.close();
196
+ }, [findUserId.body]);
197
+ function showNotification(title, body, icon) {
198
+ var _navigator;
199
+ // Notification.requestPermission((result) => {
200
+ // if (result === "granted") {
201
+ (_navigator = navigator) === null || _navigator === void 0 || (_navigator = _navigator.serviceWorker) === null || _navigator === void 0 || (_navigator = _navigator.ready) === null || _navigator === void 0 || (_navigator = _navigator.then(function (registration) {
202
+ registration.showNotification(title, {
203
+ body: body,
204
+ icon: icon
205
+ });
206
+ })) === null || _navigator === void 0 ? void 0 : _navigator.catch(function (err) {
207
+ return console.log('error while pushing notifications using sw - ', err);
208
+ });
209
+ // }
210
+ // });
211
+ }
212
+
213
+ (0, _react.useEffect)(function () {
214
+ (0, _session.setCookie)("theme", theme);
215
+ var element = document.body;
216
+ element.classList.toggle("dark-theme");
217
+ }, [theme]);
218
+ return /*#__PURE__*/React.createElement(Chat.Provider, {
219
+ value: {
220
+ theme: theme,
221
+ setTheme: setTheme,
222
+ mqttCreds: mqttCreds,
223
+ setLoading: setLoading,
224
+ loading: loading,
225
+ setUserloggedIn: setUserloggedIn,
226
+ userloggedIn: userloggedIn,
227
+ setUserDetails: setUserDetails,
228
+ userDetails: userDetails,
229
+ setShowLoader: setShowLoader,
230
+ showLoader: showLoader,
231
+ userId: userId,
232
+ findUserId: findUserId,
233
+ setFindUserId: setFindUserId,
234
+ setState: setState,
235
+ state: state
236
+ }
237
+ }, children);
238
+ };
239
+ var _default = ChatContext;
240
+ exports.default = _default;
241
+ var ChatState = function ChatState() {
242
+ return (0, _react.useContext)(Chat);
243
+ };
244
+ exports.ChatState = ChatState;
@@ -0,0 +1,89 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.searchmenuitem = exports.menuItem = exports.headerMenuitem = exports.fontSize = exports.chatList = exports.WhITE = exports.PRIMARY_COLOUR = exports.BG_COlOUR = void 0;
7
+ var chatList = [{
8
+ id: "1",
9
+ name: "Harsh khandelwal",
10
+ message: "Hello World",
11
+ img: "https://i.pravatar.cc/250?u=mail@ashallendesign.co.uk"
12
+ }, {
13
+ id: "2",
14
+ name: "Akash sharma",
15
+ message: "Hello there ",
16
+ img: "https://www.gravatar.com/avatar/2c7d99fe281ecd3bcd65ab915bac6dd5?s=250"
17
+ }, {
18
+ id: "3",
19
+ name: "Amit gupta",
20
+ message: "How are you bro..",
21
+ img: "https://eu.ui-avatars.com/api/?name=John+Doe&size=250"
22
+ }, {
23
+ id: "4",
24
+ name: "Sujjet kumar",
25
+ message: "Yeah im good hpw are you",
26
+ img: "https://placebeard.it/250/250"
27
+ }, {
28
+ id: "5",
29
+ name: "Harshita mittal",
30
+ message: "im on my way to coming"
31
+ // img: "https://avatars.dicebear.com/api/adventurer-neutral/mail%40ashallendesign.co.uk.svg",
32
+ }, {
33
+ id: "6",
34
+ name: "Sonu jain",
35
+ message: "Off to ALwar",
36
+ img: "https://robohash.org/mail@ashallendesign.co.uk"
37
+ }, {
38
+ id: "7",
39
+ name: "Nisha kumari",
40
+ message: " Welcome to Appscrip harsh",
41
+ img: "https://via.placeholder.com/250"
42
+ }, {
43
+ id: "8",
44
+ name: "Sujjet kumar",
45
+ message: "Yeah im good hpw are you",
46
+ img: "https://placebeard.it/250/250"
47
+ }, {
48
+ id: "9",
49
+ name: "Harshita mehta",
50
+ message: "im on my way to coming",
51
+ img: "https://robohash.org/mail@ashallendesign.co.uk"
52
+ }, {
53
+ id: "10",
54
+ name: "Sonu goyal",
55
+ message: "Off to ALwar",
56
+ img: "https://placebeard.it/250/250"
57
+ }, {
58
+ id: "11",
59
+ name: "Nisha mittal",
60
+ message: " Welcome to Appscrip harsh",
61
+ img: "https://placebear.com/250/250"
62
+ }];
63
+ // ta = "mcdc"
64
+
65
+ // COLOR Code
66
+ exports.chatList = chatList;
67
+ var PRIMARY_COLOUR = "rgba(0, 0, 0, 0.8)";
68
+ exports.PRIMARY_COLOUR = PRIMARY_COLOUR;
69
+ var BG_COlOUR = "black";
70
+ exports.BG_COlOUR = BG_COlOUR;
71
+ var WhITE = "white";
72
+
73
+ // FONT_SIZE_CODE
74
+ exports.WhITE = WhITE;
75
+ var fontSize = {
76
+ name: "17px",
77
+ message: "14px"
78
+ };
79
+
80
+ // BACKGROUND_IMAGE
81
+ exports.fontSize = fontSize;
82
+ var menuItem = ["Archiv chat", "Mute conversation", "Delete Chat", "Pinchat", "mark as unread"];
83
+ exports.menuItem = menuItem;
84
+ var headerMenuitem = ["New Group", "New Community", "Started Message", "Setting", "Logout"];
85
+ exports.headerMenuitem = headerMenuitem;
86
+ var searchmenuitem = ["menuitem", "New community", "started message", "logout"];
87
+
88
+ // LOG0
89
+ exports.searchmenuitem = searchmenuitem;
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
8
+ var icons = {
9
+ lock: function lock(props) {
10
+ return /*#__PURE__*/React.createElement("svg", _extends({
11
+ width: "10px",
12
+ height: "12px",
13
+ viewBox: "0 0 10 12",
14
+ version: "1.1",
15
+ xmlns: "http://www.w3.org/2000/svg"
16
+ }, props), /*#__PURE__*/React.createElement("path", {
17
+ d: "M5.00847986,1.6 C6.38255462,1.6 7.50937014,2.67435859 7.5940156,4.02703389 L7.59911976,4.1906399 L7.599,5.462 L7.75719976,5.46214385 C8.34167974,5.46214385 8.81591972,5.94158383 8.81591972,6.53126381 L8.81591972,9.8834238 C8.81591972,10.4731038 8.34167974,10.9525438 7.75719976,10.9525438 L2.25767996,10.9525438 C1.67527998,10.9525438 1.2,10.4731038 1.2,9.8834238 L1.2,6.53126381 C1.2,5.94158383 1.67423998,5.46214385 2.25767996,5.46214385 L2.416,5.462 L2.41679995,4.1906399 C2.41679995,2.81636129 3.49135449,1.68973395 4.84478101,1.60510326 L5.00847986,1.6 Z M5.00847986,2.84799995 C4.31163824,2.84799995 3.73624912,3.38200845 3.6709675,4.06160439 L3.6647999,4.1906399 L3.663,5.462 L6.35,5.462 L6.35111981,4.1906399 C6.35111981,3.53817142 5.88169076,2.99180999 5.26310845,2.87228506 L5.13749818,2.85416626 L5.00847986,2.84799995 Z",
18
+ fill: "currentColor"
19
+ }));
20
+ },
21
+ singleTick: function singleTick(props) {
22
+ return /*#__PURE__*/React.createElement("svg", _extends({
23
+ xmlns: "http://www.w3.org/2000/svg",
24
+ viewBox: "0 0 16 15",
25
+ width: "16",
26
+ height: "15"
27
+ }, props), /*#__PURE__*/React.createElement("path", {
28
+ fill: "currentColor",
29
+ d: "M10.91 3.316l-.478-.372a.365.365 0 0 0-.51.063L4.566 9.879a.32.32 0 0 1-.484.033L1.891 7.769a.366.366 0 0 0-.515.006l-.423.433a.364.364 0 0 0 .006.514l3.258 3.185c.143.14.361.125.484-.033l6.272-8.048a.365.365 0 0 0-.063-.51z"
30
+ }));
31
+ },
32
+ doubleTick: function doubleTick(props) {
33
+ return /*#__PURE__*/React.createElement("svg", _extends({
34
+ xmlns: "http://www.w3.org/2000/svg",
35
+ viewBox: "0 0 16 15",
36
+ width: "16",
37
+ height: "15"
38
+ }, props), /*#__PURE__*/React.createElement("path", {
39
+ fill: "currentColor",
40
+ d: "M15.01 3.316l-.478-.372a.365.365 0 0 0-.51.063L8.666 9.879a.32.32 0 0 1-.484.033l-.358-.325a.319.319 0 0 0-.484.032l-.378.483a.418.418 0 0 0 .036.541l1.32 1.266c.143.14.361.125.484-.033l6.272-8.048a.366.366 0 0 0-.064-.512zm-4.1 0l-.478-.372a.365.365 0 0 0-.51.063L4.566 9.879a.32.32 0 0 1-.484.033L1.891 7.769a.366.366 0 0 0-.515.006l-.423.433a.364.364 0 0 0 .006.514l3.258 3.185c.143.14.361.125.484-.033l6.272-8.048a.365.365 0 0 0-.063-.51z"
41
+ }));
42
+ }
43
+ };
44
+
45
+ // name: (props) => (),
46
+ var _default = icons;
47
+ exports.default = _default;