@salutejs/plasma-new-hope 0.193.0-canary.1550.11804452240.0 → 0.193.0-canary.1558.11807380775.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (671) hide show
  1. package/cjs/components/Autocomplete/Autocomplete.css +22 -21
  2. package/cjs/components/Cell/Cell.js +1 -3
  3. package/cjs/components/Cell/Cell.js.map +1 -1
  4. package/cjs/components/Cell/ui/CellTextbox/CellTextbox.js +1 -7
  5. package/cjs/components/Cell/ui/CellTextbox/CellTextbox.js.map +1 -1
  6. package/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +1 -4
  7. package/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js.map +1 -1
  8. package/cjs/components/Chip/Chip.js +1 -3
  9. package/cjs/components/Chip/Chip.js.map +1 -1
  10. package/cjs/components/Combobox/ComboboxNew/Combobox.css +22 -21
  11. package/cjs/components/Combobox/ComboboxNew/Combobox.js +1 -0
  12. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  13. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
  14. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  15. package/cjs/components/Combobox/ComboboxNew/FloatingPopover.js +4 -18
  16. package/cjs/components/Combobox/ComboboxNew/FloatingPopover.js.map +1 -1
  17. package/cjs/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
  18. package/cjs/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +50 -1
  19. package/cjs/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js.map +1 -1
  20. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +22 -21
  21. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +22 -21
  22. package/cjs/components/DatePicker/RangeDate/RangeDate.css +22 -21
  23. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +22 -21
  24. package/cjs/components/DatePicker/SingleDate/SingleDate.css +22 -21
  25. package/cjs/components/Dropdown/FloatingPopover.js.map +1 -1
  26. package/cjs/components/Modal/Modal.css +6 -0
  27. package/cjs/components/Modal/Modal.js +25 -13
  28. package/cjs/components/Modal/Modal.js.map +1 -1
  29. package/cjs/components/Modal/Modal.styles.js +27 -0
  30. package/cjs/components/Modal/Modal.styles.js.map +1 -0
  31. package/cjs/components/Modal/Modal.styles_1fjhyqd.css +3 -0
  32. package/cjs/components/Modal/Modal.tokens.js +5 -1
  33. package/cjs/components/Modal/Modal.tokens.js.map +1 -1
  34. package/cjs/components/Pagination/Pagination.css +37 -86
  35. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +37 -86
  36. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  37. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  38. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_1fesyfv.css +3 -0
  39. package/cjs/components/Range/Range.css +22 -21
  40. package/cjs/components/Select/Select.css +34 -83
  41. package/cjs/components/Select/Select.js +139 -179
  42. package/cjs/components/Select/Select.js.map +1 -1
  43. package/cjs/components/Select/Select.styles.js +50 -17
  44. package/cjs/components/Select/Select.styles.js.map +1 -1
  45. package/cjs/components/Select/Select.styles_768h42.css +5 -0
  46. package/cjs/components/Select/Select.tokens.js +78 -122
  47. package/cjs/components/Select/Select.tokens.js.map +1 -1
  48. package/cjs/components/Select/hooks/useKeyboardNavigation.js +72 -19
  49. package/cjs/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
  50. package/cjs/components/Select/hooks/usePathMaps.js +1 -4
  51. package/cjs/components/Select/hooks/usePathMaps.js.map +1 -1
  52. package/cjs/components/Select/reducers/focusedChipIndexReducer.js +39 -0
  53. package/cjs/components/Select/reducers/focusedChipIndexReducer.js.map +1 -0
  54. package/cjs/components/Select/ui/Inner/Inner.css +34 -83
  55. package/cjs/components/Select/ui/Inner/Inner.js +9 -9
  56. package/cjs/components/Select/ui/Inner/Inner.js.map +1 -1
  57. package/cjs/components/Select/ui/Inner/ui/Item/Item.css +34 -83
  58. package/cjs/components/Select/ui/Inner/ui/Item/Item.js +12 -20
  59. package/cjs/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  60. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +51 -34
  61. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  62. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles_8oe5oy.css +9 -0
  63. package/cjs/components/Select/ui/Target/Target.css +17 -58
  64. package/cjs/components/Select/ui/Target/Target.js +16 -34
  65. package/cjs/components/Select/ui/Target/Target.js.map +1 -1
  66. package/cjs/components/Select/ui/Target/ui/Button/Button.css +5 -5
  67. package/cjs/components/Select/ui/Target/ui/Button/Button.js +14 -10
  68. package/cjs/components/Select/ui/Target/ui/Button/Button.js.map +1 -1
  69. package/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +1 -1
  70. package/cjs/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -1
  71. package/cjs/components/Select/ui/Target/ui/Button/Button.styles_lxxm4p.css +5 -0
  72. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +38 -53
  73. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +97 -84
  74. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  75. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +103 -38
  76. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  77. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles_1damf5p.css +12 -0
  78. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.css +21 -0
  79. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +36 -0
  80. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js.map +1 -0
  81. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +22 -0
  82. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +1 -0
  83. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles_1a752pa.css +1 -0
  84. package/cjs/components/Select/utils/getButtonLabel.js +1 -1
  85. package/cjs/components/Select/utils/getButtonLabel.js.map +1 -1
  86. package/cjs/components/Select/utils/getView.js +2 -2
  87. package/cjs/components/Select/utils/getView.js.map +1 -1
  88. package/cjs/components/Select/variations/_size/base.js +9 -0
  89. package/cjs/components/Select/variations/_size/base.js.map +1 -0
  90. package/cjs/components/Select/variations/_size/base_x642ct.css +1 -0
  91. package/cjs/components/Select/variations/_view/base.js +9 -0
  92. package/cjs/components/Select/variations/_view/base.js.map +1 -0
  93. package/cjs/components/Select/variations/_view/base_x642ct.css +1 -0
  94. package/cjs/components/Slider/Slider.css +22 -21
  95. package/cjs/components/Slider/components/Double/Double.css +22 -21
  96. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +22 -21
  97. package/cjs/components/TextField/TextField.js +2 -11
  98. package/cjs/components/TextField/TextField.js.map +1 -1
  99. package/cjs/components/TextField/TextField.styles.js +22 -14
  100. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  101. package/{es/components/TextField/TextField.styles_j7dqpn.css → cjs/components/TextField/TextField.styles_grgg7q.css} +7 -6
  102. package/cjs/components/TextField/TextField.tokens.js +1 -2
  103. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  104. package/cjs/components/TextField/ui/Hint/Hint.css +21 -20
  105. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -7
  106. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
  107. package/cjs/components/TextField/variations/_clear/base.js +1 -1
  108. package/cjs/components/TextField/variations/_clear/{base_1396md2.css → base_1i91sjp.css} +1 -1
  109. package/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  110. package/cjs/components/TextField/variations/_label-placement/base_3domm.css +1 -0
  111. package/cjs/components/TextField/variations/_read-only/base.js +1 -1
  112. package/cjs/components/TextField/variations/_read-only/{base_1jvcf9a.css → base_17ypmu7.css} +1 -1
  113. package/cjs/components/TextField/variations/_size/base.js +1 -1
  114. package/cjs/components/TextField/variations/_size/{base_1tei47x.css → base_1xdmaqh.css} +1 -1
  115. package/cjs/components/TextField/variations/_view/base.js +1 -1
  116. package/cjs/components/TextField/variations/_view/{base_8ogww5.css → base_qhyte8.css} +1 -1
  117. package/cjs/index.css +65 -46
  118. package/cjs/index.js +0 -2
  119. package/cjs/index.js.map +1 -1
  120. package/cjs/utils/index.js.map +1 -1
  121. package/emotion/cjs/components/Cell/Cell.js +1 -3
  122. package/emotion/cjs/components/Cell/ui/CellTextbox/CellTextbox.js +1 -7
  123. package/emotion/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +1 -4
  124. package/emotion/cjs/components/Chip/Chip.js +1 -3
  125. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +1 -0
  126. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
  127. package/emotion/cjs/components/Combobox/ComboboxNew/FloatingPopover.js +5 -19
  128. package/emotion/cjs/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +50 -1
  129. package/emotion/cjs/components/Modal/Modal.js +24 -12
  130. package/emotion/cjs/components/Modal/Modal.styles.js +30 -0
  131. package/emotion/cjs/components/Modal/Modal.template-doc.mdx +47 -0
  132. package/emotion/cjs/components/Modal/Modal.tokens.js +5 -1
  133. package/emotion/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
  134. package/emotion/cjs/components/Select/Select.js +136 -177
  135. package/emotion/cjs/components/Select/Select.styles.js +31 -13
  136. package/emotion/cjs/components/Select/Select.tokens.js +60 -125
  137. package/emotion/cjs/components/Select/hooks/useKeyboardNavigation.js +73 -19
  138. package/emotion/cjs/components/Select/hooks/usePathMaps.js +1 -4
  139. package/emotion/cjs/components/Select/reducers/focusedChipIndexReducer.js +38 -0
  140. package/emotion/cjs/components/Select/reducers/index.js +11 -0
  141. package/emotion/cjs/components/Select/ui/Inner/Inner.js +9 -9
  142. package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.js +12 -19
  143. package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +50 -27
  144. package/emotion/cjs/components/Select/ui/Target/Target.js +18 -38
  145. package/emotion/cjs/components/Select/ui/Target/ui/Button/Button.js +16 -13
  146. package/emotion/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +6 -6
  147. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +99 -88
  148. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +74 -27
  149. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +37 -0
  150. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +22 -0
  151. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/ui/index.js +16 -0
  152. package/emotion/cjs/components/Select/utils/getButtonLabel.js +1 -1
  153. package/emotion/cjs/components/Select/utils/getView.js +2 -2
  154. package/emotion/cjs/components/Select/utils/index.js +1 -22
  155. package/emotion/cjs/components/Select/variations/_size/base.js +8 -0
  156. package/emotion/cjs/components/Select/variations/_size/tokens.json +9 -0
  157. package/emotion/cjs/components/Select/variations/_view/base.js +8 -0
  158. package/emotion/cjs/components/Select/variations/_view/tokens.json +1 -0
  159. package/emotion/cjs/components/TextField/TextField.js +3 -12
  160. package/emotion/cjs/components/TextField/TextField.styles.js +40 -36
  161. package/emotion/cjs/components/TextField/TextField.tokens.js +1 -2
  162. package/emotion/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -7
  163. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  164. package/emotion/cjs/examples/plasma_b2c/components/Modal/Modal.config.js +1 -1
  165. package/emotion/cjs/examples/plasma_b2c/components/Modal/Modal.stories.tsx +90 -1
  166. package/emotion/cjs/examples/plasma_b2c/components/Select/Select.config.js +20 -28
  167. package/emotion/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +40 -47
  168. package/emotion/cjs/examples/plasma_web/components/Modal/Modal.config.js +1 -1
  169. package/emotion/cjs/examples/plasma_web/components/Modal/Modal.stories.tsx +90 -1
  170. package/emotion/cjs/examples/plasma_web/components/Select/Select.config.js +20 -28
  171. package/emotion/cjs/examples/plasma_web/components/Select/Select.stories.tsx +40 -47
  172. package/emotion/cjs/index.js +0 -11
  173. package/emotion/cjs/utils/index.js +1 -9
  174. package/emotion/es/components/Cell/Cell.js +1 -3
  175. package/emotion/es/components/Cell/ui/CellTextbox/CellTextbox.js +1 -7
  176. package/emotion/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +1 -4
  177. package/emotion/es/components/Chip/Chip.js +1 -3
  178. package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +1 -0
  179. package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
  180. package/emotion/es/components/Combobox/ComboboxNew/FloatingPopover.js +4 -18
  181. package/emotion/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +50 -1
  182. package/emotion/es/components/Modal/Modal.js +24 -12
  183. package/emotion/es/components/Modal/Modal.styles.js +23 -0
  184. package/emotion/es/components/Modal/Modal.template-doc.mdx +47 -0
  185. package/emotion/es/components/Modal/Modal.tokens.js +5 -1
  186. package/emotion/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
  187. package/emotion/es/components/Select/Select.js +141 -182
  188. package/emotion/es/components/Select/Select.styles.js +30 -12
  189. package/emotion/es/components/Select/Select.tokens.js +60 -125
  190. package/emotion/es/components/Select/hooks/useKeyboardNavigation.js +72 -18
  191. package/emotion/es/components/Select/hooks/usePathMaps.js +1 -4
  192. package/emotion/es/components/Select/reducers/focusedChipIndexReducer.js +32 -0
  193. package/emotion/es/components/Select/reducers/index.js +2 -1
  194. package/emotion/es/components/Select/ui/Inner/Inner.js +10 -10
  195. package/emotion/es/components/Select/ui/Inner/ui/Item/Item.js +15 -22
  196. package/emotion/es/components/Select/ui/Inner/ui/Item/Item.styles.js +49 -26
  197. package/emotion/es/components/Select/ui/Target/Target.js +17 -35
  198. package/emotion/es/components/Select/ui/Target/ui/Button/Button.js +16 -11
  199. package/emotion/es/components/Select/ui/Target/ui/Button/Button.styles.js +6 -6
  200. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +99 -86
  201. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +74 -27
  202. package/emotion/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +28 -0
  203. package/emotion/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +15 -0
  204. package/emotion/es/components/Select/ui/Target/ui/Textfield/ui/index.js +1 -0
  205. package/emotion/es/components/Select/utils/getButtonLabel.js +1 -1
  206. package/emotion/es/components/Select/utils/getView.js +2 -2
  207. package/emotion/es/components/Select/utils/index.js +1 -4
  208. package/emotion/es/components/Select/variations/_size/base.js +2 -0
  209. package/emotion/es/components/Select/variations/_size/tokens.json +9 -0
  210. package/emotion/es/components/Select/variations/_view/base.js +2 -0
  211. package/emotion/es/components/Select/variations/_view/tokens.json +1 -0
  212. package/emotion/es/components/TextField/TextField.js +3 -12
  213. package/emotion/es/components/TextField/TextField.styles.js +40 -36
  214. package/emotion/es/components/TextField/TextField.tokens.js +1 -2
  215. package/emotion/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -7
  216. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  217. package/emotion/es/examples/plasma_b2c/components/Modal/Modal.config.js +1 -1
  218. package/emotion/es/examples/plasma_b2c/components/Modal/Modal.stories.tsx +90 -1
  219. package/emotion/es/examples/plasma_b2c/components/Select/Select.config.js +21 -29
  220. package/emotion/es/examples/plasma_b2c/components/Select/Select.stories.tsx +40 -47
  221. package/emotion/es/examples/plasma_web/components/Modal/Modal.config.js +1 -1
  222. package/emotion/es/examples/plasma_web/components/Modal/Modal.stories.tsx +90 -1
  223. package/emotion/es/examples/plasma_web/components/Select/Select.config.js +21 -29
  224. package/emotion/es/examples/plasma_web/components/Select/Select.stories.tsx +40 -47
  225. package/emotion/es/index.js +0 -1
  226. package/emotion/es/utils/index.js +1 -2
  227. package/es/components/Autocomplete/Autocomplete.css +22 -21
  228. package/es/components/Cell/Cell.js +1 -3
  229. package/es/components/Cell/Cell.js.map +1 -1
  230. package/es/components/Cell/ui/CellTextbox/CellTextbox.js +1 -7
  231. package/es/components/Cell/ui/CellTextbox/CellTextbox.js.map +1 -1
  232. package/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +1 -4
  233. package/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js.map +1 -1
  234. package/es/components/Chip/Chip.js +1 -3
  235. package/es/components/Chip/Chip.js.map +1 -1
  236. package/es/components/Combobox/ComboboxNew/Combobox.css +22 -21
  237. package/es/components/Combobox/ComboboxNew/Combobox.js +1 -0
  238. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  239. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
  240. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  241. package/es/components/Combobox/ComboboxNew/FloatingPopover.js +4 -18
  242. package/es/components/Combobox/ComboboxNew/FloatingPopover.js.map +1 -1
  243. package/es/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
  244. package/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +50 -1
  245. package/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js.map +1 -1
  246. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +22 -21
  247. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +22 -21
  248. package/es/components/DatePicker/RangeDate/RangeDate.css +22 -21
  249. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +22 -21
  250. package/es/components/DatePicker/SingleDate/SingleDate.css +22 -21
  251. package/es/components/Dropdown/FloatingPopover.js.map +1 -1
  252. package/es/components/Modal/Modal.css +6 -0
  253. package/es/components/Modal/Modal.js +25 -13
  254. package/es/components/Modal/Modal.js.map +1 -1
  255. package/es/components/Modal/Modal.styles.js +21 -0
  256. package/es/components/Modal/Modal.styles.js.map +1 -0
  257. package/es/components/Modal/Modal.styles_1fjhyqd.css +3 -0
  258. package/es/components/Modal/Modal.tokens.js +5 -1
  259. package/es/components/Modal/Modal.tokens.js.map +1 -1
  260. package/es/components/Pagination/Pagination.css +37 -86
  261. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +37 -86
  262. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  263. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  264. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_1fesyfv.css +3 -0
  265. package/es/components/Range/Range.css +22 -21
  266. package/es/components/Select/Select.css +34 -83
  267. package/es/components/Select/Select.js +142 -182
  268. package/es/components/Select/Select.js.map +1 -1
  269. package/es/components/Select/Select.styles.js +48 -18
  270. package/es/components/Select/Select.styles.js.map +1 -1
  271. package/es/components/Select/Select.styles_768h42.css +5 -0
  272. package/es/components/Select/Select.tokens.js +78 -123
  273. package/es/components/Select/Select.tokens.js.map +1 -1
  274. package/es/components/Select/hooks/useKeyboardNavigation.js +73 -19
  275. package/es/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
  276. package/es/components/Select/hooks/usePathMaps.js +1 -4
  277. package/es/components/Select/hooks/usePathMaps.js.map +1 -1
  278. package/es/components/Select/reducers/focusedChipIndexReducer.js +35 -0
  279. package/es/components/Select/reducers/focusedChipIndexReducer.js.map +1 -0
  280. package/es/components/Select/ui/Inner/Inner.css +34 -83
  281. package/es/components/Select/ui/Inner/Inner.js +10 -10
  282. package/es/components/Select/ui/Inner/Inner.js.map +1 -1
  283. package/es/components/Select/ui/Inner/ui/Item/Item.css +34 -83
  284. package/es/components/Select/ui/Inner/ui/Item/Item.js +14 -22
  285. package/es/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  286. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js +50 -33
  287. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  288. package/es/components/Select/ui/Inner/ui/Item/Item.styles_8oe5oy.css +9 -0
  289. package/es/components/Select/ui/Target/Target.css +17 -58
  290. package/es/components/Select/ui/Target/Target.js +17 -35
  291. package/es/components/Select/ui/Target/Target.js.map +1 -1
  292. package/es/components/Select/ui/Target/ui/Button/Button.css +5 -5
  293. package/es/components/Select/ui/Target/ui/Button/Button.js +15 -11
  294. package/es/components/Select/ui/Target/ui/Button/Button.js.map +1 -1
  295. package/es/components/Select/ui/Target/ui/Button/Button.styles.js +1 -1
  296. package/es/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -1
  297. package/es/components/Select/ui/Target/ui/Button/Button.styles_lxxm4p.css +5 -0
  298. package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +38 -53
  299. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +99 -86
  300. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  301. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +95 -39
  302. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  303. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles_1damf5p.css +12 -0
  304. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.css +21 -0
  305. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +32 -0
  306. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js.map +1 -0
  307. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +18 -0
  308. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +1 -0
  309. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles_1a752pa.css +1 -0
  310. package/es/components/Select/utils/getButtonLabel.js +1 -1
  311. package/es/components/Select/utils/getButtonLabel.js.map +1 -1
  312. package/es/components/Select/utils/getView.js +2 -2
  313. package/es/components/Select/utils/getView.js.map +1 -1
  314. package/es/components/Select/variations/_size/base.js +5 -0
  315. package/es/components/Select/variations/_size/base.js.map +1 -0
  316. package/es/components/Select/variations/_size/base_x642ct.css +1 -0
  317. package/es/components/Select/variations/_view/base.js +5 -0
  318. package/es/components/Select/variations/_view/base.js.map +1 -0
  319. package/es/components/Select/variations/_view/base_x642ct.css +1 -0
  320. package/es/components/Slider/Slider.css +22 -21
  321. package/es/components/Slider/components/Double/Double.css +22 -21
  322. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +22 -21
  323. package/es/components/TextField/TextField.js +2 -11
  324. package/es/components/TextField/TextField.js.map +1 -1
  325. package/es/components/TextField/TextField.styles.js +22 -14
  326. package/es/components/TextField/TextField.styles.js.map +1 -1
  327. package/{cjs/components/TextField/TextField.styles_j7dqpn.css → es/components/TextField/TextField.styles_grgg7q.css} +7 -6
  328. package/es/components/TextField/TextField.tokens.js +1 -2
  329. package/es/components/TextField/TextField.tokens.js.map +1 -1
  330. package/es/components/TextField/ui/Hint/Hint.css +21 -20
  331. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -7
  332. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
  333. package/es/components/TextField/variations/_clear/base.js +1 -1
  334. package/es/components/TextField/variations/_clear/{base_1396md2.css → base_1i91sjp.css} +1 -1
  335. package/es/components/TextField/variations/_label-placement/base.js +1 -1
  336. package/es/components/TextField/variations/_label-placement/base_3domm.css +1 -0
  337. package/es/components/TextField/variations/_read-only/base.js +1 -1
  338. package/es/components/TextField/variations/_read-only/{base_1jvcf9a.css → base_17ypmu7.css} +1 -1
  339. package/es/components/TextField/variations/_size/base.js +1 -1
  340. package/es/components/TextField/variations/_size/{base_1tei47x.css → base_1xdmaqh.css} +1 -1
  341. package/es/components/TextField/variations/_view/base.js +1 -1
  342. package/es/components/TextField/variations/_view/{base_8ogww5.css → base_qhyte8.css} +1 -1
  343. package/es/index.css +65 -46
  344. package/es/index.js +0 -1
  345. package/es/index.js.map +1 -1
  346. package/es/utils/index.js.map +1 -1
  347. package/package.json +2 -2
  348. package/styled-components/cjs/components/Cell/Cell.js +1 -3
  349. package/styled-components/cjs/components/Cell/ui/CellTextbox/CellTextbox.js +1 -7
  350. package/styled-components/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +1 -4
  351. package/styled-components/cjs/components/Chip/Chip.js +1 -3
  352. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +1 -0
  353. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
  354. package/styled-components/cjs/components/Combobox/ComboboxNew/FloatingPopover.js +5 -19
  355. package/styled-components/cjs/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +50 -1
  356. package/styled-components/cjs/components/Modal/Modal.js +24 -12
  357. package/styled-components/cjs/components/Modal/Modal.styles.js +18 -0
  358. package/styled-components/cjs/components/Modal/Modal.template-doc.mdx +47 -0
  359. package/styled-components/cjs/components/Modal/Modal.tokens.js +5 -1
  360. package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  361. package/styled-components/cjs/components/Select/Select.js +136 -177
  362. package/styled-components/cjs/components/Select/Select.styles.js +27 -12
  363. package/styled-components/cjs/components/Select/Select.tokens.js +60 -125
  364. package/styled-components/cjs/components/Select/hooks/useKeyboardNavigation.js +73 -19
  365. package/styled-components/cjs/components/Select/hooks/usePathMaps.js +1 -4
  366. package/styled-components/cjs/components/Select/reducers/focusedChipIndexReducer.js +38 -0
  367. package/styled-components/cjs/components/Select/reducers/index.js +11 -0
  368. package/styled-components/cjs/components/Select/ui/Inner/Inner.js +9 -9
  369. package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.js +12 -19
  370. package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +26 -20
  371. package/styled-components/cjs/components/Select/ui/Target/Target.js +18 -38
  372. package/styled-components/cjs/components/Select/ui/Target/ui/Button/Button.js +16 -13
  373. package/styled-components/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +3 -3
  374. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +99 -88
  375. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +61 -23
  376. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +37 -0
  377. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +21 -0
  378. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/ui/index.js +16 -0
  379. package/styled-components/cjs/components/Select/utils/getButtonLabel.js +1 -1
  380. package/styled-components/cjs/components/Select/utils/getView.js +2 -2
  381. package/styled-components/cjs/components/Select/utils/index.js +1 -22
  382. package/styled-components/cjs/components/Select/variations/_size/base.js +8 -0
  383. package/styled-components/cjs/components/Select/variations/_size/tokens.json +9 -0
  384. package/styled-components/cjs/components/Select/variations/_view/base.js +8 -0
  385. package/styled-components/cjs/components/Select/variations/_view/tokens.json +1 -0
  386. package/styled-components/cjs/components/TextField/TextField.js +2 -11
  387. package/styled-components/cjs/components/TextField/TextField.styles.js +15 -12
  388. package/styled-components/cjs/components/TextField/TextField.tokens.js +1 -2
  389. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -7
  390. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +1 -1
  391. package/styled-components/cjs/examples/plasma_b2c/components/Modal/Modal.config.js +1 -1
  392. package/styled-components/cjs/examples/plasma_b2c/components/Modal/Modal.stories.tsx +90 -1
  393. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.config.js +20 -28
  394. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +40 -47
  395. package/styled-components/cjs/examples/plasma_web/components/Modal/Modal.config.js +1 -1
  396. package/styled-components/cjs/examples/plasma_web/components/Modal/Modal.stories.tsx +90 -1
  397. package/styled-components/cjs/examples/plasma_web/components/Select/Select.config.js +20 -28
  398. package/styled-components/cjs/examples/plasma_web/components/Select/Select.stories.tsx +40 -47
  399. package/styled-components/cjs/index.js +0 -11
  400. package/styled-components/cjs/utils/index.js +1 -9
  401. package/styled-components/es/components/Cell/Cell.js +1 -3
  402. package/styled-components/es/components/Cell/ui/CellTextbox/CellTextbox.js +1 -7
  403. package/styled-components/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +1 -4
  404. package/styled-components/es/components/Chip/Chip.js +1 -3
  405. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +1 -0
  406. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
  407. package/styled-components/es/components/Combobox/ComboboxNew/FloatingPopover.js +4 -18
  408. package/styled-components/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +50 -1
  409. package/styled-components/es/components/Modal/Modal.js +24 -12
  410. package/styled-components/es/components/Modal/Modal.styles.js +11 -0
  411. package/styled-components/es/components/Modal/Modal.template-doc.mdx +47 -0
  412. package/styled-components/es/components/Modal/Modal.tokens.js +5 -1
  413. package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  414. package/styled-components/es/components/Select/Select.js +141 -182
  415. package/styled-components/es/components/Select/Select.styles.js +26 -11
  416. package/styled-components/es/components/Select/Select.tokens.js +60 -125
  417. package/styled-components/es/components/Select/hooks/useKeyboardNavigation.js +72 -18
  418. package/styled-components/es/components/Select/hooks/usePathMaps.js +1 -4
  419. package/styled-components/es/components/Select/reducers/focusedChipIndexReducer.js +32 -0
  420. package/styled-components/es/components/Select/reducers/index.js +2 -1
  421. package/styled-components/es/components/Select/ui/Inner/Inner.js +10 -10
  422. package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.js +15 -22
  423. package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.styles.js +25 -19
  424. package/styled-components/es/components/Select/ui/Target/Target.js +17 -35
  425. package/styled-components/es/components/Select/ui/Target/ui/Button/Button.js +16 -11
  426. package/styled-components/es/components/Select/ui/Target/ui/Button/Button.styles.js +3 -3
  427. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +99 -86
  428. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +61 -23
  429. package/styled-components/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +28 -0
  430. package/styled-components/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +14 -0
  431. package/styled-components/es/components/Select/ui/Target/ui/Textfield/ui/index.js +1 -0
  432. package/styled-components/es/components/Select/utils/getButtonLabel.js +1 -1
  433. package/styled-components/es/components/Select/utils/getView.js +2 -2
  434. package/styled-components/es/components/Select/utils/index.js +1 -4
  435. package/styled-components/es/components/Select/variations/_size/base.js +2 -0
  436. package/styled-components/es/components/Select/variations/_size/tokens.json +9 -0
  437. package/styled-components/es/components/Select/variations/_view/base.js +2 -0
  438. package/styled-components/es/components/Select/variations/_view/tokens.json +1 -0
  439. package/styled-components/es/components/TextField/TextField.js +2 -11
  440. package/styled-components/es/components/TextField/TextField.styles.js +15 -12
  441. package/styled-components/es/components/TextField/TextField.tokens.js +1 -2
  442. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -7
  443. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +1 -1
  444. package/styled-components/es/examples/plasma_b2c/components/Modal/Modal.config.js +1 -1
  445. package/styled-components/es/examples/plasma_b2c/components/Modal/Modal.stories.tsx +90 -1
  446. package/styled-components/es/examples/plasma_b2c/components/Select/Select.config.js +21 -29
  447. package/styled-components/es/examples/plasma_b2c/components/Select/Select.stories.tsx +40 -47
  448. package/styled-components/es/examples/plasma_web/components/Modal/Modal.config.js +1 -1
  449. package/styled-components/es/examples/plasma_web/components/Modal/Modal.stories.tsx +90 -1
  450. package/styled-components/es/examples/plasma_web/components/Select/Select.config.js +21 -29
  451. package/styled-components/es/examples/plasma_web/components/Select/Select.stories.tsx +40 -47
  452. package/styled-components/es/index.js +0 -1
  453. package/styled-components/es/utils/index.js +1 -2
  454. package/types/components/Attach/ui/Button/Button.styles.d.ts +2 -2
  455. package/types/components/Attach/ui/IconButton/IconButton.styles.d.ts +4 -4
  456. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +16 -16
  457. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  458. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts +2 -2
  459. package/types/components/Cell/Cell.d.ts.map +1 -1
  460. package/types/components/Cell/ui/CellTextbox/CellTextbox.d.ts.map +1 -1
  461. package/types/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.d.ts.map +1 -1
  462. package/types/components/Chip/Chip.d.ts.map +1 -1
  463. package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
  464. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +1 -0
  465. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
  466. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +3 -4
  467. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
  468. package/types/components/Combobox/ComboboxNew/FloatingPopover.d.ts.map +1 -1
  469. package/types/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.d.ts +3 -1
  470. package/types/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.d.ts.map +1 -1
  471. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts +16 -16
  472. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
  473. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +16 -16
  474. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  475. package/types/components/EmptyState/EmptyState.styles.d.ts +2 -2
  476. package/types/components/Modal/Modal.d.ts.map +1 -1
  477. package/types/components/Modal/Modal.styles.d.ts +5 -0
  478. package/types/components/Modal/Modal.styles.d.ts.map +1 -0
  479. package/types/components/Modal/Modal.tokens.d.ts +4 -0
  480. package/types/components/Modal/Modal.tokens.d.ts.map +1 -1
  481. package/types/components/Modal/Modal.types.d.ts +21 -1
  482. package/types/components/Modal/Modal.types.d.ts.map +1 -1
  483. package/types/components/Modal/index.d.ts +1 -1
  484. package/types/components/Modal/index.d.ts.map +1 -1
  485. package/types/components/Notification/Notification.styles.d.ts +2 -2
  486. package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts +2 -2
  487. package/types/components/Pagination/Pagination.styles.d.ts +4 -4
  488. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +40 -40
  489. package/types/components/Panel/ui/PanelHeader/PanelHeader.styles.d.ts +2 -2
  490. package/types/components/Range/Range.styles.d.ts +16 -16
  491. package/types/components/Range/Range.styles.d.ts.map +1 -1
  492. package/types/components/Select/Select.d.ts +11 -5
  493. package/types/components/Select/Select.d.ts.map +1 -1
  494. package/types/components/Select/Select.styles.d.ts +9 -0
  495. package/types/components/Select/Select.styles.d.ts.map +1 -1
  496. package/types/components/Select/Select.tokens.d.ts +58 -121
  497. package/types/components/Select/Select.tokens.d.ts.map +1 -1
  498. package/types/components/Select/Select.types.d.ts +20 -41
  499. package/types/components/Select/Select.types.d.ts.map +1 -1
  500. package/types/components/Select/hooks/useKeyboardNavigation.d.ts +11 -5
  501. package/types/components/Select/hooks/useKeyboardNavigation.d.ts.map +1 -1
  502. package/types/components/Select/hooks/usePathMaps.d.ts +1 -2
  503. package/types/components/Select/hooks/usePathMaps.d.ts.map +1 -1
  504. package/types/components/Select/index.d.ts +1 -1
  505. package/types/components/Select/index.d.ts.map +1 -1
  506. package/types/components/Select/reducers/focusedChipIndexReducer.d.ts +11 -0
  507. package/types/components/Select/reducers/focusedChipIndexReducer.d.ts.map +1 -0
  508. package/types/components/Select/reducers/index.d.ts +1 -0
  509. package/types/components/Select/reducers/index.d.ts.map +1 -1
  510. package/types/components/Select/ui/Inner/Inner.d.ts.map +1 -1
  511. package/types/components/Select/ui/Inner/ui/Item/Item.d.ts.map +1 -1
  512. package/types/components/Select/ui/Inner/ui/Item/Item.styles.d.ts +2 -32
  513. package/types/components/Select/ui/Inner/ui/Item/Item.styles.d.ts.map +1 -1
  514. package/types/components/Select/ui/Inner/ui/Item/Item.types.d.ts +0 -9
  515. package/types/components/Select/ui/Inner/ui/Item/Item.types.d.ts.map +1 -1
  516. package/types/components/Select/ui/Target/Target.d.ts +2 -14
  517. package/types/components/Select/ui/Target/Target.d.ts.map +1 -1
  518. package/types/components/Select/ui/Target/Target.types.d.ts +9 -10
  519. package/types/components/Select/ui/Target/Target.types.d.ts.map +1 -1
  520. package/types/components/Select/ui/Target/ui/Button/Button.d.ts +1 -1
  521. package/types/components/Select/ui/Target/ui/Button/Button.d.ts.map +1 -1
  522. package/types/components/Select/ui/Target/ui/Button/Button.styles.d.ts +2 -2
  523. package/types/components/Select/ui/Target/ui/Button/Button.types.d.ts +1 -1
  524. package/types/components/Select/ui/Target/ui/Button/Button.types.d.ts.map +1 -1
  525. package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts +1 -1
  526. package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts.map +1 -1
  527. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts +60 -628
  528. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
  529. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts +4 -1
  530. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts.map +1 -1
  531. package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.d.ts +9 -0
  532. package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.d.ts.map +1 -0
  533. package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.d.ts +3 -0
  534. package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.d.ts.map +1 -0
  535. package/types/components/Select/ui/Target/ui/Textfield/ui/index.d.ts +2 -0
  536. package/types/components/Select/ui/Target/ui/Textfield/ui/index.d.ts.map +1 -0
  537. package/types/components/Select/utils/getView.d.ts +1 -1
  538. package/types/components/Select/utils/getView.d.ts.map +1 -1
  539. package/types/components/Select/utils/index.d.ts +0 -3
  540. package/types/components/Select/utils/index.d.ts.map +1 -1
  541. package/types/components/Select/variations/_size/base.d.ts +2 -0
  542. package/types/components/Select/variations/_size/base.d.ts.map +1 -0
  543. package/types/components/Select/variations/_view/base.d.ts +2 -0
  544. package/types/components/Select/variations/_view/base.d.ts.map +1 -0
  545. package/types/components/Slider/components/Double/Double.styles.d.ts +16 -16
  546. package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -1
  547. package/types/components/TextField/TextField.d.ts.map +1 -1
  548. package/types/components/TextField/TextField.styles.d.ts +3 -1
  549. package/types/components/TextField/TextField.styles.d.ts.map +1 -1
  550. package/types/components/TextField/TextField.tokens.d.ts +0 -1
  551. package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
  552. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts +1 -3
  553. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts.map +1 -1
  554. package/types/components/Toast/Toast.styles.d.ts +2 -2
  555. package/types/components/Toast/utils.d.ts +2 -2
  556. package/types/examples/plasma_b2c/components/Attach/Attach.d.ts +8 -8
  557. package/types/examples/plasma_b2c/components/Button/Button.d.ts +2 -2
  558. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +24 -24
  559. package/types/examples/plasma_b2c/components/IconButton/IconButton.d.ts +2 -2
  560. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts +16 -16
  561. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts.map +1 -1
  562. package/types/examples/plasma_b2c/components/Modal/Modal.config.d.ts.map +1 -1
  563. package/types/examples/plasma_b2c/components/Modal/Modal.d.ts +7 -1
  564. package/types/examples/plasma_b2c/components/Modal/Modal.d.ts.map +1 -1
  565. package/types/examples/plasma_b2c/components/Radiobox/Radiobox.d.ts +1 -1
  566. package/types/examples/plasma_b2c/components/Radiobox/Radiobox.d.ts.map +1 -1
  567. package/types/examples/plasma_b2c/components/Select/Select.config.d.ts +7 -15
  568. package/types/examples/plasma_b2c/components/Select/Select.config.d.ts.map +1 -1
  569. package/types/examples/plasma_b2c/components/Select/Select.d.ts +46 -53
  570. package/types/examples/plasma_b2c/components/Select/Select.d.ts.map +1 -1
  571. package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts +16 -16
  572. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +16 -16
  573. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
  574. package/types/examples/plasma_web/components/Attach/Attach.d.ts +8 -8
  575. package/types/examples/plasma_web/components/Button/Button.d.ts +2 -2
  576. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +24 -24
  577. package/types/examples/plasma_web/components/IconButton/IconButton.d.ts +2 -2
  578. package/types/examples/plasma_web/components/Mask/Mask.d.ts +16 -16
  579. package/types/examples/plasma_web/components/Mask/Mask.d.ts.map +1 -1
  580. package/types/examples/plasma_web/components/Modal/Modal.config.d.ts.map +1 -1
  581. package/types/examples/plasma_web/components/Modal/Modal.d.ts +7 -1
  582. package/types/examples/plasma_web/components/Modal/Modal.d.ts.map +1 -1
  583. package/types/examples/plasma_web/components/Radiobox/Radiobox.d.ts +1 -1
  584. package/types/examples/plasma_web/components/Radiobox/Radiobox.d.ts.map +1 -1
  585. package/types/examples/plasma_web/components/Select/Select.config.d.ts +7 -15
  586. package/types/examples/plasma_web/components/Select/Select.config.d.ts.map +1 -1
  587. package/types/examples/plasma_web/components/Select/Select.d.ts +46 -53
  588. package/types/examples/plasma_web/components/Select/Select.d.ts.map +1 -1
  589. package/types/examples/plasma_web/components/TextArea/TextArea.d.ts +16 -16
  590. package/types/examples/plasma_web/components/TextField/TextField.d.ts +16 -16
  591. package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
  592. package/types/index.d.ts +0 -1
  593. package/types/index.d.ts.map +1 -1
  594. package/types/types/index.d.ts +0 -2
  595. package/types/types/index.d.ts.map +1 -1
  596. package/types/utils/index.d.ts +0 -1
  597. package/types/utils/index.d.ts.map +1 -1
  598. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_10zfeps.css +0 -3
  599. package/cjs/components/Select/FloatingPopover.js +0 -87
  600. package/cjs/components/Select/FloatingPopover.js.map +0 -1
  601. package/cjs/components/Select/Select.styles_1p5c9p3.css +0 -2
  602. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles_1x4bzlm.css +0 -9
  603. package/cjs/components/Select/ui/Target/ui/Button/Button.styles_10g64me.css +0 -5
  604. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles_q4kc1p.css +0 -3
  605. package/cjs/components/Select/utils/getFallbackPlacements.js +0 -15
  606. package/cjs/components/Select/utils/getFallbackPlacements.js.map +0 -1
  607. package/cjs/components/Select/utils/getItemId.js +0 -10
  608. package/cjs/components/Select/utils/getItemId.js.map +0 -1
  609. package/cjs/components/Select/utils/getPlacement.js +0 -13
  610. package/cjs/components/Select/utils/getPlacement.js.map +0 -1
  611. package/cjs/components/TextField/variations/_label-placement/base_gttvto.css +0 -1
  612. package/cjs/utils/fixedForwardRef.js +0 -12
  613. package/cjs/utils/fixedForwardRef.js.map +0 -1
  614. package/emotion/cjs/components/Select/FloatingPopover.js +0 -91
  615. package/emotion/cjs/components/Select/utils/getFallbackPlacements.js +0 -14
  616. package/emotion/cjs/components/Select/utils/getItemId.js +0 -9
  617. package/emotion/cjs/components/Select/utils/getPlacement.js +0 -12
  618. package/emotion/cjs/types/DistributiveOmit.js +0 -5
  619. package/emotion/cjs/types/DistributivePick.js +0 -5
  620. package/emotion/cjs/utils/fixedForwardRef.js +0 -11
  621. package/emotion/es/components/Select/FloatingPopover.js +0 -84
  622. package/emotion/es/components/Select/utils/getFallbackPlacements.js +0 -8
  623. package/emotion/es/components/Select/utils/getItemId.js +0 -3
  624. package/emotion/es/components/Select/utils/getPlacement.js +0 -6
  625. package/emotion/es/types/DistributiveOmit.js +0 -1
  626. package/emotion/es/types/DistributivePick.js +0 -1
  627. package/emotion/es/utils/fixedForwardRef.js +0 -4
  628. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_10zfeps.css +0 -3
  629. package/es/components/Select/FloatingPopover.js +0 -83
  630. package/es/components/Select/FloatingPopover.js.map +0 -1
  631. package/es/components/Select/Select.styles_1p5c9p3.css +0 -2
  632. package/es/components/Select/ui/Inner/ui/Item/Item.styles_1x4bzlm.css +0 -9
  633. package/es/components/Select/ui/Target/ui/Button/Button.styles_10g64me.css +0 -5
  634. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles_q4kc1p.css +0 -3
  635. package/es/components/Select/utils/getFallbackPlacements.js +0 -11
  636. package/es/components/Select/utils/getFallbackPlacements.js.map +0 -1
  637. package/es/components/Select/utils/getItemId.js +0 -6
  638. package/es/components/Select/utils/getItemId.js.map +0 -1
  639. package/es/components/Select/utils/getPlacement.js +0 -9
  640. package/es/components/Select/utils/getPlacement.js.map +0 -1
  641. package/es/components/TextField/variations/_label-placement/base_gttvto.css +0 -1
  642. package/es/utils/fixedForwardRef.js +0 -8
  643. package/es/utils/fixedForwardRef.js.map +0 -1
  644. package/styled-components/cjs/components/Select/FloatingPopover.js +0 -91
  645. package/styled-components/cjs/components/Select/utils/getFallbackPlacements.js +0 -14
  646. package/styled-components/cjs/components/Select/utils/getItemId.js +0 -9
  647. package/styled-components/cjs/components/Select/utils/getPlacement.js +0 -12
  648. package/styled-components/cjs/types/DistributiveOmit.js +0 -5
  649. package/styled-components/cjs/types/DistributivePick.js +0 -5
  650. package/styled-components/cjs/utils/fixedForwardRef.js +0 -11
  651. package/styled-components/es/components/Select/FloatingPopover.js +0 -84
  652. package/styled-components/es/components/Select/utils/getFallbackPlacements.js +0 -8
  653. package/styled-components/es/components/Select/utils/getItemId.js +0 -3
  654. package/styled-components/es/components/Select/utils/getPlacement.js +0 -6
  655. package/styled-components/es/types/DistributiveOmit.js +0 -1
  656. package/styled-components/es/types/DistributivePick.js +0 -1
  657. package/styled-components/es/utils/fixedForwardRef.js +0 -4
  658. package/types/components/Select/FloatingPopover.d.ts +0 -5
  659. package/types/components/Select/FloatingPopover.d.ts.map +0 -1
  660. package/types/components/Select/utils/getFallbackPlacements.d.ts +0 -4
  661. package/types/components/Select/utils/getFallbackPlacements.d.ts.map +0 -1
  662. package/types/components/Select/utils/getItemId.d.ts +0 -2
  663. package/types/components/Select/utils/getItemId.d.ts.map +0 -1
  664. package/types/components/Select/utils/getPlacement.d.ts +0 -4
  665. package/types/components/Select/utils/getPlacement.d.ts.map +0 -1
  666. package/types/types/DistributiveOmit.d.ts +0 -2
  667. package/types/types/DistributiveOmit.d.ts.map +0 -1
  668. package/types/types/DistributivePick.d.ts +0 -2
  669. package/types/types/DistributivePick.d.ts.map +0 -1
  670. package/types/utils/fixedForwardRef.d.ts +0 -3
  671. package/types/utils/fixedForwardRef.d.ts.map +0 -1
@@ -0,0 +1,9 @@
1
+ [
2
+ " --plasma-select-width",
3
+ " --plasma-select-height",
4
+ " --plasma-select-border-radius",
5
+ " --plasma-select-padding-top",
6
+ " --plasma-select-padding-right",
7
+ " --plasma-select-padding-bottom",
8
+ " --plasma-select-padding-left"
9
+ ]
@@ -0,0 +1,2 @@
1
+ import { css } from '@emotion/react';
2
+ export var base = /*#__PURE__*/css(";label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2VsZWN0L3ZhcmlhdGlvbnMvX3ZpZXcvYmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFdUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9TZWxlY3QvdmFyaWF0aW9ucy9fdmlldy9iYXNlLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5leHBvcnQgY29uc3QgYmFzZSA9IGNzc2BgO1xuIl19 */"));
@@ -0,0 +1 @@
1
+ ["--plasma-select-background", "--plasma-select-box-shadow"]
@@ -34,7 +34,7 @@ export var base = process.env.NODE_ENV === "production" ? {
34
34
  } : {
35
35
  name: "121o0v2-plasma-new-hope__base",
36
36
  styles: "display:block;label:plasma-new-hope__base;",
37
- map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVGV4dEZpZWxkL1RleHRGaWVsZC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBNkN1QiIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL1RleHRGaWVsZC9UZXh0RmllbGQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFJlYWN0LCB7IGZvcndhcmRSZWYsIHVzZUVmZmVjdCwgdXNlUmVmLCB1c2VTdGF0ZSB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB0eXBlIHsgRm9ybUV2ZW50SGFuZGxlciwgQ2hh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3B0aW9uYWwnO1xuXG5leHBvcnQgY29uc3QgYmFzZSA9IGNzc2BcbiAgICAvKiBOT1RFOiBXZWJraXQg0L3QtSDQv9GA0LjQvNC10L3Rj9C10YIgb3BhY2l0eSDQuiBpbmxpbmUg0YLQtdCz0LDQvCAqL1xuICAgIGRpc3BsYXk6IGJsb2NrO1xuYDtcblxuY29uc3QgSElOVF9ERUZBVUxUX09GRlNFVDogW251bWJlciwgbnVtYmVyXSA9IFswLCAwXTtcblxuZXhwb3J0IGNvbnN0IHRleHRGaWVsZFJvb3QgPSAoUm9vdDogUm9vdFByb3BzPEhUTUxEaXZFbGVtZW50LCBUZXh0RmllbGRSb290UHJvcHM+KSA9PlxuICAgIGZvcndhcmRSZWY8SFRNTElucHV0RWxlbWVudCwgVGV4dEZpZWxkUHJvcHM+KFxuICAgICAgICAoXG4gICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgaWQsXG4gICAgICAgICAgICAgICAgY2xhc3NOYW1lLFxuICAgICAgICAgICAgICAgIHN0eWxlLFxuXG4gICAgICAgICAgICAgICAgLy8gbGF5b3V0XG4gICAgICAgICAgICAgICAgY29udGVudExlZnQsXG4gICAgICAgICAgICAgICAgY29udGVudFJpZ2h0LFxuICAgICAgICAgICAgICAgIGxhYmVsLFxuICAgICAgICAgICAgICAgIGxhYmVsUGxhY2VtZW50LFxuICAgICAgICAgICAgICAgIHRleHRCZWZvcmUsXG4gICAgICAgICAgICAgICAgdGV4dEFmdGVyLFxuICAgICAgICAgICAgICAgIHBsYWNlaG9sZGVyLFxuICAgICAgICAgICAgICAgIGxlZnRIZWxwZXIsXG4gICAgICAgICAgICAgICAgZW51bWVyYXRpb25UeXBlID0gJ3BsYWluJyxcbiAgICAgICAgICAgICAgICByZXF1aXJlZFBsYWNlbWVudCA9ICdyaWdodCcsXG4gICAgICAgICAgICAgICAgdGl0bGVDYXB0aW9uLFxuXG4gICAgICAgICAgICAgICAgLy8gaGludFxuICAgICAgICAgICAgICAgIGhpbnRUcmlnZ2VyID0gJ2hvdmVyJyxcbiAgICAgICAgICAgICAgICBoaW50VGV4dCxcbiAgICAgICAgICAgICAgICBoaW50VmlldyA9ICdkZWZhdWx0JyxcbiAgICAgICAgICAgICAgICBoaW50U2l6ZSA9ICdtJyxcbiAgICAgICAgICAgICAgICBoaW50VGFyZ2V0SWNvbixcbiAgICAgICAgICAgICAgICBoaW50UGxhY2VtZW50ID0gJ2F1dG8nLFxuICAgICAgICAgICAgICAgIGhpbnRIYXNBcnJvdyxcbiAgICAgICAgICAgICAgICBoaW50T2Zmc2V0ID0gSElOVF9ERUZBVUxUX09GRlNFVCxcbiAgICAgICAgICAgICAgICBoaW50V2lkdGgsXG4gICAgICAgICAgICAgICAgaGludENvbnRlbnRMZWZ0LFxuXG4gICAgICAgICAgICAgICAgLy8gdmFyaWF0aW9uc1xuICAgICAgICAgICAgICAgIHZpZXcsXG4gICAgICAgICAgICAgICAgc2l6ZSxcbiAgICAgICAgICAgICAgICByZWFkT25seSA9IGZhbHNlLFxuICAgICAgICAgICAgICAgIGRpc2FibGVkID0gZmFsc2UsXG4gICAgICAgICAgICAgICAgcmVxdWlyZWQgPSBmYWxzZSxcbiAgICAgICAgICAgICAgICBjbGVhciA9IGZhbHNlLFxuICAgICAgICAgICAgICAgIG9wdGlvbmFsLFxuICAgICAgICAgICAgICAgIGhhc0RpdmlkZXIsXG5cbiAgICAgICAgICAgICAgICAvLyBjb250cm9sbGVkXG4gICAgICAgICAgICAgICAgdmFsdWU6IG91dGVyVmFsdWUsXG4gICAgICAgICAgICAgICAgY2hpcHM6IHZhbHVlcyxcblxuICAgICAgICAgICAgICAgIC8vIGV2ZW50c1xuICAgICAgICAgICAgICAgIG9uQ2hhbmdlLFxuICAgICAgICAgICAgICAgIG9uQ2hhbmdlQ2hpcHMsXG4gICAgICAgICAgICAgICAgb25TZWFyY2gsXG4gICAgICAgICAgICAgICAgb25LZXlEb3duLFxuXG4gICAgICAgICAgICAgICAgLi4ucmVzdFxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIHJlZixcbiAgICAgICAgKSA9PiB7XG4gICAgICAgICAgICBjb25zdCBjb250ZW50UmVmID0gdXNlUmVmPEhUTUxEaXZFbGVtZW50PihudWxsKTtcbiAgICAgICAgICAgIGNvbnN0IGlucHV0UmVmID0gdXNlUmVmPEhUTUxJbnB1dEVsZW1lbnQ+KG51bGwpO1xuICAgICAgICAgICAgY29uc3QgaW5wdXRGb3JrUmVmID0gdXNlRm9ya1JlZihpbnB1dFJlZiwgcmVmKTtcbiAgICAgICAgICAgIGNvbnN0IGNoaXBzUmVmcyA9IHVzZVJlZjxBcnJheTxIVE1MQnV0dG9uRWxlbWVudD4+KFtdKTtcblxuICAgICAgICAgICAgY29uc3QgY29udHJvbGxlZFJlZnMgPSB7IGNvbnRlbnRSZWYsIGlucHV0UmVmLCBjaGlwc1JlZnMgfTtcblxuICAgICAgICAgICAgY29uc3QgW2hhc1ZhbHVlLCBzZXRIYXNWYWx1ZV0gPSB1c2VTdGF0ZShcbiAgICAgICAgICAgICAgICBCb29sZWFuKG91dGVyVmFsdWUpIHx8IEJvb2xlYW4oaW5wdXRSZWY/LmN1cnJlbnQ/LnZhbHVlKSB8fCBCb29sZWFuKHJlc3Q/LmRlZmF1bHRWYWx1ZSksXG4gICAgICAgICAgICApO1xuICAgICAgICAgICAgY29uc3QgW2NoaXBzLCBzZXRDaGlwc10gPSB1c2VTdGF0ZTxBcnJheTxDaGlwVmFsdWVzPj4oW10pO1xuICAgICAgICAgICAgY29uc3QgW2lzSGludFZpc2libGUsIHNldElzSGludFZpc2libGVdID0gdXNlU3RhdGUoZmFsc2UpO1xuXG4gICAgICAgICAgICBjb25zdCB1bmlxSWQgPSBzYWZlVXNlSWQoKTtcbiAgICAgICAgICAgIGNvbnN0IGlubmVySWQgPSBpZCB8fCB1bmlxSWQ7XG4gICAgICAgICAgICBjb25zdCBsYWJlbElkID0gc2FmZVVzZUlkKCk7XG4gICAgICAgICAgICBjb25zdCBoZWxw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xzZSk7XG4gICAgICAgICAgICBjb25zdCBoYW5kbGVIaW50Q2xpY2s6IE1vdXNlRXZlbnRIYW5kbGVyID0gKGV2ZW50KSA9PiB7XG4gICAgICAgICAgICAgICAgaWYgKCFoaW50VGV4dCB8fCBoaW50VHJpZ2dlciAhPT0gJ2NsaWNrJykge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgZXZlbnQuc3RvcFByb3BhZ2F0aW9uKCk7XG4gICAgICAgICAgICAgICAgY29uc3QgdGFyZ2V0SXNQb3BvdmVyID0gZXZlbnQudGFyZ2V0ID09PSBoaW50SW5uZXJSZWYuY3VycmVudDtcbiAgICAgICAgICAgICAgICBjb25zdCByb290SGFzVGFyZ2V0ID0gaGludElubmVyUmVmLmN1cnJlbnQ/LmNvbnRhaW5zKGV2ZW50LnRhcmdldCBhcyBFbGVtZW50KTtcblxuICAgICAgICAgICAgICAgIGlmICghdGFyZ2V0SXNQb3BvdmVyICYmICFyb290SGFzVGFyZ2V0KSB7XG4gICAgICAgICAgICAgICAgICAgIHNldElzSGludFZpc2libGUodHJ1ZSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfTtcblxuICAgICAgICAgICAgY29uc3QgaGFuZGxlQ2hhbmdlOiBDaGFuZ2VFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD4gPSAoZXZlbnQpID0+IHtcbiAgICAgICAgICAgICAgICBpZiAoZGlzYWJsZWQgfHwgcmVhZE9ubHkpIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIGNvbnN0IHsgbWF4TGVuZ3RoLCB2YWx1ZSB9ID0gZXZlbnQudGFyZ2V0O1xuXG4gICAgICAgICAgICAgICAgaWYgKG1heExlbmd0aCAhPT0gLTEgJiYgdmFsdWUubGVuZ3RoID4gbWF4TGVuZ3RoKSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICBvbkNoYW5nZT8uKGV2ZW50KTtcbiAgICAgICAgICAgIH07XG5cbiAgICAgICAgICAgIGNvbnN0IHVwZGF0ZUNoaXBzID0gKG5ld0NoaXBzOiBBcnJheTxDaGlwVmFsdWVzPiwgbmV3VmFsdWVzOiBBcnJheTxUZXh0RmllbGRQcmltaXRpdmVWYWx1ZT4pID0+IHtcbiAgICAgICAgICAgICAgICBzZXRDaGlwcyhuZXdDaGlwcyk7XG4gICAgICAgICAgICAgICAgb25DaGFuZ2VDaGlwcz8uKG5ld1ZhbHVlcyk7XG4gICAgICAgICAgICB9O1xuXG4gICAgICAgICAgICBjb25zdCB7IGhhbmRsZUlucHV0S2V5ZG93biwgaGFuZGxlQ2hpcEtleURvd24sIG9uQ2hpcENsZWFyLCBoYW5kbGVDb250ZW50S2V5RG93biB9ID0gdXNlS2V5TmF2aWdhdGlvbih7XG4gICAgICAgICAgICAgICAgY29udHJvbGxlZFJlZnMsXG4gICAgICAgICAgICAgICAgZGlzYWJsZWQsXG4gICAgICAgICAgICAgICAgcmVhZE9ubHksXG4gICAgICAgICAgICAgICAgY2hpcHMsXG4gICAgICAgICAgICAgICAgZW51bWVyYXRpb25UeXBlLFxuICAgICAgICAgICAgICAgIHVwZGF0ZUNoaXBzLFxuICAgICAgICAgICAgICAgIG9uU2VhcmNoLFxuICAgICAgICAgICAgICAgIG9uQ2hhbmdlLFxuICAgICAgICAgICAgICAgIG9uRW50ZXJEaXNhYmxlZDogKHJlc3QgYXMgYW55KS5vbkVudGVyRGlzYWJsZWQsXG4gICAgICAgICAgICB9KTtcblxuICAgICAgICAgICAgY29uc3Qgb25DaGlwQ2xpY2sgPSAoZXZlbnQ6IFJlYWN0Lk1vdXNlRXZlbnQ8SFRNTEJ1dHRvbkVsZW1lbnQ+KSA9PiBldmVudC5zdG9wUHJvcGFnYXRpb24oKTtcblxuICAgICAgICAgICAgY29uc3QgaGFuZGxlSW5wdXRGb2N1cyA9ICgpID0+IHtcbiAgICAgICAgICAgICAgICBpZiAocmVhZE9ubHkgfHwgZGlzYWJsZWQgfHwgIWlucHV0UmVmPy5jdXJyZW50KSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICBpbnB1dFJlZi5jdXJyZW50LnNjcm9sbFRvKHtcbiAgICAgICAgICAgICAgICAgICAgdG9wOiAwLFxuICAgICAgICAgICAgICAgICAgICBsZWZ0OiBpbnB1dFJlZi5jdXJyZW50Lm9mZnNldExlZnQsXG4gICAgICAgICAgICAgICAgICAgIGJlaGF2aW9yOiAnc21vb3RoJyxcbiAgICAgICAgICAgICAgICB9KTtcblxuICAgICAgICAgICAgICAgIGlucHV0UmVmLmN1cnJlbnQuZm9jdXMoKTtcbiAgICAgICAgICAgIH07XG5cbiAgICAgICAgICAgIGNvbnN0IGdldFJlZiA9IChlbGVtZW50OiBIVE1MQnV0dG9uRWxlbWVudCB8IG51bGwsIGluZGV4OiBudW1iZXIpID0+IHtcbiAgICAgICAgICAgICAgICBpZiAoZWxlbWVudCAmJiBjaGlwc1JlZnM/LmN1cnJlbnQpIHtcbiAgICAgICAgICAgICAgICAgICAgY2hpcHNSZWZzLmN1cnJlbnRbaW5kZXhdID0gZWxlbWVudDtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9O1xuXG4gICAgICAgICAgICBjb25zdCBoYW5kbGVPbktleURvd24gPSAoZXZlbnQ6IENoYW5nZUV2ZW50PEhUTUxJbnB1dEVsZW1lbnQ+ICYgS2V5Ym9hcmRFdmVudDxIVE1MSW5wdXRFbGVtZW50PikgPT4ge1xuICAgICAgICAgICAgICAgIGhhbmRsZUlucHV0S2V5ZG93bihldmVudCk7XG5cbiAgICAgICAgICAgICAgICBpZiAob25LZXlEb3duKSB7XG4gICAgICAgICAgICAgICAgICAgIG9uS2V5RG93bihldmVudCk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfTtcblxuICAgICAgICAgICAgdXNlRWZmZWN0KCgpID0+IHtcbiAgICAgICAgICAgICAgICBpZiAoIWlzQ2hpcEVudW1lcmF0aW9uICYmICF2YWx1ZXM/Lmxlbmd0aCkge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgY29uc3QgbmV3Q2hpcHMgPVxuICAgICAgICAgICAgICAgICAgICB2YWx1ZXM/Lm1hcCgodmFsdWUsIGluZGV4KSA9PiAoe1xuICAgICAgICAgICAgICAgICAgICAgICAgaWQ6IGAke2luZGV4fV8ke3ZhbHVlfWAsXG4gICAgICAgICAgICAgICAgICAgICAgICB0ZXh0OiB2YWx1ZSxcbiAgICAgICAgICAgICAgICAgICAgfSkpIHx8IFtdO1xuXG4gICAgICAgICAgICAgICAgc2V0Q2hpcHMobmV3Q2hpcHMpO1xuICAgICAgICAgICAgfSwgW2lzQ2hpcEVudW1lcmF0aW9uLCB2YWx1ZXNdKTtcblxuICAgICAgICAgICAgdXNlRWZmZWN0KCgpID0+IHtcbiAgICAgICAgICAgICAgICBzZXRIYXNWYWx1ZShCb29sZWFuKHJlc3Q/LmRlZmF1bHRWYWx1ZSkpO1xuICAgICAgICAgICAgfSwgW3Jlc3QuZGVmYXVsdFZhbHVlXSk7XG5cbiAgICAgICAgICAgIHVzZUVmZmVjdCgoKSA9PiB7XG4gICAgICAgICAgICAgICAgc2V0SGFzVmFsdWUoQm9vbGVhbihvdXRlclZhbHVlKSB8fCBCb29sZWFuKGlucHV0UmVmPy5jdXJyZW50Py52YWx1ZSkpO1xuICAgICAgICAgICAgfSwgW291dGVyVmFsdWUsIGlucHV0UmVmPy5jdXJyZW50Py52YWx1ZV0pO1xuXG4gICAgICAgICAgICBjb25zdCBpbm5lck9wdGlvbmFsID0gQm9vbGVhbihyZXF1aXJlZCA/IGZhbHNlIDogb3B0aW9uYWwpO1xuICAgICAgICAgICAgY29uc3QgaGFzUGxhY2Vob2xkZXJPcHRpb25hbCA9IGlubmVyT3B0aW9uYWwgJiYgIWlubmVyTGFiZWxWYWx1ZSAmJiAhaGFzT3V0ZXJMYWJlbDtcbiAgICAgICAgICAgIGNvbnN0IG9wdGlvbmFsVGV4dE5vZGUgPSBpbm5lck9wdGlvbmFsID8gKFxuICAgICAgICAgICAgICAgIDxTdHlsZWRPcHRpb25hbFRleHQ+XG4gICAgICAgICAgICAgICAgICAgIHtCb29sZWFuKGhhc1BsYWNlaG9sZGVyT3B0aW9uYWwgPyBpbm5lclBsYWNlaG9sZGVyVmFsdWUgOiBpbm5lckxhYmVsVmFsdWUpICYmICdcXHhhMCd9XG4gICAgICAgICAgICAgICAgICAgIHtvcHRpb25hbFRleHR9XG4gICAgICAgICAgICAgICAgPC9TdHlsZWRPcHRpb25hbFRleHQ+XG4gICAgICAgICAgICApIDogbnVsbDtcblxuICAgICAgICAgICAgcmV0dXJuIChcbiAgICAgICAgICAgICAgICA8Um9vdFxuICAgICAgICAgICAgICAgICAgICB2aWV3PXt2aWV3fVxuICAgICAgICAgICAgICAgICAgICBzaXplPXtzaXplfVxuICAgICAgICAgICAgICAgICAgICBkaXNhYmxlZD17ZGlzYWJsZWR9XG4gICAgICAgICAgICAgICAgICAgIHJlYWRPbmx5PXshZGlzYWJsZWQgJiYgcmVhZE9ubHl9XG4gICAgICAgICAgICAgICAgICAgIGNsZWFyPXtjbGVhcn1cbiAgICAgICAgICAgICAgICAgICAgbGFiZWxQbGFjZW1lbnQ9e2lubmVyTGFiZWxQbGFjZW1lbnRWYWx1ZX1cbiAgICAgICAgICAgICAgICAgICAgb25DbGljaz17aGFuZGxlSW5wdXRGb2N1c31cbiAgICAgICAgICAgICAgICAgICAgY2xhc3NOYW1lPXtjeChcbiAgICAgICAgICAgICAgICAgICAgICAgIGxhYmVsUGxhY2VtZW50Q2xhc3MsXG4gICAgICAgICAgICAgICAgICAgICAgICBjbGVhckNsYXNzLFxuICAgICAgICAgICAgICAgICAgICAgICAgaGFzRGl2aWRlckNsYXNzLFxuICAgICAgICAgICAgICAgICAgICAgICAgaGFzSGludENsYXNzLFxuICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3Nlcy50ZXh0RmllbGRHcm91cEl0ZW0sXG4gICAgICAgICAgICAgICAgICAgICAgICBjbGFzc05hbWUsXG4gICAgICAgICAgICAgICAgICAgICl9XG4gICAgICAgICAgICAgICAgICAgIHN0eWxlPXtzdHlsZX1cbiAgICAgICAgICAgICAgICAgICAgey4uLihoaW50VGV4dCAmJiB7IGhpbnRWaWV3LCBoaW50U2l6ZSB9KX1cbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgIHsoaGFzT3V0ZXJMYWJlbCB8fCB0aXRsZUNhcHRpb24pICYmIChcbiAgICAgICAgICAgICAgICAgICAgICAgIDxPdXRlckxhYmVsV3JhcHBlciBpc0lubmVyTGFiZWw9e2xhYmVsUGxhY2VtZW50ID09PSAnaW5uZXInfT5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB7aGFzT3V0ZXJMYWJlbCAmJiAoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxTdHlsZWRJbmRpY2F0b3JXcmFwcGVyPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPExhYmVsIGlkPXtsYWJlbElkfSBodG1sRm9yPXtpZH0+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge2lubmVyTGFiZWxWYWx1ZX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvTGFiZWw+XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHtoaW50VGV4dCAmJiAoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPFN0eWxlZEhpbnRXcmFwcGVyPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8SGludENvbXBvbmVudFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVmPXtoaW50Rm9ya1JlZn1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhpbnRUZXh0PXtoaW50VGV4dH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhpbnRUcmlnZ2VyPXtoaW50VHJpZ2dlcn1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlzSGludFZpc2libGU9e2lzSGludFZpc2libGV9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBoaW50VGFyZ2V0SWNvbj17aGludFRhcmdldEljb259XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBoaW50UGxhY2VtZW50PXtoaW50UGxhY2VtZW50fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaGludEhhc0Fycm93PXtoaW50SGFzQXJyb3d9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBoaW50T2Zmc2V0PXtoaW50T2Zmc2V0fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaGludFdpZHRoPXtoaW50V2lkdGh9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBoaW50Q29udGVudExlZnQ9e2hpbnRDb250ZW50TGVmdH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhhbmRsZUhpbnRTaG93PXtoYW5kbGVIaW50U2hvd31cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhhbmRsZUhpbnRIaWRlPXtoYW5kbGVIaW50SGlkZX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhhbmRsZUhpbnRDbGljaz17aGFuZGxlSGludENsaWNrfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvU3R5bGVkSGludFdyYXBwZXI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICApfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge3JlcXVpcmVkICYmIChcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8U3R5bGVkSW5kaWNhdG9yXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzTmFtZT17Y3goXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzc2VzLm91dGVyTGFiZWxQbGFjZW1lbnQsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXF1aXJlZFBsYWNlbWVudENsYXNzLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaGFzSGludENsYXNzLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICApfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICApfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge29wdGlvbmFsVGV4dE5vZGV9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvU3R5bGVkSW5kaWNhdG9yV3JhcHBlcj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICApfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHt0aXRsZUNhcHRpb24gJiYgPFRpdGxlQ2FwdGlvbj57dGl0bGVDYXB0aW9ufTwvVGl0bGVDYXB0aW9uPn1cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvT3V0ZXJMYWJlbFdyYXBwZXI+XG4gICAgICAgICAgICAgICAgICAgICl9XG4gICAgICAgICAgICAgICAgICAgIDxJbnB1dFdyYXBwZXJcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vIFJlZiDQtNC70Y8g0LLQvdGD0YLRgNC10L3QvdC10LPQviDQuNGB0L/QvtC70YzQt9C+0LLQsNC90LjRjy4g0J3QtSDQvtGC0LTQsNC10YLRgdGPINC90LDRgNGD0LbRgy5cbiAgICAgICAgICAgICAgICAgICAgICAgIHJlZj17KHJlc3QgYXMgYW55KS5pbnB1dFdyYXBwZXJSZWZ9XG4gICAgICAgICAgICAgICAgICAgICAgICAvLyBUT0RPOiAjMTU0NCwg0Lgg0L/QvtGB0LvQtSDRg9Cx0YDQsNGC0YwgY2xhc3Nlcy5pbnB1dFdyYXBwZXJcbiAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzTmFtZT17Y3goXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgd2l0aEhhc0NoaXBzLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHdyYXBwZXJXaXRob3V0TGVmdENvbnRlbnQsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgd3JhcHBlcldpdGhvdXRSaWdodENvbnRlbnQsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3Nlcy5pbnB1dFdyYXBwZXIsXG4gICAgICAgICAgICAgICAgICAgICAgICApfVxuICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICB7IWhhc091dGVyTGFiZWwgJiYgKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDw+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHtyZXF1aXJlZCAmJiAoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8U3R5bGVkSW5kaWNhdG9yXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3NOYW1lPXtjeChjbGFzc2VzLmlubmVyTGFiZWxQbGFjZW1lbnQsIHJlcXVpcmVkUGxhY2VtZW50Q2xhc3MpfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge2hpbnRUZXh0ICYmIChcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxTdHlsZWRIaW50V3JhcHBlciBjbGFzc05hbWU9e2NsYXNzZXMuaW5uZXJMYWJlbFBsYWNlbWVudH0+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPEhpbnRDb21wb25lbnRcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVmPXtoaW50Rm9ya1JlZn1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaGludFRleHQ9e2hpbnRUZXh0fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBoaW50VHJpZ2dlcj17aGludFRyaWdnZXJ9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlzSGludFZpc2libGU9e2lzSGludFZpc2libGV9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhpbnRUYXJnZXRJY29uPXtoaW50VGFyZ2V0SWNvbn1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaGludFBsYWNlbWVudD17aGludFBsYWNlbWVudH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaGludEhhc0Fycm93PXtoaW50SGFzQXJyb3d9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhpbnRPZmZzZXQ9e2hpbnRPZmZzZXR9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhpbnRXaWR0aD17aGludFdpZHRofVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBoaW50Q29udGVudExlZnQ9e2hpbnRDb250ZW50TGVmdH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaGFuZGxlSGludFNob3c9e2hhbmRsZUhpbnRTaG93fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBoYW5kbGVIaW50SGlkZT17aGFuZGxlSGludEhpZGV9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhhbmRsZUhpbnRDbGljaz17aGFuZGxlSGludENsaWNrfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L1N0eWxlZEhpbnRXcmFwcGVyPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICApfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvPlxuICAgICAgICAgICAgICAgICAgICAgICAgKX1cbiAgICAgICAgICAgICAgICAgICAgICAgIHtjb250ZW50TGVmdCAmJiAoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPFN0eWxlZENvbnRlbnRMZWZ0IGlzQ2xlYXI9e2NsZWFyfSBpc0RlZmF1bHRWaWV3PXtpc0RlZmF1bHRWaWV3fT5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge2NvbnRlbnRMZWZ0fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvU3R5bGVkQ29udGVudExlZnQ+XG4gICAgICAgICAgICAgICAgICAgICAgICApfVxuICAgICAgICAgICAgICAgICAgICAgICAgPElucHV0TGFiZWxXcmFwcGVyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGFiSW5kZXg9ey0xfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJlZj17Y29udGVudFJlZn1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBvbktleURvd249e2hhbmRsZUNvbnRlbnRLZXlEb3dufVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzTmFtZT17d2l0aEhhc0NoaXBzfVxuICAgICAgICAgICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHt0ZXh0QmVmb3JlICYmIDxTdHlsZWRUZXh0QmVmb3JlPnt0ZXh0QmVmb3JlfTwvU3R5bGVkVGV4dEJlZm9yZT59XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAge2lzQ2hpcEVudW1lcmF0aW9uICYmIEJvb2xlYW4oY2hpcHM/Lmxlbmd0aCkgJiYgKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8U3R5bGVkQ2hpcHM+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7Y2hpcHM/Lm1hcCgoeyBpZDogY2hpcElkLCB0ZXh0IH0sIGluZGV4KSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIChcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPFRleHRGaWVsZENoaXBcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlkPXtjaGlwSWR9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZWY9eyhlbGVtZW50KSA9PiBnZXRSZWYoZWxlbWVudCwgaW5kZXgpfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAga2V5PXtgJHtjaGlwSWR9XyR7aW5kZXh9YH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRpc2FibGVkPXtkaXNhYmxlZH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJlYWRPbmx5PXtyZWFkT25seX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhbHVlPXt0ZXh0fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGV4dD17dGV4dH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG9uS2V5RG93bj17KGV2ZW50KSA9PiBoYW5kbGVDaGlwS2V5RG93bihldmVudCwgY2hpcElkLCBpbmRleCl9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBvbkNsZWFyPXsoKSA9PiBvbkNoaXBDbGVhcihjaGlwSWQsIGluZGV4KX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG9uQ2xpY2s9e29uQ2hpcENsaWNrfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gVE9ETzogIzE1NDdcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBAdHlwZXNjcmlwdC1lc2xpbnQvYmFuLXRzLWNvbW1lbnRcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIEB0cy1pZ25vcmVcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIF9mb3JjZUNoaXBNYW5pcHVsYXRpb25XaXRoUmVhZG9ubHk9e1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBuby11bmRlcnNjb3JlLWRhbmdsZVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChyZXN0IGFzIGFueSkuX2ZvcmNlQ2hpcE1hbmlwdWxhdGlvbldpdGhSZWFkb25seVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9KX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9TdHlsZWRDaGlwcz5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICApfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxJbnB1dENvbnRhaW5lcj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPElucHV0XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZWY9e2lucHV0Rm9ya1JlZn1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlkPXtpbm5lcklkfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFsdWU9e291dGVyVmFsdWV9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhcmlhLWxhYmVsbGVkYnk9e2xhYmVsSWR9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhcmlhLWRlc2NyaWJlZGJ5PXtoZWxwZXJUZXh0SWR9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwbGFjZWhvbGRlcj17aW5uZXJQbGFjZWhvbGRlclZhbHVlfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3NOYW1lPXtjeChoYXNWYWx1ZUNsYXNzKX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRpc2FibGVkPXtkaXNhYmxlZH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJlYWRPbmx5PXshZGlzYWJsZWQgJiYgcmVhZE9ubHl9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBvbklucHV0PXtoYW5kbGVJbnB1dH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG9uQ2hhbmdlPXtoYW5kbGVDaGFuZ2V9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBvbktleURvd249e2hhbmRsZU9uS2V5RG93bn1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHsuLi5yZXN0fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7aGFzSW5uZXJMYWJlbCAmJiAoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8TGFiZWwgaWQ9e2xhYmVsSWR9IGh0bWxGb3I9e2lubmVySWR9PlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHtpbm5lckxhYmVsVmFsdWV9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge29wdGlvbmFsVGV4dE5vZGV9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L0xhYmVsPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICApfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7cGxhY2Vob2xkZXJTaG93biAmJiAhaGFzVmFsdWUgJiYgKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPElucHV0UGxhY2Vob2xkZXI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge2lubmVyUGxhY2Vob2xkZXJWYWx1ZX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7aGFzUGxhY2Vob2xkZXJPcHRpb25hbCAmJiBvcHRpb25hbFRleHROb2RlfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9JbnB1dFBsYWNlaG9sZGVyPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICApfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvSW5wdXRDb250YWluZXI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAge3RleHRBZnRlciAmJiA8U3R5bGVkVGV4dEFmdGVyPnt0ZXh0QWZ0ZXJ9PC9TdHlsZWRUZXh0QWZ0ZXI+fVxuICAgICAgICAgICAgICAgICAgICAgICAgPC9JbnB1dExhYmVsV3JhcHBlcj5cbiAgICAgICAgICAgICAgICAgICAgICAgIHtjb250ZW50UmlnaHQgJiYgPFN0eWxlZENvbnRlbnRSaWdodD57Y29udGVudFJpZ2h0fTwvU3R5bGVkQ29udGVudFJpZ2h0Pn1cbiAgICAgICAgICAgICAgICAgICAgPC9JbnB1dFdyYXBwZXI+XG4gICAgICAgICAgICAgICAgICAgIHtsZWZ0SGVscGVyICYmIDxMZWZ0SGVscGVyIGlkPXtoZWxwZXJUZXh0SWR9PntsZWZ0SGVscGVyfTwvTGVmdEhlbHBlcj59XG4gICAgICAgICAgICAgICAgPC9Sb290PlxuICAgICAgICAgICAgKTtcbiAgICAgICAgfSxcbiAgICApO1xuXG5leHBvcnQgY29uc3QgdGV4dEZpZWxkQ29uZmlnID0ge1xuICAgIG5hbWU6ICdUZXh0RmllbGQnLFxuICAgIHRhZzogJ2RpdicsXG4gICAgbGF5b3V0OiB0ZXh0RmllbGRSb290LFxuICAgIGJhc2UsXG4gICAgdmFyaWF0aW9uczoge1xuICAgICAgICB2aWV3OiB7XG4gICAgICAgICAgICBjc3M6IHZpZXdDU1MsXG4gICAgICAgIH0sXG4gICAgICAgIHNpemU6IHtcbiAgICAgICAgICAgIGNzczogc2l6ZUNTUyxcbiAgICAgICAgfSxcbiAgICAgICAgY2xlYXI6IHtcbiAgICAgICAgICAgIGNzczogY2xlYXJDU1MsXG4gICAgICAgICAgICBhdHRyczogdHJ1ZSxcbiAgICAgICAgfSxcbiAgICAgICAgZGlzYWJsZWQ6IHtcbiAgICAgICAgICAgIGNzczogZGlzYWJsZWRDU1MsXG4gICAgICAgICAgICBhdHRyczogdHJ1ZSxcbiAgICAgICAgfSxcbiAgICAgICAgcmVhZE9ubHk6IHtcbiAgICAgICAgICAgIGNzczogcmVhZE9ubHlDU1MsXG4gICAgICAgICAgICBhdHRyczogdHJ1ZSxcbiAgICAgICAgfSxcbiAgICAgICAgbGFiZWxQbGFjZW1lbnQ6IHtcbiAgICAgICAgICAgIGNzczogbGFiZWxQbGFjZW1lbnRDU1MsXG4gICAgICAgIH0sXG4gICAgICAgIGhpbnRWaWV3OiB7XG4gICAgICAgICAgICBjc3M6IGhpbnRWaWV3Q1NTLFxuICAgICAgICB9LFxuICAgICAgICBoaW50U2l6ZToge1xuICAgICAgICAgICAgY3NzOiBoaW50U2l6ZUNTUyxcbiAgICAgICAgfSxcbiAgICB9LFxuICAgIGRlZmF1bHRzOiB7XG4gICAgICAgIHNpemU6ICdtJyxcbiAgICAgICAgdmlldzogJ2RlZmF1bHQnLFxuICAgIH0sXG59O1xuIl19 */",
37
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVGV4dEZpZWxkL1RleHRGaWVsZC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBNkN1QiIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL1RleHRGaWVsZC9UZXh0RmllbGQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFJlYWN0LCB7IGZvcndhcmRSZWYsIHVzZUVmZmVjdCwgdXNlUmVmLCB1c2VTdGF0ZSB9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W50IH0gZnJvbSAnLi91aS9IaW50L0hpbnQnO1xuXG5jb25zdCBvcHRpb25hbFRleHQgPSAnb3B0aW9uYWwnO1xuXG5leHBvcnQgY29uc3QgYmFzZSA9IGNzc2BcbiAgICAvKiBOT1RFOiBXZWJraXQg0L3QtSDQv9GA0LjQvNC10L3Rj9C10YIgb3BhY2l0eSDQuiBpbmxpbmUg0YLQtdCz0LDQvCAqL1xuICAgIGRpc3BsYXk6IGJsb2NrO1xuYDtcblxuY29uc3QgSElOVF9ERUZBVUxUX09GRlNFVDogW251bWJlciwgbnVtYmVyXSA9IFswLCAwXTtcblxuZXhwb3J0IGNvbnN0IHRleHRGaWVsZFJvb3QgPSAoUm9vdDogUm9vdFByb3BzPEhUTUxEaXZFbGVtZW50LCBUZXh0RmllbGRSb290UHJvcHM+KSA9PlxuICAgIGZvcndhcmRSZWY8SFRNTElucHV0RWxlbWVudCwgVGV4dEZpZWxkUHJvcHM+KFxuICAgICAgICAoXG4gICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgaWQsXG4gICAgICAgICAgICAgICAgY2xhc3NOYW1lLFxuICAgICAgICAgICAgICAgIHN0eWxlLFxuXG4gICAgICAgICAgICAgICAgLy8gbGF5b3V0XG4gICAgICAgICAgICAgICAgY29udGVudExlZnQsXG4gICAgICAgICAgICAgICAgY29udGVudFJpZ2h0LFxuICAgICAgICAgICAgICAgIGxhYmVsLFxuICAgICAgICAgICAgICAgIGxhYmVsUGxhY2VtZW50LFxuICAgICAgICAgICAgICAgIHRleHRCZWZvcmUsXG4gICAgICAgICAgICAgICAgdGV4dEFmdGVyLFxuICAgICAgICAgICAgICAgIHBsYWNlaG9sZGVyLFxuICAgICAgICAgICAgICAgIGxlZnRIZWxwZXIsXG4gICAgICAgICAgICAgICAgZW51bWVyYXRpb25UeXBlID0gJ3BsYWluJyxcbiAgICAgICAgICAgICAgICByZXF1aXJlZFBsYWNlbWVudCA9ICdyaWdodCcsXG4gICAgICAgICAgICAgICAgdGl0bGVDYXB0aW9uLFxuXG4gICAgICAgICAgICAgICAgLy8gaGludFxuICAgICAgICAgICAgICAgIGhpbnRUcmlnZ2VyID0gJ2hvdmVyJyxcbiAgICAgICAgICAgICAgICBoaW50VGV4dCxcbiAgICAgICAgICAgICAgICBoaW50VmlldyA9ICdkZWZhdWx0JyxcbiAgICAgICAgICAgICAgICBoaW50U2l6ZSA9ICdtJyxcbiAgICAgICAgICAgICAgICBoaW50VGFyZ2V0SWNvbixcbiAgICAgICAgICAgICAgICBoaW50UGxhY2VtZW50ID0gJ2F1dG8nLFxuICAgICAgICAgICAgICAgIGhpbnRIYXNBcnJvdyxcbiAgICAgICAgICAgICAgICBoaW50T2Zmc2V0ID0gSElOVF9ERUZBVUxUX09GRlNFVCxcbiAgICAgICAgICAgICAgICBoaW50V2lkdGgsXG4gICAgICAgICAgICAgICAgaGludENvbnRlbnRMZWZ0LFxuXG4gICAgICAgICAgICAgICAgLy8gdmFyaWF0aW9uc1xuICAgICAgICAgICAgICAgIHZpZXcsXG4gICAgICAgICAgICAgICAgc2l6ZSxcbiAgICAgICAgICAgICAgICByZWFkT25seSA9IGZhbHNlLFxuICAgICAgICAgICAgICAgIGRpc2FibGVkID0gZmFsc2UsXG4gICAgICAgICAgICAgICAgcmVxdWlyZWQgPSBmYWxzZSxcbiAgICAgICAgICAgICAgICBjbGVhciA9IGZhbHNlLFxuICAgICAgICAgICAgICAgIG9wdGlvbmFsLFxuICAgICAgICAgICAgICAgIGhhc0RpdmlkZXIsXG5cbiAgICAgICAgICAgICAgICAvLyBjb250cm9sbGVkXG4gICAgICAgICAgICAgICAgdmFsdWU6IG91dGVyVmFsdWUsXG4gICAgICAgICAgICAgICAgY2hpcHM6IHZhbHVlcyxcblxuICAgICAgICAgICAgICAgIC8vIGV2ZW50c1xuICAgICAgICAgICAgICAgIG9uQ2hhbmdlLFxuICAgICAgICAgICAgICAgIG9uQ2hhbmdlQ2hpcHMsXG4gICAgICAgICAgICAgICAgb25TZWFyY2gsXG4gICAgICAgICAgICAgICAgb25LZXlEb3duLFxuXG4gICAgICAgICAgICAgICAgLi4ucmVzdFxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIHJlZixcbiAgICAgICAgKSA9PiB7XG4gICAgICAgICAgICBjb25zdCBjb250ZW50UmVmID0gdXNlUmVmPEhUTUxEaXZFbGVtZW50PihudWxsKTtcbiAgICAgICAgICAgIGNvbnN0IGlucHV0UmVmID0gdXNlUmVmPEhUTUxJbnB1dEVsZW1lbnQ+KG51bGwpO1xuICAgICAgICAgICAgY29uc3QgaW5wdXRGb3JrUmVmID0gdXNlRm9ya1JlZihpbnB1dFJlZiwgcmVmKTtcbiAgICAgICAgICAgIGNvbnN0IGNoaXBzUmVmcyA9IHVzZVJlZjxBcnJheTxIVE1MQnV0dG9uRWxlbWVudD4+KFtdKTtcblxuICAgICAgICAgICAgY29uc3QgY29udHJvbGxlZFJlZnMgPSB7IGNvbnRlbnRSZWYsIGlucHV0UmVmLCBjaGlwc1JlZnMgfTtcblxuICAgICAgICAgICAgY29uc3QgW2hhc1ZhbHVlLCBzZXRIYXNWYWx1ZV0gPSB1c2VTdGF0ZShcbiAgICAgICAgICAgICAgICBCb29sZWFuKG91dGVyVmFsdWUpIHx8IEJvb2xlYW4oaW5wdXRSZWY/LmN1cnJlbnQ/LnZhbHVlKSB8fCBCb29sZWFuKHJlc3Q/LmRlZmF1bHRWYWx1ZSksXG4gICAgICAgICAgICApO1xuICAgICAgICAgICAgY29uc3QgW2NoaXBzLCBzZXRDaGlwc10gPSB1c2VTdGF0ZTxBcnJheTxDaGlwVmFsdWVzPj4oW10pO1xuICAgICAgICAgICAgY29uc3QgW2lzSGludFZpc2libGUsIHNldElzSGludFZpc2libGVdID0gdXNlU3RhdGUoZmFsc2UpO1xuXG4gICAgICAgICAgICBjb25zdCB1bmlxSWQgPSBzYWZlVXNlSWQoKTtcbiAgICAgICAgICAgIGNvbnN0IGlubmVySWQgPSBpZCB8fCB1bmlxSWQ7XG4gICAgICAg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ICAgIGNvbnN0IGhhbmRsZUhpbnRIaWRlID0gKCkgPT4gc2V0SXNIaW50VmlzaWJsZShmYWxzZSk7XG4gICAgICAgICAgICBjb25zdCBoYW5kbGVIaW50Q2xpY2s6IE1vdXNlRXZlbnRIYW5kbGVyID0gKGV2ZW50KSA9PiB7XG4gICAgICAgICAgICAgICAgaWYgKCFoaW50VGV4dCB8fCBoaW50VHJpZ2dlciAhPT0gJ2NsaWNrJykge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgZXZlbnQuc3RvcFByb3BhZ2F0aW9uKCk7XG4gICAgICAgICAgICAgICAgY29uc3QgdGFyZ2V0SXNQb3BvdmVyID0gZXZlbnQudGFyZ2V0ID09PSBoaW50SW5uZXJSZWYuY3VycmVudDtcbiAgICAgICAgICAgICAgICBjb25zdCByb290SGFzVGFyZ2V0ID0gaGludElubmVyUmVmLmN1cnJlbnQ/LmNvbnRhaW5zKGV2ZW50LnRhcmdldCBhcyBFbGVtZW50KTtcblxuICAgICAgICAgICAgICAgIGlmICghdGFyZ2V0SXNQb3BvdmVyICYmICFyb290SGFzVGFyZ2V0KSB7XG4gICAgICAgICAgICAgICAgICAgIHNldElzSGludFZpc2libGUodHJ1ZSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfTtcblxuICAgICAgICAgICAgY29uc3QgaGFuZGxlQ2hhbmdlOiBDaGFuZ2VFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD4gPSAoZXZlbnQpID0+IHtcbiAgICAgICAgICAgICAgICBpZiAoZGlzYWJsZWQgfHwgcmVhZE9ubHkpIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIGNvbnN0IHsgbWF4TGVuZ3RoLCB2YWx1ZSB9ID0gZXZlbnQudGFyZ2V0O1xuXG4gICAgICAgICAgICAgICAgaWYgKG1heExlbmd0aCAhPT0gLTEgJiYgdmFsdWUubGVuZ3RoID4gbWF4TGVuZ3RoKSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICBvbkNoYW5nZT8uKGV2ZW50KTtcbiAgICAgICAgICAgIH07XG5cbiAgICAgICAgICAgIGNvbnN0IHVwZGF0ZUNoaXBzID0gKG5ld0NoaXBzOiBBcnJheTxDaGlwVmFsdWVzPiwgbmV3VmFsdWVzOiBBcnJheTxUZXh0RmllbGRQcmltaXRpdmVWYWx1ZT4pID0+IHtcbiAgICAgICAgICAgICAgICBzZXRDaGlwcyhuZXdDaGlwcyk7XG4gICAgICAgICAgICAgICAgb25DaGFuZ2VDaGlwcz8uKG5ld1ZhbHVlcyk7XG4gICAgICAgICAgICB9O1xuXG4gICAgICAgICAgICBjb25zdCB7IGhhbmRsZUlucHV0S2V5ZG93biwgaGFuZGxlQ2hpcEtleURvd24sIG9uQ2hpcENsZWFyLCBoYW5kbGVDb250ZW50S2V5RG93biB9ID0gdXNlS2V5TmF2aWdhdGlvbih7XG4gICAgICAgICAgICAgICAgY29udHJvbGxlZFJlZnMsXG4gICAgICAgICAgICAgICAgZGlzYWJsZWQsXG4gICAgICAgICAgICAgICAgcmVhZE9ubHksXG4gICAgICAgICAgICAgICAgY2hpcHMsXG4gICAgICAgICAgICAgICAgZW51bWVyYXRpb25UeXBlLFxuICAgICAgICAgICAgICAgIHVwZGF0ZUNoaXBzLFxuICAgICAgICAgICAgICAgIG9uU2VhcmNoLFxuICAgICAgICAgICAgICAgIG9uQ2hhbmdlLFxuICAgICAgICAgICAgICAgIG9uRW50ZXJEaXNhYmxlZDogKHJlc3QgYXMgYW55KS5vbkVudGVyRGlzYWJsZWQsXG4gICAgICAgICAgICB9KTtcblxuICAgICAgICAgICAgY29uc3Qgb25DaGlwQ2xpY2sgPSAoZXZlbnQ6IFJlYWN0Lk1vdXNlRXZlbnQ8SFRNTEJ1dHRvbkVsZW1lbnQ+KSA9PiBldmVudC5zdG9wUHJvcGFnYXRpb24oKTtcblxuICAgICAgICAgICAgY29uc3QgaGFuZGxlSW5wdXRGb2N1cyA9ICgpID0+IHtcbiAgICAgICAgICAgICAgICBpZiAocmVhZE9ubHkgfHwgZGlzYWJsZWQgfHwgIWlucHV0UmVmPy5jdXJyZW50KSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICBpbnB1dFJlZi5jdXJyZW50LnNjcm9sbFRvKHtcbiAgICAgICAgICAgICAgICAgICAgdG9wOiAwLFxuICAgICAgICAgICAgICAgICAgICBsZWZ0OiBpbnB1dFJlZi5jdXJyZW50Lm9mZnNldExlZnQsXG4gICAgICAgICAgICAgICAgICAgIGJlaGF2aW9yOiAnc21vb3RoJyxcbiAgICAgICAgICAgICAgICB9KTtcblxuICAgICAgICAgICAgICAgIGlucHV0UmVmLmN1cnJlbnQuZm9jdXMoKTtcbiAgICAgICAgICAgIH07XG5cbiAgICAgICAgICAgIGNvbnN0IGdldFJlZiA9IChlbGVtZW50OiBIVE1MQnV0dG9uRWxlbWVudCB8IG51bGwsIGluZGV4OiBudW1iZXIpID0+IHtcbiAgICAgICAgICAgICAgICBpZiAoZWxlbWVudCAmJiBjaGlwc1JlZnM/LmN1cnJlbnQpIHtcbiAgICAgICAgICAgICAgICAgICAgY2hpcHNSZWZzLmN1cnJlbnRbaW5kZXhdID0gZWxlbWVudDtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9O1xuXG4gICAgICAgICAgICBjb25zdCBoYW5kbGVPbktleURvd24gPSAoZXZlbnQ6IENoYW5nZUV2ZW50PEhUTUxJbnB1dEVsZW1lbnQ+ICYgS2V5Ym9hcmRFdmVudDxIVE1MSW5wdXRFbGVtZW50PikgPT4ge1xuICAgICAgICAgICAgICAgIGhhbmRsZUlucHV0S2V5ZG93bihldmVudCk7XG5cbiAgICAgICAgICAgICAgICBpZiAob25LZXlEb3duKSB7XG4gICAgICAgICAgICAgICAgICAgIG9uS2V5RG93bihldmVudCk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfTtcblxuICAgICAgICAgICAgdXNlRWZmZWN0KCgpID0+IHtcbiAgICAgICAgICAgICAgICBpZiAoIWlzQ2hpcEVudW1lcmF0aW9uICYmICF2YWx1ZXM/Lmxlbmd0aCkge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgY29uc3QgbmV3Q2hpcHMgPVxuICAgICAgICAgICAgICAgICAgICB2YWx1ZXM/Lm1hcCgodmFsdWUsIGluZGV4KSA9PiAoe1xuICAgICAgICAgICAgICAgICAgICAgICAgaWQ6IGAke2luZGV4fV8ke3ZhbHVlfWAsXG4gICAgICAgICAgICAgICAgICAgICAgICB0ZXh0OiB2YWx1ZSxcbiAgICAgICAgICAgICAgICAgICAgfSkpIHx8IFtdO1xuXG4gICAgICAgICAgICAgICAgc2V0Q2hpcHMobmV3Q2hpcHMpO1xuICAgICAgICAgICAgfSwgW2lzQ2hpcEVudW1lcmF0aW9uLCB2YWx1ZXNdKTtcblxuICAgICAgICAgICAgdXNlRWZmZWN0KCgpID0+IHtcbiAgICAgICAgICAgICAgICBzZXRIYXNWYWx1ZShCb29sZWFuKHJlc3Q/LmRlZmF1bHRWYWx1ZSkpO1xuICAgICAgICAgICAgfSwgW3Jlc3QuZGVmYXVsdFZhbHVlXSk7XG5cbiAgICAgICAgICAgIHVzZUVmZmVjdCgoKSA9PiB7XG4gICAgICAgICAgICAgICAgc2V0SGFzVmFsdWUoQm9vbGVhbihvdXRlclZhbHVlKSB8fCBCb29sZWFuKGlucHV0UmVmPy5jdXJyZW50Py52YWx1ZSkpO1xuICAgICAgICAgICAgfSwgW291dGVyVmFsdWUsIGlucHV0UmVmPy5jdXJyZW50Py52YWx1ZV0pO1xuXG4gICAgICAgICAgICBjb25zdCBpbm5lck9wdGlvbmFsID0gQm9vbGVhbihyZXF1aXJlZCA/IGZhbHNlIDogb3B0aW9uYWwpO1xuICAgICAgICAgICAgY29uc3QgaGFzUGxhY2Vob2xkZXJPcHRpb25hbCA9IGlubmVyT3B0aW9uYWwgJiYgIWlubmVyTGFiZWxWYWx1ZSAmJiAhaGFzT3V0ZXJMYWJlbDtcbiAgICAgICAgICAgIGNvbnN0IG9wdGlvbmFsVGV4dE5vZGUgPSBpbm5lck9wdGlvbmFsID8gKFxuICAgICAgICAgICAgICAgIDxTdHlsZWRPcHRpb25hbFRleHQ+XG4gICAgICAgICAgICAgICAgICAgIHtCb29sZWFuKGhhc1BsYWNlaG9sZGVyT3B0aW9uYWwgPyBpbm5lclBsYWNlaG9sZGVyVmFsdWUgOiBpbm5lckxhYmVsVmFsdWUpICYmICdcXHhhMCd9XG4gICAgICAgICAgICAgICAgICAgIHtvcHRpb25hbFRleHR9XG4gICAgICAgICAgICAgICAgPC9TdHlsZWRPcHRpb25hbFRleHQ+XG4gICAgICAgICAgICApIDogbnVsbDtcblxuICAgICAgICAgICAgcmV0dXJuIChcbiAgICAgICAgICAgICAgICA8Um9vdFxuICAgICAgICAgICAgICAgICAgICB2aWV3PXt2aWV3fVxuICAgICAgICAgICAgICAgICAgICBzaXplPXtzaXplfVxuICAgICAgICAgICAgICAgICAgICBkaXNhYmxlZD17ZGlzYWJsZWR9XG4gICAgICAgICAgICAgICAgICAgIHJlYWRPbmx5PXshZGlzYWJsZWQgJiYgcmVhZE9ubHl9XG4gICAgICAgICAgICAgICAgICAgIGNsZWFyPXtjbGVhcn1cbiAgICAgICAgICAgICAgICAgICAgbGFiZWxQbGFjZW1lbnQ9e2lubmVyTGFiZWxQbGFjZW1lbnRWYWx1ZX1cbiAgICAgICAgICAgICAgICAgICAgb25DbGljaz17aGFuZGxlSW5wdXRGb2N1c31cbiAgICAgICAgICAgICAgICAgICAgY2xhc3NOYW1lPXtjeChcbiAgICAgICAgICAgICAgICAgICAgICAgIGxhYmVsUGxhY2VtZW50Q2xhc3MsXG4gICAgICAgICAgICAgICAgICAgICAgICBjbGVhckNsYXNzLFxuICAgICAgICAgICAgICAgICAgICAgICAgaGFzRGl2aWRlckNsYXNzLFxuICAgICAgICAgICAgICAgICAgICAgICAgaGFzSGludENsYXNzLFxuICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3Nlcy50ZXh0RmllbGRHcm91cEl0ZW0sXG4gICAgICAgICAgICAgICAgICAgICAgICBjbGFzc05hbWUsXG4gICAgICAgICAgICAgICAgICAgICl9XG4gICAgICAgICAgICAgICAgICAgIHN0eWxlPXtzdHlsZX1cbiAgICAgICAgICAgICAgICAgICAgey4uLihoaW50VGV4dCAmJiB7IGhpbnRWaWV3LCBoaW50U2l6ZSB9KX1cbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgIHsoaGFzT3V0ZXJMYWJlbCB8fCB0aXRsZUNhcHRpb24pICYmIChcbiAgICAgICAgICAgICAgICAgICAgICAgIDxPdXRlckxhYmVsV3JhcHBlciBpc0lubmVyTGFiZWw9e2xhYmVsUGxhY2VtZW50ID09PSAnaW5uZXInfT5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB7aGFzT3V0ZXJMYWJlbCAmJiAoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxTdHlsZWRJbmRpY2F0b3JXcmFwcGVyPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPExhYmVsIGlkPXtsYWJlbElkfSBodG1sRm9yPXtpZH0+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge2lubmVyTGFiZWxWYWx1ZX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvTGFiZWw+XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHtoaW50VGV4dCAmJiAoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPFN0eWxlZEhpbnRXcmFwcGVyPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8SGludENvbXBvbmVudFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVmPXtoaW50Rm9ya1JlZn1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhpbnRUZXh0PXtoaW50VGV4dH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhpbnRUcmlnZ2VyPXtoaW50VHJpZ2dlcn1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlzSGludFZpc2libGU9e2lzSGludFZpc2libGV9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBoaW50VGFyZ2V0SWNvbj17aGludFRhcmdldEljb259XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBoaW50UGxhY2VtZW50PXtoaW50UGxhY2VtZW50fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaGludEhhc0Fycm93PXtoaW50SGFzQXJyb3d9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBoaW50T2Zmc2V0PXtoaW50T2Zmc2V0fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaGludFdpZHRoPXtoaW50V2lkdGh9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBoaW50Q29udGVudExlZnQ9e2hpbnRDb250ZW50TGVmdH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhhbmRsZUhpbnRTaG93PXtoYW5kbGVIaW50U2hvd31cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhhbmRsZUhpbnRIaWRlPXtoYW5kbGVIaW50SGlkZX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhhbmRsZUhpbnRDbGljaz17aGFuZGxlSGludENsaWNrfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvU3R5bGVkSGludFdyYXBwZXI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICApfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge3JlcXVpcmVkICYmIChcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8U3R5bGVkSW5kaWNhdG9yXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzTmFtZT17Y3goXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzc2VzLm91dGVyTGFiZWxQbGFjZW1lbnQsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXF1aXJlZFBsYWNlbWVudENsYXNzLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaGFzSGludENsYXNzLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICApfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICApfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge29wdGlvbmFsVGV4dE5vZGV9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvU3R5bGVkSW5kaWNhdG9yV3JhcHBlcj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICApfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHt0aXRsZUNhcHRpb24gJiYgPFRpdGxlQ2FwdGlvbj57dGl0bGVDYXB0aW9ufTwvVGl0bGVDYXB0aW9uPn1cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvT3V0ZXJMYWJlbFdyYXBwZXI+XG4gICAgICAgICAgICAgICAgICAgICl9XG4gICAgICAgICAgICAgICAgICAgIDxJbnB1dFdyYXBwZXJcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vIFJlZiDQtNC70Y8g0LLQvdGD0YLRgNC10L3QvdC10LPQviDQuNGB0L/QvtC70YzQt9C+0LLQsNC90LjRjy4g0J3QtSDQvtGC0LTQsNC10YLRgdGPINC90LDRgNGD0LbRgy5cbiAgICAgICAgICAgICAgICAgICAgICAgIHJlZj17KHJlc3QgYXMgYW55KS5pbnB1dFdyYXBwZXJSZWZ9XG4gICAgICAgICAgICAgICAgICAgICAgICBjbGFzc05hbWU9e2N4KHdpdGhIYXNDaGlwcywgd3JhcHBlcldpdGhvdXRMZWZ0Q29udGVudCwgd3JhcHBlcldpdGhvdXRSaWdodENvbnRlbnQpfVxuICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICB7IWhhc091dGVyTGFiZWwgJiYgKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDw+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHtyZXF1aXJlZCAmJiAoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8U3R5bGVkSW5kaWNhdG9yXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3NOYW1lPXtjeChjbGFzc2VzLmlubmVyTGFiZWxQbGFjZW1lbnQsIHJlcXVpcmVkUGxhY2VtZW50Q2xhc3MpfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge2hpbnRUZXh0ICYmIChcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxTdHlsZWRIaW50V3JhcHBlciBjbGFzc05hbWU9e2NsYXNzZXMuaW5uZXJMYWJlbFBsYWNlbWVudH0+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPEhpbnRDb21wb25lbnRcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVmPXtoaW50Rm9ya1JlZn1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaGludFRleHQ9e2hpbnRUZXh0fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBoaW50VHJpZ2dlcj17aGludFRyaWdnZXJ9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlzSGludFZpc2libGU9e2lzSGludFZpc2libGV9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhpbnRUYXJnZXRJY29uPXtoaW50VGFyZ2V0SWNvbn1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaGludFBsYWNlbWVudD17aGludFBsYWNlbWVudH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaGludEhhc0Fycm93PXtoaW50SGFzQXJyb3d9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhpbnRPZmZzZXQ9e2hpbnRPZmZzZXR9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhpbnRXaWR0aD17aGludFdpZHRofVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBoaW50Q29udGVudExlZnQ9e2hpbnRDb250ZW50TGVmdH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaGFuZGxlSGludFNob3c9e2hhbmRsZUhpbnRTaG93fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBoYW5kbGVIaW50SGlkZT17aGFuZGxlSGludEhpZGV9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhhbmRsZUhpbnRDbGljaz17aGFuZGxlSGludENsaWNrfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L1N0eWxlZEhpbnRXcmFwcGVyPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICApfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvPlxuICAgICAgICAgICAgICAgICAgICAgICAgKX1cbiAgICAgICAgICAgICAgICAgICAgICAgIHtjb250ZW50TGVmdCAmJiAoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPFN0eWxlZENvbnRlbnRMZWZ0IGlzQ2xlYXI9e2NsZWFyfSBpc0RlZmF1bHRWaWV3PXtpc0RlZmF1bHRWaWV3fT5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge2NvbnRlbnRMZWZ0fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvU3R5bGVkQ29udGVudExlZnQ+XG4gICAgICAgICAgICAgICAgICAgICAgICApfVxuICAgICAgICAgICAgICAgICAgICAgICAgPElucHV0TGFiZWxXcmFwcGVyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGFiSW5kZXg9ey0xfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJlZj17Y29udGVudFJlZn1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBvbktleURvd249e2hhbmRsZUNvbnRlbnRLZXlEb3dufVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzTmFtZT17d2l0aEhhc0NoaXBzfVxuICAgICAgICAgICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHt0ZXh0QmVmb3JlICYmIDxTdHlsZWRUZXh0QmVmb3JlPnt0ZXh0QmVmb3JlfTwvU3R5bGVkVGV4dEJlZm9yZT59XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAge2lzQ2hpcEVudW1lcmF0aW9uICYmIEJvb2xlYW4oY2hpcHM/Lmxlbmd0aCkgJiYgKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8U3R5bGVkQ2hpcHM+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7Y2hpcHM/Lm1hcCgoeyBpZDogY2hpcElkLCB0ZXh0IH0sIGluZGV4KSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIChcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPFRleHRGaWVsZENoaXBcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlkPXtjaGlwSWR9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZWY9eyhlbGVtZW50KSA9PiBnZXRSZWYoZWxlbWVudCwgaW5kZXgpfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAga2V5PXtgJHtjaGlwSWR9XyR7aW5kZXh9YH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRpc2FibGVkPXtkaXNhYmxlZH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJlYWRPbmx5PXtyZWFkT25seX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhbHVlPXt0ZXh0fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGV4dD17dGV4dH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG9uS2V5RG93bj17KGV2ZW50KSA9PiBoYW5kbGVDaGlwS2V5RG93bihldmVudCwgY2hpcElkLCBpbmRleCl9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBvbkNsZWFyPXsoKSA9PiBvbkNoaXBDbGVhcihjaGlwSWQsIGluZGV4KX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG9uQ2xpY2s9e29uQ2hpcENsaWNrfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9KX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9TdHlsZWRDaGlwcz5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICApfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxJbnB1dENvbnRhaW5lcj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPElucHV0XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZWY9e2lucHV0Rm9ya1JlZn1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlkPXtpbm5lcklkfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFsdWU9e291dGVyVmFsdWV9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhcmlhLWxhYmVsbGVkYnk9e2xhYmVsSWR9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhcmlhLWRlc2NyaWJlZGJ5PXtoZWxwZXJUZXh0SWR9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwbGFjZWhvbGRlcj17aW5uZXJQbGFjZWhvbGRlclZhbHVlfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3NOYW1lPXtjeChoYXNWYWx1ZUNsYXNzKX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRpc2FibGVkPXtkaXNhYmxlZH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJlYWRPbmx5PXshZGlzYWJsZWQgJiYgcmVhZE9ubHl9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBvbklucHV0PXtoYW5kbGVJbnB1dH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG9uQ2hhbmdlPXtoYW5kbGVDaGFuZ2V9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBvbktleURvd249e2hhbmRsZU9uS2V5RG93bn1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHsuLi5yZXN0fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7aGFzSW5uZXJMYWJlbCAmJiAoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8TGFiZWwgaWQ9e2xhYmVsSWR9IGh0bWxGb3I9e2lubmVySWR9PlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHtpbm5lckxhYmVsVmFsdWV9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge29wdGlvbmFsVGV4dE5vZGV9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L0xhYmVsPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICApfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7cGxhY2Vob2xkZXJTaG93biAmJiAhaGFzVmFsdWUgJiYgKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPElucHV0UGxhY2Vob2xkZXI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge2lubmVyUGxhY2Vob2xkZXJWYWx1ZX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7aGFzUGxhY2Vob2xkZXJPcHRpb25hbCAmJiBvcHRpb25hbFRleHROb2RlfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9JbnB1dFBsYWNlaG9sZGVyPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICApfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvSW5wdXRDb250YWluZXI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAge3RleHRBZnRlciAmJiA8U3R5bGVkVGV4dEFmdGVyPnt0ZXh0QWZ0ZXJ9PC9TdHlsZWRUZXh0QWZ0ZXI+fVxuICAgICAgICAgICAgICAgICAgICAgICAgPC9JbnB1dExhYmVsV3JhcHBlcj5cbiAgICAgICAgICAgICAgICAgICAgICAgIHtjb250ZW50UmlnaHQgJiYgPFN0eWxlZENvbnRlbnRSaWdodD57Y29udGVudFJpZ2h0fTwvU3R5bGVkQ29udGVudFJpZ2h0Pn1cbiAgICAgICAgICAgICAgICAgICAgPC9JbnB1dFdyYXBwZXI+XG4gICAgICAgICAgICAgICAgICAgIHtsZWZ0SGVscGVyICYmIDxMZWZ0SGVscGVyIGlkPXtoZWxwZXJUZXh0SWR9PntsZWZ0SGVscGVyfTwvTGVmdEhlbHBlcj59XG4gICAgICAgICAgICAgICAgPC9Sb290PlxuICAgICAgICAgICAgKTtcbiAgICAgICAgfSxcbiAgICApO1xuXG5leHBvcnQgY29uc3QgdGV4dEZpZWxkQ29uZmlnID0ge1xuICAgIG5hbWU6ICdUZXh0RmllbGQnLFxuICAgIHRhZzogJ2RpdicsXG4gICAgbGF5b3V0OiB0ZXh0RmllbGRSb290LFxuICAgIGJhc2UsXG4gICAgdmFyaWF0aW9uczoge1xuICAgICAgICB2aWV3OiB7XG4gICAgICAgICAgICBjc3M6IHZpZXdDU1MsXG4gICAgICAgIH0sXG4gICAgICAgIHNpemU6IHtcbiAgICAgICAgICAgIGNzczogc2l6ZUNTUyxcbiAgICAgICAgfSxcbiAgICAgICAgY2xlYXI6IHtcbiAgICAgICAgICAgIGNzczogY2xlYXJDU1MsXG4gICAgICAgICAgICBhdHRyczogdHJ1ZSxcbiAgICAgICAgfSxcbiAgICAgICAgZGlzYWJsZWQ6IHtcbiAgICAgICAgICAgIGNzczogZGlzYWJsZWRDU1MsXG4gICAgICAgICAgICBhdHRyczogdHJ1ZSxcbiAgICAgICAgfSxcbiAgICAgICAgcmVhZE9ubHk6IHtcbiAgICAgICAgICAgIGNzczogcmVhZE9ubHlDU1MsXG4gICAgICAgICAgICBhdHRyczogdHJ1ZSxcbiAgICAgICAgfSxcbiAgICAgICAgbGFiZWxQbGFjZW1lbnQ6IHtcbiAgICAgICAgICAgIGNzczogbGFiZWxQbGFjZW1lbnRDU1MsXG4gICAgICAgIH0sXG4gICAgICAgIGhpbnRWaWV3OiB7XG4gICAgICAgICAgICBjc3M6IGhpbnRWaWV3Q1NTLFxuICAgICAgICB9LFxuICAgICAgICBoaW50U2l6ZToge1xuICAgICAgICAgICAgY3NzOiBoaW50U2l6ZUNTUyxcbiAgICAgICAgfSxcbiAgICB9LFxuICAgIGRlZmF1bHRzOiB7XG4gICAgICAgIHNpemU6ICdtJyxcbiAgICAgICAgdmlldzogJ2RlZmF1bHQnLFxuICAgIH0sXG59O1xuIl19 */",
38
38
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
39
39
  };
40
40
  var HINT_DEFAULT_OFFSET = [0, 0];
@@ -277,10 +277,8 @@ export var textFieldRoot = function textFieldRoot(Root) {
277
277
  }), optionalTextNode), titleCaption && /*#__PURE__*/React.createElement(TitleCaption, null, titleCaption)), /*#__PURE__*/React.createElement(InputWrapper
278
278
  // Ref для внутреннего использования. Не отдается наружу.
279
279
  , {
280
- ref: rest.inputWrapperRef
281
- // TODO: #1544, и после убрать classes.inputWrapper
282
- ,
283
- className: cx(withHasChips, wrapperWithoutLeftContent, wrapperWithoutRightContent, classes.inputWrapper)
280
+ ref: rest.inputWrapperRef,
281
+ className: cx(withHasChips, wrapperWithoutLeftContent, wrapperWithoutRightContent)
284
282
  }, !hasOuterLabel && /*#__PURE__*/React.createElement(React.Fragment, null, required && /*#__PURE__*/React.createElement(StyledIndicator, {
285
283
  className: cx(classes.innerLabelPlacement, requiredPlacementClass)
286
284
  }), hintText && /*#__PURE__*/React.createElement(StyledHintWrapper, {
@@ -327,13 +325,6 @@ export var textFieldRoot = function textFieldRoot(Root) {
327
325
  return onChipClear(chipId, index);
328
326
  },
329
327
  onClick: onChipClick
330
- // TODO: #1547
331
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
332
- // @ts-ignore
333
- ,
334
- _forceChipManipulationWithReadonly:
335
- // eslint-disable-next-line no-underscore-dangle
336
- rest._forceChipManipulationWithReadonly
337
328
  });
338
329
  })), /*#__PURE__*/React.createElement(InputContainer, null, /*#__PURE__*/React.createElement(Input, _extends({
339
330
  ref: inputForkRef,