genesys-cloud-client-auth 0.0.2-build.37 → 1.0.0-develop.3

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 (359) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/LICENSE +2 -2
  3. package/README.md +4 -2
  4. package/dist/asset-manifest.json +192 -163
  5. package/dist/deploy-info.json +22 -0
  6. package/dist/genesys-cloud-client-auth.browser.min.js +1 -1
  7. package/dist/index.html +1 -1
  8. package/dist/lib/cjs/version.js +1 -1
  9. package/dist/lib/es/version.js +1 -1
  10. package/dist/manifest.json +20 -0
  11. package/dist/static/css/main.045d96b0.css +2 -0
  12. package/dist/static/css/main.045d96b0.css.map +1 -0
  13. package/dist/static/js/1089.fb722233.chunk.js +2 -0
  14. package/dist/static/js/1089.fb722233.chunk.js.map +1 -0
  15. package/dist/static/js/1158.76a41325.chunk.js +2 -0
  16. package/dist/static/js/1158.76a41325.chunk.js.map +1 -0
  17. package/dist/static/js/1166.1486fbcd.chunk.js +2 -0
  18. package/dist/static/js/1166.1486fbcd.chunk.js.map +1 -0
  19. package/dist/static/js/131.3f61f67c.chunk.js +2 -0
  20. package/dist/static/js/131.3f61f67c.chunk.js.map +1 -0
  21. package/dist/static/js/1344.19a70535.chunk.js +2 -0
  22. package/dist/static/js/1344.19a70535.chunk.js.map +1 -0
  23. package/dist/static/js/1433.d57f6003.chunk.js +2 -0
  24. package/dist/static/js/1433.d57f6003.chunk.js.map +1 -0
  25. package/dist/static/js/1498.98292821.chunk.js +2 -0
  26. package/dist/static/js/1498.98292821.chunk.js.map +1 -0
  27. package/dist/static/js/1507.84125ab7.chunk.js +2 -0
  28. package/dist/static/js/1507.84125ab7.chunk.js.map +1 -0
  29. package/dist/static/js/1544.fcbc0609.chunk.js +2 -0
  30. package/dist/static/js/1544.fcbc0609.chunk.js.map +1 -0
  31. package/dist/static/js/1642.13e001a0.chunk.js +2 -0
  32. package/dist/static/js/1642.13e001a0.chunk.js.map +1 -0
  33. package/dist/static/js/1697.c1eba654.chunk.js +2 -0
  34. package/dist/static/js/1697.c1eba654.chunk.js.map +1 -0
  35. package/dist/static/js/1718.d222d0d2.chunk.js +2 -0
  36. package/dist/static/js/1718.d222d0d2.chunk.js.map +1 -0
  37. package/dist/static/js/1978.b9b0b630.chunk.js +2 -0
  38. package/dist/static/js/1978.b9b0b630.chunk.js.map +1 -0
  39. package/dist/static/js/2131.e90e6224.chunk.js +2 -0
  40. package/dist/static/js/2131.e90e6224.chunk.js.map +1 -0
  41. package/dist/static/js/2291.98b84fa5.chunk.js +2 -0
  42. package/dist/static/js/2291.98b84fa5.chunk.js.map +1 -0
  43. package/dist/static/js/2361.28c72454.chunk.js +2 -0
  44. package/dist/static/js/2361.28c72454.chunk.js.map +1 -0
  45. package/dist/static/js/2609.69b7ee3f.chunk.js +2 -0
  46. package/dist/static/js/2609.69b7ee3f.chunk.js.map +1 -0
  47. package/dist/static/js/2618.08776cf8.chunk.js +2 -0
  48. package/dist/static/js/2618.08776cf8.chunk.js.map +1 -0
  49. package/dist/static/js/2657.08f5fe94.chunk.js +2 -0
  50. package/dist/static/js/2657.08f5fe94.chunk.js.map +1 -0
  51. package/dist/static/js/2939.a53af515.chunk.js +2 -0
  52. package/dist/static/js/2939.a53af515.chunk.js.map +1 -0
  53. package/dist/static/js/2959.b68475ee.chunk.js +2 -0
  54. package/dist/static/js/2959.b68475ee.chunk.js.map +1 -0
  55. package/dist/static/js/3183.0483907e.chunk.js +2 -0
  56. package/dist/static/js/3183.0483907e.chunk.js.map +1 -0
  57. package/dist/static/js/3184.b5c03e4a.chunk.js +2 -0
  58. package/dist/static/js/3184.b5c03e4a.chunk.js.map +1 -0
  59. package/dist/static/js/3326.58fe8ed8.chunk.js +2 -0
  60. package/dist/static/js/3326.58fe8ed8.chunk.js.map +1 -0
  61. package/dist/static/js/3431.330e6907.chunk.js +2 -0
  62. package/dist/static/js/3431.330e6907.chunk.js.map +1 -0
  63. package/dist/static/js/3466.d53f9938.chunk.js +2 -0
  64. package/dist/static/js/3466.d53f9938.chunk.js.map +1 -0
  65. package/dist/static/js/3534.ee2022f0.chunk.js +2 -0
  66. package/dist/static/js/3534.ee2022f0.chunk.js.map +1 -0
  67. package/dist/static/js/3649.47036a0d.chunk.js +2 -0
  68. package/dist/static/js/3649.47036a0d.chunk.js.map +1 -0
  69. package/dist/static/js/3821.dbe9ef88.chunk.js +2 -0
  70. package/dist/static/js/3821.dbe9ef88.chunk.js.map +1 -0
  71. package/dist/static/js/3982.1668cd90.chunk.js +2 -0
  72. package/dist/static/js/3982.1668cd90.chunk.js.map +1 -0
  73. package/dist/static/js/4173.64f75901.chunk.js +2 -0
  74. package/dist/static/js/4173.64f75901.chunk.js.map +1 -0
  75. package/dist/static/js/4192.35098ff0.chunk.js +2 -0
  76. package/dist/static/js/4192.35098ff0.chunk.js.map +1 -0
  77. package/dist/static/js/4202.6a101f57.chunk.js +2 -0
  78. package/dist/static/js/4202.6a101f57.chunk.js.map +1 -0
  79. package/dist/static/js/4242.625e5aa9.chunk.js +2 -0
  80. package/dist/static/js/4242.625e5aa9.chunk.js.map +1 -0
  81. package/dist/static/js/4248.d69f59fd.chunk.js +2 -0
  82. package/dist/static/js/4248.d69f59fd.chunk.js.map +1 -0
  83. package/dist/static/js/4618.2b652181.chunk.js +2 -0
  84. package/dist/static/js/4618.2b652181.chunk.js.map +1 -0
  85. package/dist/static/js/4774.03877b96.chunk.js +2 -0
  86. package/dist/static/js/4774.03877b96.chunk.js.map +1 -0
  87. package/dist/static/js/4777.07210d5d.chunk.js +2 -0
  88. package/dist/static/js/4777.07210d5d.chunk.js.map +1 -0
  89. package/dist/static/js/4826.f3719274.chunk.js +2 -0
  90. package/dist/static/js/4826.f3719274.chunk.js.map +1 -0
  91. package/dist/static/js/501.3f46836b.chunk.js +2 -0
  92. package/dist/static/js/501.3f46836b.chunk.js.map +1 -0
  93. package/dist/static/js/5122.046ab4b7.chunk.js +2 -0
  94. package/dist/static/js/5122.046ab4b7.chunk.js.map +1 -0
  95. package/dist/static/js/5160.465b3a5d.chunk.js +2 -0
  96. package/dist/static/js/5160.465b3a5d.chunk.js.map +1 -0
  97. package/dist/static/js/546.40835589.chunk.js +2 -0
  98. package/dist/static/js/546.40835589.chunk.js.map +1 -0
  99. package/dist/static/js/5503.cc3b1fda.chunk.js +2 -0
  100. package/dist/static/js/5503.cc3b1fda.chunk.js.map +1 -0
  101. package/dist/static/js/5572.565c5d80.chunk.js +2 -0
  102. package/dist/static/js/5572.565c5d80.chunk.js.map +1 -0
  103. package/dist/static/js/599.a5cb72b5.chunk.js +2 -0
  104. package/dist/static/js/599.a5cb72b5.chunk.js.map +1 -0
  105. package/dist/static/js/6033.174d7635.chunk.js +2 -0
  106. package/dist/static/js/6033.174d7635.chunk.js.map +1 -0
  107. package/dist/static/js/6069.5c81dae7.chunk.js +2 -0
  108. package/dist/static/js/6069.5c81dae7.chunk.js.map +1 -0
  109. package/dist/static/js/6151.c5cf5a85.chunk.js +2 -0
  110. package/dist/static/js/6151.c5cf5a85.chunk.js.map +1 -0
  111. package/dist/static/js/6237.a9b576a4.chunk.js +2 -0
  112. package/dist/static/js/6237.a9b576a4.chunk.js.map +1 -0
  113. package/dist/static/js/6326.156b4248.chunk.js +2 -0
  114. package/dist/static/js/6326.156b4248.chunk.js.map +1 -0
  115. package/dist/static/js/6474.03947fd7.chunk.js +2 -0
  116. package/dist/static/js/6474.03947fd7.chunk.js.map +1 -0
  117. package/dist/static/js/6571.301eecac.chunk.js +2 -0
  118. package/dist/static/js/6571.301eecac.chunk.js.map +1 -0
  119. package/dist/static/js/6632.0676b230.chunk.js +2 -0
  120. package/dist/static/js/6632.0676b230.chunk.js.map +1 -0
  121. package/dist/static/js/6769.fcdb896c.chunk.js +2 -0
  122. package/dist/static/js/6769.fcdb896c.chunk.js.map +1 -0
  123. package/dist/static/js/6982.60585ab3.chunk.js +2 -0
  124. package/dist/static/js/6982.60585ab3.chunk.js.map +1 -0
  125. package/dist/static/js/7076.37939eb2.chunk.js +2 -0
  126. package/dist/static/js/7076.37939eb2.chunk.js.map +1 -0
  127. package/dist/static/js/7120.0b0ef311.chunk.js +3 -0
  128. package/dist/static/js/{20.2be3997f.chunk.js.LICENSE.txt → 7120.0b0ef311.chunk.js.LICENSE.txt} +1 -1
  129. package/dist/static/js/7120.0b0ef311.chunk.js.map +1 -0
  130. package/dist/static/js/7150.840301cb.chunk.js +2 -0
  131. package/dist/static/js/7150.840301cb.chunk.js.map +1 -0
  132. package/dist/static/js/7153.250bf93b.chunk.js +2 -0
  133. package/dist/static/js/7153.250bf93b.chunk.js.map +1 -0
  134. package/dist/static/js/7307.8656856b.chunk.js +2 -0
  135. package/dist/static/js/7307.8656856b.chunk.js.map +1 -0
  136. package/dist/static/js/742.64af67d8.chunk.js +2 -0
  137. package/dist/static/js/742.64af67d8.chunk.js.map +1 -0
  138. package/dist/static/js/754.b1c84197.chunk.js +2 -0
  139. package/dist/static/js/754.b1c84197.chunk.js.map +1 -0
  140. package/dist/static/js/7610.97a0a5b5.chunk.js +2 -0
  141. package/dist/static/js/7610.97a0a5b5.chunk.js.map +1 -0
  142. package/dist/static/js/765.2a78cffe.chunk.js +2 -0
  143. package/dist/static/js/765.2a78cffe.chunk.js.map +1 -0
  144. package/dist/static/js/7803.bfe8c40f.chunk.js +2 -0
  145. package/dist/static/js/7803.bfe8c40f.chunk.js.map +1 -0
  146. package/dist/static/js/7895.629e8650.chunk.js +2 -0
  147. package/dist/static/js/7895.629e8650.chunk.js.map +1 -0
  148. package/dist/static/js/8025.ecb1d6bc.chunk.js +2 -0
  149. package/dist/static/js/8025.ecb1d6bc.chunk.js.map +1 -0
  150. package/dist/static/js/8086.ef9f2d3b.chunk.js +2 -0
  151. package/dist/static/js/8086.ef9f2d3b.chunk.js.map +1 -0
  152. package/dist/static/js/8105.46b996bf.chunk.js +2 -0
  153. package/dist/static/js/8105.46b996bf.chunk.js.map +1 -0
  154. package/dist/static/js/819.a55f578b.chunk.js +2 -0
  155. package/dist/static/js/819.a55f578b.chunk.js.map +1 -0
  156. package/dist/static/js/8300.e15dbcd8.chunk.js +2 -0
  157. package/dist/static/js/8300.e15dbcd8.chunk.js.map +1 -0
  158. package/dist/static/js/8324.b769efff.chunk.js +2 -0
  159. package/dist/static/js/8324.b769efff.chunk.js.map +1 -0
  160. package/dist/static/js/8366.b2c2daee.chunk.js +2 -0
  161. package/dist/static/js/8366.b2c2daee.chunk.js.map +1 -0
  162. package/dist/static/js/8524.95396ee8.chunk.js +2 -0
  163. package/dist/static/js/8524.95396ee8.chunk.js.map +1 -0
  164. package/dist/static/js/8644.c87452a5.chunk.js +2 -0
  165. package/dist/static/js/8644.c87452a5.chunk.js.map +1 -0
  166. package/dist/static/js/8674.d4aa33fd.chunk.js +2 -0
  167. package/dist/static/js/8674.d4aa33fd.chunk.js.map +1 -0
  168. package/dist/static/js/8717.76b643a4.chunk.js +2 -0
  169. package/dist/static/js/8717.76b643a4.chunk.js.map +1 -0
  170. package/dist/static/js/872.5c96c93a.chunk.js +2 -0
  171. package/dist/static/js/872.5c96c93a.chunk.js.map +1 -0
  172. package/dist/static/js/8762.d3fad692.chunk.js +2 -0
  173. package/dist/static/js/8762.d3fad692.chunk.js.map +1 -0
  174. package/dist/static/js/8782.af6b6665.chunk.js +3 -0
  175. package/dist/static/js/{0.71c0b4a8.chunk.js.LICENSE.txt → 8782.af6b6665.chunk.js.LICENSE.txt} +0 -0
  176. package/dist/static/js/8782.af6b6665.chunk.js.map +1 -0
  177. package/dist/static/js/894.a8fe019e.chunk.js +2 -0
  178. package/dist/static/js/894.a8fe019e.chunk.js.map +1 -0
  179. package/dist/static/js/9057.702da8f9.chunk.js +2 -0
  180. package/dist/static/js/9057.702da8f9.chunk.js.map +1 -0
  181. package/dist/static/js/9090.60a5cb5b.chunk.js +2 -0
  182. package/dist/static/js/9090.60a5cb5b.chunk.js.map +1 -0
  183. package/dist/static/js/9117.200d2100.chunk.js +2 -0
  184. package/dist/static/js/9117.200d2100.chunk.js.map +1 -0
  185. package/dist/static/js/9131.d5d0ab82.chunk.js +2 -0
  186. package/dist/static/js/9131.d5d0ab82.chunk.js.map +1 -0
  187. package/dist/static/js/9296.e374c7dc.chunk.js +2 -0
  188. package/dist/static/js/9296.e374c7dc.chunk.js.map +1 -0
  189. package/dist/static/js/932.4f62c387.chunk.js +2 -0
  190. package/dist/static/js/932.4f62c387.chunk.js.map +1 -0
  191. package/dist/static/js/9584.967e5482.chunk.js +2 -0
  192. package/dist/static/js/9584.967e5482.chunk.js.map +1 -0
  193. package/dist/static/js/9679.87a204b1.chunk.js +2 -0
  194. package/dist/static/js/9679.87a204b1.chunk.js.map +1 -0
  195. package/dist/static/js/9745.63a6678a.chunk.js +2 -0
  196. package/dist/static/js/9745.63a6678a.chunk.js.map +1 -0
  197. package/dist/static/js/9750.1310ef55.chunk.js +2 -0
  198. package/dist/static/js/9750.1310ef55.chunk.js.map +1 -0
  199. package/dist/static/js/main.fd57b2ac.js +3 -0
  200. package/dist/static/js/{5.8b318946.chunk.js.LICENSE.txt → main.fd57b2ac.js.LICENSE.txt} +2 -0
  201. package/dist/static/js/main.fd57b2ac.js.map +1 -0
  202. package/dist/static/media/{getFetch.582d29c4.cjs → getFetch.c780682470504fffbd04.cjs} +0 -0
  203. package/dist/v1/genesys-cloud-client-auth.browser.min.js +2 -0
  204. package/dist/v1.0.0/genesys-cloud-client-auth.browser.min.js +2 -0
  205. package/package.json +73 -71
  206. package/dist/static/css/main.3508dc5f.chunk.css +0 -2
  207. package/dist/static/css/main.3508dc5f.chunk.css.map +0 -1
  208. package/dist/static/js/0.71c0b4a8.chunk.js +0 -3
  209. package/dist/static/js/0.71c0b4a8.chunk.js.map +0 -1
  210. package/dist/static/js/1.8399f811.chunk.js +0 -2
  211. package/dist/static/js/1.8399f811.chunk.js.map +0 -1
  212. package/dist/static/js/10.8fb6019a.chunk.js +0 -2
  213. package/dist/static/js/10.8fb6019a.chunk.js.map +0 -1
  214. package/dist/static/js/11.aa22b687.chunk.js +0 -2
  215. package/dist/static/js/11.aa22b687.chunk.js.map +0 -1
  216. package/dist/static/js/12.586642ff.chunk.js +0 -2
  217. package/dist/static/js/12.586642ff.chunk.js.map +0 -1
  218. package/dist/static/js/13.c0c5fd67.chunk.js +0 -2
  219. package/dist/static/js/13.c0c5fd67.chunk.js.map +0 -1
  220. package/dist/static/js/14.c3e0d008.chunk.js +0 -2
  221. package/dist/static/js/14.c3e0d008.chunk.js.map +0 -1
  222. package/dist/static/js/15.20587752.chunk.js +0 -2
  223. package/dist/static/js/15.20587752.chunk.js.map +0 -1
  224. package/dist/static/js/16.c19b0b1c.chunk.js +0 -2
  225. package/dist/static/js/16.c19b0b1c.chunk.js.map +0 -1
  226. package/dist/static/js/17.06cd7ac8.chunk.js +0 -2
  227. package/dist/static/js/17.06cd7ac8.chunk.js.map +0 -1
  228. package/dist/static/js/18.e02b6cd8.chunk.js +0 -2
  229. package/dist/static/js/18.e02b6cd8.chunk.js.map +0 -1
  230. package/dist/static/js/19.2d45340c.chunk.js +0 -2
  231. package/dist/static/js/19.2d45340c.chunk.js.map +0 -1
  232. package/dist/static/js/20.2be3997f.chunk.js +0 -3
  233. package/dist/static/js/20.2be3997f.chunk.js.map +0 -1
  234. package/dist/static/js/21.90337a55.chunk.js +0 -2
  235. package/dist/static/js/21.90337a55.chunk.js.map +0 -1
  236. package/dist/static/js/22.0c42f6ee.chunk.js +0 -2
  237. package/dist/static/js/22.0c42f6ee.chunk.js.map +0 -1
  238. package/dist/static/js/23.96d71d61.chunk.js +0 -3
  239. package/dist/static/js/23.96d71d61.chunk.js.LICENSE.txt +0 -17
  240. package/dist/static/js/23.96d71d61.chunk.js.map +0 -1
  241. package/dist/static/js/24.c8a6aef1.chunk.js +0 -2
  242. package/dist/static/js/24.c8a6aef1.chunk.js.map +0 -1
  243. package/dist/static/js/25.1549af44.chunk.js +0 -2
  244. package/dist/static/js/25.1549af44.chunk.js.map +0 -1
  245. package/dist/static/js/26.f5920959.chunk.js +0 -2
  246. package/dist/static/js/26.f5920959.chunk.js.map +0 -1
  247. package/dist/static/js/27.4c4b5337.chunk.js +0 -2
  248. package/dist/static/js/27.4c4b5337.chunk.js.map +0 -1
  249. package/dist/static/js/28.e4ae1c5b.chunk.js +0 -2
  250. package/dist/static/js/28.e4ae1c5b.chunk.js.map +0 -1
  251. package/dist/static/js/29.c8bcd088.chunk.js +0 -2
  252. package/dist/static/js/29.c8bcd088.chunk.js.map +0 -1
  253. package/dist/static/js/30.3f776fe2.chunk.js +0 -2
  254. package/dist/static/js/30.3f776fe2.chunk.js.map +0 -1
  255. package/dist/static/js/31.295a0045.chunk.js +0 -2
  256. package/dist/static/js/31.295a0045.chunk.js.map +0 -1
  257. package/dist/static/js/32.c6495395.chunk.js +0 -2
  258. package/dist/static/js/32.c6495395.chunk.js.map +0 -1
  259. package/dist/static/js/33.bc3f2778.chunk.js +0 -2
  260. package/dist/static/js/33.bc3f2778.chunk.js.map +0 -1
  261. package/dist/static/js/34.9c6f42a2.chunk.js +0 -2
  262. package/dist/static/js/34.9c6f42a2.chunk.js.map +0 -1
  263. package/dist/static/js/35.080ac296.chunk.js +0 -2
  264. package/dist/static/js/35.080ac296.chunk.js.map +0 -1
  265. package/dist/static/js/36.30926ca6.chunk.js +0 -2
  266. package/dist/static/js/36.30926ca6.chunk.js.map +0 -1
  267. package/dist/static/js/37.535e0baf.chunk.js +0 -2
  268. package/dist/static/js/37.535e0baf.chunk.js.map +0 -1
  269. package/dist/static/js/38.c6142d9d.chunk.js +0 -2
  270. package/dist/static/js/38.c6142d9d.chunk.js.map +0 -1
  271. package/dist/static/js/39.4e5e9e70.chunk.js +0 -2
  272. package/dist/static/js/39.4e5e9e70.chunk.js.map +0 -1
  273. package/dist/static/js/40.67f8a4cc.chunk.js +0 -2
  274. package/dist/static/js/40.67f8a4cc.chunk.js.map +0 -1
  275. package/dist/static/js/41.8dc69989.chunk.js +0 -2
  276. package/dist/static/js/41.8dc69989.chunk.js.map +0 -1
  277. package/dist/static/js/42.a8312848.chunk.js +0 -2
  278. package/dist/static/js/42.a8312848.chunk.js.map +0 -1
  279. package/dist/static/js/43.ce512d00.chunk.js +0 -2
  280. package/dist/static/js/43.ce512d00.chunk.js.map +0 -1
  281. package/dist/static/js/44.197bff30.chunk.js +0 -2
  282. package/dist/static/js/44.197bff30.chunk.js.map +0 -1
  283. package/dist/static/js/45.9c281539.chunk.js +0 -2
  284. package/dist/static/js/45.9c281539.chunk.js.map +0 -1
  285. package/dist/static/js/46.8625525a.chunk.js +0 -2
  286. package/dist/static/js/46.8625525a.chunk.js.map +0 -1
  287. package/dist/static/js/47.89e00f8b.chunk.js +0 -2
  288. package/dist/static/js/47.89e00f8b.chunk.js.map +0 -1
  289. package/dist/static/js/48.1150630c.chunk.js +0 -2
  290. package/dist/static/js/48.1150630c.chunk.js.map +0 -1
  291. package/dist/static/js/49.d628f230.chunk.js +0 -2
  292. package/dist/static/js/49.d628f230.chunk.js.map +0 -1
  293. package/dist/static/js/5.8b318946.chunk.js +0 -3
  294. package/dist/static/js/5.8b318946.chunk.js.map +0 -1
  295. package/dist/static/js/50.f54ba3ed.chunk.js +0 -2
  296. package/dist/static/js/50.f54ba3ed.chunk.js.map +0 -1
  297. package/dist/static/js/51.b1d2a0f9.chunk.js +0 -2
  298. package/dist/static/js/51.b1d2a0f9.chunk.js.map +0 -1
  299. package/dist/static/js/52.d9cdf428.chunk.js +0 -2
  300. package/dist/static/js/52.d9cdf428.chunk.js.map +0 -1
  301. package/dist/static/js/53.eb9374c8.chunk.js +0 -2
  302. package/dist/static/js/53.eb9374c8.chunk.js.map +0 -1
  303. package/dist/static/js/54.0246cd90.chunk.js +0 -2
  304. package/dist/static/js/54.0246cd90.chunk.js.map +0 -1
  305. package/dist/static/js/55.f6407d07.chunk.js +0 -2
  306. package/dist/static/js/55.f6407d07.chunk.js.map +0 -1
  307. package/dist/static/js/56.030f4c2c.chunk.js +0 -2
  308. package/dist/static/js/56.030f4c2c.chunk.js.map +0 -1
  309. package/dist/static/js/57.106fdb37.chunk.js +0 -2
  310. package/dist/static/js/57.106fdb37.chunk.js.map +0 -1
  311. package/dist/static/js/58.9efa9671.chunk.js +0 -2
  312. package/dist/static/js/58.9efa9671.chunk.js.map +0 -1
  313. package/dist/static/js/59.3b47d57a.chunk.js +0 -2
  314. package/dist/static/js/59.3b47d57a.chunk.js.map +0 -1
  315. package/dist/static/js/6.8ac679aa.chunk.js +0 -2
  316. package/dist/static/js/6.8ac679aa.chunk.js.map +0 -1
  317. package/dist/static/js/60.0335fabd.chunk.js +0 -2
  318. package/dist/static/js/60.0335fabd.chunk.js.map +0 -1
  319. package/dist/static/js/61.cf7f57fc.chunk.js +0 -2
  320. package/dist/static/js/61.cf7f57fc.chunk.js.map +0 -1
  321. package/dist/static/js/62.bb858ee5.chunk.js +0 -2
  322. package/dist/static/js/62.bb858ee5.chunk.js.map +0 -1
  323. package/dist/static/js/63.107ffad7.chunk.js +0 -2
  324. package/dist/static/js/63.107ffad7.chunk.js.map +0 -1
  325. package/dist/static/js/64.a485a8c8.chunk.js +0 -2
  326. package/dist/static/js/64.a485a8c8.chunk.js.map +0 -1
  327. package/dist/static/js/65.3593d4bb.chunk.js +0 -2
  328. package/dist/static/js/65.3593d4bb.chunk.js.map +0 -1
  329. package/dist/static/js/66.9202016a.chunk.js +0 -2
  330. package/dist/static/js/66.9202016a.chunk.js.map +0 -1
  331. package/dist/static/js/67.45ef3717.chunk.js +0 -2
  332. package/dist/static/js/67.45ef3717.chunk.js.map +0 -1
  333. package/dist/static/js/68.e638cd4b.chunk.js +0 -2
  334. package/dist/static/js/68.e638cd4b.chunk.js.map +0 -1
  335. package/dist/static/js/69.b404f87e.chunk.js +0 -2
  336. package/dist/static/js/69.b404f87e.chunk.js.map +0 -1
  337. package/dist/static/js/7.a488d90e.chunk.js +0 -2
  338. package/dist/static/js/7.a488d90e.chunk.js.map +0 -1
  339. package/dist/static/js/70.32ae1b4a.chunk.js +0 -2
  340. package/dist/static/js/70.32ae1b4a.chunk.js.map +0 -1
  341. package/dist/static/js/71.14e7b1f4.chunk.js +0 -2
  342. package/dist/static/js/71.14e7b1f4.chunk.js.map +0 -1
  343. package/dist/static/js/72.6f860cde.chunk.js +0 -2
  344. package/dist/static/js/72.6f860cde.chunk.js.map +0 -1
  345. package/dist/static/js/73.8839e5fd.chunk.js +0 -3
  346. package/dist/static/js/73.8839e5fd.chunk.js.LICENSE.txt +0 -11
  347. package/dist/static/js/73.8839e5fd.chunk.js.map +0 -1
  348. package/dist/static/js/74.da2b0a38.chunk.js +0 -2
  349. package/dist/static/js/74.da2b0a38.chunk.js.map +0 -1
  350. package/dist/static/js/8.ab0b80c1.chunk.js +0 -2
  351. package/dist/static/js/8.ab0b80c1.chunk.js.map +0 -1
  352. package/dist/static/js/9.12e26806.chunk.js +0 -2
  353. package/dist/static/js/9.12e26806.chunk.js.map +0 -1
  354. package/dist/static/js/main.4aab9f6d.chunk.js +0 -2
  355. package/dist/static/js/main.4aab9f6d.chunk.js.map +0 -1
  356. package/dist/static/js/polyfills-css-shim.4a931322.chunk.js +0 -2
  357. package/dist/static/js/polyfills-css-shim.4a931322.chunk.js.map +0 -1
  358. package/dist/static/js/runtime-main.847af914.js +0 -2
  359. package/dist/static/js/runtime-main.847af914.js.map +0 -1
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[7803],{7803:function(t,e,s){s.r(e),s.d(e,{gux_switch_legacy:function(){return r}});var i=s(5671),n=s(3144),c=s(4723),o=s(8125),r=function(){function t(e){(0,i.Z)(this,t),(0,c.r)(this,e),this.selectionChanged=(0,c.c)(this,"selectionChanged",7),this.layout="medium"}return(0,n.Z)(t,[{key:"selectSwitchAtIndex",value:function(t){this.selectedValue=this.items[t].value,this.selectionChanged.emit(this.selectedValue)}},{key:"onKeyDownAtIndex",value:function(t,e){this.items[t].isDisabled?e.stopPropagation():[13,32].includes(e.keyCode)&&this.selectSwitchAtIndex(t)}},{key:"classForSwtichItemAtIndex",value:function(t){return"gux-switch ".concat(this.layout).concat(t.value===this.selectedValue?" selected":"").concat(t.isDisabled?" disabled":"")}},{key:"listElementForSwtichItemAtIndex",value:function(t,e){var s=this;return t.isDisabled?(0,c.h)("li",{class:this.classForSwtichItemAtIndex(t)},(0,c.h)("button",{class:"switch-button",disabled:t.isDisabled},(0,c.h)("div",{class:"display-text"},t.displayName))):(0,c.h)("li",{class:this.classForSwtichItemAtIndex(t)},(0,c.h)("button",{class:"switch-button",disabled:t.isDisabled,onKeyDown:function(t){return s.onKeyDownAtIndex(e,t)},onClick:function(){return s.selectSwitchAtIndex(e)}},(0,c.h)("div",{class:"display-text"},t.displayName)))}},{key:"componentWillLoad",value:function(){(0,o.t)(this.root,{variant:this.layout})}},{key:"render",value:function(){var t=this;return(0,c.h)("ul",{class:"gux-switch-group"},this.items&&this.items.map((function(e,s){return t.listElementForSwtichItemAtIndex(e,s)})))}},{key:"root",get:function(){return(0,c.g)(this)}}]),t}();r.style=".gux-switch-group{display:inline-block;padding:0}.gux-switch-group .gux-switch{display:inline-block;border:none;box-shadow:inset 0 -1px 0 0 #e4e9f0}.gux-switch-group .gux-switch .switch-button{padding:0;background:transparent;border:none}.gux-switch-group .gux-switch .switch-button .display-text{padding:8px 0;margin:0 8px;font-size:12px}.gux-switch-group .gux-switch .switch-button:hover,.gux-switch-group .gux-switch .switch-button:active,.gux-switch-group .gux-switch .switch-button:focus{color:#2a60c8;cursor:pointer}.gux-switch-group .gux-switch .switch-button:focus{outline:none}.gux-switch-group .gux-switch:first-child .display-text{margin-left:0}.gux-switch-group .gux-switch:last-child .display-text{margin-right:0}.gux-switch-group .gux-switch.selected .display-text{font-weight:bold;box-shadow:inset 0 -1px 0 0 #33383d}.gux-switch-group .gux-switch.small .display-text{font-size:10px}.gux-switch-group .gux-switch.large .display-text{font-size:14px}.gux-switch-group .gux-switch.large.selected .display-text{box-shadow:inset 0 -4px 0 0 #75a8ff}.gux-switch-group .gux-switch:hover,.gux-switch-group .gux-switch:active{color:#2a60c8}.gux-switch-group .gux-switch.disabled{pointer-events:none;opacity:0.5}.gux-switch-dark-theme .gux-switch{box-shadow:inset 0 -1px 0 0 #222529}.gux-switch-dark-theme .gux-switch .switch-button .display-text{color:#fdfdfd}.gux-switch-dark-theme .gux-switch .switch-button:hover,.gux-switch-dark-theme .gux-switch .switch-button:active{cursor:pointer}.gux-switch-dark-theme .gux-switch .switch-button:hover .display-text,.gux-switch-dark-theme .gux-switch .switch-button:active .display-text{color:#2a60c8}.gux-switch-dark-theme .gux-switch.selected .display-text{font-weight:bold;box-shadow:inset 0 -1px 0 0 #75a8ff}.gux-switch-dark-theme .gux-switch.selected.large .display-text{box-shadow:inset 0 -4px 0 0 #75a8ff}.gux-dark-theme .gux-switch-group .gux-switch{box-shadow:inset 0 -1px 0 0 #222529}.gux-dark-theme .gux-switch-group .gux-switch .switch-button .display-text{color:#fdfdfd}.gux-dark-theme .gux-switch-group .gux-switch .switch-button:hover,.gux-dark-theme .gux-switch-group .gux-switch .switch-button:active{cursor:pointer}.gux-dark-theme .gux-switch-group .gux-switch .switch-button:hover .display-text,.gux-dark-theme .gux-switch-group .gux-switch .switch-button:active .display-text{color:#2a60c8}.gux-dark-theme .gux-switch-group .gux-switch.selected .display-text{font-weight:bold;box-shadow:inset 0 -1px 0 0 #75a8ff}.gux-dark-theme .gux-switch-group .gux-switch.selected.large .display-text{box-shadow:inset 0 -4px 0 0 #75a8ff}.gux-switch-group.gux-dark-theme .gux-switch{box-shadow:inset 0 -1px 0 0 #222529}.gux-switch-group.gux-dark-theme .gux-switch .switch-button .display-text{color:#fdfdfd}.gux-switch-group.gux-dark-theme .gux-switch .switch-button:hover,.gux-switch-group.gux-dark-theme .gux-switch .switch-button:active{cursor:pointer}.gux-switch-group.gux-dark-theme .gux-switch .switch-button:hover .display-text,.gux-switch-group.gux-dark-theme .gux-switch .switch-button:active .display-text{color:#2a60c8}.gux-switch-group.gux-dark-theme .gux-switch.selected .display-text{font-weight:bold;box-shadow:inset 0 -1px 0 0 #75a8ff}.gux-switch-group.gux-dark-theme .gux-switch.selected.large .display-text{box-shadow:inset 0 -4px 0 0 #75a8ff}.gux-switch-light-theme{color:#33383d}.gux-light-theme .gux-switch-group{color:#33383d}.gux-switch-group.gux-light-theme{color:#33383d}.gux-switch-group{color:#33383d}"},8125:function(t,e,s){s.d(e,{t:function(){return r}});var i=s(885),n={name:"@genesys/common-webcomponents",version:"2.55.3",description:"Common webcomponents",license:"MIT",main:"dist/stencil-wrapper.js",types:"dist/types/index.d.ts",collection:"dist/collection/collection-manifest.json",files:["dist/"],scripts:{build:"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper","build-wrapper":"./scripts/wrap-stencil.js","check-readmes":"./scripts/check-readmes.sh",clean:"rm -r ./dist || true",commit:"git-cz","create-component":"node scripts/create-component.js",dev:'npx concurrently "npm run stencil.dev" "npm run docs.dev"',"dev.public":'npx concurrently "npm run stencil.dev" "npm run docs.dev.public"',docs:"cd ./docs && npm run build","docs.dev":"cd ./docs && npm run start","docs.dev.public":"cd ./docs && npm run start -- --host 0.0.0.0",format:'prettier "./**/*.{ts,tsx,js,jsx,json,css,html,less}"',"format.check":"npm run format -- --check","format.fix":"npm run format -- --write","generate-start-of-week-file":"./scripts/generate-start-of-week-file.js","generate-versions-file":"./scripts/generate-versions-file.mjs",i18n:"npm run generate-start-of-week-file && ./scripts/build-i18n.js",lint:"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg","lint.commit":"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae","lint.css":"npx stylelint '**/*.{css,html,less}' --fix","lint.fix":"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix","lint.svg":"svgo -f ./src/components/stable/gux-icon/icons","lint.ts":"tslint --project .","list-component-tracking":"./scripts/list-component-tracking.js","list-shadow-explicitly-set":"./scripts/list-shadow-explicitly-set.js","list-i18n-files":"./scripts/list-i18n-files.js",predev:"npm run i18n","predev.public":"npm run predev",prepare:"./scripts/prepare-docs.sh && npm run i18n && husky install",release:"standard-version",stencil:"stencil build --prod","stencil.dev":"stencil build --dev --watch --docs",test:"stencil test --spec --e2e","test.ci":"npm run test.ci.spec && npm run test.ci.e2e","test.ci.spec":"stencil test --spec","test.ci.e2e":"stencil test --e2e --max-workers=1","test.e2e":"stencil test --e2e","test.e2e.update-snapshot":"stencil test --e2e --updateSnapshot","test.screenshot":"stencil test --e2e --screenshot","test.unit":"stencil build dev && stencil test --spec","test.unit.update-snapshot":"stencil test --spec --updateSnapshot","test.update-snapshot":"stencil test --spec --e2e --updateSnapshot","test.watch":"stencil test --spec --e2e --watchAll"},dependencies:{"@popperjs/core":"^2.10.2","intl-messageformat":"~9.4.9","requestanimationframe-timer":"^3.0.3",sortablejs:"^1.14.0","stencil-click-outside":"^1.7.1"},devDependencies:{"@babel/core":"^7.15.8","@babel/preset-env":"^7.15.8","@commitlint/cli":"^13.2.1","@commitlint/config-conventional":"^13.2.0","@rollup/plugin-replace":"^3.0.0","@stencil/core":"^2.9.0","@stencil/less":"^1.0.0","@stencil/utils":"0.0.5","@types/jest":"^26.0.24","@types/jsdom":"^16.2.13","@types/new-relic-browser":"^0.1118.2","@types/puppeteer":"^5.4.4","@types/resize-observer-browser":"^0.1.6","@types/sortablejs":"^1.10.7","axe-live":"^0.1.0","babel-loader":"^8.2.3",commitizen:"^4.2.4",concurrently:"^6.3.0","cz-conventional-changelog":"^3.3.0","file-loader":"^6.2.0",glob:"^7.2.0",handlebars:"^4.7.7",husky:"^7.0.4",inquirer:"^8.2.0",jest:"^26.6.3","jest-cli":"^26.6.3","jest-config":"^26.6.3","jest-environment-node":"^26.6.2","jest-junit":"^13.0.0",jsdom:"^18.0.0","lint-staged":"^11.2.3",marked:"^3.0.7","mutation-observer":"^1.0.3","node-fetch":"^3.2.1",prettier:"^2.4.1",puppeteer:"^10.4.0",rollup:"^2.58.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-less":"^1.1.3","semver-sort":"^1.0.0","standard-version":"^9.3.2",stylelint:"^13.13.1","stylelint-config-prettier":"^9.0.3","stylelint-config-recess-order":"^2.5.0","stylelint-config-standard":"^22.0.0",svgo:"^2.7.0","ts-loader":"^9.2.6",tslint:"^6.1.3","tslint-config-prettier":"^1.18.0",typescript:"^3.9.10",weekstart:"^1.1.0",xmldom:"^0.6.0"},repository:{type:"git",url:"git+bitbucket.org:inindca/genesys-webcomponents.git"},config:{commitizen:{path:"./node_modules/cz-conventional-changelog"}},commitlint:{extends:["@commitlint/config-conventional"],rules:{"subject-case":[2,"never",["pascal-case","upper-case"]]}},stylelint:{extends:["stylelint-config-standard","stylelint-config-recess-order","stylelint-config-prettier"],rules:{"no-descending-specificity":null,"no-duplicate-selectors":null,"selector-type-no-unknown":[!0,{ignoreTypes:["/^gux-/","lineargradient"]}]}},"lint-staged":{"*.{css,html,less}":["stylelint --fix","prettier --write"],"*.{ts,tsx}":["tslint --fix","prettier --write"],"*.{js,jsx,json}":"prettier --write","*.svg":"svgo -i"}},c="spark-library",o=!1;function r(t,e){var s=window.newrelic;s&&(o||(!function(){var t=window.newrelic;if(!t)return;var e=n.version.split("."),s=(0,i.Z)(e,3),o=s[0],r=s[1],l=s[2];t.addPageAction(c,{fullVersion:"".concat(o,".").concat(r,".").concat(l),majorVersion:o,minorVersion:"".concat(o,".").concat(r)})}(),o=!0),s.addPageAction("spark-component",Object.assign(Object.assign({},e),{component:t.tagName.toLowerCase(),version:n.version})))}}}]);
2
+ //# sourceMappingURL=7803.bfe8c40f.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/js/7803.bfe8c40f.chunk.js","mappings":"+MAKIA,EAAS,WACX,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GACvBE,KAAKC,kBAAmBC,EAAAA,EAAAA,GAAYF,KAAM,mBAAoB,GAI9DA,KAAKG,OAAS,SAPL,kDASX,SAAoBC,GAClBJ,KAAKK,cAAgBL,KAAKM,MAAMF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B,QAAQC,cAAerE,QAASF,EAAYE","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-switch-legacy.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-e9646da2.js"],"sourcesContent":["import { r as registerInstance, c as createEvent, h, g as getElement } from './index-5f3763b4.js';\nimport { t as trackComponent } from './usage-tracking-e9646da2.js';\n\nconst guxSwitchCss = \".gux-switch-group{display:inline-block;padding:0}.gux-switch-group .gux-switch{display:inline-block;border:none;box-shadow:inset 0 -1px 0 0 #e4e9f0}.gux-switch-group .gux-switch .switch-button{padding:0;background:transparent;border:none}.gux-switch-group .gux-switch .switch-button .display-text{padding:8px 0;margin:0 8px;font-size:12px}.gux-switch-group .gux-switch .switch-button:hover,.gux-switch-group .gux-switch .switch-button:active,.gux-switch-group .gux-switch .switch-button:focus{color:#2a60c8;cursor:pointer}.gux-switch-group .gux-switch .switch-button:focus{outline:none}.gux-switch-group .gux-switch:first-child .display-text{margin-left:0}.gux-switch-group .gux-switch:last-child .display-text{margin-right:0}.gux-switch-group .gux-switch.selected .display-text{font-weight:bold;box-shadow:inset 0 -1px 0 0 #33383d}.gux-switch-group .gux-switch.small .display-text{font-size:10px}.gux-switch-group .gux-switch.large .display-text{font-size:14px}.gux-switch-group .gux-switch.large.selected .display-text{box-shadow:inset 0 -4px 0 0 #75a8ff}.gux-switch-group .gux-switch:hover,.gux-switch-group .gux-switch:active{color:#2a60c8}.gux-switch-group .gux-switch.disabled{pointer-events:none;opacity:0.5}.gux-switch-dark-theme .gux-switch{box-shadow:inset 0 -1px 0 0 #222529}.gux-switch-dark-theme .gux-switch .switch-button .display-text{color:#fdfdfd}.gux-switch-dark-theme .gux-switch .switch-button:hover,.gux-switch-dark-theme .gux-switch .switch-button:active{cursor:pointer}.gux-switch-dark-theme .gux-switch .switch-button:hover .display-text,.gux-switch-dark-theme .gux-switch .switch-button:active .display-text{color:#2a60c8}.gux-switch-dark-theme .gux-switch.selected .display-text{font-weight:bold;box-shadow:inset 0 -1px 0 0 #75a8ff}.gux-switch-dark-theme .gux-switch.selected.large .display-text{box-shadow:inset 0 -4px 0 0 #75a8ff}.gux-dark-theme .gux-switch-group .gux-switch{box-shadow:inset 0 -1px 0 0 #222529}.gux-dark-theme .gux-switch-group .gux-switch .switch-button .display-text{color:#fdfdfd}.gux-dark-theme .gux-switch-group .gux-switch .switch-button:hover,.gux-dark-theme .gux-switch-group .gux-switch .switch-button:active{cursor:pointer}.gux-dark-theme .gux-switch-group .gux-switch .switch-button:hover .display-text,.gux-dark-theme .gux-switch-group .gux-switch .switch-button:active .display-text{color:#2a60c8}.gux-dark-theme .gux-switch-group .gux-switch.selected .display-text{font-weight:bold;box-shadow:inset 0 -1px 0 0 #75a8ff}.gux-dark-theme .gux-switch-group .gux-switch.selected.large .display-text{box-shadow:inset 0 -4px 0 0 #75a8ff}.gux-switch-group.gux-dark-theme .gux-switch{box-shadow:inset 0 -1px 0 0 #222529}.gux-switch-group.gux-dark-theme .gux-switch .switch-button .display-text{color:#fdfdfd}.gux-switch-group.gux-dark-theme .gux-switch .switch-button:hover,.gux-switch-group.gux-dark-theme .gux-switch .switch-button:active{cursor:pointer}.gux-switch-group.gux-dark-theme .gux-switch .switch-button:hover .display-text,.gux-switch-group.gux-dark-theme .gux-switch .switch-button:active .display-text{color:#2a60c8}.gux-switch-group.gux-dark-theme .gux-switch.selected .display-text{font-weight:bold;box-shadow:inset 0 -1px 0 0 #75a8ff}.gux-switch-group.gux-dark-theme .gux-switch.selected.large .display-text{box-shadow:inset 0 -4px 0 0 #75a8ff}.gux-switch-light-theme{color:#33383d}.gux-light-theme .gux-switch-group{color:#33383d}.gux-switch-group.gux-light-theme{color:#33383d}.gux-switch-group{color:#33383d}\";\n\nlet GuxSwitch = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.selectionChanged = createEvent(this, \"selectionChanged\", 7);\n /**\n * The allowed sizes\n */\n this.layout = 'medium';\n }\n selectSwitchAtIndex(index) {\n this.selectedValue = this.items[index].value;\n this.selectionChanged.emit(this.selectedValue);\n }\n onKeyDownAtIndex(index, event) {\n if (this.items[index].isDisabled) {\n event.stopPropagation();\n }\n else if ([13 /* Enter */, 32 /* Space */].includes(event.keyCode)) {\n this.selectSwitchAtIndex(index);\n }\n }\n classForSwtichItemAtIndex(item) {\n return `gux-switch ${this.layout}${item.value === this.selectedValue ? ' selected' : ''}${item.isDisabled ? ' disabled' : ''}`;\n }\n listElementForSwtichItemAtIndex(item, index) {\n if (item.isDisabled) {\n return (h(\"li\", { class: this.classForSwtichItemAtIndex(item) }, h(\"button\", { class: \"switch-button\", disabled: item.isDisabled }, h(\"div\", { class: \"display-text\" }, item.displayName))));\n }\n return (h(\"li\", { class: this.classForSwtichItemAtIndex(item) }, h(\"button\", { class: \"switch-button\", disabled: item.isDisabled, onKeyDown: ev => this.onKeyDownAtIndex(index, ev), onClick: () => this.selectSwitchAtIndex(index) }, h(\"div\", { class: \"display-text\" }, item.displayName))));\n }\n componentWillLoad() {\n trackComponent(this.root, { variant: this.layout });\n }\n render() {\n return (h(\"ul\", { class: \"gux-switch-group\" }, this.items &&\n this.items.map((item, index) => this.listElementForSwtichItemAtIndex(item, index))));\n }\n get root() { return getElement(this); }\n};\nGuxSwitch.style = guxSwitchCss;\n\nexport { GuxSwitch as gux_switch_legacy };\n","const name = \"@genesys/common-webcomponents\";\nconst version = \"2.55.3\";\nconst description = \"Common webcomponents\";\nconst license = \"MIT\";\nconst main = \"dist/stencil-wrapper.js\";\nconst types = \"dist/types/index.d.ts\";\nconst collection = \"dist/collection/collection-manifest.json\";\nconst files = [\n\t\"dist/\"\n];\nconst scripts = {\n\tbuild: \"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper\",\n\t\"build-wrapper\": \"./scripts/wrap-stencil.js\",\n\t\"check-readmes\": \"./scripts/check-readmes.sh\",\n\tclean: \"rm -r ./dist || true\",\n\tcommit: \"git-cz\",\n\t\"create-component\": \"node scripts/create-component.js\",\n\tdev: \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev\\\"\",\n\t\"dev.public\": \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev.public\\\"\",\n\tdocs: \"cd ./docs && npm run build\",\n\t\"docs.dev\": \"cd ./docs && npm run start\",\n\t\"docs.dev.public\": \"cd ./docs && npm run start -- --host 0.0.0.0\",\n\tformat: \"prettier \\\"./**/*.{ts,tsx,js,jsx,json,css,html,less}\\\"\",\n\t\"format.check\": \"npm run format -- --check\",\n\t\"format.fix\": \"npm run format -- --write\",\n\t\"generate-start-of-week-file\": \"./scripts/generate-start-of-week-file.js\",\n\t\"generate-versions-file\": \"./scripts/generate-versions-file.mjs\",\n\ti18n: \"npm run generate-start-of-week-file && ./scripts/build-i18n.js\",\n\tlint: \"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg\",\n\t\"lint.commit\": \"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae\",\n\t\"lint.css\": \"npx stylelint '**/*.{css,html,less}' --fix\",\n\t\"lint.fix\": \"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix\",\n\t\"lint.svg\": \"svgo -f ./src/components/stable/gux-icon/icons\",\n\t\"lint.ts\": \"tslint --project .\",\n\t\"list-component-tracking\": \"./scripts/list-component-tracking.js\",\n\t\"list-shadow-explicitly-set\": \"./scripts/list-shadow-explicitly-set.js\",\n\t\"list-i18n-files\": \"./scripts/list-i18n-files.js\",\n\tpredev: \"npm run i18n\",\n\t\"predev.public\": \"npm run predev\",\n\tprepare: \"./scripts/prepare-docs.sh && npm run i18n && husky install\",\n\trelease: \"standard-version\",\n\tstencil: \"stencil build --prod\",\n\t\"stencil.dev\": \"stencil build --dev --watch --docs\",\n\ttest: \"stencil test --spec --e2e\",\n\t\"test.ci\": \"npm run test.ci.spec && npm run test.ci.e2e\",\n\t\"test.ci.spec\": \"stencil test --spec\",\n\t\"test.ci.e2e\": \"stencil test --e2e --max-workers=1\",\n\t\"test.e2e\": \"stencil test --e2e\",\n\t\"test.e2e.update-snapshot\": \"stencil test --e2e --updateSnapshot\",\n\t\"test.screenshot\": \"stencil test --e2e --screenshot\",\n\t\"test.unit\": \"stencil build dev && stencil test --spec\",\n\t\"test.unit.update-snapshot\": \"stencil test --spec --updateSnapshot\",\n\t\"test.update-snapshot\": \"stencil test --spec --e2e --updateSnapshot\",\n\t\"test.watch\": \"stencil test --spec --e2e --watchAll\"\n};\nconst dependencies = {\n\t\"@popperjs/core\": \"^2.10.2\",\n\t\"intl-messageformat\": \"~9.4.9\",\n\t\"requestanimationframe-timer\": \"^3.0.3\",\n\tsortablejs: \"^1.14.0\",\n\t\"stencil-click-outside\": \"^1.7.1\"\n};\nconst devDependencies = {\n\t\"@babel/core\": \"^7.15.8\",\n\t\"@babel/preset-env\": \"^7.15.8\",\n\t\"@commitlint/cli\": \"^13.2.1\",\n\t\"@commitlint/config-conventional\": \"^13.2.0\",\n\t\"@rollup/plugin-replace\": \"^3.0.0\",\n\t\"@stencil/core\": \"^2.9.0\",\n\t\"@stencil/less\": \"^1.0.0\",\n\t\"@stencil/utils\": \"0.0.5\",\n\t\"@types/jest\": \"^26.0.24\",\n\t\"@types/jsdom\": \"^16.2.13\",\n\t\"@types/new-relic-browser\": \"^0.1118.2\",\n\t\"@types/puppeteer\": \"^5.4.4\",\n\t\"@types/resize-observer-browser\": \"^0.1.6\",\n\t\"@types/sortablejs\": \"^1.10.7\",\n\t\"axe-live\": \"^0.1.0\",\n\t\"babel-loader\": \"^8.2.3\",\n\tcommitizen: \"^4.2.4\",\n\tconcurrently: \"^6.3.0\",\n\t\"cz-conventional-changelog\": \"^3.3.0\",\n\t\"file-loader\": \"^6.2.0\",\n\tglob: \"^7.2.0\",\n\thandlebars: \"^4.7.7\",\n\thusky: \"^7.0.4\",\n\tinquirer: \"^8.2.0\",\n\tjest: \"^26.6.3\",\n\t\"jest-cli\": \"^26.6.3\",\n\t\"jest-config\": \"^26.6.3\",\n\t\"jest-environment-node\": \"^26.6.2\",\n\t\"jest-junit\": \"^13.0.0\",\n\tjsdom: \"^18.0.0\",\n\t\"lint-staged\": \"^11.2.3\",\n\tmarked: \"^3.0.7\",\n\t\"mutation-observer\": \"^1.0.3\",\n\t\"node-fetch\": \"^3.2.1\",\n\tprettier: \"^2.4.1\",\n\tpuppeteer: \"^10.4.0\",\n\trollup: \"^2.58.0\",\n\t\"rollup-plugin-copy\": \"^3.4.0\",\n\t\"rollup-plugin-less\": \"^1.1.3\",\n\t\"semver-sort\": \"^1.0.0\",\n\t\"standard-version\": \"^9.3.2\",\n\tstylelint: \"^13.13.1\",\n\t\"stylelint-config-prettier\": \"^9.0.3\",\n\t\"stylelint-config-recess-order\": \"^2.5.0\",\n\t\"stylelint-config-standard\": \"^22.0.0\",\n\tsvgo: \"^2.7.0\",\n\t\"ts-loader\": \"^9.2.6\",\n\ttslint: \"^6.1.3\",\n\t\"tslint-config-prettier\": \"^1.18.0\",\n\ttypescript: \"^3.9.10\",\n\tweekstart: \"^1.1.0\",\n\txmldom: \"^0.6.0\"\n};\nconst repository = {\n\ttype: \"git\",\n\turl: \"git+bitbucket.org:inindca/genesys-webcomponents.git\"\n};\nconst config = {\n\tcommitizen: {\n\t\tpath: \"./node_modules/cz-conventional-changelog\"\n\t}\n};\nconst commitlint = {\n\t\"extends\": [\n\t\t\"@commitlint/config-conventional\"\n\t],\n\trules: {\n\t\t\"subject-case\": [\n\t\t\t2,\n\t\t\t\"never\",\n\t\t\t[\n\t\t\t\t\"pascal-case\",\n\t\t\t\t\"upper-case\"\n\t\t\t]\n\t\t]\n\t}\n};\nconst stylelint = {\n\t\"extends\": [\n\t\t\"stylelint-config-standard\",\n\t\t\"stylelint-config-recess-order\",\n\t\t\"stylelint-config-prettier\"\n\t],\n\trules: {\n\t\t\"no-descending-specificity\": null,\n\t\t\"no-duplicate-selectors\": null,\n\t\t\"selector-type-no-unknown\": [\n\t\t\ttrue,\n\t\t\t{\n\t\t\t\tignoreTypes: [\n\t\t\t\t\t\"/^gux-/\",\n\t\t\t\t\t\"lineargradient\"\n\t\t\t\t]\n\t\t\t}\n\t\t]\n\t}\n};\nconst packageInfo = {\n\tname: name,\n\tversion: version,\n\tdescription: description,\n\tlicense: license,\n\tmain: main,\n\ttypes: types,\n\tcollection: collection,\n\tfiles: files,\n\tscripts: scripts,\n\tdependencies: dependencies,\n\tdevDependencies: devDependencies,\n\trepository: repository,\n\tconfig: config,\n\tcommitlint: commitlint,\n\tstylelint: stylelint,\n\t\"lint-staged\": {\n\t\"*.{css,html,less}\": [\n\t\t\"stylelint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{ts,tsx}\": [\n\t\t\"tslint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{js,jsx,json}\": \"prettier --write\",\n\t\"*.svg\": \"svgo -i\"\n}\n};\n\nconst libraryPageAction = 'spark-library';\nconst componentPageAction = 'spark-component';\nlet libVersionReported = false;\n/**\n * Submits a component for tracking by NewRelic. Will also report the version of the library being\n * used the first time it is called.\n */\nfunction trackComponent(element, metadata) {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n // if (element['s-hn']) {\n // return;\n // }\n if (!libVersionReported) {\n reportLibraryVersion();\n libVersionReported = true;\n }\n newrelic.addPageAction(componentPageAction, Object.assign(Object.assign({}, metadata), { component: element.tagName.toLowerCase(), version: packageInfo.version }));\n}\n/**\n * Sends a library usage page action the first time it is called, does nothing afterward.\n */\nfunction reportLibraryVersion() {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n const [major, minor, patch] = packageInfo.version.split('.');\n newrelic.addPageAction(libraryPageAction, {\n fullVersion: `${major}.${minor}.${patch}`,\n majorVersion: major,\n minorVersion: `${major}.${minor}`\n });\n}\n\nexport { trackComponent as t };\n"],"names":["GuxSwitch","hostRef","registerInstance","this","selectionChanged","createEvent","layout","index","selectedValue","items","value","emit","event","isDisabled","stopPropagation","includes","keyCode","selectSwitchAtIndex","item","h","class","classForSwtichItemAtIndex","disabled","displayName","onKeyDown","ev","onKeyDownAtIndex","onClick","trackComponent","root","variant","map","listElementForSwtichItemAtIndex","getElement","style","packageInfo","name","version","description","license","main","types","collection","files","scripts","build","clean","commit","dev","docs","format","i18n","lint","predev","prepare","release","stencil","test","dependencies","sortablejs","devDependencies","commitizen","concurrently","glob","handlebars","husky","inquirer","jest","jsdom","marked","prettier","puppeteer","rollup","stylelint","svgo","tslint","typescript","weekstart","xmldom","repository","type","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","libVersionReported","element","metadata","newrelic","window","split","major","minor","patch","addPageAction","fullVersion","majorVersion","minorVersion","reportLibraryVersion","Object","assign","component","tagName","toLowerCase"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[7895],{7895:function(e,t,n){n.r(t),n.d(t,{gux_accordion:function(){return u}});var o=n(4165),s=n(5861),i=n(5671),r=n(3144),c=n(4723),a=n(8125);function l(e,t,n){var o=function(e,t){return t.find((function(t){return t.slotName===e}))}(e,n);null===o||void 0===o||o.ref.classList[t]("gux-opened")}var u=function(){function e(t){(0,i.Z)(this,e),(0,c.r)(this,t),this.sections=[],this.headingLevel=null,this.arrowPosition="default"}return(0,r.Z)(e,[{key:"open",value:function(){var e=(0,s.Z)((0,o.Z)().mark((function e(t){return(0,o.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:l(t,"add",this.sections);case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"close",value:function(){var e=(0,s.Z)((0,o.Z)().mark((function e(t){return(0,o.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:l(t,"remove",this.sections);case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"toggle",value:function(){var e=(0,s.Z)((0,o.Z)().mark((function e(t){return(0,o.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:l(t,"toggle",this.sections);case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"componentWillLoad",value:function(){(0,a.t)(this.root),this.sections=function(e){var t=Array.from(e.children),n=[];return t.forEach((function(e){var t=e.getAttribute("slot");e.hidden=!Boolean(t),t&&n.push({slotName:t,ref:null})})),n}(this.root)}},{key:"render",value:function(){var e=this;return(0,c.h)("div",{class:"gux-accordion"},this.sections.map((function(t){return(0,c.h)("section",{class:"gux-section",onKeyDown:function(n){return function(e,t,n){var o,s;switch(e.key){case"ArrowUp":o=function(e,t){var n=t.findIndex((function(t){return t.slotName===e}));return n<=0?t[t.length-1].ref:t[n-1].ref}(t,n);break;case"ArrowDown":o=function(e,t){var n=t.findIndex((function(t){return t.slotName===e}));return n>=t.length-1?t[0].ref:t[n+1].ref}(t,n);break;case"End":o=function(e){return e[this.sections.length-1].ref}(n);break;case"Home":o=function(e){return e[0].ref}(n)}o&&(s=o,s.querySelector(".gux-header-button")).focus()}(n,t.slotName,e.sections)},ref:function(e){return t.ref=e}},(0,c.h)("div",{"aria-role":"heading","aria-level":e.headingLevel,class:"gux-header"},(0,c.h)("button",{class:"gux-header-button",type:"button",onClick:function(){return e.toggle(t.slotName)}},(0,c.h)("div",{class:"gux-text"},t.slotName),"beside-text"===e.arrowPosition?null:(0,c.h)("div",{class:"gux-spacer"}),(0,c.h)("div",{class:"gux-toggle-arrow"},(0,c.h)("gux-icon",{decorative:!0,"icon-name":"chevron-small-down"})))),(0,c.h)("div",{class:"gux-content"},(0,c.h)("slot",{name:t.slotName})))})))}},{key:"root",get:function(){return(0,c.g)(this)}}]),e}();u.style="gux-accordion .gux-accordion{padding:0;margin:0;background-color:#fdfdfd}gux-accordion .gux-accordion .gux-section{color:#33383d}gux-accordion .gux-accordion .gux-section .gux-header{box-sizing:border-box;height:40px;border-top:1px solid #e4e9f0}gux-accordion .gux-accordion .gux-section .gux-header .gux-header-button{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:0 16px;margin:0;color:#33383d;cursor:pointer;background:none;border:none}gux-accordion .gux-accordion .gux-section .gux-header .gux-header-button .gux-text{flex:0 1 auto;align-self:auto;padding-right:8px;font-family:inherit;font-size:inherit;font-weight:bold;text-align:left}gux-accordion .gux-accordion .gux-section .gux-header .gux-header-button .gux-spacer{flex:1 1 auto;align-self:auto}gux-accordion .gux-accordion .gux-section .gux-header .gux-header-button .gux-toggle-arrow{flex:0 1 auto;align-items:center;align-self:auto;color:#77828f;transition:transform 0.5s ease;transform-origin:center}gux-accordion .gux-accordion .gux-section .gux-header .gux-header-button .gux-toggle-arrow gux-icon{width:20px;height:20px}gux-accordion .gux-accordion .gux-section .gux-header:hover .gux-toggle-arrow{color:#33383d}gux-accordion .gux-accordion .gux-section .gux-content{box-sizing:border-box;display:none;padding:16px}gux-accordion .gux-accordion .gux-section.gux-opened .gux-header{border-bottom:1px solid #e4e9f0}gux-accordion .gux-accordion .gux-section.gux-opened .gux-header .gux-toggle-arrow{transform:rotate(-180deg)}gux-accordion .gux-accordion .gux-section.gux-opened .gux-content{display:block}gux-accordion .gux-accordion .gux-section:last-of-type .gux-header{border-bottom:1px solid #e4e9f0}gux-accordion .gux-accordion .gux-section:last-of-type .gux-content{border-bottom:1px solid #e4e9f0}"},8125:function(e,t,n){n.d(t,{t:function(){return c}});var o=n(885),s={name:"@genesys/common-webcomponents",version:"2.55.3",description:"Common webcomponents",license:"MIT",main:"dist/stencil-wrapper.js",types:"dist/types/index.d.ts",collection:"dist/collection/collection-manifest.json",files:["dist/"],scripts:{build:"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper","build-wrapper":"./scripts/wrap-stencil.js","check-readmes":"./scripts/check-readmes.sh",clean:"rm -r ./dist || true",commit:"git-cz","create-component":"node scripts/create-component.js",dev:'npx concurrently "npm run stencil.dev" "npm run docs.dev"',"dev.public":'npx concurrently "npm run stencil.dev" "npm run docs.dev.public"',docs:"cd ./docs && npm run build","docs.dev":"cd ./docs && npm run start","docs.dev.public":"cd ./docs && npm run start -- --host 0.0.0.0",format:'prettier "./**/*.{ts,tsx,js,jsx,json,css,html,less}"',"format.check":"npm run format -- --check","format.fix":"npm run format -- --write","generate-start-of-week-file":"./scripts/generate-start-of-week-file.js","generate-versions-file":"./scripts/generate-versions-file.mjs",i18n:"npm run generate-start-of-week-file && ./scripts/build-i18n.js",lint:"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg","lint.commit":"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae","lint.css":"npx stylelint '**/*.{css,html,less}' --fix","lint.fix":"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix","lint.svg":"svgo -f ./src/components/stable/gux-icon/icons","lint.ts":"tslint --project .","list-component-tracking":"./scripts/list-component-tracking.js","list-shadow-explicitly-set":"./scripts/list-shadow-explicitly-set.js","list-i18n-files":"./scripts/list-i18n-files.js",predev:"npm run i18n","predev.public":"npm run predev",prepare:"./scripts/prepare-docs.sh && npm run i18n && husky install",release:"standard-version",stencil:"stencil build --prod","stencil.dev":"stencil build --dev --watch --docs",test:"stencil test --spec --e2e","test.ci":"npm run test.ci.spec && npm run test.ci.e2e","test.ci.spec":"stencil test --spec","test.ci.e2e":"stencil test --e2e --max-workers=1","test.e2e":"stencil test --e2e","test.e2e.update-snapshot":"stencil test --e2e --updateSnapshot","test.screenshot":"stencil test --e2e --screenshot","test.unit":"stencil build dev && stencil test --spec","test.unit.update-snapshot":"stencil test --spec --updateSnapshot","test.update-snapshot":"stencil test --spec --e2e --updateSnapshot","test.watch":"stencil test --spec --e2e --watchAll"},dependencies:{"@popperjs/core":"^2.10.2","intl-messageformat":"~9.4.9","requestanimationframe-timer":"^3.0.3",sortablejs:"^1.14.0","stencil-click-outside":"^1.7.1"},devDependencies:{"@babel/core":"^7.15.8","@babel/preset-env":"^7.15.8","@commitlint/cli":"^13.2.1","@commitlint/config-conventional":"^13.2.0","@rollup/plugin-replace":"^3.0.0","@stencil/core":"^2.9.0","@stencil/less":"^1.0.0","@stencil/utils":"0.0.5","@types/jest":"^26.0.24","@types/jsdom":"^16.2.13","@types/new-relic-browser":"^0.1118.2","@types/puppeteer":"^5.4.4","@types/resize-observer-browser":"^0.1.6","@types/sortablejs":"^1.10.7","axe-live":"^0.1.0","babel-loader":"^8.2.3",commitizen:"^4.2.4",concurrently:"^6.3.0","cz-conventional-changelog":"^3.3.0","file-loader":"^6.2.0",glob:"^7.2.0",handlebars:"^4.7.7",husky:"^7.0.4",inquirer:"^8.2.0",jest:"^26.6.3","jest-cli":"^26.6.3","jest-config":"^26.6.3","jest-environment-node":"^26.6.2","jest-junit":"^13.0.0",jsdom:"^18.0.0","lint-staged":"^11.2.3",marked:"^3.0.7","mutation-observer":"^1.0.3","node-fetch":"^3.2.1",prettier:"^2.4.1",puppeteer:"^10.4.0",rollup:"^2.58.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-less":"^1.1.3","semver-sort":"^1.0.0","standard-version":"^9.3.2",stylelint:"^13.13.1","stylelint-config-prettier":"^9.0.3","stylelint-config-recess-order":"^2.5.0","stylelint-config-standard":"^22.0.0",svgo:"^2.7.0","ts-loader":"^9.2.6",tslint:"^6.1.3","tslint-config-prettier":"^1.18.0",typescript:"^3.9.10",weekstart:"^1.1.0",xmldom:"^0.6.0"},repository:{type:"git",url:"git+bitbucket.org:inindca/genesys-webcomponents.git"},config:{commitizen:{path:"./node_modules/cz-conventional-changelog"}},commitlint:{extends:["@commitlint/config-conventional"],rules:{"subject-case":[2,"never",["pascal-case","upper-case"]]}},stylelint:{extends:["stylelint-config-standard","stylelint-config-recess-order","stylelint-config-prettier"],rules:{"no-descending-specificity":null,"no-duplicate-selectors":null,"selector-type-no-unknown":[!0,{ignoreTypes:["/^gux-/","lineargradient"]}]}},"lint-staged":{"*.{css,html,less}":["stylelint --fix","prettier --write"],"*.{ts,tsx}":["tslint --fix","prettier --write"],"*.{js,jsx,json}":"prettier --write","*.svg":"svgo -i"}},i="spark-library",r=!1;function c(e,t){var n=window.newrelic;n&&(r||(!function(){var e=window.newrelic;if(!e)return;var t=s.version.split("."),n=(0,o.Z)(t,3),r=n[0],c=n[1],a=n[2];e.addPageAction(i,{fullVersion:"".concat(r,".").concat(c,".").concat(a),majorVersion:r,minorVersion:"".concat(r,".").concat(c)})}(),r=!0),n.addPageAction("spark-component",Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:s.version})))}}}]);
2
+ //# sourceMappingURL=7895.629e8650.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/js/7895.629e8650.chunk.js","mappings":"+NA4CA,SAASA,EAAgBC,EAAUC,EAAcC,GAC/C,IAAMC,EA1CR,SAA0BH,EAAUE,GAClC,OAAOA,EAASE,MAAK,SAAAD,GAAO,OAAIA,EAAQH,WAAaA,KAyCrCK,CAAiBL,EAAUE,GAC/B,OAAZC,QAAgC,IAAZA,GAA8BA,EAAQG,IAAIC,UAAUN,GAAc,cAuBxF,IAEIO,EAAY,WACd,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GACvBE,KAAKT,SAAW,GAOhBS,KAAKC,aAAe,KACpBD,KAAKE,cAAgB,UAXT,4EAiBd,WAAWb,GAAX,sEACED,EAAgBC,EAAU,MAAOW,KAAKT,UADxC,gDAjBc,mHAwBd,WAAYF,GAAZ,sEACED,EAAgBC,EAAU,SAAUW,KAAKT,UAD3C,gDAxBc,oHA+Bd,WAAaF,GAAb,sEACED,EAAgBC,EAAU,SAAUW,KAAKT,UAD3C,gDA/Bc,sFAkCd,YACEY,EAAAA,EAAAA,GAAeH,KAAKI,MACpBJ,KAAKT,SA9ET,SAAqBa,GACnB,IAAMC,EAAWC,MAAMC,KAAKH,EAAKC,UAC3Bd,EAAW,GAWjB,OAVAc,EAASG,SAAQ,SAAAC,GACf,IAAMpB,EAAWoB,EAAQC,aAAa,QACtCD,EAAQE,QAAUC,QAAQvB,GACtBA,GACFE,EAASsB,KAAK,CACZxB,SAAAA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,CACpB,kBACA,oBAED,aAAc,CACb,eACA,oBAED,kBAAmB,mBACnB,QAAS,YAIJC,EAAoB,gBAEtBC,GAAqB,EAKzB,SAASzF,EAAeM,EAASoF,GAC/B,IAAMC,EAAWC,OAAOD,SACnBA,IAMAF,KASP,WACE,IAAME,EAAWC,OAAOD,SACxB,IAAKA,EACH,OAEF,MAA8BrD,EAAYC,QAAQsD,MAAM,KAAxD,eAAOC,EAAP,KAAcC,EAAd,KAAqBC,EAArB,KACAL,EAASM,cAAcT,EAAmB,CACxCU,YAAa,GAAF,OAAKJ,EAAL,YAAcC,EAAd,YAAuBC,GAClCG,aAAcL,EACdM,aAAc,GAAF,OAAKN,EAAL,YAAcC,KAjB1BM,GACAZ,GAAqB,GAEvBE,EAASM,cAlBiB,kBAkBkBK,OAAOC,OAAOD,OAAOC,OAAO,GAAIb,GAAW,CAAEc,UAAWlG,EAAQmG,QAAQC,cAAenE,QAASD,EAAYC","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-accordion.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-e9646da2.js"],"sourcesContent":["import { r as registerInstance, h, g as getElement } from './index-5f3763b4.js';\nimport { t as trackComponent } from './usage-tracking-e9646da2.js';\n\nfunction getSectionByName(slotName, sections) {\n return sections.find(section => section.slotName === slotName);\n}\nfunction getPreviousSection(slot, sections) {\n const currentIndex = sections.findIndex(section => section.slotName === slot);\n if (currentIndex <= 0) {\n return sections[sections.length - 1].ref;\n }\n return sections[currentIndex - 1].ref;\n}\nfunction getNextSection(slot, sections) {\n const currentIndex = sections.findIndex(section => section.slotName === slot);\n if (currentIndex >= sections.length - 1) {\n return sections[0].ref;\n }\n return sections[currentIndex + 1].ref;\n}\nfunction getFirstSection(sections) {\n return sections[0].ref;\n}\nfunction getLastSection(sections) {\n return sections[this.sections.length - 1].ref;\n}\nfunction getToggleButton(section) {\n return section.querySelector('.gux-header-button');\n}\nfunction getSections(root) {\n const children = Array.from(root.children);\n const sections = [];\n children.forEach(element => {\n const slotName = element.getAttribute('slot');\n element.hidden = !Boolean(slotName);\n if (slotName) {\n sections.push({\n slotName,\n ref: null\n });\n }\n });\n return sections;\n}\nfunction modifyClassList(slotName, modification, sections) {\n const section = getSectionByName(slotName, sections);\n section === null || section === void 0 ? void 0 : section.ref.classList[modification]('gux-opened');\n}\nfunction onKeyboardNavigation(event, slotName, sections) {\n let newSection;\n switch (event.key) {\n case 'ArrowUp':\n newSection = getPreviousSection(slotName, sections);\n break;\n case 'ArrowDown':\n newSection = getNextSection(slotName, sections);\n break;\n case 'End':\n newSection = getLastSection(sections);\n break;\n case 'Home':\n newSection = getFirstSection(sections);\n break;\n }\n if (newSection) {\n getToggleButton(newSection).focus();\n }\n}\n\nconst guxAccordionCss = \"gux-accordion .gux-accordion{padding:0;margin:0;background-color:#fdfdfd}gux-accordion .gux-accordion .gux-section{color:#33383d}gux-accordion .gux-accordion .gux-section .gux-header{box-sizing:border-box;height:40px;border-top:1px solid #e4e9f0}gux-accordion .gux-accordion .gux-section .gux-header .gux-header-button{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:0 16px;margin:0;color:#33383d;cursor:pointer;background:none;border:none}gux-accordion .gux-accordion .gux-section .gux-header .gux-header-button .gux-text{flex:0 1 auto;align-self:auto;padding-right:8px;font-family:inherit;font-size:inherit;font-weight:bold;text-align:left}gux-accordion .gux-accordion .gux-section .gux-header .gux-header-button .gux-spacer{flex:1 1 auto;align-self:auto}gux-accordion .gux-accordion .gux-section .gux-header .gux-header-button .gux-toggle-arrow{flex:0 1 auto;align-items:center;align-self:auto;color:#77828f;transition:transform 0.5s ease;transform-origin:center}gux-accordion .gux-accordion .gux-section .gux-header .gux-header-button .gux-toggle-arrow gux-icon{width:20px;height:20px}gux-accordion .gux-accordion .gux-section .gux-header:hover .gux-toggle-arrow{color:#33383d}gux-accordion .gux-accordion .gux-section .gux-content{box-sizing:border-box;display:none;padding:16px}gux-accordion .gux-accordion .gux-section.gux-opened .gux-header{border-bottom:1px solid #e4e9f0}gux-accordion .gux-accordion .gux-section.gux-opened .gux-header .gux-toggle-arrow{transform:rotate(-180deg)}gux-accordion .gux-accordion .gux-section.gux-opened .gux-content{display:block}gux-accordion .gux-accordion .gux-section:last-of-type .gux-header{border-bottom:1px solid #e4e9f0}gux-accordion .gux-accordion .gux-section:last-of-type .gux-content{border-bottom:1px solid #e4e9f0}\";\n\nlet GuxAccordion = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.sections = [];\n /**\n * The heading level within the page the\n * accordion section headers should be set to.\n * heading-level=\"3\" woudl be equivalent to an\n * h3 element.\n */\n this.headingLevel = null;\n this.arrowPosition = 'default';\n }\n /**\n * Opens a section.\n * @param slotName The slot name\n */\n async open(slotName) {\n modifyClassList(slotName, 'add', this.sections);\n }\n /**\n * Closes a section.\n * @param slotName The slot name\n */\n async close(slotName) {\n modifyClassList(slotName, 'remove', this.sections);\n }\n /**\n * Toggles a section.\n * @param slotName The slot name\n */\n async toggle(slotName) {\n modifyClassList(slotName, 'toggle', this.sections);\n }\n componentWillLoad() {\n trackComponent(this.root);\n this.sections = getSections(this.root);\n }\n render() {\n return (h(\"div\", { class: \"gux-accordion\" }, this.sections.map(section => (h(\"section\", { class: \"gux-section\", onKeyDown: event => onKeyboardNavigation(event, section.slotName, this.sections), ref: el => (section.ref = el) }, h(\"div\", { \"aria-role\": \"heading\", \"aria-level\": this.headingLevel, class: \"gux-header\" }, h(\"button\", { class: \"gux-header-button\", type: \"button\", onClick: () => this.toggle(section.slotName) }, h(\"div\", { class: \"gux-text\" }, section.slotName), this.arrowPosition === 'beside-text' ? null : (h(\"div\", { class: \"gux-spacer\" })), h(\"div\", { class: \"gux-toggle-arrow\" }, h(\"gux-icon\", { decorative: true, \"icon-name\": \"chevron-small-down\" })))), h(\"div\", { class: \"gux-content\" }, h(\"slot\", { name: section.slotName })))))));\n }\n get root() { return getElement(this); }\n};\nGuxAccordion.style = guxAccordionCss;\n\nexport { GuxAccordion as gux_accordion };\n","const name = \"@genesys/common-webcomponents\";\nconst version = \"2.55.3\";\nconst description = \"Common webcomponents\";\nconst license = \"MIT\";\nconst main = \"dist/stencil-wrapper.js\";\nconst types = \"dist/types/index.d.ts\";\nconst collection = \"dist/collection/collection-manifest.json\";\nconst files = [\n\t\"dist/\"\n];\nconst scripts = {\n\tbuild: \"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper\",\n\t\"build-wrapper\": \"./scripts/wrap-stencil.js\",\n\t\"check-readmes\": \"./scripts/check-readmes.sh\",\n\tclean: \"rm -r ./dist || true\",\n\tcommit: \"git-cz\",\n\t\"create-component\": \"node scripts/create-component.js\",\n\tdev: \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev\\\"\",\n\t\"dev.public\": \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev.public\\\"\",\n\tdocs: \"cd ./docs && npm run build\",\n\t\"docs.dev\": \"cd ./docs && npm run start\",\n\t\"docs.dev.public\": \"cd ./docs && npm run start -- --host 0.0.0.0\",\n\tformat: \"prettier \\\"./**/*.{ts,tsx,js,jsx,json,css,html,less}\\\"\",\n\t\"format.check\": \"npm run format -- --check\",\n\t\"format.fix\": \"npm run format -- --write\",\n\t\"generate-start-of-week-file\": \"./scripts/generate-start-of-week-file.js\",\n\t\"generate-versions-file\": \"./scripts/generate-versions-file.mjs\",\n\ti18n: \"npm run generate-start-of-week-file && ./scripts/build-i18n.js\",\n\tlint: \"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg\",\n\t\"lint.commit\": \"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae\",\n\t\"lint.css\": \"npx stylelint '**/*.{css,html,less}' --fix\",\n\t\"lint.fix\": \"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix\",\n\t\"lint.svg\": \"svgo -f ./src/components/stable/gux-icon/icons\",\n\t\"lint.ts\": \"tslint --project .\",\n\t\"list-component-tracking\": \"./scripts/list-component-tracking.js\",\n\t\"list-shadow-explicitly-set\": \"./scripts/list-shadow-explicitly-set.js\",\n\t\"list-i18n-files\": \"./scripts/list-i18n-files.js\",\n\tpredev: \"npm run i18n\",\n\t\"predev.public\": \"npm run predev\",\n\tprepare: \"./scripts/prepare-docs.sh && npm run i18n && husky install\",\n\trelease: \"standard-version\",\n\tstencil: \"stencil build --prod\",\n\t\"stencil.dev\": \"stencil build --dev --watch --docs\",\n\ttest: \"stencil test --spec --e2e\",\n\t\"test.ci\": \"npm run test.ci.spec && npm run test.ci.e2e\",\n\t\"test.ci.spec\": \"stencil test --spec\",\n\t\"test.ci.e2e\": \"stencil test --e2e --max-workers=1\",\n\t\"test.e2e\": \"stencil test --e2e\",\n\t\"test.e2e.update-snapshot\": \"stencil test --e2e --updateSnapshot\",\n\t\"test.screenshot\": \"stencil test --e2e --screenshot\",\n\t\"test.unit\": \"stencil build dev && stencil test --spec\",\n\t\"test.unit.update-snapshot\": \"stencil test --spec --updateSnapshot\",\n\t\"test.update-snapshot\": \"stencil test --spec --e2e --updateSnapshot\",\n\t\"test.watch\": \"stencil test --spec --e2e --watchAll\"\n};\nconst dependencies = {\n\t\"@popperjs/core\": \"^2.10.2\",\n\t\"intl-messageformat\": \"~9.4.9\",\n\t\"requestanimationframe-timer\": \"^3.0.3\",\n\tsortablejs: \"^1.14.0\",\n\t\"stencil-click-outside\": \"^1.7.1\"\n};\nconst devDependencies = {\n\t\"@babel/core\": \"^7.15.8\",\n\t\"@babel/preset-env\": \"^7.15.8\",\n\t\"@commitlint/cli\": \"^13.2.1\",\n\t\"@commitlint/config-conventional\": \"^13.2.0\",\n\t\"@rollup/plugin-replace\": \"^3.0.0\",\n\t\"@stencil/core\": \"^2.9.0\",\n\t\"@stencil/less\": \"^1.0.0\",\n\t\"@stencil/utils\": \"0.0.5\",\n\t\"@types/jest\": \"^26.0.24\",\n\t\"@types/jsdom\": \"^16.2.13\",\n\t\"@types/new-relic-browser\": \"^0.1118.2\",\n\t\"@types/puppeteer\": \"^5.4.4\",\n\t\"@types/resize-observer-browser\": \"^0.1.6\",\n\t\"@types/sortablejs\": \"^1.10.7\",\n\t\"axe-live\": \"^0.1.0\",\n\t\"babel-loader\": \"^8.2.3\",\n\tcommitizen: \"^4.2.4\",\n\tconcurrently: \"^6.3.0\",\n\t\"cz-conventional-changelog\": \"^3.3.0\",\n\t\"file-loader\": \"^6.2.0\",\n\tglob: \"^7.2.0\",\n\thandlebars: \"^4.7.7\",\n\thusky: \"^7.0.4\",\n\tinquirer: \"^8.2.0\",\n\tjest: \"^26.6.3\",\n\t\"jest-cli\": \"^26.6.3\",\n\t\"jest-config\": \"^26.6.3\",\n\t\"jest-environment-node\": \"^26.6.2\",\n\t\"jest-junit\": \"^13.0.0\",\n\tjsdom: \"^18.0.0\",\n\t\"lint-staged\": \"^11.2.3\",\n\tmarked: \"^3.0.7\",\n\t\"mutation-observer\": \"^1.0.3\",\n\t\"node-fetch\": \"^3.2.1\",\n\tprettier: \"^2.4.1\",\n\tpuppeteer: \"^10.4.0\",\n\trollup: \"^2.58.0\",\n\t\"rollup-plugin-copy\": \"^3.4.0\",\n\t\"rollup-plugin-less\": \"^1.1.3\",\n\t\"semver-sort\": \"^1.0.0\",\n\t\"standard-version\": \"^9.3.2\",\n\tstylelint: \"^13.13.1\",\n\t\"stylelint-config-prettier\": \"^9.0.3\",\n\t\"stylelint-config-recess-order\": \"^2.5.0\",\n\t\"stylelint-config-standard\": \"^22.0.0\",\n\tsvgo: \"^2.7.0\",\n\t\"ts-loader\": \"^9.2.6\",\n\ttslint: \"^6.1.3\",\n\t\"tslint-config-prettier\": \"^1.18.0\",\n\ttypescript: \"^3.9.10\",\n\tweekstart: \"^1.1.0\",\n\txmldom: \"^0.6.0\"\n};\nconst repository = {\n\ttype: \"git\",\n\turl: \"git+bitbucket.org:inindca/genesys-webcomponents.git\"\n};\nconst config = {\n\tcommitizen: {\n\t\tpath: \"./node_modules/cz-conventional-changelog\"\n\t}\n};\nconst commitlint = {\n\t\"extends\": [\n\t\t\"@commitlint/config-conventional\"\n\t],\n\trules: {\n\t\t\"subject-case\": [\n\t\t\t2,\n\t\t\t\"never\",\n\t\t\t[\n\t\t\t\t\"pascal-case\",\n\t\t\t\t\"upper-case\"\n\t\t\t]\n\t\t]\n\t}\n};\nconst stylelint = {\n\t\"extends\": [\n\t\t\"stylelint-config-standard\",\n\t\t\"stylelint-config-recess-order\",\n\t\t\"stylelint-config-prettier\"\n\t],\n\trules: {\n\t\t\"no-descending-specificity\": null,\n\t\t\"no-duplicate-selectors\": null,\n\t\t\"selector-type-no-unknown\": [\n\t\t\ttrue,\n\t\t\t{\n\t\t\t\tignoreTypes: [\n\t\t\t\t\t\"/^gux-/\",\n\t\t\t\t\t\"lineargradient\"\n\t\t\t\t]\n\t\t\t}\n\t\t]\n\t}\n};\nconst packageInfo = {\n\tname: name,\n\tversion: version,\n\tdescription: description,\n\tlicense: license,\n\tmain: main,\n\ttypes: types,\n\tcollection: collection,\n\tfiles: files,\n\tscripts: scripts,\n\tdependencies: dependencies,\n\tdevDependencies: devDependencies,\n\trepository: repository,\n\tconfig: config,\n\tcommitlint: commitlint,\n\tstylelint: stylelint,\n\t\"lint-staged\": {\n\t\"*.{css,html,less}\": [\n\t\t\"stylelint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{ts,tsx}\": [\n\t\t\"tslint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{js,jsx,json}\": \"prettier --write\",\n\t\"*.svg\": \"svgo -i\"\n}\n};\n\nconst libraryPageAction = 'spark-library';\nconst componentPageAction = 'spark-component';\nlet libVersionReported = false;\n/**\n * Submits a component for tracking by NewRelic. Will also report the version of the library being\n * used the first time it is called.\n */\nfunction trackComponent(element, metadata) {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n // if (element['s-hn']) {\n // return;\n // }\n if (!libVersionReported) {\n reportLibraryVersion();\n libVersionReported = true;\n }\n newrelic.addPageAction(componentPageAction, Object.assign(Object.assign({}, metadata), { component: element.tagName.toLowerCase(), version: packageInfo.version }));\n}\n/**\n * Sends a library usage page action the first time it is called, does nothing afterward.\n */\nfunction reportLibraryVersion() {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n const [major, minor, patch] = packageInfo.version.split('.');\n newrelic.addPageAction(libraryPageAction, {\n fullVersion: `${major}.${minor}.${patch}`,\n majorVersion: major,\n minorVersion: `${major}.${minor}`\n });\n}\n\nexport { trackComponent as t };\n"],"names":["modifyClassList","slotName","modification","sections","section","find","getSectionByName","ref","classList","GuxAccordion","hostRef","registerInstance","this","headingLevel","arrowPosition","trackComponent","root","children","Array","from","forEach","element","getAttribute","hidden","Boolean","push","getSections","h","class","map","onKeyDown","event","newSection","key","slot","currentIndex","findIndex","length","getPreviousSection","getNextSection","getLastSection","getFirstSection","querySelector","focus","onKeyboardNavigation","el","type","onClick","toggle","decorative","name","getElement","style","packageInfo","version","description","license","main","types","collection","files","scripts","build","clean","commit","dev","docs","format","i18n","lint","predev","prepare","release","stencil","test","dependencies","sortablejs","devDependencies","commitizen","concurrently","glob","handlebars","husky","inquirer","jest","jsdom","marked","prettier","puppeteer","rollup","stylelint","svgo","tslint","typescript","weekstart","xmldom","repository","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","libVersionReported","metadata","newrelic","window","split","major","minor","patch","addPageAction","fullVersion","majorVersion","minorVersion","reportLibraryVersion","Object","assign","component","tagName","toLowerCase"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[8025],{8025:function(e,t,i){i.r(t),i.d(t,{gux_toggle_slider:function(){return d}});var o=i(5671),s=i(3144),r=i(4723),d=function(){function e(t){(0,o.Z)(this,e),(0,r.r)(this,t),this.checked=!1,this.disabled=!1}return(0,s.Z)(e,[{key:"render",value:function(){return(0,r.h)("div",{class:{"gux-toggle-slider":!0,"gux-checked":this.checked,"gux-disabled":this.disabled},tabindex:this.disabled?"":"0",role:"presentation"},(0,r.h)("div",{class:"gux-slider"},(0,r.h)("div",{class:"gux-switch"},(0,r.h)("gux-icon",{"icon-name":"checkmark",decorative:!0}))))}}],[{key:"delegatesFocus",get:function(){return!0}}]),e}();d.style=":host{padding:2px;outline:none}.gux-toggle-slider{position:relative;display:inline-block;flex:0 1 auto;align-self:auto;order:0;width:30px;height:16px;border-radius:8px}.gux-toggle-slider.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}.gux-toggle-slider:focus{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-toggle-slider .gux-slider{position:absolute;top:0;right:0;bottom:0;left:0;background-color:#77828f;border-radius:8px;transition:background-color 0.5s ease}.gux-toggle-slider .gux-slider .gux-switch{position:absolute;bottom:1px;left:1px;width:14px;height:14px;content:'';background-color:#fdfdfd;border-radius:50%;transition:0.5s}.gux-toggle-slider .gux-slider .gux-switch gux-icon{position:absolute;top:0;right:0;bottom:0;left:0;width:12px;height:12px;padding:1px;color:#fdfdfd;opacity:0;transition:color 0.5s linear}.gux-toggle-slider.gux-checked .gux-slider{background-color:#2a60c8}.gux-toggle-slider.gux-checked .gux-slider .gux-switch{transform:translateX(14px)}.gux-toggle-slider.gux-checked .gux-slider .gux-switch gux-icon{color:#2a60c8;opacity:1;transition:opacity 0.25s linear;transition-delay:0.25s}"}}]);
2
+ //# sourceMappingURL=8025.ecb1d6bc.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/js/8025.ecb1d6bc.chunk.js","mappings":"qMAIIA,EAAe,WACjB,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GACvBE,KAAKC,SAAU,EACfD,KAAKE,UAAW,EAJD,qCAMjB,WACE,OAAQC,EAAAA,EAAAA,GAAE,MAAO,CAAEC,MAAO,CACtB,qBAAqB,EACrB,cAAeJ,KAAKC,QACpB,eAAgBD,KAAKE,UACpBG,SAAUL,KAAKE,SAAW,GAAK,IAAKI,KAAM,iBAAkBH,EAAAA,EAAAA,GAAE,MAAO,CAAEC,MAAO,eAAgBD,EAAAA,EAAAA,GAAE,MAAO,CAAEC,MAAO,eAAgBD,EAAAA,EAAAA,GAAE,WAAY,CAAE,YAAa,YAAaI,YAAY,UAX5K,2BAajB,WAA8B,OAAO,MAbpB,KAenBV,EAAgBW,MAjBW","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-toggle-slider.entry.js"],"sourcesContent":["import { r as registerInstance, h } from './index-5f3763b4.js';\n\nconst guxToggleSliderCss = \":host{padding:2px;outline:none}.gux-toggle-slider{position:relative;display:inline-block;flex:0 1 auto;align-self:auto;order:0;width:30px;height:16px;border-radius:8px}.gux-toggle-slider.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}.gux-toggle-slider:focus{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-toggle-slider .gux-slider{position:absolute;top:0;right:0;bottom:0;left:0;background-color:#77828f;border-radius:8px;transition:background-color 0.5s ease}.gux-toggle-slider .gux-slider .gux-switch{position:absolute;bottom:1px;left:1px;width:14px;height:14px;content:'';background-color:#fdfdfd;border-radius:50%;transition:0.5s}.gux-toggle-slider .gux-slider .gux-switch gux-icon{position:absolute;top:0;right:0;bottom:0;left:0;width:12px;height:12px;padding:1px;color:#fdfdfd;opacity:0;transition:color 0.5s linear}.gux-toggle-slider.gux-checked .gux-slider{background-color:#2a60c8}.gux-toggle-slider.gux-checked .gux-slider .gux-switch{transform:translateX(14px)}.gux-toggle-slider.gux-checked .gux-slider .gux-switch gux-icon{color:#2a60c8;opacity:1;transition:opacity 0.25s linear;transition-delay:0.25s}\";\n\nlet GuxToggleSlider = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.checked = false;\n this.disabled = false;\n }\n render() {\n return (h(\"div\", { class: {\n 'gux-toggle-slider': true,\n 'gux-checked': this.checked,\n 'gux-disabled': this.disabled\n }, tabindex: this.disabled ? '' : '0', role: \"presentation\" }, h(\"div\", { class: \"gux-slider\" }, h(\"div\", { class: \"gux-switch\" }, h(\"gux-icon\", { \"icon-name\": \"checkmark\", decorative: true })))));\n }\n static get delegatesFocus() { return true; }\n};\nGuxToggleSlider.style = guxToggleSliderCss;\n\nexport { GuxToggleSlider as gux_toggle_slider };\n"],"names":["GuxToggleSlider","hostRef","registerInstance","this","checked","disabled","h","class","tabindex","role","decorative","style"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[8086],{8086:function(n,t,e){e.r(t),e.d(t,{gux_menu_option:function(){return p}});var o=e(4165),u=e(5861),r=e(5671),i=e(3144),a=e(4723),c=e(8718),p=function(){function n(t){(0,r.Z)(this,n),(0,a.r)(this,t)}return(0,i.Z)(n,[{key:"guxFocus",value:function(){var n=(0,u.Z)((0,o.Z)().mark((function n(){return(0,o.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:this.buttonElement.focus();case 1:case"end":return n.stop()}}),n,this)})));return function(){return n.apply(this,arguments)}}()},{key:"onKeydown",value:function(n){switch((0,c.a)(n,this.root),n.key){case"ArrowRight":case"Enter":n.stopPropagation()}}},{key:"render",value:function(){var n=this;return(0,a.h)("button",{type:"button",class:"gux-menu-option-button",role:"menuitem","aria-haspopup":"false",tabIndex:-1,ref:function(t){return n.buttonElement=t}},(0,a.h)("span",{class:"gux-menu-option-button-text"},(0,a.h)("slot",null)))}},{key:"root",get:function(){return(0,a.g)(this)}}]),n}();p.style="gux-menu-option{display:block;flex:1 1 auto;align-self:auto}gux-menu-option .gux-menu-option-button{all:unset;width:100%;width:125px;height:32px;padding:0 16px;line-height:32px;color:#33383d;background-color:#fdfdfd}gux-menu-option .gux-menu-option-button:focus-within,gux-menu-option .gux-menu-option-button:hover{color:#fdfdfd;background-color:#2a60c8}gux-menu-option .gux-menu-option-button:enabled{cursor:pointer}gux-menu-option .gux-menu-option-button .gux-menu-option-button-text{display:block;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}"},8718:function(n,t,e){e.d(t,{a:function(){return r},h:function(){return o},m:function(){return u}});var o=250,u=100;function r(n,t){switch(n.key){case"ArrowUp":n.stopPropagation(),n.preventDefault(),function(n){var t=n.previousElementSibling;t?t.guxFocus():a(n)}(t);break;case"ArrowDown":n.stopPropagation(),n.preventDefault(),function(n){var t=n.nextElementSibling;t?t.guxFocus():i(n)}(t);break;case"ArrowRight":case"ArrowLeft":n.preventDefault();break;case"Home":n.stopPropagation(),n.preventDefault(),i(t);break;case"End":n.stopPropagation(),n.preventDefault(),a(t)}}function i(n){var t=function(n){var t=n;for(;null!==t.previousElementSibling;)t=t.previousElementSibling;return t}(n);t&&t.guxFocus()}function a(n){var t=function(n){var t=n;for(;null!==t.nextElementSibling;)t=t.nextElementSibling;return t}(n);t&&t.guxFocus()}}}]);
2
+ //# sourceMappingURL=8086.ef9f2d3b.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/js/8086.ef9f2d3b.chunk.js","mappings":"iOAKIA,EAAa,WACf,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GAFV,gFAOf,mFACEE,KAAKC,cAAcC,QADrB,gDAPe,6EAUf,SAAUC,GAER,QADAC,EAAAA,EAAAA,GAAeD,EAAOH,KAAKK,MACnBF,EAAMG,KACZ,IAAK,aACL,IAAK,QACHH,EAAMI,qBAfG,oBAmBf,WAAS,WACP,OAAQC,EAAAA,EAAAA,GAAE,SAAU,CAAEC,KAAM,SAAUC,MAAO,yBAA0BC,KAAM,WAAY,gBAAiB,QAASC,UAAW,EAAGC,IAAK,SAAAC,GAAE,OAAK,EAAKb,cAAgBa,KAAON,EAAAA,EAAAA,GAAE,OAAQ,CAAEE,MAAO,gCAAiCF,EAAAA,EAAAA,GAAE,OAAQ,UApB1N,gBAsBf,WAAa,OAAOO,EAAAA,EAAAA,GAAWf,UAtBhB,KAwBjBH,EAAcmB,MA1BW,ojB,mGCHzB,IAAMC,EAAY,IACZC,EAAiB,IACvB,SAASd,EAAeD,EAAOgB,GAC7B,OAAQhB,EAAMG,KACZ,IAAK,UACHH,EAAMI,kBACNJ,EAAMiB,iBAsCZ,SAAkCD,GAChC,IAAME,EAA2BF,EAAeG,uBAC5CD,EACFA,EAAyBE,WAGzBC,EAAiBL,GA3CfM,CAAyBN,GACzB,MACF,IAAK,YACHhB,EAAMI,kBACNJ,EAAMiB,iBA0CZ,SAA8BD,GAC5B,IAAMO,EAAuBP,EAAeQ,mBACxCD,EACFA,EAAqBH,WAGrBK,EAAkBT,GA/ChBU,CAAqBV,GACrB,MACF,IAAK,aAGL,IAAK,YACHhB,EAAMiB,iBACN,MACF,IAAK,OACHjB,EAAMI,kBACNJ,EAAMiB,iBACNQ,EAAkBT,GAClB,MACF,IAAK,MACHhB,EAAMI,kBACNJ,EAAMiB,iBACNI,EAAiBL,IAIvB,SAASS,EAAkBT,GACzB,IAAMW,EA6BR,SAAkCX,GAChC,IAAIW,EAAwBX,EAC5B,KAAwD,OAAjDW,EAAsBR,wBAC3BQ,EAAwBA,EAAsBR,uBAEhD,OAAOQ,EAlCuBC,CAAyBZ,GACnDW,GACFA,EAAsBP,WAG1B,SAASC,EAAiBL,GACxB,IAAMa,EA8BR,SAAiCb,GAC/B,IAAIa,EAAuBb,EAC3B,KAAmD,OAA5Ca,EAAqBL,oBAC1BK,EAAuBA,EAAqBL,mBAE9C,OAAOK,EAnCsBC,CAAwBd,GACjDa,GACFA,EAAqBT","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-menu-option.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/gux-menu.common-af63e16f.js"],"sourcesContent":["import { r as registerInstance, h, g as getElement } from './index-5f3763b4.js';\nimport { a as menuNavigation } from './gux-menu.common-af63e16f.js';\n\nconst guxMenuOptionCss = \"gux-menu-option{display:block;flex:1 1 auto;align-self:auto}gux-menu-option .gux-menu-option-button{all:unset;width:100%;width:125px;height:32px;padding:0 16px;line-height:32px;color:#33383d;background-color:#fdfdfd}gux-menu-option .gux-menu-option-button:focus-within,gux-menu-option .gux-menu-option-button:hover{color:#fdfdfd;background-color:#2a60c8}gux-menu-option .gux-menu-option-button:enabled{cursor:pointer}gux-menu-option .gux-menu-option-button .gux-menu-option-button-text{display:block;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}\";\n\nlet GuxMenuOption = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n }\n /**\n * Focus on the components button element\n */\n async guxFocus() {\n this.buttonElement.focus();\n }\n onKeydown(event) {\n menuNavigation(event, this.root);\n switch (event.key) {\n case 'ArrowRight':\n case 'Enter':\n event.stopPropagation();\n break;\n }\n }\n render() {\n return (h(\"button\", { type: \"button\", class: \"gux-menu-option-button\", role: \"menuitem\", \"aria-haspopup\": \"false\", tabIndex: -1, ref: el => (this.buttonElement = el) }, h(\"span\", { class: \"gux-menu-option-button-text\" }, h(\"slot\", null))));\n }\n get root() { return getElement(this); }\n};\nGuxMenuOption.style = guxMenuOptionCss;\n\nexport { GuxMenuOption as gux_menu_option };\n","const hideDelay = 250;\nconst moveFocusDelay = 100;\nfunction menuNavigation(event, currentElement) {\n switch (event.key) {\n case 'ArrowUp':\n event.stopPropagation();\n event.preventDefault();\n focusPreviousSiblingLoop(currentElement);\n break;\n case 'ArrowDown':\n event.stopPropagation();\n event.preventDefault();\n focusNextSiblingLoop(currentElement);\n break;\n case 'ArrowRight':\n event.preventDefault();\n break;\n case 'ArrowLeft':\n event.preventDefault();\n break;\n case 'Home':\n event.stopPropagation();\n event.preventDefault();\n focusFirstSibling(currentElement);\n break;\n case 'End':\n event.stopPropagation();\n event.preventDefault();\n focusLastSibling(currentElement);\n break;\n }\n}\nfunction focusFirstSibling(currentElement) {\n const firstFocusableElement = getFirstFocusableElement(currentElement);\n if (firstFocusableElement) {\n firstFocusableElement.guxFocus();\n }\n}\nfunction focusLastSibling(currentElement) {\n const lastFocusableElement = getLastFocusableElement(currentElement);\n if (lastFocusableElement) {\n lastFocusableElement.guxFocus();\n }\n}\nfunction focusPreviousSiblingLoop(currentElement) {\n const previousFocusableElement = currentElement.previousElementSibling;\n if (previousFocusableElement) {\n previousFocusableElement.guxFocus();\n }\n else {\n focusLastSibling(currentElement);\n }\n}\nfunction focusNextSiblingLoop(currentElement) {\n const nextFocusableElement = currentElement.nextElementSibling;\n if (nextFocusableElement) {\n nextFocusableElement.guxFocus();\n }\n else {\n focusFirstSibling(currentElement);\n }\n}\nfunction getFirstFocusableElement(currentElement) {\n let firstFocusableElement = currentElement;\n while (firstFocusableElement.previousElementSibling !== null) {\n firstFocusableElement = firstFocusableElement.previousElementSibling;\n }\n return firstFocusableElement;\n}\nfunction getLastFocusableElement(currentElement) {\n let lastFocusableElement = currentElement;\n while (lastFocusableElement.nextElementSibling !== null) {\n lastFocusableElement = lastFocusableElement.nextElementSibling;\n }\n return lastFocusableElement;\n}\n\nexport { menuNavigation as a, hideDelay as h, moveFocusDelay as m };\n"],"names":["GuxMenuOption","hostRef","registerInstance","this","buttonElement","focus","event","menuNavigation","root","key","stopPropagation","h","type","class","role","tabIndex","ref","el","getElement","style","hideDelay","moveFocusDelay","currentElement","preventDefault","previousFocusableElement","previousElementSibling","guxFocus","focusLastSibling","focusPreviousSiblingLoop","nextFocusableElement","nextElementSibling","focusFirstSibling","focusNextSiblingLoop","firstFocusableElement","getFirstFocusableElement","lastFocusableElement","getLastFocusableElement"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[8105],{8105:function(t,e,n){n.r(e),n.d(e,{gux_modal:function(){return a}});var s=n(5671),o=n(3144),i=n(4723),l=n(8125),a=function(){function t(e){(0,s.Z)(this,t),(0,i.r)(this,e),this.guxdismiss=(0,i.c)(this,"guxdismiss",7),this.size="dynamic",this.trapFocus=!1}return(0,o.Z)(t,[{key:"handleKeyEvent",value:function(t){"Escape"===t.key&&this.onDismissHandler(t)}},{key:"connectedCallback",value:function(){this.triggerElement=document.activeElement}},{key:"componentWillLoad",value:function(){var t=this.trapFocus?"trapfocuson":"trapfocusoff",e="".concat(this.size,"-").concat(t);(0,l.t)(this.root,{variant:e})}},{key:"componentDidLoad",value:function(){var t,e,n,s=this.getInitialFocusElement();s?("GUX-BUTTON"===s.tagName&&s.focusElement(),null===(t=s.focus)||void 0===t||t.call(s)):this.dismissButton&&(null===(n=(e=this.dismissButton).focus)||void 0===n||n.call(e))}},{key:"render",value:function(){var t=this,e=this.hasModalTitleSlot(),n=this.hasFooterButtons();return(0,i.h)("div",{class:"gux-modal"},(0,i.h)("div",{class:"gux-modal-container gux-".concat(this.size)},this.renderModalTrapFocusEl(),(0,i.h)("gux-dismiss-button-beta",{onClick:this.onDismissHandler.bind(this),ref:function(e){return t.dismissButton=e}}),e&&(0,i.h)("h1",{class:"gux-modal-header"},(0,i.h)("slot",{name:"title"})),(0,i.h)("div",{class:{"gux-modal-content":!0,"gux-no-buttons":!n}},(0,i.h)("p",null,(0,i.h)("slot",{name:"content"}))),n&&(0,i.h)("div",{class:"gux-button-footer"},(0,i.h)("div",{class:"gux-left-align-buttons"},(0,i.h)("slot",{name:"left-align-buttons"})),(0,i.h)("div",{class:"gux-right-align-buttons"},(0,i.h)("slot",{name:"right-align-buttons"}))),this.renderModalTrapFocusEl()))}},{key:"renderModalTrapFocusEl",value:function(){var t=this;if(this.trapFocus)return(0,i.h)("span",{onFocus:function(){return t.dismissButton.focus()},tabindex:"0"})}},{key:"getInitialFocusElement",value:function(){return this.initialFocus?this.root.querySelector(this.initialFocus):void 0}},{key:"hasModalTitleSlot",value:function(){return Boolean(this.root.querySelector('[slot="title"]'))}},{key:"hasFooterButtons",value:function(){return Boolean(this.root.querySelector('[slot="left-align-buttons"]'))||Boolean(this.root.querySelector('[slot="right-align-buttons"]'))}},{key:"onDismissHandler",value:function(t){var e;t.stopPropagation(),this.guxdismiss.emit().defaultPrevented||(this.root.remove(),null===(e=this.triggerElement)||void 0===e||e.focus())}},{key:"root",get:function(){return(0,i.g)(this)}}]),t}();a.style="gux-modal .gux-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1;display:flex;align-items:center;justify-content:center;color:#33383d;background:rgba(34, 37, 41, 0.8)}gux-modal .gux-modal .gux-modal-container{box-shadow:0 8px 24px rgba(34, 37, 41, 0.4);position:relative;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;padding:40px;background:#fdfdfd;border:1px solid #aeb9c6;border-radius:4px}gux-modal .gux-modal .gux-modal-container.gux-small{width:416px;max-height:min(368px, 100vh - 2 * 24px)}gux-modal .gux-modal .gux-modal-container.gux-medium{width:672px;max-height:min(640px, 100vh - 2 * 24px)}gux-modal .gux-modal .gux-modal-container.gux-large{width:940px;max-height:min(640px, 100vh - 2 * 24px)}gux-modal .gux-modal .gux-modal-container.gux-dynamic{max-width:calc(100vw - 2 * 24px);max-height:calc(100vh - 2 * 24px)}gux-modal .gux-modal .gux-modal-container.gux-dynamic .gux-modal-content{max-height:none}gux-modal .gux-modal .gux-modal-container .gux-modal-header{padding-bottom:24px;margin:0;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}gux-modal .gux-modal .gux-modal-container .gux-modal-content{max-height:432px;margin:0 8px 24px 8px;overflow-y:auto}gux-modal .gux-modal .gux-modal-container .gux-modal-content.gux-no-buttons{margin-bottom:0}gux-modal .gux-modal .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between}gux-modal .gux-modal .gux-modal-container .gux-button-footer .gux-left-align-buttons gux-button{padding-right:5px}gux-modal .gux-modal .gux-modal-container .gux-button-footer .gux-right-align-buttons gux-button{padding-left:5px}@media (max-width: 416px){gux-modal .gux-modal .gux-modal-container.gux-small,gux-modal .gux-modal .gux-modal-container.gux-medium,gux-modal .gux-modal .gux-modal-container.gux-large{width:100%;height:100%}}.gux-modal-dark-theme{color:#fdfdfd}.gux-modal-dark-theme .gux-modal-container{background:#33383d}.gux-dark-theme gux-modal{color:#fdfdfd}.gux-dark-theme gux-modal .gux-modal-container{background:#33383d}gux-modal.gux-dark-theme{color:#fdfdfd}gux-modal.gux-dark-theme .gux-modal-container{background:#33383d}"},8125:function(t,e,n){n.d(e,{t:function(){return a}});var s=n(885),o={name:"@genesys/common-webcomponents",version:"2.55.3",description:"Common webcomponents",license:"MIT",main:"dist/stencil-wrapper.js",types:"dist/types/index.d.ts",collection:"dist/collection/collection-manifest.json",files:["dist/"],scripts:{build:"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper","build-wrapper":"./scripts/wrap-stencil.js","check-readmes":"./scripts/check-readmes.sh",clean:"rm -r ./dist || true",commit:"git-cz","create-component":"node scripts/create-component.js",dev:'npx concurrently "npm run stencil.dev" "npm run docs.dev"',"dev.public":'npx concurrently "npm run stencil.dev" "npm run docs.dev.public"',docs:"cd ./docs && npm run build","docs.dev":"cd ./docs && npm run start","docs.dev.public":"cd ./docs && npm run start -- --host 0.0.0.0",format:'prettier "./**/*.{ts,tsx,js,jsx,json,css,html,less}"',"format.check":"npm run format -- --check","format.fix":"npm run format -- --write","generate-start-of-week-file":"./scripts/generate-start-of-week-file.js","generate-versions-file":"./scripts/generate-versions-file.mjs",i18n:"npm run generate-start-of-week-file && ./scripts/build-i18n.js",lint:"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg","lint.commit":"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae","lint.css":"npx stylelint '**/*.{css,html,less}' --fix","lint.fix":"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix","lint.svg":"svgo -f ./src/components/stable/gux-icon/icons","lint.ts":"tslint --project .","list-component-tracking":"./scripts/list-component-tracking.js","list-shadow-explicitly-set":"./scripts/list-shadow-explicitly-set.js","list-i18n-files":"./scripts/list-i18n-files.js",predev:"npm run i18n","predev.public":"npm run predev",prepare:"./scripts/prepare-docs.sh && npm run i18n && husky install",release:"standard-version",stencil:"stencil build --prod","stencil.dev":"stencil build --dev --watch --docs",test:"stencil test --spec --e2e","test.ci":"npm run test.ci.spec && npm run test.ci.e2e","test.ci.spec":"stencil test --spec","test.ci.e2e":"stencil test --e2e --max-workers=1","test.e2e":"stencil test --e2e","test.e2e.update-snapshot":"stencil test --e2e --updateSnapshot","test.screenshot":"stencil test --e2e --screenshot","test.unit":"stencil build dev && stencil test --spec","test.unit.update-snapshot":"stencil test --spec --updateSnapshot","test.update-snapshot":"stencil test --spec --e2e --updateSnapshot","test.watch":"stencil test --spec --e2e --watchAll"},dependencies:{"@popperjs/core":"^2.10.2","intl-messageformat":"~9.4.9","requestanimationframe-timer":"^3.0.3",sortablejs:"^1.14.0","stencil-click-outside":"^1.7.1"},devDependencies:{"@babel/core":"^7.15.8","@babel/preset-env":"^7.15.8","@commitlint/cli":"^13.2.1","@commitlint/config-conventional":"^13.2.0","@rollup/plugin-replace":"^3.0.0","@stencil/core":"^2.9.0","@stencil/less":"^1.0.0","@stencil/utils":"0.0.5","@types/jest":"^26.0.24","@types/jsdom":"^16.2.13","@types/new-relic-browser":"^0.1118.2","@types/puppeteer":"^5.4.4","@types/resize-observer-browser":"^0.1.6","@types/sortablejs":"^1.10.7","axe-live":"^0.1.0","babel-loader":"^8.2.3",commitizen:"^4.2.4",concurrently:"^6.3.0","cz-conventional-changelog":"^3.3.0","file-loader":"^6.2.0",glob:"^7.2.0",handlebars:"^4.7.7",husky:"^7.0.4",inquirer:"^8.2.0",jest:"^26.6.3","jest-cli":"^26.6.3","jest-config":"^26.6.3","jest-environment-node":"^26.6.2","jest-junit":"^13.0.0",jsdom:"^18.0.0","lint-staged":"^11.2.3",marked:"^3.0.7","mutation-observer":"^1.0.3","node-fetch":"^3.2.1",prettier:"^2.4.1",puppeteer:"^10.4.0",rollup:"^2.58.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-less":"^1.1.3","semver-sort":"^1.0.0","standard-version":"^9.3.2",stylelint:"^13.13.1","stylelint-config-prettier":"^9.0.3","stylelint-config-recess-order":"^2.5.0","stylelint-config-standard":"^22.0.0",svgo:"^2.7.0","ts-loader":"^9.2.6",tslint:"^6.1.3","tslint-config-prettier":"^1.18.0",typescript:"^3.9.10",weekstart:"^1.1.0",xmldom:"^0.6.0"},repository:{type:"git",url:"git+bitbucket.org:inindca/genesys-webcomponents.git"},config:{commitizen:{path:"./node_modules/cz-conventional-changelog"}},commitlint:{extends:["@commitlint/config-conventional"],rules:{"subject-case":[2,"never",["pascal-case","upper-case"]]}},stylelint:{extends:["stylelint-config-standard","stylelint-config-recess-order","stylelint-config-prettier"],rules:{"no-descending-specificity":null,"no-duplicate-selectors":null,"selector-type-no-unknown":[!0,{ignoreTypes:["/^gux-/","lineargradient"]}]}},"lint-staged":{"*.{css,html,less}":["stylelint --fix","prettier --write"],"*.{ts,tsx}":["tslint --fix","prettier --write"],"*.{js,jsx,json}":"prettier --write","*.svg":"svgo -i"}},i="spark-library",l=!1;function a(t,e){var n=window.newrelic;n&&(l||(!function(){var t=window.newrelic;if(!t)return;var e=o.version.split("."),n=(0,s.Z)(e,3),l=n[0],a=n[1],r=n[2];t.addPageAction(i,{fullVersion:"".concat(l,".").concat(a,".").concat(r),majorVersion:l,minorVersion:"".concat(l,".").concat(a)})}(),l=!0),n.addPageAction("spark-component",Object.assign(Object.assign({},e),{component:t.tagName.toLowerCase(),version:o.version})))}}}]);
2
+ //# sourceMappingURL=8105.46b996bf.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/js/8105.46b996bf.chunk.js","mappings":"uMAKIA,EAAQ,WACV,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GACvBE,KAAKC,YAAaC,EAAAA,EAAAA,GAAYF,KAAM,aAAc,GAIlDA,KAAKG,KAAO,UACZH,KAAKI,WAAY,EART,6CAUV,SAAeC,GACK,WAAdA,EAAMC,KACRN,KAAKO,iBAAiBF,KAZhB,+BAeV,WACEL,KAAKQ,eAAiBC,SAASC,gBAhBvB,+BAkBV,WACE,IAAMC,EAAmBX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CACjB,QAAW,CACV,4BACA,gCACA,6BAEDY,MAAO,CACN,4BAA6B,KAC7B,yBAA0B,KAC1B,2BAA4B,EAC3B,EACA,CACCC,YAAa,CACZ,UACA,sBAsBJ,cAAe,CACf,oBAAqB,CACpB,kBACA,oBAED,aAAc,CACb,eACA,oBAED,kBAAmB,mBACnB,QAAS,YAIJC,EAAoB,gBAEtBC,GAAqB,EAKzB,SAASvF,EAAewF,EAASC,GAC/B,IAAMC,EAAWC,OAAOD,SACnBA,IAMAH,KASP,WACE,IAAMG,EAAWC,OAAOD,SACxB,IAAKA,EACH,OAEF,MAA8BvD,EAAYC,QAAQwD,MAAM,KAAxD,eAAOC,EAAP,KAAcC,EAAd,KAAqBC,EAArB,KACAL,EAASM,cAAcV,EAAmB,CACxCW,YAAa,GAAF,OAAKJ,EAAL,YAAcC,EAAd,YAAuBC,GAClCG,aAAcL,EACdM,aAAc,GAAF,OAAKN,EAAL,YAAcC,KAjB1BM,GACAb,GAAqB,GAEvBG,EAASM,cAlBiB,kBAkBkBK,OAAOC,OAAOD,OAAOC,OAAO,GAAIb,GAAW,CAAEc,UAAWf,EAAQhF,QAAQgG,cAAepE,QAASD,EAAYC","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-modal.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-e9646da2.js"],"sourcesContent":["import { r as registerInstance, c as createEvent, h, g as getElement } from './index-5f3763b4.js';\nimport { t as trackComponent } from './usage-tracking-e9646da2.js';\n\nconst guxModalCss = \"gux-modal .gux-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1;display:flex;align-items:center;justify-content:center;color:#33383d;background:rgba(34, 37, 41, 0.8)}gux-modal .gux-modal .gux-modal-container{box-shadow:0 8px 24px rgba(34, 37, 41, 0.4);position:relative;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;padding:40px;background:#fdfdfd;border:1px solid #aeb9c6;border-radius:4px}gux-modal .gux-modal .gux-modal-container.gux-small{width:416px;max-height:min(368px, 100vh - 2 * 24px)}gux-modal .gux-modal .gux-modal-container.gux-medium{width:672px;max-height:min(640px, 100vh - 2 * 24px)}gux-modal .gux-modal .gux-modal-container.gux-large{width:940px;max-height:min(640px, 100vh - 2 * 24px)}gux-modal .gux-modal .gux-modal-container.gux-dynamic{max-width:calc(100vw - 2 * 24px);max-height:calc(100vh - 2 * 24px)}gux-modal .gux-modal .gux-modal-container.gux-dynamic .gux-modal-content{max-height:none}gux-modal .gux-modal .gux-modal-container .gux-modal-header{padding-bottom:24px;margin:0;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}gux-modal .gux-modal .gux-modal-container .gux-modal-content{max-height:432px;margin:0 8px 24px 8px;overflow-y:auto}gux-modal .gux-modal .gux-modal-container .gux-modal-content.gux-no-buttons{margin-bottom:0}gux-modal .gux-modal .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between}gux-modal .gux-modal .gux-modal-container .gux-button-footer .gux-left-align-buttons gux-button{padding-right:5px}gux-modal .gux-modal .gux-modal-container .gux-button-footer .gux-right-align-buttons gux-button{padding-left:5px}@media (max-width: 416px){gux-modal .gux-modal .gux-modal-container.gux-small,gux-modal .gux-modal .gux-modal-container.gux-medium,gux-modal .gux-modal .gux-modal-container.gux-large{width:100%;height:100%}}.gux-modal-dark-theme{color:#fdfdfd}.gux-modal-dark-theme .gux-modal-container{background:#33383d}.gux-dark-theme gux-modal{color:#fdfdfd}.gux-dark-theme gux-modal .gux-modal-container{background:#33383d}gux-modal.gux-dark-theme{color:#fdfdfd}gux-modal.gux-dark-theme .gux-modal-container{background:#33383d}\";\n\nlet GuxModal = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.guxdismiss = createEvent(this, \"guxdismiss\", 7);\n /**\n * Indicates the size of the modal (small, medium or large)\n */\n this.size = 'dynamic';\n this.trapFocus = false;\n }\n handleKeyEvent(event) {\n if (event.key === 'Escape') {\n this.onDismissHandler(event);\n }\n }\n connectedCallback() {\n this.triggerElement = document.activeElement;\n }\n componentWillLoad() {\n const trapFocusVariant = this.trapFocus ? 'trapfocuson' : 'trapfocusoff';\n const componentVariant = `${this.size}-${trapFocusVariant}`;\n trackComponent(this.root, { variant: componentVariant });\n }\n componentDidLoad() {\n var _a, _b, _c;\n const initialFocusElement = this.getInitialFocusElement();\n if (initialFocusElement) {\n if (initialFocusElement.tagName === 'GUX-BUTTON') {\n initialFocusElement.focusElement();\n }\n // using .focus?.() instead of .focus() as a workaround for a Stencil bug in unit tests\n // https://github.com/ionic-team/stencil/issues/1964\n (_a = initialFocusElement.focus) === null || _a === void 0 ? void 0 : _a.call(initialFocusElement);\n }\n else if (this.dismissButton) {\n (_c = (_b = this.dismissButton).focus) === null || _c === void 0 ? void 0 : _c.call(_b);\n }\n }\n render() {\n const hasModalTitleSlot = this.hasModalTitleSlot();\n const hasFooterButtons = this.hasFooterButtons();\n return (h(\"div\", { class: \"gux-modal\" }, h(\"div\", { class: `gux-modal-container gux-${this.size}` }, this.renderModalTrapFocusEl(), h(\"gux-dismiss-button-beta\", { onClick: this.onDismissHandler.bind(this), ref: el => (this.dismissButton = el) }), hasModalTitleSlot && (h(\"h1\", { class: \"gux-modal-header\" }, h(\"slot\", { name: \"title\" }))), h(\"div\", { class: {\n 'gux-modal-content': true,\n 'gux-no-buttons': !hasFooterButtons\n } }, h(\"p\", null, h(\"slot\", { name: \"content\" }))), hasFooterButtons && (h(\"div\", { class: \"gux-button-footer\" }, h(\"div\", { class: \"gux-left-align-buttons\" }, h(\"slot\", { name: \"left-align-buttons\" })), h(\"div\", { class: \"gux-right-align-buttons\" }, h(\"slot\", { name: \"right-align-buttons\" })))), this.renderModalTrapFocusEl())));\n }\n // When trap-focus is enabled, focusing this element\n // will immediately redirect focus back to the dismiss button at the top of the modal.\n renderModalTrapFocusEl() {\n if (this.trapFocus) {\n return (h(\"span\", { onFocus: () => this.dismissButton.focus(), tabindex: \"0\" }));\n }\n }\n getInitialFocusElement() {\n return this.initialFocus\n ? this.root.querySelector(this.initialFocus)\n : undefined;\n }\n hasModalTitleSlot() {\n return Boolean(this.root.querySelector('[slot=\"title\"]'));\n }\n hasFooterButtons() {\n return (Boolean(this.root.querySelector('[slot=\"left-align-buttons\"]')) ||\n Boolean(this.root.querySelector('[slot=\"right-align-buttons\"]')));\n }\n onDismissHandler(event) {\n var _a;\n event.stopPropagation();\n const dismissEvent = this.guxdismiss.emit();\n if (!dismissEvent.defaultPrevented) {\n this.root.remove();\n (_a = this.triggerElement) === null || _a === void 0 ? void 0 : _a.focus();\n }\n }\n get root() { return getElement(this); }\n};\nGuxModal.style = guxModalCss;\n\nexport { GuxModal as gux_modal };\n","const name = \"@genesys/common-webcomponents\";\nconst version = \"2.55.3\";\nconst description = \"Common webcomponents\";\nconst license = \"MIT\";\nconst main = \"dist/stencil-wrapper.js\";\nconst types = \"dist/types/index.d.ts\";\nconst collection = \"dist/collection/collection-manifest.json\";\nconst files = [\n\t\"dist/\"\n];\nconst scripts = {\n\tbuild: \"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper\",\n\t\"build-wrapper\": \"./scripts/wrap-stencil.js\",\n\t\"check-readmes\": \"./scripts/check-readmes.sh\",\n\tclean: \"rm -r ./dist || true\",\n\tcommit: \"git-cz\",\n\t\"create-component\": \"node scripts/create-component.js\",\n\tdev: \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev\\\"\",\n\t\"dev.public\": \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev.public\\\"\",\n\tdocs: \"cd ./docs && npm run build\",\n\t\"docs.dev\": \"cd ./docs && npm run start\",\n\t\"docs.dev.public\": \"cd ./docs && npm run start -- --host 0.0.0.0\",\n\tformat: \"prettier \\\"./**/*.{ts,tsx,js,jsx,json,css,html,less}\\\"\",\n\t\"format.check\": \"npm run format -- --check\",\n\t\"format.fix\": \"npm run format -- --write\",\n\t\"generate-start-of-week-file\": \"./scripts/generate-start-of-week-file.js\",\n\t\"generate-versions-file\": \"./scripts/generate-versions-file.mjs\",\n\ti18n: \"npm run generate-start-of-week-file && ./scripts/build-i18n.js\",\n\tlint: \"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg\",\n\t\"lint.commit\": \"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae\",\n\t\"lint.css\": \"npx stylelint '**/*.{css,html,less}' --fix\",\n\t\"lint.fix\": \"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix\",\n\t\"lint.svg\": \"svgo -f ./src/components/stable/gux-icon/icons\",\n\t\"lint.ts\": \"tslint --project .\",\n\t\"list-component-tracking\": \"./scripts/list-component-tracking.js\",\n\t\"list-shadow-explicitly-set\": \"./scripts/list-shadow-explicitly-set.js\",\n\t\"list-i18n-files\": \"./scripts/list-i18n-files.js\",\n\tpredev: \"npm run i18n\",\n\t\"predev.public\": \"npm run predev\",\n\tprepare: \"./scripts/prepare-docs.sh && npm run i18n && husky install\",\n\trelease: \"standard-version\",\n\tstencil: \"stencil build --prod\",\n\t\"stencil.dev\": \"stencil build --dev --watch --docs\",\n\ttest: \"stencil test --spec --e2e\",\n\t\"test.ci\": \"npm run test.ci.spec && npm run test.ci.e2e\",\n\t\"test.ci.spec\": \"stencil test --spec\",\n\t\"test.ci.e2e\": \"stencil test --e2e --max-workers=1\",\n\t\"test.e2e\": \"stencil test --e2e\",\n\t\"test.e2e.update-snapshot\": \"stencil test --e2e --updateSnapshot\",\n\t\"test.screenshot\": \"stencil test --e2e --screenshot\",\n\t\"test.unit\": \"stencil build dev && stencil test --spec\",\n\t\"test.unit.update-snapshot\": \"stencil test --spec --updateSnapshot\",\n\t\"test.update-snapshot\": \"stencil test --spec --e2e --updateSnapshot\",\n\t\"test.watch\": \"stencil test --spec --e2e --watchAll\"\n};\nconst dependencies = {\n\t\"@popperjs/core\": \"^2.10.2\",\n\t\"intl-messageformat\": \"~9.4.9\",\n\t\"requestanimationframe-timer\": \"^3.0.3\",\n\tsortablejs: \"^1.14.0\",\n\t\"stencil-click-outside\": \"^1.7.1\"\n};\nconst devDependencies = {\n\t\"@babel/core\": \"^7.15.8\",\n\t\"@babel/preset-env\": \"^7.15.8\",\n\t\"@commitlint/cli\": \"^13.2.1\",\n\t\"@commitlint/config-conventional\": \"^13.2.0\",\n\t\"@rollup/plugin-replace\": \"^3.0.0\",\n\t\"@stencil/core\": \"^2.9.0\",\n\t\"@stencil/less\": \"^1.0.0\",\n\t\"@stencil/utils\": \"0.0.5\",\n\t\"@types/jest\": \"^26.0.24\",\n\t\"@types/jsdom\": \"^16.2.13\",\n\t\"@types/new-relic-browser\": \"^0.1118.2\",\n\t\"@types/puppeteer\": \"^5.4.4\",\n\t\"@types/resize-observer-browser\": \"^0.1.6\",\n\t\"@types/sortablejs\": \"^1.10.7\",\n\t\"axe-live\": \"^0.1.0\",\n\t\"babel-loader\": \"^8.2.3\",\n\tcommitizen: \"^4.2.4\",\n\tconcurrently: \"^6.3.0\",\n\t\"cz-conventional-changelog\": \"^3.3.0\",\n\t\"file-loader\": \"^6.2.0\",\n\tglob: \"^7.2.0\",\n\thandlebars: \"^4.7.7\",\n\thusky: \"^7.0.4\",\n\tinquirer: \"^8.2.0\",\n\tjest: \"^26.6.3\",\n\t\"jest-cli\": \"^26.6.3\",\n\t\"jest-config\": \"^26.6.3\",\n\t\"jest-environment-node\": \"^26.6.2\",\n\t\"jest-junit\": \"^13.0.0\",\n\tjsdom: \"^18.0.0\",\n\t\"lint-staged\": \"^11.2.3\",\n\tmarked: \"^3.0.7\",\n\t\"mutation-observer\": \"^1.0.3\",\n\t\"node-fetch\": \"^3.2.1\",\n\tprettier: \"^2.4.1\",\n\tpuppeteer: \"^10.4.0\",\n\trollup: \"^2.58.0\",\n\t\"rollup-plugin-copy\": \"^3.4.0\",\n\t\"rollup-plugin-less\": \"^1.1.3\",\n\t\"semver-sort\": \"^1.0.0\",\n\t\"standard-version\": \"^9.3.2\",\n\tstylelint: \"^13.13.1\",\n\t\"stylelint-config-prettier\": \"^9.0.3\",\n\t\"stylelint-config-recess-order\": \"^2.5.0\",\n\t\"stylelint-config-standard\": \"^22.0.0\",\n\tsvgo: \"^2.7.0\",\n\t\"ts-loader\": \"^9.2.6\",\n\ttslint: \"^6.1.3\",\n\t\"tslint-config-prettier\": \"^1.18.0\",\n\ttypescript: \"^3.9.10\",\n\tweekstart: \"^1.1.0\",\n\txmldom: \"^0.6.0\"\n};\nconst repository = {\n\ttype: \"git\",\n\turl: \"git+bitbucket.org:inindca/genesys-webcomponents.git\"\n};\nconst config = {\n\tcommitizen: {\n\t\tpath: \"./node_modules/cz-conventional-changelog\"\n\t}\n};\nconst commitlint = {\n\t\"extends\": [\n\t\t\"@commitlint/config-conventional\"\n\t],\n\trules: {\n\t\t\"subject-case\": [\n\t\t\t2,\n\t\t\t\"never\",\n\t\t\t[\n\t\t\t\t\"pascal-case\",\n\t\t\t\t\"upper-case\"\n\t\t\t]\n\t\t]\n\t}\n};\nconst stylelint = {\n\t\"extends\": [\n\t\t\"stylelint-config-standard\",\n\t\t\"stylelint-config-recess-order\",\n\t\t\"stylelint-config-prettier\"\n\t],\n\trules: {\n\t\t\"no-descending-specificity\": null,\n\t\t\"no-duplicate-selectors\": null,\n\t\t\"selector-type-no-unknown\": [\n\t\t\ttrue,\n\t\t\t{\n\t\t\t\tignoreTypes: [\n\t\t\t\t\t\"/^gux-/\",\n\t\t\t\t\t\"lineargradient\"\n\t\t\t\t]\n\t\t\t}\n\t\t]\n\t}\n};\nconst packageInfo = {\n\tname: name,\n\tversion: version,\n\tdescription: description,\n\tlicense: license,\n\tmain: main,\n\ttypes: types,\n\tcollection: collection,\n\tfiles: files,\n\tscripts: scripts,\n\tdependencies: dependencies,\n\tdevDependencies: devDependencies,\n\trepository: repository,\n\tconfig: config,\n\tcommitlint: commitlint,\n\tstylelint: stylelint,\n\t\"lint-staged\": {\n\t\"*.{css,html,less}\": [\n\t\t\"stylelint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{ts,tsx}\": [\n\t\t\"tslint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{js,jsx,json}\": \"prettier --write\",\n\t\"*.svg\": \"svgo -i\"\n}\n};\n\nconst libraryPageAction = 'spark-library';\nconst componentPageAction = 'spark-component';\nlet libVersionReported = false;\n/**\n * Submits a component for tracking by NewRelic. Will also report the version of the library being\n * used the first time it is called.\n */\nfunction trackComponent(element, metadata) {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n // if (element['s-hn']) {\n // return;\n // }\n if (!libVersionReported) {\n reportLibraryVersion();\n libVersionReported = true;\n }\n newrelic.addPageAction(componentPageAction, Object.assign(Object.assign({}, metadata), { component: element.tagName.toLowerCase(), version: packageInfo.version }));\n}\n/**\n * Sends a library usage page action the first time it is called, does nothing afterward.\n */\nfunction reportLibraryVersion() {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n const [major, minor, patch] = packageInfo.version.split('.');\n newrelic.addPageAction(libraryPageAction, {\n fullVersion: `${major}.${minor}.${patch}`,\n majorVersion: major,\n minorVersion: `${major}.${minor}`\n });\n}\n\nexport { trackComponent as t };\n"],"names":["GuxModal","hostRef","registerInstance","this","guxdismiss","createEvent","size","trapFocus","event","key","onDismissHandler","triggerElement","document","activeElement","trapFocusVariant","componentVariant","trackComponent","root","variant","_a","_b","_c","initialFocusElement","getInitialFocusElement","tagName","focusElement","focus","call","dismissButton","hasModalTitleSlot","hasFooterButtons","h","class","renderModalTrapFocusEl","onClick","bind","ref","el","name","onFocus","tabindex","initialFocus","querySelector","undefined","Boolean","stopPropagation","emit","defaultPrevented","remove","getElement","style","packageInfo","version","description","license","main","types","collection","files","scripts","build","clean","commit","dev","docs","format","i18n","lint","predev","prepare","release","stencil","test","dependencies","sortablejs","devDependencies","commitizen","concurrently","glob","handlebars","husky","inquirer","jest","jsdom","marked","prettier","puppeteer","rollup","stylelint","svgo","tslint","typescript","weekstart","xmldom","repository","type","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","libVersionReported","element","metadata","newrelic","window","split","major","minor","patch","addPageAction","fullVersion","majorVersion","minorVersion","reportLibraryVersion","Object","assign","component","toLowerCase"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[819],{819:function(e,t,n){n.r(t),n.d(t,{gux_panel_frame_beta:function(){return c}});var s=n(5671),i=n(3144),r=n(4723),o=n(8125);var c=function(){function e(t){(0,s.Z)(this,e),(0,r.r)(this,t)}return(0,i.Z)(e,[{key:"componentWillLoad",value:function(){(0,o.t)(this.root)}},{key:"renderOptionalSlot",value:function(e){if(function(e,t){return Boolean(e.querySelector("[slot=".concat(t,"]")))}(this.root,e))switch(e){case"header":return(0,r.h)("header",{class:"gux-panel-header"},(0,r.h)("slot",{name:"".concat(e)}));case"body":return(0,r.h)("div",{class:"gux-panel-body"},(0,r.h)("slot",{name:"".concat(e)}));case"footer":return(0,r.h)("footer",{class:"gux-panel-footer"},(0,r.h)("slot",{name:"".concat(e)}))}}},{key:"render",value:function(){return(0,r.h)("section",{class:"gux-panel-container"},this.renderOptionalSlot("header"),this.renderOptionalSlot("body"),this.renderOptionalSlot("footer"))}},{key:"root",get:function(){return(0,r.g)(this)}}]),e}();c.style="gux-panel-frame-beta{color:#33383d}gux-panel-frame-beta .gux-panel-container{box-sizing:border-box;display:flex;flex-direction:column;height:100%;padding:8px 15px;background-color:#fdfdfd;border:1px solid #e4e9f0}gux-panel-frame-beta .gux-panel-container .gux-panel-header,gux-panel-frame-beta .gux-panel-container .gux-panel-body,gux-panel-frame-beta .gux-panel-container .gux-panel-footer{box-sizing:border-box;width:100%}gux-panel-frame-beta .gux-panel-container .gux-panel-header{flex-shrink:0;padding:0 8px;border-bottom:1px solid #e4e9f0}gux-panel-frame-beta .gux-panel-container .gux-panel-body{flex-grow:1;padding:8px 8px;overflow-y:auto}gux-panel-frame-beta .gux-panel-container .gux-panel-footer{flex-shrink:0;padding:12px 8px;border-top:1px solid #e4e9f0}"},8125:function(e,t,n){n.d(t,{t:function(){return c}});var s=n(885),i={name:"@genesys/common-webcomponents",version:"2.55.3",description:"Common webcomponents",license:"MIT",main:"dist/stencil-wrapper.js",types:"dist/types/index.d.ts",collection:"dist/collection/collection-manifest.json",files:["dist/"],scripts:{build:"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper","build-wrapper":"./scripts/wrap-stencil.js","check-readmes":"./scripts/check-readmes.sh",clean:"rm -r ./dist || true",commit:"git-cz","create-component":"node scripts/create-component.js",dev:'npx concurrently "npm run stencil.dev" "npm run docs.dev"',"dev.public":'npx concurrently "npm run stencil.dev" "npm run docs.dev.public"',docs:"cd ./docs && npm run build","docs.dev":"cd ./docs && npm run start","docs.dev.public":"cd ./docs && npm run start -- --host 0.0.0.0",format:'prettier "./**/*.{ts,tsx,js,jsx,json,css,html,less}"',"format.check":"npm run format -- --check","format.fix":"npm run format -- --write","generate-start-of-week-file":"./scripts/generate-start-of-week-file.js","generate-versions-file":"./scripts/generate-versions-file.mjs",i18n:"npm run generate-start-of-week-file && ./scripts/build-i18n.js",lint:"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg","lint.commit":"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae","lint.css":"npx stylelint '**/*.{css,html,less}' --fix","lint.fix":"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix","lint.svg":"svgo -f ./src/components/stable/gux-icon/icons","lint.ts":"tslint --project .","list-component-tracking":"./scripts/list-component-tracking.js","list-shadow-explicitly-set":"./scripts/list-shadow-explicitly-set.js","list-i18n-files":"./scripts/list-i18n-files.js",predev:"npm run i18n","predev.public":"npm run predev",prepare:"./scripts/prepare-docs.sh && npm run i18n && husky install",release:"standard-version",stencil:"stencil build --prod","stencil.dev":"stencil build --dev --watch --docs",test:"stencil test --spec --e2e","test.ci":"npm run test.ci.spec && npm run test.ci.e2e","test.ci.spec":"stencil test --spec","test.ci.e2e":"stencil test --e2e --max-workers=1","test.e2e":"stencil test --e2e","test.e2e.update-snapshot":"stencil test --e2e --updateSnapshot","test.screenshot":"stencil test --e2e --screenshot","test.unit":"stencil build dev && stencil test --spec","test.unit.update-snapshot":"stencil test --spec --updateSnapshot","test.update-snapshot":"stencil test --spec --e2e --updateSnapshot","test.watch":"stencil test --spec --e2e --watchAll"},dependencies:{"@popperjs/core":"^2.10.2","intl-messageformat":"~9.4.9","requestanimationframe-timer":"^3.0.3",sortablejs:"^1.14.0","stencil-click-outside":"^1.7.1"},devDependencies:{"@babel/core":"^7.15.8","@babel/preset-env":"^7.15.8","@commitlint/cli":"^13.2.1","@commitlint/config-conventional":"^13.2.0","@rollup/plugin-replace":"^3.0.0","@stencil/core":"^2.9.0","@stencil/less":"^1.0.0","@stencil/utils":"0.0.5","@types/jest":"^26.0.24","@types/jsdom":"^16.2.13","@types/new-relic-browser":"^0.1118.2","@types/puppeteer":"^5.4.4","@types/resize-observer-browser":"^0.1.6","@types/sortablejs":"^1.10.7","axe-live":"^0.1.0","babel-loader":"^8.2.3",commitizen:"^4.2.4",concurrently:"^6.3.0","cz-conventional-changelog":"^3.3.0","file-loader":"^6.2.0",glob:"^7.2.0",handlebars:"^4.7.7",husky:"^7.0.4",inquirer:"^8.2.0",jest:"^26.6.3","jest-cli":"^26.6.3","jest-config":"^26.6.3","jest-environment-node":"^26.6.2","jest-junit":"^13.0.0",jsdom:"^18.0.0","lint-staged":"^11.2.3",marked:"^3.0.7","mutation-observer":"^1.0.3","node-fetch":"^3.2.1",prettier:"^2.4.1",puppeteer:"^10.4.0",rollup:"^2.58.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-less":"^1.1.3","semver-sort":"^1.0.0","standard-version":"^9.3.2",stylelint:"^13.13.1","stylelint-config-prettier":"^9.0.3","stylelint-config-recess-order":"^2.5.0","stylelint-config-standard":"^22.0.0",svgo:"^2.7.0","ts-loader":"^9.2.6",tslint:"^6.1.3","tslint-config-prettier":"^1.18.0",typescript:"^3.9.10",weekstart:"^1.1.0",xmldom:"^0.6.0"},repository:{type:"git",url:"git+bitbucket.org:inindca/genesys-webcomponents.git"},config:{commitizen:{path:"./node_modules/cz-conventional-changelog"}},commitlint:{extends:["@commitlint/config-conventional"],rules:{"subject-case":[2,"never",["pascal-case","upper-case"]]}},stylelint:{extends:["stylelint-config-standard","stylelint-config-recess-order","stylelint-config-prettier"],rules:{"no-descending-specificity":null,"no-duplicate-selectors":null,"selector-type-no-unknown":[!0,{ignoreTypes:["/^gux-/","lineargradient"]}]}},"lint-staged":{"*.{css,html,less}":["stylelint --fix","prettier --write"],"*.{ts,tsx}":["tslint --fix","prettier --write"],"*.{js,jsx,json}":"prettier --write","*.svg":"svgo -i"}},r="spark-library",o=!1;function c(e,t){var n=window.newrelic;n&&(o||(!function(){var e=window.newrelic;if(!e)return;var t=i.version.split("."),n=(0,s.Z)(t,3),o=n[0],c=n[1],l=n[2];e.addPageAction(r,{fullVersion:"".concat(o,".").concat(c,".").concat(l),majorVersion:o,minorVersion:"".concat(o,".").concat(c)})}(),o=!0),n.addPageAction("spark-component",Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:i.version})))}}}]);
2
+ //# sourceMappingURL=819.a55f578b.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/js/819.a55f578b.chunk.js","mappings":"gNAOA,IAEIA,EAAa,WACf,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GAFV,gDAIf,YACEG,EAAAA,EAAAA,GAAeD,KAAKE,QALP,gCAOf,SAAmBC,GACjB,GAdJ,SAAiBC,EAASD,GACxB,OAAOE,QAAQD,EAAQE,cAAR,gBAA+BH,EAA/B,OAaTI,CAAQP,KAAKE,KAAMC,GACrB,OAAQA,GACN,IAAK,SACH,OAAQK,EAAAA,EAAAA,GAAE,SAAU,CAAEC,MAAO,qBAAsBD,EAAAA,EAAAA,GAAE,OAAQ,CAAEE,KAAM,GAAF,OAAKP,MAC1E,IAAK,OACH,OAAQ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,SAASjE,EAAeG,EAAS+D,GAC/B,IAAMC,EAAWC,OAAOD,SACnBA,IAMAF,KASP,WACE,IAAME,EAAWC,OAAOD,SACxB,IAAKA,EACH,OAEF,MAA8BtD,EAAYC,QAAQuD,MAAM,KAAxD,eAAOC,EAAP,KAAcC,EAAd,KAAqBC,EAArB,KACAL,EAASM,cAAcT,EAAmB,CACxCU,YAAa,GAAF,OAAKJ,EAAL,YAAcC,EAAd,YAAuBC,GAClCG,aAAcL,EACdM,aAAc,GAAF,OAAKN,EAAL,YAAcC,KAjB1BM,GACAZ,GAAqB,GAEvBE,EAASM,cAlBiB,kBAkBkBK,OAAOC,OAAOD,OAAOC,OAAO,GAAIb,GAAW,CAAEc,UAAW7E,EAAQ8E,QAAQC,cAAepE,QAASD,EAAYC","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-panel-frame-beta.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-e9646da2.js"],"sourcesContent":["import { r as registerInstance, h, g as getElement } from './index-5f3763b4.js';\nimport { t as trackComponent } from './usage-tracking-e9646da2.js';\n\nfunction hasSlot(element, slotName) {\n return Boolean(element.querySelector(`[slot=${slotName}]`));\n}\n\nconst guxPanelFrameCss = \"gux-panel-frame-beta{color:#33383d}gux-panel-frame-beta .gux-panel-container{box-sizing:border-box;display:flex;flex-direction:column;height:100%;padding:8px 15px;background-color:#fdfdfd;border:1px solid #e4e9f0}gux-panel-frame-beta .gux-panel-container .gux-panel-header,gux-panel-frame-beta .gux-panel-container .gux-panel-body,gux-panel-frame-beta .gux-panel-container .gux-panel-footer{box-sizing:border-box;width:100%}gux-panel-frame-beta .gux-panel-container .gux-panel-header{flex-shrink:0;padding:0 8px;border-bottom:1px solid #e4e9f0}gux-panel-frame-beta .gux-panel-container .gux-panel-body{flex-grow:1;padding:8px 8px;overflow-y:auto}gux-panel-frame-beta .gux-panel-container .gux-panel-footer{flex-shrink:0;padding:12px 8px;border-top:1px solid #e4e9f0}\";\n\nlet GuxPanelFrame = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n }\n componentWillLoad() {\n trackComponent(this.root);\n }\n renderOptionalSlot(slotName) {\n if (hasSlot(this.root, slotName)) {\n switch (slotName) {\n case 'header':\n return (h(\"header\", { class: \"gux-panel-header\" }, h(\"slot\", { name: `${slotName}` })));\n case 'body':\n return (h(\"div\", { class: \"gux-panel-body\" }, h(\"slot\", { name: `${slotName}` })));\n case 'footer':\n return (h(\"footer\", { class: \"gux-panel-footer\" }, h(\"slot\", { name: `${slotName}` })));\n }\n }\n }\n render() {\n return (h(\"section\", { class: \"gux-panel-container\" }, this.renderOptionalSlot('header'), this.renderOptionalSlot('body'), this.renderOptionalSlot('footer')));\n }\n get root() { return getElement(this); }\n};\nGuxPanelFrame.style = guxPanelFrameCss;\n\nexport { GuxPanelFrame as gux_panel_frame_beta };\n","const name = \"@genesys/common-webcomponents\";\nconst version = \"2.55.3\";\nconst description = \"Common webcomponents\";\nconst license = \"MIT\";\nconst main = \"dist/stencil-wrapper.js\";\nconst types = \"dist/types/index.d.ts\";\nconst collection = \"dist/collection/collection-manifest.json\";\nconst files = [\n\t\"dist/\"\n];\nconst scripts = {\n\tbuild: \"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper\",\n\t\"build-wrapper\": \"./scripts/wrap-stencil.js\",\n\t\"check-readmes\": \"./scripts/check-readmes.sh\",\n\tclean: \"rm -r ./dist || true\",\n\tcommit: \"git-cz\",\n\t\"create-component\": \"node scripts/create-component.js\",\n\tdev: \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev\\\"\",\n\t\"dev.public\": \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev.public\\\"\",\n\tdocs: \"cd ./docs && npm run build\",\n\t\"docs.dev\": \"cd ./docs && npm run start\",\n\t\"docs.dev.public\": \"cd ./docs && npm run start -- --host 0.0.0.0\",\n\tformat: \"prettier \\\"./**/*.{ts,tsx,js,jsx,json,css,html,less}\\\"\",\n\t\"format.check\": \"npm run format -- --check\",\n\t\"format.fix\": \"npm run format -- --write\",\n\t\"generate-start-of-week-file\": \"./scripts/generate-start-of-week-file.js\",\n\t\"generate-versions-file\": \"./scripts/generate-versions-file.mjs\",\n\ti18n: \"npm run generate-start-of-week-file && ./scripts/build-i18n.js\",\n\tlint: \"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg\",\n\t\"lint.commit\": \"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae\",\n\t\"lint.css\": \"npx stylelint '**/*.{css,html,less}' --fix\",\n\t\"lint.fix\": \"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix\",\n\t\"lint.svg\": \"svgo -f ./src/components/stable/gux-icon/icons\",\n\t\"lint.ts\": \"tslint --project .\",\n\t\"list-component-tracking\": \"./scripts/list-component-tracking.js\",\n\t\"list-shadow-explicitly-set\": \"./scripts/list-shadow-explicitly-set.js\",\n\t\"list-i18n-files\": \"./scripts/list-i18n-files.js\",\n\tpredev: \"npm run i18n\",\n\t\"predev.public\": \"npm run predev\",\n\tprepare: \"./scripts/prepare-docs.sh && npm run i18n && husky install\",\n\trelease: \"standard-version\",\n\tstencil: \"stencil build --prod\",\n\t\"stencil.dev\": \"stencil build --dev --watch --docs\",\n\ttest: \"stencil test --spec --e2e\",\n\t\"test.ci\": \"npm run test.ci.spec && npm run test.ci.e2e\",\n\t\"test.ci.spec\": \"stencil test --spec\",\n\t\"test.ci.e2e\": \"stencil test --e2e --max-workers=1\",\n\t\"test.e2e\": \"stencil test --e2e\",\n\t\"test.e2e.update-snapshot\": \"stencil test --e2e --updateSnapshot\",\n\t\"test.screenshot\": \"stencil test --e2e --screenshot\",\n\t\"test.unit\": \"stencil build dev && stencil test --spec\",\n\t\"test.unit.update-snapshot\": \"stencil test --spec --updateSnapshot\",\n\t\"test.update-snapshot\": \"stencil test --spec --e2e --updateSnapshot\",\n\t\"test.watch\": \"stencil test --spec --e2e --watchAll\"\n};\nconst dependencies = {\n\t\"@popperjs/core\": \"^2.10.2\",\n\t\"intl-messageformat\": \"~9.4.9\",\n\t\"requestanimationframe-timer\": \"^3.0.3\",\n\tsortablejs: \"^1.14.0\",\n\t\"stencil-click-outside\": \"^1.7.1\"\n};\nconst devDependencies = {\n\t\"@babel/core\": \"^7.15.8\",\n\t\"@babel/preset-env\": \"^7.15.8\",\n\t\"@commitlint/cli\": \"^13.2.1\",\n\t\"@commitlint/config-conventional\": \"^13.2.0\",\n\t\"@rollup/plugin-replace\": \"^3.0.0\",\n\t\"@stencil/core\": \"^2.9.0\",\n\t\"@stencil/less\": \"^1.0.0\",\n\t\"@stencil/utils\": \"0.0.5\",\n\t\"@types/jest\": \"^26.0.24\",\n\t\"@types/jsdom\": \"^16.2.13\",\n\t\"@types/new-relic-browser\": \"^0.1118.2\",\n\t\"@types/puppeteer\": \"^5.4.4\",\n\t\"@types/resize-observer-browser\": \"^0.1.6\",\n\t\"@types/sortablejs\": \"^1.10.7\",\n\t\"axe-live\": \"^0.1.0\",\n\t\"babel-loader\": \"^8.2.3\",\n\tcommitizen: \"^4.2.4\",\n\tconcurrently: \"^6.3.0\",\n\t\"cz-conventional-changelog\": \"^3.3.0\",\n\t\"file-loader\": \"^6.2.0\",\n\tglob: \"^7.2.0\",\n\thandlebars: \"^4.7.7\",\n\thusky: \"^7.0.4\",\n\tinquirer: \"^8.2.0\",\n\tjest: \"^26.6.3\",\n\t\"jest-cli\": \"^26.6.3\",\n\t\"jest-config\": \"^26.6.3\",\n\t\"jest-environment-node\": \"^26.6.2\",\n\t\"jest-junit\": \"^13.0.0\",\n\tjsdom: \"^18.0.0\",\n\t\"lint-staged\": \"^11.2.3\",\n\tmarked: \"^3.0.7\",\n\t\"mutation-observer\": \"^1.0.3\",\n\t\"node-fetch\": \"^3.2.1\",\n\tprettier: \"^2.4.1\",\n\tpuppeteer: \"^10.4.0\",\n\trollup: \"^2.58.0\",\n\t\"rollup-plugin-copy\": \"^3.4.0\",\n\t\"rollup-plugin-less\": \"^1.1.3\",\n\t\"semver-sort\": \"^1.0.0\",\n\t\"standard-version\": \"^9.3.2\",\n\tstylelint: \"^13.13.1\",\n\t\"stylelint-config-prettier\": \"^9.0.3\",\n\t\"stylelint-config-recess-order\": \"^2.5.0\",\n\t\"stylelint-config-standard\": \"^22.0.0\",\n\tsvgo: \"^2.7.0\",\n\t\"ts-loader\": \"^9.2.6\",\n\ttslint: \"^6.1.3\",\n\t\"tslint-config-prettier\": \"^1.18.0\",\n\ttypescript: \"^3.9.10\",\n\tweekstart: \"^1.1.0\",\n\txmldom: \"^0.6.0\"\n};\nconst repository = {\n\ttype: \"git\",\n\turl: \"git+bitbucket.org:inindca/genesys-webcomponents.git\"\n};\nconst config = {\n\tcommitizen: {\n\t\tpath: \"./node_modules/cz-conventional-changelog\"\n\t}\n};\nconst commitlint = {\n\t\"extends\": [\n\t\t\"@commitlint/config-conventional\"\n\t],\n\trules: {\n\t\t\"subject-case\": [\n\t\t\t2,\n\t\t\t\"never\",\n\t\t\t[\n\t\t\t\t\"pascal-case\",\n\t\t\t\t\"upper-case\"\n\t\t\t]\n\t\t]\n\t}\n};\nconst stylelint = {\n\t\"extends\": [\n\t\t\"stylelint-config-standard\",\n\t\t\"stylelint-config-recess-order\",\n\t\t\"stylelint-config-prettier\"\n\t],\n\trules: {\n\t\t\"no-descending-specificity\": null,\n\t\t\"no-duplicate-selectors\": null,\n\t\t\"selector-type-no-unknown\": [\n\t\t\ttrue,\n\t\t\t{\n\t\t\t\tignoreTypes: [\n\t\t\t\t\t\"/^gux-/\",\n\t\t\t\t\t\"lineargradient\"\n\t\t\t\t]\n\t\t\t}\n\t\t]\n\t}\n};\nconst packageInfo = {\n\tname: name,\n\tversion: version,\n\tdescription: description,\n\tlicense: license,\n\tmain: main,\n\ttypes: types,\n\tcollection: collection,\n\tfiles: files,\n\tscripts: scripts,\n\tdependencies: dependencies,\n\tdevDependencies: devDependencies,\n\trepository: repository,\n\tconfig: config,\n\tcommitlint: commitlint,\n\tstylelint: stylelint,\n\t\"lint-staged\": {\n\t\"*.{css,html,less}\": [\n\t\t\"stylelint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{ts,tsx}\": [\n\t\t\"tslint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{js,jsx,json}\": \"prettier --write\",\n\t\"*.svg\": \"svgo -i\"\n}\n};\n\nconst libraryPageAction = 'spark-library';\nconst componentPageAction = 'spark-component';\nlet libVersionReported = false;\n/**\n * Submits a component for tracking by NewRelic. Will also report the version of the library being\n * used the first time it is called.\n */\nfunction trackComponent(element, metadata) {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n // if (element['s-hn']) {\n // return;\n // }\n if (!libVersionReported) {\n reportLibraryVersion();\n libVersionReported = true;\n }\n newrelic.addPageAction(componentPageAction, Object.assign(Object.assign({}, metadata), { component: element.tagName.toLowerCase(), version: packageInfo.version }));\n}\n/**\n * Sends a library usage page action the first time it is called, does nothing afterward.\n */\nfunction reportLibraryVersion() {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n const [major, minor, patch] = packageInfo.version.split('.');\n newrelic.addPageAction(libraryPageAction, {\n fullVersion: `${major}.${minor}.${patch}`,\n majorVersion: major,\n minorVersion: `${major}.${minor}`\n });\n}\n\nexport { trackComponent as t };\n"],"names":["GuxPanelFrame","hostRef","registerInstance","this","trackComponent","root","slotName","element","Boolean","querySelector","hasSlot","h","class","name","renderOptionalSlot","getElement","style","packageInfo","version","description","license","main","types","collection","files","scripts","build","clean","commit","dev","docs","format","i18n","lint","predev","prepare","release","stencil","test","dependencies","sortablejs","devDependencies","commitizen","concurrently","glob","handlebars","husky","inquirer","jest","jsdom","marked","prettier","puppeteer","rollup","stylelint","svgo","tslint","typescript","weekstart","xmldom","repository","type","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","libVersionReported","metadata","newrelic","window","split","major","minor","patch","addPageAction","fullVersion","majorVersion","minorVersion","reportLibraryVersion","Object","assign","component","tagName","toLowerCase"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[8300],{8300:function(e,t,n){n.r(t),n.d(t,{gux_popup_beta:function(){return r}});var a=n(5671),i=n(3144),p=n(4723),o=n(4173),r=function(){function e(t){(0,a.Z)(this,e),(0,p.r)(this,t),this.expanded=!1,this.disabled=!1}return(0,i.Z)(e,[{key:"onExpandedChange",value:function(e){e&&this.popperInstance.forceUpdate()}},{key:"componentDidLoad",value:function(){this.popperInstance=(0,o.c)(this.targetElementContainer,this.popupElementContainer,{modifiers:[{name:"offset",options:{offset:[0,2]}},{name:"sameWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;t.styles.popper.width="".concat(t.rects.reference.width,"px")},effect:function(e){var t=e.state;t.elements.popper.style.width="".concat(t.elements.reference.getBoundingClientRect().width,"px")}}],placement:"bottom-start"})}},{key:"disconnectedCallback",value:function(){this.popperInstance.destroy()}},{key:"render",value:function(){var e=this;return(0,p.h)("div",{class:{"gux-target-container":!0,"gux-disabled":this.disabled},ref:function(t){return e.targetElementContainer=t}},(0,p.h)("slot",{name:"target"}),(0,p.h)("div",{class:{"gux-popup-container":!0,"gux-expanded":this.expanded&&!this.disabled},ref:function(t){return e.popupElementContainer=t}},(0,p.h)("slot",{name:"popup"})))}}],[{key:"watchers",get:function(){return{expanded:["onExpandedChange"]}}}]),e}();r.style="gux-popup-beta .gux-target-container.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}gux-popup-beta .gux-popup-container{z-index:1;visibility:hidden}gux-popup-beta .gux-popup-container.gux-expanded{visibility:visible}"}}]);
2
+ //# sourceMappingURL=8300.e15dbcd8.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/js/8300.e15dbcd8.chunk.js","mappings":"4MAKIA,EAAQ,WACV,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GACvBE,KAAKC,UAAW,EAChBD,KAAKE,UAAW,EAJR,+CAMV,SAAiBD,GACXA,GACFD,KAAKG,eAAeC,gBARd,8BAWV,WACEJ,KAAKG,gBAAiBE,EAAAA,EAAAA,GAAaL,KAAKM,uBAAwBN,KAAKO,sBAAuB,CAC1FC,UAAW,CACT,CACEC,KAAM,SACNC,QAAS,CACPC,OAAQ,CAAC,EAAG,KAGhB,CACEF,KAAM,YACNG,SAAS,EACTC,MAAO,cACPC,SAAU,CAAC,iBACXC,GALF,YAKgB,IAATC,EAAS,EAATA,MACHA,EAAMC,OAAOC,OAAOC,MAApB,UAA+BH,EAAMI,MAAMC,UAAUF,MAArD,OAEFG,OARF,YAQoB,IAATN,EAAS,EAATA,MACPA,EAAMO,SAASL,OAAOM,MAAML,MAA5B,UAAuCH,EAAMO,SAASF,UAAUI,wBAAwBN,MAAxF,SAINO,UAAW,mBAjCL,kCAoCV,WACE1B,KAAKG,eAAewB,YArCZ,oBAuCV,WAAS,WACP,OAAQC,EAAAA,EAAAA,GAAE,MAAO,CAAEC,MAAO,CACtB,wBAAwB,EACxB,eAAgB7B,KAAKE,UACpB4B,IAAK,SAACC,GAAD,OAAS,EAAKzB,uBAAyByB,KAAOH,EAAAA,EAAAA,GAAE,OAAQ,CAAEnB,KAAM,YAAamB,EAAAA,EAAAA,GAAE,MAAO,CAAEC,MAAO,CACrG,uBAAuB,EACvB,eAAgB7B,KAAKC,WAAaD,KAAKE,UACtC4B,IAAK,SAACC,GAAD,OAAS,EAAKxB,sBAAwBwB,KAAOH,EAAAA,EAAAA,GAAE,OAAQ,CAAEnB,KAAM,eA9CjE,qBAgDV,WAAwB,MAAO,CAC7B,SAAY,CAAC,yBAjDL,KAoDZZ,EAAS2B,MAtDW","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-popup-beta.entry.js"],"sourcesContent":["import { r as registerInstance, h } from './index-5f3763b4.js';\nimport { c as createPopper } from './popper-0d7cf9bb.js';\n\nconst guxPopupCss = \"gux-popup-beta .gux-target-container.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}gux-popup-beta .gux-popup-container{z-index:1;visibility:hidden}gux-popup-beta .gux-popup-container.gux-expanded{visibility:visible}\";\n\nlet GuxPopup = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.expanded = false;\n this.disabled = false;\n }\n onExpandedChange(expanded) {\n if (expanded) {\n this.popperInstance.forceUpdate();\n }\n }\n componentDidLoad() {\n this.popperInstance = createPopper(this.targetElementContainer, this.popupElementContainer, {\n modifiers: [\n {\n name: 'offset',\n options: {\n offset: [0, 2]\n }\n },\n {\n name: 'sameWidth',\n enabled: true,\n phase: 'beforeWrite',\n requires: ['computeStyles'],\n fn({ state }) {\n state.styles.popper.width = `${state.rects.reference.width}px`;\n },\n effect({ state }) {\n state.elements.popper.style.width = `${state.elements.reference.getBoundingClientRect().width}px`;\n }\n }\n ],\n placement: 'bottom-start'\n });\n }\n disconnectedCallback() {\n this.popperInstance.destroy();\n }\n render() {\n return (h(\"div\", { class: {\n 'gux-target-container': true,\n 'gux-disabled': this.disabled\n }, ref: (el) => (this.targetElementContainer = el) }, h(\"slot\", { name: \"target\" }), h(\"div\", { class: {\n 'gux-popup-container': true,\n 'gux-expanded': this.expanded && !this.disabled\n }, ref: (el) => (this.popupElementContainer = el) }, h(\"slot\", { name: \"popup\" }))));\n }\n static get watchers() { return {\n \"expanded\": [\"onExpandedChange\"]\n }; }\n};\nGuxPopup.style = guxPopupCss;\n\nexport { GuxPopup as gux_popup_beta };\n"],"names":["GuxPopup","hostRef","registerInstance","this","expanded","disabled","popperInstance","forceUpdate","createPopper","targetElementContainer","popupElementContainer","modifiers","name","options","offset","enabled","phase","requires","fn","state","styles","popper","width","rects","reference","effect","elements","style","getBoundingClientRect","placement","destroy","h","class","ref","el"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[8324],{5361:function(e,t,n){n.d(t,{G:function(){return s},a:function(){return o}});var i=n(4942),r=n(4723),o=function(e,t){var n=e.labelPosition;return(0,r.h)("div",{class:(0,i.Z)({"gux-form-field-container":!0},"gux-".concat(n),!0)},t)},s=function(e,t){var n,o=e.position,s=e.required;return(0,r.h)("div",{class:(n={"gux-form-field-label":!0},(0,i.Z)(n,"gux-".concat(o),!0),(0,i.Z)(n,"gux-required",s),n)},t)}},8324:function(e,t,n){n.r(t),n.d(t,{gux_form_field_range_beta:function(){return f}});var i=n(5671),r=n(3144),o=n(4723),s=n(4351),a=n(5618),u=n(997),l=n(8125),c=n(5361),d=n(2457),p=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},f=function(){function e(t){(0,i.Z)(this,e),(0,o.r)(this,t),this.computedLabelPosition="above",this.hasError=!1}return(0,r.Z)(e,[{key:"onInput",value:function(e){var t=e.target;this.updateValue(t.value)}},{key:"onMousedown",value:function(){this.disabled||(this.active=!0)}},{key:"onMouseup",value:function(){this.active=!1}},{key:"onMutation",value:function(){this.hasError=(0,d.h)(this.root)}},{key:"componentWillLoad",value:function(){this.setInput(),this.setLabel(),this.hasError=(0,d.h)(this.root),(0,l.t)(this.root,{variant:this.variant})}},{key:"componentDidLoad",value:function(){this.updatePosition()}},{key:"disconnectedCallback",value:function(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect(),clearInterval(this.valueWatcherId)}},{key:"render",value:function(){var e=this;return(0,o.h)(o.H,{class:{"gux-active":this.active}},(0,o.h)(c.a,{labelPosition:this.computedLabelPosition},(0,o.h)(c.G,{position:this.computedLabelPosition,required:this.required},(0,o.h)("slot",{name:"label",onSlotchange:function(){return e.setLabel()}})),(0,o.h)("div",{class:"gux-input-and-error-container"},this.renderRangeInput(),(0,o.h)(d.G,{hasError:this.hasError},(0,o.h)("slot",{name:"error"})))))}},{key:"variant",get:function(){return this.labelPosition?this.labelPosition.toLowerCase():"none"}},{key:"setInput",value:function(){var e=this;this.input=this.root.querySelector('input[type="range"][slot="input"]'),(0,u.p)(this.input),this.disabled=this.input.disabled,this.required=this.input.required,this.value=this.input.value,this.disabledObserver=(0,a.o)(this.input,(function(t){e.disabled=t})),this.requiredObserver=(0,a.a)(this.input,(function(t){e.required=t})),clearInterval(this.valueWatcherId),this.valueWatcherId=setInterval((function(){e.value!==e.input.value&&e.updateValue(e.input.value)}),100),(0,d.v)(this.root,this.input)}},{key:"setLabel",value:function(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=(0,d.g)(this.label,this.labelPosition)}},{key:"renderRangeInput",value:function(){var e=this;return(0,o.h)("div",{class:{"gux-range-input-container":!0,"gux-disabled":this.disabled}},(0,o.h)("div",{class:"gux-range"},(0,o.h)("div",{class:"gux-track"},(0,o.h)("div",{class:"gux-progress",ref:function(t){return e.progressElement=t}})),(0,o.h)("slot",{name:"input"}),(0,o.h)("div",{class:{"gux-range-tooltip-container":!0,"gux-hidden":!this.valueInTooltip},ref:function(t){return e.sliderTooltipContainer=t}},(0,o.h)("div",{class:"gux-range-tooltip",ref:function(t){return e.sliderTooltip=t}},this.getDisplayValue()))),(0,o.h)("div",{class:{"gux-display":!0,"gux-hidden":this.valueInTooltip}},this.getDisplayValue()))}},{key:"updateValue",value:function(e){this.value=e,this.updatePosition()}},{key:"updatePosition",value:function(){var e=Number(this.input.value||0),t=Number(this.input.min||0),n=(e-t)/(Number(this.input.max||100)-t)*100;if(this.sliderTooltip){var i=n-n/8/this.sliderTooltipContainer.offsetWidth*100;this.sliderTooltip.style.left="".concat(i,"%")}this.progressElement.style.width="".concat(n,"%")}},{key:"getDisplayValue",value:function(){return this.displayUnits?"".concat(this.value).concat(this.displayUnits):this.value}},{key:"root",get:function(){return(0,o.g)(this)}}]),e}();p([(0,s.O)({childList:!0,subtree:!0})],f.prototype,"onMutation",null),f.style=".gux-form-field-container{margin:16px 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;color:#33383d}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:7px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block;color:#33383d}::slotted(label){font-size:12px;font-weight:bold;line-height:20px}::slotted(input[type='range']){position:absolute;width:100%;height:2px;margin:6px 0;margin-top:calc(-1 * (12px / 2 + 2px));background:transparent;-webkit-appearance:none}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-range-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:flex-start;height:32px;font-size:12px}.gux-input-and-error-container .gux-range-input-container.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-range-input-container .gux-range{position:relative;flex:1 1 auto;align-self:center;order:0}.gux-input-and-error-container .gux-range-input-container .gux-range:hover .gux-range-tooltip,.gux-input-and-error-container .gux-range-input-container .gux-range:focus-within .gux-range-tooltip{visibility:visible}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track{width:100%;height:2px;margin:6px 0;background-color:#9baab8}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track .gux-progress{height:2px;background-color:#2a60c8}.gux-input-and-error-container .gux-range-input-container .gux-display{flex:0 1 auto;align-self:auto;order:0;height:32px;margin:0 0 0 16px;line-height:32px;text-align:right}.gux-input-and-error-container .gux-range-input-container .gux-display.gux-hidden{display:none}.gux-input-and-error-container .gux-range-tooltip-container{position:absolute;top:-50px;width:100%;height:32px;pointer-events:none}.gux-input-and-error-container .gux-range-tooltip-container.gux-hidden{display:none}.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip{font-family:Roboto, sans-serif;font-weight:400;font-size:11px;line-height:16px;position:absolute;z-index:1;display:flex;align-items:center;justify-content:center;width:50px;height:32px;margin-left:-20px;visibility:hidden;background-color:#fdfdfd;border:1px solid #aeb9c6;border-radius:4px;box-shadow:0 2px 4px rgba(34, 37, 41, 0.24)}.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip::after,.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip::before{position:absolute;top:100%;left:50%;width:0;height:0;pointer-events:none;content:' ';border:solid transparent}.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip::after{margin-left:-4px;border-width:4px;border-top-color:#fdfdfd}.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip::before{margin-left:-6px;border-width:6px;border-top-color:#aeb9c6}"},2457:function(e,t,n){n.d(t,{G:function(){return a},a:function(){return c},c:function(){return u},g:function(){return d},h:function(){return l},v:function(){return p}});var i=n(4723),r=n(1782),o=n(2183),s=n(5569),a=function(e,t){var n=e.hasError;return(0,i.h)("div",{class:{"gux-form-field-error":!0,"gux-show":n}},(0,i.h)("gux-icon",{"icon-name":"alert-warning-octogon",decorative:!0}),(0,i.h)("div",{class:"gux-message"},t))};function u(e){(0,s.s)(e,"",!0)}function l(e){return Boolean(e.querySelector('[slot="error"]'))}function c(e){return Boolean(e.value)}function d(e,t){if(e)return["above","beside","screenreader"].includes(t)?t:e.offsetWidth>1&&e.offsetWidth<40?"beside":"above"}function p(e,t){if(function(e){return Boolean(e.querySelector('label[slot="label"]'))}(e)){var n=e.querySelector('label[slot="label"]'),i=Boolean(t.hasAttribute("id")),s=Boolean(n.hasAttribute("for"));if(!i&&s)(0,o.l)(e.tagName.toLowerCase(),'A "for" attribute has been provided on the label but there is no corresponding id on the input. Either provide an id on the input or omit the "for" attribute from the label. If there is no input id and no "for" attribute provided, the component will automatically generate an id and link it to the "for" attribute.');else if(i)if(i&&!s){var a=t.getAttribute("id");n.setAttribute("for",a)}else i&&s&&t.getAttribute("id")!==n.getAttribute("for")&&(0,o.l)(e.tagName.toLowerCase(),"The input id and label for attribute should match.");else{var u=(0,r.r)("gux-form-field-input");t.setAttribute("id",u),n.setAttribute("for",u)}}else(0,o.l)(e.tagName.toLowerCase(),'A label is required for this component. If a visual label is not needed for this use case, please add localized text for a screenreader and set the label-position attribute to "screenreader" to visually hide the label.');if(l(e)){var c=e.querySelector('[slot="error"]'),d=(0,r.r)("gux-form-field-error");c.setAttribute("id",d),t.setAttribute("aria-describedby",d)}else t.getAttribute("aria-describedby")&&t.getAttribute("aria-describedby").startsWith("gux-form-field-error")&&t.removeAttribute("aria-describedby")}},2183:function(e,t,n){function i(e,t){setTimeout((function(){throw new Error("[".concat(e,"] ").concat(t))}),0)}function r(e,t){setTimeout((function(){console.warn("[".concat(e,"] ").concat(t))}),0)}n.d(t,{a:function(){return r},l:function(){return i}})},5618:function(e,t,n){function i(e,t){var n=new MutationObserver((function(n){n.forEach((function(){t(e.hidden)}))}));return n.observe(e,{attributes:!0,attributeFilter:["hidden"]}),n}function r(e,t){var n=new MutationObserver((function(n){n.forEach((function(n){"disabled"===n.attributeName&&t(e.disabled)}))}));return n.observe(e,{attributes:!0}),n}function o(e,t){var n=new MutationObserver((function(n){n.forEach((function(n){"required"===n.attributeName&&t(e.required)}))}));return n.observe(e,{attributes:!0}),n}n.d(t,{a:function(){return o},b:function(){return i},o:function(){return r}})},4351:function(e,t,n){n.d(t,{O:function(){return r}});var i=n(4723);function r(e){return function(t,n){var r,o=t.connectedCallback,s=t.disconnectedCallback;t.connectedCallback=function(){var t=(0,i.g)(this),s=this[n];return(r=new MutationObserver(s.bind(this))).observe(t,e),o&&o.call(this)},t.disconnectedCallback=function(){return r.disconnect(),s&&s.call(this)}}}},997:function(e,t,n){function i(e){e.addEventListener("invalid",(function(e){e.preventDefault()}))}n.d(t,{p:function(){return i}})},1782:function(e,t,n){function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"gux";return"".concat(e,"-").concat(Math.random().toString(36).substr(2,10))}n.d(t,{r:function(){return i}})},5569:function(e,t,n){n.d(t,{s:function(){return r}});var i=n(6863);function r(e,t,n){e.value=t,(0,i.s)(e,"input"),(0,i.s)(e,"change"),n&&e.focus()}},6863:function(e,t,n){function i(e,t){switch(t){case"change":return e.dispatchEvent(new InputEvent("change",{bubbles:!0}));case"input":return e.dispatchEvent(new InputEvent("input",{bubbles:!0}))}}n.d(t,{s:function(){return i}})},8125:function(e,t,n){n.d(t,{t:function(){return a}});var i=n(885),r={name:"@genesys/common-webcomponents",version:"2.55.3",description:"Common webcomponents",license:"MIT",main:"dist/stencil-wrapper.js",types:"dist/types/index.d.ts",collection:"dist/collection/collection-manifest.json",files:["dist/"],scripts:{build:"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper","build-wrapper":"./scripts/wrap-stencil.js","check-readmes":"./scripts/check-readmes.sh",clean:"rm -r ./dist || true",commit:"git-cz","create-component":"node scripts/create-component.js",dev:'npx concurrently "npm run stencil.dev" "npm run docs.dev"',"dev.public":'npx concurrently "npm run stencil.dev" "npm run docs.dev.public"',docs:"cd ./docs && npm run build","docs.dev":"cd ./docs && npm run start","docs.dev.public":"cd ./docs && npm run start -- --host 0.0.0.0",format:'prettier "./**/*.{ts,tsx,js,jsx,json,css,html,less}"',"format.check":"npm run format -- --check","format.fix":"npm run format -- --write","generate-start-of-week-file":"./scripts/generate-start-of-week-file.js","generate-versions-file":"./scripts/generate-versions-file.mjs",i18n:"npm run generate-start-of-week-file && ./scripts/build-i18n.js",lint:"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg","lint.commit":"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae","lint.css":"npx stylelint '**/*.{css,html,less}' --fix","lint.fix":"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix","lint.svg":"svgo -f ./src/components/stable/gux-icon/icons","lint.ts":"tslint --project .","list-component-tracking":"./scripts/list-component-tracking.js","list-shadow-explicitly-set":"./scripts/list-shadow-explicitly-set.js","list-i18n-files":"./scripts/list-i18n-files.js",predev:"npm run i18n","predev.public":"npm run predev",prepare:"./scripts/prepare-docs.sh && npm run i18n && husky install",release:"standard-version",stencil:"stencil build --prod","stencil.dev":"stencil build --dev --watch --docs",test:"stencil test --spec --e2e","test.ci":"npm run test.ci.spec && npm run test.ci.e2e","test.ci.spec":"stencil test --spec","test.ci.e2e":"stencil test --e2e --max-workers=1","test.e2e":"stencil test --e2e","test.e2e.update-snapshot":"stencil test --e2e --updateSnapshot","test.screenshot":"stencil test --e2e --screenshot","test.unit":"stencil build dev && stencil test --spec","test.unit.update-snapshot":"stencil test --spec --updateSnapshot","test.update-snapshot":"stencil test --spec --e2e --updateSnapshot","test.watch":"stencil test --spec --e2e --watchAll"},dependencies:{"@popperjs/core":"^2.10.2","intl-messageformat":"~9.4.9","requestanimationframe-timer":"^3.0.3",sortablejs:"^1.14.0","stencil-click-outside":"^1.7.1"},devDependencies:{"@babel/core":"^7.15.8","@babel/preset-env":"^7.15.8","@commitlint/cli":"^13.2.1","@commitlint/config-conventional":"^13.2.0","@rollup/plugin-replace":"^3.0.0","@stencil/core":"^2.9.0","@stencil/less":"^1.0.0","@stencil/utils":"0.0.5","@types/jest":"^26.0.24","@types/jsdom":"^16.2.13","@types/new-relic-browser":"^0.1118.2","@types/puppeteer":"^5.4.4","@types/resize-observer-browser":"^0.1.6","@types/sortablejs":"^1.10.7","axe-live":"^0.1.0","babel-loader":"^8.2.3",commitizen:"^4.2.4",concurrently:"^6.3.0","cz-conventional-changelog":"^3.3.0","file-loader":"^6.2.0",glob:"^7.2.0",handlebars:"^4.7.7",husky:"^7.0.4",inquirer:"^8.2.0",jest:"^26.6.3","jest-cli":"^26.6.3","jest-config":"^26.6.3","jest-environment-node":"^26.6.2","jest-junit":"^13.0.0",jsdom:"^18.0.0","lint-staged":"^11.2.3",marked:"^3.0.7","mutation-observer":"^1.0.3","node-fetch":"^3.2.1",prettier:"^2.4.1",puppeteer:"^10.4.0",rollup:"^2.58.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-less":"^1.1.3","semver-sort":"^1.0.0","standard-version":"^9.3.2",stylelint:"^13.13.1","stylelint-config-prettier":"^9.0.3","stylelint-config-recess-order":"^2.5.0","stylelint-config-standard":"^22.0.0",svgo:"^2.7.0","ts-loader":"^9.2.6",tslint:"^6.1.3","tslint-config-prettier":"^1.18.0",typescript:"^3.9.10",weekstart:"^1.1.0",xmldom:"^0.6.0"},repository:{type:"git",url:"git+bitbucket.org:inindca/genesys-webcomponents.git"},config:{commitizen:{path:"./node_modules/cz-conventional-changelog"}},commitlint:{extends:["@commitlint/config-conventional"],rules:{"subject-case":[2,"never",["pascal-case","upper-case"]]}},stylelint:{extends:["stylelint-config-standard","stylelint-config-recess-order","stylelint-config-prettier"],rules:{"no-descending-specificity":null,"no-duplicate-selectors":null,"selector-type-no-unknown":[!0,{ignoreTypes:["/^gux-/","lineargradient"]}]}},"lint-staged":{"*.{css,html,less}":["stylelint --fix","prettier --write"],"*.{ts,tsx}":["tslint --fix","prettier --write"],"*.{js,jsx,json}":"prettier --write","*.svg":"svgo -i"}},o="spark-library",s=!1;function a(e,t){var n=window.newrelic;n&&(s||(!function(){var e=window.newrelic;if(!e)return;var t=r.version.split("."),n=(0,i.Z)(t,3),s=n[0],a=n[1],u=n[2];e.addPageAction(o,{fullVersion:"".concat(s,".").concat(a,".").concat(u),majorVersion:s,minorVersion:"".concat(s,".").concat(a)})}(),s=!0),n.addPageAction("spark-component",Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:r.version})))}}}]);
2
+ //# sourceMappingURL=8324.b769efff.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"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ArB,KACAL,EAASM,cAAcT,EAAmB,CACxCU,YAAa,GAAF,OAAKJ,EAAL,YAAcC,EAAd,YAAuBC,GAClCG,aAAcL,EACdM,aAAc,GAAF,OAAKN,EAAL,YAAcC,KAjB1BM,GACAZ,GAAqB,GAEvBE,EAASM,cAlBiB,kBAkBkBlM,OAAOuM,OAAOvM,OAAOuM,OAAO,GAAIZ,GAAW,CAAEnG,UAAWQ,EAAQlB,QAAQ3C,cAAeoG,QAASD,EAAYC","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-form-field-label-49e29743.js","../node_modules/@genesys/common-webcomponents/dist/esm/gux-form-field-range-beta.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/gux-form-field.servce-8bb23dbf.js","../node_modules/@genesys/common-webcomponents/dist/esm/log-error-3d08c2b1.js","../node_modules/@genesys/common-webcomponents/dist/esm/on-attribute-change-2b01c315.js","../node_modules/@genesys/common-webcomponents/dist/esm/on-mutation-678b39ea.js","../node_modules/@genesys/common-webcomponents/dist/esm/prevent-browser-validation-styling-d16c3f4c.js","../node_modules/@genesys/common-webcomponents/dist/esm/random-html-id-8e3f658c.js","../node_modules/@genesys/common-webcomponents/dist/esm/set-input-value-5adeaccc.js","../node_modules/@genesys/common-webcomponents/dist/esm/simulate-native-event-ac69961f.js","../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-e9646da2.js"],"sourcesContent":["import { h } from './index-5f3763b4.js';\n\nconst GuxFormFieldContainer = ({ labelPosition }, children) => {\n return (h(\"div\", { class: {\n 'gux-form-field-container': true,\n [`gux-${labelPosition}`]: true\n } }, children));\n};\n\nconst GuxFormFieldLabel = ({ position, required }, children) => {\n return (h(\"div\", { class: {\n 'gux-form-field-label': true,\n [`gux-${position}`]: true,\n 'gux-required': required\n } }, children));\n};\n\nexport { GuxFormFieldLabel as G, GuxFormFieldContainer as a };\n","import { r as registerInstance, h, H as Host, g as getElement } from './index-5f3763b4.js';\nimport { O as OnMutation } from './on-mutation-678b39ea.js';\nimport { o as onDisabledChange, a as onRequiredChange } from './on-attribute-change-2b01c315.js';\nimport { p as preventBrowserValidationStyling } from './prevent-browser-validation-styling-d16c3f4c.js';\nimport { t as trackComponent } from './usage-tracking-e9646da2.js';\nimport { a as GuxFormFieldContainer, G as GuxFormFieldLabel } from './gux-form-field-label-49e29743.js';\nimport { h as hasErrorSlot, G as GuxFormFieldError, v as validateFormIds, g as getComputedLabelPosition } from './gux-form-field.servce-8bb23dbf.js';\nimport './random-html-id-8e3f658c.js';\nimport './log-error-3d08c2b1.js';\nimport './set-input-value-5adeaccc.js';\nimport './simulate-native-event-ac69961f.js';\n\nconst guxFormFieldRangeCss = \".gux-form-field-container{margin:16px 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;color:#33383d}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:7px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block;color:#33383d}::slotted(label){font-size:12px;font-weight:bold;line-height:20px}::slotted(input[type='range']){position:absolute;width:100%;height:2px;margin:6px 0;margin-top:calc(-1 * (12px / 2 + 2px));background:transparent;-webkit-appearance:none}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-range-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:flex-start;height:32px;font-size:12px}.gux-input-and-error-container .gux-range-input-container.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-range-input-container .gux-range{position:relative;flex:1 1 auto;align-self:center;order:0}.gux-input-and-error-container .gux-range-input-container .gux-range:hover .gux-range-tooltip,.gux-input-and-error-container .gux-range-input-container .gux-range:focus-within .gux-range-tooltip{visibility:visible}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track{width:100%;height:2px;margin:6px 0;background-color:#9baab8}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track .gux-progress{height:2px;background-color:#2a60c8}.gux-input-and-error-container .gux-range-input-container .gux-display{flex:0 1 auto;align-self:auto;order:0;height:32px;margin:0 0 0 16px;line-height:32px;text-align:right}.gux-input-and-error-container .gux-range-input-container .gux-display.gux-hidden{display:none}.gux-input-and-error-container .gux-range-tooltip-container{position:absolute;top:-50px;width:100%;height:32px;pointer-events:none}.gux-input-and-error-container .gux-range-tooltip-container.gux-hidden{display:none}.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip{font-family:Roboto, sans-serif;font-weight:400;font-size:11px;line-height:16px;position:absolute;z-index:1;display:flex;align-items:center;justify-content:center;width:50px;height:32px;margin-left:-20px;visibility:hidden;background-color:#fdfdfd;border:1px solid #aeb9c6;border-radius:4px;box-shadow:0 2px 4px rgba(34, 37, 41, 0.24)}.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip::after,.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip::before{position:absolute;top:100%;left:50%;width:0;height:0;pointer-events:none;content:' ';border:solid transparent}.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip::after{margin-left:-4px;border-width:4px;border-top-color:#fdfdfd}.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip::before{margin-left:-6px;border-width:6px;border-top-color:#aeb9c6}\";\n\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\")\n r = Reflect.decorate(decorators, target, key, desc);\n else\n for (var i = decorators.length - 1; i >= 0; i--)\n if (d = decorators[i])\n r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nlet GuxFormField = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.computedLabelPosition = 'above';\n this.hasError = false;\n }\n onInput(e) {\n const input = e.target;\n this.updateValue(input.value);\n }\n onMousedown() {\n if (!this.disabled) {\n this.active = true;\n }\n }\n onMouseup() {\n this.active = false;\n }\n onMutation() {\n this.hasError = hasErrorSlot(this.root);\n }\n componentWillLoad() {\n this.setInput();\n this.setLabel();\n this.hasError = hasErrorSlot(this.root);\n trackComponent(this.root, { variant: this.variant });\n }\n componentDidLoad() {\n this.updatePosition();\n }\n disconnectedCallback() {\n this.disabledObserver.disconnect();\n this.requiredObserver.disconnect();\n clearInterval(this.valueWatcherId);\n }\n render() {\n return (h(Host, { class: {\n 'gux-active': this.active\n } }, h(GuxFormFieldContainer, { labelPosition: this.computedLabelPosition }, h(GuxFormFieldLabel, { position: this.computedLabelPosition, required: this.required }, h(\"slot\", { name: \"label\", onSlotchange: () => this.setLabel() })), h(\"div\", { class: \"gux-input-and-error-container\" }, this.renderRangeInput(), h(GuxFormFieldError, { hasError: this.hasError }, h(\"slot\", { name: \"error\" }))))));\n }\n get variant() {\n return this.labelPosition ? this.labelPosition.toLowerCase() : 'none';\n }\n setInput() {\n this.input = this.root.querySelector('input[type=\"range\"][slot=\"input\"]');\n preventBrowserValidationStyling(this.input);\n this.disabled = this.input.disabled;\n this.required = this.input.required;\n this.value = this.input.value;\n this.disabledObserver = onDisabledChange(this.input, (disabled) => {\n this.disabled = disabled;\n });\n this.requiredObserver = onRequiredChange(this.input, (required) => {\n this.required = required;\n });\n clearInterval(this.valueWatcherId);\n this.valueWatcherId = setInterval(() => {\n if (this.value !== this.input.value) {\n this.updateValue(this.input.value);\n }\n }, 100);\n validateFormIds(this.root, this.input);\n }\n setLabel() {\n this.label = this.root.querySelector('label[slot=\"label\"]');\n this.computedLabelPosition = getComputedLabelPosition(this.label, this.labelPosition);\n }\n renderRangeInput() {\n return (h(\"div\", { class: {\n 'gux-range-input-container': true,\n 'gux-disabled': this.disabled\n } }, h(\"div\", { class: \"gux-range\" }, h(\"div\", { class: \"gux-track\" }, h(\"div\", { class: \"gux-progress\", ref: el => (this.progressElement = el) })), h(\"slot\", { name: \"input\" }), h(\"div\", { class: {\n 'gux-range-tooltip-container': true,\n 'gux-hidden': !this.valueInTooltip\n }, ref: el => (this.sliderTooltipContainer = el) }, h(\"div\", { class: \"gux-range-tooltip\", ref: el => (this.sliderTooltip = el) }, this.getDisplayValue()))), h(\"div\", { class: {\n 'gux-display': true,\n 'gux-hidden': this.valueInTooltip\n } }, this.getDisplayValue())));\n }\n updateValue(newValue) {\n this.value = newValue;\n this.updatePosition();\n }\n updatePosition() {\n const value = Number(this.input.value || 0);\n const min = Number(this.input.min || 0);\n const max = Number(this.input.max || 100);\n const placementPercentage = ((value - min) / (max - min)) * 100;\n if (this.sliderTooltip) {\n const width = this.sliderTooltipContainer.offsetWidth;\n const offset = placementPercentage - (placementPercentage / 8 / width) * 100;\n this.sliderTooltip.style.left = `${offset}%`;\n }\n this.progressElement.style.width = `${placementPercentage}%`;\n }\n getDisplayValue() {\n if (this.displayUnits) {\n return `${this.value}${this.displayUnits}`;\n }\n return this.value;\n }\n get root() { return getElement(this); }\n};\n__decorate([\n OnMutation({ childList: true, subtree: true })\n], GuxFormField.prototype, \"onMutation\", null);\nGuxFormField.style = guxFormFieldRangeCss;\n\nexport { GuxFormField as gux_form_field_range_beta };\n","import { h } from './index-5f3763b4.js';\nimport { r as randomHTMLId } from './random-html-id-8e3f658c.js';\nimport { l as logError } from './log-error-3d08c2b1.js';\nimport { s as setInputValue } from './set-input-value-5adeaccc.js';\n\nconst GuxFormFieldError = ({ hasError }, children) => {\n return (h(\"div\", { class: {\n 'gux-form-field-error': true,\n 'gux-show': hasError\n } },\n h(\"gux-icon\", { \"icon-name\": \"alert-warning-octogon\", decorative: true }),\n h(\"div\", { class: \"gux-message\" }, children)));\n};\n\nfunction clearInput(input) {\n setInputValue(input, '', true);\n}\nfunction hasErrorSlot(root) {\n return Boolean(root.querySelector('[slot=\"error\"]'));\n}\nfunction hasContent(input) {\n return Boolean(input.value);\n}\nfunction getComputedLabelPosition(label, labelPosition) {\n if (label) {\n if (['above', 'beside', 'screenreader'].includes(labelPosition)) {\n return labelPosition;\n }\n else if (label.offsetWidth > 1 && label.offsetWidth < 40) {\n return 'beside';\n }\n else {\n return 'above';\n }\n }\n}\nfunction validateFormIds(root, input) {\n if (hasLabelSlot(root)) {\n const label = root.querySelector('label[slot=\"label\"]');\n const inputHasId = Boolean(input.hasAttribute('id'));\n const labelHasFor = Boolean(label.hasAttribute('for'));\n if (!inputHasId && labelHasFor) {\n logError(root.tagName.toLowerCase(), 'A \"for\" attribute has been provided on the label but there is no corresponding id on the input. Either provide an id on the input or omit the \"for\" attribute from the label. If there is no input id and no \"for\" attribute provided, the component will automatically generate an id and link it to the \"for\" attribute.');\n }\n else if (!inputHasId) {\n const defaultInputId = randomHTMLId('gux-form-field-input');\n input.setAttribute('id', defaultInputId);\n label.setAttribute('for', defaultInputId);\n }\n else if (inputHasId && !labelHasFor) {\n const forId = input.getAttribute('id');\n label.setAttribute('for', forId);\n }\n else if (inputHasId &&\n labelHasFor &&\n input.getAttribute('id') !== label.getAttribute('for')) {\n logError(root.tagName.toLowerCase(), 'The input id and label for attribute should match.');\n }\n }\n else {\n logError(root.tagName.toLowerCase(), 'A label is required for this component. If a visual label is not needed for this use case, please add localized text for a screenreader and set the label-position attribute to \"screenreader\" to visually hide the label.');\n }\n if (hasErrorSlot(root)) {\n const error = root.querySelector('[slot=\"error\"]');\n const errorId = randomHTMLId('gux-form-field-error');\n error.setAttribute('id', errorId);\n input.setAttribute('aria-describedby', errorId);\n }\n else if (input.getAttribute('aria-describedby') &&\n input.getAttribute('aria-describedby').startsWith('gux-form-field-error')) {\n input.removeAttribute('aria-describedby');\n }\n}\nfunction hasLabelSlot(root) {\n return Boolean(root.querySelector('label[slot=\"label\"]'));\n}\n\nexport { GuxFormFieldError as G, hasContent as a, clearInput as c, getComputedLabelPosition as g, hasErrorSlot as h, validateFormIds as v };\n","function logError(component, message) {\n setTimeout(() => {\n throw new Error(`[${component}] ${message}`);\n }, 0);\n}\nfunction logWarn(component, message) {\n setTimeout(() => {\n console.warn(`[${component}] ${message}`);\n }, 0);\n}\n\nexport { logWarn as a, logError as l };\n","function onHiddenChange(element, callback) {\n const observer = new MutationObserver(mutations => {\n mutations.forEach(() => {\n callback(element.hidden);\n });\n });\n observer.observe(element, {\n attributes: true,\n attributeFilter: ['hidden']\n });\n return observer;\n}\nfunction onDisabledChange(element, callback) {\n const observer = new MutationObserver(mutations => {\n mutations.forEach(mutation => {\n if (mutation.attributeName === 'disabled') {\n callback(element.disabled);\n }\n });\n });\n observer.observe(element, { attributes: true });\n return observer;\n}\nfunction onRequiredChange(element, callback) {\n const observer = new MutationObserver(mutations => {\n mutations.forEach(mutation => {\n if (mutation.attributeName === 'required') {\n callback(element.required);\n }\n });\n });\n observer.observe(element, { attributes: true });\n return observer;\n}\n\nexport { onRequiredChange as a, onHiddenChange as b, onDisabledChange as o };\n","import { g as getElement } from './index-5f3763b4.js';\n\nfunction OnMutation(opt) {\n return (proto, methodName) => {\n const { connectedCallback, disconnectedCallback } = proto;\n let onMutationObserver;\n proto.connectedCallback = function () {\n const host = getElement(this);\n const method = this[methodName];\n onMutationObserver = new MutationObserver(method.bind(this));\n onMutationObserver.observe(host, opt);\n return connectedCallback && connectedCallback.call(this);\n };\n proto.disconnectedCallback = function () {\n onMutationObserver.disconnect();\n return disconnectedCallback && disconnectedCallback.call(this);\n };\n };\n}\n\nexport { OnMutation as O };\n","function preventBrowserValidationStyling(input) {\n input.addEventListener('invalid', event => {\n event.preventDefault();\n });\n}\n\nexport { preventBrowserValidationStyling as p };\n","function randomHTMLId(prefix = 'gux') {\n return `${prefix}-${Math.random().toString(36).substr(2, 10)}`;\n}\n\nexport { randomHTMLId as r };\n","import { s as simulateNativeEvent } from './simulate-native-event-ac69961f.js';\n\nfunction setInputValue(input, value, focusAfter) {\n input.value = value;\n simulateNativeEvent(input, 'input');\n simulateNativeEvent(input, 'change');\n if (focusAfter) {\n input.focus();\n }\n}\n\nexport { setInputValue as s };\n","function simulateNativeEvent(targetElement, nativeEventName) {\n switch (nativeEventName) {\n case 'change':\n return targetElement.dispatchEvent(new InputEvent('change', {\n bubbles: true\n }));\n case 'input':\n return targetElement.dispatchEvent(new InputEvent('input', {\n bubbles: true\n }));\n }\n}\n\nexport { simulateNativeEvent as s };\n","const name = \"@genesys/common-webcomponents\";\nconst version = \"2.55.3\";\nconst description = \"Common webcomponents\";\nconst license = \"MIT\";\nconst main = \"dist/stencil-wrapper.js\";\nconst types = \"dist/types/index.d.ts\";\nconst collection = \"dist/collection/collection-manifest.json\";\nconst files = [\n\t\"dist/\"\n];\nconst scripts = {\n\tbuild: \"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper\",\n\t\"build-wrapper\": \"./scripts/wrap-stencil.js\",\n\t\"check-readmes\": \"./scripts/check-readmes.sh\",\n\tclean: \"rm -r ./dist || true\",\n\tcommit: \"git-cz\",\n\t\"create-component\": \"node scripts/create-component.js\",\n\tdev: \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev\\\"\",\n\t\"dev.public\": \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev.public\\\"\",\n\tdocs: \"cd ./docs && npm run build\",\n\t\"docs.dev\": \"cd ./docs && npm run start\",\n\t\"docs.dev.public\": \"cd ./docs && npm run start -- --host 0.0.0.0\",\n\tformat: \"prettier \\\"./**/*.{ts,tsx,js,jsx,json,css,html,less}\\\"\",\n\t\"format.check\": \"npm run format -- --check\",\n\t\"format.fix\": \"npm run format -- --write\",\n\t\"generate-start-of-week-file\": \"./scripts/generate-start-of-week-file.js\",\n\t\"generate-versions-file\": \"./scripts/generate-versions-file.mjs\",\n\ti18n: \"npm run generate-start-of-week-file && ./scripts/build-i18n.js\",\n\tlint: \"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg\",\n\t\"lint.commit\": \"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae\",\n\t\"lint.css\": \"npx stylelint '**/*.{css,html,less}' --fix\",\n\t\"lint.fix\": \"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix\",\n\t\"lint.svg\": \"svgo -f ./src/components/stable/gux-icon/icons\",\n\t\"lint.ts\": \"tslint --project .\",\n\t\"list-component-tracking\": \"./scripts/list-component-tracking.js\",\n\t\"list-shadow-explicitly-set\": \"./scripts/list-shadow-explicitly-set.js\",\n\t\"list-i18n-files\": \"./scripts/list-i18n-files.js\",\n\tpredev: \"npm run i18n\",\n\t\"predev.public\": \"npm run predev\",\n\tprepare: \"./scripts/prepare-docs.sh && npm run i18n && husky install\",\n\trelease: \"standard-version\",\n\tstencil: \"stencil build --prod\",\n\t\"stencil.dev\": \"stencil build --dev --watch --docs\",\n\ttest: \"stencil test --spec --e2e\",\n\t\"test.ci\": \"npm run test.ci.spec && npm run test.ci.e2e\",\n\t\"test.ci.spec\": \"stencil test --spec\",\n\t\"test.ci.e2e\": \"stencil test --e2e --max-workers=1\",\n\t\"test.e2e\": \"stencil test --e2e\",\n\t\"test.e2e.update-snapshot\": \"stencil test --e2e --updateSnapshot\",\n\t\"test.screenshot\": \"stencil test --e2e --screenshot\",\n\t\"test.unit\": \"stencil build dev && stencil test --spec\",\n\t\"test.unit.update-snapshot\": \"stencil test --spec --updateSnapshot\",\n\t\"test.update-snapshot\": \"stencil test --spec --e2e --updateSnapshot\",\n\t\"test.watch\": \"stencil test --spec --e2e --watchAll\"\n};\nconst dependencies = {\n\t\"@popperjs/core\": \"^2.10.2\",\n\t\"intl-messageformat\": \"~9.4.9\",\n\t\"requestanimationframe-timer\": \"^3.0.3\",\n\tsortablejs: \"^1.14.0\",\n\t\"stencil-click-outside\": \"^1.7.1\"\n};\nconst devDependencies = {\n\t\"@babel/core\": \"^7.15.8\",\n\t\"@babel/preset-env\": \"^7.15.8\",\n\t\"@commitlint/cli\": \"^13.2.1\",\n\t\"@commitlint/config-conventional\": \"^13.2.0\",\n\t\"@rollup/plugin-replace\": \"^3.0.0\",\n\t\"@stencil/core\": \"^2.9.0\",\n\t\"@stencil/less\": \"^1.0.0\",\n\t\"@stencil/utils\": \"0.0.5\",\n\t\"@types/jest\": \"^26.0.24\",\n\t\"@types/jsdom\": \"^16.2.13\",\n\t\"@types/new-relic-browser\": \"^0.1118.2\",\n\t\"@types/puppeteer\": \"^5.4.4\",\n\t\"@types/resize-observer-browser\": \"^0.1.6\",\n\t\"@types/sortablejs\": \"^1.10.7\",\n\t\"axe-live\": \"^0.1.0\",\n\t\"babel-loader\": \"^8.2.3\",\n\tcommitizen: \"^4.2.4\",\n\tconcurrently: \"^6.3.0\",\n\t\"cz-conventional-changelog\": \"^3.3.0\",\n\t\"file-loader\": \"^6.2.0\",\n\tglob: \"^7.2.0\",\n\thandlebars: \"^4.7.7\",\n\thusky: \"^7.0.4\",\n\tinquirer: \"^8.2.0\",\n\tjest: \"^26.6.3\",\n\t\"jest-cli\": \"^26.6.3\",\n\t\"jest-config\": \"^26.6.3\",\n\t\"jest-environment-node\": \"^26.6.2\",\n\t\"jest-junit\": \"^13.0.0\",\n\tjsdom: \"^18.0.0\",\n\t\"lint-staged\": \"^11.2.3\",\n\tmarked: \"^3.0.7\",\n\t\"mutation-observer\": \"^1.0.3\",\n\t\"node-fetch\": \"^3.2.1\",\n\tprettier: \"^2.4.1\",\n\tpuppeteer: \"^10.4.0\",\n\trollup: \"^2.58.0\",\n\t\"rollup-plugin-copy\": \"^3.4.0\",\n\t\"rollup-plugin-less\": \"^1.1.3\",\n\t\"semver-sort\": \"^1.0.0\",\n\t\"standard-version\": \"^9.3.2\",\n\tstylelint: \"^13.13.1\",\n\t\"stylelint-config-prettier\": \"^9.0.3\",\n\t\"stylelint-config-recess-order\": \"^2.5.0\",\n\t\"stylelint-config-standard\": \"^22.0.0\",\n\tsvgo: \"^2.7.0\",\n\t\"ts-loader\": \"^9.2.6\",\n\ttslint: \"^6.1.3\",\n\t\"tslint-config-prettier\": \"^1.18.0\",\n\ttypescript: \"^3.9.10\",\n\tweekstart: \"^1.1.0\",\n\txmldom: \"^0.6.0\"\n};\nconst repository = {\n\ttype: \"git\",\n\turl: \"git+bitbucket.org:inindca/genesys-webcomponents.git\"\n};\nconst config = {\n\tcommitizen: {\n\t\tpath: \"./node_modules/cz-conventional-changelog\"\n\t}\n};\nconst commitlint = {\n\t\"extends\": [\n\t\t\"@commitlint/config-conventional\"\n\t],\n\trules: {\n\t\t\"subject-case\": [\n\t\t\t2,\n\t\t\t\"never\",\n\t\t\t[\n\t\t\t\t\"pascal-case\",\n\t\t\t\t\"upper-case\"\n\t\t\t]\n\t\t]\n\t}\n};\nconst stylelint = {\n\t\"extends\": [\n\t\t\"stylelint-config-standard\",\n\t\t\"stylelint-config-recess-order\",\n\t\t\"stylelint-config-prettier\"\n\t],\n\trules: {\n\t\t\"no-descending-specificity\": null,\n\t\t\"no-duplicate-selectors\": null,\n\t\t\"selector-type-no-unknown\": [\n\t\t\ttrue,\n\t\t\t{\n\t\t\t\tignoreTypes: [\n\t\t\t\t\t\"/^gux-/\",\n\t\t\t\t\t\"lineargradient\"\n\t\t\t\t]\n\t\t\t}\n\t\t]\n\t}\n};\nconst packageInfo = {\n\tname: name,\n\tversion: version,\n\tdescription: description,\n\tlicense: license,\n\tmain: main,\n\ttypes: types,\n\tcollection: collection,\n\tfiles: files,\n\tscripts: scripts,\n\tdependencies: dependencies,\n\tdevDependencies: devDependencies,\n\trepository: repository,\n\tconfig: config,\n\tcommitlint: commitlint,\n\tstylelint: stylelint,\n\t\"lint-staged\": {\n\t\"*.{css,html,less}\": [\n\t\t\"stylelint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{ts,tsx}\": [\n\t\t\"tslint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{js,jsx,json}\": \"prettier --write\",\n\t\"*.svg\": \"svgo -i\"\n}\n};\n\nconst libraryPageAction = 'spark-library';\nconst componentPageAction = 'spark-component';\nlet libVersionReported = false;\n/**\n * Submits a component for tracking by NewRelic. Will also report the version of the library being\n * used the first time it is called.\n */\nfunction trackComponent(element, metadata) {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n // if (element['s-hn']) {\n // return;\n // }\n if (!libVersionReported) {\n reportLibraryVersion();\n libVersionReported = true;\n }\n newrelic.addPageAction(componentPageAction, Object.assign(Object.assign({}, metadata), { component: element.tagName.toLowerCase(), version: packageInfo.version }));\n}\n/**\n * Sends a library usage page action the first time it is called, does nothing afterward.\n */\nfunction reportLibraryVersion() {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n const [major, minor, patch] = packageInfo.version.split('.');\n newrelic.addPageAction(libraryPageAction, {\n fullVersion: `${major}.${minor}.${patch}`,\n majorVersion: major,\n minorVersion: `${major}.${minor}`\n });\n}\n\nexport { trackComponent as t };\n"],"names":["GuxFormFieldContainer","children","labelPosition","h","class","GuxFormFieldLabel","position","required","__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","GuxFormField","hostRef","registerInstance","this","computedLabelPosition","hasError","e","input","updateValue","value","disabled","active","hasErrorSlot","root","setInput","setLabel","trackComponent","variant","updatePosition","disabledObserver","disconnect","requiredObserver","clearInterval","valueWatcherId","Host","name","onSlotchange","renderRangeInput","GuxFormFieldError","toLowerCase","querySelector","preventBrowserValidationStyling","onDisabledChange","onRequiredChange","setInterval","validateFormIds","label","getComputedLabelPosition","ref","el","progressElement","valueInTooltip","sliderTooltipContainer","sliderTooltip","getDisplayValue","newValue","Number","min","placementPercentage","max","offset","offsetWidth","style","left","width","displayUnits","getElement","OnMutation","childList","subtree","prototype","decorative","clearInput","setInputValue","Boolean","hasContent","includes","hasLabelSlot","inputHasId","hasAttribute","labelHasFor","logError","tagName","forId","getAttribute","setAttribute","defaultInputId","randomHTMLId","error","errorId","startsWith","removeAttribute","component","message","setTimeout","Error","logWarn","console","warn","onHiddenChange","element","callback","observer","MutationObserver","mutations","forEach","hidden","observe","attributes","attributeFilter","mutation","attributeName","opt","proto","methodName","onMutationObserver","connectedCallback","disconnectedCallback","host","method","bind","call","addEventListener","event","preventDefault","prefix","Math","random","toString","substr","focusAfter","simulateNativeEvent","focus","targetElement","nativeEventName","dispatchEvent","InputEvent","bubbles","packageInfo","version","description","license","main","types","collection","files","scripts","build","clean","commit","dev","docs","format","i18n","lint","predev","prepare","release","stencil","test","dependencies","sortablejs","devDependencies","commitizen","concurrently","glob","handlebars","husky","inquirer","jest","jsdom","marked","prettier","puppeteer","rollup","stylelint","svgo","tslint","typescript","weekstart","xmldom","repository","type","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","libVersionReported","metadata","newrelic","window","split","major","minor","patch","addPageAction","fullVersion","majorVersion","minorVersion","reportLibraryVersion","assign"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[8366],{8366:function(t,e,a){a.r(e),a.d(e,{gux_tab_panel_beta:function(){return l}});var n=a(4165),i=a(5861),c=a(5671),u=a(3144),r=a(4723),l=function(){function t(e){(0,c.Z)(this,t),(0,r.r)(this,e),this.guxactivepanelchange=(0,r.c)(this,"guxactivepanelchange",7),this.active=!1}return(0,u.Z)(t,[{key:"guxSetActive",value:function(){var t=(0,i.Z)((0,n.Z)().mark((function t(e){return(0,n.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this.active=e;case 1:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"watchActivePanel",value:function(){!0===this.active&&this.guxactivepanelchange.emit(this.tabId)}},{key:"render",value:function(){return(0,r.h)("div",{id:"gux-".concat(this.tabId,"-panel"),role:"tabpanel","aria-labelledby":"gux-".concat(this.tabId,"-tab"),tabIndex:0,hidden:!this.active},(0,r.h)("slot",null))}}],[{key:"watchers",get:function(){return{active:["watchActivePanel"]}}}]),t}();l.style="gux-tab-panel-beta div[role='tabpanel']:focus{outline:none}gux-tab-panel-beta div[role='tabpanel']:focus-visible{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}"}}]);
2
+ //# sourceMappingURL=8366.b2c2daee.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/js/8366.b2c2daee.chunk.js","mappings":"0NAIIA,EAAe,WACjB,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GACvBE,KAAKC,sBAAuBC,EAAAA,EAAAA,GAAYF,KAAM,uBAAwB,GACtEA,KAAKG,QAAS,EAJC,oFAMjB,WAAmBA,GAAnB,sEACEH,KAAKG,OAASA,EADhB,gDANiB,qFASjB,YACsB,IAAhBH,KAAKG,QACPH,KAAKC,qBAAqBG,KAAKJ,KAAKK,SAXvB,oBAcjB,WACE,OAAQC,EAAAA,EAAAA,GAAE,MAAO,CAAEC,GAAI,OAAF,OAASP,KAAKK,MAAd,UAA6BG,KAAM,WAAY,kBAAmB,OAAnB,OAA0BR,KAAKK,MAA/B,QAA4CI,SAAU,EAAGC,QAASV,KAAKG,SAAUG,EAAAA,EAAAA,GAAE,OAAQ,UAfhJ,qBAiBjB,WAAwB,MAAO,CAC7B,OAAU,CAAC,yBAlBI,KAqBnBT,EAAgBc,MAvBW","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-tab-panel-beta.entry.js"],"sourcesContent":["import { r as registerInstance, c as createEvent, h } from './index-5f3763b4.js';\n\nconst guxTabPanelBetaCss = \"gux-tab-panel-beta div[role='tabpanel']:focus{outline:none}gux-tab-panel-beta div[role='tabpanel']:focus-visible{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}\";\n\nlet GuxTabPanelBeta = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.guxactivepanelchange = createEvent(this, \"guxactivepanelchange\", 7);\n this.active = false;\n }\n async guxSetActive(active) {\n this.active = active;\n }\n watchActivePanel() {\n if (this.active === true) {\n this.guxactivepanelchange.emit(this.tabId);\n }\n }\n render() {\n return (h(\"div\", { id: `gux-${this.tabId}-panel`, role: \"tabpanel\", \"aria-labelledby\": `gux-${this.tabId}-tab`, tabIndex: 0, hidden: !this.active }, h(\"slot\", null)));\n }\n static get watchers() { return {\n \"active\": [\"watchActivePanel\"]\n }; }\n};\nGuxTabPanelBeta.style = guxTabPanelBetaCss;\n\nexport { GuxTabPanelBeta as gux_tab_panel_beta };\n"],"names":["GuxTabPanelBeta","hostRef","registerInstance","this","guxactivepanelchange","createEvent","active","emit","tabId","h","id","role","tabIndex","hidden","style"],"sourceRoot":""}