@bigbinary/neeto-molecules 1.0.23 → 1.0.25

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.
@@ -1,11 +1,11 @@
1
1
  import { values, last, identity, assoc, pluck, any, prop, fromPairs, isEmpty } from 'ramda';
2
2
  import React, { useEffect, useState, useRef } from 'react';
3
+ import { Check, Copy, Info } from '@bigbinary/neeto-icons';
4
+ import { Typography, Select, Button, Pane, Toastr, Switch, Label, Callout } from '@bigbinary/neetoui';
5
+ import { useTranslation, Trans } from 'react-i18next';
3
6
  import { useMutation, useQuery, useQueryClient, QueryClient, QueryClientProvider } from 'react-query';
4
7
  import { capitalize, noop, isNotEmpty } from '@bigbinary/neeto-commons-frontend/pure';
5
8
  import { usePrevious } from '@bigbinary/neeto-commons-frontend/react-utils';
6
- import { Check, Copy, Help } from '@bigbinary/neeto-icons';
7
- import { Typography, Select, Button, Pane, Toastr, Switch } from '@bigbinary/neetoui';
8
- import { useTranslation, Trans } from 'react-i18next';
9
9
  import { Neeto } from '@bigbinary/neeto-icons/logos';
10
10
  import { copyToClipboard } from '@bigbinary/neeto-commons-frontend/utils';
11
11
  import { Formik, Form } from 'formik';
@@ -353,7 +353,7 @@ var FRAMEWORK_SELECT_OPTIONS = (cov_ejy6rtpli().s[12]++, [{
353
353
  label: "PHP",
354
354
  value: AVAILABLE_FRAMEWORK_OPTIONS.php
355
355
  }]);
356
- var SAMPLE_USER_IDENTITY_CODE_STRING = (cov_ejy6rtpli().s[13]++, (_ref$1 = {}, _defineProperty(_ref$1, AVAILABLE_FRAMEWORK_OPTIONS.rails, "window.".concat(NEETO_WIDGET_USER_IDENTITY_KEY, " = {\n user_identifier: \"<%= current_user.id %>\", // User identifier\"\n name: \"<%= current_user.name %>\", // Full name\n email: \"<%= current_user.name %>\", // Email address\n started_at: \"<%= current_user.created_at.to_i %>\" // Signup date as a Unix timestamp ,\n }")), _defineProperty(_ref$1, AVAILABLE_FRAMEWORK_OPTIONS.django, "window.".concat(NEETO_WIDGET_USER_IDENTITY_KEY, " = {\n user_identifier: \"{{ request.user.name|escapejs }}\", // User identifier\n name: \"{{ request.user.name|escapejs }}\", // Full name\n email: \"{{ request.user.email|escapejs }}\", // Email address\n started_at: \"{{ request.user.date_joined|date:'U' }}\" // Signup date as a Unix timestamp\"\n }")), _defineProperty(_ref$1, AVAILABLE_FRAMEWORK_OPTIONS.php, "window.".concat(NEETO_WIDGET_USER_IDENTITY_KEY, " = {\n user_identifier: <?php echo json_encode($current_user->id) ?>, // User identifier\n name: <?php echo json_encode($current_user->name) ?>, // Full name\n email: <?php echo json_encode($current_user->email) ?>, // Email address\n started_at: \"<?php echo strtotime($current_user->created_at) ?>\" // Signup date as a Unix timestamp\" ,\n }")), _ref$1));
356
+ var SAMPLE_USER_IDENTITY_CODE_STRING = (cov_ejy6rtpli().s[13]++, (_ref$1 = {}, _defineProperty(_ref$1, AVAILABLE_FRAMEWORK_OPTIONS.rails, "window.".concat(NEETO_WIDGET_USER_IDENTITY_KEY, " = {\n user_identifier: \"<%= current_user.id %>\", // User identifier\"\n name: \"<%= current_user.name %>\", // Full name\n email: \"<%= current_user.email %>\", // Email address\n started_at: \"<%= current_user.created_at.to_i %>\" // Signup date as a Unix timestamp ,\n }")), _defineProperty(_ref$1, AVAILABLE_FRAMEWORK_OPTIONS.django, "window.".concat(NEETO_WIDGET_USER_IDENTITY_KEY, " = {\n user_identifier: \"{{ request.user.id|escapejs }}\", // User identifier\n name: \"{{ request.user.name|escapejs }}\", // Full name\n email: \"{{ request.user.email|escapejs }}\", // Email address\n started_at: \"{{ request.user.created_at|date:'U' }}\" // Signup date as a Unix timestamp\"\n }")), _defineProperty(_ref$1, AVAILABLE_FRAMEWORK_OPTIONS.php, "window.".concat(NEETO_WIDGET_USER_IDENTITY_KEY, " = {\n user_identifier: <?php echo json_encode($current_user->id) ?>, // User identifier\n name: <?php echo json_encode($current_user->name) ?>, // Full name\n email: <?php echo json_encode($current_user->email) ?>, // Email address\n started_at: <?php echo strtotime($current_user->created_at) ?> // Signup date as a Unix timestamp\" ,\n }")), _ref$1));
357
357
  var WIDGET_CONFIG_URL = (cov_ejy6rtpli().s[14]++, "api/widget/v1/neeto_widget_tokens");
358
358
  var EMBED_CODE_EMAIL_URL = (cov_ejy6rtpli().s[15]++, "api/widget/v1/email_snippets");
359
359
  var WIDGET_KB_BASE_URL = (cov_ejy6rtpli().s[16]++, "https://neetowidgethelp.neetokb.com");
@@ -435,6 +435,69 @@ function _slicedToArray(arr, i) {
435
435
  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
436
436
  }
437
437
 
438
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
439
+
440
+ var classnames$1 = {exports: {}};
441
+
442
+ /*!
443
+ Copyright (c) 2018 Jed Watson.
444
+ Licensed under the MIT License (MIT), see
445
+ http://jedwatson.github.io/classnames
446
+ */
447
+
448
+ (function (module) {
449
+ /* global define */
450
+
451
+ (function () {
452
+
453
+ var hasOwn = {}.hasOwnProperty;
454
+
455
+ function classNames() {
456
+ var classes = [];
457
+
458
+ for (var i = 0; i < arguments.length; i++) {
459
+ var arg = arguments[i];
460
+ if (!arg) continue;
461
+
462
+ var argType = typeof arg;
463
+
464
+ if (argType === 'string' || argType === 'number') {
465
+ classes.push(arg);
466
+ } else if (Array.isArray(arg)) {
467
+ if (arg.length) {
468
+ var inner = classNames.apply(null, arg);
469
+ if (inner) {
470
+ classes.push(inner);
471
+ }
472
+ }
473
+ } else if (argType === 'object') {
474
+ if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
475
+ classes.push(arg.toString());
476
+ continue;
477
+ }
478
+
479
+ for (var key in arg) {
480
+ if (hasOwn.call(arg, key) && arg[key]) {
481
+ classes.push(key);
482
+ }
483
+ }
484
+ }
485
+ }
486
+
487
+ return classes.join(' ');
488
+ }
489
+
490
+ if (module.exports) {
491
+ classNames.default = classNames;
492
+ module.exports = classNames;
493
+ } else {
494
+ window.classNames = classNames;
495
+ }
496
+ }());
497
+ } (classnames$1));
498
+
499
+ var classnames = classnames$1.exports;
500
+
438
501
  function _objectWithoutPropertiesLoose(source, excluded) {
439
502
  if (source == null) return {};
440
503
  var target = {};
@@ -658,69 +721,6 @@ var PageLoader = function PageLoader(_ref) {
658
721
  };
659
722
  cov_1rnptrlqih().s[2]++;
660
723
 
661
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
662
-
663
- var classnames$1 = {exports: {}};
664
-
665
- /*!
666
- Copyright (c) 2018 Jed Watson.
667
- Licensed under the MIT License (MIT), see
668
- http://jedwatson.github.io/classnames
669
- */
670
-
671
- (function (module) {
672
- /* global define */
673
-
674
- (function () {
675
-
676
- var hasOwn = {}.hasOwnProperty;
677
-
678
- function classNames() {
679
- var classes = [];
680
-
681
- for (var i = 0; i < arguments.length; i++) {
682
- var arg = arguments[i];
683
- if (!arg) continue;
684
-
685
- var argType = typeof arg;
686
-
687
- if (argType === 'string' || argType === 'number') {
688
- classes.push(arg);
689
- } else if (Array.isArray(arg)) {
690
- if (arg.length) {
691
- var inner = classNames.apply(null, arg);
692
- if (inner) {
693
- classes.push(inner);
694
- }
695
- }
696
- } else if (argType === 'object') {
697
- if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
698
- classes.push(arg.toString());
699
- continue;
700
- }
701
-
702
- for (var key in arg) {
703
- if (hasOwn.call(arg, key) && arg[key]) {
704
- classes.push(key);
705
- }
706
- }
707
- }
708
- }
709
-
710
- return classes.join(' ');
711
- }
712
-
713
- if (module.exports) {
714
- classNames.default = classNames;
715
- module.exports = classNames;
716
- } else {
717
- window.classNames = classNames;
718
- }
719
- }());
720
- } (classnames$1));
721
-
722
- var classnames = classnames$1.exports;
723
-
724
724
  var prism = {exports: {}};
725
725
 
726
726
  (function (module) {
@@ -3601,7 +3601,7 @@ var CodeBlock = function CodeBlock(_ref) {
3601
3601
  })), /*#__PURE__*/React.createElement("div", {
3602
3602
  className: "flex flex-shrink-0 items-center justify-end gap-2"
3603
3603
  }, sendViaEmail ? (cov_2d7912y0n9().b[9][0]++, /*#__PURE__*/React.createElement(Button, {
3604
- style: "secondary",
3604
+ style: "text",
3605
3605
  label: t("neetoMolecules.widget.installation.snippet.sendViaEmail"),
3606
3606
  onClick: sendViaEmail
3607
3607
  })) : (cov_2d7912y0n9().b[9][1]++, null), (cov_2d7912y0n9().b[10][0]++, showCopyButton) && (cov_2d7912y0n9().b[10][1]++, /*#__PURE__*/React.createElement(Button, {
@@ -3993,7 +3993,7 @@ try {
3993
3993
 
3994
3994
  function cov_1ajsf5p84l() {
3995
3995
  var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/NeetoWidget/utils.js";
3996
- var hash = "63e5ff20d59ea5e6794cdacf4120f798dfd51e27";
3996
+ var hash = "49a8f712173793016480ba7b66ebcfd23dde4bb9";
3997
3997
  var global = new Function("return this")();
3998
3998
  var gcv = "__coverage__";
3999
3999
  var coverageData = {
@@ -4255,187 +4255,237 @@ function cov_1ajsf5p84l() {
4255
4255
  column: 37
4256
4256
  },
4257
4257
  end: {
4258
- line: 83,
4259
- column: 3
4258
+ line: 88,
4259
+ column: 1
4260
4260
  }
4261
4261
  },
4262
4262
  "26": {
4263
4263
  start: {
4264
- line: 66,
4265
- column: 2
4264
+ line: 67,
4265
+ column: 4
4266
4266
  },
4267
4267
  end: {
4268
- line: 83,
4269
- column: 3
4268
+ line: 67,
4269
+ column: 67
4270
4270
  }
4271
4271
  },
4272
4272
  "27": {
4273
4273
  start: {
4274
- line: 70,
4275
- column: 8
4274
+ line: 69,
4275
+ column: 2
4276
4276
  },
4277
4277
  end: {
4278
- line: 78,
4279
- column: 9
4278
+ line: 87,
4279
+ column: 4
4280
4280
  }
4281
4281
  },
4282
4282
  "28": {
4283
4283
  start: {
4284
- line: 77,
4284
+ line: 72,
4285
+ column: 27
4286
+ },
4287
+ end: {
4288
+ line: 72,
4289
+ column: 48
4290
+ }
4291
+ },
4292
+ "29": {
4293
+ start: {
4294
+ line: 73,
4295
+ column: 34
4296
+ },
4297
+ end: {
4298
+ line: 73,
4299
+ column: 59
4300
+ }
4301
+ },
4302
+ "30": {
4303
+ start: {
4304
+ line: 74,
4305
+ column: 32
4306
+ },
4307
+ end: {
4308
+ line: 74,
4309
+ column: 60
4310
+ }
4311
+ },
4312
+ "31": {
4313
+ start: {
4314
+ line: 76,
4285
4315
  column: 10
4286
4316
  },
4287
4317
  end: {
4318
+ line: 76,
4319
+ column: 63
4320
+ }
4321
+ },
4322
+ "32": {
4323
+ start: {
4288
4324
  line: 77,
4289
- column: 49
4325
+ column: 8
4326
+ },
4327
+ end: {
4328
+ line: 82,
4329
+ column: 9
4290
4330
  }
4291
4331
  },
4292
- "29": {
4332
+ "33": {
4293
4333
  start: {
4294
- line: 80,
4334
+ line: 81,
4335
+ column: 10
4336
+ },
4337
+ end: {
4338
+ line: 81,
4339
+ column: 22
4340
+ }
4341
+ },
4342
+ "34": {
4343
+ start: {
4344
+ line: 84,
4295
4345
  column: 8
4296
4346
  },
4297
4347
  end: {
4298
- line: 80,
4348
+ line: 84,
4299
4349
  column: 19
4300
4350
  }
4301
4351
  },
4302
- "30": {
4352
+ "35": {
4303
4353
  start: {
4304
- line: 85,
4354
+ line: 90,
4305
4355
  column: 44
4306
4356
  },
4307
4357
  end: {
4308
- line: 98,
4358
+ line: 103,
4309
4359
  column: 11
4310
4360
  }
4311
4361
  },
4312
- "31": {
4362
+ "36": {
4313
4363
  start: {
4314
- line: 86,
4364
+ line: 91,
4315
4365
  column: 2
4316
4366
  },
4317
4367
  end: {
4318
- line: 98,
4368
+ line: 103,
4319
4369
  column: 11
4320
4370
  }
4321
4371
  },
4322
- "32": {
4372
+ "37": {
4323
4373
  start: {
4324
- line: 100,
4374
+ line: 105,
4325
4375
  column: 54
4326
4376
  },
4327
4377
  end: {
4328
- line: 103,
4378
+ line: 108,
4329
4379
  column: 2
4330
4380
  }
4331
4381
  },
4332
- "33": {
4382
+ "38": {
4333
4383
  start: {
4334
- line: 100,
4384
+ line: 105,
4335
4385
  column: 66
4336
4386
  },
4337
4387
  end: {
4338
- line: 103,
4388
+ line: 108,
4339
4389
  column: 1
4340
4390
  }
4341
4391
  },
4342
- "34": {
4392
+ "39": {
4343
4393
  start: {
4344
- line: 105,
4394
+ line: 110,
4345
4395
  column: 46
4346
4396
  },
4347
4397
  end: {
4348
- line: 121,
4398
+ line: 126,
4349
4399
  column: 1
4350
4400
  }
4351
4401
  },
4352
- "35": {
4402
+ "40": {
4353
4403
  start: {
4354
- line: 106,
4404
+ line: 111,
4355
4405
  column: 26
4356
4406
  },
4357
4407
  end: {
4358
- line: 108,
4408
+ line: 113,
4359
4409
  column: 48
4360
4410
  }
4361
4411
  },
4362
- "36": {
4412
+ "41": {
4363
4413
  start: {
4364
- line: 108,
4414
+ line: 113,
4365
4415
  column: 19
4366
4416
  },
4367
4417
  end: {
4368
- line: 108,
4418
+ line: 113,
4369
4419
  column: 47
4370
4420
  }
4371
4421
  },
4372
- "37": {
4422
+ "42": {
4373
4423
  start: {
4374
- line: 110,
4424
+ line: 115,
4375
4425
  column: 2
4376
4426
  },
4377
4427
  end: {
4378
- line: 112,
4428
+ line: 117,
4379
4429
  column: 3
4380
4430
  }
4381
4431
  },
4382
- "38": {
4432
+ "43": {
4383
4433
  start: {
4384
- line: 111,
4434
+ line: 116,
4385
4435
  column: 4
4386
4436
  },
4387
4437
  end: {
4388
- line: 111,
4438
+ line: 116,
4389
4439
  column: 30
4390
4440
  }
4391
4441
  },
4392
- "39": {
4442
+ "44": {
4393
4443
  start: {
4394
- line: 114,
4444
+ line: 119,
4395
4445
  column: 2
4396
4446
  },
4397
4447
  end: {
4398
- line: 120,
4448
+ line: 125,
4399
4449
  column: 5
4400
4450
  }
4401
4451
  },
4402
- "40": {
4452
+ "45": {
4403
4453
  start: {
4404
- line: 123,
4454
+ line: 128,
4405
4455
  column: 53
4406
4456
  },
4407
4457
  end: {
4408
- line: 133,
4458
+ line: 138,
4409
4459
  column: 4
4410
4460
  }
4411
4461
  },
4412
- "41": {
4462
+ "46": {
4413
4463
  start: {
4414
- line: 124,
4464
+ line: 129,
4415
4465
  column: 2
4416
4466
  },
4417
4467
  end: {
4418
- line: 133,
4468
+ line: 138,
4419
4469
  column: 4
4420
4470
  }
4421
4471
  },
4422
- "42": {
4472
+ "47": {
4423
4473
  start: {
4424
- line: 135,
4474
+ line: 140,
4425
4475
  column: 34
4426
4476
  },
4427
4477
  end: {
4428
- line: 136,
4478
+ line: 141,
4429
4479
  column: 71
4430
4480
  }
4431
4481
  },
4432
- "43": {
4482
+ "48": {
4433
4483
  start: {
4434
- line: 136,
4484
+ line: 141,
4435
4485
  column: 2
4436
4486
  },
4437
4487
  end: {
4438
- line: 136,
4488
+ line: 141,
4439
4489
  column: 71
4440
4490
  }
4441
4491
  }
@@ -4719,183 +4769,183 @@ function cov_1ajsf5p84l() {
4719
4769
  },
4720
4770
  loc: {
4721
4771
  start: {
4722
- line: 66,
4723
- column: 2
4772
+ line: 65,
4773
+ column: 76
4724
4774
  },
4725
4775
  end: {
4726
- line: 83,
4727
- column: 3
4776
+ line: 88,
4777
+ column: 1
4728
4778
  }
4729
4779
  },
4730
- line: 66
4780
+ line: 65
4731
4781
  },
4732
4782
  "12": {
4733
4783
  name: "(anonymous_12)",
4734
4784
  decl: {
4735
4785
  start: {
4736
- line: 69,
4786
+ line: 71,
4737
4787
  column: 11
4738
4788
  },
4739
4789
  end: {
4740
- line: 69,
4790
+ line: 71,
4741
4791
  column: 12
4742
4792
  }
4743
4793
  },
4744
4794
  loc: {
4745
4795
  start: {
4746
- line: 69,
4796
+ line: 71,
4747
4797
  column: 18
4748
4798
  },
4749
4799
  end: {
4750
- line: 81,
4800
+ line: 85,
4751
4801
  column: 7
4752
4802
  }
4753
4803
  },
4754
- line: 69
4804
+ line: 71
4755
4805
  },
4756
4806
  "13": {
4757
4807
  name: "(anonymous_13)",
4758
4808
  decl: {
4759
4809
  start: {
4760
- line: 85,
4810
+ line: 90,
4761
4811
  column: 44
4762
4812
  },
4763
4813
  end: {
4764
- line: 85,
4814
+ line: 90,
4765
4815
  column: 45
4766
4816
  }
4767
4817
  },
4768
4818
  loc: {
4769
4819
  start: {
4770
- line: 86,
4820
+ line: 91,
4771
4821
  column: 2
4772
4822
  },
4773
4823
  end: {
4774
- line: 98,
4824
+ line: 103,
4775
4825
  column: 11
4776
4826
  }
4777
4827
  },
4778
- line: 86
4828
+ line: 91
4779
4829
  },
4780
4830
  "14": {
4781
4831
  name: "(anonymous_14)",
4782
4832
  decl: {
4783
4833
  start: {
4784
- line: 100,
4834
+ line: 105,
4785
4835
  column: 54
4786
4836
  },
4787
4837
  end: {
4788
- line: 100,
4838
+ line: 105,
4789
4839
  column: 55
4790
4840
  }
4791
4841
  },
4792
4842
  loc: {
4793
4843
  start: {
4794
- line: 100,
4844
+ line: 105,
4795
4845
  column: 66
4796
4846
  },
4797
4847
  end: {
4798
- line: 103,
4848
+ line: 108,
4799
4849
  column: 1
4800
4850
  }
4801
4851
  },
4802
- line: 100
4852
+ line: 105
4803
4853
  },
4804
4854
  "15": {
4805
4855
  name: "(anonymous_15)",
4806
4856
  decl: {
4807
4857
  start: {
4808
- line: 105,
4858
+ line: 110,
4809
4859
  column: 46
4810
4860
  },
4811
4861
  end: {
4812
- line: 105,
4862
+ line: 110,
4813
4863
  column: 47
4814
4864
  }
4815
4865
  },
4816
4866
  loc: {
4817
4867
  start: {
4818
- line: 105,
4868
+ line: 110,
4819
4869
  column: 77
4820
4870
  },
4821
4871
  end: {
4822
- line: 121,
4872
+ line: 126,
4823
4873
  column: 1
4824
4874
  }
4825
4875
  },
4826
- line: 105
4876
+ line: 110
4827
4877
  },
4828
4878
  "16": {
4829
4879
  name: "(anonymous_16)",
4830
4880
  decl: {
4831
4881
  start: {
4832
- line: 108,
4882
+ line: 113,
4833
4883
  column: 9
4834
4884
  },
4835
4885
  end: {
4836
- line: 108,
4886
+ line: 113,
4837
4887
  column: 10
4838
4888
  }
4839
4889
  },
4840
4890
  loc: {
4841
4891
  start: {
4842
- line: 108,
4892
+ line: 113,
4843
4893
  column: 19
4844
4894
  },
4845
4895
  end: {
4846
- line: 108,
4896
+ line: 113,
4847
4897
  column: 47
4848
4898
  }
4849
4899
  },
4850
- line: 108
4900
+ line: 113
4851
4901
  },
4852
4902
  "17": {
4853
4903
  name: "(anonymous_17)",
4854
4904
  decl: {
4855
4905
  start: {
4856
- line: 123,
4906
+ line: 128,
4857
4907
  column: 53
4858
4908
  },
4859
4909
  end: {
4860
- line: 123,
4910
+ line: 128,
4861
4911
  column: 54
4862
4912
  }
4863
4913
  },
4864
4914
  loc: {
4865
4915
  start: {
4866
- line: 124,
4916
+ line: 129,
4867
4917
  column: 2
4868
4918
  },
4869
4919
  end: {
4870
- line: 133,
4920
+ line: 138,
4871
4921
  column: 4
4872
4922
  }
4873
4923
  },
4874
- line: 124
4924
+ line: 129
4875
4925
  },
4876
4926
  "18": {
4877
4927
  name: "(anonymous_18)",
4878
4928
  decl: {
4879
4929
  start: {
4880
- line: 135,
4930
+ line: 140,
4881
4931
  column: 34
4882
4932
  },
4883
4933
  end: {
4884
- line: 135,
4934
+ line: 140,
4885
4935
  column: 35
4886
4936
  }
4887
4937
  },
4888
4938
  loc: {
4889
4939
  start: {
4890
- line: 136,
4940
+ line: 141,
4891
4941
  column: 2
4892
4942
  },
4893
4943
  end: {
4894
- line: 136,
4944
+ line: 141,
4895
4945
  column: 71
4896
4946
  }
4897
4947
  },
4898
- line: 136
4948
+ line: 141
4899
4949
  }
4900
4950
  },
4901
4951
  branchMap: {
@@ -5076,22 +5126,64 @@ function cov_1ajsf5p84l() {
5076
5126
  "5": {
5077
5127
  loc: {
5078
5128
  start: {
5079
- line: 70,
5129
+ line: 76,
5130
+ column: 10
5131
+ },
5132
+ end: {
5133
+ line: 76,
5134
+ column: 63
5135
+ }
5136
+ },
5137
+ type: "binary-expr",
5138
+ locations: [{
5139
+ start: {
5140
+ line: 76,
5141
+ column: 10
5142
+ },
5143
+ end: {
5144
+ line: 76,
5145
+ column: 21
5146
+ }
5147
+ }, {
5148
+ start: {
5149
+ line: 76,
5150
+ column: 25
5151
+ },
5152
+ end: {
5153
+ line: 76,
5154
+ column: 43
5155
+ }
5156
+ }, {
5157
+ start: {
5158
+ line: 76,
5159
+ column: 47
5160
+ },
5161
+ end: {
5162
+ line: 76,
5163
+ column: 63
5164
+ }
5165
+ }],
5166
+ line: 76
5167
+ },
5168
+ "6": {
5169
+ loc: {
5170
+ start: {
5171
+ line: 77,
5080
5172
  column: 8
5081
5173
  },
5082
5174
  end: {
5083
- line: 78,
5175
+ line: 82,
5084
5176
  column: 9
5085
5177
  }
5086
5178
  },
5087
5179
  type: "if",
5088
5180
  locations: [{
5089
5181
  start: {
5090
- line: 70,
5182
+ line: 77,
5091
5183
  column: 8
5092
5184
  },
5093
5185
  end: {
5094
- line: 78,
5186
+ line: 82,
5095
5187
  column: 9
5096
5188
  }
5097
5189
  }, {
@@ -5104,219 +5196,201 @@ function cov_1ajsf5p84l() {
5104
5196
  column: undefined
5105
5197
  }
5106
5198
  }],
5107
- line: 70
5199
+ line: 77
5108
5200
  },
5109
- "6": {
5201
+ "7": {
5110
5202
  loc: {
5111
5203
  start: {
5112
- line: 71,
5204
+ line: 78,
5113
5205
  column: 10
5114
5206
  },
5115
5207
  end: {
5116
- line: 75,
5208
+ line: 79,
5117
5209
  column: 58
5118
5210
  }
5119
5211
  },
5120
5212
  type: "binary-expr",
5121
5213
  locations: [{
5122
5214
  start: {
5123
- line: 71,
5215
+ line: 78,
5124
5216
  column: 11
5125
5217
  },
5126
5218
  end: {
5127
- line: 71,
5219
+ line: 78,
5128
5220
  column: 31
5129
5221
  }
5130
5222
  }, {
5131
5223
  start: {
5132
- line: 72,
5133
- column: 12
5134
- },
5135
- end: {
5136
- line: 72,
5137
- column: 34
5138
- }
5139
- }, {
5140
- start: {
5141
- line: 73,
5142
- column: 12
5143
- },
5144
- end: {
5145
- line: 73,
5146
- column: 30
5147
- }
5148
- }, {
5149
- start: {
5150
- line: 74,
5151
- column: 12
5224
+ line: 78,
5225
+ column: 35
5152
5226
  },
5153
5227
  end: {
5154
- line: 74,
5155
- column: 30
5228
+ line: 78,
5229
+ column: 47
5156
5230
  }
5157
5231
  }, {
5158
5232
  start: {
5159
- line: 75,
5233
+ line: 79,
5160
5234
  column: 11
5161
5235
  },
5162
5236
  end: {
5163
- line: 75,
5237
+ line: 79,
5164
5238
  column: 31
5165
5239
  }
5166
5240
  }, {
5167
5241
  start: {
5168
- line: 75,
5242
+ line: 79,
5169
5243
  column: 35
5170
5244
  },
5171
5245
  end: {
5172
- line: 75,
5246
+ line: 79,
5173
5247
  column: 57
5174
5248
  }
5175
5249
  }],
5176
- line: 71
5250
+ line: 78
5177
5251
  },
5178
- "7": {
5252
+ "8": {
5179
5253
  loc: {
5180
5254
  start: {
5181
- line: 89,
5255
+ line: 94,
5182
5256
  column: 4
5183
5257
  },
5184
5258
  end: {
5185
- line: 91,
5259
+ line: 96,
5186
5260
  column: 10
5187
5261
  }
5188
5262
  },
5189
5263
  type: "cond-expr",
5190
5264
  locations: [{
5191
5265
  start: {
5192
- line: 90,
5266
+ line: 95,
5193
5267
  column: 8
5194
5268
  },
5195
5269
  end: {
5196
- line: 90,
5270
+ line: 95,
5197
5271
  column: 56
5198
5272
  }
5199
5273
  }, {
5200
5274
  start: {
5201
- line: 91,
5275
+ line: 96,
5202
5276
  column: 8
5203
5277
  },
5204
5278
  end: {
5205
- line: 91,
5279
+ line: 96,
5206
5280
  column: 10
5207
5281
  }
5208
5282
  }],
5209
- line: 89
5283
+ line: 94
5210
5284
  },
5211
- "8": {
5285
+ "9": {
5212
5286
  loc: {
5213
5287
  start: {
5214
- line: 89,
5288
+ line: 94,
5215
5289
  column: 4
5216
5290
  },
5217
5291
  end: {
5218
- line: 89,
5292
+ line: 94,
5219
5293
  column: 48
5220
5294
  }
5221
5295
  },
5222
5296
  type: "binary-expr",
5223
5297
  locations: [{
5224
5298
  start: {
5225
- line: 89,
5299
+ line: 94,
5226
5300
  column: 4
5227
5301
  },
5228
5302
  end: {
5229
- line: 89,
5303
+ line: 94,
5230
5304
  column: 23
5231
5305
  }
5232
5306
  }, {
5233
5307
  start: {
5234
- line: 89,
5308
+ line: 94,
5235
5309
  column: 27
5236
5310
  },
5237
5311
  end: {
5238
- line: 89,
5312
+ line: 94,
5239
5313
  column: 48
5240
5314
  }
5241
5315
  }],
5242
- line: 89
5316
+ line: 94
5243
5317
  },
5244
- "9": {
5318
+ "10": {
5245
5319
  loc: {
5246
5320
  start: {
5247
- line: 93,
5321
+ line: 98,
5248
5322
  column: 4
5249
5323
  },
5250
5324
  end: {
5251
- line: 93,
5325
+ line: 98,
5252
5326
  column: 70
5253
5327
  }
5254
5328
  },
5255
5329
  type: "cond-expr",
5256
5330
  locations: [{
5257
5331
  start: {
5258
- line: 93,
5332
+ line: 98,
5259
5333
  column: 28
5260
5334
  },
5261
5335
  end: {
5262
- line: 93,
5336
+ line: 98,
5263
5337
  column: 65
5264
5338
  }
5265
5339
  }, {
5266
5340
  start: {
5267
- line: 93,
5341
+ line: 98,
5268
5342
  column: 68
5269
5343
  },
5270
5344
  end: {
5271
- line: 93,
5345
+ line: 98,
5272
5346
  column: 70
5273
5347
  }
5274
5348
  }],
5275
- line: 93
5349
+ line: 98
5276
5350
  },
5277
- "10": {
5351
+ "11": {
5278
5352
  loc: {
5279
5353
  start: {
5280
- line: 105,
5354
+ line: 110,
5281
5355
  column: 56
5282
5356
  },
5283
5357
  end: {
5284
- line: 105,
5358
+ line: 110,
5285
5359
  column: 72
5286
5360
  }
5287
5361
  },
5288
5362
  type: "default-arg",
5289
5363
  locations: [{
5290
5364
  start: {
5291
- line: 105,
5365
+ line: 110,
5292
5366
  column: 67
5293
5367
  },
5294
5368
  end: {
5295
- line: 105,
5369
+ line: 110,
5296
5370
  column: 72
5297
5371
  }
5298
5372
  }],
5299
- line: 105
5373
+ line: 110
5300
5374
  },
5301
- "11": {
5375
+ "12": {
5302
5376
  loc: {
5303
5377
  start: {
5304
- line: 110,
5378
+ line: 115,
5305
5379
  column: 2
5306
5380
  },
5307
5381
  end: {
5308
- line: 112,
5382
+ line: 117,
5309
5383
  column: 3
5310
5384
  }
5311
5385
  },
5312
5386
  type: "if",
5313
5387
  locations: [{
5314
5388
  start: {
5315
- line: 110,
5389
+ line: 115,
5316
5390
  column: 2
5317
5391
  },
5318
5392
  end: {
5319
- line: 112,
5393
+ line: 117,
5320
5394
  column: 3
5321
5395
  }
5322
5396
  }, {
@@ -5329,40 +5403,40 @@ function cov_1ajsf5p84l() {
5329
5403
  column: undefined
5330
5404
  }
5331
5405
  }],
5332
- line: 110
5406
+ line: 115
5333
5407
  },
5334
- "12": {
5408
+ "13": {
5335
5409
  loc: {
5336
5410
  start: {
5337
- line: 117,
5411
+ line: 122,
5338
5412
  column: 9
5339
5413
  },
5340
5414
  end: {
5341
- line: 119,
5415
+ line: 124,
5342
5416
  column: 46
5343
5417
  }
5344
5418
  },
5345
5419
  type: "cond-expr",
5346
5420
  locations: [{
5347
5421
  start: {
5348
- line: 118,
5422
+ line: 123,
5349
5423
  column: 8
5350
5424
  },
5351
5425
  end: {
5352
- line: 118,
5426
+ line: 123,
5353
5427
  column: 76
5354
5428
  }
5355
5429
  }, {
5356
5430
  start: {
5357
- line: 119,
5431
+ line: 124,
5358
5432
  column: 8
5359
5433
  },
5360
5434
  end: {
5361
- line: 119,
5435
+ line: 124,
5362
5436
  column: 46
5363
5437
  }
5364
5438
  }],
5365
- line: 117
5439
+ line: 122
5366
5440
  }
5367
5441
  },
5368
5442
  s: {
@@ -5409,7 +5483,12 @@ function cov_1ajsf5p84l() {
5409
5483
  "40": 0,
5410
5484
  "41": 0,
5411
5485
  "42": 0,
5412
- "43": 0
5486
+ "43": 0,
5487
+ "44": 0,
5488
+ "45": 0,
5489
+ "46": 0,
5490
+ "47": 0,
5491
+ "48": 0
5413
5492
  },
5414
5493
  f: {
5415
5494
  "0": 0,
@@ -5438,17 +5517,18 @@ function cov_1ajsf5p84l() {
5438
5517
  "2": [0, 0],
5439
5518
  "3": [0, 0, 0, 0],
5440
5519
  "4": [0, 0],
5441
- "5": [0, 0],
5442
- "6": [0, 0, 0, 0, 0, 0],
5443
- "7": [0, 0],
5520
+ "5": [0, 0, 0],
5521
+ "6": [0, 0],
5522
+ "7": [0, 0, 0, 0],
5444
5523
  "8": [0, 0],
5445
5524
  "9": [0, 0],
5446
- "10": [0],
5447
- "11": [0, 0],
5448
- "12": [0, 0]
5525
+ "10": [0, 0],
5526
+ "11": [0],
5527
+ "12": [0, 0],
5528
+ "13": [0, 0]
5449
5529
  },
5450
5530
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
5451
- hash: "63e5ff20d59ea5e6794cdacf4120f798dfd51e27"
5531
+ hash: "49a8f712173793016480ba7b66ebcfd23dde4bb9"
5452
5532
  };
5453
5533
  var coverage = global[gcv] || (global[gcv] = {});
5454
5534
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -5548,73 +5628,78 @@ var filterMarkedCommands = function filterMarkedCommands(queryString) {
5548
5628
  cov_1ajsf5p84l().s[25]++;
5549
5629
  var getSampleUserIdentity = function getSampleUserIdentity(enabledWidgets, selectedFramework) {
5550
5630
  cov_1ajsf5p84l().f[11]++;
5551
- cov_1ajsf5p84l().s[26]++;
5552
- return filterMarkedCommands(SAMPLE_USER_IDENTITY_CODE_STRING[selectedFramework].split("\n").map(function (cmd) {
5631
+ var splitCodeLines = (cov_1ajsf5p84l().s[26]++, SAMPLE_USER_IDENTITY_CODE_STRING[selectedFramework].split("\n"));
5632
+ cov_1ajsf5p84l().s[27]++;
5633
+ return filterMarkedCommands(splitCodeLines.map(function (cmd) {
5553
5634
  cov_1ajsf5p84l().f[12]++;
5554
- cov_1ajsf5p84l().s[27]++;
5555
- if ((cov_1ajsf5p84l().b[6][0]++, !enabledWidgets.chat) && (cov_1ajsf5p84l().b[6][1]++, !cmd.includes("email")) && (cov_1ajsf5p84l().b[6][2]++, !cmd.includes("{")) && (cov_1ajsf5p84l().b[6][3]++, !cmd.includes("}")) || (cov_1ajsf5p84l().b[6][4]++, !enabledWidgets.chat) && (cov_1ajsf5p84l().b[6][5]++, !enabledWidgets.replay)) {
5556
- cov_1ajsf5p84l().b[5][0]++;
5557
- cov_1ajsf5p84l().s[28]++;
5558
- return getCommentedCommand(cmd, false);
5635
+ var isEmailKey = (cov_1ajsf5p84l().s[28]++, cmd.includes("email"));
5636
+ var isObjectStartLine = (cov_1ajsf5p84l().s[29]++, cmd === splitCodeLines[0]);
5637
+ var isObjectEndLine = (cov_1ajsf5p84l().s[30]++, cmd === last(splitCodeLines));
5638
+ var isLineHidden = (cov_1ajsf5p84l().s[31]++, (cov_1ajsf5p84l().b[5][0]++, !isEmailKey) && (cov_1ajsf5p84l().b[5][1]++, !isObjectStartLine) && (cov_1ajsf5p84l().b[5][2]++, !isObjectEndLine));
5639
+ cov_1ajsf5p84l().s[32]++;
5640
+ if ((cov_1ajsf5p84l().b[7][0]++, !enabledWidgets.chat) && (cov_1ajsf5p84l().b[7][1]++, isLineHidden) || (cov_1ajsf5p84l().b[7][2]++, !enabledWidgets.chat) && (cov_1ajsf5p84l().b[7][3]++, !enabledWidgets.replay)) {
5641
+ cov_1ajsf5p84l().b[6][0]++;
5642
+ cov_1ajsf5p84l().s[33]++;
5643
+ return null;
5559
5644
  } else {
5560
- cov_1ajsf5p84l().b[5][1]++;
5645
+ cov_1ajsf5p84l().b[6][1]++;
5561
5646
  }
5562
- cov_1ajsf5p84l().s[29]++;
5647
+ cov_1ajsf5p84l().s[34]++;
5563
5648
  return cmd;
5564
5649
  }).join("\n"));
5565
5650
  };
5566
- cov_1ajsf5p84l().s[30]++;
5651
+ cov_1ajsf5p84l().s[35]++;
5567
5652
  var sampleConsolidatedCodeString = function sampleConsolidatedCodeString(enabledWidgets, apiKey) {
5568
5653
  cov_1ajsf5p84l().f[13]++;
5569
- cov_1ajsf5p84l().s[31]++;
5570
- return filterMarkedCommands("".concat(buildEmbedWidgetScript(), "\n<script>\n ").concat((cov_1ajsf5p84l().b[8][0]++, enabledWidgets.chat) || (cov_1ajsf5p84l().b[8][1]++, enabledWidgets.replay) ? (cov_1ajsf5p84l().b[7][0]++, "window.".concat(NEETO_WIDGET_USER_IDENTITY_KEY, " = {};")) : (cov_1ajsf5p84l().b[7][1]++, ""), "\n ").concat(enabledWidgets.replay ? (cov_1ajsf5p84l().b[9][0]++, "window.".concat(SESSION_CONTEXT_KEY, " = {};")) : (cov_1ajsf5p84l().b[9][1]++, ""), "\n\n ").concat(indentAndFormat(wrapBlockInOnLoad(embedWidgetFunctionCall(enabledWidgets, apiKey))), "\n</script>"));
5654
+ cov_1ajsf5p84l().s[36]++;
5655
+ return filterMarkedCommands("".concat(buildEmbedWidgetScript(), "\n<script>\n ").concat((cov_1ajsf5p84l().b[9][0]++, enabledWidgets.chat) || (cov_1ajsf5p84l().b[9][1]++, enabledWidgets.replay) ? (cov_1ajsf5p84l().b[8][0]++, "window.".concat(NEETO_WIDGET_USER_IDENTITY_KEY, " = {};")) : (cov_1ajsf5p84l().b[8][1]++, ""), "\n ").concat(enabledWidgets.replay ? (cov_1ajsf5p84l().b[10][0]++, "window.".concat(SESSION_CONTEXT_KEY, " = {};")) : (cov_1ajsf5p84l().b[10][1]++, ""), "\n\n ").concat(indentAndFormat(wrapBlockInOnLoad(embedWidgetFunctionCall(enabledWidgets, apiKey))), "\n</script>"));
5571
5656
  };
5572
- cov_1ajsf5p84l().s[32]++;
5657
+ cov_1ajsf5p84l().s[37]++;
5573
5658
  var getEmailWidgetSnippetFormInitialValues = function getEmailWidgetSnippetFormInitialValues(subject) {
5574
5659
  cov_1ajsf5p84l().f[14]++;
5575
- cov_1ajsf5p84l().s[33]++;
5660
+ cov_1ajsf5p84l().s[38]++;
5576
5661
  return {
5577
5662
  emails: "",
5578
5663
  subject: subject
5579
5664
  };
5580
5665
  };
5581
- cov_1ajsf5p84l().s[34]++;
5666
+ cov_1ajsf5p84l().s[39]++;
5582
5667
  var getSelectedWidgetsCombinedText = function getSelectedWidgetsCombinedText(widgets) {
5583
- var withHtml = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (cov_1ajsf5p84l().b[10][0]++, false);
5668
+ var withHtml = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (cov_1ajsf5p84l().b[11][0]++, false);
5584
5669
  cov_1ajsf5p84l().f[15]++;
5585
- var prefixedWidgets = (cov_1ajsf5p84l().s[35]++, widgets.sort().map(function (widget) {
5670
+ var prefixedWidgets = (cov_1ajsf5p84l().s[40]++, widgets.sort().map(function (widget) {
5586
5671
  cov_1ajsf5p84l().f[16]++;
5587
- cov_1ajsf5p84l().s[36]++;
5672
+ cov_1ajsf5p84l().s[41]++;
5588
5673
  return "neeto".concat(capitalize(widget));
5589
5674
  }));
5590
- cov_1ajsf5p84l().s[37]++;
5675
+ cov_1ajsf5p84l().s[42]++;
5591
5676
  if (prefixedWidgets.length === 1) {
5592
- cov_1ajsf5p84l().b[11][0]++;
5593
- cov_1ajsf5p84l().s[38]++;
5677
+ cov_1ajsf5p84l().b[12][0]++;
5678
+ cov_1ajsf5p84l().s[43]++;
5594
5679
  return prefixedWidgets[0];
5595
5680
  } else {
5596
- cov_1ajsf5p84l().b[11][1]++;
5681
+ cov_1ajsf5p84l().b[12][1]++;
5597
5682
  }
5598
- cov_1ajsf5p84l().s[39]++;
5683
+ cov_1ajsf5p84l().s[44]++;
5599
5684
  return i18next.t("neetoMolecules.common.andSentence", {
5600
5685
  first: prefixedWidgets.slice(0, -1).join(", "),
5601
5686
  last: last(prefixedWidgets),
5602
- and: withHtml ? (cov_1ajsf5p84l().b[12][0]++, "<fontNormal>".concat(i18next.t("neetoMolecules.common.and"), "</fontNormal>")) : (cov_1ajsf5p84l().b[12][1]++, i18next.t("neetoMolecules.common.and"))
5687
+ and: withHtml ? (cov_1ajsf5p84l().b[13][0]++, "<fontNormal>".concat(i18next.t("neetoMolecules.common.and"), "</fontNormal>")) : (cov_1ajsf5p84l().b[13][1]++, i18next.t("neetoMolecules.common.and"))
5603
5688
  });
5604
5689
  };
5605
- cov_1ajsf5p84l().s[40]++;
5690
+ cov_1ajsf5p84l().s[45]++;
5606
5691
  var getEmailWidgetSnippetValidationSchema = function getEmailWidgetSnippetValidationSchema() {
5607
5692
  cov_1ajsf5p84l().f[17]++;
5608
- cov_1ajsf5p84l().s[41]++;
5693
+ cov_1ajsf5p84l().s[46]++;
5609
5694
  return yup.object({
5610
5695
  emails: yup.array().required().label(i18next.t("neetoMolecules.widget.email.fields.emails.label")),
5611
5696
  subject: yup.string().required().label(i18next.t("neetoMolecules.widget.email.fields.subject.label"))
5612
5697
  });
5613
5698
  };
5614
- cov_1ajsf5p84l().s[42]++;
5699
+ cov_1ajsf5p84l().s[47]++;
5615
5700
  var getWidgetApiKeyUrl = function getWidgetApiKeyUrl() {
5616
5701
  cov_1ajsf5p84l().f[18]++;
5617
- cov_1ajsf5p84l().s[43]++;
5702
+ cov_1ajsf5p84l().s[48]++;
5618
5703
  return "api/widget/v1/api_keys/".concat(window.globalProps.organization.subdomain);
5619
5704
  };
5620
5705
 
@@ -7342,7 +7427,7 @@ var useUpdateConfigurations = function useUpdateConfigurations() {
7342
7427
 
7343
7428
  function cov_jv5dgcssl() {
7344
7429
  var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/NeetoWidget/SelectionTabs.jsx";
7345
- var hash = "8292e5e23b4e5d011bf16300bbbc006d992c5d82";
7430
+ var hash = "89027aea3d1ff8c9765c8cca0d100750de18577e";
7346
7431
  var global = new Function("return this")();
7347
7432
  var gcv = "__coverage__";
7348
7433
  var coverageData = {
@@ -7354,7 +7439,7 @@ function cov_jv5dgcssl() {
7354
7439
  column: 22
7355
7440
  },
7356
7441
  end: {
7357
- line: 67,
7442
+ line: 70,
7358
7443
  column: 1
7359
7444
  }
7360
7445
  },
@@ -7374,7 +7459,7 @@ function cov_jv5dgcssl() {
7374
7459
  column: 28
7375
7460
  },
7376
7461
  end: {
7377
- line: 35,
7462
+ line: 36,
7378
7463
  column: 5
7379
7464
  }
7380
7465
  },
@@ -7384,7 +7469,7 @@ function cov_jv5dgcssl() {
7384
7469
  column: 4
7385
7470
  },
7386
7471
  end: {
7387
- line: 35,
7472
+ line: 36,
7388
7473
  column: 5
7389
7474
  }
7390
7475
  },
@@ -7394,47 +7479,47 @@ function cov_jv5dgcssl() {
7394
7479
  column: 6
7395
7480
  },
7396
7481
  end: {
7397
- line: 34,
7482
+ line: 35,
7398
7483
  column: 14
7399
7484
  }
7400
7485
  },
7401
7486
  "5": {
7402
7487
  start: {
7403
- line: 32,
7404
- column: 26
7488
+ line: 31,
7489
+ column: 28
7405
7490
  },
7406
7491
  end: {
7407
- line: 32,
7408
- column: 55
7492
+ line: 31,
7493
+ column: 57
7409
7494
  }
7410
7495
  },
7411
7496
  "6": {
7412
7497
  start: {
7413
- line: 37,
7498
+ line: 38,
7414
7499
  column: 2
7415
7500
  },
7416
7501
  end: {
7417
- line: 66,
7502
+ line: 69,
7418
7503
  column: 4
7419
7504
  }
7420
7505
  },
7421
7506
  "7": {
7422
7507
  start: {
7423
- line: 47,
7508
+ line: 44,
7424
7509
  column: 28
7425
7510
  },
7426
7511
  end: {
7427
- line: 47,
7512
+ line: 44,
7428
7513
  column: 72
7429
7514
  }
7430
7515
  },
7431
7516
  "8": {
7432
7517
  start: {
7433
- line: 69,
7518
+ line: 72,
7434
7519
  column: 0
7435
7520
  },
7436
7521
  end: {
7437
- line: 73,
7522
+ line: 76,
7438
7523
  column: 2
7439
7524
  }
7440
7525
  }
@@ -7458,7 +7543,7 @@ function cov_jv5dgcssl() {
7458
7543
  column: 6
7459
7544
  },
7460
7545
  end: {
7461
- line: 67,
7546
+ line: 70,
7462
7547
  column: 1
7463
7548
  }
7464
7549
  },
@@ -7482,7 +7567,7 @@ function cov_jv5dgcssl() {
7482
7567
  column: 4
7483
7568
  },
7484
7569
  end: {
7485
- line: 35,
7570
+ line: 36,
7486
7571
  column: 5
7487
7572
  }
7488
7573
  },
@@ -7506,7 +7591,7 @@ function cov_jv5dgcssl() {
7506
7591
  column: 6
7507
7592
  },
7508
7593
  end: {
7509
- line: 34,
7594
+ line: 35,
7510
7595
  column: 14
7511
7596
  }
7512
7597
  },
@@ -7516,49 +7601,49 @@ function cov_jv5dgcssl() {
7516
7601
  name: "(anonymous_3)",
7517
7602
  decl: {
7518
7603
  start: {
7519
- line: 32,
7520
- column: 20
7604
+ line: 31,
7605
+ column: 22
7521
7606
  },
7522
7607
  end: {
7523
- line: 32,
7524
- column: 21
7608
+ line: 31,
7609
+ column: 23
7525
7610
  }
7526
7611
  },
7527
7612
  loc: {
7528
7613
  start: {
7529
- line: 32,
7530
- column: 26
7614
+ line: 31,
7615
+ column: 28
7531
7616
  },
7532
7617
  end: {
7533
- line: 32,
7534
- column: 55
7618
+ line: 31,
7619
+ column: 57
7535
7620
  }
7536
7621
  },
7537
- line: 32
7622
+ line: 31
7538
7623
  },
7539
7624
  "4": {
7540
7625
  name: "(anonymous_4)",
7541
7626
  decl: {
7542
7627
  start: {
7543
- line: 47,
7628
+ line: 44,
7544
7629
  column: 22
7545
7630
  },
7546
7631
  end: {
7547
- line: 47,
7632
+ line: 44,
7548
7633
  column: 23
7549
7634
  }
7550
7635
  },
7551
7636
  loc: {
7552
7637
  start: {
7553
- line: 47,
7638
+ line: 44,
7554
7639
  column: 28
7555
7640
  },
7556
7641
  end: {
7557
- line: 47,
7642
+ line: 44,
7558
7643
  column: 72
7559
7644
  }
7560
7645
  },
7561
- line: 47
7646
+ line: 44
7562
7647
  }
7563
7648
  },
7564
7649
  branchMap: {
@@ -7602,7 +7687,7 @@ function cov_jv5dgcssl() {
7602
7687
  column: 6
7603
7688
  },
7604
7689
  end: {
7605
- line: 34,
7690
+ line: 35,
7606
7691
  column: 14
7607
7692
  }
7608
7693
  },
@@ -7613,16 +7698,16 @@ function cov_jv5dgcssl() {
7613
7698
  column: 8
7614
7699
  },
7615
7700
  end: {
7616
- line: 33,
7617
- column: 10
7701
+ line: 34,
7702
+ column: 14
7618
7703
  }
7619
7704
  }, {
7620
7705
  start: {
7621
- line: 34,
7706
+ line: 35,
7622
7707
  column: 10
7623
7708
  },
7624
7709
  end: {
7625
- line: 34,
7710
+ line: 35,
7626
7711
  column: 14
7627
7712
  }
7628
7713
  }],
@@ -7631,68 +7716,68 @@ function cov_jv5dgcssl() {
7631
7716
  "2": {
7632
7717
  loc: {
7633
7718
  start: {
7634
- line: 44,
7719
+ line: 41,
7635
7720
  column: 9
7636
7721
  },
7637
7722
  end: {
7638
- line: 49,
7723
+ line: 46,
7639
7724
  column: 9
7640
7725
  }
7641
7726
  },
7642
7727
  type: "binary-expr",
7643
7728
  locations: [{
7644
7729
  start: {
7645
- line: 44,
7730
+ line: 41,
7646
7731
  column: 9
7647
7732
  },
7648
7733
  end: {
7649
- line: 44,
7734
+ line: 41,
7650
7735
  column: 43
7651
7736
  }
7652
7737
  }, {
7653
7738
  start: {
7654
- line: 45,
7739
+ line: 42,
7655
7740
  column: 10
7656
7741
  },
7657
7742
  end: {
7658
- line: 48,
7743
+ line: 45,
7659
7744
  column: 12
7660
7745
  }
7661
7746
  }],
7662
- line: 44
7747
+ line: 41
7663
7748
  },
7664
7749
  "3": {
7665
7750
  loc: {
7666
7751
  start: {
7667
- line: 54,
7668
- column: 12
7752
+ line: 56,
7753
+ column: 14
7669
7754
  },
7670
7755
  end: {
7671
- line: 56,
7672
- column: 34
7756
+ line: 58,
7757
+ column: 36
7673
7758
  }
7674
7759
  },
7675
7760
  type: "cond-expr",
7676
7761
  locations: [{
7677
7762
  start: {
7678
- line: 55,
7679
- column: 16
7763
+ line: 57,
7764
+ column: 18
7680
7765
  },
7681
7766
  end: {
7682
- line: 55,
7683
- column: 57
7767
+ line: 57,
7768
+ column: 59
7684
7769
  }
7685
7770
  }, {
7686
7771
  start: {
7687
- line: 56,
7688
- column: 16
7772
+ line: 58,
7773
+ column: 18
7689
7774
  },
7690
7775
  end: {
7691
- line: 56,
7692
- column: 34
7776
+ line: 58,
7777
+ column: 36
7693
7778
  }
7694
7779
  }],
7695
- line: 54
7780
+ line: 56
7696
7781
  }
7697
7782
  },
7698
7783
  s: {
@@ -7720,7 +7805,7 @@ function cov_jv5dgcssl() {
7720
7805
  "3": [0, 0]
7721
7806
  },
7722
7807
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
7723
- hash: "8292e5e23b4e5d011bf16300bbbc006d992c5d82"
7808
+ hash: "89027aea3d1ff8c9765c8cca0d100750de18577e"
7724
7809
  };
7725
7810
  var coverage = global[gcv] || (global[gcv] = {});
7726
7811
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -7750,47 +7835,48 @@ var SelectionTabs = function SelectionTabs(_ref) {
7750
7835
  return WIDGET_TYPES_VALUES.map(function (widget, index) {
7751
7836
  cov_jv5dgcssl().f[2]++;
7752
7837
  cov_jv5dgcssl().s[4]++;
7753
- return primarySelectedWidget !== widget ? (cov_jv5dgcssl().b[1][0]++, /*#__PURE__*/React.createElement(Switch, {
7838
+ return primarySelectedWidget !== widget ? (cov_jv5dgcssl().b[1][0]++, /*#__PURE__*/React.createElement("div", {
7839
+ className: "flex items-center space-x-2",
7840
+ key: index
7841
+ }, /*#__PURE__*/React.createElement(Switch, {
7754
7842
  checked: selectedWidgets.includes(widget),
7755
- key: index,
7756
- label: "neeto".concat(capitalize(widget)),
7757
7843
  onChange: function onChange() {
7758
7844
  cov_jv5dgcssl().f[3]++;
7759
7845
  cov_jv5dgcssl().s[5]++;
7760
7846
  return updateSelectedWidgets(widget);
7761
7847
  }
7762
- })) : (cov_jv5dgcssl().b[1][1]++, null);
7848
+ }), /*#__PURE__*/React.createElement(Label, null, "neeto", capitalize(widget)))) : (cov_jv5dgcssl().b[1][1]++, null);
7763
7849
  });
7764
7850
  };
7765
7851
  cov_jv5dgcssl().s[6]++;
7766
7852
  return /*#__PURE__*/React.createElement("div", {
7767
- className: "mb-4 flex w-full items-center justify-between gap-2 px-2"
7768
- }, /*#__PURE__*/React.createElement("div", {
7769
- className: "flex items-center justify-start gap-1"
7853
+ className: "mb-4 flex w-full items-center justify-between gap-2"
7770
7854
  }, /*#__PURE__*/React.createElement("div", {
7771
- className: "text-base font-semibold"
7772
- }, "neeto", formattedPrimaryWidget), (cov_jv5dgcssl().b[2][0]++, isNotEmpty(formattedPrimaryWidget)) && (cov_jv5dgcssl().b[2][1]++, /*#__PURE__*/React.createElement(Switch, {
7855
+ className: "flex items-center space-x-2"
7856
+ }, (cov_jv5dgcssl().b[2][0]++, isNotEmpty(formattedPrimaryWidget)) && (cov_jv5dgcssl().b[2][1]++, /*#__PURE__*/React.createElement(Switch, {
7773
7857
  checked: selectedWidgets.includes(primarySelectedWidget),
7774
7858
  onChange: function onChange() {
7775
7859
  cov_jv5dgcssl().f[4]++;
7776
7860
  cov_jv5dgcssl().s[7]++;
7777
7861
  return updateSelectedWidgets(primarySelectedWidget);
7778
7862
  }
7779
- })), /*#__PURE__*/React.createElement("a", {
7863
+ })), /*#__PURE__*/React.createElement("div", {
7864
+ className: "flex items-center space-x-1"
7865
+ }, /*#__PURE__*/React.createElement(Label, null, "neeto", formattedPrimaryWidget), /*#__PURE__*/React.createElement("a", {
7780
7866
  rel: "noreferrer",
7781
7867
  target: "_blank",
7782
7868
  href: primarySelectedWidget ? (cov_jv5dgcssl().b[3][0]++, WIDGET_KB_HELP_URL[primarySelectedWidget]) : (cov_jv5dgcssl().b[3][1]++, WIDGET_KB_BASE_URL)
7783
- }, /*#__PURE__*/React.createElement(Help, {
7869
+ }, /*#__PURE__*/React.createElement(Info, {
7784
7870
  size: 16
7785
- }))), /*#__PURE__*/React.createElement("div", {
7786
- className: "flex items-center justify-end gap-2"
7871
+ })))), /*#__PURE__*/React.createElement("div", {
7872
+ className: "flex items-center justify-end gap-6"
7787
7873
  }, renderSelectedTab()));
7788
7874
  };
7789
7875
  cov_jv5dgcssl().s[8]++;
7790
7876
 
7791
7877
  function cov_216ndqorbu() {
7792
7878
  var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/NeetoWidget/EmbedCode.jsx";
7793
- var hash = "4de25cf9d36316a9dd816245bd945edc34959cfc";
7879
+ var hash = "a29f32cd9f65dbcdb30f0b296784abd822305df0";
7794
7880
  var global = new Function("return this")();
7795
7881
  var gcv = "__coverage__";
7796
7882
  var coverageData = {
@@ -7798,471 +7884,471 @@ function cov_216ndqorbu() {
7798
7884
  statementMap: {
7799
7885
  "0": {
7800
7886
  start: {
7801
- line: 37,
7887
+ line: 38,
7802
7888
  column: 18
7803
7889
  },
7804
7890
  end: {
7805
- line: 347,
7891
+ line: 354,
7806
7892
  column: 1
7807
7893
  }
7808
7894
  },
7809
7895
  "1": {
7810
7896
  start: {
7811
- line: 38,
7897
+ line: 39,
7812
7898
  column: 36
7813
7899
  },
7814
7900
  end: {
7815
- line: 38,
7901
+ line: 39,
7816
7902
  column: 62
7817
7903
  }
7818
7904
  },
7819
7905
  "2": {
7820
7906
  start: {
7821
- line: 39,
7907
+ line: 40,
7822
7908
  column: 52
7823
7909
  },
7824
7910
  end: {
7825
- line: 41,
7911
+ line: 42,
7826
7912
  column: 3
7827
7913
  }
7828
7914
  },
7829
7915
  "3": {
7830
7916
  start: {
7831
- line: 43,
7917
+ line: 44,
7832
7918
  column: 16
7833
7919
  },
7834
7920
  end: {
7835
- line: 43,
7921
+ line: 44,
7836
7922
  column: 32
7837
7923
  }
7838
7924
  },
7839
7925
  "4": {
7840
7926
  start: {
7841
- line: 44,
7927
+ line: 45,
7842
7928
  column: 18
7843
7929
  },
7844
7930
  end: {
7845
- line: 44,
7931
+ line: 45,
7846
7932
  column: 26
7847
7933
  }
7848
7934
  },
7849
7935
  "5": {
7850
7936
  start: {
7851
- line: 45,
7937
+ line: 46,
7852
7938
  column: 22
7853
7939
  },
7854
7940
  end: {
7855
- line: 45,
7941
+ line: 46,
7856
7942
  column: 38
7857
7943
  }
7858
7944
  },
7859
7945
  "6": {
7860
7946
  start: {
7861
- line: 47,
7947
+ line: 48,
7862
7948
  column: 2
7863
7949
  },
7864
7950
  end: {
7865
- line: 49,
7951
+ line: 50,
7866
7952
  column: 9
7867
7953
  }
7868
7954
  },
7869
7955
  "7": {
7870
7956
  start: {
7871
- line: 48,
7957
+ line: 49,
7872
7958
  column: 4
7873
7959
  },
7874
7960
  end: {
7875
- line: 48,
7961
+ line: 49,
7876
7962
  column: 18
7877
7963
  }
7878
7964
  },
7879
7965
  "8": {
7880
7966
  start: {
7881
- line: 52,
7967
+ line: 53,
7882
7968
  column: 4
7883
7969
  },
7884
7970
  end: {
7885
- line: 52,
7971
+ line: 53,
7886
7972
  column: 20
7887
7973
  }
7888
7974
  },
7889
7975
  "9": {
7890
7976
  start: {
7891
- line: 57,
7977
+ line: 58,
7892
7978
  column: 6
7893
7979
  },
7894
7980
  end: {
7895
- line: 57,
7981
+ line: 58,
7896
7982
  column: 30
7897
7983
  }
7898
7984
  },
7899
7985
  "10": {
7900
7986
  start: {
7901
- line: 59,
7987
+ line: 60,
7902
7988
  column: 48
7903
7989
  },
7904
7990
  end: {
7905
- line: 59,
7991
+ line: 60,
7906
7992
  column: 73
7907
7993
  }
7908
7994
  },
7909
7995
  "11": {
7910
7996
  start: {
7911
- line: 61,
7997
+ line: 62,
7912
7998
  column: 28
7913
7999
  },
7914
8000
  end: {
7915
- line: 61,
8001
+ line: 62,
7916
8002
  column: 50
7917
8003
  }
7918
8004
  },
7919
8005
  "12": {
7920
8006
  start: {
7921
- line: 63,
8007
+ line: 64,
7922
8008
  column: 26
7923
8009
  },
7924
8010
  end: {
7925
- line: 65,
8011
+ line: 66,
7926
8012
  column: 58
7927
8013
  }
7928
8014
  },
7929
8015
  "13": {
7930
8016
  start: {
7931
- line: 65,
8017
+ line: 66,
7932
8018
  column: 17
7933
8019
  },
7934
8020
  end: {
7935
- line: 65,
8021
+ line: 66,
7936
8022
  column: 57
7937
8023
  }
7938
8024
  },
7939
8025
  "14": {
7940
8026
  start: {
7941
- line: 67,
8027
+ line: 68,
7942
8028
  column: 25
7943
8029
  },
7944
8030
  end: {
7945
- line: 69,
8031
+ line: 70,
7946
8032
  column: 3
7947
8033
  }
7948
8034
  },
7949
8035
  "15": {
7950
8036
  start: {
7951
- line: 68,
8037
+ line: 69,
7952
8038
  column: 34
7953
8039
  },
7954
8040
  end: {
7955
- line: 68,
8041
+ line: 69,
7956
8042
  column: 48
7957
8043
  }
7958
8044
  },
7959
8045
  "16": {
7960
8046
  start: {
7961
- line: 71,
8047
+ line: 72,
7962
8048
  column: 32
7963
8049
  },
7964
8050
  end: {
7965
- line: 94,
8051
+ line: 95,
7966
8052
  column: 3
7967
8053
  }
7968
8054
  },
7969
8055
  "17": {
7970
8056
  start: {
7971
- line: 72,
8057
+ line: 73,
7972
8058
  column: 21
7973
8059
  },
7974
8060
  end: {
7975
- line: 74,
8061
+ line: 75,
7976
8062
  column: 8
7977
8063
  }
7978
8064
  },
7979
8065
  "18": {
7980
8066
  start: {
7981
- line: 73,
8067
+ line: 74,
7982
8068
  column: 14
7983
8069
  },
7984
8070
  end: {
7985
- line: 73,
8071
+ line: 74,
7986
8072
  column: 65
7987
8073
  }
7988
8074
  },
7989
8075
  "19": {
7990
8076
  start: {
7991
- line: 75,
8077
+ line: 76,
7992
8078
  column: 22
7993
8079
  },
7994
8080
  end: {
7995
- line: 75,
8081
+ line: 76,
7996
8082
  column: 55
7997
8083
  }
7998
8084
  },
7999
8085
  "20": {
8000
8086
  start: {
8001
- line: 77,
8087
+ line: 78,
8002
8088
  column: 4
8003
8089
  },
8004
8090
  end: {
8005
- line: 93,
8091
+ line: 94,
8006
8092
  column: 6
8007
8093
  }
8008
8094
  },
8009
8095
  "21": {
8010
8096
  start: {
8011
- line: 84,
8097
+ line: 85,
8012
8098
  column: 27
8013
8099
  },
8014
8100
  end: {
8015
- line: 86,
8101
+ line: 87,
8016
8102
  column: 59
8017
8103
  }
8018
8104
  },
8019
8105
  "22": {
8020
8106
  start: {
8021
- line: 88,
8107
+ line: 89,
8022
8108
  column: 10
8023
8109
  },
8024
8110
  end: {
8025
- line: 90,
8111
+ line: 91,
8026
8112
  column: 12
8027
8113
  }
8028
8114
  },
8029
8115
  "23": {
8030
8116
  start: {
8031
- line: 96,
8117
+ line: 97,
8032
8118
  column: 29
8033
8119
  },
8034
8120
  end: {
8035
- line: 102,
8121
+ line: 103,
8036
8122
  column: 3
8037
8123
  }
8038
8124
  },
8039
8125
  "24": {
8040
8126
  start: {
8041
- line: 97,
8127
+ line: 98,
8042
8128
  column: 4
8043
8129
  },
8044
8130
  end: {
8045
- line: 99,
8131
+ line: 100,
8046
8132
  column: 5
8047
8133
  }
8048
8134
  },
8049
8135
  "25": {
8050
8136
  start: {
8051
- line: 98,
8137
+ line: 99,
8052
8138
  column: 6
8053
8139
  },
8054
8140
  end: {
8055
- line: 98,
8141
+ line: 99,
8056
8142
  column: 72
8057
8143
  }
8058
8144
  },
8059
8145
  "26": {
8060
8146
  start: {
8061
- line: 101,
8147
+ line: 102,
8062
8148
  column: 4
8063
8149
  },
8064
8150
  end: {
8065
- line: 101,
8151
+ line: 102,
8066
8152
  column: 14
8067
8153
  }
8068
8154
  },
8069
8155
  "27": {
8070
8156
  start: {
8071
- line: 104,
8157
+ line: 105,
8072
8158
  column: 26
8073
8159
  },
8074
8160
  end: {
8075
- line: 218,
8161
+ line: 219,
8076
8162
  column: 3
8077
8163
  }
8078
8164
  },
8079
8165
  "28": {
8080
8166
  start: {
8081
- line: 105,
8167
+ line: 106,
8082
8168
  column: 4
8083
8169
  },
8084
8170
  end: {
8085
- line: 217,
8171
+ line: 218,
8086
8172
  column: 5
8087
8173
  }
8088
8174
  },
8089
8175
  "29": {
8090
8176
  start: {
8091
- line: 107,
8177
+ line: 108,
8092
8178
  column: 8
8093
8179
  },
8094
8180
  end: {
8095
- line: 147,
8181
+ line: 148,
8096
8182
  column: 10
8097
8183
  }
8098
8184
  },
8099
8185
  "30": {
8100
8186
  start: {
8101
- line: 149,
8187
+ line: 150,
8102
8188
  column: 8
8103
8189
  },
8104
8190
  end: {
8105
- line: 182,
8191
+ line: 183,
8106
8192
  column: 10
8107
8193
  }
8108
8194
  },
8109
8195
  "31": {
8110
8196
  start: {
8111
- line: 184,
8197
+ line: 185,
8112
8198
  column: 8
8113
8199
  },
8114
8200
  end: {
8115
- line: 210,
8201
+ line: 211,
8116
8202
  column: 10
8117
8203
  }
8118
8204
  },
8119
8205
  "32": {
8120
8206
  start: {
8121
- line: 212,
8207
+ line: 213,
8122
8208
  column: 8
8123
8209
  },
8124
8210
  end: {
8125
- line: 214,
8211
+ line: 215,
8126
8212
  column: 15
8127
8213
  }
8128
8214
  },
8129
8215
  "33": {
8130
8216
  start: {
8131
- line: 216,
8217
+ line: 217,
8132
8218
  column: 8
8133
8219
  },
8134
8220
  end: {
8135
- line: 216,
8221
+ line: 217,
8136
8222
  column: 56
8137
8223
  }
8138
8224
  },
8139
8225
  "34": {
8140
8226
  start: {
8141
- line: 220,
8227
+ line: 221,
8142
8228
  column: 29
8143
8229
  },
8144
8230
  end: {
8145
- line: 230,
8231
+ line: 231,
8146
8232
  column: 3
8147
8233
  }
8148
8234
  },
8149
8235
  "35": {
8150
8236
  start: {
8151
- line: 221,
8237
+ line: 222,
8152
8238
  column: 4
8153
8239
  },
8154
8240
  end: {
8155
- line: 227,
8241
+ line: 228,
8156
8242
  column: 5
8157
8243
  }
8158
8244
  },
8159
8245
  "36": {
8160
8246
  start: {
8161
- line: 222,
8247
+ line: 223,
8162
8248
  column: 6
8163
8249
  },
8164
8250
  end: {
8165
- line: 224,
8251
+ line: 225,
8166
8252
  column: 8
8167
8253
  }
8168
8254
  },
8169
8255
  "37": {
8170
8256
  start: {
8171
- line: 226,
8257
+ line: 227,
8172
8258
  column: 6
8173
8259
  },
8174
8260
  end: {
8175
- line: 226,
8261
+ line: 227,
8176
8262
  column: 13
8177
8263
  }
8178
8264
  },
8179
8265
  "38": {
8180
8266
  start: {
8181
- line: 229,
8267
+ line: 230,
8182
8268
  column: 4
8183
8269
  },
8184
8270
  end: {
8185
- line: 229,
8271
+ line: 230,
8186
8272
  column: 32
8187
8273
  }
8188
8274
  },
8189
8275
  "39": {
8190
8276
  start: {
8191
- line: 232,
8277
+ line: 233,
8192
8278
  column: 2
8193
8279
  },
8194
8280
  end: {
8195
- line: 238,
8281
+ line: 239,
8196
8282
  column: 3
8197
8283
  }
8198
8284
  },
8199
8285
  "40": {
8200
8286
  start: {
8201
- line: 233,
8287
+ line: 234,
8202
8288
  column: 4
8203
8289
  },
8204
8290
  end: {
8205
- line: 237,
8291
+ line: 238,
8206
8292
  column: 6
8207
8293
  }
8208
8294
  },
8209
8295
  "41": {
8210
8296
  start: {
8211
- line: 240,
8297
+ line: 241,
8212
8298
  column: 2
8213
8299
  },
8214
8300
  end: {
8215
- line: 346,
8301
+ line: 353,
8216
8302
  column: 4
8217
8303
  }
8218
8304
  },
8219
8305
  "42": {
8220
8306
  start: {
8221
- line: 252,
8222
- column: 32
8307
+ line: 254,
8308
+ column: 34
8223
8309
  },
8224
8310
  end: {
8225
- line: 252,
8226
- column: 73
8311
+ line: 254,
8312
+ column: 75
8227
8313
  }
8228
8314
  },
8229
8315
  "43": {
8230
8316
  start: {
8231
- line: 280,
8232
- column: 34
8317
+ line: 287,
8318
+ column: 18
8233
8319
  },
8234
8320
  end: {
8235
- line: 280,
8236
- column: 78
8321
+ line: 287,
8322
+ column: 62
8237
8323
  }
8238
8324
  },
8239
8325
  "44": {
8240
8326
  start: {
8241
- line: 316,
8242
- column: 16
8327
+ line: 322,
8328
+ column: 18
8243
8329
  },
8244
8330
  end: {
8245
- line: 316,
8246
- column: 62
8331
+ line: 322,
8332
+ column: 64
8247
8333
  }
8248
8334
  },
8249
8335
  "45": {
8250
8336
  start: {
8251
- line: 342,
8337
+ line: 349,
8252
8338
  column: 23
8253
8339
  },
8254
8340
  end: {
8255
- line: 342,
8341
+ line: 349,
8256
8342
  column: 53
8257
8343
  }
8258
8344
  },
8259
8345
  "46": {
8260
8346
  start: {
8261
- line: 349,
8347
+ line: 356,
8262
8348
  column: 0
8263
8349
  },
8264
8350
  end: {
8265
- line: 351,
8351
+ line: 359,
8266
8352
  column: 2
8267
8353
  }
8268
8354
  }
@@ -8272,512 +8358,536 @@ function cov_216ndqorbu() {
8272
8358
  name: "(anonymous_0)",
8273
8359
  decl: {
8274
8360
  start: {
8275
- line: 37,
8361
+ line: 38,
8276
8362
  column: 18
8277
8363
  },
8278
8364
  end: {
8279
- line: 37,
8365
+ line: 38,
8280
8366
  column: 19
8281
8367
  }
8282
8368
  },
8283
8369
  loc: {
8284
8370
  start: {
8285
- line: 37,
8286
- column: 43
8371
+ line: 38,
8372
+ column: 67
8287
8373
  },
8288
8374
  end: {
8289
- line: 347,
8375
+ line: 354,
8290
8376
  column: 1
8291
8377
  }
8292
8378
  },
8293
- line: 37
8379
+ line: 38
8294
8380
  },
8295
8381
  "1": {
8296
8382
  name: "(anonymous_1)",
8297
8383
  decl: {
8298
8384
  start: {
8299
- line: 47,
8385
+ line: 48,
8300
8386
  column: 12
8301
8387
  },
8302
8388
  end: {
8303
- line: 47,
8389
+ line: 48,
8304
8390
  column: 13
8305
8391
  }
8306
8392
  },
8307
8393
  loc: {
8308
8394
  start: {
8309
- line: 47,
8395
+ line: 48,
8310
8396
  column: 18
8311
8397
  },
8312
8398
  end: {
8313
- line: 49,
8399
+ line: 50,
8314
8400
  column: 3
8315
8401
  }
8316
8402
  },
8317
- line: 47
8403
+ line: 48
8318
8404
  },
8319
8405
  "2": {
8320
8406
  name: "(anonymous_2)",
8321
8407
  decl: {
8322
8408
  start: {
8323
- line: 65,
8409
+ line: 66,
8324
8410
  column: 9
8325
8411
  },
8326
8412
  end: {
8327
- line: 65,
8413
+ line: 66,
8328
8414
  column: 10
8329
8415
  }
8330
8416
  },
8331
8417
  loc: {
8332
8418
  start: {
8333
- line: 65,
8419
+ line: 66,
8334
8420
  column: 17
8335
8421
  },
8336
8422
  end: {
8337
- line: 65,
8423
+ line: 66,
8338
8424
  column: 57
8339
8425
  }
8340
8426
  },
8341
- line: 65
8427
+ line: 66
8342
8428
  },
8343
8429
  "3": {
8344
8430
  name: "(anonymous_3)",
8345
8431
  decl: {
8346
8432
  start: {
8347
- line: 68,
8433
+ line: 69,
8348
8434
  column: 24
8349
8435
  },
8350
8436
  end: {
8351
- line: 68,
8437
+ line: 69,
8352
8438
  column: 25
8353
8439
  }
8354
8440
  },
8355
8441
  loc: {
8356
8442
  start: {
8357
- line: 68,
8443
+ line: 69,
8358
8444
  column: 34
8359
8445
  },
8360
8446
  end: {
8361
- line: 68,
8447
+ line: 69,
8362
8448
  column: 48
8363
8449
  }
8364
8450
  },
8365
- line: 68
8451
+ line: 69
8366
8452
  },
8367
8453
  "4": {
8368
8454
  name: "(anonymous_4)",
8369
8455
  decl: {
8370
8456
  start: {
8371
- line: 71,
8457
+ line: 72,
8372
8458
  column: 32
8373
8459
  },
8374
8460
  end: {
8375
- line: 71,
8461
+ line: 72,
8376
8462
  column: 33
8377
8463
  }
8378
8464
  },
8379
8465
  loc: {
8380
8466
  start: {
8381
- line: 71,
8467
+ line: 72,
8382
8468
  column: 42
8383
8469
  },
8384
8470
  end: {
8385
- line: 94,
8471
+ line: 95,
8386
8472
  column: 3
8387
8473
  }
8388
8474
  },
8389
- line: 71
8475
+ line: 72
8390
8476
  },
8391
8477
  "5": {
8392
8478
  name: "(anonymous_5)",
8393
8479
  decl: {
8394
8480
  start: {
8395
- line: 73,
8481
+ line: 74,
8396
8482
  column: 6
8397
8483
  },
8398
8484
  end: {
8399
- line: 73,
8485
+ line: 74,
8400
8486
  column: 7
8401
8487
  }
8402
8488
  },
8403
8489
  loc: {
8404
8490
  start: {
8405
- line: 73,
8491
+ line: 74,
8406
8492
  column: 14
8407
8493
  },
8408
8494
  end: {
8409
- line: 73,
8495
+ line: 74,
8410
8496
  column: 65
8411
8497
  }
8412
8498
  },
8413
- line: 73
8499
+ line: 74
8414
8500
  },
8415
8501
  "6": {
8416
8502
  name: "(anonymous_6)",
8417
8503
  decl: {
8418
8504
  start: {
8419
- line: 83,
8505
+ line: 84,
8420
8506
  column: 19
8421
8507
  },
8422
8508
  end: {
8423
- line: 83,
8509
+ line: 84,
8424
8510
  column: 20
8425
8511
  }
8426
8512
  },
8427
8513
  loc: {
8428
8514
  start: {
8429
- line: 83,
8515
+ line: 84,
8430
8516
  column: 25
8431
8517
  },
8432
8518
  end: {
8433
- line: 91,
8519
+ line: 92,
8434
8520
  column: 9
8435
8521
  }
8436
8522
  },
8437
- line: 83
8523
+ line: 84
8438
8524
  },
8439
8525
  "7": {
8440
8526
  name: "(anonymous_7)",
8441
8527
  decl: {
8442
8528
  start: {
8443
- line: 96,
8529
+ line: 97,
8444
8530
  column: 29
8445
8531
  },
8446
8532
  end: {
8447
- line: 96,
8533
+ line: 97,
8448
8534
  column: 30
8449
8535
  }
8450
8536
  },
8451
8537
  loc: {
8452
8538
  start: {
8453
- line: 96,
8539
+ line: 97,
8454
8540
  column: 35
8455
8541
  },
8456
8542
  end: {
8457
- line: 102,
8543
+ line: 103,
8458
8544
  column: 3
8459
8545
  }
8460
8546
  },
8461
- line: 96
8547
+ line: 97
8462
8548
  },
8463
8549
  "8": {
8464
8550
  name: "(anonymous_8)",
8465
8551
  decl: {
8466
8552
  start: {
8467
- line: 104,
8553
+ line: 105,
8468
8554
  column: 26
8469
8555
  },
8470
8556
  end: {
8471
- line: 104,
8557
+ line: 105,
8472
8558
  column: 27
8473
8559
  }
8474
8560
  },
8475
8561
  loc: {
8476
8562
  start: {
8477
- line: 104,
8563
+ line: 105,
8478
8564
  column: 47
8479
8565
  },
8480
8566
  end: {
8481
- line: 218,
8567
+ line: 219,
8482
8568
  column: 3
8483
8569
  }
8484
8570
  },
8485
- line: 104
8571
+ line: 105
8486
8572
  },
8487
8573
  "9": {
8488
8574
  name: "(anonymous_9)",
8489
8575
  decl: {
8490
8576
  start: {
8491
- line: 220,
8577
+ line: 221,
8492
8578
  column: 29
8493
8579
  },
8494
8580
  end: {
8495
- line: 220,
8581
+ line: 221,
8496
8582
  column: 30
8497
8583
  }
8498
8584
  },
8499
8585
  loc: {
8500
8586
  start: {
8501
- line: 220,
8587
+ line: 221,
8502
8588
  column: 46
8503
8589
  },
8504
8590
  end: {
8505
- line: 230,
8591
+ line: 231,
8506
8592
  column: 3
8507
8593
  }
8508
8594
  },
8509
- line: 220
8595
+ line: 221
8510
8596
  },
8511
8597
  "10": {
8512
8598
  name: "(anonymous_10)",
8513
8599
  decl: {
8514
8600
  start: {
8515
- line: 252,
8516
- column: 26
8601
+ line: 254,
8602
+ column: 28
8517
8603
  },
8518
8604
  end: {
8519
- line: 252,
8520
- column: 27
8605
+ line: 254,
8606
+ column: 29
8521
8607
  }
8522
8608
  },
8523
8609
  loc: {
8524
8610
  start: {
8525
- line: 252,
8526
- column: 32
8611
+ line: 254,
8612
+ column: 34
8527
8613
  },
8528
8614
  end: {
8529
- line: 252,
8530
- column: 73
8615
+ line: 254,
8616
+ column: 75
8531
8617
  }
8532
8618
  },
8533
- line: 252
8619
+ line: 254
8534
8620
  },
8535
8621
  "11": {
8536
8622
  name: "(anonymous_11)",
8537
8623
  decl: {
8538
8624
  start: {
8539
- line: 280,
8540
- column: 28
8625
+ line: 286,
8626
+ column: 30
8541
8627
  },
8542
8628
  end: {
8543
- line: 280,
8544
- column: 29
8629
+ line: 286,
8630
+ column: 31
8545
8631
  }
8546
8632
  },
8547
8633
  loc: {
8548
8634
  start: {
8549
- line: 280,
8550
- column: 34
8635
+ line: 287,
8636
+ column: 18
8551
8637
  },
8552
8638
  end: {
8553
- line: 280,
8554
- column: 78
8639
+ line: 287,
8640
+ column: 62
8555
8641
  }
8556
8642
  },
8557
- line: 280
8643
+ line: 287
8558
8644
  },
8559
8645
  "12": {
8560
8646
  name: "(anonymous_12)",
8561
8647
  decl: {
8562
8648
  start: {
8563
- line: 315,
8564
- column: 28
8649
+ line: 321,
8650
+ column: 30
8565
8651
  },
8566
8652
  end: {
8567
- line: 315,
8568
- column: 29
8653
+ line: 321,
8654
+ column: 31
8569
8655
  }
8570
8656
  },
8571
8657
  loc: {
8572
8658
  start: {
8573
- line: 316,
8574
- column: 16
8659
+ line: 322,
8660
+ column: 18
8575
8661
  },
8576
8662
  end: {
8577
- line: 316,
8578
- column: 62
8663
+ line: 322,
8664
+ column: 64
8579
8665
  }
8580
8666
  },
8581
- line: 316
8667
+ line: 322
8582
8668
  },
8583
8669
  "13": {
8584
8670
  name: "(anonymous_13)",
8585
8671
  decl: {
8586
8672
  start: {
8587
- line: 342,
8673
+ line: 349,
8588
8674
  column: 17
8589
8675
  },
8590
8676
  end: {
8591
- line: 342,
8677
+ line: 349,
8592
8678
  column: 18
8593
8679
  }
8594
8680
  },
8595
8681
  loc: {
8596
8682
  start: {
8597
- line: 342,
8683
+ line: 349,
8598
8684
  column: 23
8599
8685
  },
8600
8686
  end: {
8601
- line: 342,
8687
+ line: 349,
8602
8688
  column: 53
8603
8689
  }
8604
8690
  },
8605
- line: 342
8691
+ line: 349
8606
8692
  }
8607
8693
  },
8608
8694
  branchMap: {
8609
8695
  "0": {
8610
8696
  loc: {
8611
8697
  start: {
8612
- line: 37,
8698
+ line: 38,
8613
8699
  column: 21
8614
8700
  },
8615
8701
  end: {
8616
- line: 37,
8702
+ line: 38,
8617
8703
  column: 36
8618
8704
  }
8619
8705
  },
8620
8706
  type: "default-arg",
8621
8707
  locations: [{
8622
8708
  start: {
8623
- line: 37,
8709
+ line: 38,
8624
8710
  column: 34
8625
8711
  },
8626
8712
  end: {
8627
- line: 37,
8713
+ line: 38,
8628
8714
  column: 36
8629
8715
  }
8630
8716
  }],
8631
- line: 37
8717
+ line: 38
8632
8718
  },
8633
8719
  "1": {
8634
8720
  loc: {
8635
8721
  start: {
8636
- line: 51,
8722
+ line: 38,
8723
+ column: 38
8724
+ },
8725
+ end: {
8726
+ line: 38,
8727
+ column: 60
8728
+ }
8729
+ },
8730
+ type: "default-arg",
8731
+ locations: [{
8732
+ start: {
8733
+ line: 38,
8734
+ column: 49
8735
+ },
8736
+ end: {
8737
+ line: 38,
8738
+ column: 60
8739
+ }
8740
+ }],
8741
+ line: 38
8742
+ },
8743
+ "2": {
8744
+ loc: {
8745
+ start: {
8746
+ line: 52,
8637
8747
  column: 16
8638
8748
  },
8639
8749
  end: {
8640
- line: 51,
8750
+ line: 52,
8641
8751
  column: 42
8642
8752
  }
8643
8753
  },
8644
8754
  type: "default-arg",
8645
8755
  locations: [{
8646
8756
  start: {
8647
- line: 51,
8757
+ line: 52,
8648
8758
  column: 40
8649
8759
  },
8650
8760
  end: {
8651
- line: 51,
8761
+ line: 52,
8652
8762
  column: 42
8653
8763
  }
8654
8764
  }],
8655
- line: 51
8765
+ line: 52
8656
8766
  },
8657
- "2": {
8767
+ "3": {
8658
8768
  loc: {
8659
8769
  start: {
8660
- line: 51,
8770
+ line: 52,
8661
8771
  column: 18
8662
8772
  },
8663
8773
  end: {
8664
- line: 51,
8774
+ line: 52,
8665
8775
  column: 35
8666
8776
  }
8667
8777
  },
8668
8778
  type: "default-arg",
8669
8779
  locations: [{
8670
8780
  start: {
8671
- line: 51,
8781
+ line: 52,
8672
8782
  column: 33
8673
8783
  },
8674
8784
  end: {
8675
- line: 51,
8785
+ line: 52,
8676
8786
  column: 35
8677
8787
  }
8678
8788
  }],
8679
- line: 51
8789
+ line: 52
8680
8790
  },
8681
- "3": {
8791
+ "4": {
8682
8792
  loc: {
8683
8793
  start: {
8684
- line: 55,
8794
+ line: 56,
8685
8795
  column: 10
8686
8796
  },
8687
8797
  end: {
8688
- line: 55,
8798
+ line: 56,
8689
8799
  column: 41
8690
8800
  }
8691
8801
  },
8692
8802
  type: "default-arg",
8693
8803
  locations: [{
8694
8804
  start: {
8695
- line: 55,
8805
+ line: 56,
8696
8806
  column: 39
8697
8807
  },
8698
8808
  end: {
8699
- line: 55,
8809
+ line: 56,
8700
8810
  column: 41
8701
8811
  }
8702
8812
  }],
8703
- line: 55
8813
+ line: 56
8704
8814
  },
8705
- "4": {
8815
+ "5": {
8706
8816
  loc: {
8707
8817
  start: {
8708
- line: 55,
8818
+ line: 56,
8709
8819
  column: 12
8710
8820
  },
8711
8821
  end: {
8712
- line: 55,
8822
+ line: 56,
8713
8823
  column: 34
8714
8824
  }
8715
8825
  },
8716
8826
  type: "default-arg",
8717
8827
  locations: [{
8718
8828
  start: {
8719
- line: 55,
8829
+ line: 56,
8720
8830
  column: 32
8721
8831
  },
8722
8832
  end: {
8723
- line: 55,
8833
+ line: 56,
8724
8834
  column: 34
8725
8835
  }
8726
8836
  }],
8727
- line: 55
8837
+ line: 56
8728
8838
  },
8729
- "5": {
8839
+ "6": {
8730
8840
  loc: {
8731
8841
  start: {
8732
- line: 84,
8842
+ line: 85,
8733
8843
  column: 27
8734
8844
  },
8735
8845
  end: {
8736
- line: 86,
8846
+ line: 87,
8737
8847
  column: 59
8738
8848
  }
8739
8849
  },
8740
8850
  type: "cond-expr",
8741
8851
  locations: [{
8742
8852
  start: {
8743
- line: 85,
8853
+ line: 86,
8744
8854
  column: 14
8745
8855
  },
8746
8856
  end: {
8747
- line: 85,
8857
+ line: 86,
8748
8858
  column: 58
8749
8859
  }
8750
8860
  }, {
8751
8861
  start: {
8752
- line: 86,
8862
+ line: 87,
8753
8863
  column: 14
8754
8864
  },
8755
8865
  end: {
8756
- line: 86,
8866
+ line: 87,
8757
8867
  column: 59
8758
8868
  }
8759
8869
  }],
8760
- line: 84
8870
+ line: 85
8761
8871
  },
8762
- "6": {
8872
+ "7": {
8763
8873
  loc: {
8764
8874
  start: {
8765
- line: 97,
8875
+ line: 98,
8766
8876
  column: 4
8767
8877
  },
8768
8878
  end: {
8769
- line: 99,
8879
+ line: 100,
8770
8880
  column: 5
8771
8881
  }
8772
8882
  },
8773
8883
  type: "if",
8774
8884
  locations: [{
8775
8885
  start: {
8776
- line: 97,
8886
+ line: 98,
8777
8887
  column: 4
8778
8888
  },
8779
8889
  end: {
8780
- line: 99,
8890
+ line: 100,
8781
8891
  column: 5
8782
8892
  }
8783
8893
  }, {
@@ -8790,186 +8900,186 @@ function cov_216ndqorbu() {
8790
8900
  column: undefined
8791
8901
  }
8792
8902
  }],
8793
- line: 97
8903
+ line: 98
8794
8904
  },
8795
- "7": {
8905
+ "8": {
8796
8906
  loc: {
8797
8907
  start: {
8798
- line: 105,
8908
+ line: 106,
8799
8909
  column: 4
8800
8910
  },
8801
8911
  end: {
8802
- line: 217,
8912
+ line: 218,
8803
8913
  column: 5
8804
8914
  }
8805
8915
  },
8806
8916
  type: "switch",
8807
8917
  locations: [{
8808
8918
  start: {
8809
- line: 106,
8919
+ line: 107,
8810
8920
  column: 6
8811
8921
  },
8812
8922
  end: {
8813
- line: 147,
8923
+ line: 148,
8814
8924
  column: 10
8815
8925
  }
8816
8926
  }, {
8817
8927
  start: {
8818
- line: 148,
8928
+ line: 149,
8819
8929
  column: 6
8820
8930
  },
8821
8931
  end: {
8822
- line: 182,
8932
+ line: 183,
8823
8933
  column: 10
8824
8934
  }
8825
8935
  }, {
8826
8936
  start: {
8827
- line: 183,
8937
+ line: 184,
8828
8938
  column: 6
8829
8939
  },
8830
8940
  end: {
8831
- line: 210,
8941
+ line: 211,
8832
8942
  column: 10
8833
8943
  }
8834
8944
  }, {
8835
8945
  start: {
8836
- line: 211,
8946
+ line: 212,
8837
8947
  column: 6
8838
8948
  },
8839
8949
  end: {
8840
- line: 214,
8950
+ line: 215,
8841
8951
  column: 15
8842
8952
  }
8843
8953
  }, {
8844
8954
  start: {
8845
- line: 215,
8955
+ line: 216,
8846
8956
  column: 6
8847
8957
  },
8848
8958
  end: {
8849
- line: 216,
8959
+ line: 217,
8850
8960
  column: 56
8851
8961
  }
8852
8962
  }],
8853
- line: 105
8963
+ line: 106
8854
8964
  },
8855
- "8": {
8965
+ "9": {
8856
8966
  loc: {
8857
8967
  start: {
8858
- line: 167,
8968
+ line: 168,
8859
8969
  column: 24
8860
8970
  },
8861
8971
  end: {
8862
- line: 169,
8972
+ line: 170,
8863
8973
  column: 54
8864
8974
  }
8865
8975
  },
8866
8976
  type: "cond-expr",
8867
8977
  locations: [{
8868
8978
  start: {
8869
- line: 168,
8979
+ line: 169,
8870
8980
  column: 28
8871
8981
  },
8872
8982
  end: {
8873
- line: 168,
8983
+ line: 169,
8874
8984
  column: 56
8875
8985
  }
8876
8986
  }, {
8877
8987
  start: {
8878
- line: 169,
8988
+ line: 170,
8879
8989
  column: 28
8880
8990
  },
8881
8991
  end: {
8882
- line: 169,
8992
+ line: 170,
8883
8993
  column: 54
8884
8994
  }
8885
8995
  }],
8886
- line: 167
8996
+ line: 168
8887
8997
  },
8888
- "9": {
8998
+ "10": {
8889
8999
  loc: {
8890
9000
  start: {
8891
- line: 175,
9001
+ line: 176,
8892
9002
  column: 37
8893
9003
  },
8894
9004
  end: {
8895
- line: 177,
9005
+ line: 178,
8896
9006
  column: 48
8897
9007
  }
8898
9008
  },
8899
9009
  type: "cond-expr",
8900
9010
  locations: [{
8901
9011
  start: {
8902
- line: 176,
9012
+ line: 177,
8903
9013
  column: 22
8904
9014
  },
8905
9015
  end: {
8906
- line: 176,
9016
+ line: 177,
8907
9017
  column: 50
8908
9018
  }
8909
9019
  }, {
8910
9020
  start: {
8911
- line: 177,
9021
+ line: 178,
8912
9022
  column: 22
8913
9023
  },
8914
9024
  end: {
8915
- line: 177,
9025
+ line: 178,
8916
9026
  column: 48
8917
9027
  }
8918
9028
  }],
8919
- line: 175
9029
+ line: 176
8920
9030
  },
8921
- "10": {
9031
+ "11": {
8922
9032
  loc: {
8923
9033
  start: {
8924
- line: 212,
9034
+ line: 213,
8925
9035
  column: 15
8926
9036
  },
8927
9037
  end: {
8928
- line: 214,
9038
+ line: 215,
8929
9039
  column: 14
8930
9040
  }
8931
9041
  },
8932
9042
  type: "cond-expr",
8933
9043
  locations: [{
8934
9044
  start: {
8935
- line: 213,
9045
+ line: 214,
8936
9046
  column: 12
8937
9047
  },
8938
9048
  end: {
8939
- line: 213,
9049
+ line: 214,
8940
9050
  column: 46
8941
9051
  }
8942
9052
  }, {
8943
9053
  start: {
8944
- line: 214,
9054
+ line: 215,
8945
9055
  column: 12
8946
9056
  },
8947
9057
  end: {
8948
- line: 214,
9058
+ line: 215,
8949
9059
  column: 14
8950
9060
  }
8951
9061
  }],
8952
- line: 212
9062
+ line: 213
8953
9063
  },
8954
- "11": {
9064
+ "12": {
8955
9065
  loc: {
8956
9066
  start: {
8957
- line: 221,
9067
+ line: 222,
8958
9068
  column: 4
8959
9069
  },
8960
9070
  end: {
8961
- line: 227,
9071
+ line: 228,
8962
9072
  column: 5
8963
9073
  }
8964
9074
  },
8965
9075
  type: "if",
8966
9076
  locations: [{
8967
9077
  start: {
8968
- line: 221,
9078
+ line: 222,
8969
9079
  column: 4
8970
9080
  },
8971
9081
  end: {
8972
- line: 227,
9082
+ line: 228,
8973
9083
  column: 5
8974
9084
  }
8975
9085
  }, {
@@ -8982,27 +9092,27 @@ function cov_216ndqorbu() {
8982
9092
  column: undefined
8983
9093
  }
8984
9094
  }],
8985
- line: 221
9095
+ line: 222
8986
9096
  },
8987
- "12": {
9097
+ "13": {
8988
9098
  loc: {
8989
9099
  start: {
8990
- line: 232,
9100
+ line: 233,
8991
9101
  column: 2
8992
9102
  },
8993
9103
  end: {
8994
- line: 238,
9104
+ line: 239,
8995
9105
  column: 3
8996
9106
  }
8997
9107
  },
8998
9108
  type: "if",
8999
9109
  locations: [{
9000
9110
  start: {
9001
- line: 232,
9111
+ line: 233,
9002
9112
  column: 2
9003
9113
  },
9004
9114
  end: {
9005
- line: 238,
9115
+ line: 239,
9006
9116
  column: 3
9007
9117
  }
9008
9118
  }, {
@@ -9015,238 +9125,238 @@ function cov_216ndqorbu() {
9015
9125
  column: undefined
9016
9126
  }
9017
9127
  }],
9018
- line: 232
9128
+ line: 233
9019
9129
  },
9020
- "13": {
9130
+ "14": {
9021
9131
  loc: {
9022
9132
  start: {
9023
- line: 232,
9133
+ line: 233,
9024
9134
  column: 6
9025
9135
  },
9026
9136
  end: {
9027
- line: 232,
9137
+ line: 233,
9028
9138
  column: 48
9029
9139
  }
9030
9140
  },
9031
9141
  type: "binary-expr",
9032
9142
  locations: [{
9033
9143
  start: {
9034
- line: 232,
9144
+ line: 233,
9035
9145
  column: 6
9036
9146
  },
9037
9147
  end: {
9038
- line: 232,
9148
+ line: 233,
9039
9149
  column: 21
9040
9150
  }
9041
9151
  }, {
9042
9152
  start: {
9043
- line: 232,
9153
+ line: 233,
9044
9154
  column: 25
9045
9155
  },
9046
9156
  end: {
9047
- line: 232,
9157
+ line: 233,
9048
9158
  column: 48
9049
9159
  }
9050
9160
  }],
9051
- line: 232
9161
+ line: 233
9052
9162
  },
9053
- "14": {
9163
+ "15": {
9054
9164
  loc: {
9055
9165
  start: {
9056
- line: 264,
9057
- column: 31
9166
+ line: 266,
9167
+ column: 33
9058
9168
  },
9059
9169
  end: {
9060
- line: 266,
9061
- column: 39
9170
+ line: 268,
9171
+ column: 41
9062
9172
  }
9063
9173
  },
9064
9174
  type: "cond-expr",
9065
9175
  locations: [{
9066
9176
  start: {
9067
- line: 265,
9068
- column: 18
9177
+ line: 267,
9178
+ column: 20
9069
9179
  },
9070
9180
  end: {
9071
- line: 265,
9072
- column: 71
9181
+ line: 267,
9182
+ column: 73
9073
9183
  }
9074
9184
  }, {
9075
9185
  start: {
9076
- line: 266,
9077
- column: 18
9186
+ line: 268,
9187
+ column: 20
9078
9188
  },
9079
9189
  end: {
9080
- line: 266,
9081
- column: 39
9190
+ line: 268,
9191
+ column: 41
9082
9192
  }
9083
9193
  }],
9084
- line: 264
9194
+ line: 266
9085
9195
  },
9086
- "15": {
9196
+ "16": {
9087
9197
  loc: {
9088
9198
  start: {
9089
- line: 274,
9090
- column: 7
9199
+ line: 276,
9200
+ column: 9
9091
9201
  },
9092
9202
  end: {
9093
- line: 308,
9094
- column: 14
9203
+ line: 314,
9204
+ column: 16
9095
9205
  }
9096
9206
  },
9097
9207
  type: "cond-expr",
9098
9208
  locations: [{
9099
9209
  start: {
9100
- line: 275,
9101
- column: 8
9210
+ line: 277,
9211
+ column: 10
9102
9212
  },
9103
9213
  end: {
9104
- line: 307,
9105
- column: 14
9214
+ line: 313,
9215
+ column: 16
9106
9216
  }
9107
9217
  }, {
9108
9218
  start: {
9109
- line: 308,
9110
- column: 10
9219
+ line: 314,
9220
+ column: 12
9111
9221
  },
9112
9222
  end: {
9113
- line: 308,
9114
- column: 14
9223
+ line: 314,
9224
+ column: 16
9115
9225
  }
9116
9226
  }],
9117
- line: 274
9227
+ line: 276
9118
9228
  },
9119
- "16": {
9229
+ "17": {
9120
9230
  loc: {
9121
9231
  start: {
9122
- line: 274,
9123
- column: 7
9232
+ line: 276,
9233
+ column: 9
9124
9234
  },
9125
9235
  end: {
9126
- line: 274,
9127
- column: 51
9236
+ line: 276,
9237
+ column: 53
9128
9238
  }
9129
9239
  },
9130
9240
  type: "binary-expr",
9131
9241
  locations: [{
9132
9242
  start: {
9133
- line: 274,
9134
- column: 7
9243
+ line: 276,
9244
+ column: 9
9135
9245
  },
9136
9246
  end: {
9137
- line: 274,
9138
- column: 26
9247
+ line: 276,
9248
+ column: 28
9139
9249
  }
9140
9250
  }, {
9141
9251
  start: {
9142
- line: 274,
9143
- column: 30
9252
+ line: 276,
9253
+ column: 32
9144
9254
  },
9145
9255
  end: {
9146
- line: 274,
9147
- column: 51
9256
+ line: 276,
9257
+ column: 53
9148
9258
  }
9149
9259
  }],
9150
- line: 274
9260
+ line: 276
9151
9261
  },
9152
- "17": {
9262
+ "18": {
9153
9263
  loc: {
9154
9264
  start: {
9155
- line: 293,
9156
- column: 22
9265
+ line: 297,
9266
+ column: 24
9157
9267
  },
9158
9268
  end: {
9159
- line: 295,
9160
- column: 52
9269
+ line: 299,
9270
+ column: 54
9161
9271
  }
9162
9272
  },
9163
9273
  type: "cond-expr",
9164
9274
  locations: [{
9165
9275
  start: {
9166
- line: 294,
9167
- column: 26
9276
+ line: 298,
9277
+ column: 28
9168
9278
  },
9169
9279
  end: {
9170
- line: 294,
9171
- column: 54
9280
+ line: 298,
9281
+ column: 56
9172
9282
  }
9173
9283
  }, {
9174
9284
  start: {
9175
- line: 295,
9176
- column: 26
9285
+ line: 299,
9286
+ column: 28
9177
9287
  },
9178
9288
  end: {
9179
- line: 295,
9180
- column: 52
9289
+ line: 299,
9290
+ column: 54
9181
9291
  }
9182
9292
  }],
9183
- line: 293
9293
+ line: 297
9184
9294
  },
9185
- "18": {
9295
+ "19": {
9186
9296
  loc: {
9187
9297
  start: {
9188
- line: 309,
9189
- column: 7
9298
+ line: 315,
9299
+ column: 9
9190
9300
  },
9191
9301
  end: {
9192
- line: 339,
9193
- column: 14
9302
+ line: 345,
9303
+ column: 16
9194
9304
  }
9195
9305
  },
9196
9306
  type: "cond-expr",
9197
9307
  locations: [{
9198
9308
  start: {
9199
- line: 310,
9200
- column: 8
9309
+ line: 316,
9310
+ column: 10
9201
9311
  },
9202
9312
  end: {
9203
- line: 338,
9204
- column: 14
9313
+ line: 344,
9314
+ column: 16
9205
9315
  }
9206
9316
  }, {
9207
9317
  start: {
9208
- line: 339,
9209
- column: 10
9318
+ line: 345,
9319
+ column: 12
9210
9320
  },
9211
9321
  end: {
9212
- line: 339,
9213
- column: 14
9322
+ line: 345,
9323
+ column: 16
9214
9324
  }
9215
9325
  }],
9216
- line: 309
9326
+ line: 315
9217
9327
  },
9218
- "19": {
9328
+ "20": {
9219
9329
  loc: {
9220
9330
  start: {
9221
- line: 341,
9331
+ line: 348,
9222
9332
  column: 20
9223
9333
  },
9224
9334
  end: {
9225
- line: 341,
9335
+ line: 348,
9226
9336
  column: 62
9227
9337
  }
9228
9338
  },
9229
9339
  type: "binary-expr",
9230
9340
  locations: [{
9231
9341
  start: {
9232
- line: 341,
9342
+ line: 348,
9233
9343
  column: 20
9234
9344
  },
9235
9345
  end: {
9236
- line: 341,
9346
+ line: 348,
9237
9347
  column: 31
9238
9348
  }
9239
9349
  }, {
9240
9350
  start: {
9241
- line: 341,
9351
+ line: 348,
9242
9352
  column: 35
9243
9353
  },
9244
9354
  end: {
9245
- line: 341,
9355
+ line: 348,
9246
9356
  column: 62
9247
9357
  }
9248
9358
  }],
9249
- line: 341
9359
+ line: 348
9250
9360
  }
9251
9361
  },
9252
9362
  s: {
@@ -9320,10 +9430,10 @@ function cov_216ndqorbu() {
9320
9430
  "2": [0],
9321
9431
  "3": [0],
9322
9432
  "4": [0],
9323
- "5": [0, 0],
9433
+ "5": [0],
9324
9434
  "6": [0, 0],
9325
- "7": [0, 0, 0, 0, 0],
9326
- "8": [0, 0],
9435
+ "7": [0, 0],
9436
+ "8": [0, 0, 0, 0, 0],
9327
9437
  "9": [0, 0],
9328
9438
  "10": [0, 0],
9329
9439
  "11": [0, 0],
@@ -9334,10 +9444,11 @@ function cov_216ndqorbu() {
9334
9444
  "16": [0, 0],
9335
9445
  "17": [0, 0],
9336
9446
  "18": [0, 0],
9337
- "19": [0, 0]
9447
+ "19": [0, 0],
9448
+ "20": [0, 0]
9338
9449
  },
9339
9450
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
9340
- hash: "4de25cf9d36316a9dd816245bd945edc34959cfc"
9451
+ hash: "a29f32cd9f65dbcdb30f0b296784abd822305df0"
9341
9452
  };
9342
9453
  var coverage = global[gcv] || (global[gcv] = {});
9343
9454
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -9356,7 +9467,9 @@ cov_216ndqorbu();
9356
9467
  cov_216ndqorbu().s[0]++;
9357
9468
  var EmbedCode = function EmbedCode(_ref) {
9358
9469
  var _ref$primaryApp = _ref.primaryApp,
9359
- primaryApp = _ref$primaryApp === void 0 ? (cov_216ndqorbu().b[0][0]++, "") : _ref$primaryApp;
9470
+ primaryApp = _ref$primaryApp === void 0 ? (cov_216ndqorbu().b[0][0]++, "") : _ref$primaryApp,
9471
+ _ref$maxWidth = _ref.maxWidth,
9472
+ maxWidth = _ref$maxWidth === void 0 ? (cov_216ndqorbu().b[1][0]++, "max-w-3xl") : _ref$maxWidth;
9360
9473
  cov_216ndqorbu().f[0]++;
9361
9474
  var _ref2 = (cov_216ndqorbu().s[1]++, useState(EMAIL_TYPES["null"])),
9362
9475
  _ref3 = _slicedToArray(_ref2, 2),
@@ -9378,15 +9491,15 @@ var EmbedCode = function EmbedCode(_ref) {
9378
9491
  }, []);
9379
9492
  var _ref7 = (cov_216ndqorbu().s[8]++, useFetchApiKey()),
9380
9493
  _ref7$data = _ref7.data,
9381
- _ref7$data2 = _ref7$data === void 0 ? (cov_216ndqorbu().b[1][0]++, {}) : _ref7$data,
9494
+ _ref7$data2 = _ref7$data === void 0 ? (cov_216ndqorbu().b[2][0]++, {}) : _ref7$data,
9382
9495
  _ref7$data2$widgetApi = _ref7$data2.widgetApiKey,
9383
- widgetApiKey = _ref7$data2$widgetApi === void 0 ? (cov_216ndqorbu().b[2][0]++, "") : _ref7$data2$widgetApi,
9496
+ widgetApiKey = _ref7$data2$widgetApi === void 0 ? (cov_216ndqorbu().b[3][0]++, "") : _ref7$data2$widgetApi,
9384
9497
  isLoadingApiKey = _ref7.isLoading;
9385
9498
  var _ref8 = (cov_216ndqorbu().s[9]++, useFetchConfigurations()),
9386
9499
  _ref8$data = _ref8.data,
9387
- _ref8$data2 = _ref8$data === void 0 ? (cov_216ndqorbu().b[3][0]++, {}) : _ref8$data,
9500
+ _ref8$data2 = _ref8$data === void 0 ? (cov_216ndqorbu().b[4][0]++, {}) : _ref8$data,
9388
9501
  _ref8$data2$neetoWidg = _ref8$data2.neetoWidgetTokens,
9389
- neetoWidgetTokens = _ref8$data2$neetoWidg === void 0 ? (cov_216ndqorbu().b[4][0]++, []) : _ref8$data2$neetoWidg,
9502
+ neetoWidgetTokens = _ref8$data2$neetoWidg === void 0 ? (cov_216ndqorbu().b[5][0]++, []) : _ref8$data2$neetoWidg,
9390
9503
  isLoadingConfigurations = _ref8.isLoading;
9391
9504
  var _ref9 = (cov_216ndqorbu().s[10]++, useUpdateConfigurations()),
9392
9505
  updateWidgetConfiguration = _ref9.mutate;
@@ -9419,7 +9532,7 @@ var EmbedCode = function EmbedCode(_ref) {
9419
9532
  }, {
9420
9533
  onSuccess: function onSuccess() {
9421
9534
  cov_216ndqorbu().f[6]++;
9422
- var response = (cov_216ndqorbu().s[21]++, isEnabled ? (cov_216ndqorbu().b[5][0]++, "neetoMolecules.widget.installation.enabled") : (cov_216ndqorbu().b[5][1]++, "neetoMolecules.widget.installation.disabled"));
9535
+ var response = (cov_216ndqorbu().s[21]++, isEnabled ? (cov_216ndqorbu().b[6][0]++, "neetoMolecules.widget.installation.enabled") : (cov_216ndqorbu().b[6][1]++, "neetoMolecules.widget.installation.disabled"));
9423
9536
  cov_216ndqorbu().s[22]++;
9424
9537
  Toastr.success(t(response, {
9425
9538
  productName: "neeto".concat(capitalize(widget))
@@ -9432,11 +9545,11 @@ var EmbedCode = function EmbedCode(_ref) {
9432
9545
  cov_216ndqorbu().f[7]++;
9433
9546
  cov_216ndqorbu().s[24]++;
9434
9547
  if (isNotEmpty(widgetApiKey)) {
9435
- cov_216ndqorbu().b[6][0]++;
9548
+ cov_216ndqorbu().b[7][0]++;
9436
9549
  cov_216ndqorbu().s[25]++;
9437
9550
  return sampleConsolidatedCodeString(enabledWidgets, widgetApiKey);
9438
9551
  } else {
9439
- cov_216ndqorbu().b[6][1]++;
9552
+ cov_216ndqorbu().b[7][1]++;
9440
9553
  }
9441
9554
  cov_216ndqorbu().s[26]++;
9442
9555
  return "";
@@ -9447,7 +9560,7 @@ var EmbedCode = function EmbedCode(_ref) {
9447
9560
  cov_216ndqorbu().s[28]++;
9448
9561
  switch (selectedEmailType) {
9449
9562
  case EMAIL_TYPES.embedCode:
9450
- cov_216ndqorbu().b[7][0]++;
9563
+ cov_216ndqorbu().b[8][0]++;
9451
9564
  cov_216ndqorbu().s[29]++;
9452
9565
  return {
9453
9566
  codeString: getEmbedCodeString(),
@@ -9485,7 +9598,7 @@ var EmbedCode = function EmbedCode(_ref) {
9485
9598
  }))
9486
9599
  };
9487
9600
  case EMAIL_TYPES.userIdentity:
9488
- cov_216ndqorbu().b[7][1]++;
9601
+ cov_216ndqorbu().b[8][1]++;
9489
9602
  cov_216ndqorbu().s[30]++;
9490
9603
  return {
9491
9604
  emailType: EMAIL_TYPES.userIdentity,
@@ -9505,16 +9618,16 @@ var EmbedCode = function EmbedCode(_ref) {
9505
9618
  className: "neeto-ui-text-primary-800",
9506
9619
  rel: "noreferrer",
9507
9620
  target: "_blank",
9508
- href: enabledWidgets.chat ? (cov_216ndqorbu().b[8][0]++, NEETO_CHAT_USER_IDENTITY_URL) : (cov_216ndqorbu().b[8][1]++, NEETO_REPLAY_CONFIGURE_URL)
9621
+ href: enabledWidgets.chat ? (cov_216ndqorbu().b[9][0]++, NEETO_CHAT_USER_IDENTITY_URL) : (cov_216ndqorbu().b[9][1]++, NEETO_REPLAY_CONFIGURE_URL)
9509
9622
  })
9510
9623
  },
9511
9624
  values: {
9512
- userIdentityKbUrl: enabledWidgets.chat ? (cov_216ndqorbu().b[9][0]++, NEETO_CHAT_USER_IDENTITY_URL) : (cov_216ndqorbu().b[9][1]++, NEETO_REPLAY_CONFIGURE_URL)
9625
+ userIdentityKbUrl: enabledWidgets.chat ? (cov_216ndqorbu().b[10][0]++, NEETO_CHAT_USER_IDENTITY_URL) : (cov_216ndqorbu().b[10][1]++, NEETO_REPLAY_CONFIGURE_URL)
9513
9626
  }
9514
9627
  }))
9515
9628
  };
9516
9629
  case EMAIL_TYPES.sessionContext:
9517
- cov_216ndqorbu().b[7][2]++;
9630
+ cov_216ndqorbu().b[8][2]++;
9518
9631
  cov_216ndqorbu().s[31]++;
9519
9632
  return {
9520
9633
  codeString: SAMPLE_CONTEXT_CODE_STRING,
@@ -9542,11 +9655,11 @@ var EmbedCode = function EmbedCode(_ref) {
9542
9655
  }))
9543
9656
  };
9544
9657
  case EMAIL_TYPES["null"]:
9545
- cov_216ndqorbu().b[7][3]++;
9658
+ cov_216ndqorbu().b[8][3]++;
9546
9659
  cov_216ndqorbu().s[32]++;
9547
- return previousEmailType !== EMAIL_TYPES["null"] ? (cov_216ndqorbu().b[10][0]++, getSnippetProps(previousEmailType)) : (cov_216ndqorbu().b[10][1]++, {});
9660
+ return previousEmailType !== EMAIL_TYPES["null"] ? (cov_216ndqorbu().b[11][0]++, getSnippetProps(previousEmailType)) : (cov_216ndqorbu().b[11][1]++, {});
9548
9661
  default:
9549
- cov_216ndqorbu().b[7][4]++;
9662
+ cov_216ndqorbu().b[8][4]++;
9550
9663
  cov_216ndqorbu().s[33]++;
9551
9664
  throw new Error("Invalid email type received.");
9552
9665
  }
@@ -9556,38 +9669,40 @@ var EmbedCode = function EmbedCode(_ref) {
9556
9669
  cov_216ndqorbu().f[9]++;
9557
9670
  cov_216ndqorbu().s[35]++;
9558
9671
  if (isEmpty(selectedWidgets)) {
9559
- cov_216ndqorbu().b[11][0]++;
9672
+ cov_216ndqorbu().b[12][0]++;
9560
9673
  cov_216ndqorbu().s[36]++;
9561
9674
  Toastr.error(t("neetoMolecules.widget.installation.snippet.disabledError"));
9562
9675
  cov_216ndqorbu().s[37]++;
9563
9676
  return;
9564
9677
  } else {
9565
- cov_216ndqorbu().b[11][1]++;
9678
+ cov_216ndqorbu().b[12][1]++;
9566
9679
  }
9567
9680
  cov_216ndqorbu().s[38]++;
9568
9681
  setEmailType(selectedEmail);
9569
9682
  };
9570
9683
  cov_216ndqorbu().s[39]++;
9571
- if ((cov_216ndqorbu().b[13][0]++, isLoadingApiKey) || (cov_216ndqorbu().b[13][1]++, isLoadingConfigurations)) {
9572
- cov_216ndqorbu().b[12][0]++;
9684
+ if ((cov_216ndqorbu().b[14][0]++, isLoadingApiKey) || (cov_216ndqorbu().b[14][1]++, isLoadingConfigurations)) {
9685
+ cov_216ndqorbu().b[13][0]++;
9573
9686
  cov_216ndqorbu().s[40]++;
9574
9687
  return /*#__PURE__*/React.createElement("div", {
9575
9688
  className: "h-full w-full"
9576
9689
  }, /*#__PURE__*/React.createElement(PageLoader, null));
9577
9690
  } else {
9578
- cov_216ndqorbu().b[12][1]++;
9691
+ cov_216ndqorbu().b[13][1]++;
9579
9692
  }
9580
9693
  cov_216ndqorbu().s[41]++;
9581
9694
  return /*#__PURE__*/React.createElement("div", {
9582
9695
  className: "mx-auto mb-10 w-full flex-col items-center justify-start"
9696
+ }, /*#__PURE__*/React.createElement("div", {
9697
+ className: classnames("mx-auto", maxWidth)
9583
9698
  }, /*#__PURE__*/React.createElement(SelectionTabs, {
9584
9699
  primarySelectedWidget: primaryApp,
9585
9700
  selectedWidgets: selectedWidgets,
9586
9701
  updateSelectedWidgets: updateSelectedWidgets
9587
9702
  }), /*#__PURE__*/React.createElement("div", {
9588
- className: "mx-auto mb-6 w-full max-w-2xl flex-grow flex-col items-center justify-start"
9703
+ className: "mb-8 w-full flex-grow flex-col items-center justify-start"
9589
9704
  }, /*#__PURE__*/React.createElement("div", {
9590
- className: "mx-auto mb-4 w-full",
9705
+ className: "mx-auto mb-2 w-full",
9591
9706
  "data-testid": "embed-code-block"
9592
9707
  }, /*#__PURE__*/React.createElement(CodeBlock, {
9593
9708
  className: "neeto-ui-bg-primary-100 neeto-ui-rounded-xl overflow-hidden",
@@ -9611,40 +9726,40 @@ var EmbedCode = function EmbedCode(_ref) {
9611
9726
  })
9612
9727
  },
9613
9728
  values: {
9614
- selectedWidgets: isNotEmpty(selectedWidgets) ? (cov_216ndqorbu().b[14][0]++, getSelectedWidgetsCombinedText(selectedWidgets, true)) : (cov_216ndqorbu().b[14][1]++, "none of the widgets")
9729
+ selectedWidgets: isNotEmpty(selectedWidgets) ? (cov_216ndqorbu().b[15][0]++, getSelectedWidgetsCombinedText(selectedWidgets, true)) : (cov_216ndqorbu().b[15][1]++, "none of the widgets")
9615
9730
  }
9616
- }, "Place the embed code in your HTML file. This will embed the selected widgets in your website."))), (cov_216ndqorbu().b[16][0]++, enabledWidgets.chat) || (cov_216ndqorbu().b[16][1]++, enabledWidgets.replay) ? (cov_216ndqorbu().b[15][0]++, /*#__PURE__*/React.createElement("div", {
9617
- className: "mx-auto mb-6 w-full max-w-2xl flex-grow flex-col items-center justify-start"
9731
+ }, "Place the embed code in your HTML file. This will embed the selected widgets in your website."))), (cov_216ndqorbu().b[17][0]++, enabledWidgets.chat) || (cov_216ndqorbu().b[17][1]++, enabledWidgets.replay) ? (cov_216ndqorbu().b[16][0]++, /*#__PURE__*/React.createElement("div", {
9732
+ className: "mb-8 w-full flex-grow flex-col items-center justify-start"
9618
9733
  }, /*#__PURE__*/React.createElement("div", {
9619
- className: "mx-auto mb-4 w-full"
9734
+ className: "mx-auto mb-2 w-full"
9620
9735
  }, /*#__PURE__*/React.createElement(CodeBlock, {
9621
9736
  className: "neeto-ui-bg-primary-100 neeto-ui-rounded-xl overflow-hidden",
9622
9737
  frameworkProps: {
9623
9738
  selectedFramework: selectedFramework,
9624
9739
  setSelectedFramework: setSelectedFramework
9625
9740
  },
9741
+ codeString: getSampleUserIdentity(enabledWidgets, selectedFramework.value),
9626
9742
  sendViaEmail: function sendViaEmail() {
9627
9743
  cov_216ndqorbu().f[11]++;
9628
9744
  cov_216ndqorbu().s[43]++;
9629
9745
  return handleSendViaEmail(EMAIL_TYPES.userIdentity);
9630
9746
  },
9631
- codeString: getSampleUserIdentity(enabledWidgets, selectedFramework.value),
9632
9747
  title: /*#__PURE__*/React.createElement("div", {
9633
9748
  className: "flex items-center justify-start"
9634
9749
  }, /*#__PURE__*/React.createElement("div", null, "User identity (Optional)"), /*#__PURE__*/React.createElement("a", {
9635
9750
  className: "ml-1",
9636
9751
  rel: "noreferrer",
9637
9752
  target: "_blank",
9638
- href: enabledWidgets.chat ? (cov_216ndqorbu().b[17][0]++, NEETO_CHAT_USER_IDENTITY_URL) : (cov_216ndqorbu().b[17][1]++, NEETO_REPLAY_CONFIGURE_URL)
9639
- }, /*#__PURE__*/React.createElement(Help, {
9753
+ href: enabledWidgets.chat ? (cov_216ndqorbu().b[18][0]++, NEETO_CHAT_USER_IDENTITY_URL) : (cov_216ndqorbu().b[18][1]++, NEETO_REPLAY_CONFIGURE_URL)
9754
+ }, /*#__PURE__*/React.createElement(Info, {
9640
9755
  size: 16
9641
9756
  })))
9642
9757
  })), /*#__PURE__*/React.createElement("div", {
9643
9758
  className: "w-full"
9644
- }, t("neetoMolecules.widget.installation.instructions.userIdentity")))) : (cov_216ndqorbu().b[15][1]++, null), enabledWidgets.replay ? (cov_216ndqorbu().b[18][0]++, /*#__PURE__*/React.createElement("div", {
9645
- className: "mx-auto w-full max-w-2xl flex-grow flex-col items-center justify-start"
9759
+ }, t("neetoMolecules.widget.installation.instructions.userIdentity")))) : (cov_216ndqorbu().b[16][1]++, null), enabledWidgets.replay ? (cov_216ndqorbu().b[19][0]++, /*#__PURE__*/React.createElement("div", {
9760
+ className: "w-full flex-grow flex-col items-center justify-start"
9646
9761
  }, /*#__PURE__*/React.createElement("div", {
9647
- className: "mx-auto mb-4 w-full"
9762
+ className: "mx-auto mb-2 w-full"
9648
9763
  }, /*#__PURE__*/React.createElement(CodeBlock, {
9649
9764
  className: "neeto-ui-bg-primary-100 neeto-ui-rounded-xl overflow-hidden",
9650
9765
  codeString: SAMPLE_CONTEXT_CODE_STRING,
@@ -9660,13 +9775,13 @@ var EmbedCode = function EmbedCode(_ref) {
9660
9775
  href: NEETO_REPLAY_CONFIGURE_URL,
9661
9776
  rel: "noreferrer",
9662
9777
  target: "_blank"
9663
- }, /*#__PURE__*/React.createElement(Help, {
9778
+ }, /*#__PURE__*/React.createElement(Info, {
9664
9779
  size: 16
9665
9780
  })))
9666
9781
  })), /*#__PURE__*/React.createElement("div", {
9667
9782
  className: "w-full"
9668
- }, t("neetoMolecules.widget.installation.instructions.sessionContext")))) : (cov_216ndqorbu().b[18][1]++, null), /*#__PURE__*/React.createElement(CodeSnippet, _extends({
9669
- isPaneOpen: (cov_216ndqorbu().b[19][0]++, !!emailType) && (cov_216ndqorbu().b[19][1]++, isNotEmpty(selectedWidgets)),
9783
+ }, t("neetoMolecules.widget.installation.instructions.sessionContext")))) : (cov_216ndqorbu().b[19][1]++, null)), /*#__PURE__*/React.createElement(CodeSnippet, _extends({
9784
+ isPaneOpen: (cov_216ndqorbu().b[20][0]++, !!emailType) && (cov_216ndqorbu().b[20][1]++, isNotEmpty(selectedWidgets)),
9670
9785
  onClose: function onClose() {
9671
9786
  cov_216ndqorbu().f[13]++;
9672
9787
  cov_216ndqorbu().s[45]++;
@@ -9676,52 +9791,72 @@ var EmbedCode = function EmbedCode(_ref) {
9676
9791
  };
9677
9792
  cov_216ndqorbu().s[46]++;
9678
9793
 
9679
- function cov_dmuubj14b() {
9680
- var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/NeetoWidget/EmbedCodeQueryClient.jsx";
9681
- var hash = "2943e099ababc6953ade5b6465be1773b78fdd9a";
9794
+ function cov_19nsdjzqpb() {
9795
+ var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/NeetoWidget/Main.jsx";
9796
+ var hash = "f8f6a974b4a06560042d191ae12aff007d1a7759";
9682
9797
  var global = new Function("return this")();
9683
9798
  var gcv = "__coverage__";
9684
9799
  var coverageData = {
9685
- path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/NeetoWidget/EmbedCodeQueryClient.jsx",
9800
+ path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/NeetoWidget/Main.jsx",
9686
9801
  statementMap: {
9687
9802
  "0": {
9688
9803
  start: {
9689
- line: 8,
9804
+ line: 11,
9690
9805
  column: 20
9691
9806
  },
9692
9807
  end: {
9693
- line: 8,
9808
+ line: 11,
9694
9809
  column: 37
9695
9810
  }
9696
9811
  },
9697
9812
  "1": {
9698
9813
  start: {
9699
- line: 10,
9700
- column: 29
9814
+ line: 13,
9815
+ column: 13
9701
9816
  },
9702
9817
  end: {
9703
- line: 14,
9818
+ line: 27,
9704
9819
  column: 1
9705
9820
  }
9706
9821
  },
9707
9822
  "2": {
9708
9823
  start: {
9709
- line: 11,
9710
- column: 2
9824
+ line: 14,
9825
+ column: 16
9711
9826
  },
9712
9827
  end: {
9713
- line: 13,
9714
- column: 24
9828
+ line: 14,
9829
+ column: 32
9715
9830
  }
9716
9831
  },
9717
9832
  "3": {
9718
9833
  start: {
9719
9834
  line: 16,
9720
- column: 0
9835
+ column: 32
9721
9836
  },
9722
9837
  end: {
9838
+ line: 16,
9839
+ column: 61
9840
+ }
9841
+ },
9842
+ "4": {
9843
+ start: {
9723
9844
  line: 18,
9724
9845
  column: 2
9846
+ },
9847
+ end: {
9848
+ line: 26,
9849
+ column: 4
9850
+ }
9851
+ },
9852
+ "5": {
9853
+ start: {
9854
+ line: 29,
9855
+ column: 0
9856
+ },
9857
+ end: {
9858
+ line: 31,
9859
+ column: 2
9725
9860
  }
9726
9861
  }
9727
9862
  },
@@ -9730,40 +9865,78 @@ function cov_dmuubj14b() {
9730
9865
  name: "(anonymous_0)",
9731
9866
  decl: {
9732
9867
  start: {
9733
- line: 10,
9734
- column: 29
9868
+ line: 13,
9869
+ column: 13
9735
9870
  },
9736
9871
  end: {
9737
- line: 10,
9738
- column: 30
9872
+ line: 13,
9873
+ column: 14
9739
9874
  }
9740
9875
  },
9741
9876
  loc: {
9742
9877
  start: {
9743
- line: 11,
9744
- column: 2
9878
+ line: 13,
9879
+ column: 22
9745
9880
  },
9746
9881
  end: {
9747
- line: 13,
9748
- column: 24
9882
+ line: 27,
9883
+ column: 1
9749
9884
  }
9750
9885
  },
9751
- line: 11
9886
+ line: 13
9887
+ }
9888
+ },
9889
+ branchMap: {
9890
+ "0": {
9891
+ loc: {
9892
+ start: {
9893
+ line: 18,
9894
+ column: 9
9895
+ },
9896
+ end: {
9897
+ line: 26,
9898
+ column: 3
9899
+ }
9900
+ },
9901
+ type: "cond-expr",
9902
+ locations: [{
9903
+ start: {
9904
+ line: 19,
9905
+ column: 4
9906
+ },
9907
+ end: {
9908
+ line: 21,
9909
+ column: 26
9910
+ }
9911
+ }, {
9912
+ start: {
9913
+ line: 23,
9914
+ column: 4
9915
+ },
9916
+ end: {
9917
+ line: 25,
9918
+ column: 14
9919
+ }
9920
+ }],
9921
+ line: 18
9752
9922
  }
9753
9923
  },
9754
- branchMap: {},
9755
9924
  s: {
9756
9925
  "0": 0,
9757
9926
  "1": 0,
9758
9927
  "2": 0,
9759
- "3": 0
9928
+ "3": 0,
9929
+ "4": 0,
9930
+ "5": 0
9760
9931
  },
9761
9932
  f: {
9762
9933
  "0": 0
9763
9934
  },
9764
- b: {},
9935
+ b: {
9936
+ "0": [0, 0]
9937
+ },
9765
9938
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
9766
- hash: "2943e099ababc6953ade5b6465be1773b78fdd9a"
9939
+ hash: "f8f6a974b4a06560042d191ae12aff007d1a7759"
9767
9940
  };
9768
9941
  var coverage = global[gcv] || (global[gcv] = {});
9769
9942
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -9772,23 +9945,29 @@ function cov_dmuubj14b() {
9772
9945
  var actualCoverage = coverage[path];
9773
9946
  {
9774
9947
  // @ts-ignore
9775
- cov_dmuubj14b = function () {
9948
+ cov_19nsdjzqpb = function () {
9776
9949
  return actualCoverage;
9777
9950
  };
9778
9951
  }
9779
9952
  return actualCoverage;
9780
9953
  }
9781
- cov_dmuubj14b();
9782
- var queryClient = (cov_dmuubj14b().s[0]++, new QueryClient());
9783
- cov_dmuubj14b().s[1]++;
9784
- var EmbedCodeQueryClient = function EmbedCodeQueryClient(props) {
9785
- cov_dmuubj14b().f[0]++;
9786
- cov_dmuubj14b().s[2]++;
9787
- return /*#__PURE__*/React.createElement(QueryClientProvider, {
9954
+ cov_19nsdjzqpb();
9955
+ var queryClient = (cov_19nsdjzqpb().s[0]++, new QueryClient());
9956
+ cov_19nsdjzqpb().s[1]++;
9957
+ var Main = function Main(props) {
9958
+ cov_19nsdjzqpb().f[0]++;
9959
+ var _ref = (cov_19nsdjzqpb().s[2]++, useTranslation()),
9960
+ t = _ref.t;
9961
+ var shouldRenderEmbedCode = (cov_19nsdjzqpb().s[3]++, window.globalProps.ssoEnabled);
9962
+ cov_19nsdjzqpb().s[4]++;
9963
+ return shouldRenderEmbedCode ? (cov_19nsdjzqpb().b[0][0]++, /*#__PURE__*/React.createElement(QueryClientProvider, {
9788
9964
  client: queryClient
9789
- }, /*#__PURE__*/React.createElement(EmbedCode, props));
9965
+ }, /*#__PURE__*/React.createElement(EmbedCode, props))) : (cov_19nsdjzqpb().b[0][1]++, /*#__PURE__*/React.createElement(Callout, {
9966
+ icon: Info,
9967
+ style: "info"
9968
+ }, t("neetoMolecules.widget.developmentInfo")));
9790
9969
  };
9791
- cov_dmuubj14b().s[3]++;
9970
+ cov_19nsdjzqpb().s[5]++;
9792
9971
 
9793
9972
  function cov_oapvqz4m8() {
9794
9973
  var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/NeetoWidget/index.js";
@@ -9834,7 +10013,7 @@ function cov_oapvqz4m8() {
9834
10013
  }
9835
10014
  cov_oapvqz4m8();
9836
10015
  var NeetoWidget = (cov_oapvqz4m8().s[0]++, {
9837
- EmbedCode: EmbedCodeQueryClient,
10016
+ EmbedCode: Main,
9838
10017
  WIDGET_TYPES: WIDGET_TYPES
9839
10018
  });
9840
10019