@learncard/react 2.6.57 → 2.6.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (152) hide show
  1. package/dist/cjs/{AchievementCard-6e875eff.js → AchievementCard-a52e4f25.js} +3 -3
  2. package/dist/cjs/{AchievementCard-6e875eff.js.map → AchievementCard-a52e4f25.js.map} +1 -1
  3. package/dist/cjs/{BoostGenericCard-78173946.js → BoostGenericCard-7426cbea.js} +2 -2
  4. package/dist/cjs/{BoostGenericCard-78173946.js.map → BoostGenericCard-7426cbea.js.map} +1 -1
  5. package/dist/cjs/{BoostSmallCard-a18bc6b0.js → BoostSmallCard-0b3a3dd8.js} +2 -2
  6. package/dist/cjs/{BoostSmallCard-a18bc6b0.js.map → BoostSmallCard-0b3a3dd8.js.map} +1 -1
  7. package/dist/cjs/{CertificateDisplayCard-405573a7.js → CertificateDisplayCard-d93af598.js} +1885 -18
  8. package/dist/cjs/CertificateDisplayCard-d93af598.js.map +1 -0
  9. package/dist/cjs/{CircleCheckButton-533f6909.js → CircleCheckButton-abff235d.js} +2 -2
  10. package/dist/cjs/{CircleCheckButton-533f6909.js.map → CircleCheckButton-abff235d.js.map} +1 -1
  11. package/dist/cjs/{CircleIcon-4b16b093.js → CircleIcon-dace003c.js} +2 -2
  12. package/dist/cjs/{CircleIcon-4b16b093.js.map → CircleIcon-dace003c.js.map} +1 -1
  13. package/dist/cjs/{CourseVerticalCard-192f2b04.js → CourseVerticalCard-2958d043.js} +3 -3
  14. package/dist/cjs/{CourseVerticalCard-192f2b04.js.map → CourseVerticalCard-2958d043.js.map} +1 -1
  15. package/dist/cjs/{GenericCard-3805a866.js → GenericCard-6f8770f5.js} +2 -2
  16. package/dist/cjs/{GenericCard-3805a866.js.map → GenericCard-6f8770f5.js.map} +1 -1
  17. package/dist/cjs/{RoundedPill-e30b61f8.js → RoundedPill-4bce9068.js} +2 -2
  18. package/dist/cjs/{RoundedPill-e30b61f8.js.map → RoundedPill-4bce9068.js.map} +1 -1
  19. package/dist/cjs/{RoundedSquare-71308a4a.js → RoundedSquare-caa49231.js} +3 -3
  20. package/dist/cjs/{RoundedSquare-71308a4a.js.map → RoundedSquare-caa49231.js.map} +1 -1
  21. package/dist/cjs/{SkillTabCard-16609965.js → SkillTabCard-2be1570e.js} +3 -3
  22. package/dist/cjs/{SkillTabCard-16609965.js.map → SkillTabCard-2be1570e.js.map} +1 -1
  23. package/dist/cjs/{VCCard-397ba465.js → VCCard-a698fb77.js} +4 -4
  24. package/dist/cjs/{VCCard-397ba465.js.map → VCCard-a698fb77.js.map} +1 -1
  25. package/dist/cjs/{VCDisplayBackFace-3cc78d41.js → VCDisplayBackFace-91668901.js} +2 -2
  26. package/dist/cjs/{VCDisplayBackFace-3cc78d41.js.map → VCDisplayBackFace-91668901.js.map} +1 -1
  27. package/dist/cjs/{VCDisplayCard-0f7226d7.js → VCDisplayCard-d5fcddb7.js} +3 -3
  28. package/dist/cjs/{VCDisplayCard-0f7226d7.js.map → VCDisplayCard-d5fcddb7.js.map} +1 -1
  29. package/dist/cjs/VCDisplayCard2-f99e286c.js +835 -0
  30. package/dist/cjs/VCDisplayCard2-f99e286c.js.map +1 -0
  31. package/dist/cjs/{credential.helpers-f1087746.js → credential.helpers-a3c3d503.js} +2 -2
  32. package/dist/cjs/{credential.helpers-f1087746.js.map → credential.helpers-a3c3d503.js.map} +1 -1
  33. package/dist/cjs/{icons-9d37a8b8.js → icons-9878f84c.js} +5 -4
  34. package/dist/cjs/icons-9878f84c.js.map +1 -0
  35. package/dist/cjs/idIcon.svg +4 -0
  36. package/dist/cjs/index.js +20 -19
  37. package/dist/cjs/index.js.map +1 -1
  38. package/dist/cjs/index10.js +5 -4
  39. package/dist/cjs/index10.js.map +1 -1
  40. package/dist/cjs/index12.js +5 -4
  41. package/dist/cjs/index12.js.map +1 -1
  42. package/dist/cjs/index13.js +20 -19
  43. package/dist/cjs/index13.js.map +1 -1
  44. package/dist/cjs/index2.js +5 -4
  45. package/dist/cjs/index2.js.map +1 -1
  46. package/dist/cjs/index27.js +3 -2
  47. package/dist/cjs/index27.js.map +1 -1
  48. package/dist/cjs/index28.js +4 -3
  49. package/dist/cjs/index28.js.map +1 -1
  50. package/dist/cjs/index3.js +5 -4
  51. package/dist/cjs/index3.js.map +1 -1
  52. package/dist/cjs/index32.js +5 -4
  53. package/dist/cjs/index32.js.map +1 -1
  54. package/dist/cjs/index36.js +8 -7
  55. package/dist/cjs/index36.js.map +1 -1
  56. package/dist/cjs/index37.js +4 -3
  57. package/dist/cjs/index37.js.map +1 -1
  58. package/dist/cjs/index38.js +5 -4
  59. package/dist/cjs/index38.js.map +1 -1
  60. package/dist/cjs/index39.js +11 -10
  61. package/dist/cjs/index39.js.map +1 -1
  62. package/dist/cjs/index4.js +5 -4
  63. package/dist/cjs/index4.js.map +1 -1
  64. package/dist/cjs/index40.js +2 -1
  65. package/dist/cjs/index40.js.map +1 -1
  66. package/dist/cjs/index6.js +4 -3
  67. package/dist/cjs/index6.js.map +1 -1
  68. package/dist/cjs/index7.js +4 -3
  69. package/dist/cjs/index7.js.map +1 -1
  70. package/dist/cjs/index8.js +3 -2
  71. package/dist/cjs/index8.js.map +1 -1
  72. package/dist/esm/{AchievementCard-33b363b2.js → AchievementCard-e83fb98a.js} +3 -3
  73. package/dist/esm/{AchievementCard-33b363b2.js.map → AchievementCard-e83fb98a.js.map} +1 -1
  74. package/dist/esm/{BoostGenericCard-e60fdb61.js → BoostGenericCard-d691d173.js} +2 -2
  75. package/dist/esm/{BoostGenericCard-e60fdb61.js.map → BoostGenericCard-d691d173.js.map} +1 -1
  76. package/dist/esm/{BoostSmallCard-5c843cd0.js → BoostSmallCard-ece551a1.js} +2 -2
  77. package/dist/esm/{BoostSmallCard-5c843cd0.js.map → BoostSmallCard-ece551a1.js.map} +1 -1
  78. package/dist/esm/{CertificateDisplayCard-e0fb8f15.js → CertificateDisplayCard-5fbb5a9d.js} +1875 -19
  79. package/dist/esm/CertificateDisplayCard-5fbb5a9d.js.map +1 -0
  80. package/dist/esm/{CircleCheckButton-fca4676f.js → CircleCheckButton-aba0f804.js} +2 -2
  81. package/dist/esm/{CircleCheckButton-fca4676f.js.map → CircleCheckButton-aba0f804.js.map} +1 -1
  82. package/dist/esm/{CircleIcon-69ee6f6e.js → CircleIcon-b45511e1.js} +2 -2
  83. package/dist/esm/{CircleIcon-69ee6f6e.js.map → CircleIcon-b45511e1.js.map} +1 -1
  84. package/dist/esm/{CourseVerticalCard-78de56d0.js → CourseVerticalCard-da219627.js} +3 -3
  85. package/dist/esm/{CourseVerticalCard-78de56d0.js.map → CourseVerticalCard-da219627.js.map} +1 -1
  86. package/dist/esm/{GenericCard-dfa82091.js → GenericCard-a4de814a.js} +2 -2
  87. package/dist/esm/{GenericCard-dfa82091.js.map → GenericCard-a4de814a.js.map} +1 -1
  88. package/dist/esm/{RoundedPill-fb5c7ccb.js → RoundedPill-3f27d4ac.js} +2 -2
  89. package/dist/esm/{RoundedPill-fb5c7ccb.js.map → RoundedPill-3f27d4ac.js.map} +1 -1
  90. package/dist/esm/{RoundedSquare-0b89fe31.js → RoundedSquare-80a5d236.js} +3 -3
  91. package/dist/esm/{RoundedSquare-0b89fe31.js.map → RoundedSquare-80a5d236.js.map} +1 -1
  92. package/dist/esm/{SkillTabCard-ddf067a7.js → SkillTabCard-3670457e.js} +3 -3
  93. package/dist/esm/{SkillTabCard-ddf067a7.js.map → SkillTabCard-3670457e.js.map} +1 -1
  94. package/dist/esm/{VCCard-138e9793.js → VCCard-387f2a5d.js} +4 -4
  95. package/dist/esm/{VCCard-138e9793.js.map → VCCard-387f2a5d.js.map} +1 -1
  96. package/dist/esm/{VCDisplayBackFace-07fcf920.js → VCDisplayBackFace-b2024cfb.js} +2 -2
  97. package/dist/esm/{VCDisplayBackFace-07fcf920.js.map → VCDisplayBackFace-b2024cfb.js.map} +1 -1
  98. package/dist/esm/{VCDisplayCard-c7aee3a6.js → VCDisplayCard-69585484.js} +3 -3
  99. package/dist/esm/{VCDisplayCard-c7aee3a6.js.map → VCDisplayCard-69585484.js.map} +1 -1
  100. package/dist/esm/VCDisplayCard2-1af6a4c1.js +828 -0
  101. package/dist/esm/VCDisplayCard2-1af6a4c1.js.map +1 -0
  102. package/dist/esm/{credential.helpers-56ed8ed6.js → credential.helpers-96c9bb51.js} +2 -2
  103. package/dist/esm/{credential.helpers-56ed8ed6.js.map → credential.helpers-96c9bb51.js.map} +1 -1
  104. package/dist/esm/{icons-25993244.js → icons-6ed3416f.js} +4 -3
  105. package/dist/esm/icons-6ed3416f.js.map +1 -0
  106. package/dist/esm/idIcon.svg +4 -0
  107. package/dist/esm/index.js +19 -18
  108. package/dist/esm/index.js.map +1 -1
  109. package/dist/esm/index10.js +5 -4
  110. package/dist/esm/index10.js.map +1 -1
  111. package/dist/esm/index12.js +5 -4
  112. package/dist/esm/index12.js.map +1 -1
  113. package/dist/esm/index13.js +19 -18
  114. package/dist/esm/index13.js.map +1 -1
  115. package/dist/esm/index2.js +5 -4
  116. package/dist/esm/index2.js.map +1 -1
  117. package/dist/esm/index27.js +3 -2
  118. package/dist/esm/index27.js.map +1 -1
  119. package/dist/esm/index28.js +4 -3
  120. package/dist/esm/index28.js.map +1 -1
  121. package/dist/esm/index3.js +5 -4
  122. package/dist/esm/index3.js.map +1 -1
  123. package/dist/esm/index32.js +5 -4
  124. package/dist/esm/index32.js.map +1 -1
  125. package/dist/esm/index36.js +8 -7
  126. package/dist/esm/index36.js.map +1 -1
  127. package/dist/esm/index37.js +4 -3
  128. package/dist/esm/index37.js.map +1 -1
  129. package/dist/esm/index38.js +5 -4
  130. package/dist/esm/index38.js.map +1 -1
  131. package/dist/esm/index39.js +9 -8
  132. package/dist/esm/index39.js.map +1 -1
  133. package/dist/esm/index4.js +5 -4
  134. package/dist/esm/index4.js.map +1 -1
  135. package/dist/esm/index40.js +2 -1
  136. package/dist/esm/index40.js.map +1 -1
  137. package/dist/esm/index6.js +4 -3
  138. package/dist/esm/index6.js.map +1 -1
  139. package/dist/esm/index7.js +4 -3
  140. package/dist/esm/index7.js.map +1 -1
  141. package/dist/esm/index8.js +3 -2
  142. package/dist/esm/index8.js.map +1 -1
  143. package/dist/index.d.ts +3 -0
  144. package/package.json +1 -1
  145. package/dist/cjs/CertificateDisplayCard-405573a7.js.map +0 -1
  146. package/dist/cjs/VCDisplayCard2-594288c0.js +0 -2691
  147. package/dist/cjs/VCDisplayCard2-594288c0.js.map +0 -1
  148. package/dist/cjs/icons-9d37a8b8.js.map +0 -1
  149. package/dist/esm/CertificateDisplayCard-e0fb8f15.js.map +0 -1
  150. package/dist/esm/VCDisplayCard2-c6f9f62e.js +0 -2674
  151. package/dist/esm/VCDisplayCard2-c6f9f62e.js.map +0 -1
  152. package/dist/esm/icons-25993244.js.map +0 -1
@@ -1,18 +1,18 @@
1
1
  'use strict';
2
2
 
3
3
  var React = require('react');
4
- var credential_helpers = require('./credential.helpers-f1087746.js');
4
+ var credential_helpers = require('./credential.helpers-a3c3d503.js');
5
5
  require('./default-face.jpeg');
6
6
  require('react-dom');
7
- require('./athletics.svg');
8
- require('./business.svg');
9
- require('./creative.svg');
10
- require('./digital.svg');
11
- require('./durable.svg');
12
- require('./medical.svg');
13
- require('./social.svg');
14
- require('./stem.svg');
15
- require('./trade.svg');
7
+ var Athletics = require('./athletics.svg');
8
+ var Business = require('./business.svg');
9
+ var Creative = require('./creative.svg');
10
+ var Digital = require('./digital.svg');
11
+ var Durable = require('./durable.svg');
12
+ var Medical = require('./medical.svg');
13
+ var Social = require('./social.svg');
14
+ var Stem = require('./stem.svg');
15
+ var Trade = require('./trade.svg');
16
16
  var VCVerificationPill = require('./VCVerificationPill-d0edd7ae.js');
17
17
  require('./index.es-f433af46.js');
18
18
  require('./vc.check.svg');
@@ -24,6 +24,15 @@ var Lightbox = require('./Lightbox-f19e13d2.js');
24
24
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
25
25
 
26
26
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
27
+ var Athletics__default = /*#__PURE__*/_interopDefaultLegacy(Athletics);
28
+ var Business__default = /*#__PURE__*/_interopDefaultLegacy(Business);
29
+ var Creative__default = /*#__PURE__*/_interopDefaultLegacy(Creative);
30
+ var Digital__default = /*#__PURE__*/_interopDefaultLegacy(Digital);
31
+ var Durable__default = /*#__PURE__*/_interopDefaultLegacy(Durable);
32
+ var Medical__default = /*#__PURE__*/_interopDefaultLegacy(Medical);
33
+ var Social__default = /*#__PURE__*/_interopDefaultLegacy(Social);
34
+ var Stem__default = /*#__PURE__*/_interopDefaultLegacy(Stem);
35
+ var Trade__default = /*#__PURE__*/_interopDefaultLegacy(Trade);
27
36
  var ThreeDots__default = /*#__PURE__*/_interopDefaultLegacy(ThreeDots);
28
37
 
29
38
  const AcuteCheckmark = ({ className = "" }) => {
@@ -810,16 +819,1865 @@ const MediaAttachmentsBox = ({
810
819
  })));
811
820
  };
812
821
 
822
+ const boostCMSSKillCategories = [
823
+ {
824
+ id: 1,
825
+ title: "Durable",
826
+ IconComponent: Durable__default["default"],
827
+ iconClassName: "text-white",
828
+ iconCircleClass: "bg-cyan-700",
829
+ type: "durable" /* Durable */
830
+ },
831
+ {
832
+ id: 2,
833
+ title: "Stem",
834
+ IconComponent: Stem__default["default"],
835
+ iconClassName: "text-white",
836
+ iconCircleClass: "bg-cyan-700",
837
+ type: "stem" /* Stem */
838
+ },
839
+ {
840
+ id: 3,
841
+ title: "Athletic",
842
+ IconComponent: Athletics__default["default"],
843
+ iconClassName: "text-white",
844
+ iconCircleClass: "bg-cyan-700",
845
+ type: "athletic" /* Athletic */
846
+ },
847
+ {
848
+ id: 4,
849
+ title: "Creative",
850
+ IconComponent: Creative__default["default"],
851
+ iconClassName: "text-white",
852
+ iconCircleClass: "bg-cyan-700",
853
+ type: "creative" /* Creative */
854
+ },
855
+ {
856
+ id: 5,
857
+ title: "Business",
858
+ IconComponent: Business__default["default"],
859
+ iconClassName: "text-white",
860
+ iconCircleClass: "bg-cyan-700",
861
+ type: "business" /* Business */
862
+ },
863
+ {
864
+ id: 6,
865
+ title: "Trade",
866
+ IconComponent: Trade__default["default"],
867
+ iconClassName: "text-white",
868
+ iconCircleClass: "bg-cyan-700",
869
+ type: "trade" /* Trade */
870
+ },
871
+ {
872
+ id: 7,
873
+ title: "Social",
874
+ IconComponent: Social__default["default"],
875
+ iconClassName: "text-white",
876
+ iconCircleClass: "bg-cyan-700",
877
+ type: "social" /* Social */
878
+ },
879
+ {
880
+ id: 8,
881
+ title: "Digital",
882
+ IconComponent: Digital__default["default"],
883
+ iconClassName: "text-white",
884
+ iconCircleClass: "bg-cyan-700",
885
+ type: "digital" /* Digital */
886
+ },
887
+ {
888
+ id: 9,
889
+ title: "Medical",
890
+ IconComponent: Medical__default["default"],
891
+ iconClassName: "text-white",
892
+ iconCircleClass: "bg-cyan-700",
893
+ type: "medical" /* Medical */
894
+ }
895
+ ];
896
+ const CATEGORY_TO_SKILLS = {
897
+ ["durable" /* Durable */]: [
898
+ {
899
+ id: 1,
900
+ title: "Adaptability",
901
+ IconComponent: Durable__default["default"],
902
+ iconClassName: "text-white",
903
+ iconCircleClass: "bg-cyan-700",
904
+ category: "durable" /* Durable */,
905
+ type: "adaptability" /* Adaptability */
906
+ },
907
+ {
908
+ id: 2,
909
+ title: "Perseverance",
910
+ IconComponent: Durable__default["default"],
911
+ iconClassName: "text-white",
912
+ iconCircleClass: "bg-cyan-700",
913
+ category: "durable" /* Durable */,
914
+ type: "perseverance" /* Perseverance */
915
+ },
916
+ {
917
+ id: 3,
918
+ title: "Mental Toughness",
919
+ IconComponent: Durable__default["default"],
920
+ iconClassName: "text-white",
921
+ iconCircleClass: "bg-cyan-700",
922
+ category: "durable" /* Durable */,
923
+ type: "mentalToughness" /* MentalToughness */
924
+ },
925
+ {
926
+ id: 4,
927
+ title: "Physical Endurance",
928
+ IconComponent: Durable__default["default"],
929
+ iconClassName: "text-white",
930
+ iconCircleClass: "bg-cyan-700",
931
+ category: "durable" /* Durable */,
932
+ type: "physicalEndurance" /* PhysicalEndurance */
933
+ },
934
+ {
935
+ id: 5,
936
+ title: "Lifelong Learning",
937
+ IconComponent: Durable__default["default"],
938
+ iconClassName: "text-white",
939
+ iconCircleClass: "bg-cyan-700",
940
+ category: "durable" /* Durable */,
941
+ type: "lifelongLearning" /* LifelongLearning */
942
+ }
943
+ ],
944
+ ["stem" /* Stem */]: [
945
+ {
946
+ id: 1,
947
+ title: "Mathematics",
948
+ IconComponent: Stem__default["default"],
949
+ iconClassName: "text-white",
950
+ iconCircleClass: "bg-cyan-700",
951
+ category: "stem" /* Stem */,
952
+ type: "mathematics" /* Mathematics */
953
+ },
954
+ {
955
+ id: 2,
956
+ title: "Science",
957
+ IconComponent: Stem__default["default"],
958
+ iconClassName: "text-white",
959
+ iconCircleClass: "bg-cyan-700",
960
+ category: "stem" /* Stem */,
961
+ type: "science" /* Science */
962
+ },
963
+ {
964
+ id: 3,
965
+ title: "Technology",
966
+ IconComponent: Stem__default["default"],
967
+ iconClassName: "text-white",
968
+ iconCircleClass: "bg-cyan-700",
969
+ category: "stem" /* Stem */,
970
+ type: "technology" /* Technology */
971
+ },
972
+ {
973
+ id: 4,
974
+ title: "Engineering",
975
+ IconComponent: Stem__default["default"],
976
+ iconClassName: "text-white",
977
+ iconCircleClass: "bg-cyan-700",
978
+ category: "stem" /* Stem */,
979
+ type: "engineering" /* Engineering */
980
+ },
981
+ {
982
+ id: 5,
983
+ title: "Research",
984
+ IconComponent: Stem__default["default"],
985
+ iconClassName: "text-white",
986
+ iconCircleClass: "bg-cyan-700",
987
+ category: "stem" /* Stem */,
988
+ type: "research" /* Research */
989
+ }
990
+ ],
991
+ ["athletic" /* Athletic */]: [
992
+ {
993
+ id: 1,
994
+ title: "Sport specific skills",
995
+ IconComponent: Athletics__default["default"],
996
+ iconClassName: "text-white",
997
+ iconCircleClass: "bg-cyan-700",
998
+ category: "athletic" /* Athletic */,
999
+ type: "sportSpecificSkills" /* SportSpecificSkills */
1000
+ },
1001
+ {
1002
+ id: 2,
1003
+ title: "Strength and Conditioning",
1004
+ IconComponent: Athletics__default["default"],
1005
+ iconClassName: "text-white",
1006
+ iconCircleClass: "bg-cyan-700",
1007
+ category: "athletic" /* Athletic */,
1008
+ type: "strengthAndConditioning" /* StrengthAndConditioning */
1009
+ },
1010
+ {
1011
+ id: 3,
1012
+ title: "Coordination",
1013
+ IconComponent: Athletics__default["default"],
1014
+ iconClassName: "text-white",
1015
+ iconCircleClass: "bg-cyan-700",
1016
+ category: "athletic" /* Athletic */,
1017
+ type: "coordination" /* Coordination */
1018
+ },
1019
+ {
1020
+ id: 4,
1021
+ title: "Mental Focus",
1022
+ IconComponent: Athletics__default["default"],
1023
+ iconClassName: "text-white",
1024
+ iconCircleClass: "bg-cyan-700",
1025
+ category: "athletic" /* Athletic */,
1026
+ type: "mentalFocus" /* MentalFocus */
1027
+ },
1028
+ {
1029
+ id: 5,
1030
+ title: "Team work",
1031
+ IconComponent: Athletics__default["default"],
1032
+ iconClassName: "text-white",
1033
+ iconCircleClass: "bg-cyan-700",
1034
+ category: "athletic" /* Athletic */,
1035
+ type: "teamwork" /* Teamwork */
1036
+ }
1037
+ ],
1038
+ ["creative" /* Creative */]: [
1039
+ {
1040
+ id: 1,
1041
+ title: "Visual Arts",
1042
+ IconComponent: Creative__default["default"],
1043
+ iconClassName: "text-white",
1044
+ iconCircleClass: "bg-cyan-700",
1045
+ category: "creative" /* Creative */,
1046
+ type: "visualArts" /* VisualArts */
1047
+ },
1048
+ {
1049
+ id: 2,
1050
+ title: "Performing Arts",
1051
+ IconComponent: Creative__default["default"],
1052
+ iconClassName: "text-white",
1053
+ iconCircleClass: "bg-cyan-700",
1054
+ category: "creative" /* Creative */,
1055
+ type: "performingArts" /* PerformingArts */
1056
+ },
1057
+ {
1058
+ id: 3,
1059
+ title: "Writing",
1060
+ IconComponent: Creative__default["default"],
1061
+ iconClassName: "text-white",
1062
+ iconCircleClass: "bg-cyan-700",
1063
+ category: "creative" /* Creative */,
1064
+ type: "writing" /* Writing */
1065
+ },
1066
+ {
1067
+ id: 4,
1068
+ title: "Design",
1069
+ IconComponent: Creative__default["default"],
1070
+ iconClassName: "text-white",
1071
+ iconCircleClass: "bg-cyan-700",
1072
+ category: "creative" /* Creative */,
1073
+ type: "design" /* Design */
1074
+ },
1075
+ {
1076
+ id: 5,
1077
+ title: "Ideation",
1078
+ IconComponent: Creative__default["default"],
1079
+ iconClassName: "text-white",
1080
+ iconCircleClass: "bg-cyan-700",
1081
+ category: "creative" /* Creative */,
1082
+ type: "ideation" /* Ideation */
1083
+ }
1084
+ ],
1085
+ ["business" /* Business */]: [
1086
+ {
1087
+ id: 1,
1088
+ title: "Management",
1089
+ IconComponent: Business__default["default"],
1090
+ iconClassName: "text-white",
1091
+ iconCircleClass: "bg-cyan-700",
1092
+ category: "business" /* Business */,
1093
+ type: "management" /* Management */
1094
+ },
1095
+ {
1096
+ id: 2,
1097
+ title: "Finance",
1098
+ IconComponent: Business__default["default"],
1099
+ iconClassName: "text-white",
1100
+ iconCircleClass: "bg-cyan-700",
1101
+ category: "business" /* Business */,
1102
+ type: "finance" /* Finance */
1103
+ },
1104
+ {
1105
+ id: 3,
1106
+ title: "Marketing",
1107
+ IconComponent: Business__default["default"],
1108
+ iconClassName: "text-white",
1109
+ iconCircleClass: "bg-cyan-700",
1110
+ category: "business" /* Business */,
1111
+ type: "marketing" /* Marketing */
1112
+ },
1113
+ {
1114
+ id: 4,
1115
+ title: "Operations",
1116
+ IconComponent: Business__default["default"],
1117
+ iconClassName: "text-white",
1118
+ iconCircleClass: "bg-cyan-700",
1119
+ category: "business" /* Business */,
1120
+ type: "operations" /* Operations */
1121
+ },
1122
+ {
1123
+ id: 5,
1124
+ title: "Entrepreneurship",
1125
+ IconComponent: Business__default["default"],
1126
+ iconClassName: "text-white",
1127
+ iconCircleClass: "bg-cyan-700",
1128
+ category: "business" /* Business */,
1129
+ type: "entrepreneurship" /* Entrepreneurship */
1130
+ }
1131
+ ],
1132
+ ["trade" /* Trade */]: [
1133
+ {
1134
+ id: 1,
1135
+ title: "Construction",
1136
+ IconComponent: Trade__default["default"],
1137
+ iconClassName: "text-white",
1138
+ iconCircleClass: "bg-cyan-700",
1139
+ category: "trade" /* Trade */,
1140
+ type: "construction" /* Construction */
1141
+ },
1142
+ {
1143
+ id: 2,
1144
+ title: "Mechanics",
1145
+ IconComponent: Trade__default["default"],
1146
+ iconClassName: "text-white",
1147
+ iconCircleClass: "bg-cyan-700",
1148
+ category: "trade" /* Trade */,
1149
+ type: "mechanics" /* Mechanics */
1150
+ },
1151
+ {
1152
+ id: 3,
1153
+ title: "Manufacturing",
1154
+ IconComponent: Trade__default["default"],
1155
+ iconClassName: "text-white",
1156
+ iconCircleClass: "bg-cyan-700",
1157
+ category: "trade" /* Trade */,
1158
+ type: "manufacturing" /* Manufacturing */
1159
+ },
1160
+ {
1161
+ id: 4,
1162
+ title: "Cosmetology",
1163
+ IconComponent: Trade__default["default"],
1164
+ iconClassName: "text-white",
1165
+ iconCircleClass: "bg-cyan-700",
1166
+ category: "trade" /* Trade */,
1167
+ type: "cosmetology" /* Cosmetology */
1168
+ },
1169
+ {
1170
+ id: 5,
1171
+ title: "Culinary Arts",
1172
+ IconComponent: Trade__default["default"],
1173
+ iconClassName: "text-white",
1174
+ iconCircleClass: "bg-cyan-700",
1175
+ category: "trade" /* Trade */,
1176
+ type: "culinaryArts" /* CulinaryArts */
1177
+ }
1178
+ ],
1179
+ ["social" /* Social */]: [
1180
+ {
1181
+ id: 1,
1182
+ title: "History",
1183
+ IconComponent: Social__default["default"],
1184
+ iconClassName: "text-white",
1185
+ iconCircleClass: "bg-cyan-700",
1186
+ category: "social" /* Social */,
1187
+ type: "history" /* History */
1188
+ },
1189
+ {
1190
+ id: 2,
1191
+ title: "Psychology",
1192
+ IconComponent: Social__default["default"],
1193
+ iconClassName: "text-white",
1194
+ iconCircleClass: "bg-cyan-700",
1195
+ category: "social" /* Social */,
1196
+ type: "psychology" /* Psychology */
1197
+ },
1198
+ {
1199
+ id: 3,
1200
+ title: "Sociology",
1201
+ IconComponent: Social__default["default"],
1202
+ iconClassName: "text-white",
1203
+ iconCircleClass: "bg-cyan-700",
1204
+ category: "social" /* Social */,
1205
+ type: "sociology" /* Sociology */
1206
+ },
1207
+ {
1208
+ id: 4,
1209
+ title: "Economics",
1210
+ IconComponent: Social__default["default"],
1211
+ iconClassName: "text-white",
1212
+ iconCircleClass: "bg-cyan-700",
1213
+ category: "social" /* Social */,
1214
+ type: "economics" /* Economics */
1215
+ },
1216
+ {
1217
+ id: 5,
1218
+ title: "Political Science",
1219
+ IconComponent: Social__default["default"],
1220
+ iconClassName: "text-white",
1221
+ iconCircleClass: "bg-cyan-700",
1222
+ category: "social" /* Social */,
1223
+ type: "politicalScience" /* PoliticalScience */
1224
+ }
1225
+ ],
1226
+ ["digital" /* Digital */]: [
1227
+ {
1228
+ id: 1,
1229
+ title: "Basic Computer Skills",
1230
+ IconComponent: Digital__default["default"],
1231
+ iconClassName: "text-white",
1232
+ iconCircleClass: "bg-cyan-700",
1233
+ category: "digital" /* Digital */,
1234
+ type: "basicComputerSkills" /* BasicComputerSkills */
1235
+ },
1236
+ {
1237
+ id: 2,
1238
+ title: "Information Literacy",
1239
+ IconComponent: Digital__default["default"],
1240
+ iconClassName: "text-white",
1241
+ iconCircleClass: "bg-cyan-700",
1242
+ category: "digital" /* Digital */,
1243
+ type: "informationLiteracy" /* InformationLiteracy */
1244
+ },
1245
+ {
1246
+ id: 3,
1247
+ title: "Software Proficiency",
1248
+ IconComponent: Digital__default["default"],
1249
+ iconClassName: "text-white",
1250
+ iconCircleClass: "bg-cyan-700",
1251
+ category: "digital" /* Digital */,
1252
+ type: "softwareProficiency" /* SoftwareProficiency */
1253
+ },
1254
+ {
1255
+ id: 4,
1256
+ title: "Online Communication",
1257
+ IconComponent: Digital__default["default"],
1258
+ iconClassName: "text-white",
1259
+ iconCircleClass: "bg-cyan-700",
1260
+ category: "digital" /* Digital */,
1261
+ type: "onlineCommunication" /* OnlineCommunication */
1262
+ },
1263
+ {
1264
+ id: 5,
1265
+ title: "Cybersecurity",
1266
+ IconComponent: Digital__default["default"],
1267
+ iconClassName: "text-white",
1268
+ iconCircleClass: "bg-cyan-700",
1269
+ category: "digital" /* Digital */,
1270
+ type: "cybersecurity" /* Cybersecurity */
1271
+ }
1272
+ ],
1273
+ ["medical" /* Medical */]: [
1274
+ {
1275
+ id: 1,
1276
+ title: "Clinical Skills",
1277
+ IconComponent: Medical__default["default"],
1278
+ iconClassName: "text-white",
1279
+ iconCircleClass: "bg-cyan-700",
1280
+ category: "medical" /* Medical */,
1281
+ type: "clinicalSkills" /* ClinicalSkills */
1282
+ },
1283
+ {
1284
+ id: 2,
1285
+ title: "Anatomy and Physiology",
1286
+ IconComponent: Medical__default["default"],
1287
+ iconClassName: "text-white",
1288
+ iconCircleClass: "bg-cyan-700",
1289
+ category: "medical" /* Medical */,
1290
+ type: "anatomyAndPhysiology" /* AnatomyAndPhysiology */
1291
+ },
1292
+ {
1293
+ id: 3,
1294
+ title: "Patient Care",
1295
+ IconComponent: Medical__default["default"],
1296
+ iconClassName: "text-white",
1297
+ iconCircleClass: "bg-cyan-700",
1298
+ category: "medical" /* Medical */,
1299
+ type: "patientCare" /* PatientCare */
1300
+ },
1301
+ {
1302
+ id: 4,
1303
+ title: "Medical Specialties",
1304
+ IconComponent: Medical__default["default"],
1305
+ iconClassName: "text-white",
1306
+ iconCircleClass: "bg-cyan-700",
1307
+ category: "medical" /* Medical */,
1308
+ type: "medicalSpecialties" /* MedicalSpecialties */
1309
+ },
1310
+ {
1311
+ id: 5,
1312
+ title: "Healthcare Administration",
1313
+ IconComponent: Medical__default["default"],
1314
+ iconClassName: "text-white",
1315
+ iconCircleClass: "bg-cyan-700",
1316
+ category: "medical" /* Medical */,
1317
+ type: "healthcareAdministration" /* HealthcareAdministration */
1318
+ }
1319
+ ]
1320
+ };
1321
+ const SKILLS_TO_SUBSKILLS = {
1322
+ ["adaptability" /* Adaptability */]: [
1323
+ {
1324
+ id: 1,
1325
+ title: "Flexibility",
1326
+ type: "flexibility" /* flexibility */
1327
+ },
1328
+ {
1329
+ id: 2,
1330
+ title: "Resilience",
1331
+ type: "resilience" /* resilience */
1332
+ },
1333
+ {
1334
+ id: 3,
1335
+ title: "Problem Solving",
1336
+ type: "problemSolving" /* problemSolving */
1337
+ },
1338
+ {
1339
+ id: 4,
1340
+ title: "Resourcefulness",
1341
+ type: "resourcefulness" /* resourcefulness */
1342
+ },
1343
+ {
1344
+ id: 5,
1345
+ title: "Stress management",
1346
+ type: "stressManagement" /* stressManagement */
1347
+ }
1348
+ ],
1349
+ ["perseverance" /* Perseverance */]: [
1350
+ {
1351
+ id: 1,
1352
+ title: "Discipline",
1353
+ type: "discipline" /* discipline */
1354
+ },
1355
+ {
1356
+ id: 2,
1357
+ title: "focus",
1358
+ type: "focus" /* focus */
1359
+ },
1360
+ {
1361
+ id: 3,
1362
+ title: "Commitment",
1363
+ type: "commitment" /* commitment */
1364
+ },
1365
+ {
1366
+ id: 4,
1367
+ title: "Grit",
1368
+ type: "grit" /* grit */
1369
+ },
1370
+ {
1371
+ id: 5,
1372
+ title: "Tenacity",
1373
+ type: "tenacity" /* tenacity */
1374
+ }
1375
+ ],
1376
+ ["mentalToughness" /* MentalToughness */]: [
1377
+ {
1378
+ id: 1,
1379
+ title: "optimism",
1380
+ type: "optimism" /* optimism */
1381
+ },
1382
+ {
1383
+ id: 2,
1384
+ title: "Self Confidence",
1385
+ type: "selfConfidence" /* selfConfidence */
1386
+ },
1387
+ {
1388
+ id: 3,
1389
+ title: "Emotional Regulation",
1390
+ type: "emotionalRegulation" /* emotionalRegulation */
1391
+ },
1392
+ {
1393
+ id: 4,
1394
+ title: "Growth Mindset",
1395
+ type: "growthMindset" /* growthMindset */
1396
+ },
1397
+ {
1398
+ id: 5,
1399
+ title: "Positive Self-Talk",
1400
+ type: "positiveSelfTalk" /* positiveSelfTalk */
1401
+ }
1402
+ ],
1403
+ ["physicalEndurance" /* PhysicalEndurance */]: [
1404
+ {
1405
+ id: 1,
1406
+ title: "Strength",
1407
+ type: "strength" /* strength */
1408
+ },
1409
+ {
1410
+ id: 2,
1411
+ title: "Stamina",
1412
+ type: "stamina" /* stamina */
1413
+ },
1414
+ {
1415
+ id: 3,
1416
+ title: "Cardiovascular Fitness",
1417
+ type: "cardiovascularFitness" /* cardiovascularFitness */
1418
+ },
1419
+ {
1420
+ id: 4,
1421
+ title: "Pain Tolerance",
1422
+ type: "painTolerance" /* painTolerance */
1423
+ },
1424
+ {
1425
+ id: 5,
1426
+ title: "Injury Prevention",
1427
+ type: "injuryPrevention" /* injuryPrevention */
1428
+ }
1429
+ ],
1430
+ ["lifelongLearning" /* LifelongLearning */]: [
1431
+ {
1432
+ id: 1,
1433
+ title: "Curiosity",
1434
+ type: "curiosity" /* curiosity */
1435
+ },
1436
+ {
1437
+ id: 2,
1438
+ title: "Open Mindedness",
1439
+ type: "openMindedness" /* openMindedness */
1440
+ },
1441
+ {
1442
+ id: 3,
1443
+ title: "Critical Thinking",
1444
+ type: "critical thinking" /* criticalThinking */
1445
+ },
1446
+ {
1447
+ id: 4,
1448
+ title: "Self-directed Learning",
1449
+ type: "selfDirectedLearning" /* selfDirectedLearning */
1450
+ },
1451
+ {
1452
+ id: 5,
1453
+ title: "Knowledge Retention",
1454
+ type: "knowledgeRetention" /* knowledgeRetention */
1455
+ }
1456
+ ],
1457
+ ["mathematics" /* Mathematics */]: [
1458
+ {
1459
+ id: 1,
1460
+ title: "Algebra",
1461
+ type: "algebra" /* algebra */
1462
+ },
1463
+ {
1464
+ id: 2,
1465
+ title: "Geometry",
1466
+ type: "geometry" /* geometry */
1467
+ },
1468
+ {
1469
+ id: 3,
1470
+ title: "Trigonometry",
1471
+ type: "trigonometry" /* trigonometry */
1472
+ },
1473
+ {
1474
+ id: 4,
1475
+ title: "Calculus",
1476
+ type: "calculus" /* calculus */
1477
+ },
1478
+ {
1479
+ id: 5,
1480
+ title: "Statistics",
1481
+ type: "statistics" /* statistics */
1482
+ }
1483
+ ],
1484
+ ["science" /* Science */]: [
1485
+ {
1486
+ id: 1,
1487
+ title: "Physics",
1488
+ type: "physics" /* physics */
1489
+ },
1490
+ {
1491
+ id: 2,
1492
+ title: "Chemistry",
1493
+ type: "chemistry" /* chemistry */
1494
+ },
1495
+ {
1496
+ id: 3,
1497
+ title: "Biology",
1498
+ type: "biology" /* biology */
1499
+ },
1500
+ {
1501
+ id: 4,
1502
+ title: "Earth science",
1503
+ type: "earthScience" /* earthScience */
1504
+ },
1505
+ {
1506
+ id: 5,
1507
+ title: "Environmental science",
1508
+ type: "environmentalScience" /* environmentalScience */
1509
+ }
1510
+ ],
1511
+ ["technology" /* Technology */]: [
1512
+ {
1513
+ id: 1,
1514
+ title: "Coding",
1515
+ type: "coding" /* coding */
1516
+ },
1517
+ {
1518
+ id: 2,
1519
+ title: "Software Development",
1520
+ type: "softwareDevelopment" /* softwareDevelopment */
1521
+ },
1522
+ {
1523
+ id: 3,
1524
+ title: "Data Analysis",
1525
+ type: "dataAnalysis" /* dataAnalysis */
1526
+ },
1527
+ {
1528
+ id: 4,
1529
+ title: "Robotics",
1530
+ type: "robotics" /* robotics */
1531
+ },
1532
+ {
1533
+ id: 5,
1534
+ title: "Cybersecurity",
1535
+ type: "cybersecurity" /* cybersecurity */
1536
+ }
1537
+ ],
1538
+ ["engineering" /* Engineering */]: [
1539
+ {
1540
+ id: 1,
1541
+ title: "Mechanical Engineering",
1542
+ type: "mechanicalEngineering" /* mechanicalEngineering */
1543
+ },
1544
+ {
1545
+ id: 2,
1546
+ title: "Electrical Engineering",
1547
+ type: "electricalEngineering" /* electricalEngineering */
1548
+ },
1549
+ {
1550
+ id: 3,
1551
+ title: "Civil Engineering",
1552
+ type: "civilEngineering" /* civilEngineering */
1553
+ },
1554
+ {
1555
+ id: 4,
1556
+ title: "Chemical Engineering",
1557
+ type: "chemicalEngineering" /* chemicalEngineering */
1558
+ },
1559
+ {
1560
+ id: 5,
1561
+ title: "Computer Engineering",
1562
+ type: "computerEngineering" /* computerEngineering */
1563
+ }
1564
+ ],
1565
+ ["research" /* Research */]: [
1566
+ {
1567
+ id: 1,
1568
+ title: "Hypothesis Development",
1569
+ type: "hypothesisDevelopment" /* hypothesisDevelopment */
1570
+ },
1571
+ {
1572
+ id: 2,
1573
+ title: "Experimental Design",
1574
+ type: "experimentalDesign" /* experimentalDesign */
1575
+ },
1576
+ {
1577
+ id: 3,
1578
+ title: "Data Collection",
1579
+ type: "dataCollection" /* dataCollection */
1580
+ },
1581
+ {
1582
+ id: 4,
1583
+ title: "Analysis",
1584
+ type: "analysis" /* analysis */
1585
+ },
1586
+ {
1587
+ id: 5,
1588
+ title: "presentation",
1589
+ type: "presentation" /* presentation */
1590
+ }
1591
+ ],
1592
+ ["sportSpecificSkills" /* SportSpecificSkills */]: [
1593
+ {
1594
+ id: 1,
1595
+ title: "Ball Handling",
1596
+ type: "ballHandling" /* ballHandling */
1597
+ },
1598
+ {
1599
+ id: 2,
1600
+ title: "Running Technique",
1601
+ type: "runningTechnique" /* runningTechnique */
1602
+ },
1603
+ {
1604
+ id: 3,
1605
+ title: "Swing Mechanics",
1606
+ type: "swingMechanics" /* swingMechanics */
1607
+ },
1608
+ {
1609
+ id: 4,
1610
+ title: "Tackling",
1611
+ type: "tackling" /* tackling */
1612
+ },
1613
+ {
1614
+ id: 5,
1615
+ title: "Swimming Strokes",
1616
+ type: "swimmingStrokes" /* swimmingStrokes */
1617
+ }
1618
+ ],
1619
+ ["strengthAndConditioning" /* StrengthAndConditioning */]: [
1620
+ {
1621
+ id: 1,
1622
+ title: "Weight Lifting",
1623
+ type: "weightLifting" /* weightLifting */
1624
+ },
1625
+ {
1626
+ id: 2,
1627
+ title: "Speed Training",
1628
+ type: "speedTraining" /* speedTraining */
1629
+ },
1630
+ {
1631
+ id: 3,
1632
+ title: "Agility",
1633
+ type: "agility" /* agility */
1634
+ },
1635
+ {
1636
+ id: 4,
1637
+ title: "Flexibility",
1638
+ type: "flexibility" /* flexibility */
1639
+ },
1640
+ {
1641
+ id: 5,
1642
+ title: "Injury Prevention",
1643
+ type: "injuryPrevention" /* injuryPrevention */
1644
+ }
1645
+ ],
1646
+ ["coordination" /* Coordination */]: [
1647
+ {
1648
+ id: 1,
1649
+ title: "Hand Eye Coordination",
1650
+ type: "handEyeCoordination" /* handEyeCoordination */
1651
+ },
1652
+ {
1653
+ id: 2,
1654
+ title: "Footwork",
1655
+ type: "footwork" /* footwork */
1656
+ },
1657
+ {
1658
+ id: 3,
1659
+ title: "Balance",
1660
+ type: "balance" /* balance */
1661
+ },
1662
+ {
1663
+ id: 4,
1664
+ title: "Reaction Time",
1665
+ type: "reactionTime" /* reactionTime */
1666
+ },
1667
+ {
1668
+ id: 5,
1669
+ title: "Spatial Awareness",
1670
+ type: "spatialAwareness" /* spatialAwareness */
1671
+ }
1672
+ ],
1673
+ ["mentalFocus" /* MentalFocus */]: [
1674
+ {
1675
+ id: 1,
1676
+ title: "Visualization",
1677
+ type: "visualization" /* visualization */
1678
+ },
1679
+ {
1680
+ id: 2,
1681
+ title: "Goal Setting",
1682
+ type: "goalSetting" /* goalSetting */
1683
+ },
1684
+ {
1685
+ id: 3,
1686
+ title: "Competitiveness",
1687
+ type: "competitiveness" /* competitiveness */
1688
+ },
1689
+ {
1690
+ id: 4,
1691
+ title: "Resilience",
1692
+ type: "resilience" /* resilience */
1693
+ },
1694
+ {
1695
+ id: 5,
1696
+ title: "Handling pressure",
1697
+ type: "handlingPressure" /* handlingPressure */
1698
+ }
1699
+ ],
1700
+ ["teamwork" /* Teamwork */]: [
1701
+ {
1702
+ id: 1,
1703
+ title: "Communication",
1704
+ type: "communication" /* communication */
1705
+ },
1706
+ {
1707
+ id: 2,
1708
+ title: "Cooperation",
1709
+ type: "cooperation" /* cooperation */
1710
+ },
1711
+ {
1712
+ id: 3,
1713
+ title: "Role Understanding",
1714
+ type: "roleUnderstanding" /* roleUnderstanding */
1715
+ },
1716
+ {
1717
+ id: 4,
1718
+ title: "Strategy",
1719
+ type: "strategy" /* strategy */
1720
+ },
1721
+ {
1722
+ id: 5,
1723
+ title: "Sportsmanship",
1724
+ type: "sportsmanship" /* sportsmanship */
1725
+ }
1726
+ ],
1727
+ ["visualArts" /* VisualArts */]: [
1728
+ {
1729
+ id: 1,
1730
+ title: "Drawing",
1731
+ type: "drawing" /* drawing */
1732
+ },
1733
+ {
1734
+ id: 2,
1735
+ title: "Painting",
1736
+ type: "painting" /* painting */
1737
+ },
1738
+ {
1739
+ id: 3,
1740
+ title: "Sculpture",
1741
+ type: "sculpture" /* sculpture */
1742
+ },
1743
+ {
1744
+ id: 4,
1745
+ title: "Graphic design",
1746
+ type: "graphicDesign" /* graphicDesign */
1747
+ },
1748
+ {
1749
+ id: 5,
1750
+ title: "Photography",
1751
+ type: "photography" /* photography */
1752
+ }
1753
+ ],
1754
+ ["performingArts" /* PerformingArts */]: [
1755
+ {
1756
+ id: 1,
1757
+ title: "Acting",
1758
+ type: "acting" /* acting */
1759
+ },
1760
+ {
1761
+ id: 2,
1762
+ title: "Dance",
1763
+ type: "dance" /* dance */
1764
+ },
1765
+ {
1766
+ id: 3,
1767
+ title: "Singing",
1768
+ type: "singing" /* singing */
1769
+ },
1770
+ {
1771
+ id: 4,
1772
+ title: "Instrumental",
1773
+ type: "instrumental" /* instrumental */
1774
+ },
1775
+ {
1776
+ id: 5,
1777
+ title: "Theatre Production",
1778
+ type: "theaterProduction" /* theaterProduction */
1779
+ },
1780
+ {
1781
+ id: 6,
1782
+ title: "Costume Design",
1783
+ type: "costumeDesign" /* costumeDesign */
1784
+ },
1785
+ {
1786
+ id: 7,
1787
+ title: "Directing",
1788
+ type: "directing" /* directing */
1789
+ }
1790
+ ],
1791
+ ["writing" /* Writing */]: [
1792
+ {
1793
+ id: 1,
1794
+ title: "Poetry",
1795
+ type: "poetry" /* poetry */
1796
+ },
1797
+ {
1798
+ id: 2,
1799
+ title: "Fiction",
1800
+ type: "fiction" /* fiction */
1801
+ },
1802
+ {
1803
+ id: 3,
1804
+ title: "Non fiction",
1805
+ type: "nonfiction" /* nonfiction */
1806
+ },
1807
+ {
1808
+ id: 4,
1809
+ title: "Script Writing",
1810
+ type: "scriptWriting" /* scriptWriting */
1811
+ },
1812
+ {
1813
+ id: 5,
1814
+ title: "Copy Writing",
1815
+ type: "copyWriting" /* copyWriting */
1816
+ },
1817
+ {
1818
+ id: 6,
1819
+ title: "Journalism",
1820
+ type: "journalism" /* journalism */
1821
+ }
1822
+ ],
1823
+ ["design" /* Design */]: [
1824
+ {
1825
+ id: 1,
1826
+ title: "Fashion Design",
1827
+ type: "fashionDesign" /* fashionDesign */
1828
+ },
1829
+ {
1830
+ id: 2,
1831
+ title: "Interior Design",
1832
+ type: "interiorDesign" /* interiorDesign */
1833
+ },
1834
+ {
1835
+ id: 3,
1836
+ title: "Web Design",
1837
+ type: "webDesign" /* webDesign */
1838
+ },
1839
+ {
1840
+ id: 4,
1841
+ title: "Product Design",
1842
+ type: "productDesign" /* productDesign */
1843
+ },
1844
+ {
1845
+ id: 5,
1846
+ title: "Game Design",
1847
+ type: "gameDesign" /* gameDesign */
1848
+ }
1849
+ ],
1850
+ ["ideation" /* Ideation */]: [
1851
+ {
1852
+ id: 1,
1853
+ title: "Brainstorming",
1854
+ type: "brainstorming" /* brainstorming */
1855
+ },
1856
+ {
1857
+ id: 2,
1858
+ title: "Concept Development",
1859
+ type: "concept development" /* conceptDevelopment */
1860
+ },
1861
+ {
1862
+ id: 3,
1863
+ title: "Innovation",
1864
+ type: "innovation" /* innovation */
1865
+ },
1866
+ {
1867
+ id: 4,
1868
+ title: "Problem Solving",
1869
+ type: "problemSolving" /* problemSolving */
1870
+ },
1871
+ {
1872
+ id: 5,
1873
+ title: "Out of the box thinking",
1874
+ type: "outOfTheBoxThinking" /* outOfTheBoxThinking */
1875
+ }
1876
+ ],
1877
+ ["management" /* Management */]: [
1878
+ {
1879
+ id: 1,
1880
+ title: "Leadership",
1881
+ type: "leadership" /* leadership */
1882
+ },
1883
+ {
1884
+ id: 2,
1885
+ title: "Strategic Planning",
1886
+ type: "strategicPlanning" /* strategicPlanning */
1887
+ },
1888
+ {
1889
+ id: 3,
1890
+ title: "Team Building",
1891
+ type: "teamBuilding" /* teamBuilding */
1892
+ },
1893
+ {
1894
+ id: 4,
1895
+ title: "Delegation",
1896
+ type: "delegation" /* delegation */
1897
+ },
1898
+ {
1899
+ id: 5,
1900
+ title: "Conflict Resolution",
1901
+ type: "conflictResolution" /* conflictResolution */
1902
+ }
1903
+ ],
1904
+ ["finance" /* Finance */]: [
1905
+ {
1906
+ id: 1,
1907
+ title: "Accounting",
1908
+ type: "accounting" /* accounting */
1909
+ },
1910
+ {
1911
+ id: 2,
1912
+ title: "Budgeting",
1913
+ type: "budgeting" /* budgeting */
1914
+ },
1915
+ {
1916
+ id: 3,
1917
+ title: "Financial Analysis",
1918
+ type: "financialAnalysis" /* financialAnalysis */
1919
+ },
1920
+ {
1921
+ id: 4,
1922
+ title: "Investment",
1923
+ type: "investment" /* investment */
1924
+ },
1925
+ {
1926
+ id: 5,
1927
+ title: "Risk Management",
1928
+ type: "riskManagement" /* riskManagement */
1929
+ }
1930
+ ],
1931
+ ["marketing" /* Marketing */]: [
1932
+ {
1933
+ id: 1,
1934
+ title: "Market Research",
1935
+ type: "marketResearch" /* marketResearch */
1936
+ },
1937
+ {
1938
+ id: 2,
1939
+ title: "Branding",
1940
+ type: "branding" /* branding */
1941
+ },
1942
+ {
1943
+ id: 3,
1944
+ title: "Advertising",
1945
+ type: "advertising" /* advertising */
1946
+ },
1947
+ {
1948
+ id: 4,
1949
+ title: "Sales",
1950
+ type: "sales" /* sales */
1951
+ },
1952
+ {
1953
+ id: 5,
1954
+ title: "Customer Relationship Management",
1955
+ type: "customerRelationshipManagement" /* customerRelationshipManagement */
1956
+ }
1957
+ ],
1958
+ ["operations" /* Operations */]: [
1959
+ {
1960
+ id: 1,
1961
+ title: "Logistics",
1962
+ type: "logistics" /* logistics */
1963
+ },
1964
+ {
1965
+ id: 2,
1966
+ title: "Supply Chain Management",
1967
+ type: "supplyChainManagement" /* supplyChainManagement */
1968
+ },
1969
+ {
1970
+ id: 3,
1971
+ title: "Process Improvement",
1972
+ type: "processImprovement" /* processImprovement */
1973
+ },
1974
+ {
1975
+ id: 4,
1976
+ title: "Project Management",
1977
+ type: "projectManagement" /* projectManagement */
1978
+ },
1979
+ {
1980
+ id: 5,
1981
+ title: "Quality Control",
1982
+ type: "qualityControl" /* qualityControl */
1983
+ }
1984
+ ],
1985
+ ["entrepreneurship" /* Entrepreneurship */]: [
1986
+ {
1987
+ id: 1,
1988
+ title: "Opportunity Recognition",
1989
+ type: "opportunityRecognition" /* opportunityRecognition */
1990
+ },
1991
+ {
1992
+ id: 2,
1993
+ title: "Business Planning",
1994
+ type: "businessPlanning" /* businessPlanning */
1995
+ },
1996
+ {
1997
+ id: 3,
1998
+ title: "Fundraising",
1999
+ type: "fundraising" /* fundraising */
2000
+ },
2001
+ {
2002
+ id: 4,
2003
+ title: "Networking",
2004
+ type: "networking" /* networking */
2005
+ },
2006
+ {
2007
+ id: 5,
2008
+ title: "Decision-making",
2009
+ type: "decisionMaking" /* decisionMaking */
2010
+ }
2011
+ ],
2012
+ ["construction" /* Construction */]: [
2013
+ {
2014
+ id: 1,
2015
+ title: "Carpentry",
2016
+ type: "carpentry" /* carpentry */
2017
+ },
2018
+ {
2019
+ id: 2,
2020
+ title: "Electrical Work",
2021
+ type: "electricalWork" /* electricalWork */
2022
+ },
2023
+ {
2024
+ id: 3,
2025
+ title: "Plumbing",
2026
+ type: "plumbing" /* plumbing */
2027
+ },
2028
+ {
2029
+ id: 4,
2030
+ title: "Masonry",
2031
+ type: "masonry" /* masonry */
2032
+ },
2033
+ {
2034
+ id: 5,
2035
+ title: "HVAC",
2036
+ type: "HVAC" /* HVAC */
2037
+ }
2038
+ ],
2039
+ ["mechanics" /* Mechanics */]: [
2040
+ {
2041
+ id: 1,
2042
+ title: "Automotive Repair",
2043
+ type: "automotiveRepair" /* automotiveRepair */
2044
+ },
2045
+ {
2046
+ id: 2,
2047
+ title: "Diesel Engine Repair",
2048
+ type: "dieselEngineRepair" /* dieselEngineRepair */
2049
+ },
2050
+ {
2051
+ id: 3,
2052
+ title: "Small Engine Repair",
2053
+ type: "smallEngineRepair" /* smallEngineRepair */
2054
+ },
2055
+ {
2056
+ id: 4,
2057
+ title: "Aircraft Maintenance",
2058
+ type: "aircraftMaintenance" /* aircraftMaintenance */
2059
+ },
2060
+ {
2061
+ id: 5,
2062
+ title: "Heavy Equipment Operation",
2063
+ type: "heavyEquipmentOperation" /* heavyEquipmentOperation */
2064
+ }
2065
+ ],
2066
+ ["manufacturing" /* Manufacturing */]: [
2067
+ {
2068
+ id: 1,
2069
+ title: "Welding",
2070
+ type: "welding" /* welding */
2071
+ },
2072
+ {
2073
+ id: 2,
2074
+ title: "Machining",
2075
+ type: "machining" /* machining */
2076
+ },
2077
+ {
2078
+ id: 3,
2079
+ title: "Assembly",
2080
+ type: "assembly" /* assembly */
2081
+ },
2082
+ {
2083
+ id: 4,
2084
+ title: "Fabrication",
2085
+ type: "fabrication" /* fabrication */
2086
+ },
2087
+ {
2088
+ id: 5,
2089
+ title: "Quality Assurance",
2090
+ type: "qualityAssurance" /* qualityAssurance */
2091
+ }
2092
+ ],
2093
+ ["cosmetology" /* Cosmetology */]: [
2094
+ {
2095
+ id: 1,
2096
+ title: "Hairstyling",
2097
+ type: "hairstyling" /* hairstyling */
2098
+ },
2099
+ {
2100
+ id: 2,
2101
+ title: "Barbering",
2102
+ type: "barbering" /* barbering */
2103
+ },
2104
+ {
2105
+ id: 3,
2106
+ title: "Nail Technology",
2107
+ type: "nailTechnology" /* nailTechnology */
2108
+ },
2109
+ {
2110
+ id: 4,
2111
+ title: "Makeup Artistry",
2112
+ type: "makeupArtistry" /* makeupArtistry */
2113
+ },
2114
+ {
2115
+ id: 5,
2116
+ title: "Esthetics",
2117
+ type: "esthetics" /* esthetics */
2118
+ }
2119
+ ],
2120
+ ["culinaryArts" /* CulinaryArts */]: [
2121
+ {
2122
+ id: 1,
2123
+ title: "Cooking Techniques",
2124
+ type: "cookingTechniques" /* cookingTechniques */
2125
+ },
2126
+ {
2127
+ id: 2,
2128
+ title: "Baking",
2129
+ type: "baking" /* baking */
2130
+ },
2131
+ {
2132
+ id: 3,
2133
+ title: "Food Safety",
2134
+ type: "foodSafety" /* foodSafety */
2135
+ },
2136
+ {
2137
+ id: 4,
2138
+ title: "Menu Planning",
2139
+ type: "menuPlanning" /* menuPlanning */
2140
+ },
2141
+ {
2142
+ id: 5,
2143
+ title: "Restaurant Management",
2144
+ type: "restaurantManagement" /* restaurantManagement */
2145
+ }
2146
+ ],
2147
+ ["history" /* History */]: [
2148
+ {
2149
+ id: 1,
2150
+ title: "Research Methods",
2151
+ type: "researchMethods" /* researchMethods */
2152
+ },
2153
+ {
2154
+ id: 2,
2155
+ title: "Analysis of Primary Sources",
2156
+ type: "analysisOfPrimarySources" /* analysisOfPrimarySources */
2157
+ },
2158
+ {
2159
+ id: 3,
2160
+ title: "Chronological Reasoning",
2161
+ type: "chronologicalReasoning" /* chronologicalReasoning */
2162
+ },
2163
+ {
2164
+ id: 4,
2165
+ title: "Comparative History",
2166
+ type: "comparativeHistory" /* comparativeHistory */
2167
+ },
2168
+ {
2169
+ id: 5,
2170
+ title: "Historiography",
2171
+ type: "historiography" /* historiography */
2172
+ }
2173
+ ],
2174
+ ["psychology" /* Psychology */]: [
2175
+ {
2176
+ id: 1,
2177
+ title: "Cognitive Psychology",
2178
+ type: "cognitivePsychology" /* cognitivePsychology */
2179
+ },
2180
+ {
2181
+ id: 2,
2182
+ title: "Developmental Psychology",
2183
+ type: "developmentalPsychology" /* developmentalPsychology */
2184
+ },
2185
+ {
2186
+ id: 3,
2187
+ title: "Social Psychology",
2188
+ type: "socialPsychology" /* socialPsychology */
2189
+ },
2190
+ {
2191
+ id: 4,
2192
+ title: "Experimental Methods",
2193
+ type: "experimentalMethods" /* experimentalMethods */
2194
+ },
2195
+ {
2196
+ id: 5,
2197
+ title: "Clinical Psychology",
2198
+ type: "clinicalPsychology" /* clinicalPsychology */
2199
+ }
2200
+ ],
2201
+ ["sociology" /* Sociology */]: [
2202
+ {
2203
+ id: 1,
2204
+ title: "Social Inequality",
2205
+ type: "socialInequality" /* socialInequality */
2206
+ },
2207
+ {
2208
+ id: 2,
2209
+ title: "Social Institutions",
2210
+ type: "socialInstitutions" /* socialInstitutions */
2211
+ },
2212
+ {
2213
+ id: 3,
2214
+ title: "Research Methods",
2215
+ type: "researchMethods" /* researchMethods */
2216
+ },
2217
+ {
2218
+ id: 4,
2219
+ title: "Social Change",
2220
+ type: "socialChange" /* socialChange */
2221
+ },
2222
+ {
2223
+ id: 5,
2224
+ title: "Social Movements",
2225
+ type: "socialMovements" /* socialMovements */
2226
+ }
2227
+ ],
2228
+ ["economics" /* Economics */]: [
2229
+ {
2230
+ id: 1,
2231
+ title: "Microeconomics",
2232
+ type: "microeconomics" /* microeconomics */
2233
+ },
2234
+ {
2235
+ id: 2,
2236
+ title: "Macroeconomics",
2237
+ type: "macroeconomics" /* macroeconomics */
2238
+ },
2239
+ {
2240
+ id: 3,
2241
+ title: "Econometrics",
2242
+ type: "econometrics" /* econometrics */
2243
+ },
2244
+ {
2245
+ id: 4,
2246
+ title: "Economic Policy",
2247
+ type: "economicPolicy" /* economicPolicy */
2248
+ },
2249
+ {
2250
+ id: 5,
2251
+ title: "International Economics",
2252
+ type: "internationalEconomics" /* internationalEconomics */
2253
+ }
2254
+ ],
2255
+ ["politicalScience" /* PoliticalScience */]: [
2256
+ {
2257
+ id: 1,
2258
+ title: "Government Systems",
2259
+ type: "governmentSystems" /* governmentSystems */
2260
+ },
2261
+ {
2262
+ id: 2,
2263
+ title: "Political Theory",
2264
+ type: "politicalTheory" /* politicalTheory */
2265
+ },
2266
+ {
2267
+ id: 3,
2268
+ title: "International Relations",
2269
+ type: "internationalRelations" /* internationalRelations */
2270
+ },
2271
+ {
2272
+ id: 4,
2273
+ title: "Comparative Politics",
2274
+ type: "comparativePolitics" /* comparativePolitics */
2275
+ },
2276
+ {
2277
+ id: 5,
2278
+ title: "Public Policy",
2279
+ type: "publicPolicy" /* publicPolicy */
2280
+ }
2281
+ ],
2282
+ ["basicComputerSkills" /* BasicComputerSkills */]: [
2283
+ {
2284
+ id: 1,
2285
+ title: "Typing",
2286
+ type: "typing" /* typing */
2287
+ },
2288
+ {
2289
+ id: 2,
2290
+ title: "File Management",
2291
+ type: "fileManagement" /* fileManagement */
2292
+ },
2293
+ {
2294
+ id: 3,
2295
+ title: "Internet Navigation",
2296
+ type: "internetNavigation" /* internetNavigation */
2297
+ },
2298
+ {
2299
+ id: 4,
2300
+ title: "Email",
2301
+ type: "email" /* email */
2302
+ },
2303
+ {
2304
+ id: 5,
2305
+ title: "Word Processing",
2306
+ type: "wordProcessing" /* wordProcessing */
2307
+ }
2308
+ ],
2309
+ ["informationLiteracy" /* InformationLiteracy */]: [
2310
+ {
2311
+ id: 1,
2312
+ title: "Search Engine Proficiency",
2313
+ type: "searchEngineProficiency" /* searchEngineProficiency */
2314
+ },
2315
+ {
2316
+ id: 2,
2317
+ title: "evaluating sources",
2318
+ type: "evaluatingSources" /* evaluatingSources */
2319
+ },
2320
+ {
2321
+ id: 3,
2322
+ title: "Fact Checking",
2323
+ type: "factChecking" /* factChecking */
2324
+ },
2325
+ {
2326
+ id: 4,
2327
+ title: "Critical Media Analysis",
2328
+ type: "criticalMediaAnalysis" /* criticalMediaAnalysis */
2329
+ },
2330
+ {
2331
+ id: 5,
2332
+ title: "Understanding Bias",
2333
+ type: "understandingBias" /* understandingBias */
2334
+ }
2335
+ ],
2336
+ ["softwareProficiency" /* SoftwareProficiency */]: [
2337
+ {
2338
+ id: 1,
2339
+ title: "Productivity Suites",
2340
+ type: "productivitySuites" /* productivitySuites */
2341
+ },
2342
+ {
2343
+ id: 2,
2344
+ title: "Specialized Software",
2345
+ type: "specializedSoftware" /* specializedSoftware */
2346
+ },
2347
+ {
2348
+ id: 3,
2349
+ title: "Design Software",
2350
+ type: "designSoftware" /* designSoftware */
2351
+ },
2352
+ {
2353
+ id: 4,
2354
+ title: "Programming Basics",
2355
+ type: "programmingBasics" /* programmingBasics */
2356
+ },
2357
+ {
2358
+ id: 5,
2359
+ title: "Data Visualization Tools",
2360
+ type: "dataVisualizationTools" /* dataVisualizationTools */
2361
+ }
2362
+ ],
2363
+ ["onlineCommunication" /* OnlineCommunication */]: [
2364
+ {
2365
+ id: 1,
2366
+ title: "Netiquette",
2367
+ type: "netiquette" /* netiquette */
2368
+ },
2369
+ {
2370
+ id: 2,
2371
+ title: "Effective Email and Messaging",
2372
+ type: "effectiveEmailAndMessaging" /* effectiveEmailAndMessaging */
2373
+ },
2374
+ {
2375
+ id: 3,
2376
+ title: "Social Media Platforms",
2377
+ type: "socialMediaPlatforms" /* socialMediaPlatforms */
2378
+ },
2379
+ {
2380
+ id: 4,
2381
+ title: "Video Conferencing",
2382
+ type: "videoConferencing" /* videoConferencing */
2383
+ },
2384
+ {
2385
+ id: 5,
2386
+ title: "Collaboration Tools",
2387
+ type: "collaborationTools" /* collaborationTools */
2388
+ }
2389
+ ],
2390
+ ["cybersecurity" /* Cybersecurity */]: [
2391
+ {
2392
+ id: 1,
2393
+ title: "Password Management",
2394
+ type: "passwordManagement" /* passwordManagement */
2395
+ },
2396
+ {
2397
+ id: 2,
2398
+ title: "Phishing Awareness",
2399
+ type: "phishingAwareness" /* phishingAwareness */
2400
+ },
2401
+ {
2402
+ id: 3,
2403
+ title: "Data Privacy",
2404
+ type: "dataPrivacy" /* dataPrivacy */
2405
+ },
2406
+ {
2407
+ id: 4,
2408
+ title: "Safe Online Practices",
2409
+ type: "safeOnlinePractices" /* safeOnlinePractices */
2410
+ },
2411
+ {
2412
+ id: 5,
2413
+ title: "Protecting Devices",
2414
+ type: "protectingDevices" /* protectingDevices */
2415
+ }
2416
+ ],
2417
+ ["clinicalSkills" /* ClinicalSkills */]: [
2418
+ {
2419
+ id: 1,
2420
+ title: "Patient Assessment",
2421
+ type: "patientAssessment" /* patientAssessment */
2422
+ },
2423
+ {
2424
+ id: 2,
2425
+ title: "Diagnostic Procedures",
2426
+ type: "diagnosticProcedures" /* diagnosticProcedures */
2427
+ },
2428
+ {
2429
+ id: 3,
2430
+ title: "Medication Administration",
2431
+ type: "medicationAdministration" /* medicationAdministration */
2432
+ },
2433
+ {
2434
+ id: 4,
2435
+ title: "Wound Care",
2436
+ type: "woundCare" /* woundCare */
2437
+ },
2438
+ {
2439
+ id: 5,
2440
+ title: "Basic Life Support",
2441
+ type: "basicLifeSupport" /* basicLifeSupport */
2442
+ }
2443
+ ],
2444
+ ["anatomyAndPhysiology" /* AnatomyAndPhysiology */]: [
2445
+ {
2446
+ id: 1,
2447
+ title: "Body Systems",
2448
+ type: "bodySystems" /* bodySystems */
2449
+ },
2450
+ {
2451
+ id: 2,
2452
+ title: "Medical Terminology",
2453
+ type: "medicalTerminology" /* medicalTerminology */
2454
+ },
2455
+ {
2456
+ id: 3,
2457
+ title: "Disease Processes",
2458
+ type: "diseaseProcesses" /* diseaseProcesses */
2459
+ },
2460
+ {
2461
+ id: 4,
2462
+ title: "Pharmacology",
2463
+ type: "pharmacology" /* pharmacology */
2464
+ },
2465
+ {
2466
+ id: 5,
2467
+ title: "Pathophysiology",
2468
+ type: "pathophysiology" /* pathophysiology */
2469
+ }
2470
+ ],
2471
+ ["patientCare" /* PatientCare */]: [
2472
+ {
2473
+ id: 1,
2474
+ title: "Bedside Manner",
2475
+ type: "bedsideManner" /* bedsideManner */
2476
+ },
2477
+ {
2478
+ id: 2,
2479
+ title: "Empathy",
2480
+ type: "empathy" /* empathy */
2481
+ },
2482
+ {
2483
+ id: 3,
2484
+ title: "Communication",
2485
+ type: "communication" /* communication */
2486
+ },
2487
+ {
2488
+ id: 4,
2489
+ title: "Cultural Sensitivity",
2490
+ type: "culturalSensitivity" /* culturalSensitivity */
2491
+ },
2492
+ {
2493
+ id: 5,
2494
+ title: "Ethics",
2495
+ type: "ethics" /* ethics */
2496
+ }
2497
+ ],
2498
+ ["medicalSpecialties" /* MedicalSpecialties */]: [
2499
+ {
2500
+ id: 1,
2501
+ title: "Surgery",
2502
+ type: "surgery" /* surgery */
2503
+ },
2504
+ {
2505
+ id: 2,
2506
+ title: "Emergency Medicine",
2507
+ type: "emergencyMedicine" /* emergencyMedicine */
2508
+ },
2509
+ {
2510
+ id: 3,
2511
+ title: "Pediatrics",
2512
+ type: "pediatrics" /* pediatrics */
2513
+ },
2514
+ {
2515
+ id: 4,
2516
+ title: "Radiology",
2517
+ type: "radiology" /* radiology */
2518
+ },
2519
+ {
2520
+ id: 5,
2521
+ title: "Diagnostic Reasoning",
2522
+ type: "diagnosticReasoning" /* diagnosticReasoning */
2523
+ },
2524
+ {
2525
+ id: 6,
2526
+ title: "Treatment Planning",
2527
+ type: "treatmentPlanning" /* treatmentPlanning */
2528
+ },
2529
+ {
2530
+ id: 7,
2531
+ title: "Interdisciplinary Collaboration",
2532
+ type: "interdisciplinaryCollaboration" /* interdisciplinaryCollaboration */
2533
+ }
2534
+ ],
2535
+ ["healthcareAdministration" /* HealthcareAdministration */]: [
2536
+ {
2537
+ id: 1,
2538
+ title: "Insurance and Billing",
2539
+ type: "insuranceAndBilling" /* insuranceAndBilling */
2540
+ },
2541
+ {
2542
+ id: 2,
2543
+ title: "Medical Records",
2544
+ type: "medicalRecords" /* medicalRecords */
2545
+ },
2546
+ {
2547
+ id: 3,
2548
+ title: "Patient Scheduling",
2549
+ type: "patientScheduling" /* patientScheduling */
2550
+ },
2551
+ {
2552
+ id: 4,
2553
+ title: "Regulatory Compliance",
2554
+ type: "regulatoryCompliance" /* regulatoryCompliance */
2555
+ },
2556
+ {
2557
+ id: 5,
2558
+ title: "Facility Management",
2559
+ type: "facilityManagement" /* facilityManagement */
2560
+ }
2561
+ ]
2562
+ };
2563
+
2564
+ const TopLevelSkill = ({ skillSelected, skill, handleExpandSubSkills }) => {
2565
+ var _a, _b;
2566
+ const { title, IconComponent, type, category } = skill;
2567
+ const _category = boostCMSSKillCategories.find((c) => c.type === category);
2568
+ const subSkills = (_a = skillSelected.subskills) != null ? _a : [];
2569
+ const subSkillsCount = (_b = skillSelected.subskills.length) != null ? _b : 0;
2570
+ return /* @__PURE__ */ React__default["default"].createElement("div", {
2571
+ className: `flex items-center justify-between w-full mb-4 bg-violet-100 rounded-[20px]`
2572
+ }, /* @__PURE__ */ React__default["default"].createElement("div", {
2573
+ className: "flex items-center justify-start w-[80%] px-[6px] py-[10px] overflow-hidden"
2574
+ }, /* @__PURE__ */ React__default["default"].createElement("div", {
2575
+ className: "rounded-full h-[50px] w-[50px]"
2576
+ }, /* @__PURE__ */ React__default["default"].createElement("img", {
2577
+ src: IconComponent,
2578
+ alt: "skill icon",
2579
+ className: "w-full h-full"
2580
+ })), /* @__PURE__ */ React__default["default"].createElement("div", {
2581
+ className: "flex flex-col items-start justify-center ml-2"
2582
+ }, /* @__PURE__ */ React__default["default"].createElement("p", {
2583
+ className: "font-poppins text-left text-violet-800 font-semibold text-xs"
2584
+ }, _category == null ? void 0 : _category.title), /* @__PURE__ */ React__default["default"].createElement("p", {
2585
+ className: "text-black font-poppins text-left text-base font-normal"
2586
+ }, title))), (subSkills == null ? void 0 : subSkills.length) > 0 && /* @__PURE__ */ React__default["default"].createElement("div", {
2587
+ className: "flex items-center justify-center rounded-full bg-white mr-4 h-[40px] w-[40px]"
2588
+ }, /* @__PURE__ */ React__default["default"].createElement("button", {
2589
+ onClick: () => {
2590
+ handleExpandSubSkills == null ? void 0 : handleExpandSubSkills();
2591
+ },
2592
+ className: "text-black font-bold flex items-center justify-center text-center font-poppins"
2593
+ }, "+", subSkillsCount)));
2594
+ };
2595
+
2596
+ const Subskill = ({ subskillSelected, skill, subSkill }) => {
2597
+ const { title, IconComponent, type, category } = skill;
2598
+ const _category = boostCMSSKillCategories.find((c) => c.type === category);
2599
+ return /* @__PURE__ */ React__default["default"].createElement("div", {
2600
+ className: "flex items-center justify-between w-full mb-4 bg-violet-100 rounded-[20px]"
2601
+ }, /* @__PURE__ */ React__default["default"].createElement("div", {
2602
+ className: "flex items-center justify-start w-[80%] px-[6px] py-[10px] overflow-hidden"
2603
+ }, /* @__PURE__ */ React__default["default"].createElement("div", {
2604
+ className: "rounded-full h-[50px] w-[50px]"
2605
+ }, /* @__PURE__ */ React__default["default"].createElement("img", {
2606
+ src: IconComponent,
2607
+ alt: "skill icon",
2608
+ className: "w-full h-full"
2609
+ })), /* @__PURE__ */ React__default["default"].createElement("div", {
2610
+ className: "flex flex-col items-start justify-center ml-2"
2611
+ }, /* @__PURE__ */ React__default["default"].createElement("p", {
2612
+ className: "font-poppins text-left text-violet-800 font-semibold text-xs"
2613
+ }, _category == null ? void 0 : _category.title, " / ", skill == null ? void 0 : skill.title), /* @__PURE__ */ React__default["default"].createElement("p", {
2614
+ className: "text-black font-poppins text-left text-base font-normal"
2615
+ }, subSkill == null ? void 0 : subSkill.title))));
2616
+ };
2617
+
2618
+ const SelectedSkills = ({ skill, skillSelected }) => {
2619
+ const [expandSubSkills, setExandSubSkills] = React.useState(false);
2620
+ const handleExpandSubSkills = () => setExandSubSkills(!expandSubSkills);
2621
+ return /* @__PURE__ */ React__default["default"].createElement(React__default["default"].Fragment, null, /* @__PURE__ */ React__default["default"].createElement(TopLevelSkill, {
2622
+ skill,
2623
+ skillSelected,
2624
+ handleExpandSubSkills
2625
+ }), skillSelected && skillSelected.subskills.length > 0 && expandSubSkills && /* @__PURE__ */ React__default["default"].createElement("div", {
2626
+ className: "w-full flex items-center justify-end"
2627
+ }, /* @__PURE__ */ React__default["default"].createElement("div", {
2628
+ className: "w-[90%] flex items-center flex-col"
2629
+ }, skillSelected.subskills.map((subSkill, i) => {
2630
+ var _a;
2631
+ const subskillSelected = (_a = skillSelected == null ? void 0 : skillSelected.subskills) == null ? void 0 : _a.includes(subSkill);
2632
+ const _subSkill = SKILLS_TO_SUBSKILLS[skill.type].find((ss) => ss.type === subSkill);
2633
+ return /* @__PURE__ */ React__default["default"].createElement(Subskill, {
2634
+ key: i,
2635
+ skill,
2636
+ subSkill: _subSkill,
2637
+ subskillSelected
2638
+ });
2639
+ }))));
2640
+ };
2641
+
2642
+ const SkillsBox = ({ skills }) => {
2643
+ return /* @__PURE__ */ React__default["default"].createElement("div", {
2644
+ className: "bg-white flex flex-col items-start gap-[10px] rounded-[20px] shadow-bottom px-[15px] py-[20px] w-full relative"
2645
+ }, /* @__PURE__ */ React__default["default"].createElement("div", {
2646
+ className: "flex items-center justify-start"
2647
+ }, /* @__PURE__ */ React__default["default"].createElement("div", {
2648
+ className: "bg-violet-500 rounded-full flex items-center justify-center ml-2 h-[30px] w-[30px] p-1"
2649
+ }, /* @__PURE__ */ React__default["default"].createElement(types.PuzzlePiece, {
2650
+ className: "text-white",
2651
+ fill: "#fff"
2652
+ })), " ", /* @__PURE__ */ React__default["default"].createElement("h3", {
2653
+ className: "text-[20px] leading-[20px] text-grayscale-900 ml-2"
2654
+ }, "Skills")), skills.length > 0 && /* @__PURE__ */ React__default["default"].createElement("div", {
2655
+ className: "ion-padding pt-0 pb-4 flex items-center justify-center flex-col w-full"
2656
+ }, skills.map((_skill, index) => {
2657
+ boostCMSSKillCategories.find((c) => c.type === _skill.category);
2658
+ const skill = CATEGORY_TO_SKILLS[_skill.category].find((s) => s.type === _skill.skill);
2659
+ SKILLS_TO_SUBSKILLS[_skill.skill];
2660
+ const selectedSkills = skills != null ? skills : [];
2661
+ const skillSelected = selectedSkills.find((s) => s.skill === skill.type);
2662
+ return /* @__PURE__ */ React__default["default"].createElement(SelectedSkills, {
2663
+ key: index,
2664
+ skill,
2665
+ skillSelected
2666
+ });
2667
+ })));
2668
+ };
2669
+
813
2670
  const CertificateBackFace = ({
814
2671
  credential,
815
2672
  categoryType,
816
2673
  verificationItems,
2674
+ customSkillsComponent,
817
2675
  getFileMetadata,
818
2676
  getVideoMetadata,
819
2677
  onMediaAttachmentClick,
820
2678
  enableLightbox
821
2679
  }) => {
822
- var _a, _b, _c;
2680
+ var _a, _b, _c, _d, _e, _f;
823
2681
  const { createdAt, credentialSubject } = credential_helpers.getInfoFromCredential(credential, "MMM dd, yyyy", {
824
2682
  uppercaseDate: false
825
2683
  });
@@ -844,7 +2702,9 @@ const CertificateBackFace = ({
844
2702
  }, "Awarded on ", createdAt)), criteria && /* @__PURE__ */ React__default["default"].createElement(TruncateTextBox, {
845
2703
  headerText: "Criteria",
846
2704
  text: criteria
847
- }), credential.attachments && credential.attachments.length > 0 && /* @__PURE__ */ React__default["default"].createElement(MediaAttachmentsBox, {
2705
+ }), ((_e = (_d = credential.skills) == null ? void 0 : _d.length) != null ? _e : 0) > 0 && (customSkillsComponent ? customSkillsComponent : /* @__PURE__ */ React__default["default"].createElement(SkillsBox, {
2706
+ skills: (_f = credential.skills) != null ? _f : []
2707
+ })), credential.attachments && credential.attachments.length > 0 && /* @__PURE__ */ React__default["default"].createElement(MediaAttachmentsBox, {
848
2708
  attachments: credential.attachments,
849
2709
  getFileMetadata,
850
2710
  getVideoMetadata,
@@ -954,13 +2814,14 @@ const CertificateProfileImageDisplay = ({
954
2814
  }));
955
2815
  };
956
2816
 
957
- const VCDisplayCardSkillsCount = ({ skills }) => {
2817
+ const VCDisplayCardSkillsCount = ({ skills, onClick }) => {
958
2818
  const skillsCount = credential_helpers.getTotalCountOfSkills(skills);
959
2819
  if (skillsCount === 0)
960
2820
  return /* @__PURE__ */ React__default["default"].createElement(React__default["default"].Fragment, null);
961
2821
  const text = skillsCount === 1 ? "Skill" : "Skills";
962
2822
  return /* @__PURE__ */ React__default["default"].createElement("div", {
963
- className: "flex items-center justify-center mt-8"
2823
+ className: "flex items-center justify-center mt-8 cursor-pointer",
2824
+ onClick
964
2825
  }, /* @__PURE__ */ React__default["default"].createElement("p", {
965
2826
  className: "text-violet-500 text-xl flex items-center justify-center tracking-[0.75px] font-poppins font-semibold"
966
2827
  }, "+", skillsCount, " ", text, " ", /* @__PURE__ */ React__default["default"].createElement("div", {
@@ -986,7 +2847,8 @@ const CertificateFrontFace = ({
986
2847
  subjectImageComponent,
987
2848
  issuerImageComponent,
988
2849
  customBodyCardComponent,
989
- hideIssueDate
2850
+ hideIssueDate,
2851
+ handleViewBackFace
990
2852
  }) => {
991
2853
  var _a, _b;
992
2854
  const {
@@ -1074,7 +2936,8 @@ const CertificateFrontFace = ({
1074
2936
  }, description && /* @__PURE__ */ React__default["default"].createElement("div", {
1075
2937
  className: "text-center text-grayscale-700 text-[12px] font-jacques line-clamp-4"
1076
2938
  }, description), /* @__PURE__ */ React__default["default"].createElement(VCDisplayCardSkillsCount, {
1077
- skills: (_b = credential == null ? void 0 : credential.skills) != null ? _b : []
2939
+ skills: (_b = credential == null ? void 0 : credential.skills) != null ? _b : [],
2940
+ onClick: handleViewBackFace
1078
2941
  })), /* @__PURE__ */ React__default["default"].createElement("div", {
1079
2942
  className: "flex flex-col gap-[5px] items-center w-full"
1080
2943
  }, /* @__PURE__ */ React__default["default"].createElement("span", {
@@ -1122,6 +2985,7 @@ const CertificateDisplayCard = ({
1122
2985
  customBodyCardComponent,
1123
2986
  trustedAppRegistry,
1124
2987
  hideIssueDate,
2988
+ customSkillsComponent,
1125
2989
  getFileMetadata,
1126
2990
  getVideoMetadata,
1127
2991
  onMediaAttachmentClick,
@@ -1141,7 +3005,8 @@ const CertificateDisplayCard = ({
1141
3005
  subjectImageComponent,
1142
3006
  issuerImageComponent,
1143
3007
  customBodyCardComponent,
1144
- hideIssueDate
3008
+ hideIssueDate,
3009
+ handleViewBackFace: () => setIsFront(!isFront)
1145
3010
  }), !isFront && /* @__PURE__ */ React__default["default"].createElement(CertificateBackFace, {
1146
3011
  credential,
1147
3012
  categoryType,
@@ -1182,6 +3047,8 @@ exports.ExclamationPoint = ExclamationPoint;
1182
3047
  exports.GenericDocumentIcon = GenericDocumentIcon;
1183
3048
  exports.InfoIcon = InfoIcon;
1184
3049
  exports.LinkIcon = LinkIcon;
3050
+ exports.SelectedSkills = SelectedSkills;
3051
+ exports.SkillsBox = SkillsBox;
1185
3052
  exports.VCDisplayCardSkillsCount = VCDisplayCardSkillsCount;
1186
3053
  exports.VideoIcon = VideoIcon;
1187
3054
  exports.X = X;
@@ -1189,4 +3056,4 @@ exports.capitalize = capitalize;
1189
3056
  exports.getBaseUrl = getBaseUrl;
1190
3057
  exports.prettyBytes = prettyBytes;
1191
3058
  exports.truncateWithEllipsis = truncateWithEllipsis;
1192
- //# sourceMappingURL=CertificateDisplayCard-405573a7.js.map
3059
+ //# sourceMappingURL=CertificateDisplayCard-d93af598.js.map