@crystaldesign/diva-web-planner-react 25.1.1-rc.2 → 25.1.1-rc.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (257) hide show
  1. package/build/esm/{ArticleProperties-0771850b.js → ArticleProperties-b9d751f8.js} +1 -1
  2. package/build/esm/{CatalogProperties-e13871d4.js → CatalogProperties-e11a0074.js} +1 -1
  3. package/build/esm/{DecisionVizualizer-ceb7f9bf.js → DecisionVizualizer-b70a6686.js} +1 -1
  4. package/build/esm/{IconHandler-6fff9296.js → IconHandler-503badcb.js} +1 -1
  5. package/build/esm/{OptionProperties-5ead9b3d.js → OptionProperties-30086e8d.js} +1 -1
  6. package/build/esm/{OptionValueProperties-e92f6461.js → OptionValueProperties-d574762a.js} +1 -1
  7. package/build/esm/{Planner2DGrid-b3a69f36.js → Planner2DGrid-3d81b5e2.js} +1 -1
  8. package/build/esm/{Planner3DImage-8be3b6ff.js → Planner3DImage-e2569146.js} +1 -1
  9. package/build/esm/{index-87195982.js → index-010b11c2.js} +1 -1
  10. package/build/esm/{index-2828c779.js → index-0366ce4a.js} +3 -3
  11. package/build/esm/{index-95ac772e.js → index-0416cb7a.js} +3 -3
  12. package/build/esm/{index-b6402404.js → index-0513acd5.js} +1 -1
  13. package/build/esm/{index-8c156e4f.js → index-07554fdd.js} +1 -1
  14. package/build/esm/{index-a78a76bf.js → index-094d50dd.js} +9 -9
  15. package/build/esm/{index-6337f03b.js → index-09f54bf5.js} +43 -43
  16. package/build/esm/{index-caf248a7.js → index-0ee32a31.js} +1 -1
  17. package/build/esm/{index-ef33bc8a.js → index-0eede771.js} +1 -1
  18. package/build/esm/{index-206dab36.js → index-0f3078b2.js} +6 -6
  19. package/build/esm/{index-cdc4d3e2.js → index-0f4966ee.js} +20 -20
  20. package/build/esm/{index-a72cf29f.js → index-1060c287.js} +1 -1
  21. package/build/esm/{index-31d171eb.js → index-108263be.js} +1 -1
  22. package/build/esm/{index-b2387cd9.js → index-11096871.js} +19 -19
  23. package/build/esm/{index-f54e268f.js → index-15974a25.js} +1 -1
  24. package/build/esm/{index-d2dcf8a9.js → index-16341a28.js} +3 -3
  25. package/build/esm/{index-f4360b26.js → index-1673d005.js} +6 -6
  26. package/build/esm/{index-bed23ea0.js → index-16e81e5a.js} +1 -1
  27. package/build/esm/{index-edce5516.js → index-17173376.js} +1 -1
  28. package/build/esm/{index-ca790861.js → index-17686eff.js} +1 -1
  29. package/build/esm/{index-9b2feccd.js → index-184755f5.js} +3 -3
  30. package/build/esm/{index-c1b4e6da.js → index-1a8c8d3a.js} +45 -45
  31. package/build/esm/{index-f3224b74.js → index-1bb459c6.js} +6 -6
  32. package/build/esm/{index-41a82139.js → index-1db8a108.js} +1 -1
  33. package/build/esm/{index-9e85e207.js → index-1de25585.js} +2 -2
  34. package/build/esm/{index-2dc4d130.js → index-1edb06ba.js} +1 -1
  35. package/build/esm/{index-871b5361.js → index-1fd230d8.js} +1 -1
  36. package/build/esm/{index-db469d13.js → index-2031342d.js} +1 -1
  37. package/build/esm/{index-bea8668c.js → index-20d02e9d.js} +4 -4
  38. package/build/esm/{index-0db4d4ac.js → index-22f8d54c.js} +1 -1
  39. package/build/esm/{index-21b3124a.js → index-24cdb1d0.js} +4 -4
  40. package/build/esm/{index-68db74d4.js → index-25752dd1.js} +2 -2
  41. package/build/esm/{index-2f796f6c.js → index-267fbb65.js} +1 -1
  42. package/build/esm/{index-a74264f4.js → index-27a2582d.js} +2 -2
  43. package/build/esm/{index-6b437a96.js → index-29b6e865.js} +5 -5
  44. package/build/esm/{index-57901d5b.js → index-29cc6ca2.js} +9 -9
  45. package/build/esm/{index-874a2db4.js → index-2abf0139.js} +2 -2
  46. package/build/esm/{index-0e8f0803.js → index-2ccd9f69.js} +6 -6
  47. package/build/esm/{index-12d98fb5.js → index-2d33bbd6.js} +5 -5
  48. package/build/esm/{index-05f5bfe6.js → index-2d4f87b6.js} +5 -5
  49. package/build/esm/{index-ea8bc2ad.js → index-306b36c5.js} +1 -1
  50. package/build/esm/{index-83b99d1d.js → index-313652bc.js} +4 -4
  51. package/build/esm/{index-ad17e884.js → index-31daca51.js} +1 -1
  52. package/build/esm/{index-2f7c4dd7.js → index-31e253b4.js} +64 -64
  53. package/build/esm/{index-6ef77de2.js → index-32f82e55.js} +39 -39
  54. package/build/esm/{index-8b76d56d.js → index-34427fcc.js} +1 -1
  55. package/build/esm/{index-f895c049.js → index-34587f8a.js} +21 -21
  56. package/build/esm/{index-2d516364.js → index-34bb6263.js} +79 -79
  57. package/build/esm/{index-316583e5.js → index-365cb1ac.js} +2 -2
  58. package/build/esm/{index-eff408f7.js → index-3844a936.js} +1 -1
  59. package/build/esm/{index-51ceb1ff.js → index-390db5dc.js} +3 -3
  60. package/build/esm/{index-a081a978.js → index-39ad0167.js} +1 -1
  61. package/build/esm/{index-9541ffab.js → index-3a24b684.js} +7 -7
  62. package/build/esm/{index-f21c3c16.js → index-3a8e4614.js} +1 -1
  63. package/build/esm/{index-e6cf6bec.js → index-3b340ae8.js} +2 -2
  64. package/build/esm/{index-11bbe9f7.js → index-3c429714.js} +1 -1
  65. package/build/esm/{index-23fec8e2.js → index-3d4eed51.js} +1 -1
  66. package/build/esm/{index-8edb2462.js → index-415bd6e4.js} +1 -1
  67. package/build/esm/{index-5980cc8b.js → index-41bc3483.js} +1 -1
  68. package/build/esm/{index-3dcba9b1.js → index-44167bdd.js} +2 -2
  69. package/build/esm/{index-f5037fe7.js → index-45822b55.js} +62 -62
  70. package/build/esm/{index-e27cb1a3.js → index-47573791.js} +1 -1
  71. package/build/esm/{index-f1ab7f1d.js → index-4881b4d5.js} +1 -1
  72. package/build/esm/{index-3e9d3761.js → index-48ace8fe.js} +1 -1
  73. package/build/esm/{index-0502f288.js → index-496dda6a.js} +2 -2
  74. package/build/esm/{index-733097c0.js → index-4af347b0.js} +18 -18
  75. package/build/esm/{index-809a5629.js → index-4b1b1b33.js} +6 -6
  76. package/build/esm/{index-3043eb72.js → index-4cdfa583.js} +2 -2
  77. package/build/esm/{index-8e0c4345.js → index-4d632a6c.js} +1 -1
  78. package/build/esm/{index-10b73bff.js → index-4ea2ee98.js} +24 -24
  79. package/build/esm/{index-8c328724.js → index-4f2f8125.js} +2 -2
  80. package/build/esm/{index-9b89bf44.js → index-5023cb6b.js} +7 -5
  81. package/build/esm/{index-12888faf.js → index-516e85f5.js} +1 -1
  82. package/build/esm/{index-81b8012e.js → index-51d67478.js} +1 -1
  83. package/build/esm/{index-ae3d63fb.js → index-5274fb8b.js} +2 -2
  84. package/build/esm/{index-9ed972fe.js → index-52eecc30.js} +64 -64
  85. package/build/esm/{index-a14aefb2.js → index-5385dcdb.js} +1 -1
  86. package/build/esm/{index-d30eff60.js → index-53f66638.js} +1 -1
  87. package/build/esm/{index-19162913.js → index-53ff8fc2.js} +15 -15
  88. package/build/esm/{index-4d770354.js → index-54103f55.js} +1 -1
  89. package/build/esm/{index-d3e612a1.js → index-57861bca.js} +1 -1
  90. package/build/esm/{index-f35ee6d0.js → index-57ae7970.js} +4 -4
  91. package/build/esm/{index-22358f6b.js → index-57d68454.js} +1 -1
  92. package/build/esm/{index-ce678b4b.js → index-59cd4d79.js} +44 -44
  93. package/build/esm/{index-9f949758.js → index-5a067469.js} +4 -4
  94. package/build/esm/{index-7855b187.js → index-5b39a31d.js} +1 -1
  95. package/build/esm/{index-296a7bc8.js → index-5bfacac3.js} +3 -3
  96. package/build/esm/{index-3052a7e2.js → index-5c055212.js} +78 -78
  97. package/build/esm/{index-419be4e9.js → index-5de47102.js} +1 -1
  98. package/build/esm/{index-88d9df06.js → index-611a9701.js} +3 -3
  99. package/build/esm/{index-a0259a0c.js → index-63a4d402.js} +1 -1
  100. package/build/esm/{index-c63b9e88.js → index-646416c3.js} +1 -1
  101. package/build/esm/{index-a484d3e0.js → index-6608db71.js} +1 -1
  102. package/build/esm/{index-573fef43.js → index-661c8261.js} +2 -2
  103. package/build/esm/{index-9d17cded.js → index-68b06d12.js} +2 -2
  104. package/build/esm/{index-2e4c6386.js → index-68ffb570.js} +62 -62
  105. package/build/esm/{index-9acd4095.js → index-6a5548e7.js} +6 -6
  106. package/build/esm/{index-23a8d747.js → index-6abb4930.js} +1 -1
  107. package/build/esm/{index-c35243cd.js → index-6cd27d22.js} +5 -5
  108. package/build/esm/{index-22e46dc4.js → index-6dc1fe0f.js} +1 -1
  109. package/build/esm/{index-bde17fff.js → index-6e585218.js} +3 -3
  110. package/build/esm/{index-c6f34445.js → index-706bf54d.js} +5 -5
  111. package/build/esm/{index-bec1d20a.js → index-70a0b17f.js} +1 -1
  112. package/build/esm/{index-dc83605d.js → index-7221e84d.js} +2 -2
  113. package/build/esm/{index-4f6f6b3d.js → index-7271bb11.js} +1 -1
  114. package/build/esm/{index-f657bba9.js → index-7357a3bd.js} +1 -1
  115. package/build/esm/{index-f2aa64e6.js → index-75680c11.js} +4 -4
  116. package/build/esm/{index-f5745403.js → index-79a93386.js} +1 -1
  117. package/build/esm/{index-149aa031.js → index-79e23f74.js} +97 -97
  118. package/build/esm/{index-3c57a657.js → index-79ed4c9c.js} +1 -1
  119. package/build/esm/{index-822e2bf2.js → index-7a4033ab.js} +1 -1
  120. package/build/esm/{index-1db3905c.js → index-7ae4be9c.js} +2 -2
  121. package/build/esm/{index-72cb41b2.js → index-7b1e6019.js} +48 -48
  122. package/build/esm/{index-b24bb0df.js → index-7b694e7e.js} +3 -3
  123. package/build/esm/{index-113fbac9.js → index-7cb966d2.js} +9 -9
  124. package/build/esm/{index-3467d889.js → index-7d354a0e.js} +2 -2
  125. package/build/esm/{index-e6fae557.js → index-7eb19b3d.js} +1 -1
  126. package/build/esm/{index-3121c925.js → index-80310489.js} +2 -2
  127. package/build/esm/{index-e335890b.js → index-8895a2f4.js} +3 -3
  128. package/build/esm/{index-5b6f6351.js → index-89693b8b.js} +1 -1
  129. package/build/esm/{index-4f1207f4.js → index-89e1c025.js} +4 -4
  130. package/build/esm/{index-71f574b6.js → index-8ab803db.js} +2 -2
  131. package/build/esm/{index-7a1d9232.js → index-8d9907e5.js} +46 -46
  132. package/build/esm/{index-85190e78.js → index-8e6535b2.js} +1 -1
  133. package/build/esm/{index-53cf899e.js → index-8fbd415e.js} +1 -1
  134. package/build/esm/{index-afc612f4.js → index-8fc6b307.js} +347 -330
  135. package/build/esm/{index-3704db34.js → index-923825d4.js} +1 -1
  136. package/build/esm/{index-f0830442.js → index-92dedb44.js} +4 -4
  137. package/build/esm/{index-36633e13.js → index-9319885e.js} +3 -3
  138. package/build/esm/{index-303833e6.js → index-937a1342.js} +4 -4
  139. package/build/esm/{index-61b638fa.js → index-95686f33.js} +1 -1
  140. package/build/esm/{index-e9e732b3.js → index-95f06993.js} +3 -3
  141. package/build/esm/{index-34d973a4.js → index-9600affc.js} +1 -1
  142. package/build/esm/{index-35db171e.js → index-9613df84.js} +2 -2
  143. package/build/esm/{index-da02b659.js → index-9830c060.js} +1 -1
  144. package/build/esm/{index-659d5dc7.js → index-98ad6527.js} +7 -7
  145. package/build/esm/{index-fc722637.js → index-98bbddb5.js} +1 -1
  146. package/build/esm/{index-35a0f316.js → index-998d190f.js} +1 -1
  147. package/build/esm/{index-b0a05464.js → index-99ddea63.js} +1 -1
  148. package/build/esm/{index-28999967.js → index-9a4deebf.js} +1 -1
  149. package/build/esm/{index-3c61b73d.js → index-9a808995.js} +1 -1
  150. package/build/esm/{index-2b76821c.js → index-9ad4579f.js} +1 -1
  151. package/build/esm/{index-154090e0.js → index-9aeed434.js} +1 -1
  152. package/build/esm/{index-104bddef.js → index-9b5c7da7.js} +1 -1
  153. package/build/esm/{index-7f2e09bc.js → index-9e2efb29.js} +1 -1
  154. package/build/esm/{index-70e4bed9.js → index-9e34c446.js} +2 -2
  155. package/build/esm/{index-a03aab40.js → index-a0b5c106.js} +1 -1
  156. package/build/esm/{index-4e1dcd09.js → index-a17ba38d.js} +58 -58
  157. package/build/esm/{index-c1da39b9.js → index-a2b2670d.js} +2 -2
  158. package/build/esm/{index-62c5381f.js → index-a32a22f5.js} +1 -1
  159. package/build/esm/{index-d1ff192f.js → index-a501c8de.js} +1 -1
  160. package/build/esm/{index-b8b5d7f1.js → index-a75f00e7.js} +1 -1
  161. package/build/esm/{index-8aaba7f4.js → index-a869a887.js} +1 -1
  162. package/build/esm/{index-72ab294e.js → index-aa2bee45.js} +2 -2
  163. package/build/esm/{index-9e3defae.js → index-aa3f29bb.js} +1 -1
  164. package/build/esm/{index-8e75a5d0.js → index-ab3346da.js} +50 -50
  165. package/build/esm/{index-ec1a4cad.js → index-aea47a72.js} +2 -2
  166. package/build/esm/{index-3f8e8790.js → index-b3a27546.js} +5 -5
  167. package/build/esm/{index-46a203a2.js → index-b5ee4a15.js} +1 -1
  168. package/build/esm/{index-11826863.js → index-b767275d.js} +1 -1
  169. package/build/esm/{index-7a942d09.js → index-ba785270.js} +1 -1
  170. package/build/esm/{index-0eed3c8d.js → index-bb61ae3c.js} +17 -17
  171. package/build/esm/{index-0cf777d7.js → index-bc7fd12a.js} +2 -2
  172. package/build/esm/{index-86c74b6e.js → index-bcc37b90.js} +1 -1
  173. package/build/esm/{index-847e73f8.js → index-bd38351a.js} +8 -8
  174. package/build/esm/{index-5265b1dc.js → index-bd8e6438.js} +2 -2
  175. package/build/esm/{index-74cc0d37.js → index-bec2bc30.js} +2 -2
  176. package/build/esm/{index-91596ce5.js → index-c294125f.js} +1 -1
  177. package/build/esm/{index-4110fbe1.js → index-c32b8005.js} +1 -1
  178. package/build/esm/{index-3e8b30b7.js → index-c34e8d3e.js} +1 -1
  179. package/build/esm/{index-d0a66ca3.js → index-c395cc06.js} +1 -1
  180. package/build/esm/{index-2e7dd9f8.js → index-c3a0c6c2.js} +2 -2
  181. package/build/esm/{index-938f7a4a.js → index-c49bb246.js} +1 -1
  182. package/build/esm/{index-97298596.js → index-c572cc9f.js} +21 -21
  183. package/build/esm/{index-2ddcc8ab.js → index-c5e97a38.js} +5 -5
  184. package/build/esm/{index-348373b6.js → index-c606a476.js} +38 -38
  185. package/build/esm/{index-05da5e03.js → index-c7e73331.js} +1 -1
  186. package/build/esm/{index-fd98519a.js → index-cd1b0576.js} +6 -6
  187. package/build/esm/{index-6afab623.js → index-cf67cce2.js} +9 -9
  188. package/build/esm/{index-a46754ac.js → index-d01ff36b.js} +2 -2
  189. package/build/esm/{index-8bfecbb0.js → index-d0839c6c.js} +2 -2
  190. package/build/esm/{index-45dfa12b.js → index-d1796412.js} +1 -1
  191. package/build/esm/{index-3991b645.js → index-d25cdf0d.js} +20 -20
  192. package/build/esm/{index-258ef56a.js → index-d49add6c.js} +1 -1
  193. package/build/esm/{index-1fb0f3d7.js → index-d53c627d.js} +3 -3
  194. package/build/esm/{index-0a4b50f1.js → index-d596f19b.js} +3 -3
  195. package/build/esm/{index-09cf3118.js → index-d63e60f8.js} +5 -5
  196. package/build/esm/{index-74dc9cfe.js → index-d6693798.js} +1 -1
  197. package/build/esm/{index-fa510e26.js → index-d67986b6.js} +2 -2
  198. package/build/esm/{index-08837f34.js → index-d6b4b594.js} +3 -3
  199. package/build/esm/{index-513b91e0.js → index-d91ce0ba.js} +3 -3
  200. package/build/esm/{index-1902e0de.js → index-da81e150.js} +1 -1
  201. package/build/esm/{index-7373fc46.js → index-db37699c.js} +6 -6
  202. package/build/esm/{index-f7042e2b.js → index-dfd198cc.js} +13 -13
  203. package/build/esm/{index-c4438314.js → index-e07a00b1.js} +2 -2
  204. package/build/esm/{index-19d506b7.js → index-e1cf5364.js} +1 -1
  205. package/build/esm/{index-f8f37666.js → index-e29e65ff.js} +3 -3
  206. package/build/esm/{index-565b7bb6.js → index-e6b43861.js} +101 -101
  207. package/build/esm/{index-bd1b74b7.js → index-e84e2aed.js} +1 -1
  208. package/build/esm/{index-9d5ed510.js → index-ebdb41ae.js} +20 -20
  209. package/build/esm/{index-a97b9b50.js → index-ec0b0d53.js} +1 -1
  210. package/build/esm/{index-463eb53d.js → index-ed413116.js} +1 -1
  211. package/build/esm/{index-93c152fb.js → index-efeb24e6.js} +1 -1
  212. package/build/esm/{index-67fc2206.js → index-f098d84c.js} +1 -1
  213. package/build/esm/{index-f4d7f45d.js → index-f0fe5a93.js} +1 -1
  214. package/build/esm/{index-04092e75.js → index-f13f21e3.js} +3 -3
  215. package/build/esm/{index-50bea4c8.js → index-f1cfcabd.js} +1 -1
  216. package/build/esm/{index-9b1c7303.js → index-f28ff9cd.js} +4 -4
  217. package/build/esm/{index-36efacb8.js → index-f30e5e00.js} +1 -1
  218. package/build/esm/{index-00ff04fb.js → index-f39c3091.js} +1 -1
  219. package/build/esm/{index-117971a1.js → index-f5253c73.js} +2 -2
  220. package/build/esm/{index-e27f7aae.js → index-f5575e42.js} +4 -4
  221. package/build/esm/{index-66b84246.js → index-f59ef0ee.js} +4 -4
  222. package/build/esm/{index-a3960f11.js → index-f6bdf762.js} +49 -49
  223. package/build/esm/{index-0294194e.js → index-f7d53403.js} +1 -1
  224. package/build/esm/{index-8ca09272.js → index-f92cc18b.js} +1 -1
  225. package/build/esm/{index-f83ebb1f.js → index-fa886346.js} +2 -2
  226. package/build/esm/{index-d8914077.js → index-fade9a3e.js} +1 -1
  227. package/build/esm/{index-e8f5d8f3.js → index-fb1d8879.js} +2 -2
  228. package/build/esm/{index-c11476d8.js → index-fb7e2786.js} +1 -1
  229. package/build/esm/{index-8b12f009.js → index-fbb52a3a.js} +1 -1
  230. package/build/esm/{index-ca7ce84d.js → index-fd52ed5e.js} +1 -1
  231. package/build/esm/{index-07235ca3.js → index-fd82d8dd.js} +3 -3
  232. package/build/esm/{index-7b7ec9e2.js → index-fdcbd64d.js} +1 -1
  233. package/build/esm/{index-86be55bd.js → index-febdd4cf.js} +1 -1
  234. package/build/esm/{index-9fa54e56.js → index-ffa1c545.js} +1 -1
  235. package/build/esm/index.js +1 -1
  236. package/build/esm/{index.module-8885e2f2.js → index.module-224978cc.js} +1 -1
  237. package/build/esm/{index.module-cfa23ad0.js → index.module-43931825.js} +1 -1
  238. package/build/esm/{index.module-1f17577c.js → index.module-4b37bb46.js} +1 -1
  239. package/build/esm/{index.module-af298475.js → index.module-4b5de0f8.js} +1 -1
  240. package/build/esm/{index.module-fbf74250.js → index.module-4e6ef443.js} +1 -1
  241. package/build/esm/{index.module-ac8e57a8.js → index.module-5664c352.js} +1 -1
  242. package/build/esm/{index.module-76475c04.js → index.module-ac37976b.js} +1 -1
  243. package/build/esm/{index.module-69db7d2a.js → index.module-bcc5ebe9.js} +1 -1
  244. package/build/esm/{index.module-63971d7c.js → index.module-bcd9b7eb.js} +1 -1
  245. package/build/esm/{index.module-e4da4e93.js → index.module-d0224b60.js} +1 -1
  246. package/build/esm/{index.module-4e3644d1.js → index.module-d1fe42d8.js} +1 -1
  247. package/build/esm/{index.module-89de7d11.js → index.module-f90f112f.js} +1 -1
  248. package/build/esm/{react-json-viewer-ac98a88c.js → react-json-viewer-21d65f62.js} +1 -1
  249. package/build/types/web-planner-react/src/components/Product/Product/catalog/Components/DecisionAnalyzer/index.d.ts.map +1 -1
  250. package/build/types/web-planner-react/src/model/Palette/PaletteViewHandler.d.ts +2 -2
  251. package/build/types/web-planner-react/src/model/Palette/PaletteViewHandler.d.ts.map +1 -1
  252. package/build/umd/2197.diva-web-planner-react.umd.min.js +1 -1
  253. package/build/umd/7068.diva-web-planner-react.umd.min.js +1 -1
  254. package/build/umd/9874.diva-web-planner-react.umd.min.js +1 -1
  255. package/build/umd/diva-web-planner-react.umd.min.js +1 -1
  256. package/build/umd/report.html +1 -1
  257. package/package.json +7 -7
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see 7068.diva-web-planner-react.umd.min.js.LICENSE.txt */
2
- "use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[7068,6921,3222],{57068:(e,n,t)=>{t.r(n),t.d(n,{default:()=>V});var r=t(80248),o=t(34988),i=t(88291),a=t(87363),l=t(44997),s=t(97078),c=t(75033),d=t(70697),u=t(70685),p=t(43233),h=t(82714),f=t(62197),x=t(8350),b=t(35631),m=t(19631),j=t(83055),v=t(93379),g=t.n(v),y=t(7795),O=t.n(y),w=t(90569),S=t.n(w),P=t(3565),C=t.n(P),k=t(19216),D=t.n(k),A=t(44589),N=t.n(A),_=t(25139),Z={};Z.styleTagTransform=N(),Z.setAttributes=C(),Z.insert=S().bind(null,"head"),Z.domAPI=O(),Z.insertStyleElement=D();g()(_.ZP,Z);_.ZP&&_.ZP.locals&&_.ZP.locals;var E=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const V=function ToolContainer(e){(0,i.Z)(e);var n=(0,a.useState)(436),t=(0,o.Z)(n,2),r=t[0],v=t[1],g=(0,j.NP)(),y=(0,a.useState)(!1),O=(0,o.Z)(y,2),w=O[0],S=O[1];(0,a.useEffect)((function(){r<300&&!w&&g.uiState.setActiveCatalogSection("3D/2D")}),[r,w]);var P=void 0,C={onMouseDown:function handler(e){var n=r,t=(e.pageX,e.pageY);function onMouseMove(e){v(n+t-e.pageY)}S(!0);document.body.addEventListener("mousemove",onMouseMove),document.body.addEventListener("mouseup",(function onMouseUp(){S(!1),document.body.removeEventListener("mousemove",onMouseMove)}),{once:!0})}},k="";switch(g.uiState.activeCatalogSection){case"Options":P=(0,E.jsx)(l.default,_objectSpread(_objectSpread({},C),{},{style:{zIndex:700}}));break;case"PartList":P=(0,E.jsx)(s.default,_objectSpread(_objectSpread({},C),{},{className:k}));break;case"DecisionAnalyzer":P=(0,E.jsx)(f.default,_objectSpread(_objectSpread({},C),{},{className:k}));break;case"Artikelübersicht":P=(0,E.jsx)(d.default,_objectSpread(_objectSpread({},C),{},{className:k}));break;case"SVGübersicht":P=(0,E.jsx)(u.default,_objectSpread(_objectSpread({},C),{},{className:k}));break;case"ekText":P=(0,E.jsx)(p.default,_objectSpread(_objectSpread({},C),{},{className:k}));break;case"CatalogMakeup":P=(0,E.jsx)(h.default,_objectSpread(_objectSpread({},C),{},{className:k}));break;case"RTVAnalyzer":P=(0,E.jsx)(x.default,_objectSpread(_objectSpread({},C),{},{className:k}));break;case"J3DEditor":P=(0,E.jsx)(b.default,_objectSpread(_objectSpread({},C),{},{className:k}));break;case"PropertiesEditor":P=(0,E.jsx)(m.default,_objectSpread(_objectSpread({},C),{},{className:k}));break;case"MaskEditor":P=(0,E.jsx)(c.default,_objectSpread(_objectSpread({},C),{},{className:k}))}return(0,E.jsx)("div",{className:_.YS,style:{height:r},children:P})}},16921:(e,n,t)=>{t.r(n),t.d(n,{default:()=>D});var r=t(84658),o=t(34988),i=t(50747),a=t.n(i),l=t(87363),s=t(9420),c=t(83055),d=t(1463),u=t.n(d),p=t(93379),h=t.n(p),f=t(7795),x=t.n(f),b=t(90569),m=t.n(b),j=t(3565),v=t.n(j),g=t(19216),y=t.n(g),O=t(44589),w=t.n(O),S=t(89144),P={};P.styleTagTransform=w(),P.setAttributes=v(),P.insert=m().bind(null,"head"),P.domAPI=x(),P.insertStyleElement=y();h()(S.ZP,P);S.ZP&&S.ZP.locals&&S.ZP.locals;var C=t(95588),k=t(47514);const D=(0,s.Pi)((function JsonEditor(e){var n=e.json,t=(e.plannerArticles,e.curBox),i=e.divaArticles,s=(0,c.NP)(),d=(0,l.useRef)(null),p=(0,l.useRef)(null),h=(0,l.useState)(null!=n?n:{}),f=(0,o.Z)(h,2),x=f[0],b=f[1],m=(0,l.useState)(!0),j=(0,o.Z)(m,2),v=j[0],g=j[1],y=(0,l.useState)([]),O=(0,o.Z)(y,2),w=O[0],P=O[1],D=i[t],A={mode:"code",onChange:function onChange(){try{var e=p.current,n=(e.get(),e.validate());g(n)}catch(e){return void g(!1)}}};(0,l.useEffect)((function(){b(n)})),(0,l.useEffect)((function(){d.current&&(p.current||(p.current=new(u())(d.current,A)),p.current&&p.current.set(x))}),[x]);var N=function(){var e=(0,r.Z)(a().mark((function _callee(){var e;return a().wrap((function _callee$(n){for(;;)switch(n.prev=n.next){case 0:if((e=p.current).get()&&0!==Object.keys(e.get()).length){n.next=4;break}return alert("Cannot save empty value"),n.abrupt("return");case 4:return D.catalogArticle.modifiedJ3D=e.get(),D.resetShelfPlanner(),n.next=8,D.updateShelfPlannerState({});case 8:s.paletteViewHandler.updateCurPaletteData(!1),setModifiedInfo(),alert("Saved");case 11:case"end":return n.stop()}}),_callee)})));return function onClickSave(){return e.apply(this,arguments)}}();function setModifiedInfo(){var e,n=null===(e=s.divaWebPlanner.getCatalogData())||void 0===e?void 0:e.allCatalogArticles,t=[];for(var r in n)n[r].catalogArticle.modifiedJ3D&&t.push({articleCodex:r,j3d:JSON.stringify(n[r].catalogArticle.modifiedJ3D)});P(t)}return(0,k.jsxs)("div",{className:S.YS,children:[(0,k.jsx)("div",{ref:d,id:"jsoneditor",style:{width:"90%",height:"100%"}}),(0,k.jsxs)("div",{className:S.IU,children:[(0,k.jsx)("button",{className:S.LI,disabled:!v,onClick:function onClick(){return N()},children:"Save"}),(0,k.jsx)("button",{className:S.LI,onClick:function onClick(){return function onClickExport(){if(w&&0!==w.length)for(var e=0;e<w.length;e++)C.ZP.downloadStringAsTxtFile(w[e].j3d,"text/plain",w[e].articleCodex+".txt");else alert("No modified Article found")}()},children:"Export modified J3D"}),(0,k.jsxs)("div",{children:[(0,k.jsx)("h5",{children:"Modified Articles"}),w.map((function(e,n){return(0,k.jsx)("p",{className:S.lI,children:e.articleCodex},n)}))]})]})]})}))},3958:(e,n,t)=>{t.r(n),t.d(n,{default:()=>m});var r=t(80248),o=t(84658),i=t(34988),a=t(72874),l=t(50747),s=t.n(l),c=t(87363),d=t(9420),u=t(85399),p=t(65515),h=t.n(p),f=t(83055),x=t(47514),b=["plannerArticles","curBox","isExpanded"];function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const m=(0,d.Pi)((function SVGOverview(e){var n=e.plannerArticles,t=e.curBox,r=(e.isExpanded,(0,a.Z)(e,b)),l=(0,f.NP)(),d=(0,c.useState)("None"),p=(0,i.Z)(d,2),m=p[0],j=p[1],v=l.divaWebPlanner.getDivaArticles();if(!v)return(0,x.jsx)(x.Fragment,{});var g=Object.values(v).filter((function(e){return e.hasCatalogPlannerArticle})),y=n[t],O=g[t],w="",S="",P=[];if(void 0===y)return(0,x.jsx)(x.Fragment,{});if(y.topSvgsWithFormula){var C;null===(C=O.plannerData)||void 0===C||C.curSVG;var k=y.topSvgsWithFormula.find((function(e){var n;return e.SVG===(null===(n=O.plannerData)||void 0===n?void 0:n.curSVG)}));if(k){for(var D=0;D<y.topSvgsWithFormula.length;D++)P.push(y.topSvgsWithFormula[D]);S=O.CatalogData.getCatImageURL(null==k?void 0:k.SVG,""),w=k.SVG,null==k||k.JsFormula}}if(S||(S=O.CatalogData.getCatImageURL(y.topSvg,""),P.push({SVG:S,Layer:y.topLayer,AVC:y.topAVC,AVO:y.topAVO,AVU:y.topAVU,AVN:y.topAVN,AVS:y.topAVS,HasAVL:y.topHasAVL,HasAVR:y.topHasAVR,JsFormula:""})),""!==S){var A=function(){var e=(0,o.Z)(s().mark((function _callee(e){var n;return s().wrap((function _callee$(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fetch(e);case 2:return n=t.sent,t.t0=j,t.next=6,n.text();case 6:t.t1=t.sent,(0,t.t0)(t.t1);case 8:case"end":return t.stop()}}),_callee)})));return function getSVG(n){return e.apply(this,arguments)}}();A(S)}else"None"!=m&&j("None");return(0,x.jsx)("div",_objectSpread(_objectSpread({},r),{},{className:h()(u.EU),children:(0,x.jsxs)("table",{className:u.Kz,children:[(0,x.jsx)("thead",{children:(0,x.jsxs)("tr",{className:u.$Q,children:[(0,x.jsx)("th",{children:"Nr"}),(0,x.jsx)("th",{children:"SVG"}),(0,x.jsx)("th",{children:"Layer"}),(0,x.jsx)("th",{children:"AVC"}),(0,x.jsx)("th",{children:"AVO"}),(0,x.jsx)("th",{children:"AVU "}),(0,x.jsx)("th",{children:"AVN "}),(0,x.jsx)("th",{children:"AVS "}),(0,x.jsx)("th",{children:"HasAVL "}),(0,x.jsx)("th",{children:"HasAVR "}),(0,x.jsx)("th",{children:"JSFormula "})]})}),(0,x.jsx)("tbody",{children:Object.values(P).map((function(e,n){return(0,x.jsxs)("tr",{className:e.SVG===w?u.hv:void 0,children:[(0,x.jsx)("th",{children:n+1}),(0,x.jsx)("th",{children:(0,x.jsx)("img",{src:O.CatalogData.getCatImageURL(e.SVG,"")})}),(0,x.jsx)("th",{children:e.Layer}),(0,x.jsx)("th",{children:e.AVC}),(0,x.jsx)("th",{children:e.AVO}),(0,x.jsx)("th",{children:e.AVU}),(0,x.jsx)("th",{children:e.AVN}),(0,x.jsx)("th",{children:e.AVS}),(0,x.jsx)("th",{children:e.HasAVL}),(0,x.jsx)("th",{children:e.HasAVR}),(0,x.jsx)("th",{children:e.JsFormula})]},e.JsFormula)}))})]})}))}))},31482:(e,n,t)=>{t.r(n),t.d(n,{default:()=>m});var r=t(80248),o=t(84658),i=t(34988),a=t(72874),l=t(50747),s=t.n(l),c=t(87363),d=t(9420),u=t(85399),p=t(65515),h=t.n(p),f=t(83055),x=t(47514),b=["plannerArticles","curBox","isExpanded"];function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const m=(0,d.Pi)((function SVGSourceViewer(e){var n=e.plannerArticles,t=e.curBox,r=(e.isExpanded,(0,a.Z)(e,b)),l=(0,f.NP)(),d=(0,c.useState)("None"),p=(0,i.Z)(d,2),m=p[0],j=p[1],v=l.divaWebPlanner.getDivaArticles();if(!v)return(0,x.jsx)(x.Fragment,{});var g=Object.values(v).filter((function(e){return e.hasCatalogPlannerArticle})),y=n[t],O=g[t],w="";if(void 0===y)return(0,x.jsx)(x.Fragment,{});if(y.topSvgsWithFormula){var S;null===(S=O.plannerData)||void 0===S||S.curSVG;var P=y.topSvgsWithFormula.find((function(e){var n;return e.SVG===(null===(n=O.plannerData)||void 0===n?void 0:n.curSVG)}));null!=P&&P.SVG&&(w=O.CatalogData.getCatImageURL(P.SVG,""))}if(w||(w=O.CatalogData.getCatImageURL(y.topSvg,"")),""!==w){var C=function(){var e=(0,o.Z)(s().mark((function _callee(e){var n;return s().wrap((function _callee$(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fetch(e);case 2:return n=t.sent,t.t0=j,t.next=6,n.text();case 6:t.t1=t.sent,(0,t.t0)(t.t1);case 8:case"end":return t.stop()}}),_callee)})));return function getSVG(n){return e.apply(this,arguments)}}();C(w)}else"None"!=m&&j("None");return(0,x.jsx)("div",_objectSpread(_objectSpread({},r),{},{className:h()(u.EU),children:(0,x.jsx)("textarea",{readOnly:!0,value:m})}))}))},82334:(e,n,t)=>{t.r(n),t.d(n,{default:()=>l});var r=t(9420),o=(t(87363),t(3958)),i=t(31482),a=t(47514);const l=(0,r.Pi)((function index(e){if("SVGOVERVIEW"===e.selectedJson)var n=(0,a.jsx)(o.default,{plannerArticles:e.plannerArticles,curBox:e.curBox,isExpanded:e.isExpanded});else n=(0,a.jsx)(i.default,{plannerArticles:e.plannerArticles,curBox:e.curBox,isExpanded:e.isExpanded});return(0,a.jsx)("div",{children:n})}))},73812:(e,n,t)=>{t.r(n),t.d(n,{default:()=>h});var r=t(34988),o=t(65515),i=t.n(o),a=t(87363),l=t(10304),s=t(20196),c=t(30913),d=t(83055),u=t(47514),p=["IMAGE","TEXT","DROPDOWN_TEXT","TOGGLE_NAME","TOGGLE","DROPDOWN_IMAGE","GAL_SMALL_GROUP_DROPDOWN","NUMBER","GAL_BIG","GAL_GROUP_DROPDOWN","TEXTBOX","GAL_TEXT","GAL_BIG_TEXT","GAL_SMALL_TEXT"];const h=function LayoutSelection(e){var n=e.option,t=(0,a.useState)(n.layout),o=(0,r.Z)(t,1)[0],h=(0,a.useState)(),f=(0,r.Z)(h,2),x=f[0],b=f[1],m=(0,d.NP)();(0,a.useEffect)((function(){n.layout=null!=x?x:o,m.paletteViewHandler.updateCurPaletteData(!0)}),[x]),(0,a.useEffect)((function(){return function(){n.layout=o,m.paletteViewHandler.updateCurPaletteData(!0)}}),[]);var j=(0,u.jsx)(c.default,{onClick:function onClick(){return b(void 0)},open:!1,iconAsDelete:!!x});return(0,u.jsxs)("div",{className:s.YS,children:["Layout:",(0,u.jsx)(l.Z,{className:i()(s.oF),controlClassName:s.x_,options:p,value:x,onChange:function onChange(e){return b(e.value)},placeholder:o,arrowClosed:j,arrowOpen:j})]})}},27810:(e,n,t)=>{t.r(n),t.d(n,{default:()=>d});var r=t(65515),o=t.n(r),i=t(9420),a=(t(87363),t(10304)),l=t(20196),s=t(30913),c=t(47514);const d=(0,i.Pi)((function OptionsSelector(e){var n=e.options,t=e.optionState,r=(0,c.jsx)(s.default,{onClick:function onClick(){return t[1](void 0)},open:!1,iconAsDelete:!!t[0]});return(0,c.jsx)("div",{className:l.YS,children:(0,c.jsx)(a.Z,{className:o()(l.oF),controlClassName:l.x_,options:n.map((function(e){return{label:e.name,value:e.codex}})),value:t[0],onChange:function onChange(e){return t[1](e.value)},placeholder:"Option",arrowClosed:r,arrowOpen:r})})}))},82714:(e,n,t)=>{t.r(n),t.d(n,{default:()=>_});var r=t(80248),o=t(84658),i=t(34988),a=t(50747),l=t.n(a),s=t(65515),c=t.n(s),d=t(9420),u=t(83055),p=t(87363),h=t(93379),f=t.n(h),x=t(7795),b=t.n(x),m=t(90569),j=t.n(m),v=t(3565),g=t.n(v),y=t(19216),O=t.n(y),w=t(44589),S=t.n(w),P=t(7046),C={};C.styleTagTransform=S(),C.setAttributes=g(),C.insert=j().bind(null,"head"),C.domAPI=b(),C.insertStyleElement=O();f()(P.ZP,C);P.ZP&&P.ZP.locals&&P.ZP.locals;var k=t(27810),D=t(73812),A=t(88683),N=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const _=(0,d.Pi)((function CatalogMakeup(e){var n=(0,u.NP)(),t=(0,p.useState)([]),r=(0,i.Z)(t,2),a=r[0],s=r[1],d=(0,p.useState)(),h=(0,i.Z)(d,2),f=h[0],x=h[1],b=null==a?void 0:a.find((function(e){return e.codex===f}));(0,p.useEffect)((function(){var e=n.divaWebPlanner.actSet(),t=null==e?void 0:e.CatalogData.getOptions();null!=t&&t.length&&s(t)}),[n.settingsState.configChanged]),(0,p.useEffect)((function(){var e=null==a?void 0:a.find((function(e){return e.codex===f}));e&&m(e)}),[f]);var m=function(){var e=(0,o.Z)(l().mark((function _callee(e){var t;return l().wrap((function _callee$(r){for(;;)switch(r.prev=r.next){case 0:if(!(t=n.configuratorStructureHandler.getFirstConfigStepByOptionCodex(e.codex))){r.next=7;break}return n.configuratorStructureHandler.navigateToConfigStepByConfigStepKey(null==t?void 0:t.key),n.updateConfiguratorState(!0),r.next=6,A.DivaUtils.Sleep(100);case 6:n.paletteViewHandler.scrollToConfigStepByPosNr(t.posNr,!0);case 7:case"end":return r.stop()}}),_callee)})));return function naviagateToOption(n){return e.apply(this,arguments)}}();return(0,N.jsx)("div",_objectSpread(_objectSpread({},e),{},{className:c()(e.className,P.fm),children:(0,N.jsxs)("div",{className:P.YS,children:[(0,N.jsx)("a",{className:P.Fs,children:"CatalogMakeup"}),(0,N.jsxs)("div",{className:P.nC,children:[(0,N.jsx)(k.default,{options:a,optionState:[f,x]}),b&&(0,N.jsx)(D.default,{option:b},b.codex)]})]})}))}))},13222:(e,n,t)=>{t.r(n),t.d(n,{default:()=>o});t(87363);var r=t(47514);const o=function DecisionVisualization(e){var n=e.decision,t=function renderIfDefined(e,n){return null!=e&&""!==e?(0,r.jsxs)("p",{children:[(0,r.jsxs)("strong",{children:[n,":"]})," ",Array.isArray(e)?e.join(", "):e]}):null};return(0,r.jsxs)("div",{style:{userSelect:"text"},children:[(0,r.jsx)("h2",{children:"Decision Details"}),t(n.Number,"Number"),t(n.Type,"Type"),t(n.Prio,"Priority"),t(n.Options,"Options"),t(n.Enabled?"Yes":"No","Enabled"),t(n.DecisionNumber,"Decision Number"),t(n.ActiveCombination,"Active Combination"),t(n.DisableHistory,"Disabled History"),n.DOC&&n.DOC.length>0&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("h3",{children:"Decision Option Combinations:"}),n.DOC.map((function(e,n){var o;return(0,r.jsxs)("div",{className:"decision-option-combination",children:[t(n,"doc Index"),t(e.JsFormula,"Formula"),Object.values(null!==(o=e.Row)&&void 0!==o?o:{}).map((function(e){return(0,r.jsx)(r.Fragment,{children:t(e.join(";"),"Doc Row")})})),e.DA&&e.DA.length>0&&(0,r.jsxs)("div",{children:[(0,r.jsx)("h6",{children:"Decision Actions:"}),(0,r.jsx)("ul",{children:e.DA.map((function(e,n){return(0,r.jsxs)("li",{children:[t(e.Type,"Action Type"),t(e.FeatureRef,"Feature Ref"),t(e.OptionCodex,"OptionCodex"),t(e.OptionRef,"OptionRef"),t(e.OptionRefCodex,"OptionRefCodex"),t(e.OptionValueRefCodex,"OptionValueRefCodex"),t(e.DecisionNr,"DecisionNr")]},n)}))})]}),t(e.ValidOptionValues,"Valid Option Values"),t(e.ValidOptions,"Valid Options"),t(e.RefLevel,"Ref Level")]},n)}))]}),t(n.DisableHistory,"Disabled History"),(0,r.jsx)("strong",{children:"Is Valid DOC:"})," ",n.DOC&&n.DOC.length>0?"Yes":"No"]})}},62197:(e,n,t)=>{t.r(n),t.d(n,{default:()=>E});var r=t(80248),o=t(12952),i=t(84658),a=t(34988),l=t(88291),s=t(50747),c=t.n(s),d=t(87363),u=t(51203),p=t(93379),h=t.n(p),f=t(7795),x=t.n(f),b=t(90569),m=t.n(b),j=t(3565),v=t.n(j),g=t(19216),y=t.n(g),O=t(44589),w=t.n(O),S=t(33981),P={};P.styleTagTransform=w(),P.setAttributes=v(),P.insert=m().bind(null,"head"),P.domAPI=x(),P.insertStyleElement=y();h()(S.ZP,P);S.ZP&&S.ZP.locals&&S.ZP.locals;var C=t(83055),k=t(9420),D=t(65515),A=t.n(D),N=t(88683),_=(t(76839),t(13222)),Z=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const E=(0,k.Pi)((function DecisionAnalyzer(e){var n=Object.assign({},((0,l.Z)(e),e)),t=(0,C.NP)(),r=t.divaWebPlanner.getDivaArticles(),s=(0,d.useState)(!1),p=(0,a.Z)(s,2),h=p[0],f=p[1];(0,d.useEffect)((function(){var e=function(){var e=(0,i.Z)(c().mark((function _callee(){return c().wrap((function _callee$(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,N.DivaUtils.Sleep(1e3);case 2:f(!h);case 3:case"end":return e.stop()}}),_callee)})));return function asyncFunct(){return e.apply(this,arguments)}}();e()}),[t.tabGroupState.allTabGroups]);var x=Object.values(null!=r?r:{}).find((function(e){return 1==e.posNr})),b=(0,d.useState)(),m=(0,a.Z)(b,2),j=m[0],v=m[1],g=(0,d.useState)(),y=(0,a.Z)(g,2),O=y[0],w=y[1];if(!x)return(0,Z.jsx)(Z.Fragment,{});var P=x.decisionDebugStacks[0].stack.length,k=(0,o.Z)(Array(P).keys()),D=x.decisionDebugStacks.map((function(e){return e.stack.map((function(e){var n,t;return _objectSpread(_objectSpread({},e),{},{bold:!(null===(n=e.decision.Options)||void 0===n||!n.includes("OPT"+O))||(null===(t=e.decision.DOC)||void 0===t?void 0:t.find((function(e){var n;return null===(n=e.DA)||void 0===n?void 0:n.find((function(e){return e.OptionCodex==O}))})))})}))}));return(0,Z.jsxs)("div",_objectSpread(_objectSpread({},n),{},{className:A()(n.className,S.fm,t.uiState.configSettingsIsExpanded?u.NF:void 0),style:{zIndex:800},children:[(0,Z.jsxs)("a",{className:S.Fs,children:["Decision history",(0,Z.jsx)("input",{value:O,onChange:function onChange(e){return w(e.target.value)},placeholder:"filter option ohne OPT"})]}),(0,Z.jsxs)("div",{children:[(0,Z.jsxs)("table",{className:S.Kz,children:[(0,Z.jsx)("thead",{children:(0,Z.jsx)("tr",{className:S.$Q,children:D.map((function(e,n){var t="";for(var r in x.decisionDebugStacks[n].variantValues)t=t+r+": "+x.decisionDebugStacks[n].variantValues[r]+"\n";return(0,Z.jsx)("th",{children:t},n)}))})}),(0,Z.jsx)("tbody",{children:k.map((function(e,n){return(0,Z.jsx)("tr",{className:S.$Q,children:D.map((function(e,t){var r,o;return(0,Z.jsx)("th",{onClick:function onClick(){return function onClick(e,n){e==(null==j?void 0:j.Number)?v(void 0):v(n)}(e[n].nr,e[n].decision)},children:e[n].bold?(0,Z.jsx)("strong",{children:null===(r=e[n])||void 0===r?void 0:r.text}):null===(o=e[n])||void 0===o?void 0:o.text},t)}))},n)}))})]}),j&&(0,Z.jsx)("div",{className:S.EC,children:(0,Z.jsx)(_.default,{decision:j})})]})]}))}))},43233:(e,n,t)=>{t.r(n),t.d(n,{default:()=>N});var r=t(80248),o=t(84658),i=t(34988),a=t(72874),l=t(50747),s=t.n(l),c=t(65515),d=t.n(c),u=t(9420),p=t(87363),h=t(83055),f=t(93379),x=t.n(f),b=t(7795),m=t.n(b),j=t(90569),v=t.n(j),g=t(3565),y=t.n(g),O=t(19216),w=t.n(O),S=t(44589),P=t.n(S),C=t(13689),k={};k.styleTagTransform=P(),k.setAttributes=y(),k.insert=v().bind(null,"head"),k.domAPI=m(),k.insertStyleElement=w();x()(C.ZP,k);C.ZP&&C.ZP.locals&&C.ZP.locals;var D=t(47514),A=["onMouseDown"];function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const N=(0,u.Pi)((function EkTextViewer(e){var n=e.onMouseDown,t=(0,a.Z)(e,A),r=(0,h.NP)(),l=(0,p.useState)(""),c=(0,i.Z)(l,2),u=c[0],f=c[1],x=(0,p.useState)([]),b=(0,i.Z)(x,2),m=b[0],j=b[1],v=function(){var e=(0,o.Z)(s().mark((function _callee(){var e,n,t;return s().wrap((function _callee$(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,r.divaWebPlanner.getBasketDataWithEkText();case 2:if(t=o.sent){o.next=5;break}return o.abrupt("return");case 5:f(null!==(e=t.getEKText())&&void 0!==e?e:""),j(null!==(n=t.SAPOrderLines)&&void 0!==n?n:[]);case 7:case"end":return o.stop()}}),_callee)})));return function getEkText(){return e.apply(this,arguments)}}();return(0,p.useEffect)((function(){v()}),[r.settingsState.configChanged]),(0,D.jsx)("div",_objectSpread(_objectSpread({},t),{},{className:d()(t.className,C.fm),children:(0,D.jsxs)("div",{className:C.YS,children:[(0,D.jsx)("a",{className:C.Fs,onMouseDown:n,children:"EkText Übersicht"}),!!m.length&&(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)("h3",{children:"SapOrderLines"}),(0,D.jsxs)("table",{className:C.Kz,children:[(0,D.jsx)("thead",{children:(0,D.jsxs)("tr",{className:C.$Q,children:[(0,D.jsx)("th",{children:"Name"}),(0,D.jsx)("th",{children:"EkText"}),(0,D.jsx)("th",{children:"Preis"}),(0,D.jsx)("th",{children:"Artikle Nr."}),(0,D.jsx)("th",{children:"Retail Artikle Nr."}),(0,D.jsx)("th",{children:"Prefix"}),(0,D.jsx)("th",{children:"Menge"}),(0,D.jsx)("th",{children:"PosNr"})]})}),(0,D.jsx)("tbody",{children:m.map((function(e,n){var t;return(0,D.jsxs)("tr",{className:C.$Q,children:[(0,D.jsxs)("th",{children:[" ",e.Name]}),e.OrderText?(0,D.jsx)("th",{dangerouslySetInnerHTML:{__html:e.OrderText.replace(/\r\n/g,"<br>")}}):(0,D.jsx)("th",{}),(0,D.jsxs)("th",{children:[" ",null!==(t=e.Price)&&void 0!==t?t:0," "]}),(0,D.jsxs)("th",{children:[" ",e.ArticleNr," "]}),(0,D.jsxs)("th",{children:[" ",e.RetailArticleName," "]}),(0,D.jsxs)("th",{children:[e.ArticleNrPrefix," "]}),(0,D.jsxs)("th",{children:[e.Quantity," "]}),(0,D.jsx)("th",{children:e.PosNr})]},n)}))})]})]}),(0,D.jsxs)("div",{children:[(0,D.jsx)("button",{onClick:function onClick(){var e;return null===(e=navigator.clipboard)||void 0===e?void 0:e.writeText(u)},children:"kopieren"}),(0,D.jsx)("div",{className:C.nG,dangerouslySetInnerHTML:{__html:u.replace(/\r\n/g,"<br>")}})]})]})}))}))},35631:(e,n,t)=>{t.r(n),t.d(n,{default:()=>s});var r=t(80248),o=t(9420),i=(t(87363),t(72072)),a=t(16921),l=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const s=(0,o.Pi)((function J3DEditor(e){return(0,l.jsx)(i.default,_objectSpread(_objectSpread({},e),{},{className:e.className,style:{userSelect:"text"},ChildComponent:a.default,settings:[{key:"J3D",name:"J3D Editor"}],title:"Artikel Übersicht"}))}))},70697:(e,n,t)=>{t.r(n),t.d(n,{default:()=>Z});var r=t(80248),o=t(84658),i=t(34988),a=t(72874),l=t(50747),s=t.n(l),c=t(87363),d=t(51203),u=t(93379),p=t.n(u),h=t(7795),f=t.n(h),x=t(90569),b=t.n(x),m=t(3565),j=t.n(m),v=t(19216),g=t.n(v),y=t(44589),O=t.n(y),w=t(15909),S={};S.styleTagTransform=O(),S.setAttributes=j(),S.insert=b().bind(null,"head"),S.domAPI=f(),S.insertStyleElement=g();p()(w.ZP,S);w.ZP&&w.ZP.locals&&w.ZP.locals;var P=t(83055),C=t(9420),k=t(65515),D=t.n(k),A=t(88683),N=t(47514),_=["onMouseDown"];function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const Z=(0,C.Pi)((function ArticleOverview(e){var n,t=e.onMouseDown,r=(0,a.Z)(e,_),l=(0,P.NP)(),u=Object.values(null!==(n=l.divaWebPlanner.getDivaArticles())&&void 0!==n?n:{}),p=(0,c.useState)(!1),h=(0,i.Z)(p,2),f=h[0],x=h[1];return(0,c.useEffect)((function(){var e=function(){var e=(0,o.Z)(s().mark((function _callee(){return s().wrap((function _callee$(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A.DivaUtils.Sleep(1e3);case 2:x(!f);case 3:case"end":return e.stop()}}),_callee)})));return function asyncFunct(){return e.apply(this,arguments)}}();e()}),[l.settingsState.configChanged]),l.productState.formatedTotalPrice,(0,N.jsxs)("div",_objectSpread(_objectSpread({},r),{},{className:D()(r.className,w.fm,l.uiState.configSettingsIsExpanded?d.NF:void 0),children:[(0,N.jsx)("a",{className:w.Fs,onMouseDown:t,children:"Artikel Übersicht"}),(0,N.jsxs)("table",{className:w.Kz,children:[(0,N.jsx)("thead",{children:(0,N.jsxs)("tr",{className:w.$Q,children:[(0,N.jsx)("th",{children:"Name"}),(0,N.jsx)("th",{children:"ArticleCodex"}),(0,N.jsx)("th",{children:"CatalogCodex"}),(0,N.jsx)("th",{children:"Preis"}),(0,N.jsx)("th",{children:"Bruttopreis"}),(0,N.jsx)("th",{children:"Discount Prozent"}),(0,N.jsx)("th",{children:"Menge"})]})}),(0,N.jsx)("tbody",{children:Object.values(u).map((function(e,n){var t,r,o;return(0,N.jsxs)("tr",{className:w.$Q,children:[(0,N.jsxs)("th",{children:[" ",e.name]}),(0,N.jsxs)("th",{children:[e.articleCodex," "]}),(0,N.jsxs)("th",{children:[e.catalogCodex," "]}),(0,N.jsxs)("th",{children:[" ",null!==(t=e.price)&&void 0!==t?t:0," "]}),(0,N.jsxs)("th",{children:[" ",null!==(r=e.bruttoCalcPrice)&&void 0!==r?r:0," "]}),(0,N.jsxs)("th",{children:[" ",null!==(o=e.discountPercentage)&&void 0!==o?o:0," "]}),(0,N.jsxs)("th",{children:[e.quantity," "]})]},e.basketId)}))})]})]}))}))},75033:(e,n,t)=>{t.r(n),t.d(n,{default:()=>k});var r=t(80248),o=t(34988),i=t(87363),a=t(93379),l=t.n(a),s=t(7795),c=t.n(s),d=t(90569),u=t.n(d),p=t(3565),h=t.n(p),f=t(19216),x=t.n(f),b=t(44589),m=t.n(b),j=t(77648),v={};v.styleTagTransform=m(),v.setAttributes=h(),v.insert=u().bind(null,"head"),v.domAPI=c(),v.insertStyleElement=x();l()(j.ZP,v);j.ZP&&j.ZP.locals&&j.ZP.locals;var g=t(9420),y=t(65515),O=t.n(y),w=t(1463),S=t.n(w),P=t(83055),C=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const k=(0,g.Pi)((function MaskEditor(e){var n,t=(0,P.NP)(),r=(0,i.useRef)(null),a=(0,i.useRef)(null),l=(0,i.useState)(!0),s=(0,o.Z)(l,2),c=s[0],d=s[1],u=null===(n=t.divaWebPlanner.getCatalogData())||void 0===n?void 0:n.catalogMask,p=(0,i.useState)(null!=u?u:{}),h=(0,o.Z)(p,2),f=h[0],x=(h[1],{mode:"code",onChange:function onChange(){try{var e=a.current,n=(e.get(),e.validate());d(n)}catch(e){return void d(!1)}}});(0,i.useEffect)((function(){r.current&&(a.current||(a.current=new(S())(r.current,x)),a.current&&a.current.set(f))}),[f]);return(0,C.jsxs)("div",_objectSpread(_objectSpread({},e),{},{className:O()(j.YS,e.className),children:["MaskEditor",(0,C.jsx)("div",{ref:r,id:"jsoneditor",style:{width:"100%",height:"calc(100% - 300px)"}}),(0,C.jsx)("div",{className:j.Yq,children:(0,C.jsx)("button",{className:j.LI,disabled:!c,onClick:function onClick(){return function onClickSave(){var e=a.current;if(e.get()&&0!==Object.keys(e.get()).length){var n=e.get(),r=t.divaWebPlanner.getCatalogData();r&&(r.catalogMask=n),t.divaWebPlanner.updateWebConfiguratorTitle(),t.paletteViewHandler.updateCurPaletteData(!0),t.uiState.setActiveCatalogSection("3D/2D"),t.productState.updatePlannerMsgContainer("ACCESSOIRE_MSG",!0,"INFO","Speicherung erfolgreich",!0)}else alert("Cannot save empty value")}()},children:"Save"})})]}))}))},97078:(e,n,t)=>{t.r(n),t.d(n,{default:()=>y});var r=t(80248),o=t(84658),i=t(34988),a=t(72874),l=t(50747),s=t.n(l),c=t(87363),d=t(51203),u=t(93476),p=t(83055),h=t(9420),f=t(65515),x=t.n(f),b=t(88683),m=t(47514),j=["onMouseDown"];function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var v=function getPartlistArticles(e,n){for(var t in e.partlistArticles){var r=e.partlistArticles[t];if(r.hasPartlistArticle)n.push(g(r,!0)),n=v(r,n);else{for(var o=!1,i=0;i<n.length;i++)if(r.articleCodex===n[i].articleCodex&&r.retailArticleNr===n[i].retailArticleNr&&r.retailPrefix===n[i].retailPrefix&&r.catalogCodex===n[i].catalogCodex){o=!0,n[i].quantity+=r.quantity;break}o||n.push(g(r))}}return n},g=function getPartlsitArticleObj(e,n){var t,r,o,i,a;return{name:(n?"Hülse: ":"")+e.posNr+" "+e.name,price:n?"---":e.price,retailArticleNr:null!==(t=e.retailArticleNr)&&void 0!==t?t:"",retailPrefix:null!==(r=e.retailPrefix)&&void 0!==r?r:"",quantity:e.quantity,ruleDesc:null!==(o=e.ruleDesc)&&void 0!==o?o:"",articleCodex:null!==(i=e.articleCodex)&&void 0!==i?i:"",catalogCodex:null!==(a=e.catalogCodex)&&void 0!==a?a:"",codex:e.articleCodex,rule:e.ruleDesc}};const y=(0,h.Pi)((function PartList(e){var n=e.onMouseDown,t=(0,a.Z)(e,j),r=(0,p.NP)(),l=r.divaWebPlanner.getDivaArticles(),h=(0,c.useState)(!1),f=(0,i.Z)(h,2),g=f[0],y=f[1];(0,c.useEffect)((function(){var e=function(){var e=(0,o.Z)(s().mark((function _callee(){return s().wrap((function _callee$(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b.DivaUtils.Sleep(1e3);case 2:y(!g);case 3:case"end":return e.stop()}}),_callee)})));return function asyncFunct(){return e.apply(this,arguments)}}();e()}),[r.settingsState.configChanged]);var O=[];for(var w in l)O=v(l[w],O);return(0,m.jsxs)("div",_objectSpread(_objectSpread({},t),{},{className:x()(t.className,u.fm,r.uiState.configSettingsIsExpanded?d.NF:void 0),children:[(0,m.jsx)("a",{className:u.Fs,onMouseDown:n,children:"Stücklisten Übersicht"}),(0,m.jsxs)("table",{className:u.Kz,children:[(0,m.jsx)("thead",{children:(0,m.jsxs)("tr",{className:u.$Q,children:[(0,m.jsx)("th",{children:"Name"}),(0,m.jsx)("th",{children:"Artikle Nr."}),(0,m.jsx)("th",{children:"CatalogCodex"}),(0,m.jsx)("th",{children:"Preis"}),(0,m.jsx)("th",{children:"Nr"}),(0,m.jsx)("th",{children:"Prefix"}),(0,m.jsx)("th",{children:"Menge"}),(0,m.jsx)("th",{children:"Rule"})]})}),(0,m.jsx)("tbody",{children:Object.values(O).map((function(e,n){var t;return(0,m.jsxs)("tr",{className:u.$Q,children:[(0,m.jsxs)("th",{children:[" ",e.name]}),(0,m.jsxs)("th",{children:[e.articleCodex," "]}),(0,m.jsxs)("th",{children:[e.catalogCodex," "]}),(0,m.jsxs)("th",{children:[" ",null!==(t=e.price)&&void 0!==t?t:0," "]}),(0,m.jsxs)("th",{children:[" ",e.retailArticleNr," "]}),(0,m.jsxs)("th",{children:[e.retailPrefix," "]}),(0,m.jsxs)("th",{children:[e.quantity," "]}),(0,m.jsx)("th",{children:e.rule})]},e.articleCodex+e.retailArticleNr)}))})]})]}))}))},8350:(e,n,t)=>{t.r(n),t.d(n,{default:()=>S});var r=t(80248),o=t(65515),i=t.n(o),a=t(83055),l=t(87363),s=t(93379),c=t.n(s),d=t(7795),u=t.n(d),p=t(90569),h=t.n(p),f=t(3565),x=t.n(f),b=t(19216),m=t.n(b),j=t(44589),v=t.n(j),g=t(62904),y={};y.styleTagTransform=v(),y.setAttributes=x(),y.insert=h().bind(null,"head"),y.domAPI=u(),y.insertStyleElement=m();c()(g.ZP,y);g.ZP&&g.ZP.locals&&g.ZP.locals;var O=t(9420),w=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const S=(0,O.Pi)((function RTVAnalyzer(e){var n=(0,a.NP)().rtvAnalyzeData,t=(0,l.useRef)(),r=0,o=0,s=0;n.forEach((function(e){return e.active&&(r+=e.sizeMb,"GEO"==e.type?o+=e.sizeMb:s+=e.sizeMb)}));var c=n.filter((function(e){return e.active})).sort((function(e,n){return n.sizeMb-e.sizeMb}));return c=c.map((function(e){var n;return null!==(n=t.current)&&void 0!==n&&n.find((function(n){return e.name==n.name&&1==n.active}))?_objectSpread(_objectSpread({},e),{},{new:!1}):_objectSpread(_objectSpread({},e),{},{new:!0})})),t.current=c,(0,w.jsx)("div",_objectSpread(_objectSpread({},e),{},{className:i()(e.className,g.fm),children:(0,w.jsxs)("div",{className:g.YS,children:[(0,w.jsx)("a",{className:g.Fs,children:"RTV Analyzer"}),(0,w.jsx)("div",{className:g.nC,children:(0,w.jsxs)("table",{className:g.Bm,children:[(0,w.jsxs)("tr",{children:[(0,w.jsx)("th",{children:"Art"}),(0,w.jsx)("th",{children:"Name"}),(0,w.jsx)("th",{children:"Pfad"}),(0,w.jsx)("th",{children:"Geos (std mat)"}),(0,w.jsx)("th",{children:"Größe (MB | %)"})]}),(0,w.jsxs)("tr",{children:[(0,w.jsx)("th",{}),(0,w.jsx)("th",{children:"Gesamt"}),(0,w.jsx)("th",{}),(0,w.jsx)("th",{}),(0,w.jsx)("th",{children:Math.round(100*r)/100+"mb | 100%"})]}),(0,w.jsxs)("tr",{children:[(0,w.jsx)("th",{}),(0,w.jsx)("th",{children:"Geo Gesamt"}),(0,w.jsx)("th",{}),(0,w.jsx)("th",{}),(0,w.jsx)("th",{children:Math.round(100*o)/100+"mb | "+Math.round(o/r*100)+"%"})]}),(0,w.jsxs)("tr",{children:[(0,w.jsx)("th",{}),(0,w.jsx)("th",{children:"Tex Gesamt"}),(0,w.jsx)("th",{}),(0,w.jsx)("th",{}),(0,w.jsx)("th",{children:Math.round(100*s)/100+"mb | "+Math.round(s/r*100)+"%"})]}),c.map((function(e){return(0,w.jsxs)("tr",{style:e.found?e.new?{fontWeight:"bold"}:{}:{color:"red"},children:[(0,w.jsx)("td",{children:e.type}),(0,w.jsx)("td",{children:e.name}),(0,w.jsx)("td",{children:(0,w.jsx)("div",{style:{maxHeight:20,lineBreak:"anywhere",overflow:"hidden",cursor:"copy"},onClick:function onClick(){navigator.clipboard.writeText(e.path)},children:"MAT"!=e.type?e.path.replace(e.path.slice(0,e.path.indexOf("diva3darchiv")+12),""):e.path})}),(0,w.jsx)("td",{children:e.geo}),(0,w.jsx)("td",{children:Math.round(100*e.sizeMb)/100+"mb | "+Math.round(e.sizeMb/r*100)+"%"})]})}))]})})]})}))}))},70685:(e,n,t)=>{t.r(n),t.d(n,{default:()=>c});var r=t(80248),o=t(88291),i=(t(87363),t(9420)),a=t(72072),l=t(82334),s=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const c=(0,i.Pi)((function SVGAnalyser(e){var n=Object.assign({},((0,o.Z)(e),e));return(0,s.jsx)(a.default,_objectSpread(_objectSpread({},n),{},{className:n.className,ChildComponent:l.default,settings:[{key:"SVGSOURCE",name:"SVG Source"},{key:"SVGOVERVIEW",name:"SVG Übersicht"}],title:"SVG Übersicht"}))}))},25139:(e,n,t)=>{t.d(n,{YS:()=>l,ZP:()=>s});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--kKnzn {\n width: 100%;\n position: absolute;\n bottom: 82px;\n z-index: 1000;\n background-color: rgba(200, 200, 200, 0.9);\n overflow: auto;\n}\n\n.index-module--KB3Xr {\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(50%, 50%);\n}\n",""]);var l="index-module--kKnzn";const s=a},89144:(e,n,t)=>{t.d(n,{IU:()=>c,LI:()=>s,YS:()=>l,ZP:()=>u,lI:()=>d});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--B2E8Y {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n /* width: 80%; */\n height: 750px;\n margin-left: 51px;\n margin-right: 10px;\n gap: 10px;\n}\n\n.index-module--Qe3Dm {\n min-height: 45px;\n min-width: 45px;\n max-width: 60px;\n width: auto;\n margin-bottom: 20px;\n}\n.index-module--AG2M4 {\n display: flex;\n flex-direction: column;\n}\n\n.index-module--QweAA {\n font-size: 10px;\n}\n",""]);var l="index-module--B2E8Y",s="index-module--Qe3Dm",c="index-module--AG2M4",d="index-module--QweAA";const u=a},6521:(e,n,t)=>{t.d(n,{$Q:()=>c,EU:()=>l,Kz:()=>s,ZP:()=>u,hv:()=>d});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--orfU0 {\n margin-left: 50px;\n color: rgba(255,255,255,0.42353);\n height: 100vh;\n}\n.index-module--ZQXRQ {\n display: flex;\n flex-direction: column;\n position: relative;\n width: 100%;\n height: 100%;\n\n background-color: rgb(28, 32, 35);\n font-family: var(--diva-typography-font-family);\n font-weight: 100;\n gap: 10px;\n}\n.index-module--zMMBL {\n width: 20%;\n border-bottom: 1px solid;\n}\n.index-module--fJfHX {\n width: 50px;\n height: 50px;\n}\n.index-module--orfU0 textarea {\n background-color: rgb(28, 32, 35);\n color: white;\n width: 97.7%;\n height: 100%;\n padding-top: 2%;\n padding-left: 2%;\n overflow: auto;\n}\n.index-module--orfU0 .index-module--kwewQ {\n max-height: 62.1%;\n transition: max-height 0.5s;\n}\n\n.index-module--UVkGx {\n color: black !important;\n}\n\n.index-module--UVkGx {\n background-color: rgba(96, 245, 96, 0.377);\n}\n.index-module--ZQXRQ img {\n height: 50px;\n width: 50px;\n}\n.index-module--ZQXRQ tbody {\n height: 100%;\n vertical-align: top;\n overflow-y: auto;\n overflow-x: hidden;\n}\n.index-module--ZQXRQ tr th {\n width: 4%;\n}\n.index-module--ZQXRQ tr th:last-child {\n width: 90px;\n}\n.index-module--ZQXRQ thead {\n border-bottom: 1px solid white;\n}\n.index-module--ZQXRQ tbody th {\n width: 23px;\n table-layout: fixed;\n line-break: anywhere;\n font-size: 15px;\n}\n.index-module--ZQXRQ tbody th:nth-child(1) {\n width: 35px;\n}\n.index-module--ZQXRQ tbody th:last-child {\n width: 890px;\n font-size: 9px;\n}\n.index-module--iJwMt {\n background-color: rgba(96, 245, 96, 0.377);\n}\n.index-module--cSh30 {\n top: 10px;\n width: 47.6%;\n text-align: center;\n color: black;\n background-color: rgba(96, 245, 96, 0.377);\n}\n.index-module--BpST3 {\n position: absolute;\n top: 286px;\n width: 100%;\n}\n",""]);var l="index-module--orfU0",s="index-module--ZQXRQ",c="index-module--zMMBL",d="index-module--iJwMt";const u=a},95044:(e,n,t)=>{t.d(n,{YS:()=>l,ZP:()=>d,oF:()=>s,x_:()=>c});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--cA3b1 {\n display: flex;\n flex-direction: column;\n gap: 10px;\n}\n\n.index-module--CJSAc {\n box-shadow: var(--boxShadowHover);\n width: 300px;\n min-width: 100px;\n}\n\n.index-module--h2JpC {\n border-radius: var(--globalBorderRadius);\n border-color: white;\n padding: 2px 12px 3px 10px;\n line-height: 20.8px;\n -webkit-font-smoothing: antialiased;\n -webkit-text-stroke: 0.1px;\n color: var(--secondaryColor);\n cursor: pointer;\n}\n",""]);var l="index-module--cA3b1",s="index-module--CJSAc",c="index-module--h2JpC";const d=a},7046:(e,n,t)=>{t.d(n,{Fs:()=>c,YS:()=>l,ZP:()=>u,fm:()=>s,nC:()=>d});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--tlOAN {\n display: flex;\n flex-direction: column;\n width: calc(100% - 5px);\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n background-color: #fff;\n}\n.index-module--Y4cLX {\n overflow: auto;\n left: 50px;\n}\n.index-module--mAsES {\n height: 8%;\n width: 100%;\n padding-top: 0.7%;\n text-align: center;\n background-color: var(--primaryColor);\n font-size: 30px;\n color: white;\n font-weight: 600;\n}\n.index-module--Ool1Y {\n width: calc(100% - 40px);\n margin: 20px;\n display: flex;\n flex-direction: column;\n gap: 20px;\n}\n",""]);var l="index-module--tlOAN",s="index-module--Y4cLX",c="index-module--mAsES",d="index-module--Ool1Y";const u=a},33981:(e,n,t)=>{t.d(n,{$Q:()=>s,EC:()=>u,Fs:()=>d,Kz:()=>l,ZP:()=>p,fm:()=>c});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--sS9Y_ {\n position: relative;\n width: 100%;\n height: 100%;\n background-color: #ffffff;\n border-collapse: collapse;\n border-width: 0px;\n border-color: #e7eaf8;\n border-style: solid;\n color: #000000;\n font-weight: normal;\n font-family: var(--diva-typography-font-family);\n font-weight: 100;\n overflow-y: auto;\n top: 73px;\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n}\n.index-module--sS9Y_ thead {\n font-weight: bold !important;\n}\n.index-module--sS9Y_ thead {\n border-bottom: 1px solid;\n background-color: var(--thirdColor);\n font-size: 16px;\n padding-top: 1%;\n color: white;\n}\n.index-module--O5GJU {\n text-align: left;\n}\n.index-module--O5GJU:first-child {\n height: 20px;\n}\n\n.index-module--O5GJU th {\n border-bottom: 1px solid;\n padding-right: 10px;\n margin-bottom: 1%;\n font-weight: normal;\n}\n.index-module--bBk4P {\n overflow: auto;\n left: 50px;\n}\n.index-module--sBWMs {\n height: 8%;\n width: 100%;\n padding-top: 0.7%;\n text-align: center;\n position: absolute;\n background-color: var(--primaryColor);\n font-size: 30px;\n color: white;\n font-weight: 600;\n}\n\n.index-module--XrXfq {\n z-index: 100;\n position: fixed;\n top: 0;\n right: 240px;\n width: 700px;\n height: 100%;\n background-color: #fff;\n overflow: auto;\n}\n",""]);var l="index-module--sS9Y_",s="index-module--O5GJU",c="index-module--bBk4P",d="index-module--sBWMs",u="index-module--XrXfq";const p=a},13689:(e,n,t)=>{t.d(n,{$Q:()=>p,Fs:()=>c,Kz:()=>u,YS:()=>l,ZP:()=>h,fm:()=>s,nG:()=>d});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--dRdX7 {\n display: flex;\n flex-direction: column;\n width: calc(100% - 5px);\n\n -webkit-user-select: text;\n\n -moz-user-select: text;\n\n user-select: text;\n background-color: #fff;\n}\n.index-module--JnUb8 {\n overflow: auto;\n left: 50px;\n}\n.index-module--qSiiY {\n height: 8%;\n width: 100%;\n padding-top: 0.7%;\n text-align: center;\n background-color: var(--primaryColor);\n font-size: 30px;\n color: white;\n font-weight: 600;\n}\n\n.index-module--BYi2l {\n margin-left: 200px;\n background-color: #fff;\n font-weight: 600;\n max-height: 92%;\n height: auto;\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n}\n\n.index-module--etPY7 {\n position: relative;\n width: 100%;\n height: 100%;\n background-color: #ffffff;\n border-collapse: collapse;\n border-color: #e7eaf8;\n border-style: solid;\n border-width: 0px;\n color: #000000;\n font-weight: normal;\n font-family: var(--diva-typography-font-family);\n font-weight: 100;\n overflow-y: auto;\n}\n.index-module--etPY7 thead {\n font-weight: bold !important;\n}\n.index-module--etPY7 thead {\n border-bottom: 1px solid;\n /* min-width: 20px; */\n background-color: var(--thirdColor);\n font-size: 16px;\n padding-top: 1%;\n}\n.index-module--vMmTT {\n text-align: left;\n}\n.index-module--vMmTT:first-child {\n height: 20px;\n}\n.index-module--vMmTT th:nth-child(1) {\n width: 40%;\n border-bottom: 1px solid;\n}\n.index-module--vMmTT th {\n border-bottom: 1px solid;\n padding-right: 10px;\n margin-bottom: 1%;\n font-weight: normal;\n}\n.index-module--vMmTT th:last-child {\n font-size: 12px;\n}\n",""]);var l="index-module--dRdX7",s="index-module--JnUb8",c="index-module--qSiiY",d="index-module--BYi2l",u="index-module--etPY7",p="index-module--vMmTT";const h=a},15909:(e,n,t)=>{t.d(n,{$Q:()=>s,Fs:()=>d,Kz:()=>l,ZP:()=>u,fm:()=>c});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--kRnTO {\n position: relative;\n width: 100%;\n height: -moz-fit-content;\n height: fit-content;\n background-color: #ffffff;\n border-collapse: collapse;\n border-width: 0px;\n border-color: #e7eaf8;\n border-style: solid;\n color: #000000;\n font-weight: normal;\n font-family: var(--diva-typography-font-family);\n font-weight: 100;\n overflow-y: auto;\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n}\n.index-module--kRnTO thead {\n font-weight: bold !important;\n}\n.index-module--kRnTO thead {\n border-bottom: 1px solid;\n /* min-width: 20px; */\n background-color: var(--thirdColor);\n font-size: 16px;\n padding-top: 1%;\n color: black;\n}\n.index-module--Vrir_ {\n text-align: left;\n height: 20px;\n}\n.index-module--Vrir_ th:nth-child(1) {\n width: 40%;\n border-bottom: 1px solid;\n}\n.index-module--Vrir_ th {\n border-bottom: 1px solid;\n padding-right: 10px;\n margin-bottom: 1%;\n font-weight: normal;\n}\n.index-module--Vrir_ th:last-child {\n font-size: 12px;\n}\n.index-module--I8vaR {\n overflow: auto;\n left: 50px;\n display: flex;\n flex-direction: column;\n height: auto;\n}\n.index-module--pl89e {\n height: 46px;\n width: 100%;\n padding-top: 0.7%;\n text-align: center;\n background-color: var(--primaryColor);\n font-size: 30px;\n color: white;\n font-weight: 600;\n cursor: ns-resize;\n}\n",""]);var l="index-module--kRnTO",s="index-module--Vrir_",c="index-module--I8vaR",d="index-module--pl89e";const u=a},77648:(e,n,t)=>{t.d(n,{LI:()=>c,YS:()=>l,Yq:()=>s,ZP:()=>d});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--e2swR {\n background-color: rgba(244, 244, 244, 0.8);\n position: absolute;\n margin-left: 50px;\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n z-index: 1000;\n}\n.index-module--byqXs {\n margin-top: 12px;\n display: flex;\n}\n.index-module--edLvC {\n}\n",""]);var l="index-module--e2swR",s="index-module--byqXs",c="index-module--edLvC";const d=a},62904:(e,n,t)=>{t.d(n,{Bm:()=>u,Fs:()=>c,YS:()=>l,ZP:()=>p,fm:()=>s,nC:()=>d});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--vimXW {\n display: flex;\n flex-direction: column;\n width: calc(100% - 5px);\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n background-color: rgba(255, 255, 255, 0.384);\n}\n.index-module--XF0jR {\n overflow: auto;\n left: 50px;\n}\n.index-module--oJ5Mn {\n height: 8%;\n width: 100%;\n padding-top: 0.7%;\n text-align: center;\n background-color: var(--primaryColor);\n font-size: 30px;\n color: white;\n font-weight: 600;\n}\n.index-module--PllSF {\n width: calc(100% - 40px);\n margin: 20px;\n display: flex;\n flex-direction: column;\n gap: 20px;\n}\n.index-module--k9y7K td,\n.index-module--k9y7K th {\n border: 1px solid rgba(221,221,221,0.35686);\n text-align: left;\n}\n\n.index-module--k9y7K tr:nth-child(even) {\n background-color: rgba(221,221,221,0.35686);\n}\n",""]);var l="index-module--vimXW",s="index-module--XF0jR",c="index-module--oJ5Mn",d="index-module--PllSF",u="index-module--k9y7K";const p=a},85399:(e,n,t)=>{t.d(n,{$Q:()=>x.$Q,EU:()=>x.EU,Kz:()=>x.Kz,hv:()=>x.hv});var r=t(93379),o=t.n(r),i=t(7795),a=t.n(i),l=t(90569),s=t.n(l),c=t(3565),d=t.n(c),u=t(19216),p=t.n(u),h=t(44589),f=t.n(h),x=t(6521),b={};b.styleTagTransform=f(),b.setAttributes=d(),b.insert=s().bind(null,"head"),b.domAPI=a(),b.insertStyleElement=p();o()(x.ZP,b),x.ZP&&x.ZP.locals&&x.ZP.locals},20196:(e,n,t)=>{t.d(n,{YS:()=>x.YS,oF:()=>x.oF,x_:()=>x.x_});var r=t(93379),o=t.n(r),i=t(7795),a=t.n(i),l=t(90569),s=t.n(l),c=t(3565),d=t.n(c),u=t(19216),p=t.n(u),h=t(44589),f=t.n(h),x=t(95044),b={};b.styleTagTransform=f(),b.setAttributes=d(),b.insert=s().bind(null,"head"),b.domAPI=a(),b.insertStyleElement=p();o()(x.ZP,b),x.ZP&&x.ZP.locals&&x.ZP.locals}}]);
2
+ "use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[7068,6921,3222],{57068:(e,n,t)=>{t.r(n),t.d(n,{default:()=>V});var r=t(80248),o=t(34988),i=t(88291),a=t(87363),l=t(44997),s=t(97078),c=t(75033),d=t(70697),u=t(70685),p=t(43233),h=t(82714),f=t(62197),x=t(8350),b=t(35631),m=t(19631),j=t(83055),v=t(93379),g=t.n(v),y=t(7795),O=t.n(y),w=t(90569),S=t.n(w),P=t(3565),C=t.n(P),k=t(19216),D=t.n(k),A=t(44589),N=t.n(A),_=t(25139),Z={};Z.styleTagTransform=N(),Z.setAttributes=C(),Z.insert=S().bind(null,"head"),Z.domAPI=O(),Z.insertStyleElement=D();g()(_.ZP,Z);_.ZP&&_.ZP.locals&&_.ZP.locals;var E=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const V=function ToolContainer(e){(0,i.Z)(e);var n=(0,a.useState)(436),t=(0,o.Z)(n,2),r=t[0],v=t[1],g=(0,j.NP)(),y=(0,a.useState)(!1),O=(0,o.Z)(y,2),w=O[0],S=O[1];(0,a.useEffect)((function(){r<300&&!w&&g.uiState.setActiveCatalogSection("3D/2D")}),[r,w]);var P=void 0,C={onMouseDown:function handler(e){var n=r,t=(e.pageX,e.pageY);function onMouseMove(e){v(n+t-e.pageY)}S(!0);document.body.addEventListener("mousemove",onMouseMove),document.body.addEventListener("mouseup",(function onMouseUp(){S(!1),document.body.removeEventListener("mousemove",onMouseMove)}),{once:!0})}},k="";switch(g.uiState.activeCatalogSection){case"Options":P=(0,E.jsx)(l.default,_objectSpread(_objectSpread({},C),{},{style:{zIndex:700}}));break;case"PartList":P=(0,E.jsx)(s.default,_objectSpread(_objectSpread({},C),{},{className:k}));break;case"DecisionAnalyzer":P=(0,E.jsx)(f.default,_objectSpread(_objectSpread({},C),{},{className:k}));break;case"Artikelübersicht":P=(0,E.jsx)(d.default,_objectSpread(_objectSpread({},C),{},{className:k}));break;case"SVGübersicht":P=(0,E.jsx)(u.default,_objectSpread(_objectSpread({},C),{},{className:k}));break;case"ekText":P=(0,E.jsx)(p.default,_objectSpread(_objectSpread({},C),{},{className:k}));break;case"CatalogMakeup":P=(0,E.jsx)(h.default,_objectSpread(_objectSpread({},C),{},{className:k}));break;case"RTVAnalyzer":P=(0,E.jsx)(x.default,_objectSpread(_objectSpread({},C),{},{className:k}));break;case"J3DEditor":P=(0,E.jsx)(b.default,_objectSpread(_objectSpread({},C),{},{className:k}));break;case"PropertiesEditor":P=(0,E.jsx)(m.default,_objectSpread(_objectSpread({},C),{},{className:k}));break;case"MaskEditor":P=(0,E.jsx)(c.default,_objectSpread(_objectSpread({},C),{},{className:k}))}return(0,E.jsx)("div",{className:_.YS,style:{height:r},children:P})}},16921:(e,n,t)=>{t.r(n),t.d(n,{default:()=>D});var r=t(84658),o=t(34988),i=t(50747),a=t.n(i),l=t(87363),s=t(9420),c=t(83055),d=t(1463),u=t.n(d),p=t(93379),h=t.n(p),f=t(7795),x=t.n(f),b=t(90569),m=t.n(b),j=t(3565),v=t.n(j),g=t(19216),y=t.n(g),O=t(44589),w=t.n(O),S=t(89144),P={};P.styleTagTransform=w(),P.setAttributes=v(),P.insert=m().bind(null,"head"),P.domAPI=x(),P.insertStyleElement=y();h()(S.ZP,P);S.ZP&&S.ZP.locals&&S.ZP.locals;var C=t(95588),k=t(47514);const D=(0,s.Pi)((function JsonEditor(e){var n=e.json,t=(e.plannerArticles,e.curBox),i=e.divaArticles,s=(0,c.NP)(),d=(0,l.useRef)(null),p=(0,l.useRef)(null),h=(0,l.useState)(null!=n?n:{}),f=(0,o.Z)(h,2),x=f[0],b=f[1],m=(0,l.useState)(!0),j=(0,o.Z)(m,2),v=j[0],g=j[1],y=(0,l.useState)([]),O=(0,o.Z)(y,2),w=O[0],P=O[1],D=i[t],A={mode:"code",onChange:function onChange(){try{var e=p.current,n=(e.get(),e.validate());g(n)}catch(e){return void g(!1)}}};(0,l.useEffect)((function(){b(n)})),(0,l.useEffect)((function(){d.current&&(p.current||(p.current=new(u())(d.current,A)),p.current&&p.current.set(x))}),[x]);var N=function(){var e=(0,r.Z)(a().mark((function _callee(){var e;return a().wrap((function _callee$(n){for(;;)switch(n.prev=n.next){case 0:if((e=p.current).get()&&0!==Object.keys(e.get()).length){n.next=4;break}return alert("Cannot save empty value"),n.abrupt("return");case 4:return D.catalogArticle.modifiedJ3D=e.get(),D.resetShelfPlanner(),n.next=8,D.updateShelfPlannerState({});case 8:s.paletteViewHandler.updateCurPaletteData(!1),setModifiedInfo(),alert("Saved");case 11:case"end":return n.stop()}}),_callee)})));return function onClickSave(){return e.apply(this,arguments)}}();function setModifiedInfo(){var e,n=null===(e=s.divaWebPlanner.getCatalogData())||void 0===e?void 0:e.allCatalogArticles,t=[];for(var r in n)n[r].catalogArticle.modifiedJ3D&&t.push({articleCodex:r,j3d:JSON.stringify(n[r].catalogArticle.modifiedJ3D)});P(t)}return(0,k.jsxs)("div",{className:S.YS,children:[(0,k.jsx)("div",{ref:d,id:"jsoneditor",style:{width:"90%",height:"100%"}}),(0,k.jsxs)("div",{className:S.IU,children:[(0,k.jsx)("button",{className:S.LI,disabled:!v,onClick:function onClick(){return N()},children:"Save"}),(0,k.jsx)("button",{className:S.LI,onClick:function onClick(){return function onClickExport(){if(w&&0!==w.length)for(var e=0;e<w.length;e++)C.ZP.downloadStringAsTxtFile(w[e].j3d,"text/plain",w[e].articleCodex+".txt");else alert("No modified Article found")}()},children:"Export modified J3D"}),(0,k.jsxs)("div",{children:[(0,k.jsx)("h5",{children:"Modified Articles"}),w.map((function(e,n){return(0,k.jsx)("p",{className:S.lI,children:e.articleCodex},n)}))]})]})]})}))},3958:(e,n,t)=>{t.r(n),t.d(n,{default:()=>m});var r=t(80248),o=t(84658),i=t(34988),a=t(72874),l=t(50747),s=t.n(l),c=t(87363),d=t(9420),u=t(85399),p=t(65515),h=t.n(p),f=t(83055),x=t(47514),b=["plannerArticles","curBox","isExpanded"];function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const m=(0,d.Pi)((function SVGOverview(e){var n=e.plannerArticles,t=e.curBox,r=(e.isExpanded,(0,a.Z)(e,b)),l=(0,f.NP)(),d=(0,c.useState)("None"),p=(0,i.Z)(d,2),m=p[0],j=p[1],v=l.divaWebPlanner.getDivaArticles();if(!v)return(0,x.jsx)(x.Fragment,{});var g=Object.values(v).filter((function(e){return e.hasCatalogPlannerArticle})),y=n[t],O=g[t],w="",S="",P=[];if(void 0===y)return(0,x.jsx)(x.Fragment,{});if(y.topSvgsWithFormula){var C;null===(C=O.plannerData)||void 0===C||C.curSVG;var k=y.topSvgsWithFormula.find((function(e){var n;return e.SVG===(null===(n=O.plannerData)||void 0===n?void 0:n.curSVG)}));if(k){for(var D=0;D<y.topSvgsWithFormula.length;D++)P.push(y.topSvgsWithFormula[D]);S=O.CatalogData.getCatImageURL(null==k?void 0:k.SVG,""),w=k.SVG,null==k||k.JsFormula}}if(S||(S=O.CatalogData.getCatImageURL(y.topSvg,""),P.push({SVG:S,Layer:y.topLayer,AVC:y.topAVC,AVO:y.topAVO,AVU:y.topAVU,AVN:y.topAVN,AVS:y.topAVS,HasAVL:y.topHasAVL,HasAVR:y.topHasAVR,JsFormula:""})),""!==S){var A=function(){var e=(0,o.Z)(s().mark((function _callee(e){var n;return s().wrap((function _callee$(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fetch(e);case 2:return n=t.sent,t.t0=j,t.next=6,n.text();case 6:t.t1=t.sent,(0,t.t0)(t.t1);case 8:case"end":return t.stop()}}),_callee)})));return function getSVG(n){return e.apply(this,arguments)}}();A(S)}else"None"!=m&&j("None");return(0,x.jsx)("div",_objectSpread(_objectSpread({},r),{},{className:h()(u.EU),children:(0,x.jsxs)("table",{className:u.Kz,children:[(0,x.jsx)("thead",{children:(0,x.jsxs)("tr",{className:u.$Q,children:[(0,x.jsx)("th",{children:"Nr"}),(0,x.jsx)("th",{children:"SVG"}),(0,x.jsx)("th",{children:"Layer"}),(0,x.jsx)("th",{children:"AVC"}),(0,x.jsx)("th",{children:"AVO"}),(0,x.jsx)("th",{children:"AVU "}),(0,x.jsx)("th",{children:"AVN "}),(0,x.jsx)("th",{children:"AVS "}),(0,x.jsx)("th",{children:"HasAVL "}),(0,x.jsx)("th",{children:"HasAVR "}),(0,x.jsx)("th",{children:"JSFormula "})]})}),(0,x.jsx)("tbody",{children:Object.values(P).map((function(e,n){return(0,x.jsxs)("tr",{className:e.SVG===w?u.hv:void 0,children:[(0,x.jsx)("th",{children:n+1}),(0,x.jsx)("th",{children:(0,x.jsx)("img",{src:O.CatalogData.getCatImageURL(e.SVG,"")})}),(0,x.jsx)("th",{children:e.Layer}),(0,x.jsx)("th",{children:e.AVC}),(0,x.jsx)("th",{children:e.AVO}),(0,x.jsx)("th",{children:e.AVU}),(0,x.jsx)("th",{children:e.AVN}),(0,x.jsx)("th",{children:e.AVS}),(0,x.jsx)("th",{children:e.HasAVL}),(0,x.jsx)("th",{children:e.HasAVR}),(0,x.jsx)("th",{children:e.JsFormula})]},e.JsFormula)}))})]})}))}))},31482:(e,n,t)=>{t.r(n),t.d(n,{default:()=>m});var r=t(80248),o=t(84658),i=t(34988),a=t(72874),l=t(50747),s=t.n(l),c=t(87363),d=t(9420),u=t(85399),p=t(65515),h=t.n(p),f=t(83055),x=t(47514),b=["plannerArticles","curBox","isExpanded"];function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const m=(0,d.Pi)((function SVGSourceViewer(e){var n=e.plannerArticles,t=e.curBox,r=(e.isExpanded,(0,a.Z)(e,b)),l=(0,f.NP)(),d=(0,c.useState)("None"),p=(0,i.Z)(d,2),m=p[0],j=p[1],v=l.divaWebPlanner.getDivaArticles();if(!v)return(0,x.jsx)(x.Fragment,{});var g=Object.values(v).filter((function(e){return e.hasCatalogPlannerArticle})),y=n[t],O=g[t],w="";if(void 0===y)return(0,x.jsx)(x.Fragment,{});if(y.topSvgsWithFormula){var S;null===(S=O.plannerData)||void 0===S||S.curSVG;var P=y.topSvgsWithFormula.find((function(e){var n;return e.SVG===(null===(n=O.plannerData)||void 0===n?void 0:n.curSVG)}));null!=P&&P.SVG&&(w=O.CatalogData.getCatImageURL(P.SVG,""))}if(w||(w=O.CatalogData.getCatImageURL(y.topSvg,"")),""!==w){var C=function(){var e=(0,o.Z)(s().mark((function _callee(e){var n;return s().wrap((function _callee$(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fetch(e);case 2:return n=t.sent,t.t0=j,t.next=6,n.text();case 6:t.t1=t.sent,(0,t.t0)(t.t1);case 8:case"end":return t.stop()}}),_callee)})));return function getSVG(n){return e.apply(this,arguments)}}();C(w)}else"None"!=m&&j("None");return(0,x.jsx)("div",_objectSpread(_objectSpread({},r),{},{className:h()(u.EU),children:(0,x.jsx)("textarea",{readOnly:!0,value:m})}))}))},82334:(e,n,t)=>{t.r(n),t.d(n,{default:()=>l});var r=t(9420),o=(t(87363),t(3958)),i=t(31482),a=t(47514);const l=(0,r.Pi)((function index(e){if("SVGOVERVIEW"===e.selectedJson)var n=(0,a.jsx)(o.default,{plannerArticles:e.plannerArticles,curBox:e.curBox,isExpanded:e.isExpanded});else n=(0,a.jsx)(i.default,{plannerArticles:e.plannerArticles,curBox:e.curBox,isExpanded:e.isExpanded});return(0,a.jsx)("div",{children:n})}))},73812:(e,n,t)=>{t.r(n),t.d(n,{default:()=>h});var r=t(34988),o=t(65515),i=t.n(o),a=t(87363),l=t(10304),s=t(20196),c=t(30913),d=t(83055),u=t(47514),p=["IMAGE","TEXT","DROPDOWN_TEXT","TOGGLE_NAME","TOGGLE","DROPDOWN_IMAGE","GAL_SMALL_GROUP_DROPDOWN","NUMBER","GAL_BIG","GAL_GROUP_DROPDOWN","TEXTBOX","GAL_TEXT","GAL_BIG_TEXT","GAL_SMALL_TEXT"];const h=function LayoutSelection(e){var n=e.option,t=(0,a.useState)(n.layout),o=(0,r.Z)(t,1)[0],h=(0,a.useState)(),f=(0,r.Z)(h,2),x=f[0],b=f[1],m=(0,d.NP)();(0,a.useEffect)((function(){n.layout=null!=x?x:o,m.paletteViewHandler.updateCurPaletteData(!0)}),[x]),(0,a.useEffect)((function(){return function(){n.layout=o,m.paletteViewHandler.updateCurPaletteData(!0)}}),[]);var j=(0,u.jsx)(c.default,{onClick:function onClick(){return b(void 0)},open:!1,iconAsDelete:!!x});return(0,u.jsxs)("div",{className:s.YS,children:["Layout:",(0,u.jsx)(l.Z,{className:i()(s.oF),controlClassName:s.x_,options:p,value:x,onChange:function onChange(e){return b(e.value)},placeholder:o,arrowClosed:j,arrowOpen:j})]})}},27810:(e,n,t)=>{t.r(n),t.d(n,{default:()=>d});var r=t(65515),o=t.n(r),i=t(9420),a=(t(87363),t(10304)),l=t(20196),s=t(30913),c=t(47514);const d=(0,i.Pi)((function OptionsSelector(e){var n=e.options,t=e.optionState,r=(0,c.jsx)(s.default,{onClick:function onClick(){return t[1](void 0)},open:!1,iconAsDelete:!!t[0]});return(0,c.jsx)("div",{className:l.YS,children:(0,c.jsx)(a.Z,{className:o()(l.oF),controlClassName:l.x_,options:n.map((function(e){return{label:e.name,value:e.codex}})),value:t[0],onChange:function onChange(e){return t[1](e.value)},placeholder:"Option",arrowClosed:r,arrowOpen:r})})}))},82714:(e,n,t)=>{t.r(n),t.d(n,{default:()=>_});var r=t(80248),o=t(84658),i=t(34988),a=t(50747),l=t.n(a),s=t(65515),c=t.n(s),d=t(9420),u=t(83055),p=t(87363),h=t(93379),f=t.n(h),x=t(7795),b=t.n(x),m=t(90569),j=t.n(m),v=t(3565),g=t.n(v),y=t(19216),O=t.n(y),w=t(44589),S=t.n(w),P=t(7046),C={};C.styleTagTransform=S(),C.setAttributes=g(),C.insert=j().bind(null,"head"),C.domAPI=b(),C.insertStyleElement=O();f()(P.ZP,C);P.ZP&&P.ZP.locals&&P.ZP.locals;var k=t(27810),D=t(73812),A=t(88683),N=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const _=(0,d.Pi)((function CatalogMakeup(e){var n=(0,u.NP)(),t=(0,p.useState)([]),r=(0,i.Z)(t,2),a=r[0],s=r[1],d=(0,p.useState)(),h=(0,i.Z)(d,2),f=h[0],x=h[1],b=null==a?void 0:a.find((function(e){return e.codex===f}));(0,p.useEffect)((function(){var e=n.divaWebPlanner.actSet(),t=null==e?void 0:e.CatalogData.getOptions();null!=t&&t.length&&s(t)}),[n.settingsState.configChanged]),(0,p.useEffect)((function(){var e=null==a?void 0:a.find((function(e){return e.codex===f}));e&&m(e)}),[f]);var m=function(){var e=(0,o.Z)(l().mark((function _callee(e){var t;return l().wrap((function _callee$(r){for(;;)switch(r.prev=r.next){case 0:if(!(t=n.configuratorStructureHandler.getFirstConfigStepByOptionCodex(e.codex))){r.next=7;break}return n.configuratorStructureHandler.navigateToConfigStepByConfigStepKey(null==t?void 0:t.key),n.updateConfiguratorState(!0),r.next=6,A.DivaUtils.Sleep(100);case 6:n.paletteViewHandler.scrollToConfigStepByPosNr(t.posNr,!0);case 7:case"end":return r.stop()}}),_callee)})));return function naviagateToOption(n){return e.apply(this,arguments)}}();return(0,N.jsx)("div",_objectSpread(_objectSpread({},e),{},{className:c()(e.className,P.fm),children:(0,N.jsxs)("div",{className:P.YS,children:[(0,N.jsx)("a",{className:P.Fs,children:"CatalogMakeup"}),(0,N.jsxs)("div",{className:P.nC,children:[(0,N.jsx)(k.default,{options:a,optionState:[f,x]}),b&&(0,N.jsx)(D.default,{option:b},b.codex)]})]})}))}))},13222:(e,n,t)=>{t.r(n),t.d(n,{default:()=>o});t(87363);var r=t(47514);const o=function DecisionVisualization(e){var n=e.decision,t=function renderIfDefined(e,n){return null!=e&&""!==e?(0,r.jsxs)("p",{children:[(0,r.jsxs)("strong",{children:[n,":"]})," ",Array.isArray(e)?e.join(", "):e]}):null};return(0,r.jsxs)("div",{style:{userSelect:"text"},children:[(0,r.jsx)("h2",{children:"Decision Details"}),t(n.Number,"Number"),t(n.Type,"Type"),t(n.Prio,"Priority"),t(n.Options,"Options"),t(n.Enabled?"Yes":"No","Enabled"),t(n.DecisionNumber,"Decision Number"),t(n.ActiveCombination,"Active Combination"),t(n.DisableHistory,"Disabled History"),n.DOC&&n.DOC.length>0&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("h3",{children:"Decision Option Combinations:"}),n.DOC.map((function(e,n){var o;return(0,r.jsxs)("div",{className:"decision-option-combination",children:[t(n,"doc Index"),t(e.JsFormula,"Formula"),Object.values(null!==(o=e.Row)&&void 0!==o?o:{}).map((function(e){return(0,r.jsx)(r.Fragment,{children:t(e.join(";"),"Doc Row")})})),e.DA&&e.DA.length>0&&(0,r.jsxs)("div",{children:[(0,r.jsx)("h6",{children:"Decision Actions:"}),(0,r.jsx)("ul",{children:e.DA.map((function(e,n){return(0,r.jsxs)("li",{children:[t(e.Type,"Action Type"),t(e.FeatureRef,"Feature Ref"),t(e.OptionCodex,"OptionCodex"),t(e.OptionRef,"OptionRef"),t(e.OptionRefCodex,"OptionRefCodex"),t(e.OptionValueRefCodex,"OptionValueRefCodex"),t(e.DecisionNr,"DecisionNr")]},n)}))})]}),t(e.ValidOptionValues,"Valid Option Values"),t(e.ValidOptions,"Valid Options"),t(e.RefLevel,"Ref Level")]},n)}))]}),t(n.DisableHistory,"Disabled History"),(0,r.jsx)("strong",{children:"Is Valid DOC:"})," ",n.DOC&&n.DOC.length>0?"Yes":"No"]})}},62197:(e,n,t)=>{t.r(n),t.d(n,{default:()=>E});var r=t(80248),o=t(12952),i=t(84658),a=t(34988),l=t(88291),s=t(50747),c=t.n(s),d=t(87363),u=t(51203),p=t(93379),h=t.n(p),f=t(7795),x=t.n(f),b=t(90569),m=t.n(b),j=t(3565),v=t.n(j),g=t(19216),y=t.n(g),O=t(44589),w=t.n(O),S=t(33981),P={};P.styleTagTransform=w(),P.setAttributes=v(),P.insert=m().bind(null,"head"),P.domAPI=x(),P.insertStyleElement=y();h()(S.ZP,P);S.ZP&&S.ZP.locals&&S.ZP.locals;var C=t(83055),k=t(9420),D=t(65515),A=t.n(D),N=t(88683),_=(t(76839),t(13222)),Z=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const E=(0,k.Pi)((function DecisionAnalyzer(e){var n,t=Object.assign({},((0,l.Z)(e),e)),r=(0,C.NP)(),s=r.divaWebPlanner.getDivaArticles(),p=(0,d.useState)(!1),h=(0,a.Z)(p,2),f=h[0],x=h[1];(0,d.useEffect)((function(){var e=function(){var e=(0,i.Z)(c().mark((function _callee(){return c().wrap((function _callee$(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,N.DivaUtils.Sleep(1e3);case 2:x(!f);case 3:case"end":return e.stop()}}),_callee)})));return function asyncFunct(){return e.apply(this,arguments)}}();e()}),[r.tabGroupState.allTabGroups]);var b=Object.values(null!=s?s:{}).find((function(e){return 1==e.posNr})),m=(0,d.useState)(),j=(0,a.Z)(m,2),v=j[0],g=j[1],y=(0,d.useState)(),O=(0,a.Z)(y,2),w=O[0],P=O[1];if(!b)return(0,Z.jsx)(Z.Fragment,{});var k=null===(n=b.decisionDebugStacks)||void 0===n||null===(n=n[0])||void 0===n||null===(n=n.stack)||void 0===n?void 0:n.length;if(!k)return(0,Z.jsx)(Z.Fragment,{});var D=(0,o.Z)(Array(k).keys()),E=b.decisionDebugStacks.map((function(e){return e.stack.map((function(e){var n,t;return _objectSpread(_objectSpread({},e),{},{bold:!(null===(n=e.decision.Options)||void 0===n||!n.includes("OPT"+w))||(null===(t=e.decision.DOC)||void 0===t?void 0:t.find((function(e){var n;return null===(n=e.DA)||void 0===n?void 0:n.find((function(e){return e.OptionCodex==w}))})))})}))}));return(0,Z.jsxs)("div",_objectSpread(_objectSpread({},t),{},{className:A()(t.className,S.fm,r.uiState.configSettingsIsExpanded?u.NF:void 0),style:{zIndex:800},children:[(0,Z.jsxs)("a",{className:S.Fs,children:["Decision history",(0,Z.jsx)("input",{value:w,onChange:function onChange(e){return P(e.target.value)},placeholder:"filter option ohne OPT"})]}),(0,Z.jsxs)("div",{children:[(0,Z.jsxs)("table",{className:S.Kz,children:[(0,Z.jsx)("thead",{children:(0,Z.jsx)("tr",{className:S.$Q,children:E.map((function(e,n){var t="";for(var r in b.decisionDebugStacks[n].variantValues)t=t+r+": "+b.decisionDebugStacks[n].variantValues[r]+"\n";return(0,Z.jsx)("th",{children:t},n)}))})}),(0,Z.jsx)("tbody",{children:D.map((function(e,n){return(0,Z.jsx)("tr",{className:S.$Q,children:E.map((function(e,t){var r,o;return(0,Z.jsx)("th",{onClick:function onClick(){return function onClick(e,n){e==(null==v?void 0:v.Number)?g(void 0):g(n)}(e[n].nr,e[n].decision)},children:e[n].bold?(0,Z.jsx)("strong",{children:null===(r=e[n])||void 0===r?void 0:r.text}):null===(o=e[n])||void 0===o?void 0:o.text},t)}))},n)}))})]}),v&&(0,Z.jsx)("div",{className:S.EC,children:(0,Z.jsx)(_.default,{decision:v})})]})]}))}))},43233:(e,n,t)=>{t.r(n),t.d(n,{default:()=>N});var r=t(80248),o=t(84658),i=t(34988),a=t(72874),l=t(50747),s=t.n(l),c=t(65515),d=t.n(c),u=t(9420),p=t(87363),h=t(83055),f=t(93379),x=t.n(f),b=t(7795),m=t.n(b),j=t(90569),v=t.n(j),g=t(3565),y=t.n(g),O=t(19216),w=t.n(O),S=t(44589),P=t.n(S),C=t(13689),k={};k.styleTagTransform=P(),k.setAttributes=y(),k.insert=v().bind(null,"head"),k.domAPI=m(),k.insertStyleElement=w();x()(C.ZP,k);C.ZP&&C.ZP.locals&&C.ZP.locals;var D=t(47514),A=["onMouseDown"];function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const N=(0,u.Pi)((function EkTextViewer(e){var n=e.onMouseDown,t=(0,a.Z)(e,A),r=(0,h.NP)(),l=(0,p.useState)(""),c=(0,i.Z)(l,2),u=c[0],f=c[1],x=(0,p.useState)([]),b=(0,i.Z)(x,2),m=b[0],j=b[1],v=function(){var e=(0,o.Z)(s().mark((function _callee(){var e,n,t;return s().wrap((function _callee$(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,r.divaWebPlanner.getBasketDataWithEkText();case 2:if(t=o.sent){o.next=5;break}return o.abrupt("return");case 5:f(null!==(e=t.getEKText())&&void 0!==e?e:""),j(null!==(n=t.SAPOrderLines)&&void 0!==n?n:[]);case 7:case"end":return o.stop()}}),_callee)})));return function getEkText(){return e.apply(this,arguments)}}();return(0,p.useEffect)((function(){v()}),[r.settingsState.configChanged]),(0,D.jsx)("div",_objectSpread(_objectSpread({},t),{},{className:d()(t.className,C.fm),children:(0,D.jsxs)("div",{className:C.YS,children:[(0,D.jsx)("a",{className:C.Fs,onMouseDown:n,children:"EkText Übersicht"}),!!m.length&&(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)("h3",{children:"SapOrderLines"}),(0,D.jsxs)("table",{className:C.Kz,children:[(0,D.jsx)("thead",{children:(0,D.jsxs)("tr",{className:C.$Q,children:[(0,D.jsx)("th",{children:"Name"}),(0,D.jsx)("th",{children:"EkText"}),(0,D.jsx)("th",{children:"Preis"}),(0,D.jsx)("th",{children:"Artikle Nr."}),(0,D.jsx)("th",{children:"Retail Artikle Nr."}),(0,D.jsx)("th",{children:"Prefix"}),(0,D.jsx)("th",{children:"Menge"}),(0,D.jsx)("th",{children:"PosNr"})]})}),(0,D.jsx)("tbody",{children:m.map((function(e,n){var t;return(0,D.jsxs)("tr",{className:C.$Q,children:[(0,D.jsxs)("th",{children:[" ",e.Name]}),e.OrderText?(0,D.jsx)("th",{dangerouslySetInnerHTML:{__html:e.OrderText.replace(/\r\n/g,"<br>")}}):(0,D.jsx)("th",{}),(0,D.jsxs)("th",{children:[" ",null!==(t=e.Price)&&void 0!==t?t:0," "]}),(0,D.jsxs)("th",{children:[" ",e.ArticleNr," "]}),(0,D.jsxs)("th",{children:[" ",e.RetailArticleName," "]}),(0,D.jsxs)("th",{children:[e.ArticleNrPrefix," "]}),(0,D.jsxs)("th",{children:[e.Quantity," "]}),(0,D.jsx)("th",{children:e.PosNr})]},n)}))})]})]}),(0,D.jsxs)("div",{children:[(0,D.jsx)("button",{onClick:function onClick(){var e;return null===(e=navigator.clipboard)||void 0===e?void 0:e.writeText(u)},children:"kopieren"}),(0,D.jsx)("div",{className:C.nG,dangerouslySetInnerHTML:{__html:u.replace(/\r\n/g,"<br>")}})]})]})}))}))},35631:(e,n,t)=>{t.r(n),t.d(n,{default:()=>s});var r=t(80248),o=t(9420),i=(t(87363),t(72072)),a=t(16921),l=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const s=(0,o.Pi)((function J3DEditor(e){return(0,l.jsx)(i.default,_objectSpread(_objectSpread({},e),{},{className:e.className,style:{userSelect:"text"},ChildComponent:a.default,settings:[{key:"J3D",name:"J3D Editor"}],title:"Artikel Übersicht"}))}))},70697:(e,n,t)=>{t.r(n),t.d(n,{default:()=>Z});var r=t(80248),o=t(84658),i=t(34988),a=t(72874),l=t(50747),s=t.n(l),c=t(87363),d=t(51203),u=t(93379),p=t.n(u),h=t(7795),f=t.n(h),x=t(90569),b=t.n(x),m=t(3565),j=t.n(m),v=t(19216),g=t.n(v),y=t(44589),O=t.n(y),w=t(15909),S={};S.styleTagTransform=O(),S.setAttributes=j(),S.insert=b().bind(null,"head"),S.domAPI=f(),S.insertStyleElement=g();p()(w.ZP,S);w.ZP&&w.ZP.locals&&w.ZP.locals;var P=t(83055),C=t(9420),k=t(65515),D=t.n(k),A=t(88683),N=t(47514),_=["onMouseDown"];function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const Z=(0,C.Pi)((function ArticleOverview(e){var n,t=e.onMouseDown,r=(0,a.Z)(e,_),l=(0,P.NP)(),u=Object.values(null!==(n=l.divaWebPlanner.getDivaArticles())&&void 0!==n?n:{}),p=(0,c.useState)(!1),h=(0,i.Z)(p,2),f=h[0],x=h[1];return(0,c.useEffect)((function(){var e=function(){var e=(0,o.Z)(s().mark((function _callee(){return s().wrap((function _callee$(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A.DivaUtils.Sleep(1e3);case 2:x(!f);case 3:case"end":return e.stop()}}),_callee)})));return function asyncFunct(){return e.apply(this,arguments)}}();e()}),[l.settingsState.configChanged]),l.productState.formatedTotalPrice,(0,N.jsxs)("div",_objectSpread(_objectSpread({},r),{},{className:D()(r.className,w.fm,l.uiState.configSettingsIsExpanded?d.NF:void 0),children:[(0,N.jsx)("a",{className:w.Fs,onMouseDown:t,children:"Artikel Übersicht"}),(0,N.jsxs)("table",{className:w.Kz,children:[(0,N.jsx)("thead",{children:(0,N.jsxs)("tr",{className:w.$Q,children:[(0,N.jsx)("th",{children:"Name"}),(0,N.jsx)("th",{children:"ArticleCodex"}),(0,N.jsx)("th",{children:"CatalogCodex"}),(0,N.jsx)("th",{children:"Preis"}),(0,N.jsx)("th",{children:"Bruttopreis"}),(0,N.jsx)("th",{children:"Discount Prozent"}),(0,N.jsx)("th",{children:"Menge"})]})}),(0,N.jsx)("tbody",{children:Object.values(u).map((function(e,n){var t,r,o;return(0,N.jsxs)("tr",{className:w.$Q,children:[(0,N.jsxs)("th",{children:[" ",e.name]}),(0,N.jsxs)("th",{children:[e.articleCodex," "]}),(0,N.jsxs)("th",{children:[e.catalogCodex," "]}),(0,N.jsxs)("th",{children:[" ",null!==(t=e.price)&&void 0!==t?t:0," "]}),(0,N.jsxs)("th",{children:[" ",null!==(r=e.bruttoCalcPrice)&&void 0!==r?r:0," "]}),(0,N.jsxs)("th",{children:[" ",null!==(o=e.discountPercentage)&&void 0!==o?o:0," "]}),(0,N.jsxs)("th",{children:[e.quantity," "]})]},e.basketId)}))})]})]}))}))},75033:(e,n,t)=>{t.r(n),t.d(n,{default:()=>k});var r=t(80248),o=t(34988),i=t(87363),a=t(93379),l=t.n(a),s=t(7795),c=t.n(s),d=t(90569),u=t.n(d),p=t(3565),h=t.n(p),f=t(19216),x=t.n(f),b=t(44589),m=t.n(b),j=t(77648),v={};v.styleTagTransform=m(),v.setAttributes=h(),v.insert=u().bind(null,"head"),v.domAPI=c(),v.insertStyleElement=x();l()(j.ZP,v);j.ZP&&j.ZP.locals&&j.ZP.locals;var g=t(9420),y=t(65515),O=t.n(y),w=t(1463),S=t.n(w),P=t(83055),C=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const k=(0,g.Pi)((function MaskEditor(e){var n,t=(0,P.NP)(),r=(0,i.useRef)(null),a=(0,i.useRef)(null),l=(0,i.useState)(!0),s=(0,o.Z)(l,2),c=s[0],d=s[1],u=null===(n=t.divaWebPlanner.getCatalogData())||void 0===n?void 0:n.catalogMask,p=(0,i.useState)(null!=u?u:{}),h=(0,o.Z)(p,2),f=h[0],x=(h[1],{mode:"code",onChange:function onChange(){try{var e=a.current,n=(e.get(),e.validate());d(n)}catch(e){return void d(!1)}}});(0,i.useEffect)((function(){r.current&&(a.current||(a.current=new(S())(r.current,x)),a.current&&a.current.set(f))}),[f]);return(0,C.jsxs)("div",_objectSpread(_objectSpread({},e),{},{className:O()(j.YS,e.className),children:["MaskEditor",(0,C.jsx)("div",{ref:r,id:"jsoneditor",style:{width:"100%",height:"calc(100% - 300px)"}}),(0,C.jsx)("div",{className:j.Yq,children:(0,C.jsx)("button",{className:j.LI,disabled:!c,onClick:function onClick(){return function onClickSave(){var e=a.current;if(e.get()&&0!==Object.keys(e.get()).length){var n=e.get(),r=t.divaWebPlanner.getCatalogData();r&&(r.catalogMask=n),t.divaWebPlanner.updateWebConfiguratorTitle(),t.paletteViewHandler.updateCurPaletteData(!0),t.uiState.setActiveCatalogSection("3D/2D"),t.productState.updatePlannerMsgContainer("ACCESSOIRE_MSG",!0,"INFO","Speicherung erfolgreich",!0)}else alert("Cannot save empty value")}()},children:"Save"})})]}))}))},97078:(e,n,t)=>{t.r(n),t.d(n,{default:()=>y});var r=t(80248),o=t(84658),i=t(34988),a=t(72874),l=t(50747),s=t.n(l),c=t(87363),d=t(51203),u=t(93476),p=t(83055),h=t(9420),f=t(65515),x=t.n(f),b=t(88683),m=t(47514),j=["onMouseDown"];function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var v=function getPartlistArticles(e,n){for(var t in e.partlistArticles){var r=e.partlistArticles[t];if(r.hasPartlistArticle)n.push(g(r,!0)),n=v(r,n);else{for(var o=!1,i=0;i<n.length;i++)if(r.articleCodex===n[i].articleCodex&&r.retailArticleNr===n[i].retailArticleNr&&r.retailPrefix===n[i].retailPrefix&&r.catalogCodex===n[i].catalogCodex){o=!0,n[i].quantity+=r.quantity;break}o||n.push(g(r))}}return n},g=function getPartlsitArticleObj(e,n){var t,r,o,i,a;return{name:(n?"Hülse: ":"")+e.posNr+" "+e.name,price:n?"---":e.price,retailArticleNr:null!==(t=e.retailArticleNr)&&void 0!==t?t:"",retailPrefix:null!==(r=e.retailPrefix)&&void 0!==r?r:"",quantity:e.quantity,ruleDesc:null!==(o=e.ruleDesc)&&void 0!==o?o:"",articleCodex:null!==(i=e.articleCodex)&&void 0!==i?i:"",catalogCodex:null!==(a=e.catalogCodex)&&void 0!==a?a:"",codex:e.articleCodex,rule:e.ruleDesc}};const y=(0,h.Pi)((function PartList(e){var n=e.onMouseDown,t=(0,a.Z)(e,j),r=(0,p.NP)(),l=r.divaWebPlanner.getDivaArticles(),h=(0,c.useState)(!1),f=(0,i.Z)(h,2),g=f[0],y=f[1];(0,c.useEffect)((function(){var e=function(){var e=(0,o.Z)(s().mark((function _callee(){return s().wrap((function _callee$(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b.DivaUtils.Sleep(1e3);case 2:y(!g);case 3:case"end":return e.stop()}}),_callee)})));return function asyncFunct(){return e.apply(this,arguments)}}();e()}),[r.settingsState.configChanged]);var O=[];for(var w in l)O=v(l[w],O);return(0,m.jsxs)("div",_objectSpread(_objectSpread({},t),{},{className:x()(t.className,u.fm,r.uiState.configSettingsIsExpanded?d.NF:void 0),children:[(0,m.jsx)("a",{className:u.Fs,onMouseDown:n,children:"Stücklisten Übersicht"}),(0,m.jsxs)("table",{className:u.Kz,children:[(0,m.jsx)("thead",{children:(0,m.jsxs)("tr",{className:u.$Q,children:[(0,m.jsx)("th",{children:"Name"}),(0,m.jsx)("th",{children:"Artikle Nr."}),(0,m.jsx)("th",{children:"CatalogCodex"}),(0,m.jsx)("th",{children:"Preis"}),(0,m.jsx)("th",{children:"Nr"}),(0,m.jsx)("th",{children:"Prefix"}),(0,m.jsx)("th",{children:"Menge"}),(0,m.jsx)("th",{children:"Rule"})]})}),(0,m.jsx)("tbody",{children:Object.values(O).map((function(e,n){var t;return(0,m.jsxs)("tr",{className:u.$Q,children:[(0,m.jsxs)("th",{children:[" ",e.name]}),(0,m.jsxs)("th",{children:[e.articleCodex," "]}),(0,m.jsxs)("th",{children:[e.catalogCodex," "]}),(0,m.jsxs)("th",{children:[" ",null!==(t=e.price)&&void 0!==t?t:0," "]}),(0,m.jsxs)("th",{children:[" ",e.retailArticleNr," "]}),(0,m.jsxs)("th",{children:[e.retailPrefix," "]}),(0,m.jsxs)("th",{children:[e.quantity," "]}),(0,m.jsx)("th",{children:e.rule})]},e.articleCodex+e.retailArticleNr)}))})]})]}))}))},8350:(e,n,t)=>{t.r(n),t.d(n,{default:()=>S});var r=t(80248),o=t(65515),i=t.n(o),a=t(83055),l=t(87363),s=t(93379),c=t.n(s),d=t(7795),u=t.n(d),p=t(90569),h=t.n(p),f=t(3565),x=t.n(f),b=t(19216),m=t.n(b),j=t(44589),v=t.n(j),g=t(62904),y={};y.styleTagTransform=v(),y.setAttributes=x(),y.insert=h().bind(null,"head"),y.domAPI=u(),y.insertStyleElement=m();c()(g.ZP,y);g.ZP&&g.ZP.locals&&g.ZP.locals;var O=t(9420),w=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const S=(0,O.Pi)((function RTVAnalyzer(e){var n=(0,a.NP)().rtvAnalyzeData,t=(0,l.useRef)(),r=0,o=0,s=0;n.forEach((function(e){return e.active&&(r+=e.sizeMb,"GEO"==e.type?o+=e.sizeMb:s+=e.sizeMb)}));var c=n.filter((function(e){return e.active})).sort((function(e,n){return n.sizeMb-e.sizeMb}));return c=c.map((function(e){var n;return null!==(n=t.current)&&void 0!==n&&n.find((function(n){return e.name==n.name&&1==n.active}))?_objectSpread(_objectSpread({},e),{},{new:!1}):_objectSpread(_objectSpread({},e),{},{new:!0})})),t.current=c,(0,w.jsx)("div",_objectSpread(_objectSpread({},e),{},{className:i()(e.className,g.fm),children:(0,w.jsxs)("div",{className:g.YS,children:[(0,w.jsx)("a",{className:g.Fs,children:"RTV Analyzer"}),(0,w.jsx)("div",{className:g.nC,children:(0,w.jsxs)("table",{className:g.Bm,children:[(0,w.jsxs)("tr",{children:[(0,w.jsx)("th",{children:"Art"}),(0,w.jsx)("th",{children:"Name"}),(0,w.jsx)("th",{children:"Pfad"}),(0,w.jsx)("th",{children:"Geos (std mat)"}),(0,w.jsx)("th",{children:"Größe (MB | %)"})]}),(0,w.jsxs)("tr",{children:[(0,w.jsx)("th",{}),(0,w.jsx)("th",{children:"Gesamt"}),(0,w.jsx)("th",{}),(0,w.jsx)("th",{}),(0,w.jsx)("th",{children:Math.round(100*r)/100+"mb | 100%"})]}),(0,w.jsxs)("tr",{children:[(0,w.jsx)("th",{}),(0,w.jsx)("th",{children:"Geo Gesamt"}),(0,w.jsx)("th",{}),(0,w.jsx)("th",{}),(0,w.jsx)("th",{children:Math.round(100*o)/100+"mb | "+Math.round(o/r*100)+"%"})]}),(0,w.jsxs)("tr",{children:[(0,w.jsx)("th",{}),(0,w.jsx)("th",{children:"Tex Gesamt"}),(0,w.jsx)("th",{}),(0,w.jsx)("th",{}),(0,w.jsx)("th",{children:Math.round(100*s)/100+"mb | "+Math.round(s/r*100)+"%"})]}),c.map((function(e){return(0,w.jsxs)("tr",{style:e.found?e.new?{fontWeight:"bold"}:{}:{color:"red"},children:[(0,w.jsx)("td",{children:e.type}),(0,w.jsx)("td",{children:e.name}),(0,w.jsx)("td",{children:(0,w.jsx)("div",{style:{maxHeight:20,lineBreak:"anywhere",overflow:"hidden",cursor:"copy"},onClick:function onClick(){navigator.clipboard.writeText(e.path)},children:"MAT"!=e.type?e.path.replace(e.path.slice(0,e.path.indexOf("diva3darchiv")+12),""):e.path})}),(0,w.jsx)("td",{children:e.geo}),(0,w.jsx)("td",{children:Math.round(100*e.sizeMb)/100+"mb | "+Math.round(e.sizeMb/r*100)+"%"})]})}))]})})]})}))}))},70685:(e,n,t)=>{t.r(n),t.d(n,{default:()=>c});var r=t(80248),o=t(88291),i=(t(87363),t(9420)),a=t(72072),l=t(82334),s=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const c=(0,i.Pi)((function SVGAnalyser(e){var n=Object.assign({},((0,o.Z)(e),e));return(0,s.jsx)(a.default,_objectSpread(_objectSpread({},n),{},{className:n.className,ChildComponent:l.default,settings:[{key:"SVGSOURCE",name:"SVG Source"},{key:"SVGOVERVIEW",name:"SVG Übersicht"}],title:"SVG Übersicht"}))}))},25139:(e,n,t)=>{t.d(n,{YS:()=>l,ZP:()=>s});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--kKnzn {\n width: 100%;\n position: absolute;\n bottom: 82px;\n z-index: 1000;\n background-color: rgba(200, 200, 200, 0.9);\n overflow: auto;\n}\n\n.index-module--KB3Xr {\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(50%, 50%);\n}\n",""]);var l="index-module--kKnzn";const s=a},89144:(e,n,t)=>{t.d(n,{IU:()=>c,LI:()=>s,YS:()=>l,ZP:()=>u,lI:()=>d});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--B2E8Y {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n /* width: 80%; */\n height: 750px;\n margin-left: 51px;\n margin-right: 10px;\n gap: 10px;\n}\n\n.index-module--Qe3Dm {\n min-height: 45px;\n min-width: 45px;\n max-width: 60px;\n width: auto;\n margin-bottom: 20px;\n}\n.index-module--AG2M4 {\n display: flex;\n flex-direction: column;\n}\n\n.index-module--QweAA {\n font-size: 10px;\n}\n",""]);var l="index-module--B2E8Y",s="index-module--Qe3Dm",c="index-module--AG2M4",d="index-module--QweAA";const u=a},6521:(e,n,t)=>{t.d(n,{$Q:()=>c,EU:()=>l,Kz:()=>s,ZP:()=>u,hv:()=>d});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--orfU0 {\n margin-left: 50px;\n color: rgba(255,255,255,0.42353);\n height: 100vh;\n}\n.index-module--ZQXRQ {\n display: flex;\n flex-direction: column;\n position: relative;\n width: 100%;\n height: 100%;\n\n background-color: rgb(28, 32, 35);\n font-family: var(--diva-typography-font-family);\n font-weight: 100;\n gap: 10px;\n}\n.index-module--zMMBL {\n width: 20%;\n border-bottom: 1px solid;\n}\n.index-module--fJfHX {\n width: 50px;\n height: 50px;\n}\n.index-module--orfU0 textarea {\n background-color: rgb(28, 32, 35);\n color: white;\n width: 97.7%;\n height: 100%;\n padding-top: 2%;\n padding-left: 2%;\n overflow: auto;\n}\n.index-module--orfU0 .index-module--kwewQ {\n max-height: 62.1%;\n transition: max-height 0.5s;\n}\n\n.index-module--UVkGx {\n color: black !important;\n}\n\n.index-module--UVkGx {\n background-color: rgba(96, 245, 96, 0.377);\n}\n.index-module--ZQXRQ img {\n height: 50px;\n width: 50px;\n}\n.index-module--ZQXRQ tbody {\n height: 100%;\n vertical-align: top;\n overflow-y: auto;\n overflow-x: hidden;\n}\n.index-module--ZQXRQ tr th {\n width: 4%;\n}\n.index-module--ZQXRQ tr th:last-child {\n width: 90px;\n}\n.index-module--ZQXRQ thead {\n border-bottom: 1px solid white;\n}\n.index-module--ZQXRQ tbody th {\n width: 23px;\n table-layout: fixed;\n line-break: anywhere;\n font-size: 15px;\n}\n.index-module--ZQXRQ tbody th:nth-child(1) {\n width: 35px;\n}\n.index-module--ZQXRQ tbody th:last-child {\n width: 890px;\n font-size: 9px;\n}\n.index-module--iJwMt {\n background-color: rgba(96, 245, 96, 0.377);\n}\n.index-module--cSh30 {\n top: 10px;\n width: 47.6%;\n text-align: center;\n color: black;\n background-color: rgba(96, 245, 96, 0.377);\n}\n.index-module--BpST3 {\n position: absolute;\n top: 286px;\n width: 100%;\n}\n",""]);var l="index-module--orfU0",s="index-module--ZQXRQ",c="index-module--zMMBL",d="index-module--iJwMt";const u=a},95044:(e,n,t)=>{t.d(n,{YS:()=>l,ZP:()=>d,oF:()=>s,x_:()=>c});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--cA3b1 {\n display: flex;\n flex-direction: column;\n gap: 10px;\n}\n\n.index-module--CJSAc {\n box-shadow: var(--boxShadowHover);\n width: 300px;\n min-width: 100px;\n}\n\n.index-module--h2JpC {\n border-radius: var(--globalBorderRadius);\n border-color: white;\n padding: 2px 12px 3px 10px;\n line-height: 20.8px;\n -webkit-font-smoothing: antialiased;\n -webkit-text-stroke: 0.1px;\n color: var(--secondaryColor);\n cursor: pointer;\n}\n",""]);var l="index-module--cA3b1",s="index-module--CJSAc",c="index-module--h2JpC";const d=a},7046:(e,n,t)=>{t.d(n,{Fs:()=>c,YS:()=>l,ZP:()=>u,fm:()=>s,nC:()=>d});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--tlOAN {\n display: flex;\n flex-direction: column;\n width: calc(100% - 5px);\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n background-color: #fff;\n}\n.index-module--Y4cLX {\n overflow: auto;\n left: 50px;\n}\n.index-module--mAsES {\n height: 8%;\n width: 100%;\n padding-top: 0.7%;\n text-align: center;\n background-color: var(--primaryColor);\n font-size: 30px;\n color: white;\n font-weight: 600;\n}\n.index-module--Ool1Y {\n width: calc(100% - 40px);\n margin: 20px;\n display: flex;\n flex-direction: column;\n gap: 20px;\n}\n",""]);var l="index-module--tlOAN",s="index-module--Y4cLX",c="index-module--mAsES",d="index-module--Ool1Y";const u=a},33981:(e,n,t)=>{t.d(n,{$Q:()=>s,EC:()=>u,Fs:()=>d,Kz:()=>l,ZP:()=>p,fm:()=>c});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--sS9Y_ {\n position: relative;\n width: 100%;\n height: 100%;\n background-color: #ffffff;\n border-collapse: collapse;\n border-width: 0px;\n border-color: #e7eaf8;\n border-style: solid;\n color: #000000;\n font-weight: normal;\n font-family: var(--diva-typography-font-family);\n font-weight: 100;\n overflow-y: auto;\n top: 73px;\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n}\n.index-module--sS9Y_ thead {\n font-weight: bold !important;\n}\n.index-module--sS9Y_ thead {\n border-bottom: 1px solid;\n background-color: var(--thirdColor);\n font-size: 16px;\n padding-top: 1%;\n color: white;\n}\n.index-module--O5GJU {\n text-align: left;\n}\n.index-module--O5GJU:first-child {\n height: 20px;\n}\n\n.index-module--O5GJU th {\n border-bottom: 1px solid;\n padding-right: 10px;\n margin-bottom: 1%;\n font-weight: normal;\n}\n.index-module--bBk4P {\n overflow: auto;\n left: 50px;\n}\n.index-module--sBWMs {\n height: 8%;\n width: 100%;\n padding-top: 0.7%;\n text-align: center;\n position: absolute;\n background-color: var(--primaryColor);\n font-size: 30px;\n color: white;\n font-weight: 600;\n}\n\n.index-module--XrXfq {\n z-index: 100;\n position: fixed;\n top: 0;\n right: 240px;\n width: 700px;\n height: 100%;\n background-color: #fff;\n overflow: auto;\n}\n",""]);var l="index-module--sS9Y_",s="index-module--O5GJU",c="index-module--bBk4P",d="index-module--sBWMs",u="index-module--XrXfq";const p=a},13689:(e,n,t)=>{t.d(n,{$Q:()=>p,Fs:()=>c,Kz:()=>u,YS:()=>l,ZP:()=>h,fm:()=>s,nG:()=>d});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--dRdX7 {\n display: flex;\n flex-direction: column;\n width: calc(100% - 5px);\n\n -webkit-user-select: text;\n\n -moz-user-select: text;\n\n user-select: text;\n background-color: #fff;\n}\n.index-module--JnUb8 {\n overflow: auto;\n left: 50px;\n}\n.index-module--qSiiY {\n height: 8%;\n width: 100%;\n padding-top: 0.7%;\n text-align: center;\n background-color: var(--primaryColor);\n font-size: 30px;\n color: white;\n font-weight: 600;\n}\n\n.index-module--BYi2l {\n margin-left: 200px;\n background-color: #fff;\n font-weight: 600;\n max-height: 92%;\n height: auto;\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n}\n\n.index-module--etPY7 {\n position: relative;\n width: 100%;\n height: 100%;\n background-color: #ffffff;\n border-collapse: collapse;\n border-color: #e7eaf8;\n border-style: solid;\n border-width: 0px;\n color: #000000;\n font-weight: normal;\n font-family: var(--diva-typography-font-family);\n font-weight: 100;\n overflow-y: auto;\n}\n.index-module--etPY7 thead {\n font-weight: bold !important;\n}\n.index-module--etPY7 thead {\n border-bottom: 1px solid;\n /* min-width: 20px; */\n background-color: var(--thirdColor);\n font-size: 16px;\n padding-top: 1%;\n}\n.index-module--vMmTT {\n text-align: left;\n}\n.index-module--vMmTT:first-child {\n height: 20px;\n}\n.index-module--vMmTT th:nth-child(1) {\n width: 40%;\n border-bottom: 1px solid;\n}\n.index-module--vMmTT th {\n border-bottom: 1px solid;\n padding-right: 10px;\n margin-bottom: 1%;\n font-weight: normal;\n}\n.index-module--vMmTT th:last-child {\n font-size: 12px;\n}\n",""]);var l="index-module--dRdX7",s="index-module--JnUb8",c="index-module--qSiiY",d="index-module--BYi2l",u="index-module--etPY7",p="index-module--vMmTT";const h=a},15909:(e,n,t)=>{t.d(n,{$Q:()=>s,Fs:()=>d,Kz:()=>l,ZP:()=>u,fm:()=>c});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--kRnTO {\n position: relative;\n width: 100%;\n height: -moz-fit-content;\n height: fit-content;\n background-color: #ffffff;\n border-collapse: collapse;\n border-width: 0px;\n border-color: #e7eaf8;\n border-style: solid;\n color: #000000;\n font-weight: normal;\n font-family: var(--diva-typography-font-family);\n font-weight: 100;\n overflow-y: auto;\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n}\n.index-module--kRnTO thead {\n font-weight: bold !important;\n}\n.index-module--kRnTO thead {\n border-bottom: 1px solid;\n /* min-width: 20px; */\n background-color: var(--thirdColor);\n font-size: 16px;\n padding-top: 1%;\n color: black;\n}\n.index-module--Vrir_ {\n text-align: left;\n height: 20px;\n}\n.index-module--Vrir_ th:nth-child(1) {\n width: 40%;\n border-bottom: 1px solid;\n}\n.index-module--Vrir_ th {\n border-bottom: 1px solid;\n padding-right: 10px;\n margin-bottom: 1%;\n font-weight: normal;\n}\n.index-module--Vrir_ th:last-child {\n font-size: 12px;\n}\n.index-module--I8vaR {\n overflow: auto;\n left: 50px;\n display: flex;\n flex-direction: column;\n height: auto;\n}\n.index-module--pl89e {\n height: 46px;\n width: 100%;\n padding-top: 0.7%;\n text-align: center;\n background-color: var(--primaryColor);\n font-size: 30px;\n color: white;\n font-weight: 600;\n cursor: ns-resize;\n}\n",""]);var l="index-module--kRnTO",s="index-module--Vrir_",c="index-module--I8vaR",d="index-module--pl89e";const u=a},77648:(e,n,t)=>{t.d(n,{LI:()=>c,YS:()=>l,Yq:()=>s,ZP:()=>d});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--e2swR {\n background-color: rgba(244, 244, 244, 0.8);\n position: absolute;\n margin-left: 50px;\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n z-index: 1000;\n}\n.index-module--byqXs {\n margin-top: 12px;\n display: flex;\n}\n.index-module--edLvC {\n}\n",""]);var l="index-module--e2swR",s="index-module--byqXs",c="index-module--edLvC";const d=a},62904:(e,n,t)=>{t.d(n,{Bm:()=>u,Fs:()=>c,YS:()=>l,ZP:()=>p,fm:()=>s,nC:()=>d});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--vimXW {\n display: flex;\n flex-direction: column;\n width: calc(100% - 5px);\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n background-color: rgba(255, 255, 255, 0.384);\n}\n.index-module--XF0jR {\n overflow: auto;\n left: 50px;\n}\n.index-module--oJ5Mn {\n height: 8%;\n width: 100%;\n padding-top: 0.7%;\n text-align: center;\n background-color: var(--primaryColor);\n font-size: 30px;\n color: white;\n font-weight: 600;\n}\n.index-module--PllSF {\n width: calc(100% - 40px);\n margin: 20px;\n display: flex;\n flex-direction: column;\n gap: 20px;\n}\n.index-module--k9y7K td,\n.index-module--k9y7K th {\n border: 1px solid rgba(221,221,221,0.35686);\n text-align: left;\n}\n\n.index-module--k9y7K tr:nth-child(even) {\n background-color: rgba(221,221,221,0.35686);\n}\n",""]);var l="index-module--vimXW",s="index-module--XF0jR",c="index-module--oJ5Mn",d="index-module--PllSF",u="index-module--k9y7K";const p=a},85399:(e,n,t)=>{t.d(n,{$Q:()=>x.$Q,EU:()=>x.EU,Kz:()=>x.Kz,hv:()=>x.hv});var r=t(93379),o=t.n(r),i=t(7795),a=t.n(i),l=t(90569),s=t.n(l),c=t(3565),d=t.n(c),u=t(19216),p=t.n(u),h=t(44589),f=t.n(h),x=t(6521),b={};b.styleTagTransform=f(),b.setAttributes=d(),b.insert=s().bind(null,"head"),b.domAPI=a(),b.insertStyleElement=p();o()(x.ZP,b),x.ZP&&x.ZP.locals&&x.ZP.locals},20196:(e,n,t)=>{t.d(n,{YS:()=>x.YS,oF:()=>x.oF,x_:()=>x.x_});var r=t(93379),o=t.n(r),i=t(7795),a=t.n(i),l=t(90569),s=t.n(l),c=t(3565),d=t.n(c),u=t(19216),p=t.n(u),h=t(44589),f=t.n(h),x=t(95044),b={};b.styleTagTransform=f(),b.setAttributes=d(),b.insert=s().bind(null,"head"),b.domAPI=a(),b.insertStyleElement=p();o()(x.ZP,b),x.ZP&&x.ZP.locals&&x.ZP.locals}}]);
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see 9874.diva-web-planner-react.umd.min.js.LICENSE.txt */
2
- "use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[9874,6921,3222],{16921:(e,n,t)=>{t.r(n),t.d(n,{default:()=>D});var r=t(84658),o=t(34988),i=t(50747),a=t.n(i),l=t(87363),s=t(9420),c=t(83055),d=t(1463),u=t.n(d),p=t(93379),h=t.n(p),f=t(7795),x=t.n(f),b=t(90569),m=t.n(b),j=t(3565),g=t.n(j),v=t(19216),y=t.n(v),O=t(44589),w=t.n(O),S=t(89144),P={};P.styleTagTransform=w(),P.setAttributes=g(),P.insert=m().bind(null,"head"),P.domAPI=x(),P.insertStyleElement=y();h()(S.ZP,P);S.ZP&&S.ZP.locals&&S.ZP.locals;var C=t(95588),k=t(47514);const D=(0,s.Pi)((function JsonEditor(e){var n=e.json,t=(e.plannerArticles,e.curBox),i=e.divaArticles,s=(0,c.NP)(),d=(0,l.useRef)(null),p=(0,l.useRef)(null),h=(0,l.useState)(null!=n?n:{}),f=(0,o.Z)(h,2),x=f[0],b=f[1],m=(0,l.useState)(!0),j=(0,o.Z)(m,2),g=j[0],v=j[1],y=(0,l.useState)([]),O=(0,o.Z)(y,2),w=O[0],P=O[1],D=i[t],A={mode:"code",onChange:function onChange(){try{var e=p.current,n=(e.get(),e.validate());v(n)}catch(e){return void v(!1)}}};(0,l.useEffect)((function(){b(n)})),(0,l.useEffect)((function(){d.current&&(p.current||(p.current=new(u())(d.current,A)),p.current&&p.current.set(x))}),[x]);var N=function(){var e=(0,r.Z)(a().mark((function _callee(){var e;return a().wrap((function _callee$(n){for(;;)switch(n.prev=n.next){case 0:if((e=p.current).get()&&0!==Object.keys(e.get()).length){n.next=4;break}return alert("Cannot save empty value"),n.abrupt("return");case 4:return D.catalogArticle.modifiedJ3D=e.get(),D.resetShelfPlanner(),n.next=8,D.updateShelfPlannerState({});case 8:s.paletteViewHandler.updateCurPaletteData(!1),setModifiedInfo(),alert("Saved");case 11:case"end":return n.stop()}}),_callee)})));return function onClickSave(){return e.apply(this,arguments)}}();function setModifiedInfo(){var e,n=null===(e=s.divaWebPlanner.getCatalogData())||void 0===e?void 0:e.allCatalogArticles,t=[];for(var r in n)n[r].catalogArticle.modifiedJ3D&&t.push({articleCodex:r,j3d:JSON.stringify(n[r].catalogArticle.modifiedJ3D)});P(t)}return(0,k.jsxs)("div",{className:S.YS,children:[(0,k.jsx)("div",{ref:d,id:"jsoneditor",style:{width:"90%",height:"100%"}}),(0,k.jsxs)("div",{className:S.IU,children:[(0,k.jsx)("button",{className:S.LI,disabled:!g,onClick:function onClick(){return N()},children:"Save"}),(0,k.jsx)("button",{className:S.LI,onClick:function onClick(){return function onClickExport(){if(w&&0!==w.length)for(var e=0;e<w.length;e++)C.ZP.downloadStringAsTxtFile(w[e].j3d,"text/plain",w[e].articleCodex+".txt");else alert("No modified Article found")}()},children:"Export modified J3D"}),(0,k.jsxs)("div",{children:[(0,k.jsx)("h5",{children:"Modified Articles"}),w.map((function(e,n){return(0,k.jsx)("p",{className:S.lI,children:e.articleCodex},n)}))]})]})]})}))},3958:(e,n,t)=>{t.r(n),t.d(n,{default:()=>m});var r=t(80248),o=t(84658),i=t(34988),a=t(72874),l=t(50747),s=t.n(l),c=t(87363),d=t(9420),u=t(85399),p=t(65515),h=t.n(p),f=t(83055),x=t(47514),b=["plannerArticles","curBox","isExpanded"];function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const m=(0,d.Pi)((function SVGOverview(e){var n=e.plannerArticles,t=e.curBox,r=(e.isExpanded,(0,a.Z)(e,b)),l=(0,f.NP)(),d=(0,c.useState)("None"),p=(0,i.Z)(d,2),m=p[0],j=p[1],g=l.divaWebPlanner.getDivaArticles();if(!g)return(0,x.jsx)(x.Fragment,{});var v=Object.values(g).filter((function(e){return e.hasCatalogPlannerArticle})),y=n[t],O=v[t],w="",S="",P=[];if(void 0===y)return(0,x.jsx)(x.Fragment,{});if(y.topSvgsWithFormula){var C;null===(C=O.plannerData)||void 0===C||C.curSVG;var k=y.topSvgsWithFormula.find((function(e){var n;return e.SVG===(null===(n=O.plannerData)||void 0===n?void 0:n.curSVG)}));if(k){for(var D=0;D<y.topSvgsWithFormula.length;D++)P.push(y.topSvgsWithFormula[D]);S=O.CatalogData.getCatImageURL(null==k?void 0:k.SVG,""),w=k.SVG,null==k||k.JsFormula}}if(S||(S=O.CatalogData.getCatImageURL(y.topSvg,""),P.push({SVG:S,Layer:y.topLayer,AVC:y.topAVC,AVO:y.topAVO,AVU:y.topAVU,AVN:y.topAVN,AVS:y.topAVS,HasAVL:y.topHasAVL,HasAVR:y.topHasAVR,JsFormula:""})),""!==S){var A=function(){var e=(0,o.Z)(s().mark((function _callee(e){var n;return s().wrap((function _callee$(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fetch(e);case 2:return n=t.sent,t.t0=j,t.next=6,n.text();case 6:t.t1=t.sent,(0,t.t0)(t.t1);case 8:case"end":return t.stop()}}),_callee)})));return function getSVG(n){return e.apply(this,arguments)}}();A(S)}else"None"!=m&&j("None");return(0,x.jsx)("div",_objectSpread(_objectSpread({},r),{},{className:h()(u.EU),children:(0,x.jsxs)("table",{className:u.Kz,children:[(0,x.jsx)("thead",{children:(0,x.jsxs)("tr",{className:u.$Q,children:[(0,x.jsx)("th",{children:"Nr"}),(0,x.jsx)("th",{children:"SVG"}),(0,x.jsx)("th",{children:"Layer"}),(0,x.jsx)("th",{children:"AVC"}),(0,x.jsx)("th",{children:"AVO"}),(0,x.jsx)("th",{children:"AVU "}),(0,x.jsx)("th",{children:"AVN "}),(0,x.jsx)("th",{children:"AVS "}),(0,x.jsx)("th",{children:"HasAVL "}),(0,x.jsx)("th",{children:"HasAVR "}),(0,x.jsx)("th",{children:"JSFormula "})]})}),(0,x.jsx)("tbody",{children:Object.values(P).map((function(e,n){return(0,x.jsxs)("tr",{className:e.SVG===w?u.hv:void 0,children:[(0,x.jsx)("th",{children:n+1}),(0,x.jsx)("th",{children:(0,x.jsx)("img",{src:O.CatalogData.getCatImageURL(e.SVG,"")})}),(0,x.jsx)("th",{children:e.Layer}),(0,x.jsx)("th",{children:e.AVC}),(0,x.jsx)("th",{children:e.AVO}),(0,x.jsx)("th",{children:e.AVU}),(0,x.jsx)("th",{children:e.AVN}),(0,x.jsx)("th",{children:e.AVS}),(0,x.jsx)("th",{children:e.HasAVL}),(0,x.jsx)("th",{children:e.HasAVR}),(0,x.jsx)("th",{children:e.JsFormula})]},e.JsFormula)}))})]})}))}))},31482:(e,n,t)=>{t.r(n),t.d(n,{default:()=>m});var r=t(80248),o=t(84658),i=t(34988),a=t(72874),l=t(50747),s=t.n(l),c=t(87363),d=t(9420),u=t(85399),p=t(65515),h=t.n(p),f=t(83055),x=t(47514),b=["plannerArticles","curBox","isExpanded"];function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const m=(0,d.Pi)((function SVGSourceViewer(e){var n=e.plannerArticles,t=e.curBox,r=(e.isExpanded,(0,a.Z)(e,b)),l=(0,f.NP)(),d=(0,c.useState)("None"),p=(0,i.Z)(d,2),m=p[0],j=p[1],g=l.divaWebPlanner.getDivaArticles();if(!g)return(0,x.jsx)(x.Fragment,{});var v=Object.values(g).filter((function(e){return e.hasCatalogPlannerArticle})),y=n[t],O=v[t],w="";if(void 0===y)return(0,x.jsx)(x.Fragment,{});if(y.topSvgsWithFormula){var S;null===(S=O.plannerData)||void 0===S||S.curSVG;var P=y.topSvgsWithFormula.find((function(e){var n;return e.SVG===(null===(n=O.plannerData)||void 0===n?void 0:n.curSVG)}));null!=P&&P.SVG&&(w=O.CatalogData.getCatImageURL(P.SVG,""))}if(w||(w=O.CatalogData.getCatImageURL(y.topSvg,"")),""!==w){var C=function(){var e=(0,o.Z)(s().mark((function _callee(e){var n;return s().wrap((function _callee$(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fetch(e);case 2:return n=t.sent,t.t0=j,t.next=6,n.text();case 6:t.t1=t.sent,(0,t.t0)(t.t1);case 8:case"end":return t.stop()}}),_callee)})));return function getSVG(n){return e.apply(this,arguments)}}();C(w)}else"None"!=m&&j("None");return(0,x.jsx)("div",_objectSpread(_objectSpread({},r),{},{className:h()(u.EU),children:(0,x.jsx)("textarea",{readOnly:!0,value:m})}))}))},82334:(e,n,t)=>{t.r(n),t.d(n,{default:()=>l});var r=t(9420),o=(t(87363),t(3958)),i=t(31482),a=t(47514);const l=(0,r.Pi)((function index(e){if("SVGOVERVIEW"===e.selectedJson)var n=(0,a.jsx)(o.default,{plannerArticles:e.plannerArticles,curBox:e.curBox,isExpanded:e.isExpanded});else n=(0,a.jsx)(i.default,{plannerArticles:e.plannerArticles,curBox:e.curBox,isExpanded:e.isExpanded});return(0,a.jsx)("div",{children:n})}))},73812:(e,n,t)=>{t.r(n),t.d(n,{default:()=>h});var r=t(34988),o=t(65515),i=t.n(o),a=t(87363),l=t(10304),s=t(20196),c=t(30913),d=t(83055),u=t(47514),p=["IMAGE","TEXT","DROPDOWN_TEXT","TOGGLE_NAME","TOGGLE","DROPDOWN_IMAGE","GAL_SMALL_GROUP_DROPDOWN","NUMBER","GAL_BIG","GAL_GROUP_DROPDOWN","TEXTBOX","GAL_TEXT","GAL_BIG_TEXT","GAL_SMALL_TEXT"];const h=function LayoutSelection(e){var n=e.option,t=(0,a.useState)(n.layout),o=(0,r.Z)(t,1)[0],h=(0,a.useState)(),f=(0,r.Z)(h,2),x=f[0],b=f[1],m=(0,d.NP)();(0,a.useEffect)((function(){n.layout=null!=x?x:o,m.paletteViewHandler.updateCurPaletteData(!0)}),[x]),(0,a.useEffect)((function(){return function(){n.layout=o,m.paletteViewHandler.updateCurPaletteData(!0)}}),[]);var j=(0,u.jsx)(c.default,{onClick:function onClick(){return b(void 0)},open:!1,iconAsDelete:!!x});return(0,u.jsxs)("div",{className:s.YS,children:["Layout:",(0,u.jsx)(l.Z,{className:i()(s.oF),controlClassName:s.x_,options:p,value:x,onChange:function onChange(e){return b(e.value)},placeholder:o,arrowClosed:j,arrowOpen:j})]})}},27810:(e,n,t)=>{t.r(n),t.d(n,{default:()=>d});var r=t(65515),o=t.n(r),i=t(9420),a=(t(87363),t(10304)),l=t(20196),s=t(30913),c=t(47514);const d=(0,i.Pi)((function OptionsSelector(e){var n=e.options,t=e.optionState,r=(0,c.jsx)(s.default,{onClick:function onClick(){return t[1](void 0)},open:!1,iconAsDelete:!!t[0]});return(0,c.jsx)("div",{className:l.YS,children:(0,c.jsx)(a.Z,{className:o()(l.oF),controlClassName:l.x_,options:n.map((function(e){return{label:e.name,value:e.codex}})),value:t[0],onChange:function onChange(e){return t[1](e.value)},placeholder:"Option",arrowClosed:r,arrowOpen:r})})}))},82714:(e,n,t)=>{t.r(n),t.d(n,{default:()=>_});var r=t(80248),o=t(84658),i=t(34988),a=t(50747),l=t.n(a),s=t(65515),c=t.n(s),d=t(9420),u=t(83055),p=t(87363),h=t(93379),f=t.n(h),x=t(7795),b=t.n(x),m=t(90569),j=t.n(m),g=t(3565),v=t.n(g),y=t(19216),O=t.n(y),w=t(44589),S=t.n(w),P=t(7046),C={};C.styleTagTransform=S(),C.setAttributes=v(),C.insert=j().bind(null,"head"),C.domAPI=b(),C.insertStyleElement=O();f()(P.ZP,C);P.ZP&&P.ZP.locals&&P.ZP.locals;var k=t(27810),D=t(73812),A=t(88683),N=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const _=(0,d.Pi)((function CatalogMakeup(e){var n=(0,u.NP)(),t=(0,p.useState)([]),r=(0,i.Z)(t,2),a=r[0],s=r[1],d=(0,p.useState)(),h=(0,i.Z)(d,2),f=h[0],x=h[1],b=null==a?void 0:a.find((function(e){return e.codex===f}));(0,p.useEffect)((function(){var e=n.divaWebPlanner.actSet(),t=null==e?void 0:e.CatalogData.getOptions();null!=t&&t.length&&s(t)}),[n.settingsState.configChanged]),(0,p.useEffect)((function(){var e=null==a?void 0:a.find((function(e){return e.codex===f}));e&&m(e)}),[f]);var m=function(){var e=(0,o.Z)(l().mark((function _callee(e){var t;return l().wrap((function _callee$(r){for(;;)switch(r.prev=r.next){case 0:if(!(t=n.configuratorStructureHandler.getFirstConfigStepByOptionCodex(e.codex))){r.next=7;break}return n.configuratorStructureHandler.navigateToConfigStepByConfigStepKey(null==t?void 0:t.key),n.updateConfiguratorState(!0),r.next=6,A.DivaUtils.Sleep(100);case 6:n.paletteViewHandler.scrollToConfigStepByPosNr(t.posNr,!0);case 7:case"end":return r.stop()}}),_callee)})));return function naviagateToOption(n){return e.apply(this,arguments)}}();return(0,N.jsx)("div",_objectSpread(_objectSpread({},e),{},{className:c()(e.className,P.fm),children:(0,N.jsxs)("div",{className:P.YS,children:[(0,N.jsx)("a",{className:P.Fs,children:"CatalogMakeup"}),(0,N.jsxs)("div",{className:P.nC,children:[(0,N.jsx)(k.default,{options:a,optionState:[f,x]}),b&&(0,N.jsx)(D.default,{option:b},b.codex)]})]})}))}))},13222:(e,n,t)=>{t.r(n),t.d(n,{default:()=>o});t(87363);var r=t(47514);const o=function DecisionVisualization(e){var n=e.decision,t=function renderIfDefined(e,n){return null!=e&&""!==e?(0,r.jsxs)("p",{children:[(0,r.jsxs)("strong",{children:[n,":"]})," ",Array.isArray(e)?e.join(", "):e]}):null};return(0,r.jsxs)("div",{style:{userSelect:"text"},children:[(0,r.jsx)("h2",{children:"Decision Details"}),t(n.Number,"Number"),t(n.Type,"Type"),t(n.Prio,"Priority"),t(n.Options,"Options"),t(n.Enabled?"Yes":"No","Enabled"),t(n.DecisionNumber,"Decision Number"),t(n.ActiveCombination,"Active Combination"),t(n.DisableHistory,"Disabled History"),n.DOC&&n.DOC.length>0&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("h3",{children:"Decision Option Combinations:"}),n.DOC.map((function(e,n){var o;return(0,r.jsxs)("div",{className:"decision-option-combination",children:[t(n,"doc Index"),t(e.JsFormula,"Formula"),Object.values(null!==(o=e.Row)&&void 0!==o?o:{}).map((function(e){return(0,r.jsx)(r.Fragment,{children:t(e.join(";"),"Doc Row")})})),e.DA&&e.DA.length>0&&(0,r.jsxs)("div",{children:[(0,r.jsx)("h6",{children:"Decision Actions:"}),(0,r.jsx)("ul",{children:e.DA.map((function(e,n){return(0,r.jsxs)("li",{children:[t(e.Type,"Action Type"),t(e.FeatureRef,"Feature Ref"),t(e.OptionCodex,"OptionCodex"),t(e.OptionRef,"OptionRef"),t(e.OptionRefCodex,"OptionRefCodex"),t(e.OptionValueRefCodex,"OptionValueRefCodex"),t(e.DecisionNr,"DecisionNr")]},n)}))})]}),t(e.ValidOptionValues,"Valid Option Values"),t(e.ValidOptions,"Valid Options"),t(e.RefLevel,"Ref Level")]},n)}))]}),t(n.DisableHistory,"Disabled History"),(0,r.jsx)("strong",{children:"Is Valid DOC:"})," ",n.DOC&&n.DOC.length>0?"Yes":"No"]})}},62197:(e,n,t)=>{t.r(n),t.d(n,{default:()=>Z});var r=t(80248),o=t(12952),i=t(84658),a=t(34988),l=t(88291),s=t(50747),c=t.n(s),d=t(87363),u=t(51203),p=t(93379),h=t.n(p),f=t(7795),x=t.n(f),b=t(90569),m=t.n(b),j=t(3565),g=t.n(j),v=t(19216),y=t.n(v),O=t(44589),w=t.n(O),S=t(33981),P={};P.styleTagTransform=w(),P.setAttributes=g(),P.insert=m().bind(null,"head"),P.domAPI=x(),P.insertStyleElement=y();h()(S.ZP,P);S.ZP&&S.ZP.locals&&S.ZP.locals;var C=t(83055),k=t(9420),D=t(65515),A=t.n(D),N=t(88683),_=(t(76839),t(13222)),E=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const Z=(0,k.Pi)((function DecisionAnalyzer(e){var n=Object.assign({},((0,l.Z)(e),e)),t=(0,C.NP)(),r=t.divaWebPlanner.getDivaArticles(),s=(0,d.useState)(!1),p=(0,a.Z)(s,2),h=p[0],f=p[1];(0,d.useEffect)((function(){var e=function(){var e=(0,i.Z)(c().mark((function _callee(){return c().wrap((function _callee$(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,N.DivaUtils.Sleep(1e3);case 2:f(!h);case 3:case"end":return e.stop()}}),_callee)})));return function asyncFunct(){return e.apply(this,arguments)}}();e()}),[t.tabGroupState.allTabGroups]);var x=Object.values(null!=r?r:{}).find((function(e){return 1==e.posNr})),b=(0,d.useState)(),m=(0,a.Z)(b,2),j=m[0],g=m[1],v=(0,d.useState)(),y=(0,a.Z)(v,2),O=y[0],w=y[1];if(!x)return(0,E.jsx)(E.Fragment,{});var P=x.decisionDebugStacks[0].stack.length,k=(0,o.Z)(Array(P).keys()),D=x.decisionDebugStacks.map((function(e){return e.stack.map((function(e){var n,t;return _objectSpread(_objectSpread({},e),{},{bold:!(null===(n=e.decision.Options)||void 0===n||!n.includes("OPT"+O))||(null===(t=e.decision.DOC)||void 0===t?void 0:t.find((function(e){var n;return null===(n=e.DA)||void 0===n?void 0:n.find((function(e){return e.OptionCodex==O}))})))})}))}));return(0,E.jsxs)("div",_objectSpread(_objectSpread({},n),{},{className:A()(n.className,S.fm,t.uiState.configSettingsIsExpanded?u.NF:void 0),style:{zIndex:800},children:[(0,E.jsxs)("a",{className:S.Fs,children:["Decision history",(0,E.jsx)("input",{value:O,onChange:function onChange(e){return w(e.target.value)},placeholder:"filter option ohne OPT"})]}),(0,E.jsxs)("div",{children:[(0,E.jsxs)("table",{className:S.Kz,children:[(0,E.jsx)("thead",{children:(0,E.jsx)("tr",{className:S.$Q,children:D.map((function(e,n){var t="";for(var r in x.decisionDebugStacks[n].variantValues)t=t+r+": "+x.decisionDebugStacks[n].variantValues[r]+"\n";return(0,E.jsx)("th",{children:t},n)}))})}),(0,E.jsx)("tbody",{children:k.map((function(e,n){return(0,E.jsx)("tr",{className:S.$Q,children:D.map((function(e,t){var r,o;return(0,E.jsx)("th",{onClick:function onClick(){return function onClick(e,n){e==(null==j?void 0:j.Number)?g(void 0):g(n)}(e[n].nr,e[n].decision)},children:e[n].bold?(0,E.jsx)("strong",{children:null===(r=e[n])||void 0===r?void 0:r.text}):null===(o=e[n])||void 0===o?void 0:o.text},t)}))},n)}))})]}),j&&(0,E.jsx)("div",{className:S.EC,children:(0,E.jsx)(_.default,{decision:j})})]})]}))}))},43233:(e,n,t)=>{t.r(n),t.d(n,{default:()=>N});var r=t(80248),o=t(84658),i=t(34988),a=t(72874),l=t(50747),s=t.n(l),c=t(65515),d=t.n(c),u=t(9420),p=t(87363),h=t(83055),f=t(93379),x=t.n(f),b=t(7795),m=t.n(b),j=t(90569),g=t.n(j),v=t(3565),y=t.n(v),O=t(19216),w=t.n(O),S=t(44589),P=t.n(S),C=t(13689),k={};k.styleTagTransform=P(),k.setAttributes=y(),k.insert=g().bind(null,"head"),k.domAPI=m(),k.insertStyleElement=w();x()(C.ZP,k);C.ZP&&C.ZP.locals&&C.ZP.locals;var D=t(47514),A=["onMouseDown"];function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const N=(0,u.Pi)((function EkTextViewer(e){var n=e.onMouseDown,t=(0,a.Z)(e,A),r=(0,h.NP)(),l=(0,p.useState)(""),c=(0,i.Z)(l,2),u=c[0],f=c[1],x=(0,p.useState)([]),b=(0,i.Z)(x,2),m=b[0],j=b[1],g=function(){var e=(0,o.Z)(s().mark((function _callee(){var e,n,t;return s().wrap((function _callee$(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,r.divaWebPlanner.getBasketDataWithEkText();case 2:if(t=o.sent){o.next=5;break}return o.abrupt("return");case 5:f(null!==(e=t.getEKText())&&void 0!==e?e:""),j(null!==(n=t.SAPOrderLines)&&void 0!==n?n:[]);case 7:case"end":return o.stop()}}),_callee)})));return function getEkText(){return e.apply(this,arguments)}}();return(0,p.useEffect)((function(){g()}),[r.settingsState.configChanged]),(0,D.jsx)("div",_objectSpread(_objectSpread({},t),{},{className:d()(t.className,C.fm),children:(0,D.jsxs)("div",{className:C.YS,children:[(0,D.jsx)("a",{className:C.Fs,onMouseDown:n,children:"EkText Übersicht"}),!!m.length&&(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)("h3",{children:"SapOrderLines"}),(0,D.jsxs)("table",{className:C.Kz,children:[(0,D.jsx)("thead",{children:(0,D.jsxs)("tr",{className:C.$Q,children:[(0,D.jsx)("th",{children:"Name"}),(0,D.jsx)("th",{children:"EkText"}),(0,D.jsx)("th",{children:"Preis"}),(0,D.jsx)("th",{children:"Artikle Nr."}),(0,D.jsx)("th",{children:"Retail Artikle Nr."}),(0,D.jsx)("th",{children:"Prefix"}),(0,D.jsx)("th",{children:"Menge"}),(0,D.jsx)("th",{children:"PosNr"})]})}),(0,D.jsx)("tbody",{children:m.map((function(e,n){var t;return(0,D.jsxs)("tr",{className:C.$Q,children:[(0,D.jsxs)("th",{children:[" ",e.Name]}),e.OrderText?(0,D.jsx)("th",{dangerouslySetInnerHTML:{__html:e.OrderText.replace(/\r\n/g,"<br>")}}):(0,D.jsx)("th",{}),(0,D.jsxs)("th",{children:[" ",null!==(t=e.Price)&&void 0!==t?t:0," "]}),(0,D.jsxs)("th",{children:[" ",e.ArticleNr," "]}),(0,D.jsxs)("th",{children:[" ",e.RetailArticleName," "]}),(0,D.jsxs)("th",{children:[e.ArticleNrPrefix," "]}),(0,D.jsxs)("th",{children:[e.Quantity," "]}),(0,D.jsx)("th",{children:e.PosNr})]},n)}))})]})]}),(0,D.jsxs)("div",{children:[(0,D.jsx)("button",{onClick:function onClick(){var e;return null===(e=navigator.clipboard)||void 0===e?void 0:e.writeText(u)},children:"kopieren"}),(0,D.jsx)("div",{className:C.nG,dangerouslySetInnerHTML:{__html:u.replace(/\r\n/g,"<br>")}})]})]})}))}))},35631:(e,n,t)=>{t.r(n),t.d(n,{default:()=>s});var r=t(80248),o=t(9420),i=(t(87363),t(72072)),a=t(16921),l=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const s=(0,o.Pi)((function J3DEditor(e){return(0,l.jsx)(i.default,_objectSpread(_objectSpread({},e),{},{className:e.className,style:{userSelect:"text"},ChildComponent:a.default,settings:[{key:"J3D",name:"J3D Editor"}],title:"Artikel Übersicht"}))}))},70697:(e,n,t)=>{t.r(n),t.d(n,{default:()=>E});var r=t(80248),o=t(84658),i=t(34988),a=t(72874),l=t(50747),s=t.n(l),c=t(87363),d=t(51203),u=t(93379),p=t.n(u),h=t(7795),f=t.n(h),x=t(90569),b=t.n(x),m=t(3565),j=t.n(m),g=t(19216),v=t.n(g),y=t(44589),O=t.n(y),w=t(15909),S={};S.styleTagTransform=O(),S.setAttributes=j(),S.insert=b().bind(null,"head"),S.domAPI=f(),S.insertStyleElement=v();p()(w.ZP,S);w.ZP&&w.ZP.locals&&w.ZP.locals;var P=t(83055),C=t(9420),k=t(65515),D=t.n(k),A=t(88683),N=t(47514),_=["onMouseDown"];function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const E=(0,C.Pi)((function ArticleOverview(e){var n,t=e.onMouseDown,r=(0,a.Z)(e,_),l=(0,P.NP)(),u=Object.values(null!==(n=l.divaWebPlanner.getDivaArticles())&&void 0!==n?n:{}),p=(0,c.useState)(!1),h=(0,i.Z)(p,2),f=h[0],x=h[1];return(0,c.useEffect)((function(){var e=function(){var e=(0,o.Z)(s().mark((function _callee(){return s().wrap((function _callee$(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A.DivaUtils.Sleep(1e3);case 2:x(!f);case 3:case"end":return e.stop()}}),_callee)})));return function asyncFunct(){return e.apply(this,arguments)}}();e()}),[l.settingsState.configChanged]),l.productState.formatedTotalPrice,(0,N.jsxs)("div",_objectSpread(_objectSpread({},r),{},{className:D()(r.className,w.fm,l.uiState.configSettingsIsExpanded?d.NF:void 0),children:[(0,N.jsx)("a",{className:w.Fs,onMouseDown:t,children:"Artikel Übersicht"}),(0,N.jsxs)("table",{className:w.Kz,children:[(0,N.jsx)("thead",{children:(0,N.jsxs)("tr",{className:w.$Q,children:[(0,N.jsx)("th",{children:"Name"}),(0,N.jsx)("th",{children:"ArticleCodex"}),(0,N.jsx)("th",{children:"CatalogCodex"}),(0,N.jsx)("th",{children:"Preis"}),(0,N.jsx)("th",{children:"Bruttopreis"}),(0,N.jsx)("th",{children:"Discount Prozent"}),(0,N.jsx)("th",{children:"Menge"})]})}),(0,N.jsx)("tbody",{children:Object.values(u).map((function(e,n){var t,r,o;return(0,N.jsxs)("tr",{className:w.$Q,children:[(0,N.jsxs)("th",{children:[" ",e.name]}),(0,N.jsxs)("th",{children:[e.articleCodex," "]}),(0,N.jsxs)("th",{children:[e.catalogCodex," "]}),(0,N.jsxs)("th",{children:[" ",null!==(t=e.price)&&void 0!==t?t:0," "]}),(0,N.jsxs)("th",{children:[" ",null!==(r=e.bruttoCalcPrice)&&void 0!==r?r:0," "]}),(0,N.jsxs)("th",{children:[" ",null!==(o=e.discountPercentage)&&void 0!==o?o:0," "]}),(0,N.jsxs)("th",{children:[e.quantity," "]})]},e.basketId)}))})]})]}))}))},75033:(e,n,t)=>{t.r(n),t.d(n,{default:()=>k});var r=t(80248),o=t(34988),i=t(87363),a=t(93379),l=t.n(a),s=t(7795),c=t.n(s),d=t(90569),u=t.n(d),p=t(3565),h=t.n(p),f=t(19216),x=t.n(f),b=t(44589),m=t.n(b),j=t(77648),g={};g.styleTagTransform=m(),g.setAttributes=h(),g.insert=u().bind(null,"head"),g.domAPI=c(),g.insertStyleElement=x();l()(j.ZP,g);j.ZP&&j.ZP.locals&&j.ZP.locals;var v=t(9420),y=t(65515),O=t.n(y),w=t(1463),S=t.n(w),P=t(83055),C=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const k=(0,v.Pi)((function MaskEditor(e){var n,t=(0,P.NP)(),r=(0,i.useRef)(null),a=(0,i.useRef)(null),l=(0,i.useState)(!0),s=(0,o.Z)(l,2),c=s[0],d=s[1],u=null===(n=t.divaWebPlanner.getCatalogData())||void 0===n?void 0:n.catalogMask,p=(0,i.useState)(null!=u?u:{}),h=(0,o.Z)(p,2),f=h[0],x=(h[1],{mode:"code",onChange:function onChange(){try{var e=a.current,n=(e.get(),e.validate());d(n)}catch(e){return void d(!1)}}});(0,i.useEffect)((function(){r.current&&(a.current||(a.current=new(S())(r.current,x)),a.current&&a.current.set(f))}),[f]);return(0,C.jsxs)("div",_objectSpread(_objectSpread({},e),{},{className:O()(j.YS,e.className),children:["MaskEditor",(0,C.jsx)("div",{ref:r,id:"jsoneditor",style:{width:"100%",height:"calc(100% - 300px)"}}),(0,C.jsx)("div",{className:j.Yq,children:(0,C.jsx)("button",{className:j.LI,disabled:!c,onClick:function onClick(){return function onClickSave(){var e=a.current;if(e.get()&&0!==Object.keys(e.get()).length){var n=e.get(),r=t.divaWebPlanner.getCatalogData();r&&(r.catalogMask=n),t.divaWebPlanner.updateWebConfiguratorTitle(),t.paletteViewHandler.updateCurPaletteData(!0),t.uiState.setActiveCatalogSection("3D/2D"),t.productState.updatePlannerMsgContainer("ACCESSOIRE_MSG",!0,"INFO","Speicherung erfolgreich",!0)}else alert("Cannot save empty value")}()},children:"Save"})})]}))}))},97078:(e,n,t)=>{t.r(n),t.d(n,{default:()=>y});var r=t(80248),o=t(84658),i=t(34988),a=t(72874),l=t(50747),s=t.n(l),c=t(87363),d=t(51203),u=t(93476),p=t(83055),h=t(9420),f=t(65515),x=t.n(f),b=t(88683),m=t(47514),j=["onMouseDown"];function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var g=function getPartlistArticles(e,n){for(var t in e.partlistArticles){var r=e.partlistArticles[t];if(r.hasPartlistArticle)n.push(v(r,!0)),n=g(r,n);else{for(var o=!1,i=0;i<n.length;i++)if(r.articleCodex===n[i].articleCodex&&r.retailArticleNr===n[i].retailArticleNr&&r.retailPrefix===n[i].retailPrefix&&r.catalogCodex===n[i].catalogCodex){o=!0,n[i].quantity+=r.quantity;break}o||n.push(v(r))}}return n},v=function getPartlsitArticleObj(e,n){var t,r,o,i,a;return{name:(n?"Hülse: ":"")+e.posNr+" "+e.name,price:n?"---":e.price,retailArticleNr:null!==(t=e.retailArticleNr)&&void 0!==t?t:"",retailPrefix:null!==(r=e.retailPrefix)&&void 0!==r?r:"",quantity:e.quantity,ruleDesc:null!==(o=e.ruleDesc)&&void 0!==o?o:"",articleCodex:null!==(i=e.articleCodex)&&void 0!==i?i:"",catalogCodex:null!==(a=e.catalogCodex)&&void 0!==a?a:"",codex:e.articleCodex,rule:e.ruleDesc}};const y=(0,h.Pi)((function PartList(e){var n=e.onMouseDown,t=(0,a.Z)(e,j),r=(0,p.NP)(),l=r.divaWebPlanner.getDivaArticles(),h=(0,c.useState)(!1),f=(0,i.Z)(h,2),v=f[0],y=f[1];(0,c.useEffect)((function(){var e=function(){var e=(0,o.Z)(s().mark((function _callee(){return s().wrap((function _callee$(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b.DivaUtils.Sleep(1e3);case 2:y(!v);case 3:case"end":return e.stop()}}),_callee)})));return function asyncFunct(){return e.apply(this,arguments)}}();e()}),[r.settingsState.configChanged]);var O=[];for(var w in l)O=g(l[w],O);return(0,m.jsxs)("div",_objectSpread(_objectSpread({},t),{},{className:x()(t.className,u.fm,r.uiState.configSettingsIsExpanded?d.NF:void 0),children:[(0,m.jsx)("a",{className:u.Fs,onMouseDown:n,children:"Stücklisten Übersicht"}),(0,m.jsxs)("table",{className:u.Kz,children:[(0,m.jsx)("thead",{children:(0,m.jsxs)("tr",{className:u.$Q,children:[(0,m.jsx)("th",{children:"Name"}),(0,m.jsx)("th",{children:"Artikle Nr."}),(0,m.jsx)("th",{children:"CatalogCodex"}),(0,m.jsx)("th",{children:"Preis"}),(0,m.jsx)("th",{children:"Nr"}),(0,m.jsx)("th",{children:"Prefix"}),(0,m.jsx)("th",{children:"Menge"}),(0,m.jsx)("th",{children:"Rule"})]})}),(0,m.jsx)("tbody",{children:Object.values(O).map((function(e,n){var t;return(0,m.jsxs)("tr",{className:u.$Q,children:[(0,m.jsxs)("th",{children:[" ",e.name]}),(0,m.jsxs)("th",{children:[e.articleCodex," "]}),(0,m.jsxs)("th",{children:[e.catalogCodex," "]}),(0,m.jsxs)("th",{children:[" ",null!==(t=e.price)&&void 0!==t?t:0," "]}),(0,m.jsxs)("th",{children:[" ",e.retailArticleNr," "]}),(0,m.jsxs)("th",{children:[e.retailPrefix," "]}),(0,m.jsxs)("th",{children:[e.quantity," "]}),(0,m.jsx)("th",{children:e.rule})]},e.articleCodex+e.retailArticleNr)}))})]})]}))}))},8350:(e,n,t)=>{t.r(n),t.d(n,{default:()=>S});var r=t(80248),o=t(65515),i=t.n(o),a=t(83055),l=t(87363),s=t(93379),c=t.n(s),d=t(7795),u=t.n(d),p=t(90569),h=t.n(p),f=t(3565),x=t.n(f),b=t(19216),m=t.n(b),j=t(44589),g=t.n(j),v=t(62904),y={};y.styleTagTransform=g(),y.setAttributes=x(),y.insert=h().bind(null,"head"),y.domAPI=u(),y.insertStyleElement=m();c()(v.ZP,y);v.ZP&&v.ZP.locals&&v.ZP.locals;var O=t(9420),w=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const S=(0,O.Pi)((function RTVAnalyzer(e){var n=(0,a.NP)().rtvAnalyzeData,t=(0,l.useRef)(),r=0,o=0,s=0;n.forEach((function(e){return e.active&&(r+=e.sizeMb,"GEO"==e.type?o+=e.sizeMb:s+=e.sizeMb)}));var c=n.filter((function(e){return e.active})).sort((function(e,n){return n.sizeMb-e.sizeMb}));return c=c.map((function(e){var n;return null!==(n=t.current)&&void 0!==n&&n.find((function(n){return e.name==n.name&&1==n.active}))?_objectSpread(_objectSpread({},e),{},{new:!1}):_objectSpread(_objectSpread({},e),{},{new:!0})})),t.current=c,(0,w.jsx)("div",_objectSpread(_objectSpread({},e),{},{className:i()(e.className,v.fm),children:(0,w.jsxs)("div",{className:v.YS,children:[(0,w.jsx)("a",{className:v.Fs,children:"RTV Analyzer"}),(0,w.jsx)("div",{className:v.nC,children:(0,w.jsxs)("table",{className:v.Bm,children:[(0,w.jsxs)("tr",{children:[(0,w.jsx)("th",{children:"Art"}),(0,w.jsx)("th",{children:"Name"}),(0,w.jsx)("th",{children:"Pfad"}),(0,w.jsx)("th",{children:"Geos (std mat)"}),(0,w.jsx)("th",{children:"Größe (MB | %)"})]}),(0,w.jsxs)("tr",{children:[(0,w.jsx)("th",{}),(0,w.jsx)("th",{children:"Gesamt"}),(0,w.jsx)("th",{}),(0,w.jsx)("th",{}),(0,w.jsx)("th",{children:Math.round(100*r)/100+"mb | 100%"})]}),(0,w.jsxs)("tr",{children:[(0,w.jsx)("th",{}),(0,w.jsx)("th",{children:"Geo Gesamt"}),(0,w.jsx)("th",{}),(0,w.jsx)("th",{}),(0,w.jsx)("th",{children:Math.round(100*o)/100+"mb | "+Math.round(o/r*100)+"%"})]}),(0,w.jsxs)("tr",{children:[(0,w.jsx)("th",{}),(0,w.jsx)("th",{children:"Tex Gesamt"}),(0,w.jsx)("th",{}),(0,w.jsx)("th",{}),(0,w.jsx)("th",{children:Math.round(100*s)/100+"mb | "+Math.round(s/r*100)+"%"})]}),c.map((function(e){return(0,w.jsxs)("tr",{style:e.found?e.new?{fontWeight:"bold"}:{}:{color:"red"},children:[(0,w.jsx)("td",{children:e.type}),(0,w.jsx)("td",{children:e.name}),(0,w.jsx)("td",{children:(0,w.jsx)("div",{style:{maxHeight:20,lineBreak:"anywhere",overflow:"hidden",cursor:"copy"},onClick:function onClick(){navigator.clipboard.writeText(e.path)},children:"MAT"!=e.type?e.path.replace(e.path.slice(0,e.path.indexOf("diva3darchiv")+12),""):e.path})}),(0,w.jsx)("td",{children:e.geo}),(0,w.jsx)("td",{children:Math.round(100*e.sizeMb)/100+"mb | "+Math.round(e.sizeMb/r*100)+"%"})]})}))]})})]})}))}))},70685:(e,n,t)=>{t.r(n),t.d(n,{default:()=>c});var r=t(80248),o=t(88291),i=(t(87363),t(9420)),a=t(72072),l=t(82334),s=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const c=(0,i.Pi)((function SVGAnalyser(e){var n=Object.assign({},((0,o.Z)(e),e));return(0,s.jsx)(a.default,_objectSpread(_objectSpread({},n),{},{className:n.className,ChildComponent:l.default,settings:[{key:"SVGSOURCE",name:"SVG Source"},{key:"SVGOVERVIEW",name:"SVG Übersicht"}],title:"SVG Übersicht"}))}))},19874:(e,n,t)=>{t.r(n),t.d(n,{default:()=>w});var r=t(80248),o=t(88291),i=t(9420),a=t(87363),l=t(53492),s=t(60998),c=t(44997),d=t(83055),u=t(97078),p=t(75033),h=t(70685),f=t(51203),x=t(43233),b=t(82714),m=t(62197),j=t(8350),g=t(35631),v=t(19631),y=t(70697),O=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const w=(0,i.Pi)((function CatalogProduct(e){var n=Object.assign({},((0,o.Z)(e),e)),t=(0,d.NP)();(0,a.useEffect)((function(){switch(t.uiState.activeCatalogSection){case"Options":t.uiState.setConfigSettingsIsExpanded(!0);break;case"ekText":case"3D/2D":case"PartList":case"Artikelübersicht":case"SVGübersicht":case"DecisionAnalyzer":case"CatalogMakeup":case"RTVAnalyzer":case"J3DEditor":case"PropertiesEditor":case"MaskEditor":t.uiState.setConfigSettingsIsExpanded(!1)}}),[t.uiState.activeCatalogSection]),(0,a.useEffect)((function(){t.getIsInMobileView()&&t.uiState.setActiveCatalogSection("3D/2D")}),[]);var r=void 0,i=n.className+" "+f.pb;switch(t.uiState.activeCatalogSection){case"Options":r=(0,O.jsx)(c.default,_objectSpread(_objectSpread({},n),{},{style:{zIndex:700}}));break;case"PartList":r=(0,O.jsx)(u.default,_objectSpread(_objectSpread({},n),{},{className:i}));break;case"DecisionAnalyzer":r=(0,O.jsx)(m.default,_objectSpread(_objectSpread({},n),{},{className:i}));break;case"Artikelübersicht":r=(0,O.jsx)(y.default,_objectSpread(_objectSpread({},n),{},{className:i}));break;case"SVGübersicht":r=(0,O.jsx)(h.default,_objectSpread(_objectSpread({},n),{},{className:i}));break;case"ekText":r=(0,O.jsx)(x.default,_objectSpread(_objectSpread({},n),{},{className:i}));break;case"CatalogMakeup":r=(0,O.jsx)(b.default,_objectSpread(_objectSpread({},n),{},{className:i}));break;case"RTVAnalyzer":r=(0,O.jsx)(j.default,_objectSpread(_objectSpread({},n),{},{className:i}));break;case"J3DEditor":r=(0,O.jsx)(g.default,_objectSpread(_objectSpread({},n),{},{className:i}));break;case"PropertiesEditor":r=(0,O.jsx)(v.default,_objectSpread(_objectSpread({},n),{},{className:i}));break;case"MaskEditor":r=(0,O.jsx)(p.default,_objectSpread(_objectSpread({},n),{},{className:i}))}return(0,O.jsxs)(O.Fragment,{children:[!t.uiState.isInMobileView&&(0,O.jsx)(s.default,_objectSpread(_objectSpread({},n),{},{currentWindowActive:t.uiState.activeCatalogSection,setCurrentWindowActive:function changeVal(e){localStorage.setItem("lastWindow",e),t.uiState.setActiveCatalogSection(e)}})),(0,a.createElement)(l.default,_objectSpread(_objectSpread({},n),{},{style:{boxSizing:"border-box",borderLeft:t.uiState.isInMobileView?void 0:"50px solid transparent"},key:"product"})),r]})}))},89144:(e,n,t)=>{t.d(n,{IU:()=>c,LI:()=>s,YS:()=>l,ZP:()=>u,lI:()=>d});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--B2E8Y {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n /* width: 80%; */\n height: 750px;\n margin-left: 51px;\n margin-right: 10px;\n gap: 10px;\n}\n\n.index-module--Qe3Dm {\n min-height: 45px;\n min-width: 45px;\n max-width: 60px;\n width: auto;\n margin-bottom: 20px;\n}\n.index-module--AG2M4 {\n display: flex;\n flex-direction: column;\n}\n\n.index-module--QweAA {\n font-size: 10px;\n}\n",""]);var l="index-module--B2E8Y",s="index-module--Qe3Dm",c="index-module--AG2M4",d="index-module--QweAA";const u=a},6521:(e,n,t)=>{t.d(n,{$Q:()=>c,EU:()=>l,Kz:()=>s,ZP:()=>u,hv:()=>d});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--orfU0 {\n margin-left: 50px;\n color: rgba(255,255,255,0.42353);\n height: 100vh;\n}\n.index-module--ZQXRQ {\n display: flex;\n flex-direction: column;\n position: relative;\n width: 100%;\n height: 100%;\n\n background-color: rgb(28, 32, 35);\n font-family: var(--diva-typography-font-family);\n font-weight: 100;\n gap: 10px;\n}\n.index-module--zMMBL {\n width: 20%;\n border-bottom: 1px solid;\n}\n.index-module--fJfHX {\n width: 50px;\n height: 50px;\n}\n.index-module--orfU0 textarea {\n background-color: rgb(28, 32, 35);\n color: white;\n width: 97.7%;\n height: 100%;\n padding-top: 2%;\n padding-left: 2%;\n overflow: auto;\n}\n.index-module--orfU0 .index-module--kwewQ {\n max-height: 62.1%;\n transition: max-height 0.5s;\n}\n\n.index-module--UVkGx {\n color: black !important;\n}\n\n.index-module--UVkGx {\n background-color: rgba(96, 245, 96, 0.377);\n}\n.index-module--ZQXRQ img {\n height: 50px;\n width: 50px;\n}\n.index-module--ZQXRQ tbody {\n height: 100%;\n vertical-align: top;\n overflow-y: auto;\n overflow-x: hidden;\n}\n.index-module--ZQXRQ tr th {\n width: 4%;\n}\n.index-module--ZQXRQ tr th:last-child {\n width: 90px;\n}\n.index-module--ZQXRQ thead {\n border-bottom: 1px solid white;\n}\n.index-module--ZQXRQ tbody th {\n width: 23px;\n table-layout: fixed;\n line-break: anywhere;\n font-size: 15px;\n}\n.index-module--ZQXRQ tbody th:nth-child(1) {\n width: 35px;\n}\n.index-module--ZQXRQ tbody th:last-child {\n width: 890px;\n font-size: 9px;\n}\n.index-module--iJwMt {\n background-color: rgba(96, 245, 96, 0.377);\n}\n.index-module--cSh30 {\n top: 10px;\n width: 47.6%;\n text-align: center;\n color: black;\n background-color: rgba(96, 245, 96, 0.377);\n}\n.index-module--BpST3 {\n position: absolute;\n top: 286px;\n width: 100%;\n}\n",""]);var l="index-module--orfU0",s="index-module--ZQXRQ",c="index-module--zMMBL",d="index-module--iJwMt";const u=a},95044:(e,n,t)=>{t.d(n,{YS:()=>l,ZP:()=>d,oF:()=>s,x_:()=>c});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--cA3b1 {\n display: flex;\n flex-direction: column;\n gap: 10px;\n}\n\n.index-module--CJSAc {\n box-shadow: var(--boxShadowHover);\n width: 300px;\n min-width: 100px;\n}\n\n.index-module--h2JpC {\n border-radius: var(--globalBorderRadius);\n border-color: white;\n padding: 2px 12px 3px 10px;\n line-height: 20.8px;\n -webkit-font-smoothing: antialiased;\n -webkit-text-stroke: 0.1px;\n color: var(--secondaryColor);\n cursor: pointer;\n}\n",""]);var l="index-module--cA3b1",s="index-module--CJSAc",c="index-module--h2JpC";const d=a},7046:(e,n,t)=>{t.d(n,{Fs:()=>c,YS:()=>l,ZP:()=>u,fm:()=>s,nC:()=>d});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--tlOAN {\n display: flex;\n flex-direction: column;\n width: calc(100% - 5px);\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n background-color: #fff;\n}\n.index-module--Y4cLX {\n overflow: auto;\n left: 50px;\n}\n.index-module--mAsES {\n height: 8%;\n width: 100%;\n padding-top: 0.7%;\n text-align: center;\n background-color: var(--primaryColor);\n font-size: 30px;\n color: white;\n font-weight: 600;\n}\n.index-module--Ool1Y {\n width: calc(100% - 40px);\n margin: 20px;\n display: flex;\n flex-direction: column;\n gap: 20px;\n}\n",""]);var l="index-module--tlOAN",s="index-module--Y4cLX",c="index-module--mAsES",d="index-module--Ool1Y";const u=a},33981:(e,n,t)=>{t.d(n,{$Q:()=>s,EC:()=>u,Fs:()=>d,Kz:()=>l,ZP:()=>p,fm:()=>c});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--sS9Y_ {\n position: relative;\n width: 100%;\n height: 100%;\n background-color: #ffffff;\n border-collapse: collapse;\n border-width: 0px;\n border-color: #e7eaf8;\n border-style: solid;\n color: #000000;\n font-weight: normal;\n font-family: var(--diva-typography-font-family);\n font-weight: 100;\n overflow-y: auto;\n top: 73px;\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n}\n.index-module--sS9Y_ thead {\n font-weight: bold !important;\n}\n.index-module--sS9Y_ thead {\n border-bottom: 1px solid;\n background-color: var(--thirdColor);\n font-size: 16px;\n padding-top: 1%;\n color: white;\n}\n.index-module--O5GJU {\n text-align: left;\n}\n.index-module--O5GJU:first-child {\n height: 20px;\n}\n\n.index-module--O5GJU th {\n border-bottom: 1px solid;\n padding-right: 10px;\n margin-bottom: 1%;\n font-weight: normal;\n}\n.index-module--bBk4P {\n overflow: auto;\n left: 50px;\n}\n.index-module--sBWMs {\n height: 8%;\n width: 100%;\n padding-top: 0.7%;\n text-align: center;\n position: absolute;\n background-color: var(--primaryColor);\n font-size: 30px;\n color: white;\n font-weight: 600;\n}\n\n.index-module--XrXfq {\n z-index: 100;\n position: fixed;\n top: 0;\n right: 240px;\n width: 700px;\n height: 100%;\n background-color: #fff;\n overflow: auto;\n}\n",""]);var l="index-module--sS9Y_",s="index-module--O5GJU",c="index-module--bBk4P",d="index-module--sBWMs",u="index-module--XrXfq";const p=a},13689:(e,n,t)=>{t.d(n,{$Q:()=>p,Fs:()=>c,Kz:()=>u,YS:()=>l,ZP:()=>h,fm:()=>s,nG:()=>d});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--dRdX7 {\n display: flex;\n flex-direction: column;\n width: calc(100% - 5px);\n\n -webkit-user-select: text;\n\n -moz-user-select: text;\n\n user-select: text;\n background-color: #fff;\n}\n.index-module--JnUb8 {\n overflow: auto;\n left: 50px;\n}\n.index-module--qSiiY {\n height: 8%;\n width: 100%;\n padding-top: 0.7%;\n text-align: center;\n background-color: var(--primaryColor);\n font-size: 30px;\n color: white;\n font-weight: 600;\n}\n\n.index-module--BYi2l {\n margin-left: 200px;\n background-color: #fff;\n font-weight: 600;\n max-height: 92%;\n height: auto;\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n}\n\n.index-module--etPY7 {\n position: relative;\n width: 100%;\n height: 100%;\n background-color: #ffffff;\n border-collapse: collapse;\n border-color: #e7eaf8;\n border-style: solid;\n border-width: 0px;\n color: #000000;\n font-weight: normal;\n font-family: var(--diva-typography-font-family);\n font-weight: 100;\n overflow-y: auto;\n}\n.index-module--etPY7 thead {\n font-weight: bold !important;\n}\n.index-module--etPY7 thead {\n border-bottom: 1px solid;\n /* min-width: 20px; */\n background-color: var(--thirdColor);\n font-size: 16px;\n padding-top: 1%;\n}\n.index-module--vMmTT {\n text-align: left;\n}\n.index-module--vMmTT:first-child {\n height: 20px;\n}\n.index-module--vMmTT th:nth-child(1) {\n width: 40%;\n border-bottom: 1px solid;\n}\n.index-module--vMmTT th {\n border-bottom: 1px solid;\n padding-right: 10px;\n margin-bottom: 1%;\n font-weight: normal;\n}\n.index-module--vMmTT th:last-child {\n font-size: 12px;\n}\n",""]);var l="index-module--dRdX7",s="index-module--JnUb8",c="index-module--qSiiY",d="index-module--BYi2l",u="index-module--etPY7",p="index-module--vMmTT";const h=a},15909:(e,n,t)=>{t.d(n,{$Q:()=>s,Fs:()=>d,Kz:()=>l,ZP:()=>u,fm:()=>c});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--kRnTO {\n position: relative;\n width: 100%;\n height: -moz-fit-content;\n height: fit-content;\n background-color: #ffffff;\n border-collapse: collapse;\n border-width: 0px;\n border-color: #e7eaf8;\n border-style: solid;\n color: #000000;\n font-weight: normal;\n font-family: var(--diva-typography-font-family);\n font-weight: 100;\n overflow-y: auto;\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n}\n.index-module--kRnTO thead {\n font-weight: bold !important;\n}\n.index-module--kRnTO thead {\n border-bottom: 1px solid;\n /* min-width: 20px; */\n background-color: var(--thirdColor);\n font-size: 16px;\n padding-top: 1%;\n color: black;\n}\n.index-module--Vrir_ {\n text-align: left;\n height: 20px;\n}\n.index-module--Vrir_ th:nth-child(1) {\n width: 40%;\n border-bottom: 1px solid;\n}\n.index-module--Vrir_ th {\n border-bottom: 1px solid;\n padding-right: 10px;\n margin-bottom: 1%;\n font-weight: normal;\n}\n.index-module--Vrir_ th:last-child {\n font-size: 12px;\n}\n.index-module--I8vaR {\n overflow: auto;\n left: 50px;\n display: flex;\n flex-direction: column;\n height: auto;\n}\n.index-module--pl89e {\n height: 46px;\n width: 100%;\n padding-top: 0.7%;\n text-align: center;\n background-color: var(--primaryColor);\n font-size: 30px;\n color: white;\n font-weight: 600;\n cursor: ns-resize;\n}\n",""]);var l="index-module--kRnTO",s="index-module--Vrir_",c="index-module--I8vaR",d="index-module--pl89e";const u=a},77648:(e,n,t)=>{t.d(n,{LI:()=>c,YS:()=>l,Yq:()=>s,ZP:()=>d});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--e2swR {\n background-color: rgba(244, 244, 244, 0.8);\n position: absolute;\n margin-left: 50px;\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n z-index: 1000;\n}\n.index-module--byqXs {\n margin-top: 12px;\n display: flex;\n}\n.index-module--edLvC {\n}\n",""]);var l="index-module--e2swR",s="index-module--byqXs",c="index-module--edLvC";const d=a},62904:(e,n,t)=>{t.d(n,{Bm:()=>u,Fs:()=>c,YS:()=>l,ZP:()=>p,fm:()=>s,nC:()=>d});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--vimXW {\n display: flex;\n flex-direction: column;\n width: calc(100% - 5px);\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n background-color: rgba(255, 255, 255, 0.384);\n}\n.index-module--XF0jR {\n overflow: auto;\n left: 50px;\n}\n.index-module--oJ5Mn {\n height: 8%;\n width: 100%;\n padding-top: 0.7%;\n text-align: center;\n background-color: var(--primaryColor);\n font-size: 30px;\n color: white;\n font-weight: 600;\n}\n.index-module--PllSF {\n width: calc(100% - 40px);\n margin: 20px;\n display: flex;\n flex-direction: column;\n gap: 20px;\n}\n.index-module--k9y7K td,\n.index-module--k9y7K th {\n border: 1px solid rgba(221,221,221,0.35686);\n text-align: left;\n}\n\n.index-module--k9y7K tr:nth-child(even) {\n background-color: rgba(221,221,221,0.35686);\n}\n",""]);var l="index-module--vimXW",s="index-module--XF0jR",c="index-module--oJ5Mn",d="index-module--PllSF",u="index-module--k9y7K";const p=a},85399:(e,n,t)=>{t.d(n,{$Q:()=>x.$Q,EU:()=>x.EU,Kz:()=>x.Kz,hv:()=>x.hv});var r=t(93379),o=t.n(r),i=t(7795),a=t.n(i),l=t(90569),s=t.n(l),c=t(3565),d=t.n(c),u=t(19216),p=t.n(u),h=t(44589),f=t.n(h),x=t(6521),b={};b.styleTagTransform=f(),b.setAttributes=d(),b.insert=s().bind(null,"head"),b.domAPI=a(),b.insertStyleElement=p();o()(x.ZP,b),x.ZP&&x.ZP.locals&&x.ZP.locals},20196:(e,n,t)=>{t.d(n,{YS:()=>x.YS,oF:()=>x.oF,x_:()=>x.x_});var r=t(93379),o=t.n(r),i=t(7795),a=t.n(i),l=t(90569),s=t.n(l),c=t(3565),d=t.n(c),u=t(19216),p=t.n(u),h=t(44589),f=t.n(h),x=t(95044),b={};b.styleTagTransform=f(),b.setAttributes=d(),b.insert=s().bind(null,"head"),b.domAPI=a(),b.insertStyleElement=p();o()(x.ZP,b),x.ZP&&x.ZP.locals&&x.ZP.locals}}]);
2
+ "use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[9874,6921,3222],{16921:(e,n,t)=>{t.r(n),t.d(n,{default:()=>D});var r=t(84658),o=t(34988),i=t(50747),a=t.n(i),l=t(87363),s=t(9420),c=t(83055),d=t(1463),u=t.n(d),p=t(93379),h=t.n(p),f=t(7795),x=t.n(f),b=t(90569),m=t.n(b),j=t(3565),g=t.n(j),v=t(19216),y=t.n(v),O=t(44589),w=t.n(O),S=t(89144),P={};P.styleTagTransform=w(),P.setAttributes=g(),P.insert=m().bind(null,"head"),P.domAPI=x(),P.insertStyleElement=y();h()(S.ZP,P);S.ZP&&S.ZP.locals&&S.ZP.locals;var C=t(95588),k=t(47514);const D=(0,s.Pi)((function JsonEditor(e){var n=e.json,t=(e.plannerArticles,e.curBox),i=e.divaArticles,s=(0,c.NP)(),d=(0,l.useRef)(null),p=(0,l.useRef)(null),h=(0,l.useState)(null!=n?n:{}),f=(0,o.Z)(h,2),x=f[0],b=f[1],m=(0,l.useState)(!0),j=(0,o.Z)(m,2),g=j[0],v=j[1],y=(0,l.useState)([]),O=(0,o.Z)(y,2),w=O[0],P=O[1],D=i[t],A={mode:"code",onChange:function onChange(){try{var e=p.current,n=(e.get(),e.validate());v(n)}catch(e){return void v(!1)}}};(0,l.useEffect)((function(){b(n)})),(0,l.useEffect)((function(){d.current&&(p.current||(p.current=new(u())(d.current,A)),p.current&&p.current.set(x))}),[x]);var N=function(){var e=(0,r.Z)(a().mark((function _callee(){var e;return a().wrap((function _callee$(n){for(;;)switch(n.prev=n.next){case 0:if((e=p.current).get()&&0!==Object.keys(e.get()).length){n.next=4;break}return alert("Cannot save empty value"),n.abrupt("return");case 4:return D.catalogArticle.modifiedJ3D=e.get(),D.resetShelfPlanner(),n.next=8,D.updateShelfPlannerState({});case 8:s.paletteViewHandler.updateCurPaletteData(!1),setModifiedInfo(),alert("Saved");case 11:case"end":return n.stop()}}),_callee)})));return function onClickSave(){return e.apply(this,arguments)}}();function setModifiedInfo(){var e,n=null===(e=s.divaWebPlanner.getCatalogData())||void 0===e?void 0:e.allCatalogArticles,t=[];for(var r in n)n[r].catalogArticle.modifiedJ3D&&t.push({articleCodex:r,j3d:JSON.stringify(n[r].catalogArticle.modifiedJ3D)});P(t)}return(0,k.jsxs)("div",{className:S.YS,children:[(0,k.jsx)("div",{ref:d,id:"jsoneditor",style:{width:"90%",height:"100%"}}),(0,k.jsxs)("div",{className:S.IU,children:[(0,k.jsx)("button",{className:S.LI,disabled:!g,onClick:function onClick(){return N()},children:"Save"}),(0,k.jsx)("button",{className:S.LI,onClick:function onClick(){return function onClickExport(){if(w&&0!==w.length)for(var e=0;e<w.length;e++)C.ZP.downloadStringAsTxtFile(w[e].j3d,"text/plain",w[e].articleCodex+".txt");else alert("No modified Article found")}()},children:"Export modified J3D"}),(0,k.jsxs)("div",{children:[(0,k.jsx)("h5",{children:"Modified Articles"}),w.map((function(e,n){return(0,k.jsx)("p",{className:S.lI,children:e.articleCodex},n)}))]})]})]})}))},3958:(e,n,t)=>{t.r(n),t.d(n,{default:()=>m});var r=t(80248),o=t(84658),i=t(34988),a=t(72874),l=t(50747),s=t.n(l),c=t(87363),d=t(9420),u=t(85399),p=t(65515),h=t.n(p),f=t(83055),x=t(47514),b=["plannerArticles","curBox","isExpanded"];function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const m=(0,d.Pi)((function SVGOverview(e){var n=e.plannerArticles,t=e.curBox,r=(e.isExpanded,(0,a.Z)(e,b)),l=(0,f.NP)(),d=(0,c.useState)("None"),p=(0,i.Z)(d,2),m=p[0],j=p[1],g=l.divaWebPlanner.getDivaArticles();if(!g)return(0,x.jsx)(x.Fragment,{});var v=Object.values(g).filter((function(e){return e.hasCatalogPlannerArticle})),y=n[t],O=v[t],w="",S="",P=[];if(void 0===y)return(0,x.jsx)(x.Fragment,{});if(y.topSvgsWithFormula){var C;null===(C=O.plannerData)||void 0===C||C.curSVG;var k=y.topSvgsWithFormula.find((function(e){var n;return e.SVG===(null===(n=O.plannerData)||void 0===n?void 0:n.curSVG)}));if(k){for(var D=0;D<y.topSvgsWithFormula.length;D++)P.push(y.topSvgsWithFormula[D]);S=O.CatalogData.getCatImageURL(null==k?void 0:k.SVG,""),w=k.SVG,null==k||k.JsFormula}}if(S||(S=O.CatalogData.getCatImageURL(y.topSvg,""),P.push({SVG:S,Layer:y.topLayer,AVC:y.topAVC,AVO:y.topAVO,AVU:y.topAVU,AVN:y.topAVN,AVS:y.topAVS,HasAVL:y.topHasAVL,HasAVR:y.topHasAVR,JsFormula:""})),""!==S){var A=function(){var e=(0,o.Z)(s().mark((function _callee(e){var n;return s().wrap((function _callee$(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fetch(e);case 2:return n=t.sent,t.t0=j,t.next=6,n.text();case 6:t.t1=t.sent,(0,t.t0)(t.t1);case 8:case"end":return t.stop()}}),_callee)})));return function getSVG(n){return e.apply(this,arguments)}}();A(S)}else"None"!=m&&j("None");return(0,x.jsx)("div",_objectSpread(_objectSpread({},r),{},{className:h()(u.EU),children:(0,x.jsxs)("table",{className:u.Kz,children:[(0,x.jsx)("thead",{children:(0,x.jsxs)("tr",{className:u.$Q,children:[(0,x.jsx)("th",{children:"Nr"}),(0,x.jsx)("th",{children:"SVG"}),(0,x.jsx)("th",{children:"Layer"}),(0,x.jsx)("th",{children:"AVC"}),(0,x.jsx)("th",{children:"AVO"}),(0,x.jsx)("th",{children:"AVU "}),(0,x.jsx)("th",{children:"AVN "}),(0,x.jsx)("th",{children:"AVS "}),(0,x.jsx)("th",{children:"HasAVL "}),(0,x.jsx)("th",{children:"HasAVR "}),(0,x.jsx)("th",{children:"JSFormula "})]})}),(0,x.jsx)("tbody",{children:Object.values(P).map((function(e,n){return(0,x.jsxs)("tr",{className:e.SVG===w?u.hv:void 0,children:[(0,x.jsx)("th",{children:n+1}),(0,x.jsx)("th",{children:(0,x.jsx)("img",{src:O.CatalogData.getCatImageURL(e.SVG,"")})}),(0,x.jsx)("th",{children:e.Layer}),(0,x.jsx)("th",{children:e.AVC}),(0,x.jsx)("th",{children:e.AVO}),(0,x.jsx)("th",{children:e.AVU}),(0,x.jsx)("th",{children:e.AVN}),(0,x.jsx)("th",{children:e.AVS}),(0,x.jsx)("th",{children:e.HasAVL}),(0,x.jsx)("th",{children:e.HasAVR}),(0,x.jsx)("th",{children:e.JsFormula})]},e.JsFormula)}))})]})}))}))},31482:(e,n,t)=>{t.r(n),t.d(n,{default:()=>m});var r=t(80248),o=t(84658),i=t(34988),a=t(72874),l=t(50747),s=t.n(l),c=t(87363),d=t(9420),u=t(85399),p=t(65515),h=t.n(p),f=t(83055),x=t(47514),b=["plannerArticles","curBox","isExpanded"];function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const m=(0,d.Pi)((function SVGSourceViewer(e){var n=e.plannerArticles,t=e.curBox,r=(e.isExpanded,(0,a.Z)(e,b)),l=(0,f.NP)(),d=(0,c.useState)("None"),p=(0,i.Z)(d,2),m=p[0],j=p[1],g=l.divaWebPlanner.getDivaArticles();if(!g)return(0,x.jsx)(x.Fragment,{});var v=Object.values(g).filter((function(e){return e.hasCatalogPlannerArticle})),y=n[t],O=v[t],w="";if(void 0===y)return(0,x.jsx)(x.Fragment,{});if(y.topSvgsWithFormula){var S;null===(S=O.plannerData)||void 0===S||S.curSVG;var P=y.topSvgsWithFormula.find((function(e){var n;return e.SVG===(null===(n=O.plannerData)||void 0===n?void 0:n.curSVG)}));null!=P&&P.SVG&&(w=O.CatalogData.getCatImageURL(P.SVG,""))}if(w||(w=O.CatalogData.getCatImageURL(y.topSvg,"")),""!==w){var C=function(){var e=(0,o.Z)(s().mark((function _callee(e){var n;return s().wrap((function _callee$(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fetch(e);case 2:return n=t.sent,t.t0=j,t.next=6,n.text();case 6:t.t1=t.sent,(0,t.t0)(t.t1);case 8:case"end":return t.stop()}}),_callee)})));return function getSVG(n){return e.apply(this,arguments)}}();C(w)}else"None"!=m&&j("None");return(0,x.jsx)("div",_objectSpread(_objectSpread({},r),{},{className:h()(u.EU),children:(0,x.jsx)("textarea",{readOnly:!0,value:m})}))}))},82334:(e,n,t)=>{t.r(n),t.d(n,{default:()=>l});var r=t(9420),o=(t(87363),t(3958)),i=t(31482),a=t(47514);const l=(0,r.Pi)((function index(e){if("SVGOVERVIEW"===e.selectedJson)var n=(0,a.jsx)(o.default,{plannerArticles:e.plannerArticles,curBox:e.curBox,isExpanded:e.isExpanded});else n=(0,a.jsx)(i.default,{plannerArticles:e.plannerArticles,curBox:e.curBox,isExpanded:e.isExpanded});return(0,a.jsx)("div",{children:n})}))},73812:(e,n,t)=>{t.r(n),t.d(n,{default:()=>h});var r=t(34988),o=t(65515),i=t.n(o),a=t(87363),l=t(10304),s=t(20196),c=t(30913),d=t(83055),u=t(47514),p=["IMAGE","TEXT","DROPDOWN_TEXT","TOGGLE_NAME","TOGGLE","DROPDOWN_IMAGE","GAL_SMALL_GROUP_DROPDOWN","NUMBER","GAL_BIG","GAL_GROUP_DROPDOWN","TEXTBOX","GAL_TEXT","GAL_BIG_TEXT","GAL_SMALL_TEXT"];const h=function LayoutSelection(e){var n=e.option,t=(0,a.useState)(n.layout),o=(0,r.Z)(t,1)[0],h=(0,a.useState)(),f=(0,r.Z)(h,2),x=f[0],b=f[1],m=(0,d.NP)();(0,a.useEffect)((function(){n.layout=null!=x?x:o,m.paletteViewHandler.updateCurPaletteData(!0)}),[x]),(0,a.useEffect)((function(){return function(){n.layout=o,m.paletteViewHandler.updateCurPaletteData(!0)}}),[]);var j=(0,u.jsx)(c.default,{onClick:function onClick(){return b(void 0)},open:!1,iconAsDelete:!!x});return(0,u.jsxs)("div",{className:s.YS,children:["Layout:",(0,u.jsx)(l.Z,{className:i()(s.oF),controlClassName:s.x_,options:p,value:x,onChange:function onChange(e){return b(e.value)},placeholder:o,arrowClosed:j,arrowOpen:j})]})}},27810:(e,n,t)=>{t.r(n),t.d(n,{default:()=>d});var r=t(65515),o=t.n(r),i=t(9420),a=(t(87363),t(10304)),l=t(20196),s=t(30913),c=t(47514);const d=(0,i.Pi)((function OptionsSelector(e){var n=e.options,t=e.optionState,r=(0,c.jsx)(s.default,{onClick:function onClick(){return t[1](void 0)},open:!1,iconAsDelete:!!t[0]});return(0,c.jsx)("div",{className:l.YS,children:(0,c.jsx)(a.Z,{className:o()(l.oF),controlClassName:l.x_,options:n.map((function(e){return{label:e.name,value:e.codex}})),value:t[0],onChange:function onChange(e){return t[1](e.value)},placeholder:"Option",arrowClosed:r,arrowOpen:r})})}))},82714:(e,n,t)=>{t.r(n),t.d(n,{default:()=>_});var r=t(80248),o=t(84658),i=t(34988),a=t(50747),l=t.n(a),s=t(65515),c=t.n(s),d=t(9420),u=t(83055),p=t(87363),h=t(93379),f=t.n(h),x=t(7795),b=t.n(x),m=t(90569),j=t.n(m),g=t(3565),v=t.n(g),y=t(19216),O=t.n(y),w=t(44589),S=t.n(w),P=t(7046),C={};C.styleTagTransform=S(),C.setAttributes=v(),C.insert=j().bind(null,"head"),C.domAPI=b(),C.insertStyleElement=O();f()(P.ZP,C);P.ZP&&P.ZP.locals&&P.ZP.locals;var k=t(27810),D=t(73812),A=t(88683),N=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const _=(0,d.Pi)((function CatalogMakeup(e){var n=(0,u.NP)(),t=(0,p.useState)([]),r=(0,i.Z)(t,2),a=r[0],s=r[1],d=(0,p.useState)(),h=(0,i.Z)(d,2),f=h[0],x=h[1],b=null==a?void 0:a.find((function(e){return e.codex===f}));(0,p.useEffect)((function(){var e=n.divaWebPlanner.actSet(),t=null==e?void 0:e.CatalogData.getOptions();null!=t&&t.length&&s(t)}),[n.settingsState.configChanged]),(0,p.useEffect)((function(){var e=null==a?void 0:a.find((function(e){return e.codex===f}));e&&m(e)}),[f]);var m=function(){var e=(0,o.Z)(l().mark((function _callee(e){var t;return l().wrap((function _callee$(r){for(;;)switch(r.prev=r.next){case 0:if(!(t=n.configuratorStructureHandler.getFirstConfigStepByOptionCodex(e.codex))){r.next=7;break}return n.configuratorStructureHandler.navigateToConfigStepByConfigStepKey(null==t?void 0:t.key),n.updateConfiguratorState(!0),r.next=6,A.DivaUtils.Sleep(100);case 6:n.paletteViewHandler.scrollToConfigStepByPosNr(t.posNr,!0);case 7:case"end":return r.stop()}}),_callee)})));return function naviagateToOption(n){return e.apply(this,arguments)}}();return(0,N.jsx)("div",_objectSpread(_objectSpread({},e),{},{className:c()(e.className,P.fm),children:(0,N.jsxs)("div",{className:P.YS,children:[(0,N.jsx)("a",{className:P.Fs,children:"CatalogMakeup"}),(0,N.jsxs)("div",{className:P.nC,children:[(0,N.jsx)(k.default,{options:a,optionState:[f,x]}),b&&(0,N.jsx)(D.default,{option:b},b.codex)]})]})}))}))},13222:(e,n,t)=>{t.r(n),t.d(n,{default:()=>o});t(87363);var r=t(47514);const o=function DecisionVisualization(e){var n=e.decision,t=function renderIfDefined(e,n){return null!=e&&""!==e?(0,r.jsxs)("p",{children:[(0,r.jsxs)("strong",{children:[n,":"]})," ",Array.isArray(e)?e.join(", "):e]}):null};return(0,r.jsxs)("div",{style:{userSelect:"text"},children:[(0,r.jsx)("h2",{children:"Decision Details"}),t(n.Number,"Number"),t(n.Type,"Type"),t(n.Prio,"Priority"),t(n.Options,"Options"),t(n.Enabled?"Yes":"No","Enabled"),t(n.DecisionNumber,"Decision Number"),t(n.ActiveCombination,"Active Combination"),t(n.DisableHistory,"Disabled History"),n.DOC&&n.DOC.length>0&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("h3",{children:"Decision Option Combinations:"}),n.DOC.map((function(e,n){var o;return(0,r.jsxs)("div",{className:"decision-option-combination",children:[t(n,"doc Index"),t(e.JsFormula,"Formula"),Object.values(null!==(o=e.Row)&&void 0!==o?o:{}).map((function(e){return(0,r.jsx)(r.Fragment,{children:t(e.join(";"),"Doc Row")})})),e.DA&&e.DA.length>0&&(0,r.jsxs)("div",{children:[(0,r.jsx)("h6",{children:"Decision Actions:"}),(0,r.jsx)("ul",{children:e.DA.map((function(e,n){return(0,r.jsxs)("li",{children:[t(e.Type,"Action Type"),t(e.FeatureRef,"Feature Ref"),t(e.OptionCodex,"OptionCodex"),t(e.OptionRef,"OptionRef"),t(e.OptionRefCodex,"OptionRefCodex"),t(e.OptionValueRefCodex,"OptionValueRefCodex"),t(e.DecisionNr,"DecisionNr")]},n)}))})]}),t(e.ValidOptionValues,"Valid Option Values"),t(e.ValidOptions,"Valid Options"),t(e.RefLevel,"Ref Level")]},n)}))]}),t(n.DisableHistory,"Disabled History"),(0,r.jsx)("strong",{children:"Is Valid DOC:"})," ",n.DOC&&n.DOC.length>0?"Yes":"No"]})}},62197:(e,n,t)=>{t.r(n),t.d(n,{default:()=>Z});var r=t(80248),o=t(12952),i=t(84658),a=t(34988),l=t(88291),s=t(50747),c=t.n(s),d=t(87363),u=t(51203),p=t(93379),h=t.n(p),f=t(7795),x=t.n(f),b=t(90569),m=t.n(b),j=t(3565),g=t.n(j),v=t(19216),y=t.n(v),O=t(44589),w=t.n(O),S=t(33981),P={};P.styleTagTransform=w(),P.setAttributes=g(),P.insert=m().bind(null,"head"),P.domAPI=x(),P.insertStyleElement=y();h()(S.ZP,P);S.ZP&&S.ZP.locals&&S.ZP.locals;var C=t(83055),k=t(9420),D=t(65515),A=t.n(D),N=t(88683),_=(t(76839),t(13222)),E=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const Z=(0,k.Pi)((function DecisionAnalyzer(e){var n,t=Object.assign({},((0,l.Z)(e),e)),r=(0,C.NP)(),s=r.divaWebPlanner.getDivaArticles(),p=(0,d.useState)(!1),h=(0,a.Z)(p,2),f=h[0],x=h[1];(0,d.useEffect)((function(){var e=function(){var e=(0,i.Z)(c().mark((function _callee(){return c().wrap((function _callee$(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,N.DivaUtils.Sleep(1e3);case 2:x(!f);case 3:case"end":return e.stop()}}),_callee)})));return function asyncFunct(){return e.apply(this,arguments)}}();e()}),[r.tabGroupState.allTabGroups]);var b=Object.values(null!=s?s:{}).find((function(e){return 1==e.posNr})),m=(0,d.useState)(),j=(0,a.Z)(m,2),g=j[0],v=j[1],y=(0,d.useState)(),O=(0,a.Z)(y,2),w=O[0],P=O[1];if(!b)return(0,E.jsx)(E.Fragment,{});var k=null===(n=b.decisionDebugStacks)||void 0===n||null===(n=n[0])||void 0===n||null===(n=n.stack)||void 0===n?void 0:n.length;if(!k)return(0,E.jsx)(E.Fragment,{});var D=(0,o.Z)(Array(k).keys()),Z=b.decisionDebugStacks.map((function(e){return e.stack.map((function(e){var n,t;return _objectSpread(_objectSpread({},e),{},{bold:!(null===(n=e.decision.Options)||void 0===n||!n.includes("OPT"+w))||(null===(t=e.decision.DOC)||void 0===t?void 0:t.find((function(e){var n;return null===(n=e.DA)||void 0===n?void 0:n.find((function(e){return e.OptionCodex==w}))})))})}))}));return(0,E.jsxs)("div",_objectSpread(_objectSpread({},t),{},{className:A()(t.className,S.fm,r.uiState.configSettingsIsExpanded?u.NF:void 0),style:{zIndex:800},children:[(0,E.jsxs)("a",{className:S.Fs,children:["Decision history",(0,E.jsx)("input",{value:w,onChange:function onChange(e){return P(e.target.value)},placeholder:"filter option ohne OPT"})]}),(0,E.jsxs)("div",{children:[(0,E.jsxs)("table",{className:S.Kz,children:[(0,E.jsx)("thead",{children:(0,E.jsx)("tr",{className:S.$Q,children:Z.map((function(e,n){var t="";for(var r in b.decisionDebugStacks[n].variantValues)t=t+r+": "+b.decisionDebugStacks[n].variantValues[r]+"\n";return(0,E.jsx)("th",{children:t},n)}))})}),(0,E.jsx)("tbody",{children:D.map((function(e,n){return(0,E.jsx)("tr",{className:S.$Q,children:Z.map((function(e,t){var r,o;return(0,E.jsx)("th",{onClick:function onClick(){return function onClick(e,n){e==(null==g?void 0:g.Number)?v(void 0):v(n)}(e[n].nr,e[n].decision)},children:e[n].bold?(0,E.jsx)("strong",{children:null===(r=e[n])||void 0===r?void 0:r.text}):null===(o=e[n])||void 0===o?void 0:o.text},t)}))},n)}))})]}),g&&(0,E.jsx)("div",{className:S.EC,children:(0,E.jsx)(_.default,{decision:g})})]})]}))}))},43233:(e,n,t)=>{t.r(n),t.d(n,{default:()=>N});var r=t(80248),o=t(84658),i=t(34988),a=t(72874),l=t(50747),s=t.n(l),c=t(65515),d=t.n(c),u=t(9420),p=t(87363),h=t(83055),f=t(93379),x=t.n(f),b=t(7795),m=t.n(b),j=t(90569),g=t.n(j),v=t(3565),y=t.n(v),O=t(19216),w=t.n(O),S=t(44589),P=t.n(S),C=t(13689),k={};k.styleTagTransform=P(),k.setAttributes=y(),k.insert=g().bind(null,"head"),k.domAPI=m(),k.insertStyleElement=w();x()(C.ZP,k);C.ZP&&C.ZP.locals&&C.ZP.locals;var D=t(47514),A=["onMouseDown"];function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const N=(0,u.Pi)((function EkTextViewer(e){var n=e.onMouseDown,t=(0,a.Z)(e,A),r=(0,h.NP)(),l=(0,p.useState)(""),c=(0,i.Z)(l,2),u=c[0],f=c[1],x=(0,p.useState)([]),b=(0,i.Z)(x,2),m=b[0],j=b[1],g=function(){var e=(0,o.Z)(s().mark((function _callee(){var e,n,t;return s().wrap((function _callee$(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,r.divaWebPlanner.getBasketDataWithEkText();case 2:if(t=o.sent){o.next=5;break}return o.abrupt("return");case 5:f(null!==(e=t.getEKText())&&void 0!==e?e:""),j(null!==(n=t.SAPOrderLines)&&void 0!==n?n:[]);case 7:case"end":return o.stop()}}),_callee)})));return function getEkText(){return e.apply(this,arguments)}}();return(0,p.useEffect)((function(){g()}),[r.settingsState.configChanged]),(0,D.jsx)("div",_objectSpread(_objectSpread({},t),{},{className:d()(t.className,C.fm),children:(0,D.jsxs)("div",{className:C.YS,children:[(0,D.jsx)("a",{className:C.Fs,onMouseDown:n,children:"EkText Übersicht"}),!!m.length&&(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)("h3",{children:"SapOrderLines"}),(0,D.jsxs)("table",{className:C.Kz,children:[(0,D.jsx)("thead",{children:(0,D.jsxs)("tr",{className:C.$Q,children:[(0,D.jsx)("th",{children:"Name"}),(0,D.jsx)("th",{children:"EkText"}),(0,D.jsx)("th",{children:"Preis"}),(0,D.jsx)("th",{children:"Artikle Nr."}),(0,D.jsx)("th",{children:"Retail Artikle Nr."}),(0,D.jsx)("th",{children:"Prefix"}),(0,D.jsx)("th",{children:"Menge"}),(0,D.jsx)("th",{children:"PosNr"})]})}),(0,D.jsx)("tbody",{children:m.map((function(e,n){var t;return(0,D.jsxs)("tr",{className:C.$Q,children:[(0,D.jsxs)("th",{children:[" ",e.Name]}),e.OrderText?(0,D.jsx)("th",{dangerouslySetInnerHTML:{__html:e.OrderText.replace(/\r\n/g,"<br>")}}):(0,D.jsx)("th",{}),(0,D.jsxs)("th",{children:[" ",null!==(t=e.Price)&&void 0!==t?t:0," "]}),(0,D.jsxs)("th",{children:[" ",e.ArticleNr," "]}),(0,D.jsxs)("th",{children:[" ",e.RetailArticleName," "]}),(0,D.jsxs)("th",{children:[e.ArticleNrPrefix," "]}),(0,D.jsxs)("th",{children:[e.Quantity," "]}),(0,D.jsx)("th",{children:e.PosNr})]},n)}))})]})]}),(0,D.jsxs)("div",{children:[(0,D.jsx)("button",{onClick:function onClick(){var e;return null===(e=navigator.clipboard)||void 0===e?void 0:e.writeText(u)},children:"kopieren"}),(0,D.jsx)("div",{className:C.nG,dangerouslySetInnerHTML:{__html:u.replace(/\r\n/g,"<br>")}})]})]})}))}))},35631:(e,n,t)=>{t.r(n),t.d(n,{default:()=>s});var r=t(80248),o=t(9420),i=(t(87363),t(72072)),a=t(16921),l=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const s=(0,o.Pi)((function J3DEditor(e){return(0,l.jsx)(i.default,_objectSpread(_objectSpread({},e),{},{className:e.className,style:{userSelect:"text"},ChildComponent:a.default,settings:[{key:"J3D",name:"J3D Editor"}],title:"Artikel Übersicht"}))}))},70697:(e,n,t)=>{t.r(n),t.d(n,{default:()=>E});var r=t(80248),o=t(84658),i=t(34988),a=t(72874),l=t(50747),s=t.n(l),c=t(87363),d=t(51203),u=t(93379),p=t.n(u),h=t(7795),f=t.n(h),x=t(90569),b=t.n(x),m=t(3565),j=t.n(m),g=t(19216),v=t.n(g),y=t(44589),O=t.n(y),w=t(15909),S={};S.styleTagTransform=O(),S.setAttributes=j(),S.insert=b().bind(null,"head"),S.domAPI=f(),S.insertStyleElement=v();p()(w.ZP,S);w.ZP&&w.ZP.locals&&w.ZP.locals;var P=t(83055),C=t(9420),k=t(65515),D=t.n(k),A=t(88683),N=t(47514),_=["onMouseDown"];function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const E=(0,C.Pi)((function ArticleOverview(e){var n,t=e.onMouseDown,r=(0,a.Z)(e,_),l=(0,P.NP)(),u=Object.values(null!==(n=l.divaWebPlanner.getDivaArticles())&&void 0!==n?n:{}),p=(0,c.useState)(!1),h=(0,i.Z)(p,2),f=h[0],x=h[1];return(0,c.useEffect)((function(){var e=function(){var e=(0,o.Z)(s().mark((function _callee(){return s().wrap((function _callee$(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A.DivaUtils.Sleep(1e3);case 2:x(!f);case 3:case"end":return e.stop()}}),_callee)})));return function asyncFunct(){return e.apply(this,arguments)}}();e()}),[l.settingsState.configChanged]),l.productState.formatedTotalPrice,(0,N.jsxs)("div",_objectSpread(_objectSpread({},r),{},{className:D()(r.className,w.fm,l.uiState.configSettingsIsExpanded?d.NF:void 0),children:[(0,N.jsx)("a",{className:w.Fs,onMouseDown:t,children:"Artikel Übersicht"}),(0,N.jsxs)("table",{className:w.Kz,children:[(0,N.jsx)("thead",{children:(0,N.jsxs)("tr",{className:w.$Q,children:[(0,N.jsx)("th",{children:"Name"}),(0,N.jsx)("th",{children:"ArticleCodex"}),(0,N.jsx)("th",{children:"CatalogCodex"}),(0,N.jsx)("th",{children:"Preis"}),(0,N.jsx)("th",{children:"Bruttopreis"}),(0,N.jsx)("th",{children:"Discount Prozent"}),(0,N.jsx)("th",{children:"Menge"})]})}),(0,N.jsx)("tbody",{children:Object.values(u).map((function(e,n){var t,r,o;return(0,N.jsxs)("tr",{className:w.$Q,children:[(0,N.jsxs)("th",{children:[" ",e.name]}),(0,N.jsxs)("th",{children:[e.articleCodex," "]}),(0,N.jsxs)("th",{children:[e.catalogCodex," "]}),(0,N.jsxs)("th",{children:[" ",null!==(t=e.price)&&void 0!==t?t:0," "]}),(0,N.jsxs)("th",{children:[" ",null!==(r=e.bruttoCalcPrice)&&void 0!==r?r:0," "]}),(0,N.jsxs)("th",{children:[" ",null!==(o=e.discountPercentage)&&void 0!==o?o:0," "]}),(0,N.jsxs)("th",{children:[e.quantity," "]})]},e.basketId)}))})]})]}))}))},75033:(e,n,t)=>{t.r(n),t.d(n,{default:()=>k});var r=t(80248),o=t(34988),i=t(87363),a=t(93379),l=t.n(a),s=t(7795),c=t.n(s),d=t(90569),u=t.n(d),p=t(3565),h=t.n(p),f=t(19216),x=t.n(f),b=t(44589),m=t.n(b),j=t(77648),g={};g.styleTagTransform=m(),g.setAttributes=h(),g.insert=u().bind(null,"head"),g.domAPI=c(),g.insertStyleElement=x();l()(j.ZP,g);j.ZP&&j.ZP.locals&&j.ZP.locals;var v=t(9420),y=t(65515),O=t.n(y),w=t(1463),S=t.n(w),P=t(83055),C=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const k=(0,v.Pi)((function MaskEditor(e){var n,t=(0,P.NP)(),r=(0,i.useRef)(null),a=(0,i.useRef)(null),l=(0,i.useState)(!0),s=(0,o.Z)(l,2),c=s[0],d=s[1],u=null===(n=t.divaWebPlanner.getCatalogData())||void 0===n?void 0:n.catalogMask,p=(0,i.useState)(null!=u?u:{}),h=(0,o.Z)(p,2),f=h[0],x=(h[1],{mode:"code",onChange:function onChange(){try{var e=a.current,n=(e.get(),e.validate());d(n)}catch(e){return void d(!1)}}});(0,i.useEffect)((function(){r.current&&(a.current||(a.current=new(S())(r.current,x)),a.current&&a.current.set(f))}),[f]);return(0,C.jsxs)("div",_objectSpread(_objectSpread({},e),{},{className:O()(j.YS,e.className),children:["MaskEditor",(0,C.jsx)("div",{ref:r,id:"jsoneditor",style:{width:"100%",height:"calc(100% - 300px)"}}),(0,C.jsx)("div",{className:j.Yq,children:(0,C.jsx)("button",{className:j.LI,disabled:!c,onClick:function onClick(){return function onClickSave(){var e=a.current;if(e.get()&&0!==Object.keys(e.get()).length){var n=e.get(),r=t.divaWebPlanner.getCatalogData();r&&(r.catalogMask=n),t.divaWebPlanner.updateWebConfiguratorTitle(),t.paletteViewHandler.updateCurPaletteData(!0),t.uiState.setActiveCatalogSection("3D/2D"),t.productState.updatePlannerMsgContainer("ACCESSOIRE_MSG",!0,"INFO","Speicherung erfolgreich",!0)}else alert("Cannot save empty value")}()},children:"Save"})})]}))}))},97078:(e,n,t)=>{t.r(n),t.d(n,{default:()=>y});var r=t(80248),o=t(84658),i=t(34988),a=t(72874),l=t(50747),s=t.n(l),c=t(87363),d=t(51203),u=t(93476),p=t(83055),h=t(9420),f=t(65515),x=t.n(f),b=t(88683),m=t(47514),j=["onMouseDown"];function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var g=function getPartlistArticles(e,n){for(var t in e.partlistArticles){var r=e.partlistArticles[t];if(r.hasPartlistArticle)n.push(v(r,!0)),n=g(r,n);else{for(var o=!1,i=0;i<n.length;i++)if(r.articleCodex===n[i].articleCodex&&r.retailArticleNr===n[i].retailArticleNr&&r.retailPrefix===n[i].retailPrefix&&r.catalogCodex===n[i].catalogCodex){o=!0,n[i].quantity+=r.quantity;break}o||n.push(v(r))}}return n},v=function getPartlsitArticleObj(e,n){var t,r,o,i,a;return{name:(n?"Hülse: ":"")+e.posNr+" "+e.name,price:n?"---":e.price,retailArticleNr:null!==(t=e.retailArticleNr)&&void 0!==t?t:"",retailPrefix:null!==(r=e.retailPrefix)&&void 0!==r?r:"",quantity:e.quantity,ruleDesc:null!==(o=e.ruleDesc)&&void 0!==o?o:"",articleCodex:null!==(i=e.articleCodex)&&void 0!==i?i:"",catalogCodex:null!==(a=e.catalogCodex)&&void 0!==a?a:"",codex:e.articleCodex,rule:e.ruleDesc}};const y=(0,h.Pi)((function PartList(e){var n=e.onMouseDown,t=(0,a.Z)(e,j),r=(0,p.NP)(),l=r.divaWebPlanner.getDivaArticles(),h=(0,c.useState)(!1),f=(0,i.Z)(h,2),v=f[0],y=f[1];(0,c.useEffect)((function(){var e=function(){var e=(0,o.Z)(s().mark((function _callee(){return s().wrap((function _callee$(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b.DivaUtils.Sleep(1e3);case 2:y(!v);case 3:case"end":return e.stop()}}),_callee)})));return function asyncFunct(){return e.apply(this,arguments)}}();e()}),[r.settingsState.configChanged]);var O=[];for(var w in l)O=g(l[w],O);return(0,m.jsxs)("div",_objectSpread(_objectSpread({},t),{},{className:x()(t.className,u.fm,r.uiState.configSettingsIsExpanded?d.NF:void 0),children:[(0,m.jsx)("a",{className:u.Fs,onMouseDown:n,children:"Stücklisten Übersicht"}),(0,m.jsxs)("table",{className:u.Kz,children:[(0,m.jsx)("thead",{children:(0,m.jsxs)("tr",{className:u.$Q,children:[(0,m.jsx)("th",{children:"Name"}),(0,m.jsx)("th",{children:"Artikle Nr."}),(0,m.jsx)("th",{children:"CatalogCodex"}),(0,m.jsx)("th",{children:"Preis"}),(0,m.jsx)("th",{children:"Nr"}),(0,m.jsx)("th",{children:"Prefix"}),(0,m.jsx)("th",{children:"Menge"}),(0,m.jsx)("th",{children:"Rule"})]})}),(0,m.jsx)("tbody",{children:Object.values(O).map((function(e,n){var t;return(0,m.jsxs)("tr",{className:u.$Q,children:[(0,m.jsxs)("th",{children:[" ",e.name]}),(0,m.jsxs)("th",{children:[e.articleCodex," "]}),(0,m.jsxs)("th",{children:[e.catalogCodex," "]}),(0,m.jsxs)("th",{children:[" ",null!==(t=e.price)&&void 0!==t?t:0," "]}),(0,m.jsxs)("th",{children:[" ",e.retailArticleNr," "]}),(0,m.jsxs)("th",{children:[e.retailPrefix," "]}),(0,m.jsxs)("th",{children:[e.quantity," "]}),(0,m.jsx)("th",{children:e.rule})]},e.articleCodex+e.retailArticleNr)}))})]})]}))}))},8350:(e,n,t)=>{t.r(n),t.d(n,{default:()=>S});var r=t(80248),o=t(65515),i=t.n(o),a=t(83055),l=t(87363),s=t(93379),c=t.n(s),d=t(7795),u=t.n(d),p=t(90569),h=t.n(p),f=t(3565),x=t.n(f),b=t(19216),m=t.n(b),j=t(44589),g=t.n(j),v=t(62904),y={};y.styleTagTransform=g(),y.setAttributes=x(),y.insert=h().bind(null,"head"),y.domAPI=u(),y.insertStyleElement=m();c()(v.ZP,y);v.ZP&&v.ZP.locals&&v.ZP.locals;var O=t(9420),w=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const S=(0,O.Pi)((function RTVAnalyzer(e){var n=(0,a.NP)().rtvAnalyzeData,t=(0,l.useRef)(),r=0,o=0,s=0;n.forEach((function(e){return e.active&&(r+=e.sizeMb,"GEO"==e.type?o+=e.sizeMb:s+=e.sizeMb)}));var c=n.filter((function(e){return e.active})).sort((function(e,n){return n.sizeMb-e.sizeMb}));return c=c.map((function(e){var n;return null!==(n=t.current)&&void 0!==n&&n.find((function(n){return e.name==n.name&&1==n.active}))?_objectSpread(_objectSpread({},e),{},{new:!1}):_objectSpread(_objectSpread({},e),{},{new:!0})})),t.current=c,(0,w.jsx)("div",_objectSpread(_objectSpread({},e),{},{className:i()(e.className,v.fm),children:(0,w.jsxs)("div",{className:v.YS,children:[(0,w.jsx)("a",{className:v.Fs,children:"RTV Analyzer"}),(0,w.jsx)("div",{className:v.nC,children:(0,w.jsxs)("table",{className:v.Bm,children:[(0,w.jsxs)("tr",{children:[(0,w.jsx)("th",{children:"Art"}),(0,w.jsx)("th",{children:"Name"}),(0,w.jsx)("th",{children:"Pfad"}),(0,w.jsx)("th",{children:"Geos (std mat)"}),(0,w.jsx)("th",{children:"Größe (MB | %)"})]}),(0,w.jsxs)("tr",{children:[(0,w.jsx)("th",{}),(0,w.jsx)("th",{children:"Gesamt"}),(0,w.jsx)("th",{}),(0,w.jsx)("th",{}),(0,w.jsx)("th",{children:Math.round(100*r)/100+"mb | 100%"})]}),(0,w.jsxs)("tr",{children:[(0,w.jsx)("th",{}),(0,w.jsx)("th",{children:"Geo Gesamt"}),(0,w.jsx)("th",{}),(0,w.jsx)("th",{}),(0,w.jsx)("th",{children:Math.round(100*o)/100+"mb | "+Math.round(o/r*100)+"%"})]}),(0,w.jsxs)("tr",{children:[(0,w.jsx)("th",{}),(0,w.jsx)("th",{children:"Tex Gesamt"}),(0,w.jsx)("th",{}),(0,w.jsx)("th",{}),(0,w.jsx)("th",{children:Math.round(100*s)/100+"mb | "+Math.round(s/r*100)+"%"})]}),c.map((function(e){return(0,w.jsxs)("tr",{style:e.found?e.new?{fontWeight:"bold"}:{}:{color:"red"},children:[(0,w.jsx)("td",{children:e.type}),(0,w.jsx)("td",{children:e.name}),(0,w.jsx)("td",{children:(0,w.jsx)("div",{style:{maxHeight:20,lineBreak:"anywhere",overflow:"hidden",cursor:"copy"},onClick:function onClick(){navigator.clipboard.writeText(e.path)},children:"MAT"!=e.type?e.path.replace(e.path.slice(0,e.path.indexOf("diva3darchiv")+12),""):e.path})}),(0,w.jsx)("td",{children:e.geo}),(0,w.jsx)("td",{children:Math.round(100*e.sizeMb)/100+"mb | "+Math.round(e.sizeMb/r*100)+"%"})]})}))]})})]})}))}))},70685:(e,n,t)=>{t.r(n),t.d(n,{default:()=>c});var r=t(80248),o=t(88291),i=(t(87363),t(9420)),a=t(72072),l=t(82334),s=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const c=(0,i.Pi)((function SVGAnalyser(e){var n=Object.assign({},((0,o.Z)(e),e));return(0,s.jsx)(a.default,_objectSpread(_objectSpread({},n),{},{className:n.className,ChildComponent:l.default,settings:[{key:"SVGSOURCE",name:"SVG Source"},{key:"SVGOVERVIEW",name:"SVG Übersicht"}],title:"SVG Übersicht"}))}))},19874:(e,n,t)=>{t.r(n),t.d(n,{default:()=>w});var r=t(80248),o=t(88291),i=t(9420),a=t(87363),l=t(53492),s=t(60998),c=t(44997),d=t(83055),u=t(97078),p=t(75033),h=t(70685),f=t(51203),x=t(43233),b=t(82714),m=t(62197),j=t(8350),g=t(35631),v=t(19631),y=t(70697),O=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const w=(0,i.Pi)((function CatalogProduct(e){var n=Object.assign({},((0,o.Z)(e),e)),t=(0,d.NP)();(0,a.useEffect)((function(){switch(t.uiState.activeCatalogSection){case"Options":t.uiState.setConfigSettingsIsExpanded(!0);break;case"ekText":case"3D/2D":case"PartList":case"Artikelübersicht":case"SVGübersicht":case"DecisionAnalyzer":case"CatalogMakeup":case"RTVAnalyzer":case"J3DEditor":case"PropertiesEditor":case"MaskEditor":t.uiState.setConfigSettingsIsExpanded(!1)}}),[t.uiState.activeCatalogSection]),(0,a.useEffect)((function(){t.getIsInMobileView()&&t.uiState.setActiveCatalogSection("3D/2D")}),[]);var r=void 0,i=n.className+" "+f.pb;switch(t.uiState.activeCatalogSection){case"Options":r=(0,O.jsx)(c.default,_objectSpread(_objectSpread({},n),{},{style:{zIndex:700}}));break;case"PartList":r=(0,O.jsx)(u.default,_objectSpread(_objectSpread({},n),{},{className:i}));break;case"DecisionAnalyzer":r=(0,O.jsx)(m.default,_objectSpread(_objectSpread({},n),{},{className:i}));break;case"Artikelübersicht":r=(0,O.jsx)(y.default,_objectSpread(_objectSpread({},n),{},{className:i}));break;case"SVGübersicht":r=(0,O.jsx)(h.default,_objectSpread(_objectSpread({},n),{},{className:i}));break;case"ekText":r=(0,O.jsx)(x.default,_objectSpread(_objectSpread({},n),{},{className:i}));break;case"CatalogMakeup":r=(0,O.jsx)(b.default,_objectSpread(_objectSpread({},n),{},{className:i}));break;case"RTVAnalyzer":r=(0,O.jsx)(j.default,_objectSpread(_objectSpread({},n),{},{className:i}));break;case"J3DEditor":r=(0,O.jsx)(g.default,_objectSpread(_objectSpread({},n),{},{className:i}));break;case"PropertiesEditor":r=(0,O.jsx)(v.default,_objectSpread(_objectSpread({},n),{},{className:i}));break;case"MaskEditor":r=(0,O.jsx)(p.default,_objectSpread(_objectSpread({},n),{},{className:i}))}return(0,O.jsxs)(O.Fragment,{children:[!t.uiState.isInMobileView&&(0,O.jsx)(s.default,_objectSpread(_objectSpread({},n),{},{currentWindowActive:t.uiState.activeCatalogSection,setCurrentWindowActive:function changeVal(e){localStorage.setItem("lastWindow",e),t.uiState.setActiveCatalogSection(e)}})),(0,a.createElement)(l.default,_objectSpread(_objectSpread({},n),{},{style:{boxSizing:"border-box",borderLeft:t.uiState.isInMobileView?void 0:"50px solid transparent"},key:"product"})),r]})}))},89144:(e,n,t)=>{t.d(n,{IU:()=>c,LI:()=>s,YS:()=>l,ZP:()=>u,lI:()=>d});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--B2E8Y {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n /* width: 80%; */\n height: 750px;\n margin-left: 51px;\n margin-right: 10px;\n gap: 10px;\n}\n\n.index-module--Qe3Dm {\n min-height: 45px;\n min-width: 45px;\n max-width: 60px;\n width: auto;\n margin-bottom: 20px;\n}\n.index-module--AG2M4 {\n display: flex;\n flex-direction: column;\n}\n\n.index-module--QweAA {\n font-size: 10px;\n}\n",""]);var l="index-module--B2E8Y",s="index-module--Qe3Dm",c="index-module--AG2M4",d="index-module--QweAA";const u=a},6521:(e,n,t)=>{t.d(n,{$Q:()=>c,EU:()=>l,Kz:()=>s,ZP:()=>u,hv:()=>d});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--orfU0 {\n margin-left: 50px;\n color: rgba(255,255,255,0.42353);\n height: 100vh;\n}\n.index-module--ZQXRQ {\n display: flex;\n flex-direction: column;\n position: relative;\n width: 100%;\n height: 100%;\n\n background-color: rgb(28, 32, 35);\n font-family: var(--diva-typography-font-family);\n font-weight: 100;\n gap: 10px;\n}\n.index-module--zMMBL {\n width: 20%;\n border-bottom: 1px solid;\n}\n.index-module--fJfHX {\n width: 50px;\n height: 50px;\n}\n.index-module--orfU0 textarea {\n background-color: rgb(28, 32, 35);\n color: white;\n width: 97.7%;\n height: 100%;\n padding-top: 2%;\n padding-left: 2%;\n overflow: auto;\n}\n.index-module--orfU0 .index-module--kwewQ {\n max-height: 62.1%;\n transition: max-height 0.5s;\n}\n\n.index-module--UVkGx {\n color: black !important;\n}\n\n.index-module--UVkGx {\n background-color: rgba(96, 245, 96, 0.377);\n}\n.index-module--ZQXRQ img {\n height: 50px;\n width: 50px;\n}\n.index-module--ZQXRQ tbody {\n height: 100%;\n vertical-align: top;\n overflow-y: auto;\n overflow-x: hidden;\n}\n.index-module--ZQXRQ tr th {\n width: 4%;\n}\n.index-module--ZQXRQ tr th:last-child {\n width: 90px;\n}\n.index-module--ZQXRQ thead {\n border-bottom: 1px solid white;\n}\n.index-module--ZQXRQ tbody th {\n width: 23px;\n table-layout: fixed;\n line-break: anywhere;\n font-size: 15px;\n}\n.index-module--ZQXRQ tbody th:nth-child(1) {\n width: 35px;\n}\n.index-module--ZQXRQ tbody th:last-child {\n width: 890px;\n font-size: 9px;\n}\n.index-module--iJwMt {\n background-color: rgba(96, 245, 96, 0.377);\n}\n.index-module--cSh30 {\n top: 10px;\n width: 47.6%;\n text-align: center;\n color: black;\n background-color: rgba(96, 245, 96, 0.377);\n}\n.index-module--BpST3 {\n position: absolute;\n top: 286px;\n width: 100%;\n}\n",""]);var l="index-module--orfU0",s="index-module--ZQXRQ",c="index-module--zMMBL",d="index-module--iJwMt";const u=a},95044:(e,n,t)=>{t.d(n,{YS:()=>l,ZP:()=>d,oF:()=>s,x_:()=>c});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--cA3b1 {\n display: flex;\n flex-direction: column;\n gap: 10px;\n}\n\n.index-module--CJSAc {\n box-shadow: var(--boxShadowHover);\n width: 300px;\n min-width: 100px;\n}\n\n.index-module--h2JpC {\n border-radius: var(--globalBorderRadius);\n border-color: white;\n padding: 2px 12px 3px 10px;\n line-height: 20.8px;\n -webkit-font-smoothing: antialiased;\n -webkit-text-stroke: 0.1px;\n color: var(--secondaryColor);\n cursor: pointer;\n}\n",""]);var l="index-module--cA3b1",s="index-module--CJSAc",c="index-module--h2JpC";const d=a},7046:(e,n,t)=>{t.d(n,{Fs:()=>c,YS:()=>l,ZP:()=>u,fm:()=>s,nC:()=>d});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--tlOAN {\n display: flex;\n flex-direction: column;\n width: calc(100% - 5px);\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n background-color: #fff;\n}\n.index-module--Y4cLX {\n overflow: auto;\n left: 50px;\n}\n.index-module--mAsES {\n height: 8%;\n width: 100%;\n padding-top: 0.7%;\n text-align: center;\n background-color: var(--primaryColor);\n font-size: 30px;\n color: white;\n font-weight: 600;\n}\n.index-module--Ool1Y {\n width: calc(100% - 40px);\n margin: 20px;\n display: flex;\n flex-direction: column;\n gap: 20px;\n}\n",""]);var l="index-module--tlOAN",s="index-module--Y4cLX",c="index-module--mAsES",d="index-module--Ool1Y";const u=a},33981:(e,n,t)=>{t.d(n,{$Q:()=>s,EC:()=>u,Fs:()=>d,Kz:()=>l,ZP:()=>p,fm:()=>c});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--sS9Y_ {\n position: relative;\n width: 100%;\n height: 100%;\n background-color: #ffffff;\n border-collapse: collapse;\n border-width: 0px;\n border-color: #e7eaf8;\n border-style: solid;\n color: #000000;\n font-weight: normal;\n font-family: var(--diva-typography-font-family);\n font-weight: 100;\n overflow-y: auto;\n top: 73px;\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n}\n.index-module--sS9Y_ thead {\n font-weight: bold !important;\n}\n.index-module--sS9Y_ thead {\n border-bottom: 1px solid;\n background-color: var(--thirdColor);\n font-size: 16px;\n padding-top: 1%;\n color: white;\n}\n.index-module--O5GJU {\n text-align: left;\n}\n.index-module--O5GJU:first-child {\n height: 20px;\n}\n\n.index-module--O5GJU th {\n border-bottom: 1px solid;\n padding-right: 10px;\n margin-bottom: 1%;\n font-weight: normal;\n}\n.index-module--bBk4P {\n overflow: auto;\n left: 50px;\n}\n.index-module--sBWMs {\n height: 8%;\n width: 100%;\n padding-top: 0.7%;\n text-align: center;\n position: absolute;\n background-color: var(--primaryColor);\n font-size: 30px;\n color: white;\n font-weight: 600;\n}\n\n.index-module--XrXfq {\n z-index: 100;\n position: fixed;\n top: 0;\n right: 240px;\n width: 700px;\n height: 100%;\n background-color: #fff;\n overflow: auto;\n}\n",""]);var l="index-module--sS9Y_",s="index-module--O5GJU",c="index-module--bBk4P",d="index-module--sBWMs",u="index-module--XrXfq";const p=a},13689:(e,n,t)=>{t.d(n,{$Q:()=>p,Fs:()=>c,Kz:()=>u,YS:()=>l,ZP:()=>h,fm:()=>s,nG:()=>d});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--dRdX7 {\n display: flex;\n flex-direction: column;\n width: calc(100% - 5px);\n\n -webkit-user-select: text;\n\n -moz-user-select: text;\n\n user-select: text;\n background-color: #fff;\n}\n.index-module--JnUb8 {\n overflow: auto;\n left: 50px;\n}\n.index-module--qSiiY {\n height: 8%;\n width: 100%;\n padding-top: 0.7%;\n text-align: center;\n background-color: var(--primaryColor);\n font-size: 30px;\n color: white;\n font-weight: 600;\n}\n\n.index-module--BYi2l {\n margin-left: 200px;\n background-color: #fff;\n font-weight: 600;\n max-height: 92%;\n height: auto;\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n}\n\n.index-module--etPY7 {\n position: relative;\n width: 100%;\n height: 100%;\n background-color: #ffffff;\n border-collapse: collapse;\n border-color: #e7eaf8;\n border-style: solid;\n border-width: 0px;\n color: #000000;\n font-weight: normal;\n font-family: var(--diva-typography-font-family);\n font-weight: 100;\n overflow-y: auto;\n}\n.index-module--etPY7 thead {\n font-weight: bold !important;\n}\n.index-module--etPY7 thead {\n border-bottom: 1px solid;\n /* min-width: 20px; */\n background-color: var(--thirdColor);\n font-size: 16px;\n padding-top: 1%;\n}\n.index-module--vMmTT {\n text-align: left;\n}\n.index-module--vMmTT:first-child {\n height: 20px;\n}\n.index-module--vMmTT th:nth-child(1) {\n width: 40%;\n border-bottom: 1px solid;\n}\n.index-module--vMmTT th {\n border-bottom: 1px solid;\n padding-right: 10px;\n margin-bottom: 1%;\n font-weight: normal;\n}\n.index-module--vMmTT th:last-child {\n font-size: 12px;\n}\n",""]);var l="index-module--dRdX7",s="index-module--JnUb8",c="index-module--qSiiY",d="index-module--BYi2l",u="index-module--etPY7",p="index-module--vMmTT";const h=a},15909:(e,n,t)=>{t.d(n,{$Q:()=>s,Fs:()=>d,Kz:()=>l,ZP:()=>u,fm:()=>c});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--kRnTO {\n position: relative;\n width: 100%;\n height: -moz-fit-content;\n height: fit-content;\n background-color: #ffffff;\n border-collapse: collapse;\n border-width: 0px;\n border-color: #e7eaf8;\n border-style: solid;\n color: #000000;\n font-weight: normal;\n font-family: var(--diva-typography-font-family);\n font-weight: 100;\n overflow-y: auto;\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n}\n.index-module--kRnTO thead {\n font-weight: bold !important;\n}\n.index-module--kRnTO thead {\n border-bottom: 1px solid;\n /* min-width: 20px; */\n background-color: var(--thirdColor);\n font-size: 16px;\n padding-top: 1%;\n color: black;\n}\n.index-module--Vrir_ {\n text-align: left;\n height: 20px;\n}\n.index-module--Vrir_ th:nth-child(1) {\n width: 40%;\n border-bottom: 1px solid;\n}\n.index-module--Vrir_ th {\n border-bottom: 1px solid;\n padding-right: 10px;\n margin-bottom: 1%;\n font-weight: normal;\n}\n.index-module--Vrir_ th:last-child {\n font-size: 12px;\n}\n.index-module--I8vaR {\n overflow: auto;\n left: 50px;\n display: flex;\n flex-direction: column;\n height: auto;\n}\n.index-module--pl89e {\n height: 46px;\n width: 100%;\n padding-top: 0.7%;\n text-align: center;\n background-color: var(--primaryColor);\n font-size: 30px;\n color: white;\n font-weight: 600;\n cursor: ns-resize;\n}\n",""]);var l="index-module--kRnTO",s="index-module--Vrir_",c="index-module--I8vaR",d="index-module--pl89e";const u=a},77648:(e,n,t)=>{t.d(n,{LI:()=>c,YS:()=>l,Yq:()=>s,ZP:()=>d});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--e2swR {\n background-color: rgba(244, 244, 244, 0.8);\n position: absolute;\n margin-left: 50px;\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n z-index: 1000;\n}\n.index-module--byqXs {\n margin-top: 12px;\n display: flex;\n}\n.index-module--edLvC {\n}\n",""]);var l="index-module--e2swR",s="index-module--byqXs",c="index-module--edLvC";const d=a},62904:(e,n,t)=>{t.d(n,{Bm:()=>u,Fs:()=>c,YS:()=>l,ZP:()=>p,fm:()=>s,nC:()=>d});var r=t(8081),o=t.n(r),i=t(23645),a=t.n(i)()(o());a.push([e.id,".index-module--vimXW {\n display: flex;\n flex-direction: column;\n width: calc(100% - 5px);\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n background-color: rgba(255, 255, 255, 0.384);\n}\n.index-module--XF0jR {\n overflow: auto;\n left: 50px;\n}\n.index-module--oJ5Mn {\n height: 8%;\n width: 100%;\n padding-top: 0.7%;\n text-align: center;\n background-color: var(--primaryColor);\n font-size: 30px;\n color: white;\n font-weight: 600;\n}\n.index-module--PllSF {\n width: calc(100% - 40px);\n margin: 20px;\n display: flex;\n flex-direction: column;\n gap: 20px;\n}\n.index-module--k9y7K td,\n.index-module--k9y7K th {\n border: 1px solid rgba(221,221,221,0.35686);\n text-align: left;\n}\n\n.index-module--k9y7K tr:nth-child(even) {\n background-color: rgba(221,221,221,0.35686);\n}\n",""]);var l="index-module--vimXW",s="index-module--XF0jR",c="index-module--oJ5Mn",d="index-module--PllSF",u="index-module--k9y7K";const p=a},85399:(e,n,t)=>{t.d(n,{$Q:()=>x.$Q,EU:()=>x.EU,Kz:()=>x.Kz,hv:()=>x.hv});var r=t(93379),o=t.n(r),i=t(7795),a=t.n(i),l=t(90569),s=t.n(l),c=t(3565),d=t.n(c),u=t(19216),p=t.n(u),h=t(44589),f=t.n(h),x=t(6521),b={};b.styleTagTransform=f(),b.setAttributes=d(),b.insert=s().bind(null,"head"),b.domAPI=a(),b.insertStyleElement=p();o()(x.ZP,b),x.ZP&&x.ZP.locals&&x.ZP.locals},20196:(e,n,t)=>{t.d(n,{YS:()=>x.YS,oF:()=>x.oF,x_:()=>x.x_});var r=t(93379),o=t.n(r),i=t(7795),a=t.n(i),l=t(90569),s=t.n(l),c=t(3565),d=t.n(c),u=t(19216),p=t.n(u),h=t(44589),f=t.n(h),x=t(95044),b={};b.styleTagTransform=f(),b.setAttributes=d(),b.insert=s().bind(null,"head"),b.domAPI=a(),b.insertStyleElement=p();o()(x.ZP,b),x.ZP&&x.ZP.locals&&x.ZP.locals}}]);