@kne-components/components-core 0.1.23 → 0.1.24

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 (193) hide show
  1. package/build/asset-manifest.json +132 -132
  2. package/build/index.html +1 -1
  3. package/build/remoteEntry.js +1 -1
  4. package/build/remoteEntry.js.map +1 -1
  5. package/build/static/css/1151.c28592de.chunk.css +2 -0
  6. package/build/static/css/{1151.f26fc7dc.chunk.css.map → 1151.c28592de.chunk.css.map} +1 -1
  7. package/build/static/css/1153.be6c8a26.chunk.css +2 -0
  8. package/build/static/css/{1153.a76b42aa.chunk.css.map → 1153.be6c8a26.chunk.css.map} +1 -1
  9. package/build/static/css/1454.ae53d955.chunk.css +2 -0
  10. package/build/static/css/{1454.25c152a4.chunk.css.map → 1454.ae53d955.chunk.css.map} +1 -1
  11. package/build/static/css/1554.7dad62cf.chunk.css +2 -0
  12. package/build/static/css/{1554.131e2227.chunk.css.map → 1554.7dad62cf.chunk.css.map} +1 -1
  13. package/build/static/css/1932.3bbe5a18.chunk.css +2 -0
  14. package/build/static/css/{1932.464e119e.chunk.css.map → 1932.3bbe5a18.chunk.css.map} +1 -1
  15. package/build/static/css/2503.5edda29b.chunk.css +2 -0
  16. package/build/static/css/2503.5edda29b.chunk.css.map +1 -0
  17. package/build/static/css/{2517.28d79a60.chunk.css → 2517.ae85e10d.chunk.css} +2 -2
  18. package/build/static/css/{2517.28d79a60.chunk.css.map → 2517.ae85e10d.chunk.css.map} +1 -1
  19. package/build/static/css/2526.ccc715e9.chunk.css +2 -0
  20. package/build/static/css/{2526.a94e107f.chunk.css.map → 2526.ccc715e9.chunk.css.map} +1 -1
  21. package/build/static/css/2716.63147f4b.chunk.css +2 -0
  22. package/build/static/css/{2716.51abdc9a.chunk.css.map → 2716.63147f4b.chunk.css.map} +1 -1
  23. package/build/static/css/{2730.7a35fa2d.chunk.css → 2730.f73471a6.chunk.css} +2 -2
  24. package/build/static/css/{2730.7a35fa2d.chunk.css.map → 2730.f73471a6.chunk.css.map} +1 -1
  25. package/build/static/css/2999.d02044fc.chunk.css +2 -0
  26. package/build/static/css/{2999.a0dbc9e2.chunk.css.map → 2999.d02044fc.chunk.css.map} +1 -1
  27. package/build/static/css/3333.798d7234.chunk.css +2 -0
  28. package/build/static/css/{3333.a286b89c.chunk.css.map → 3333.798d7234.chunk.css.map} +1 -1
  29. package/build/static/css/{3843.c475b326.chunk.css → 3843.e99c6442.chunk.css} +2 -2
  30. package/build/static/css/{3843.c475b326.chunk.css.map → 3843.e99c6442.chunk.css.map} +1 -1
  31. package/build/static/css/4666.13028f7a.chunk.css +2 -0
  32. package/build/static/css/{4666.0ed415cc.chunk.css.map → 4666.13028f7a.chunk.css.map} +1 -1
  33. package/build/static/css/5362.3173269d.chunk.css +2 -0
  34. package/build/static/css/5362.3173269d.chunk.css.map +1 -0
  35. package/build/static/css/5600.5a8d32ce.chunk.css +2 -0
  36. package/build/static/css/{5600.7df0f89d.chunk.css.map → 5600.5a8d32ce.chunk.css.map} +1 -1
  37. package/build/static/css/{5654.d074dcc7.chunk.css → 5654.b754e4fc.chunk.css} +2 -2
  38. package/build/static/css/{5654.d074dcc7.chunk.css.map → 5654.b754e4fc.chunk.css.map} +1 -1
  39. package/build/static/css/5846.866bc69d.chunk.css +2 -0
  40. package/build/static/css/{5846.1ae60225.chunk.css.map → 5846.866bc69d.chunk.css.map} +1 -1
  41. package/build/static/css/5868.48d48efe.chunk.css +2 -0
  42. package/build/static/css/{5868.5db78f18.chunk.css.map → 5868.48d48efe.chunk.css.map} +1 -1
  43. package/build/static/css/{5996.82fa3292.chunk.css → 5996.945b28ed.chunk.css} +2 -2
  44. package/build/static/css/{5996.82fa3292.chunk.css.map → 5996.945b28ed.chunk.css.map} +1 -1
  45. package/build/static/css/6779.9c718c46.chunk.css +2 -0
  46. package/build/static/css/{6779.71dad610.chunk.css.map → 6779.9c718c46.chunk.css.map} +1 -1
  47. package/build/static/css/7227.f5fa1806.chunk.css +2 -0
  48. package/build/static/css/{7227.dece7f43.chunk.css.map → 7227.f5fa1806.chunk.css.map} +1 -1
  49. package/build/static/css/8072.55c8003d.chunk.css +2 -0
  50. package/build/static/css/8072.55c8003d.chunk.css.map +1 -0
  51. package/build/static/css/8148.a59deab9.chunk.css +2 -0
  52. package/build/static/css/{8148.3adb7d4b.chunk.css.map → 8148.a59deab9.chunk.css.map} +1 -1
  53. package/build/static/css/{8725.035f34f7.chunk.css → 8725.bf5863a2.chunk.css} +2 -2
  54. package/build/static/css/{8725.035f34f7.chunk.css.map → 8725.bf5863a2.chunk.css.map} +1 -1
  55. package/build/static/css/9053.cbaa6f2a.chunk.css +2 -0
  56. package/build/static/css/{9053.0353d7c5.chunk.css.map → 9053.cbaa6f2a.chunk.css.map} +1 -1
  57. package/build/static/css/931.ec82689b.chunk.css +2 -0
  58. package/build/static/css/{931.5ba021db.chunk.css.map → 931.ec82689b.chunk.css.map} +1 -1
  59. package/build/static/css/9390.a0f91273.chunk.css +2 -0
  60. package/build/static/css/{9390.0fb73dc7.chunk.css.map → 9390.a0f91273.chunk.css.map} +1 -1
  61. package/build/static/css/{9449.9201922f.chunk.css → 9449.c39d82a6.chunk.css} +2 -2
  62. package/build/static/css/{9449.9201922f.chunk.css.map → 9449.c39d82a6.chunk.css.map} +1 -1
  63. package/build/static/css/9689.494325a8.chunk.css +2 -0
  64. package/build/static/css/{9689.89212f8b.chunk.css.map → 9689.494325a8.chunk.css.map} +1 -1
  65. package/build/static/js/{1153.3c2b6b33.chunk.js → 1153.274ef4b9.chunk.js} +3 -3
  66. package/build/static/js/{1153.3c2b6b33.chunk.js.map → 1153.274ef4b9.chunk.js.map} +1 -1
  67. package/build/static/js/{1454.48d4f049.chunk.js → 1454.1385f212.chunk.js} +3 -3
  68. package/build/static/js/{1454.48d4f049.chunk.js.map → 1454.1385f212.chunk.js.map} +1 -1
  69. package/build/static/js/1554.52bcf5c1.chunk.js +3 -0
  70. package/build/static/js/{1554.9d3c8025.chunk.js.map → 1554.52bcf5c1.chunk.js.map} +1 -1
  71. package/build/static/js/{1664.2f4ff6c4.chunk.js → 1664.0a89b13f.chunk.js} +2 -2
  72. package/build/static/js/{1664.2f4ff6c4.chunk.js.map → 1664.0a89b13f.chunk.js.map} +1 -1
  73. package/build/static/js/1932.710be74c.chunk.js +2 -0
  74. package/build/static/js/{1932.721e2620.chunk.js.map → 1932.710be74c.chunk.js.map} +1 -1
  75. package/build/static/js/2503.fb728277.chunk.js +2 -0
  76. package/build/static/js/{2503.3384ab19.chunk.js.map → 2503.fb728277.chunk.js.map} +1 -1
  77. package/build/static/js/2517.4688e1b7.chunk.js +2 -0
  78. package/build/static/js/{2517.3eec73e8.chunk.js.map → 2517.4688e1b7.chunk.js.map} +1 -1
  79. package/build/static/js/2526.b41967f6.chunk.js +2 -0
  80. package/build/static/js/{2526.2c9ec65a.chunk.js.map → 2526.b41967f6.chunk.js.map} +1 -1
  81. package/build/static/js/{2716.1800c731.chunk.js → 2716.2f8d701d.chunk.js} +3 -3
  82. package/build/static/js/{2716.1800c731.chunk.js.map → 2716.2f8d701d.chunk.js.map} +1 -1
  83. package/build/static/js/2730.dce1a8b5.chunk.js +2 -0
  84. package/build/static/js/{2730.7f4e8067.chunk.js.map → 2730.dce1a8b5.chunk.js.map} +1 -1
  85. package/build/static/js/2999.775a77a1.chunk.js +2 -0
  86. package/build/static/js/{2999.d9f73449.chunk.js.map → 2999.775a77a1.chunk.js.map} +1 -1
  87. package/build/static/js/{3333.19f63576.chunk.js → 3333.aa9180bd.chunk.js} +2 -2
  88. package/build/static/js/{3333.19f63576.chunk.js.map → 3333.aa9180bd.chunk.js.map} +1 -1
  89. package/build/static/js/36.909bcd1e.chunk.js +2 -0
  90. package/build/static/js/{36.72621a71.chunk.js.map → 36.909bcd1e.chunk.js.map} +1 -1
  91. package/build/static/js/{3843.a85e3294.chunk.js → 3843.94654d96.chunk.js} +2 -2
  92. package/build/static/js/{3843.a85e3294.chunk.js.map → 3843.94654d96.chunk.js.map} +1 -1
  93. package/build/static/js/4666.3f16a5f3.chunk.js +2 -0
  94. package/build/static/js/{4666.1da4743f.chunk.js.map → 4666.3f16a5f3.chunk.js.map} +1 -1
  95. package/build/static/js/5362.e8082a44.chunk.js +3 -0
  96. package/build/static/js/{5362.9c93a657.chunk.js.map → 5362.e8082a44.chunk.js.map} +1 -1
  97. package/build/static/js/5600.0d9fcb90.chunk.js +2 -0
  98. package/build/static/js/{5600.cc4be339.chunk.js.map → 5600.0d9fcb90.chunk.js.map} +1 -1
  99. package/build/static/js/5654.760f67bf.chunk.js +2 -0
  100. package/build/static/js/{5654.d05c4854.chunk.js.map → 5654.760f67bf.chunk.js.map} +1 -1
  101. package/build/static/js/5846.a23185d7.chunk.js +2 -0
  102. package/build/static/js/5846.a23185d7.chunk.js.map +1 -0
  103. package/build/static/js/5868.0d7c4a15.chunk.js +2 -0
  104. package/build/static/js/{5868.c90414d6.chunk.js.map → 5868.0d7c4a15.chunk.js.map} +1 -1
  105. package/build/static/js/{5996.495a8e21.chunk.js → 5996.f660b234.chunk.js} +2 -2
  106. package/build/static/js/{5996.495a8e21.chunk.js.map → 5996.f660b234.chunk.js.map} +1 -1
  107. package/build/static/js/6779.a255a17f.chunk.js +2 -0
  108. package/build/static/js/{6779.47291e81.chunk.js.map → 6779.a255a17f.chunk.js.map} +1 -1
  109. package/build/static/js/7227.05c6d555.chunk.js +3 -0
  110. package/build/static/js/{7227.e602d080.chunk.js.map → 7227.05c6d555.chunk.js.map} +1 -1
  111. package/build/static/js/{7777.1785cbe5.chunk.js → 7777.d3bc2b74.chunk.js} +2 -2
  112. package/build/static/js/{7777.1785cbe5.chunk.js.map → 7777.d3bc2b74.chunk.js.map} +1 -1
  113. package/build/static/js/{7967.319c1f48.chunk.js → 7967.e3de1541.chunk.js} +2 -2
  114. package/build/static/js/{7967.319c1f48.chunk.js.map → 7967.e3de1541.chunk.js.map} +1 -1
  115. package/build/static/js/{8072.b173f2e4.chunk.js → 8072.a8533afb.chunk.js} +2 -2
  116. package/build/static/js/8072.a8533afb.chunk.js.map +1 -0
  117. package/build/static/js/{8148.e41bd16a.chunk.js → 8148.80a2d533.chunk.js} +3 -3
  118. package/build/static/js/{8148.e41bd16a.chunk.js.map → 8148.80a2d533.chunk.js.map} +1 -1
  119. package/build/static/js/{8151.817aa2ca.chunk.js → 8151.51699eda.chunk.js} +2 -2
  120. package/build/static/js/{8151.817aa2ca.chunk.js.map → 8151.51699eda.chunk.js.map} +1 -1
  121. package/build/static/js/8235.faaf7549.chunk.js +3 -0
  122. package/build/static/js/8235.faaf7549.chunk.js.map +1 -0
  123. package/build/static/js/8725.09c36658.chunk.js +2 -0
  124. package/build/static/js/{8725.30db5902.chunk.js.map → 8725.09c36658.chunk.js.map} +1 -1
  125. package/build/static/js/{9053.04f596dc.chunk.js → 9053.71e47c44.chunk.js} +3 -3
  126. package/build/static/js/{9053.04f596dc.chunk.js.map → 9053.71e47c44.chunk.js.map} +1 -1
  127. package/build/static/js/{931.3adc3995.chunk.js → 931.2e8f8eef.chunk.js} +2 -2
  128. package/build/static/js/{931.3adc3995.chunk.js.map → 931.2e8f8eef.chunk.js.map} +1 -1
  129. package/build/static/js/{9390.cc085d3b.chunk.js → 9390.13812c05.chunk.js} +2 -2
  130. package/build/static/js/{9390.cc085d3b.chunk.js.map → 9390.13812c05.chunk.js.map} +1 -1
  131. package/build/static/js/9449.f36a6f87.chunk.js +2 -0
  132. package/build/static/js/{9449.199a5328.chunk.js.map → 9449.f36a6f87.chunk.js.map} +1 -1
  133. package/build/static/js/main.32b974b8.js +2 -0
  134. package/build/static/js/{main.994a3b38.js.map → main.32b974b8.js.map} +1 -1
  135. package/package.json +1 -1
  136. package/build/static/css/1151.f26fc7dc.chunk.css +0 -2
  137. package/build/static/css/1153.a76b42aa.chunk.css +0 -2
  138. package/build/static/css/1454.25c152a4.chunk.css +0 -2
  139. package/build/static/css/1554.131e2227.chunk.css +0 -2
  140. package/build/static/css/1932.464e119e.chunk.css +0 -2
  141. package/build/static/css/2503.5b8efd72.chunk.css +0 -2
  142. package/build/static/css/2503.5b8efd72.chunk.css.map +0 -1
  143. package/build/static/css/2526.a94e107f.chunk.css +0 -2
  144. package/build/static/css/2716.51abdc9a.chunk.css +0 -2
  145. package/build/static/css/2999.a0dbc9e2.chunk.css +0 -2
  146. package/build/static/css/3333.a286b89c.chunk.css +0 -2
  147. package/build/static/css/4666.0ed415cc.chunk.css +0 -2
  148. package/build/static/css/5362.c23ae009.chunk.css +0 -2
  149. package/build/static/css/5362.c23ae009.chunk.css.map +0 -1
  150. package/build/static/css/5600.7df0f89d.chunk.css +0 -2
  151. package/build/static/css/5846.1ae60225.chunk.css +0 -2
  152. package/build/static/css/5868.5db78f18.chunk.css +0 -2
  153. package/build/static/css/6779.71dad610.chunk.css +0 -2
  154. package/build/static/css/7227.dece7f43.chunk.css +0 -2
  155. package/build/static/css/8072.935aac0a.chunk.css +0 -2
  156. package/build/static/css/8072.935aac0a.chunk.css.map +0 -1
  157. package/build/static/css/8148.3adb7d4b.chunk.css +0 -2
  158. package/build/static/css/9053.0353d7c5.chunk.css +0 -2
  159. package/build/static/css/931.5ba021db.chunk.css +0 -2
  160. package/build/static/css/9390.0fb73dc7.chunk.css +0 -2
  161. package/build/static/css/9689.89212f8b.chunk.css +0 -2
  162. package/build/static/js/1554.9d3c8025.chunk.js +0 -3
  163. package/build/static/js/1932.721e2620.chunk.js +0 -2
  164. package/build/static/js/2503.3384ab19.chunk.js +0 -2
  165. package/build/static/js/2517.3eec73e8.chunk.js +0 -2
  166. package/build/static/js/2526.2c9ec65a.chunk.js +0 -2
  167. package/build/static/js/2730.7f4e8067.chunk.js +0 -2
  168. package/build/static/js/2999.d9f73449.chunk.js +0 -2
  169. package/build/static/js/36.72621a71.chunk.js +0 -2
  170. package/build/static/js/4666.1da4743f.chunk.js +0 -2
  171. package/build/static/js/5362.9c93a657.chunk.js +0 -3
  172. package/build/static/js/5600.cc4be339.chunk.js +0 -2
  173. package/build/static/js/5654.d05c4854.chunk.js +0 -2
  174. package/build/static/js/5846.0f60f4c5.chunk.js +0 -2
  175. package/build/static/js/5846.0f60f4c5.chunk.js.map +0 -1
  176. package/build/static/js/5868.c90414d6.chunk.js +0 -2
  177. package/build/static/js/6779.47291e81.chunk.js +0 -2
  178. package/build/static/js/7227.e602d080.chunk.js +0 -3
  179. package/build/static/js/8072.b173f2e4.chunk.js.map +0 -1
  180. package/build/static/js/8235.40ebfa5c.chunk.js +0 -3
  181. package/build/static/js/8235.40ebfa5c.chunk.js.map +0 -1
  182. package/build/static/js/8725.30db5902.chunk.js +0 -2
  183. package/build/static/js/9449.199a5328.chunk.js +0 -2
  184. package/build/static/js/main.994a3b38.js +0 -2
  185. /package/build/static/js/{1153.3c2b6b33.chunk.js.LICENSE.txt → 1153.274ef4b9.chunk.js.LICENSE.txt} +0 -0
  186. /package/build/static/js/{1454.48d4f049.chunk.js.LICENSE.txt → 1454.1385f212.chunk.js.LICENSE.txt} +0 -0
  187. /package/build/static/js/{1554.9d3c8025.chunk.js.LICENSE.txt → 1554.52bcf5c1.chunk.js.LICENSE.txt} +0 -0
  188. /package/build/static/js/{2716.1800c731.chunk.js.LICENSE.txt → 2716.2f8d701d.chunk.js.LICENSE.txt} +0 -0
  189. /package/build/static/js/{5362.9c93a657.chunk.js.LICENSE.txt → 5362.e8082a44.chunk.js.LICENSE.txt} +0 -0
  190. /package/build/static/js/{7227.e602d080.chunk.js.LICENSE.txt → 7227.05c6d555.chunk.js.LICENSE.txt} +0 -0
  191. /package/build/static/js/{8148.e41bd16a.chunk.js.LICENSE.txt → 8148.80a2d533.chunk.js.LICENSE.txt} +0 -0
  192. /package/build/static/js/{8235.40ebfa5c.chunk.js.LICENSE.txt → 8235.faaf7549.chunk.js.LICENSE.txt} +0 -0
  193. /package/build/static/js/{9053.04f596dc.chunk.js.LICENSE.txt → 9053.71e47c44.chunk.js.LICENSE.txt} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"static/js/1153.3c2b6b33.chunk.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AEC,OAAOC,UAAUC,eAAeC,EAAEV,EAAEW,mDAAmDC,kBAAkBC,EAAE,CAACC,KAAI,EAAGC,KAAI,EAAGC,QAAO,EAAGC,UAAS,GAChP,SAASC,EAAEC,EAAEC,EAAEC,GAAG,IAAIC,EAAEC,EAAE,CAAC,EAAEC,EAAE,KAAKC,EAAE,KAAiF,IAAIH,UAAhF,IAASD,IAAIG,EAAE,GAAGH,QAAG,IAASD,EAAEN,MAAMU,EAAE,GAAGJ,EAAEN,UAAK,IAASM,EAAEL,MAAMU,EAAEL,EAAEL,KAAcK,EAAEd,EAAEoB,KAAKN,EAAEE,KAAKT,EAAEJ,eAAea,KAAKC,EAAED,GAAGF,EAAEE,IAAI,GAAGH,GAAGA,EAAE5C,aAAa,IAAI+C,KAAKF,EAAED,EAAE5C,kBAAe,IAASgD,EAAED,KAAKC,EAAED,GAAGF,EAAEE,IAAI,MAAM,CAACK,SAASzB,EAAE0B,KAAKT,EAAEL,IAAIU,EAAET,IAAIU,EAAEI,MAAMN,EAAEO,OAAOpB,EAAEqB,QAAQ,CAACC,EAAQC,SAAS5B,EAAE2B,EAAQE,IAAIhB,EAAEc,EAAQG,KAAKjB,mBCPxWkB,EAAOJ,QAAU,EAAjBI","sources":["webpack://@kne-components/components-core/./src/components/Highlight/style.module.scss?a31a","components/Highlight/index.js","../node_modules/react/cjs/react-jsx-runtime.production.min.js","../node_modules/react/jsx-runtime.js"],"sourcesContent":["// extracted by mini-css-extract-plugin\nexport default {\"high-color\":\"style_high-color__-DN7m__abOpN\"};","import { createContext, createElement, useContext, useMemo } from \"react\";\nimport style from \"./style.module.scss\";\n\nconst context = createContext({});\nconst { Provider } = context;\n\nconst escapeSpecialCharacter = (str) => {\n const pattern =\n /[`+~!@#_$%^*()=|{}':;,\\\\[\\].<>/?!¥…&()—【】‘;:”“。,、?\\s]/g;\n return str.replace(pattern, (match) => \"\\\\\" + match);\n};\n\nexport const HighlightProvider = ({ list, children, highlightClassName }) => {\n return (\n <Provider value={{ list, highlightClassName }}>\n <span data-testid=\"components-core-highlight\">{children}</span>\n </Provider>\n );\n};\nHighlightProvider.defaultProps = {\n caseSensitive: false,\n list: [],\n highlightClassName: \"\",\n};\nconst Highlight = ({ tagName, children }) => {\n const { list, caseSensitive, highlightClassName } = useContext(context);\n const renderStr = useMemo(() => {\n if (!children) return;\n let target = children?.toString();\n if (!list || list.length === 0) {\n return target;\n }\n const allWordsRe = list\n .map(function (word) {\n return \"(\" + escapeSpecialCharacter(word) + \")\";\n })\n .join(\"|\");\n\n const regExp = new RegExp(allWordsRe, caseSensitive ? \"gm\" : \"gim\");\n\n return target.replace(regExp, (innerMatch) => {\n return `<font class=\"${style[\"high-color\"]} ${highlightClassName}\">${innerMatch}</font>`;\n });\n }, [list, caseSensitive, children, highlightClassName]);\n\n return createElement(tagName, {\n dangerouslySetInnerHTML: { __html: renderStr },\n });\n};\nHighlight.defaultProps = {\n tagName: \"span\",\n children: \"\",\n};\n\n// Highlight.propTypes={\n// children:PropTypes.string\n// }\nexport default Highlight;\n","/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n"],"names":["context","createContext","Provider","HighlightProvider","_ref","list","children","highlightClassName","_jsx","value","defaultProps","caseSensitive","Highlight","_ref2","tagName","useContext","renderStr","useMemo","target","toString","length","allWordsRe","map","word","replace","match","join","regExp","RegExp","innerMatch","concat","style","createElement","dangerouslySetInnerHTML","__html","f","require","k","Symbol","for","l","m","Object","prototype","hasOwnProperty","n","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","ReactCurrentOwner","p","key","ref","__self","__source","q","c","a","g","b","d","e","h","call","$$typeof","type","props","_owner","current","exports","Fragment","jsx","jsxs","module"],"sourceRoot":""}
1
+ {"version":3,"file":"static/js/1153.274ef4b9.chunk.js","mappings":";wNACA,QAA6B,gDCE7B,MAAMA,GAAUC,EAAAA,EAAAA,eAAc,CAAC,IACzB,SAAEC,GAAaF,EAQRG,EAAoBC,IAA6C,IAA5C,KAAEC,EAAI,SAAEC,EAAQ,mBAAEC,GAAoBH,EACtE,OACEI,EAAAA,EAAAA,KAACN,EAAQ,CAACO,MAAO,CAAEJ,OAAME,sBAAqBD,UAC5CE,EAAAA,EAAAA,KAAA,QAAM,cAAY,4BAA2BF,SAAEA,KACtC,EAGfH,EAAkBO,aAAe,CAC/BC,eAAe,EACfN,KAAM,GACNE,mBAAoB,IAEtB,MAAMK,EAAYC,IAA4B,IAA3B,QAAEC,EAAO,SAAER,GAAUO,EACtC,MAAM,KAAER,EAAI,cAAEM,EAAa,mBAAEJ,IAAuBQ,EAAAA,EAAAA,YAAWf,GACzDgB,GAAYC,EAAAA,EAAAA,UAAQ,KACxB,IAAKX,EAAU,OACf,IAAIY,EAAiB,OAARZ,QAAQ,IAARA,OAAQ,EAARA,EAAUa,WACvB,IAAKd,GAAwB,IAAhBA,EAAKe,OAChB,OAAOF,EAET,M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B,EAAE2B,EAAQE,IAAIhB,EAAEc,EAAQG,KAAKjB,mBCPxWkB,EAAOJ,QAAU,EAAjBI","sources":["webpack://@kne-components/components-core/./src/components/Highlight/style.module.scss?a31a","components/Highlight/index.js","../node_modules/react/cjs/react-jsx-runtime.production.min.js","../node_modules/react/jsx-runtime.js"],"sourcesContent":["// extracted by mini-css-extract-plugin\nexport default {\"high-color\":\"style_high-color__-DN7m__EuG93\"};","import { createContext, createElement, useContext, useMemo } from \"react\";\nimport style from \"./style.module.scss\";\n\nconst context = createContext({});\nconst { Provider } = context;\n\nconst escapeSpecialCharacter = (str) => {\n const pattern =\n /[`+~!@#_$%^*()=|{}':;,\\\\[\\].<>/?!¥…&()—【】‘;:”“。,、?\\s]/g;\n return str.replace(pattern, (match) => \"\\\\\" + match);\n};\n\nexport const HighlightProvider = ({ list, children, highlightClassName }) => {\n return (\n <Provider value={{ list, highlightClassName }}>\n <span data-testid=\"components-core-highlight\">{children}</span>\n </Provider>\n );\n};\nHighlightProvider.defaultProps = {\n caseSensitive: false,\n list: [],\n highlightClassName: \"\",\n};\nconst Highlight = ({ tagName, children }) => {\n const { list, caseSensitive, highlightClassName } = useContext(context);\n const renderStr = useMemo(() => {\n if (!children) return;\n let target = children?.toString();\n if (!list || list.length === 0) {\n return target;\n }\n const allWordsRe = list\n .map(function (word) {\n return \"(\" + escapeSpecialCharacter(word) + \")\";\n })\n .join(\"|\");\n\n const regExp = new RegExp(allWordsRe, caseSensitive ? \"gm\" : \"gim\");\n\n return target.replace(regExp, (innerMatch) => {\n return `<font class=\"${style[\"high-color\"]} ${highlightClassName}\">${innerMatch}</font>`;\n });\n }, [list, caseSensitive, children, highlightClassName]);\n\n return createElement(tagName, {\n dangerouslySetInnerHTML: { __html: renderStr },\n });\n};\nHighlight.defaultProps = {\n tagName: \"span\",\n children: \"\",\n};\n\n// Highlight.propTypes={\n// children:PropTypes.string\n// }\nexport default Highlight;\n","/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n"],"names":["context","createContext","Provider","HighlightProvider","_ref","list","children","highlightClassName","_jsx","value","defaultProps","caseSensitive","Highlight","_ref2","tagName","useContext","renderStr","useMemo","target","toString","length","allWordsRe","map","word","replace","match","join","regExp","RegExp","innerMatch","concat","style","createElement","dangerouslySetInnerHTML","__html","f","require","k","Symbol","for","l","m","Object","prototype","hasOwnProperty","n","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","ReactCurrentOwner","p","key","ref","__self","__source","q","c","a","g","b","d","e","h","call","$$typeof","type","props","_owner","current","exports","Fragment","jsx","jsxs","module"],"sourceRoot":""}
@@ -1,3 +1,3 @@
1
- /*! For license information please see 1454.48d4f049.chunk.js.LICENSE.txt */
2
- "use strict";(self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[1454,4671],{64671:(e,t,s)=>{s.r(t),s.d(t,{default:()=>c});s(73884);var r=s(83136),l=s.n(r),n=s(70579);const o=e=>(/^[1-9]+[0-9]*]*$/.test(e.toString())&&(e+="px"),e),a=e=>{let{type:t,colorful:s,className:r,size:a,style:c,prefix:i,..._}=e;const p=((e,t,s)=>"icon-"===t||""===t?(s?"icon-color-":"icon-")+e.replace(/^icon-(color-)?/,""):t+e)(t,i,s),d=l()(r,{iconfont:!s,"iconfont--color":s},p),f=Object.assign({},c,a?{fontSize:o(a)}:{});return s?(0,n.jsx)("svg",{..._,"data-testid":"components-core-iconfont",className:d,style:f,children:(0,n.jsx)("use",{xlinkHref:"#".concat(t),style:{pointerEvents:"none"}})}):(0,n.jsx)("i",{..._,"data-testid":"components-core-iconfont",className:d,style:f})};a.defaultProps={colorful:!1,prefix:""};const c=a},1454:(e,t,s)=>{s.r(t),s.d(t,{default:()=>y});var r=s(55199),l=s(83136),n=s.n(l),o=s(64671);const a="style_part__+Vw3+__abOpN",c="style_part-title__Uw+4K__abOpN",i="style_collapse__ARl-O__abOpN",_="style_is-active__i1zHH__abOpN",p="style_part-title-sub__fcxT7__abOpN";var d=s(70579);const f=e=>{let{children:t,className:s,...l}=e;return(0,d.jsx)(r.Collapse,{...l,className:n()(i,"collapse",s),expandIcon:e=>{let{isActive:t}=e;return(0,d.jsx)(o.default,{size:12,className:n()({[_]:t,"is-active":t}),type:"icon-triangle-right"})},children:t})};f.Panel=r.Collapse.Panel;const u=f,m=e=>{let{className:t,children:s,...l}=e;return(0,d.jsx)(r.Space,{...l,className:t,direction:"vertical",size:24,children:s})};m.Part=e=>{let{className:t,title:s,subTitle:l,extra:o,children:i,..._}=e;return(0,d.jsx)(r.Card,{className:n()(a,"part",t,{"no-title":!s}),bordered:!1,title:s&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:n()("part-title",c),children:s}),l&&(0,d.jsx)("div",{className:n()("part-title-sub",p),children:l})]}),extra:o,..._,children:i})},m.Collapse=u;const y=m},51153:(e,t,s)=>{var r=s(73884),l=Symbol.for("react.element"),n=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function i(e,t,s){var r,n={},i=null,_=null;for(r in void 0!==s&&(i=""+s),void 0!==t.key&&(i=""+t.key),void 0!==t.ref&&(_=t.ref),t)o.call(t,r)&&!c.hasOwnProperty(r)&&(n[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===n[r]&&(n[r]=t[r]);return{$$typeof:l,type:e,key:i,ref:_,props:n,_owner:a.current}}t.Fragment=n,t.jsx=i,t.jsxs=i},70579:(e,t,s)=>{e.exports=s(51153)}}]);
3
- //# sourceMappingURL=1454.48d4f049.chunk.js.map
1
+ /*! For license information please see 1454.1385f212.chunk.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[1454,4671],{64671:(e,t,s)=>{s.r(t),s.d(t,{default:()=>a});s(73884);var r=s(83136),l=s.n(r),n=s(70579);const o=e=>(/^[1-9]+[0-9]*]*$/.test(e.toString())&&(e+="px"),e),c=e=>{let{type:t,colorful:s,className:r,size:c,style:a,prefix:i,..._}=e;const p=((e,t,s)=>"icon-"===t||""===t?(s?"icon-color-":"icon-")+e.replace(/^icon-(color-)?/,""):t+e)(t,i,s),d=l()(r,{iconfont:!s,"iconfont--color":s},p),u=Object.assign({},a,c?{fontSize:o(c)}:{});return s?(0,n.jsx)("svg",{..._,"data-testid":"components-core-iconfont",className:d,style:u,children:(0,n.jsx)("use",{xlinkHref:"#".concat(t),style:{pointerEvents:"none"}})}):(0,n.jsx)("i",{..._,"data-testid":"components-core-iconfont",className:d,style:u})};c.defaultProps={colorful:!1,prefix:""};const a=c},1454:(e,t,s)=>{s.r(t),s.d(t,{default:()=>y});var r=s(55199),l=s(83136),n=s.n(l),o=s(64671);const c="style_part__+Vw3+__EuG93",a="style_part-title__Uw+4K__EuG93",i="style_collapse__ARl-O__EuG93",_="style_is-active__i1zHH__EuG93",p="style_part-title-sub__fcxT7__EuG93";var d=s(70579);const u=e=>{let{children:t,className:s,...l}=e;return(0,d.jsx)(r.Collapse,{...l,className:n()(i,"collapse",s),expandIcon:e=>{let{isActive:t}=e;return(0,d.jsx)(o.default,{size:12,className:n()({[_]:t,"is-active":t}),type:"icon-triangle-right"})},children:t})};u.Panel=r.Collapse.Panel;const f=u,m=e=>{let{className:t,children:s,...l}=e;return(0,d.jsx)(r.Space,{...l,className:t,direction:"vertical",size:24,children:s})};m.Part=e=>{let{className:t,title:s,subTitle:l,extra:o,children:i,..._}=e;return(0,d.jsx)(r.Card,{className:n()(c,"part",t,{"no-title":!s}),bordered:!1,title:s&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:n()("part-title",a),children:s}),l&&(0,d.jsx)("div",{className:n()("part-title-sub",p),children:l})]}),extra:o,..._,children:i})},m.Collapse=f;const y=m},51153:(e,t,s)=>{var r=s(73884),l=Symbol.for("react.element"),n=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,c=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function i(e,t,s){var r,n={},i=null,_=null;for(r in void 0!==s&&(i=""+s),void 0!==t.key&&(i=""+t.key),void 0!==t.ref&&(_=t.ref),t)o.call(t,r)&&!a.hasOwnProperty(r)&&(n[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===n[r]&&(n[r]=t[r]);return{$$typeof:l,type:e,key:i,ref:_,props:n,_owner:c.current}}t.Fragment=n,t.jsx=i,t.jsxs=i},70579:(e,t,s)=>{e.exports=s(51153)}}]);
3
+ //# sourceMappingURL=1454.1385f212.chunk.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"static/js/1454.48d4f049.chunk.js","mappings":";kOAIA,MAAMA,EAAiBC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AEE,KAAKT,EAAEJ,eAAea,KAAKC,EAAED,GAAGF,EAAEE,IAAI,GAAGH,GAAGA,EAAEtC,aAAa,IAAIyC,KAAKF,EAAED,EAAEtC,kBAAe,IAAS0C,EAAED,KAAKC,EAAED,GAAGF,EAAEE,IAAI,MAAM,CAACK,SAASxB,EAAE5C,KAAK4D,EAAEL,IAAIU,EAAET,IAAIU,EAAE1C,MAAMwC,EAAEK,OAAOlB,EAAEmB,QAAQ,CAACC,EAAQC,SAASzB,EAAEwB,EAAQE,IAAId,EAAEY,EAAQG,KAAKf,mBCPxWgB,EAAOJ,QAAU,EAAjBI","sources":["components/Icon/index.js","webpack://@kne-components/components-core/./src/components/InfoPage/style.module.scss?d163","components/InfoPage/Collapse.js","components/InfoPage/index.js","../node_modules/react/cjs/react-jsx-runtime.production.min.js","../node_modules/react/jsx-runtime.js"],"sourcesContent":["import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport classnames from \"classnames\";\n\nconst calculateSize = (size) => {\n if (/^[1-9]+[0-9]*]*$/.test(size.toString())) {\n size += \"px\";\n }\n return size;\n};\n\nconst calculateType = (prefixType, prefix, colorful) => {\n if (prefix === \"icon-\" || prefix === \"\") {\n return (\n (colorful ? \"icon-color-\" : \"icon-\") +\n prefixType.replace(/^icon-(color-)?/, \"\")\n );\n }\n return prefix + prefixType;\n};\n\nconst Iconfont = ({\n type,\n colorful,\n className,\n size,\n style,\n prefix,\n ...other\n}) => {\n const fontClass = calculateType(type, prefix, colorful),\n computedClassName = classnames(\n className,\n {\n iconfont: !colorful,\n \"iconfont--color\": colorful,\n },\n fontClass\n ),\n computedStyle = Object.assign(\n {},\n style,\n size ? { fontSize: calculateSize(size) } : {}\n );\n return colorful ? (\n <svg\n {...other}\n data-testid=\"components-core-iconfont\"\n className={computedClassName}\n style={computedStyle}\n >\n <use xlinkHref={`#${type}`} style={{ pointerEvents: \"none\" }} />\n </svg>\n ) : (\n <i\n {...other}\n data-testid=\"components-core-iconfont\"\n className={computedClassName}\n style={computedStyle}\n />\n );\n};\n\nIconfont.defaultProps = {\n colorful: false,\n prefix: \"\",\n};\n\nIconfont.propTypes = {\n colorful: PropTypes.bool,\n prefix: PropTypes.string,\n size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n type: PropTypes.string.isRequired,\n style: PropTypes.object,\n className: PropTypes.string,\n};\n\nexport default Iconfont;\n","// extracted by mini-css-extract-plugin\nexport default {\"part\":\"style_part__+Vw3+__abOpN\",\"part-title\":\"style_part-title__Uw+4K__abOpN\",\"collapse\":\"style_collapse__ARl-O__abOpN\",\"is-active\":\"style_is-active__i1zHH__abOpN\",\"part-title-sub\":\"style_part-title-sub__fcxT7__abOpN\"};","import { Collapse as CollapseAntd } from \"antd\";\nimport Icon from \"@components/Icon\";\nimport style from \"./style.module.scss\";\nimport classnames from \"classnames\";\n\nconst Collapse = ({ children, className, ...props }) => {\n return (\n <CollapseAntd\n {...props}\n className={classnames(style[\"collapse\"], \"collapse\", className)}\n expandIcon={({ isActive }) => (\n <Icon\n size={12}\n className={classnames({\n [style[\"is-active\"]]: isActive,\n \"is-active\": isActive,\n })}\n type=\"icon-triangle-right\"\n />\n )}\n >\n {children}\n </CollapseAntd>\n );\n};\n\nCollapse.Panel = CollapseAntd.Panel;\n\nexport default Collapse;\n","import { Card, Space } from \"antd\";\nimport classnames from \"classnames\";\nimport Collapse from \"./Collapse\";\nimport style from \"./style.module.scss\";\n\nconst Part = ({ className, title, subTitle, extra, children, ...props }) => {\n return (\n <Card\n className={classnames(style[\"part\"], \"part\", className, {\n \"no-title\": !title,\n })}\n bordered={false}\n title={\n title && (\n <>\n <div className={classnames(\"part-title\", style[\"part-title\"])}>\n {title}\n </div>\n {subTitle && (\n <div\n className={classnames(\n \"part-title-sub\",\n style[\"part-title-sub\"]\n )}\n >\n {subTitle}\n </div>\n )}\n </>\n )\n }\n extra={extra}\n {...props}\n >\n {children}\n </Card>\n );\n};\n\nconst InfoPage = ({ className, children, ...props }) => {\n return (\n <Space {...props} className={className} direction=\"vertical\" size={24}>\n {children}\n </Space>\n );\n};\n\nInfoPage.Part = Part;\nInfoPage.Collapse = Collapse;\nexport default InfoPage;\n","/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n"],"names":["calculateSize","size","test","toString","Iconfont","_ref","type","colorful","className","style","prefix","other","fontClass","calculateType","prefixType","replace","computedClassName","classnames","iconfont","computedStyle","Object","assign","fontSize","_jsx","children","xlinkHref","concat","pointerEvents","defaultProps","Collapse","props","CollapseAntd","expandIcon","_ref2","isActive","Icon","Panel","InfoPage","Space","direction","Part","title","subTitle","extra","Card","bordered","_jsxs","_Fragment","f","require","k","Symbol","for","l","m","prototype","hasOwnProperty","n","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","ReactCurrentOwner","p","key","ref","__self","__source","q","c","a","g","b","d","e","h","call","$$typeof","_owner","current","exports","Fragment","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AAE,GAAGJ,EAAEN,UAAK,IAASM,EAAEL,MAAMU,EAAEL,EAAEL,KAAcK,EAAEb,EAAEmB,KAAKN,EAAEE,KAAKT,EAAEJ,eAAea,KAAKC,EAAED,GAAGF,EAAEE,IAAI,GAAGH,GAAGA,EAAEtC,aAAa,IAAIyC,KAAKF,EAAED,EAAEtC,kBAAe,IAAS0C,EAAED,KAAKC,EAAED,GAAGF,EAAEE,IAAI,MAAM,CAACK,SAASxB,EAAE5C,KAAK4D,EAAEL,IAAIU,EAAET,IAAIU,EAAE1C,MAAMwC,EAAEK,OAAOlB,EAAEmB,QAAQ,CAACC,EAAQC,SAASzB,EAAEwB,EAAQE,IAAId,EAAEY,EAAQG,KAAKf,mBCPxWgB,EAAOJ,QAAU,EAAjBI","sources":["components/Icon/index.js","webpack://@kne-components/components-core/./src/components/InfoPage/style.module.scss?d163","components/InfoPage/Collapse.js","components/InfoPage/index.js","../node_modules/react/cjs/react-jsx-runtime.production.min.js","../node_modules/react/jsx-runtime.js"],"sourcesContent":["import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport classnames from \"classnames\";\n\nconst calculateSize = (size) => {\n if (/^[1-9]+[0-9]*]*$/.test(size.toString())) {\n size += \"px\";\n }\n return size;\n};\n\nconst calculateType = (prefixType, prefix, colorful) => {\n if (prefix === \"icon-\" || prefix === \"\") {\n return (\n (colorful ? \"icon-color-\" : \"icon-\") +\n prefixType.replace(/^icon-(color-)?/, \"\")\n );\n }\n return prefix + prefixType;\n};\n\nconst Iconfont = ({\n type,\n colorful,\n className,\n size,\n style,\n prefix,\n ...other\n}) => {\n const fontClass = calculateType(type, prefix, colorful),\n computedClassName = classnames(\n className,\n {\n iconfont: !colorful,\n \"iconfont--color\": colorful,\n },\n fontClass\n ),\n computedStyle = Object.assign(\n {},\n style,\n size ? { fontSize: calculateSize(size) } : {}\n );\n return colorful ? (\n <svg\n {...other}\n data-testid=\"components-core-iconfont\"\n className={computedClassName}\n style={computedStyle}\n >\n <use xlinkHref={`#${type}`} style={{ pointerEvents: \"none\" }} />\n </svg>\n ) : (\n <i\n {...other}\n data-testid=\"components-core-iconfont\"\n className={computedClassName}\n style={computedStyle}\n />\n );\n};\n\nIconfont.defaultProps = {\n colorful: false,\n prefix: \"\",\n};\n\nIconfont.propTypes = {\n colorful: PropTypes.bool,\n prefix: PropTypes.string,\n size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n type: PropTypes.string.isRequired,\n style: PropTypes.object,\n className: PropTypes.string,\n};\n\nexport default Iconfont;\n","// extracted by mini-css-extract-plugin\nexport default {\"part\":\"style_part__+Vw3+__EuG93\",\"part-title\":\"style_part-title__Uw+4K__EuG93\",\"collapse\":\"style_collapse__ARl-O__EuG93\",\"is-active\":\"style_is-active__i1zHH__EuG93\",\"part-title-sub\":\"style_part-title-sub__fcxT7__EuG93\"};","import { Collapse as CollapseAntd } from \"antd\";\nimport Icon from \"@components/Icon\";\nimport style from \"./style.module.scss\";\nimport classnames from \"classnames\";\n\nconst Collapse = ({ children, className, ...props }) => {\n return (\n <CollapseAntd\n {...props}\n className={classnames(style[\"collapse\"], \"collapse\", className)}\n expandIcon={({ isActive }) => (\n <Icon\n size={12}\n className={classnames({\n [style[\"is-active\"]]: isActive,\n \"is-active\": isActive,\n })}\n type=\"icon-triangle-right\"\n />\n )}\n >\n {children}\n </CollapseAntd>\n );\n};\n\nCollapse.Panel = CollapseAntd.Panel;\n\nexport default Collapse;\n","import { Card, Space } from \"antd\";\nimport classnames from \"classnames\";\nimport Collapse from \"./Collapse\";\nimport style from \"./style.module.scss\";\n\nconst Part = ({ className, title, subTitle, extra, children, ...props }) => {\n return (\n <Card\n className={classnames(style[\"part\"], \"part\", className, {\n \"no-title\": !title,\n })}\n bordered={false}\n title={\n title && (\n <>\n <div className={classnames(\"part-title\", style[\"part-title\"])}>\n {title}\n </div>\n {subTitle && (\n <div\n className={classnames(\n \"part-title-sub\",\n style[\"part-title-sub\"]\n )}\n >\n {subTitle}\n </div>\n )}\n </>\n )\n }\n extra={extra}\n {...props}\n >\n {children}\n </Card>\n );\n};\n\nconst InfoPage = ({ className, children, ...props }) => {\n return (\n <Space {...props} className={className} direction=\"vertical\" size={24}>\n {children}\n </Space>\n );\n};\n\nInfoPage.Part = Part;\nInfoPage.Collapse = Collapse;\nexport default InfoPage;\n","/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n"],"names":["calculateSize","size","test","toString","Iconfont","_ref","type","colorful","className","style","prefix","other","fontClass","calculateType","prefixType","replace","computedClassName","classnames","iconfont","computedStyle","Object","assign","fontSize","_jsx","children","xlinkHref","concat","pointerEvents","defaultProps","Collapse","props","CollapseAntd","expandIcon","_ref2","isActive","Icon","Panel","InfoPage","Space","direction","Part","title","subTitle","extra","Card","bordered","_jsxs","_Fragment","f","require","k","Symbol","for","l","m","prototype","hasOwnProperty","n","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","ReactCurrentOwner","p","key","ref","__self","__source","q","c","a","g","b","d","e","h","call","$$typeof","_owner","current","exports","Fragment","jsx","jsxs","module"],"sourceRoot":""}
@@ -0,0 +1,3 @@
1
+ /*! For license information please see 1554.52bcf5c1.chunk.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[1554,4671],{64671:(e,t,s)=>{s.r(t),s.d(t,{default:()=>a});s(73884);var n=s(83136),o=s.n(n),l=s(70579);const r=e=>(/^[1-9]+[0-9]*]*$/.test(e.toString())&&(e+="px"),e),_=e=>{let{type:t,colorful:s,className:n,size:_,style:a,prefix:c,...i}=e;const u=((e,t,s)=>"icon-"===t||""===t?(s?"icon-color-":"icon-")+e.replace(/^icon-(color-)?/,""):t+e)(t,c,s),p=o()(n,{iconfont:!s,"iconfont--color":s},u),d=Object.assign({},a,_?{fontSize:r(_)}:{});return s?(0,l.jsx)("svg",{...i,"data-testid":"components-core-iconfont",className:p,style:d,children:(0,l.jsx)("use",{xlinkHref:"#".concat(t),style:{pointerEvents:"none"}})}):(0,l.jsx)("i",{...i,"data-testid":"components-core-iconfont",className:p,style:d})};_.defaultProps={colorful:!1,prefix:""};const a=_},21554:(e,t,s)=>{s.r(t),s.d(t,{TooltipFetch:()=>w,TooltipInfoLabel:()=>O,default:()=>g});var n=s(55199),o=s(83136),l=s.n(o);const r="style_tooltip__zHGMI__EuG93",_="style_large__lvmsm__EuG93",a="style_small__nUt0r__EuG93",c="style_popup-content__-rKQN__EuG93",i="style_title__1EQPq__EuG93",u="style_important-info__qTSZY__EuG93",p="style_error__yTTq3__EuG93",d="style_warning__CMJxz__EuG93",f="style_success__AvJVx__EuG93",y="style_sub-title__uD8CH__EuG93",m="style_content__lzgUz__EuG93",x="style_alone__q6q82__EuG93",h="style_fetch-content__tEOEV__EuG93",v="style_fetch-loading__tN-WB__EuG93",E="style_title-info-icon__iY8Q+__EuG93";var j=s(70579);const N=e=>{let{overlayClassName:t,title:s,size:o,subtitle:h,content:v,importantInfo:E,importantInfoType:N,moreInfo:g,...G}=e;return(0,j.jsx)(n.Tooltip,{...G,overlayClassName:l()(t,r,{[a]:"small"===o,[_]:"large"===o}),title:(0,j.jsxs)(n.Space,{direction:"vertical",className:c,children:[s&&(0,j.jsx)("div",{className:i,children:s}),E&&(0,j.jsx)("div",{className:l()(u,{[f]:"success"===N,[d]:"warning"===N,[p]:"error"===N}),children:E}),h&&(0,j.jsx)("div",{className:y,children:h}),v&&(0,j.jsx)("div",{className:l()(m,{[x]:[s,h,E,g].every((e=>!e))}),children:v}),g&&(0,j.jsx)("div",{children:g})]})})};N.defaultProps={};const g=N;var G=s(64671);const O=e=>{let{title:t,tooltipTitle:s}=e;return(0,j.jsxs)("div",{children:[t,s?(0,j.jsx)(g,{...s,children:(0,j.jsx)("span",{children:(0,j.jsx)(G.default,{type:"icon-xinxi-miaobian",className:E,size:14})})}):null]})};var b=s(73884),C=s(87558);const k=e=>{let{api:t,children:s,fetchContent:o,showLoading:r,loadingClassName:_,force:a,...c}=e;const[i,u]=(0,b.useState)(!1),p=(0,C.useFetch)(Object.assign({},t,{auto:!1})),{isComplete:d,isLoading:f,data:y,send:m}=p;return(0,j.jsx)(g,{...Object.assign({},c,d?o(y,p):{}),open:i,onOpenChange:async e=>{!e||d&&!a||await m({type:"refresh"}),u(e)},children:(0,j.jsxs)("span",{className:h,children:[s,r&&f?(0,j.jsx)(n.Spin,{size:"small",className:l()(_,v)}):null]})})};k.defaultProps={showLoading:!0};const w=k},51153:(e,t,s)=>{var n=s(73884),o=Symbol.for("react.element"),l=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,_=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,s){var n,l={},c=null,i=null;for(n in void 0!==s&&(c=""+s),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(i=t.ref),t)r.call(t,n)&&!a.hasOwnProperty(n)&&(l[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===l[n]&&(l[n]=t[n]);return{$$typeof:o,type:e,key:c,ref:i,props:l,_owner:_.current}}t.Fragment=l,t.jsx=c,t.jsxs=c},70579:(e,t,s)=>{e.exports=s(51153)}}]);
3
+ //# sourceMappingURL=1554.52bcf5c1.chunk.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"static/js/1554.9d3c8025.chunk.js","mappings":";kOAIA,MAAMA,EAAiBC,IACjB,mBAAmBC,KAAKD,EAAKE,cAC/BF,GAAQ,MAEHA,GAaHG,EAAWC,IAQV,IARW,KAChBC,EAAI,SACJC,EAAQ,UACRC,EAAS,KACTP,EAAI,MACJQ,EAAK,OACLC,KACGC,GACJN,EACC,MAAMO,EAnBcC,EAACC,EAAYJ,EAAQH,IAC1B,UAAXG,GAAiC,KAAXA,GAErBH,EAAW,cAAgB,SAC5BO,EAAWC,QAAQ,kBAAmB,IAGnCL,EAASI,EAYED,CAAcP,EAAMI,EAAQH,GAC5CS,EAAoBC,IAClBT,EACA,CACEU,UAAWX,EACX,kBAAmBA,GAErBK,GAEFO,EAAgBC,OAAOC,OACrB,CAAC,EACDZ,EACAR,EAAO,CAAEqB,SAAUtB,EAAcC,IAAU,CAAC,GAEhD,OAAOM,GACLgB,EAAAA,EAAAA,KAAA,UACMZ,EACJ,cAAY,2BACZH,UAAWQ,EACXP,MAAOU,EAAcK,UAErBD,EAAAA,EAAAA,KAAA,OAAKE,UAAS,IAAAC,OAAMpB,GAAQG,MAAO,CAAEkB,cAAe,aAGtDJ,EAAAA,EAAAA,KAAA,QACMZ,EACJ,cAAY,2BACZH,UAAWQ,EACXP,MAAOU,GAEV,EAGHf,EAASwB,aAAe,CACtBrB,UAAU,EACVG,OAAQ,IAYV,sIC5EA,QAA0B,8BAA1B,EAAgE,4BAAhE,EAAoG,4BAApG,EAAgJ,oCAAhJ,EAA4L,4BAA5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AhF,IAASD,IAAIG,EAAE,GAAGH,QAAG,IAASD,EAAEN,MAAMU,EAAE,GAAGJ,EAAEN,UAAK,IAASM,EAAEL,MAAMU,EAAEL,EAAEL,KAAcK,EAAEb,EAAEmB,KAAKN,EAAEE,KAAKT,EAAEJ,eAAea,KAAKC,EAAED,GAAGF,EAAEE,IAAI,GAAGH,GAAGA,EAAEvD,aAAa,IAAI0D,KAAKF,EAAED,EAAEvD,kBAAe,IAAS2D,EAAED,KAAKC,EAAED,GAAGF,EAAEE,IAAI,MAAM,CAACK,SAASxB,EAAE7D,KAAK6E,EAAEL,IAAIU,EAAET,IAAIU,EAAEpD,MAAMkD,EAAEK,OAAOlB,EAAEmB,QAAQ,CAACC,EAAQC,SAASzB,EAAEwB,EAAQE,IAAId,EAAEY,EAAQG,KAAKf,mBCPxWgB,EAAOJ,QAAU,EAAjBI","sources":["components/Icon/index.js","webpack://@kne-components/components-core/./src/components/Tooltip/style.module.scss?c30c","components/Tooltip/tooltip.js","components/Tooltip/tooltipInfoLabel.js","components/Tooltip/tooltipFetch.js","../node_modules/react/cjs/react-jsx-runtime.production.min.js","../node_modules/react/jsx-runtime.js"],"sourcesContent":["import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport classnames from \"classnames\";\n\nconst calculateSize = (size) => {\n if (/^[1-9]+[0-9]*]*$/.test(size.toString())) {\n size += \"px\";\n }\n return size;\n};\n\nconst calculateType = (prefixType, prefix, colorful) => {\n if (prefix === \"icon-\" || prefix === \"\") {\n return (\n (colorful ? \"icon-color-\" : \"icon-\") +\n prefixType.replace(/^icon-(color-)?/, \"\")\n );\n }\n return prefix + prefixType;\n};\n\nconst Iconfont = ({\n type,\n colorful,\n className,\n size,\n style,\n prefix,\n ...other\n}) => {\n const fontClass = calculateType(type, prefix, colorful),\n computedClassName = classnames(\n className,\n {\n iconfont: !colorful,\n \"iconfont--color\": colorful,\n },\n fontClass\n ),\n computedStyle = Object.assign(\n {},\n style,\n size ? { fontSize: calculateSize(size) } : {}\n );\n return colorful ? (\n <svg\n {...other}\n data-testid=\"components-core-iconfont\"\n className={computedClassName}\n style={computedStyle}\n >\n <use xlinkHref={`#${type}`} style={{ pointerEvents: \"none\" }} />\n </svg>\n ) : (\n <i\n {...other}\n data-testid=\"components-core-iconfont\"\n className={computedClassName}\n style={computedStyle}\n />\n );\n};\n\nIconfont.defaultProps = {\n colorful: false,\n prefix: \"\",\n};\n\nIconfont.propTypes = {\n colorful: PropTypes.bool,\n prefix: PropTypes.string,\n size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n type: PropTypes.string.isRequired,\n style: PropTypes.object,\n className: PropTypes.string,\n};\n\nexport default Iconfont;\n","// extracted by mini-css-extract-plugin\nexport default {\"tooltip\":\"style_tooltip__zHGMI__abOpN\",\"large\":\"style_large__lvmsm__abOpN\",\"small\":\"style_small__nUt0r__abOpN\",\"popup-content\":\"style_popup-content__-rKQN__abOpN\",\"title\":\"style_title__1EQPq__abOpN\",\"important-info\":\"style_important-info__qTSZY__abOpN\",\"error\":\"style_error__yTTq3__abOpN\",\"warning\":\"style_warning__CMJxz__abOpN\",\"success\":\"style_success__AvJVx__abOpN\",\"sub-title\":\"style_sub-title__uD8CH__abOpN\",\"content\":\"style_content__lzgUz__abOpN\",\"alone\":\"style_alone__q6q82__abOpN\",\"fetch-content\":\"style_fetch-content__tEOEV__abOpN\",\"fetch-loading\":\"style_fetch-loading__tN-WB__abOpN\",\"title-info-icon\":\"style_title-info-icon__iY8Q+__abOpN\"};","import { Space, Tooltip as AntdTooltip } from \"antd\";\nimport classnames from \"classnames\";\nimport style from \"./style.module.scss\";\n\nconst Tooltip = ({\n overlayClassName,\n title,\n size,\n subtitle,\n content,\n importantInfo,\n importantInfoType,\n moreInfo,\n ...props\n}) => {\n return (\n <AntdTooltip\n {...props}\n overlayClassName={classnames(overlayClassName, style[\"tooltip\"], {\n [style[\"small\"]]: size === \"small\",\n [style[\"large\"]]: size === \"large\",\n })}\n title={\n <Space direction=\"vertical\" className={style[\"popup-content\"]}>\n {title && <div className={style[\"title\"]}>{title}</div>}\n {importantInfo && (\n <div\n className={classnames(style[\"important-info\"], {\n [style[\"success\"]]: importantInfoType === \"success\",\n [style[\"warning\"]]: importantInfoType === \"warning\",\n [style[\"error\"]]: importantInfoType === \"error\",\n })}\n >\n {importantInfo}\n </div>\n )}\n {subtitle && <div className={style[\"sub-title\"]}>{subtitle}</div>}\n {content && (\n <div\n className={classnames(style[\"content\"], {\n [style[\"alone\"]]: [\n title,\n subtitle,\n importantInfo,\n moreInfo,\n ].every((item) => !item),\n })}\n >\n {content}\n </div>\n )}\n {moreInfo && <div>{moreInfo}</div>}\n </Space>\n }\n />\n );\n};\n\nTooltip.defaultProps = {};\n\nexport default Tooltip;\n","import style from \"./style.module.scss\";\nimport Tooltip from \"./index\";\nimport Icon from \"@components/Icon\";\n\nconst TooltipInfoLabel = ({ title, tooltipTitle }) => {\n return (\n <div>\n {title}\n {tooltipTitle ? (\n <Tooltip {...tooltipTitle}>\n <span>\n <Icon\n type=\"icon-xinxi-miaobian\"\n className={style[\"title-info-icon\"]}\n size={14}\n />\n </span>\n </Tooltip>\n ) : null}\n </div>\n );\n};\n\nexport default TooltipInfoLabel;\n","import { useState } from \"react\";\nimport { useFetch } from \"@kne/react-fetch\";\nimport { Spin } from \"antd\";\nimport style from \"./style.module.scss\";\nimport Tooltip from \"./index\";\nimport classnames from \"classnames\";\n\nconst TooltipFetch = ({\n api,\n children,\n fetchContent,\n showLoading,\n loadingClassName,\n force,\n ...props\n}) => {\n const [open, setOpen] = useState(false);\n const fetchApi = useFetch(Object.assign({}, api, { auto: false }));\n const { isComplete, isLoading, data, send } = fetchApi;\n return (\n <Tooltip\n {...Object.assign(\n {},\n props,\n isComplete ? fetchContent(data, fetchApi) : {}\n )}\n open={open}\n onOpenChange={async (open) => {\n if (open && (!isComplete || force)) {\n await send({ type: \"refresh\" });\n }\n setOpen(open);\n }}\n >\n <span className={style[\"fetch-content\"]}>\n {children}\n {showLoading && isLoading ? (\n <Spin\n size=\"small\"\n className={classnames(loadingClassName, style[\"fetch-loading\"])}\n />\n ) : null}\n </span>\n </Tooltip>\n );\n};\n\nTooltipFetch.defaultProps = {\n showLoading: true,\n};\n\nexport default TooltipFetch;\n","/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n"],"names":["calculateSize","size","test","toString","Iconfont","_ref","type","colorful","className","style","prefix","other","fontClass","calculateType","prefixType","replace","computedClassName","classnames","iconfont","computedStyle","Object","assign","fontSize","_jsx","children","xlinkHref","concat","pointerEvents","defaultProps","Tooltip","overlayClassName","title","subtitle","content","importantInfo","importantInfoType","moreInfo","props","AntdTooltip","_jsxs","Space","direction","every","item","tooltipTitle","Icon","TooltipFetch","api","fetchContent","showLoading","loadingClassName","force","open","setOpen","useState","fetchApi","useFetch","auto","isComplete","isLoading","data","send","onOpenChange","async","Spin","f","require","k","Symbol","for","l","m","prototype","hasOwnProperty","n","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","ReactCurrentOwner","p","key","ref","__self","__source","q","c","a","g","b","d","e","h","call","$$typeof","_owner","current","exports","Fragment","jsx","jsxs","module"],"sourceRoot":""}
1
+ {"version":3,"file":"static/js/1554.52bcf5c1.chunk.js","mappings":";kOAIA,MAAMA,EAAiBC,IACjB,mBAAmBC,KAAKD,EAAKE,cAC/BF,GAAQ,MAEHA,GAaHG,EAAWC,IAQV,IARW,KAChBC,EAAI,SACJC,EAAQ,UACRC,EAAS,KACTP,EAAI,MACJQ,EAAK,OACLC,KACGC,GACJN,EACC,MAAMO,EAnBcC,EAACC,EAAYJ,EAAQH,IAC1B,UAAXG,GAAiC,KAAXA,GAErBH,EAAW,cAAgB,SAC5BO,EAAWC,QAAQ,kBAAmB,IAGnCL,EAASI,EAYED,CAAcP,EAAMI,EAAQH,GAC5CS,EAAoBC,IAClBT,EACA,CACEU,UAAWX,EACX,kBAAmBA,GAErBK,GAEFO,EAAgBC,OAAOC,OACrB,CAAC,EACDZ,EACAR,EAAO,CAAEqB,SAAUtB,EAAcC,IAAU,CAAC,GAEhD,OAAOM,GACLgB,EAAAA,EAAAA,KAAA,UACMZ,EACJ,cAAY,2BACZH,UAAWQ,EACXP,MAAOU,EAAcK,UAErBD,EAAAA,EAAAA,KAAA,OAAKE,UAAS,IAAAC,OAAMpB,GAAQG,MAAO,CAAEkB,cAAe,aAGtDJ,EAAAA,EAAAA,KAAA,QACMZ,EACJ,cAAY,2BACZH,UAAWQ,EACXP,MAAOU,GAEV,EAGHf,EAASwB,aAAe,CACtBrB,UAAU,EACVG,OAAQ,IAYV,sIC5EA,QAA0B,8BAA1B,EAAgE,4BAAhE,EAAoG,4BAApG,EAAgJ,oCAAhJ,EAA4L,4BAA5L,EAAyO,qCAAzO,EAAsR,4BAAtR,EAA4T,8BAA5T,EAAoW,8BAApW,EAA8Y,gCAA9Y,EAAwb,8BAAxb,EAA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AMU,EAAEL,EAAEL,KAAcK,EAAEb,EAAEmB,KAAKN,EAAEE,KAAKT,EAAEJ,eAAea,KAAKC,EAAED,GAAGF,EAAEE,IAAI,GAAGH,GAAGA,EAAEvD,aAAa,IAAI0D,KAAKF,EAAED,EAAEvD,kBAAe,IAAS2D,EAAED,KAAKC,EAAED,GAAGF,EAAEE,IAAI,MAAM,CAACK,SAASxB,EAAE7D,KAAK6E,EAAEL,IAAIU,EAAET,IAAIU,EAAEpD,MAAMkD,EAAEK,OAAOlB,EAAEmB,QAAQ,CAACC,EAAQC,SAASzB,EAAEwB,EAAQE,IAAId,EAAEY,EAAQG,KAAKf,mBCPxWgB,EAAOJ,QAAU,EAAjBI","sources":["components/Icon/index.js","webpack://@kne-components/components-core/./src/components/Tooltip/style.module.scss?c30c","components/Tooltip/tooltip.js","components/Tooltip/tooltipInfoLabel.js","components/Tooltip/tooltipFetch.js","../node_modules/react/cjs/react-jsx-runtime.production.min.js","../node_modules/react/jsx-runtime.js"],"sourcesContent":["import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport classnames from \"classnames\";\n\nconst calculateSize = (size) => {\n if (/^[1-9]+[0-9]*]*$/.test(size.toString())) {\n size += \"px\";\n }\n return size;\n};\n\nconst calculateType = (prefixType, prefix, colorful) => {\n if (prefix === \"icon-\" || prefix === \"\") {\n return (\n (colorful ? \"icon-color-\" : \"icon-\") +\n prefixType.replace(/^icon-(color-)?/, \"\")\n );\n }\n return prefix + prefixType;\n};\n\nconst Iconfont = ({\n type,\n colorful,\n className,\n size,\n style,\n prefix,\n ...other\n}) => {\n const fontClass = calculateType(type, prefix, colorful),\n computedClassName = classnames(\n className,\n {\n iconfont: !colorful,\n \"iconfont--color\": colorful,\n },\n fontClass\n ),\n computedStyle = Object.assign(\n {},\n style,\n size ? { fontSize: calculateSize(size) } : {}\n );\n return colorful ? (\n <svg\n {...other}\n data-testid=\"components-core-iconfont\"\n className={computedClassName}\n style={computedStyle}\n >\n <use xlinkHref={`#${type}`} style={{ pointerEvents: \"none\" }} />\n </svg>\n ) : (\n <i\n {...other}\n data-testid=\"components-core-iconfont\"\n className={computedClassName}\n style={computedStyle}\n />\n );\n};\n\nIconfont.defaultProps = {\n colorful: false,\n prefix: \"\",\n};\n\nIconfont.propTypes = {\n colorful: PropTypes.bool,\n prefix: PropTypes.string,\n size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n type: PropTypes.string.isRequired,\n style: PropTypes.object,\n className: PropTypes.string,\n};\n\nexport default Iconfont;\n","// extracted by mini-css-extract-plugin\nexport default {\"tooltip\":\"style_tooltip__zHGMI__EuG93\",\"large\":\"style_large__lvmsm__EuG93\",\"small\":\"style_small__nUt0r__EuG93\",\"popup-content\":\"style_popup-content__-rKQN__EuG93\",\"title\":\"style_title__1EQPq__EuG93\",\"important-info\":\"style_important-info__qTSZY__EuG93\",\"error\":\"style_error__yTTq3__EuG93\",\"warning\":\"style_warning__CMJxz__EuG93\",\"success\":\"style_success__AvJVx__EuG93\",\"sub-title\":\"style_sub-title__uD8CH__EuG93\",\"content\":\"style_content__lzgUz__EuG93\",\"alone\":\"style_alone__q6q82__EuG93\",\"fetch-content\":\"style_fetch-content__tEOEV__EuG93\",\"fetch-loading\":\"style_fetch-loading__tN-WB__EuG93\",\"title-info-icon\":\"style_title-info-icon__iY8Q+__EuG93\"};","import { Space, Tooltip as AntdTooltip } from \"antd\";\nimport classnames from \"classnames\";\nimport style from \"./style.module.scss\";\n\nconst Tooltip = ({\n overlayClassName,\n title,\n size,\n subtitle,\n content,\n importantInfo,\n importantInfoType,\n moreInfo,\n ...props\n}) => {\n return (\n <AntdTooltip\n {...props}\n overlayClassName={classnames(overlayClassName, style[\"tooltip\"], {\n [style[\"small\"]]: size === \"small\",\n [style[\"large\"]]: size === \"large\",\n })}\n title={\n <Space direction=\"vertical\" className={style[\"popup-content\"]}>\n {title && <div className={style[\"title\"]}>{title}</div>}\n {importantInfo && (\n <div\n className={classnames(style[\"important-info\"], {\n [style[\"success\"]]: importantInfoType === \"success\",\n [style[\"warning\"]]: importantInfoType === \"warning\",\n [style[\"error\"]]: importantInfoType === \"error\",\n })}\n >\n {importantInfo}\n </div>\n )}\n {subtitle && <div className={style[\"sub-title\"]}>{subtitle}</div>}\n {content && (\n <div\n className={classnames(style[\"content\"], {\n [style[\"alone\"]]: [\n title,\n subtitle,\n importantInfo,\n moreInfo,\n ].every((item) => !item),\n })}\n >\n {content}\n </div>\n )}\n {moreInfo && <div>{moreInfo}</div>}\n </Space>\n }\n />\n );\n};\n\nTooltip.defaultProps = {};\n\nexport default Tooltip;\n","import style from \"./style.module.scss\";\nimport Tooltip from \"./index\";\nimport Icon from \"@components/Icon\";\n\nconst TooltipInfoLabel = ({ title, tooltipTitle }) => {\n return (\n <div>\n {title}\n {tooltipTitle ? (\n <Tooltip {...tooltipTitle}>\n <span>\n <Icon\n type=\"icon-xinxi-miaobian\"\n className={style[\"title-info-icon\"]}\n size={14}\n />\n </span>\n </Tooltip>\n ) : null}\n </div>\n );\n};\n\nexport default TooltipInfoLabel;\n","import { useState } from \"react\";\nimport { useFetch } from \"@kne/react-fetch\";\nimport { Spin } from \"antd\";\nimport style from \"./style.module.scss\";\nimport Tooltip from \"./index\";\nimport classnames from \"classnames\";\n\nconst TooltipFetch = ({\n api,\n children,\n fetchContent,\n showLoading,\n loadingClassName,\n force,\n ...props\n}) => {\n const [open, setOpen] = useState(false);\n const fetchApi = useFetch(Object.assign({}, api, { auto: false }));\n const { isComplete, isLoading, data, send } = fetchApi;\n return (\n <Tooltip\n {...Object.assign(\n {},\n props,\n isComplete ? fetchContent(data, fetchApi) : {}\n )}\n open={open}\n onOpenChange={async (open) => {\n if (open && (!isComplete || force)) {\n await send({ type: \"refresh\" });\n }\n setOpen(open);\n }}\n >\n <span className={style[\"fetch-content\"]}>\n {children}\n {showLoading && isLoading ? (\n <Spin\n size=\"small\"\n className={classnames(loadingClassName, style[\"fetch-loading\"])}\n />\n ) : null}\n </span>\n </Tooltip>\n );\n};\n\nTooltipFetch.defaultProps = {\n showLoading: true,\n};\n\nexport default TooltipFetch;\n","/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n"],"names":["calculateSize","size","test","toString","Iconfont","_ref","type","colorful","className","style","prefix","other","fontClass","calculateType","prefixType","replace","computedClassName","classnames","iconfont","computedStyle","Object","assign","fontSize","_jsx","children","xlinkHref","concat","pointerEvents","defaultProps","Tooltip","overlayClassName","title","subtitle","content","importantInfo","importantInfoType","moreInfo","props","AntdTooltip","_jsxs","Space","direction","every","item","tooltipTitle","Icon","TooltipFetch","api","fetchContent","showLoading","loadingClassName","force","open","setOpen","useState","fetchApi","useFetch","auto","isComplete","isLoading","data","send","onOpenChange","async","Spin","f","require","k","Symbol","for","l","m","prototype","hasOwnProperty","n","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","ReactCurrentOwner","p","key","ref","__self","__source","q","c","a","g","b","d","e","h","call","$$typeof","_owner","current","exports","Fragment","jsx","jsxs","module"],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- (self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[1664,9034],{42787:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var n=r(10486),o=r(73884),s=r(96418),c=r.n(s),l=r(83136),i=r.n(l);const u={scroller:"style_scroller__EfuqR__abOpN","scroller-inner":"style_scroller-inner__NJSE0__abOpN","is-moving":"style_is-moving__jGuy0__abOpN"};var a=r(70579);const d=e=>{let{onScroll:t,getContainer:r,...s}=e;const c=(0,o.useRef)(0),[l,d]=(0,o.useState)(!1),f=(0,o.useRef)(l);f.current=l;const p=(0,o.useRef)(t);p.current=t;const h=(0,o.useRef)(1);return h.current=s.width/s.innerWidth,(0,o.useEffect)((()=>{const e=e=>{f.current&&p.current(h.current*(e.clientX-c.current)),c.current=e.clientX},t=()=>{d(!1)};return document.addEventListener("mousemove",e,!0),document.addEventListener("mouseup",t,!0),()=>{document.removeEventListener("mousemove",e,!0),document.removeEventListener("mouseup",t,!0)}}),[]),(0,n.createPortal)(s.hasScroller?(0,a.jsx)("div",{className:u.scroller,style:{left:s.left,width:s.width,height:15},children:(0,a.jsx)("div",{className:i()(u["scroller-inner"],{[u["is-moving"]]:l}),style:{width:s.innerWidth,left:s.innerLeft},onMouseDown:e=>{e.preventDefault(),c.current=e.clientX,d(!0)}})}):null,r()||document.body)},f=e=>{let{className:t,scroller:r,getScrollTarget:n,children:s}=e;const[l,f]=(0,o.useState)({left:0,width:0,innerLeft:0,innerWidth:0,height:0,hasScroller:!1}),p=(0,o.useRef)(null),h=c()((()=>p.current&&n(p.current))),v=(0,o.useRef)();return v.current="object"===typeof r&&"function"===typeof r.getContainer?r.getContainer:()=>null,(0,o.useEffect)((()=>{const e=v.current()||document.documentElement;let t;const r=()=>{if(!t)return;const{left:r,width:n,top:o,height:s}=t.getBoundingClientRect(),c=t.offsetHeight-t.clientHeight||15,l=n*t.clientWidth/t.scrollWidth-6,i=t.scrollLeft*t.clientWidth/t.scrollWidth+2,u=e.getBoundingClientRect();f((a=>Object.assign({},a,{left:r,width:n,innerLeft:i,innerWidth:l,height:c,hasScroller:t.scrollWidth-t.clientWidth>0&&(e===document.documentElement?o+s-e.offsetHeight>0&&o<e.offsetHeight:o<u.top+u.height&&o+s>u.top+u.height)})))},n=new ResizeObserver(r);return new ResizeObserver((()=>{t=h(),t&&(n.disconnect(),r(),Array.from(t.children).forEach((e=>{n.observe(e)})),t.addEventListener("scroll",r))})).observe(p.current),window.addEventListener("scroll",r),e.addEventListener("scroll",r),()=>{window.removeEventListener("scroll",r),e.removeEventListener("scroll",r)}}),[h]),r?(0,a.jsxs)("div",{className:i()(u["scroller-outer"],t),ref:p,style:{"--scroller-bar-height":null!==l&&void 0!==l&&l.hasScroller?"15px":"0px"},children:[s,(0,a.jsx)(d,{...l,getContainer:v.current,onScroll:e=>{h().scrollLeft+=e}})]}):s};f.defaultProps={scroller:!0,getScrollTarget:()=>document.querySelector(".simplebar-content-wrapper")};const p=f},63361:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>x,useFeatureCall:()=>m});var n=r(73884),o=r(76329),s=r(33097),c=r.n(s),l=r(15797),i=r.n(l),u=r(1488),a=r.n(u),d=r(70579);const f=(e,t,r)=>{e&&(Array.isArray(e)?e.forEach((e=>{f(e,t,r)})):(t(Object.assign({},a()(e,["children"]),{parentId:r})),f(e.children,t,r?r+":"+e.id:e.id)))},p=i()((e=>{const t=(()=>{const t=new Map;return f(e,(e=>{t.set(e.parentId?e.parentId+":"+e.id:e.id,e)})),t})(),r=(e=>Array.from(e.keys()).filter((t=>{const r=e.get(t);return!(Array.isArray(r.dependencies)&&r.dependencies.length>0&&r.dependencies.some((r=>!e.get(t))))})))(t);return{profile:e,features:r,profileMap:t}})),h=(e,t)=>{let{profileMap:r,features:n}=t;const o=r.get(e);return-1!==n.indexOf(e)&&!0!==o.close&&c()(o,"dependencies",[]).every((t=>{const o=r.get(e);return n.indexOf(t)>-1&&!0!==o.close}))},v=(0,n.createContext)(null),{Provider:g}=v,m=e=>{const{features:t,profile:r,profileMap:s,debug:l}=(()=>{const e=(0,o.usePreset)(),{profile:t,debug:r}=c()(e,"features",{debug:!1,profile:{}});return Object.assign({},p(t),{debug:r})})(),i="system"===r.type?r.id:"root",u=(0,n.useContext)(v),a=u?u+":"+e:i+":"+e;return(0,n.useEffect)((()=>{t&&t.length>0&&l&&console.log("[featureId] ".concat(a,",[state] ").concat(h(a,{features:t,profileMap:s})),s.get(a))}),[t,s,l,a]),{isPass:!(e&&t&&t.length>0)||h(a,{features:t,profileMap:s}),currentId:a,feature:s.get(a)}},x=e=>{let{id:t,children:r}=e;const{isPass:n,feature:o,currentId:s}=m(t);return(0,d.jsx)(g,{value:s,children:"function"===typeof r?r({isPass:n,options:n?c()(o,"options"):c()(o,"rejectedOptions"),currentId:s}):n&&r})}},94710:e=>{e.exports=function(e,t,r,n){for(var o=-1,s=null==e?0:e.length;++o<s;){var c=e[o];t(n,c,r(c),e)}return n}},32952:(e,t,r)=>{var n=r(45652);e.exports=function(e,t,r,o){return n(e,(function(e,n,s){t(o,e,r(e),s)})),o}},45652:(e,t,r)=>{var n=r(94664),o=r(76516)(n);e.exports=o},75816:e=>{e.exports=function(e,t,r,n){for(var o=e.length,s=r+(n?1:-1);n?s--:++s<o;)if(t(e[s],s,e))return s;return-1}},99910:e=>{e.exports=function(e,t){for(var r,n=-1,o=e.length;++n<o;){var s=t(e[n]);void 0!==s&&(r=void 0===r?s:r+s)}return r}},19449:(e,t,r)=>{var n=r(94710),o=r(32952),s=r(9096),c=r(54052);e.exports=function(e,t){return function(r,l){var i=c(r)?n:o,u=t?t():{};return i(r,e,s(l,2),u)}}},76516:(e,t,r)=>{var n=r(6571);e.exports=function(e,t){return function(r,o){if(null==r)return r;if(!n(r))return e(r,o);for(var s=r.length,c=t?s:-1,l=Object(r);(t?c--:++c<s)&&!1!==o(l[c],c,l););return r}}},21844:(e,t,r)=>{var n=r(75816),o=r(9096),s=r(99140),c=Math.max,l=Math.min;e.exports=function(e,t,r){var i=null==e?0:e.length;if(!i)return-1;var u=i-1;return void 0!==r&&(u=s(r),u=r<0?c(i+u,0):l(u,i-1)),n(e,o(t,3),u,!0)}},39835:(e,t,r)=>{var n=r(71775),o=r(19449),s=Object.prototype.hasOwnProperty,c=o((function(e,t,r){s.call(e,r)?e[r].push(t):n(e,r,[t])}));e.exports=c},69613:(e,t,r)=>{var n=r(9261);e.exports=function(e,t,r){return null==e?e:n(e,t,r)}},42907:(e,t,r)=>{var n=r(9096),o=r(99910);e.exports=function(e,t){return e&&e.length?o(e,n(t,2)):0}},99140:(e,t,r)=>{var n=r(37303);e.exports=function(e){var t=n(e),r=t%1;return t===t?r?t-r:t:0}}}]);
2
- //# sourceMappingURL=1664.2f4ff6c4.chunk.js.map
1
+ (self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[1664,9034],{42787:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var n=r(10486),o=r(73884),s=r(96418),c=r.n(s),l=r(83136),i=r.n(l);const u={scroller:"style_scroller__EfuqR__EuG93","scroller-inner":"style_scroller-inner__NJSE0__EuG93","is-moving":"style_is-moving__jGuy0__EuG93"};var a=r(70579);const d=e=>{let{onScroll:t,getContainer:r,...s}=e;const c=(0,o.useRef)(0),[l,d]=(0,o.useState)(!1),f=(0,o.useRef)(l);f.current=l;const h=(0,o.useRef)(t);h.current=t;const p=(0,o.useRef)(1);return p.current=s.width/s.innerWidth,(0,o.useEffect)((()=>{const e=e=>{f.current&&h.current(p.current*(e.clientX-c.current)),c.current=e.clientX},t=()=>{d(!1)};return document.addEventListener("mousemove",e,!0),document.addEventListener("mouseup",t,!0),()=>{document.removeEventListener("mousemove",e,!0),document.removeEventListener("mouseup",t,!0)}}),[]),(0,n.createPortal)(s.hasScroller?(0,a.jsx)("div",{className:u.scroller,style:{left:s.left,width:s.width,height:15},children:(0,a.jsx)("div",{className:i()(u["scroller-inner"],{[u["is-moving"]]:l}),style:{width:s.innerWidth,left:s.innerLeft},onMouseDown:e=>{e.preventDefault(),c.current=e.clientX,d(!0)}})}):null,r()||document.body)},f=e=>{let{className:t,scroller:r,getScrollTarget:n,children:s}=e;const[l,f]=(0,o.useState)({left:0,width:0,innerLeft:0,innerWidth:0,height:0,hasScroller:!1}),h=(0,o.useRef)(null),p=c()((()=>h.current&&n(h.current))),v=(0,o.useRef)();return v.current="object"===typeof r&&"function"===typeof r.getContainer?r.getContainer:()=>null,(0,o.useEffect)((()=>{const e=v.current()||document.documentElement;let t;const r=()=>{if(!t)return;const{left:r,width:n,top:o,height:s}=t.getBoundingClientRect(),c=t.offsetHeight-t.clientHeight||15,l=n*t.clientWidth/t.scrollWidth-6,i=t.scrollLeft*t.clientWidth/t.scrollWidth+2,u=e.getBoundingClientRect();f((a=>Object.assign({},a,{left:r,width:n,innerLeft:i,innerWidth:l,height:c,hasScroller:t.scrollWidth-t.clientWidth>0&&(e===document.documentElement?o+s-e.offsetHeight>0&&o<e.offsetHeight:o<u.top+u.height&&o+s>u.top+u.height)})))},n=new ResizeObserver(r);return new ResizeObserver((()=>{t=p(),t&&(n.disconnect(),r(),Array.from(t.children).forEach((e=>{n.observe(e)})),t.addEventListener("scroll",r))})).observe(h.current),window.addEventListener("scroll",r),e.addEventListener("scroll",r),()=>{window.removeEventListener("scroll",r),e.removeEventListener("scroll",r)}}),[p]),r?(0,a.jsxs)("div",{className:i()(u["scroller-outer"],t),ref:h,style:{"--scroller-bar-height":null!==l&&void 0!==l&&l.hasScroller?"15px":"0px"},children:[s,(0,a.jsx)(d,{...l,getContainer:v.current,onScroll:e=>{p().scrollLeft+=e}})]}):s};f.defaultProps={scroller:!0,getScrollTarget:()=>document.querySelector(".simplebar-content-wrapper")};const h=f},63361:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>x,useFeatureCall:()=>m});var n=r(73884),o=r(76329),s=r(33097),c=r.n(s),l=r(15797),i=r.n(l),u=r(1488),a=r.n(u),d=r(70579);const f=(e,t,r)=>{e&&(Array.isArray(e)?e.forEach((e=>{f(e,t,r)})):(t(Object.assign({},a()(e,["children"]),{parentId:r})),f(e.children,t,r?r+":"+e.id:e.id)))},h=i()((e=>{const t=(()=>{const t=new Map;return f(e,(e=>{t.set(e.parentId?e.parentId+":"+e.id:e.id,e)})),t})(),r=(e=>Array.from(e.keys()).filter((t=>{const r=e.get(t);return!(Array.isArray(r.dependencies)&&r.dependencies.length>0&&r.dependencies.some((r=>!e.get(t))))})))(t);return{profile:e,features:r,profileMap:t}})),p=(e,t)=>{let{profileMap:r,features:n}=t;const o=r.get(e);return-1!==n.indexOf(e)&&!0!==o.close&&c()(o,"dependencies",[]).every((t=>{const o=r.get(e);return n.indexOf(t)>-1&&!0!==o.close}))},v=(0,n.createContext)(null),{Provider:g}=v,m=e=>{const{features:t,profile:r,profileMap:s,debug:l}=(()=>{const e=(0,o.usePreset)(),{profile:t,debug:r}=c()(e,"features",{debug:!1,profile:{}});return Object.assign({},h(t),{debug:r})})(),i="system"===r.type?r.id:"root",u=(0,n.useContext)(v),a=u?u+":"+e:i+":"+e;return(0,n.useEffect)((()=>{t&&t.length>0&&l&&console.log("[featureId] ".concat(a,",[state] ").concat(p(a,{features:t,profileMap:s})),s.get(a))}),[t,s,l,a]),{isPass:!(e&&t&&t.length>0)||p(a,{features:t,profileMap:s}),currentId:a,feature:s.get(a)}},x=e=>{let{id:t,children:r}=e;const{isPass:n,feature:o,currentId:s}=m(t);return(0,d.jsx)(g,{value:s,children:"function"===typeof r?r({isPass:n,options:n?c()(o,"options"):c()(o,"rejectedOptions"),currentId:s}):n&&r})}},94710:e=>{e.exports=function(e,t,r,n){for(var o=-1,s=null==e?0:e.length;++o<s;){var c=e[o];t(n,c,r(c),e)}return n}},32952:(e,t,r)=>{var n=r(45652);e.exports=function(e,t,r,o){return n(e,(function(e,n,s){t(o,e,r(e),s)})),o}},45652:(e,t,r)=>{var n=r(94664),o=r(76516)(n);e.exports=o},75816:e=>{e.exports=function(e,t,r,n){for(var o=e.length,s=r+(n?1:-1);n?s--:++s<o;)if(t(e[s],s,e))return s;return-1}},99910:e=>{e.exports=function(e,t){for(var r,n=-1,o=e.length;++n<o;){var s=t(e[n]);void 0!==s&&(r=void 0===r?s:r+s)}return r}},19449:(e,t,r)=>{var n=r(94710),o=r(32952),s=r(9096),c=r(54052);e.exports=function(e,t){return function(r,l){var i=c(r)?n:o,u=t?t():{};return i(r,e,s(l,2),u)}}},76516:(e,t,r)=>{var n=r(6571);e.exports=function(e,t){return function(r,o){if(null==r)return r;if(!n(r))return e(r,o);for(var s=r.length,c=t?s:-1,l=Object(r);(t?c--:++c<s)&&!1!==o(l[c],c,l););return r}}},21844:(e,t,r)=>{var n=r(75816),o=r(9096),s=r(99140),c=Math.max,l=Math.min;e.exports=function(e,t,r){var i=null==e?0:e.length;if(!i)return-1;var u=i-1;return void 0!==r&&(u=s(r),u=r<0?c(i+u,0):l(u,i-1)),n(e,o(t,3),u,!0)}},39835:(e,t,r)=>{var n=r(71775),o=r(19449),s=Object.prototype.hasOwnProperty,c=o((function(e,t,r){s.call(e,r)?e[r].push(t):n(e,r,[t])}));e.exports=c},69613:(e,t,r)=>{var n=r(9261);e.exports=function(e,t,r){return null==e?e:n(e,t,r)}},42907:(e,t,r)=>{var n=r(9096),o=r(99910);e.exports=function(e,t){return e&&e.length?o(e,n(t,2)):0}},99140:(e,t,r)=>{var n=r(37303);e.exports=function(e){var t=n(e),r=t%1;return t===t?r?t-r:t:0}}}]);
2
+ //# sourceMappingURL=1664.0a89b13f.chunk.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"static/js/1664.2f4ff6c4.chunk.js","mappings":"2OACA,SAAgB,SAAW,+BAA+B,iBAAiB,qCAAqC,YAAY,iC,eCK5H,MAAMA,EAAYC,IAAmD,IAAlD,SAAEC,EAAQ,aAAEC,KAAiBC,GAAeH,EAC7D,MAAMI,GAAW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cvB,EAAOkB,EAAaP,EAAW,GAAIP,GAAO,EACjE,C,kBCxDA,IAAI0B,EAAkBxB,EAAQ,OAC1ByB,EAAmBzB,EAAQ,OAM3B0B,EAHcjG,OAAOkG,UAGQD,eAyB7BE,EAAUH,GAAiB,SAASjB,EAAQlB,EAAOY,GACjDwB,EAAeG,KAAKrB,EAAQN,GAC9BM,EAAON,GAAK4B,KAAKxC,GAEjBkC,EAAgBhB,EAAQN,EAAK,CAACZ,GAElC,IAEAE,EAAOC,QAAUmC,C,kBCxCjB,IAAIG,EAAU/B,EAAQ,MAkCtBR,EAAOC,QAJP,SAAauC,EAAQC,EAAM3C,GACzB,OAAiB,MAAV0C,EAAiBA,EAASD,EAAQC,EAAQC,EAAM3C,EACzD,C,kBChCA,IAAIsB,EAAeZ,EAAQ,MACvBkC,EAAUlC,EAAQ,OA+BtBR,EAAOC,QANP,SAAeC,EAAOE,GACpB,OAAQF,GAASA,EAAM9B,OACnBsE,EAAQxC,EAAOkB,EAAahB,EAAU,IACtC,CACN,C,kBC9BA,IAAIuC,EAAWnC,EAAQ,OAmCvBR,EAAOC,QAPP,SAAmBH,GACjB,IAAIkB,EAAS2B,EAAS7C,GAClB8C,EAAY5B,EAAS,EAEzB,OAAOA,IAAWA,EAAU4B,EAAY5B,EAAS4B,EAAY5B,EAAU,CACzE,C","sources":["webpack://@kne-components/components-core/./src/common/components/Scroller/style.module.scss?7480","common/components/Scroller/index.js","components/Features/index.js","../node_modules/lodash/_arrayAggregator.js","../node_modules/lodash/_baseAggregator.js","../node_modules/lodash/_baseEach.js","../node_modules/lodash/_baseFindIndex.js","../node_modules/lodash/_baseSum.js","../node_modules/lodash/_createAggregator.js","../node_modules/lodash/_createBaseEach.js","../node_modules/lodash/findLastIndex.js","../node_modules/lodash/groupBy.js","../node_modules/lodash/set.js","../node_modules/lodash/sumBy.js","../node_modules/lodash/toInteger.js"],"sourcesContent":["// extracted by mini-css-extract-plugin\nexport default {\"scroller\":\"style_scroller__EfuqR__abOpN\",\"scroller-inner\":\"style_scroller-inner__NJSE0__abOpN\",\"is-moving\":\"style_is-moving__jGuy0__abOpN\"};","import { createPortal } from \"react-dom\";\nimport { useEffect, useRef, useState } from \"react\";\nimport useRefCallback from \"@kne/use-ref-callback\";\nimport classnames from \"classnames\";\nimport style from \"./style.module.scss\";\n\nconst ScrollBar = ({ onScroll, getContainer, ...scrollerProps }) => {\n const startRef = useRef(0);\n const [moving, setMoving] = useState(false);\n const movingRef = useRef(moving);\n movingRef.current = moving;\n const onScrollRef = useRef(onScroll);\n onScrollRef.current = onScroll;\n const ratioRef = useRef(1);\n ratioRef.current = scrollerProps.width / scrollerProps.innerWidth;\n\n useEffect(() => {\n const moveHandler = (e) => {\n movingRef.current &&\n onScrollRef.current(ratioRef.current * (e.clientX - startRef.current));\n startRef.current = e.clientX;\n };\n const upHandler = () => {\n setMoving(false);\n };\n document.addEventListener(\"mousemove\", moveHandler, true);\n document.addEventListener(\"mouseup\", upHandler, true);\n return () => {\n document.removeEventListener(\"mousemove\", moveHandler, true);\n document.removeEventListener(\"mouseup\", upHandler, true);\n };\n }, []);\n return createPortal(\n scrollerProps.hasScroller ? (\n <div\n className={style[\"scroller\"]}\n style={{\n left: scrollerProps.left,\n width: scrollerProps.width,\n height: 15, //scrollerProps.height\n }}\n >\n <div\n className={classnames(style[\"scroller-inner\"], {\n [style[\"is-moving\"]]: moving,\n })}\n style={{\n width: scrollerProps.innerWidth,\n left: scrollerProps.innerLeft,\n }}\n onMouseDown={(e) => {\n e.preventDefault();\n startRef.current = e.clientX;\n setMoving(true);\n }}\n />\n </div>\n ) : null,\n getContainer() || document.body\n );\n};\n\nconst Scroller = ({ className, scroller, getScrollTarget, children }) => {\n const [scrollerProps, setScrollerProps] = useState({\n left: 0,\n width: 0,\n innerLeft: 0,\n innerWidth: 0,\n height: 0,\n hasScroller: false,\n });\n const ref = useRef(null);\n const getScrollEl = useRefCallback(() => {\n return ref.current && getScrollTarget(ref.current);\n });\n const getContainer = useRef();\n\n getContainer.current =\n typeof scroller === \"object\" && typeof scroller.getContainer === \"function\"\n ? scroller.getContainer\n : () => null;\n useEffect(() => {\n const container = getContainer.current() || document.documentElement;\n let scrollEl;\n const computed = () => {\n if (!scrollEl) {\n return;\n }\n const { left, width, top, height } = scrollEl.getBoundingClientRect();\n const scrollerHeight =\n scrollEl.offsetHeight - scrollEl.clientHeight || 15;\n const innerWidth =\n (width * scrollEl.clientWidth) / scrollEl.scrollWidth - 6;\n const innerLeft =\n (scrollEl.scrollLeft * scrollEl.clientWidth) / scrollEl.scrollWidth + 2;\n const containerRect = container.getBoundingClientRect();\n //console.log(endRef.current.vi);\n setScrollerProps((props) => {\n return Object.assign({}, props, {\n left,\n width,\n innerLeft,\n innerWidth,\n height: scrollerHeight,\n hasScroller:\n scrollEl.scrollWidth - scrollEl.clientWidth > 0 &&\n (container === document.documentElement\n ? top + height - container.offsetHeight > 0 &&\n top < container.offsetHeight\n : top < containerRect.top + containerRect.height &&\n top + height > containerRect.top + containerRect.height),\n });\n });\n };\n const resizeObserver = new ResizeObserver(computed);\n const refResizeObserver = new ResizeObserver(() => {\n scrollEl = getScrollEl();\n if (!scrollEl) {\n return;\n }\n resizeObserver.disconnect();\n computed();\n Array.from(scrollEl.children).forEach((item) => {\n resizeObserver.observe(item);\n });\n scrollEl.addEventListener(\"scroll\", computed);\n });\n\n refResizeObserver.observe(ref.current);\n\n window.addEventListener(\"scroll\", computed);\n container.addEventListener(\"scroll\", computed);\n return () => {\n window.removeEventListener(\"scroll\", computed);\n container.removeEventListener(\"scroll\", computed);\n };\n }, [getScrollEl]);\n if (!scroller) {\n return children;\n }\n return (\n <div\n className={classnames(style[\"scroller-outer\"], className)}\n ref={ref}\n style={{\n \"--scroller-bar-height\": scrollerProps?.hasScroller ? \"15px\" : \"0px\",\n }}\n >\n {children}\n <ScrollBar\n {...scrollerProps}\n getContainer={getContainer.current}\n onScroll={(x) => {\n const scrollEl = getScrollEl();\n scrollEl.scrollLeft += x;\n }}\n />\n </div>\n );\n};\n\nScroller.defaultProps = {\n scroller: true,\n getScrollTarget: () => document.querySelector(\".simplebar-content-wrapper\"),\n};\n\nexport default Scroller;\n","import { createContext, useContext, useEffect } from \"react\";\nimport { usePreset } from \"@components/Global\";\nimport get from \"lodash/get\";\nimport memoize from \"lodash/memoize\";\nimport omit from \"lodash/omit\";\n\nconst treeTraverse = (data, func, pId) => {\n if (!data) {\n return;\n }\n if (Array.isArray(data)) {\n data.forEach((item) => {\n treeTraverse(item, func, pId);\n });\n return;\n }\n func(Object.assign({}, omit(data, [\"children\"]), { parentId: pId }));\n treeTraverse(data.children, func, pId ? pId + \":\" + data.id : data.id);\n};\n\nconst parseProfile = memoize((profile) => {\n const profileMap = (() => {\n const output = new Map();\n treeTraverse(profile, (item) => {\n output.set(item.parentId ? item.parentId + \":\" + item.id : item.id, item);\n });\n return output;\n })();\n\n const features = ((profileMap) => {\n return Array.from(profileMap.keys()).filter((id) => {\n const item = profileMap.get(id);\n return !(\n Array.isArray(item.dependencies) &&\n item.dependencies.length > 0 &&\n item.dependencies.some((depId) => {\n return !profileMap.get(id);\n })\n );\n });\n })(profileMap);\n\n return { profile, features, profileMap };\n});\n\nconst useFeatures = () => {\n const preset = usePreset();\n const { profile, debug } = get(preset, \"features\", {\n debug: false,\n profile: {},\n });\n return Object.assign({}, parseProfile(profile), { debug });\n};\n\nconst computedIsPaas = (currentId, { profileMap, features }) => {\n const target = profileMap.get(currentId);\n return (\n features.indexOf(currentId) !== -1 &&\n target.close !== true &&\n get(target, \"dependencies\", []).every((id) => {\n const dependenciesTarget = profileMap.get(currentId);\n return features.indexOf(id) > -1 && dependenciesTarget.close !== true;\n })\n );\n};\n\nconst context = createContext(null);\n\nconst { Provider } = context;\n\nexport const useFeatureCall = (id) => {\n const { features, profile, profileMap, debug } = useFeatures();\n const systemId = profile.type === \"system\" ? profile.id : \"root\";\n const parentId = useContext(context);\n const currentId = parentId ? parentId + \":\" + id : systemId + \":\" + id;\n useEffect(() => {\n if (features && features.length > 0 && debug) {\n console.log(\n `[featureId] ${currentId},[state] ${computedIsPaas(currentId, {\n features,\n profileMap,\n })}`,\n profileMap.get(currentId)\n );\n }\n }, [features, profileMap, debug, currentId]);\n return {\n isPass:\n !(id && features && features.length > 0) ||\n computedIsPaas(currentId, { features, profileMap }),\n currentId,\n feature: profileMap.get(currentId),\n };\n};\n\nconst Features = ({ id, children }) => {\n const { isPass, feature, currentId } = useFeatureCall(id);\n return (\n <Provider value={currentId}>\n {typeof children === \"function\"\n ? children({\n isPass,\n options: isPass\n ? get(feature, \"options\")\n : get(feature, \"rejectedOptions\"),\n currentId,\n })\n : isPass && children}\n </Provider>\n );\n};\n\nexport default Features;\n","/**\n * A specialized version of `baseAggregator` for arrays.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform keys.\n * @param {Object} accumulator The initial aggregated object.\n * @returns {Function} Returns `accumulator`.\n */\nfunction arrayAggregator(array, setter, iteratee, accumulator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n var value = array[index];\n setter(accumulator, value, iteratee(value), array);\n }\n return accumulator;\n}\n\nmodule.exports = arrayAggregator;\n","var baseEach = require('./_baseEach');\n\n/**\n * Aggregates elements of `collection` on `accumulator` with keys transformed\n * by `iteratee` and values set by `setter`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform keys.\n * @param {Object} accumulator The initial aggregated object.\n * @returns {Function} Returns `accumulator`.\n */\nfunction baseAggregator(collection, setter, iteratee, accumulator) {\n baseEach(collection, function(value, key, collection) {\n setter(accumulator, value, iteratee(value), collection);\n });\n return accumulator;\n}\n\nmodule.exports = baseAggregator;\n","var baseForOwn = require('./_baseForOwn'),\n createBaseEach = require('./_createBaseEach');\n\n/**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\nvar baseEach = createBaseEach(baseForOwn);\n\nmodule.exports = baseEach;\n","/**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseFindIndex(array, predicate, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 1 : -1);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (predicate(array[index], index, array)) {\n return index;\n }\n }\n return -1;\n}\n\nmodule.exports = baseFindIndex;\n","/**\n * The base implementation of `_.sum` and `_.sumBy` without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {number} Returns the sum.\n */\nfunction baseSum(array, iteratee) {\n var result,\n index = -1,\n length = array.length;\n\n while (++index < length) {\n var current = iteratee(array[index]);\n if (current !== undefined) {\n result = result === undefined ? current : (result + current);\n }\n }\n return result;\n}\n\nmodule.exports = baseSum;\n","var arrayAggregator = require('./_arrayAggregator'),\n baseAggregator = require('./_baseAggregator'),\n baseIteratee = require('./_baseIteratee'),\n isArray = require('./isArray');\n\n/**\n * Creates a function like `_.groupBy`.\n *\n * @private\n * @param {Function} setter The function to set accumulator values.\n * @param {Function} [initializer] The accumulator object initializer.\n * @returns {Function} Returns the new aggregator function.\n */\nfunction createAggregator(setter, initializer) {\n return function(collection, iteratee) {\n var func = isArray(collection) ? arrayAggregator : baseAggregator,\n accumulator = initializer ? initializer() : {};\n\n return func(collection, setter, baseIteratee(iteratee, 2), accumulator);\n };\n}\n\nmodule.exports = createAggregator;\n","var isArrayLike = require('./isArrayLike');\n\n/**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n}\n\nmodule.exports = createBaseEach;\n","var baseFindIndex = require('./_baseFindIndex'),\n baseIteratee = require('./_baseIteratee'),\n toInteger = require('./toInteger');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * This method is like `_.findIndex` except that it iterates over elements\n * of `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=array.length-1] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.findLastIndex(users, function(o) { return o.user == 'pebbles'; });\n * // => 2\n *\n * // The `_.matches` iteratee shorthand.\n * _.findLastIndex(users, { 'user': 'barney', 'active': true });\n * // => 0\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findLastIndex(users, ['active', false]);\n * // => 2\n *\n * // The `_.property` iteratee shorthand.\n * _.findLastIndex(users, 'active');\n * // => 0\n */\nfunction findLastIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = length - 1;\n if (fromIndex !== undefined) {\n index = toInteger(fromIndex);\n index = fromIndex < 0\n ? nativeMax(length + index, 0)\n : nativeMin(index, length - 1);\n }\n return baseFindIndex(array, baseIteratee(predicate, 3), index, true);\n}\n\nmodule.exports = findLastIndex;\n","var baseAssignValue = require('./_baseAssignValue'),\n createAggregator = require('./_createAggregator');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The order of grouped values\n * is determined by the order they occur in `collection`. The corresponding\n * value of each key is an array of elements responsible for generating the\n * key. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * _.groupBy([6.1, 4.2, 6.3], Math.floor);\n * // => { '4': [4.2], '6': [6.1, 6.3] }\n *\n * // The `_.property` iteratee shorthand.\n * _.groupBy(['one', 'two', 'three'], 'length');\n * // => { '3': ['one', 'two'], '5': ['three'] }\n */\nvar groupBy = createAggregator(function(result, value, key) {\n if (hasOwnProperty.call(result, key)) {\n result[key].push(value);\n } else {\n baseAssignValue(result, key, [value]);\n }\n});\n\nmodule.exports = groupBy;\n","var baseSet = require('./_baseSet');\n\n/**\n * Sets the value at `path` of `object`. If a portion of `path` doesn't exist,\n * it's created. Arrays are created for missing index properties while objects\n * are created for all other missing properties. Use `_.setWith` to customize\n * `path` creation.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.set(object, 'a[0].b.c', 4);\n * console.log(object.a[0].b.c);\n * // => 4\n *\n * _.set(object, ['x', '0', 'y', 'z'], 5);\n * console.log(object.x[0].y.z);\n * // => 5\n */\nfunction set(object, path, value) {\n return object == null ? object : baseSet(object, path, value);\n}\n\nmodule.exports = set;\n","var baseIteratee = require('./_baseIteratee'),\n baseSum = require('./_baseSum');\n\n/**\n * This method is like `_.sum` except that it accepts `iteratee` which is\n * invoked for each element in `array` to generate the value to be summed.\n * The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Math\n * @param {Array} array The array to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {number} Returns the sum.\n * @example\n *\n * var objects = [{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }];\n *\n * _.sumBy(objects, function(o) { return o.n; });\n * // => 20\n *\n * // The `_.property` iteratee shorthand.\n * _.sumBy(objects, 'n');\n * // => 20\n */\nfunction sumBy(array, iteratee) {\n return (array && array.length)\n ? baseSum(array, baseIteratee(iteratee, 2))\n : 0;\n}\n\nmodule.exports = sumBy;\n","var toFinite = require('./toFinite');\n\n/**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\nfunction toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n}\n\nmodule.exports = toInteger;\n"],"names":["ScrollBar","_ref","onScroll","getContainer","scrollerProps","startRef","useRef","moving","setMoving","useState","movingRef","current","onScrollRef","ratioRef","width","innerWidth","useEffect","moveHandler","e","clientX","upHandler","document","addEventListener","removeEventListener","createPortal","hasScroller","_jsx","className","style","left","height","children","classnames","innerLeft","onMouseDown","preventDefault","body","Scroller","_ref2","scroller","getScrollTarget","setScrollerProps","ref","getScrollEl","useRefCallback","container","documentElement","scrollEl","computed","top","getBoundingClientRect","scrollerHeight","offsetHeight","clientHeight","clientWidth","scrollWidth","scrollLeft","containerRect","props","Object","assign","resizeObserver","ResizeObserver","disconnect","Array","from","forEach","item","observe","window","_jsxs","x","defaultProps","querySelector","treeTraverse","data","func","pId","isArray","omit","parentId","id","parseProfile","memoize","profile","profileMap","output","Map","set","features","keys","filter","get","dependencies","length","some","depId","computedIsPaas","currentId","target","indexOf","close","every","dependenciesTarget","context","createContext","Provider","useFeatureCall","debug","useFeatures","preset","usePreset","systemId","type","useContext","console","log","concat","isPass","feature","value","options","module","exports","array","setter","iteratee","accumulator","index","baseEach","require","collection","key","baseForOwn","createBaseEach","predicate","fromIndex","fromRight","result","undefined","arrayAggregator","baseAggregator","baseIteratee","initializer","isArrayLike","eachFunc","iterable","baseFindIndex","toInteger","nativeMax","Math","max","nativeMin","min","baseAssignValue","createAggregator","hasOwnProperty","prototype","groupBy","call","push","baseSet","object","path","baseSum","toFinite","remainder"],"sourceRoot":""}
1
+ {"version":3,"file":"static/js/1664.0a89b13f.chunk.js","mappings":"2OACA,SAAgB,SAAW,+BAA+B,iBAAiB,qCAAqC,YAAY,iC,eCK5H,MAAMA,EAAYC,IAAmD,IAAlD,SAAEC,EAAQ,aAAEC,KAAiBC,GAAeH,EAC7D,MAAMI,GAAWC,EAAAA,EAAAA,QAAO,IACjBC,EAAQC,IAAaC,EAAAA,EAAAA,WAAS,GAC/BC,GAAYJ,EAAAA,EAAAA,QAAOC,GACzBG,EAAUC,QAAUJ,EACpB,MAAMK,GAAcN,EAAAA,EAAAA,QAAOJ,GAC3BU,EAAYD,QAAUT,EACtB,MAAMW,GAAWP,EAAAA,EAAAA,QAAO,GAmBxB,OAlBAO,EAASF,QAAUP,EAAcU,MAAQV,EAAcW,YAEvDC,EAAAA,EAAAA,YAAU,KACR,MAAMC,EAAeC,IACnBR,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AAU/B,EAAQ,MAkCtBR,EAAOC,QAJP,SAAauC,EAAQC,EAAM3C,GACzB,OAAiB,MAAV0C,EAAiBA,EAASD,EAAQC,EAAQC,EAAM3C,EACzD,C,kBChCA,IAAIsB,EAAeZ,EAAQ,MACvBkC,EAAUlC,EAAQ,OA+BtBR,EAAOC,QANP,SAAeC,EAAOE,GACpB,OAAQF,GAASA,EAAM9B,OACnBsE,EAAQxC,EAAOkB,EAAahB,EAAU,IACtC,CACN,C,kBC9BA,IAAIuC,EAAWnC,EAAQ,OAmCvBR,EAAOC,QAPP,SAAmBH,GACjB,IAAIkB,EAAS2B,EAAS7C,GAClB8C,EAAY5B,EAAS,EAEzB,OAAOA,IAAWA,EAAU4B,EAAY5B,EAAS4B,EAAY5B,EAAU,CACzE,C","sources":["webpack://@kne-components/components-core/./src/common/components/Scroller/style.module.scss?7480","common/components/Scroller/index.js","components/Features/index.js","../node_modules/lodash/_arrayAggregator.js","../node_modules/lodash/_baseAggregator.js","../node_modules/lodash/_baseEach.js","../node_modules/lodash/_baseFindIndex.js","../node_modules/lodash/_baseSum.js","../node_modules/lodash/_createAggregator.js","../node_modules/lodash/_createBaseEach.js","../node_modules/lodash/findLastIndex.js","../node_modules/lodash/groupBy.js","../node_modules/lodash/set.js","../node_modules/lodash/sumBy.js","../node_modules/lodash/toInteger.js"],"sourcesContent":["// extracted by mini-css-extract-plugin\nexport default {\"scroller\":\"style_scroller__EfuqR__EuG93\",\"scroller-inner\":\"style_scroller-inner__NJSE0__EuG93\",\"is-moving\":\"style_is-moving__jGuy0__EuG93\"};","import { createPortal } from \"react-dom\";\nimport { useEffect, useRef, useState } from \"react\";\nimport useRefCallback from \"@kne/use-ref-callback\";\nimport classnames from \"classnames\";\nimport style from \"./style.module.scss\";\n\nconst ScrollBar = ({ onScroll, getContainer, ...scrollerProps }) => {\n const startRef = useRef(0);\n const [moving, setMoving] = useState(false);\n const movingRef = useRef(moving);\n movingRef.current = moving;\n const onScrollRef = useRef(onScroll);\n onScrollRef.current = onScroll;\n const ratioRef = useRef(1);\n ratioRef.current = scrollerProps.width / scrollerProps.innerWidth;\n\n useEffect(() => {\n const moveHandler = (e) => {\n movingRef.current &&\n onScrollRef.current(ratioRef.current * (e.clientX - startRef.current));\n startRef.current = e.clientX;\n };\n const upHandler = () => {\n setMoving(false);\n };\n document.addEventListener(\"mousemove\", moveHandler, true);\n document.addEventListener(\"mouseup\", upHandler, true);\n return () => {\n document.removeEventListener(\"mousemove\", moveHandler, true);\n document.removeEventListener(\"mouseup\", upHandler, true);\n };\n }, []);\n return createPortal(\n scrollerProps.hasScroller ? (\n <div\n className={style[\"scroller\"]}\n style={{\n left: scrollerProps.left,\n width: scrollerProps.width,\n height: 15, //scrollerProps.height\n }}\n >\n <div\n className={classnames(style[\"scroller-inner\"], {\n [style[\"is-moving\"]]: moving,\n })}\n style={{\n width: scrollerProps.innerWidth,\n left: scrollerProps.innerLeft,\n }}\n onMouseDown={(e) => {\n e.preventDefault();\n startRef.current = e.clientX;\n setMoving(true);\n }}\n />\n </div>\n ) : null,\n getContainer() || document.body\n );\n};\n\nconst Scroller = ({ className, scroller, getScrollTarget, children }) => {\n const [scrollerProps, setScrollerProps] = useState({\n left: 0,\n width: 0,\n innerLeft: 0,\n innerWidth: 0,\n height: 0,\n hasScroller: false,\n });\n const ref = useRef(null);\n const getScrollEl = useRefCallback(() => {\n return ref.current && getScrollTarget(ref.current);\n });\n const getContainer = useRef();\n\n getContainer.current =\n typeof scroller === \"object\" && typeof scroller.getContainer === \"function\"\n ? scroller.getContainer\n : () => null;\n useEffect(() => {\n const container = getContainer.current() || document.documentElement;\n let scrollEl;\n const computed = () => {\n if (!scrollEl) {\n return;\n }\n const { left, width, top, height } = scrollEl.getBoundingClientRect();\n const scrollerHeight =\n scrollEl.offsetHeight - scrollEl.clientHeight || 15;\n const innerWidth =\n (width * scrollEl.clientWidth) / scrollEl.scrollWidth - 6;\n const innerLeft =\n (scrollEl.scrollLeft * scrollEl.clientWidth) / scrollEl.scrollWidth + 2;\n const containerRect = container.getBoundingClientRect();\n //console.log(endRef.current.vi);\n setScrollerProps((props) => {\n return Object.assign({}, props, {\n left,\n width,\n innerLeft,\n innerWidth,\n height: scrollerHeight,\n hasScroller:\n scrollEl.scrollWidth - scrollEl.clientWidth > 0 &&\n (container === document.documentElement\n ? top + height - container.offsetHeight > 0 &&\n top < container.offsetHeight\n : top < containerRect.top + containerRect.height &&\n top + height > containerRect.top + containerRect.height),\n });\n });\n };\n const resizeObserver = new ResizeObserver(computed);\n const refResizeObserver = new ResizeObserver(() => {\n scrollEl = getScrollEl();\n if (!scrollEl) {\n return;\n }\n resizeObserver.disconnect();\n computed();\n Array.from(scrollEl.children).forEach((item) => {\n resizeObserver.observe(item);\n });\n scrollEl.addEventListener(\"scroll\", computed);\n });\n\n refResizeObserver.observe(ref.current);\n\n window.addEventListener(\"scroll\", computed);\n container.addEventListener(\"scroll\", computed);\n return () => {\n window.removeEventListener(\"scroll\", computed);\n container.removeEventListener(\"scroll\", computed);\n };\n }, [getScrollEl]);\n if (!scroller) {\n return children;\n }\n return (\n <div\n className={classnames(style[\"scroller-outer\"], className)}\n ref={ref}\n style={{\n \"--scroller-bar-height\": scrollerProps?.hasScroller ? \"15px\" : \"0px\",\n }}\n >\n {children}\n <ScrollBar\n {...scrollerProps}\n getContainer={getContainer.current}\n onScroll={(x) => {\n const scrollEl = getScrollEl();\n scrollEl.scrollLeft += x;\n }}\n />\n </div>\n );\n};\n\nScroller.defaultProps = {\n scroller: true,\n getScrollTarget: () => document.querySelector(\".simplebar-content-wrapper\"),\n};\n\nexport default Scroller;\n","import { createContext, useContext, useEffect } from \"react\";\nimport { usePreset } from \"@components/Global\";\nimport get from \"lodash/get\";\nimport memoize from \"lodash/memoize\";\nimport omit from \"lodash/omit\";\n\nconst treeTraverse = (data, func, pId) => {\n if (!data) {\n return;\n }\n if (Array.isArray(data)) {\n data.forEach((item) => {\n treeTraverse(item, func, pId);\n });\n return;\n }\n func(Object.assign({}, omit(data, [\"children\"]), { parentId: pId }));\n treeTraverse(data.children, func, pId ? pId + \":\" + data.id : data.id);\n};\n\nconst parseProfile = memoize((profile) => {\n const profileMap = (() => {\n const output = new Map();\n treeTraverse(profile, (item) => {\n output.set(item.parentId ? item.parentId + \":\" + item.id : item.id, item);\n });\n return output;\n })();\n\n const features = ((profileMap) => {\n return Array.from(profileMap.keys()).filter((id) => {\n const item = profileMap.get(id);\n return !(\n Array.isArray(item.dependencies) &&\n item.dependencies.length > 0 &&\n item.dependencies.some((depId) => {\n return !profileMap.get(id);\n })\n );\n });\n })(profileMap);\n\n return { profile, features, profileMap };\n});\n\nconst useFeatures = () => {\n const preset = usePreset();\n const { profile, debug } = get(preset, \"features\", {\n debug: false,\n profile: {},\n });\n return Object.assign({}, parseProfile(profile), { debug });\n};\n\nconst computedIsPaas = (currentId, { profileMap, features }) => {\n const target = profileMap.get(currentId);\n return (\n features.indexOf(currentId) !== -1 &&\n target.close !== true &&\n get(target, \"dependencies\", []).every((id) => {\n const dependenciesTarget = profileMap.get(currentId);\n return features.indexOf(id) > -1 && dependenciesTarget.close !== true;\n })\n );\n};\n\nconst context = createContext(null);\n\nconst { Provider } = context;\n\nexport const useFeatureCall = (id) => {\n const { features, profile, profileMap, debug } = useFeatures();\n const systemId = profile.type === \"system\" ? profile.id : \"root\";\n const parentId = useContext(context);\n const currentId = parentId ? parentId + \":\" + id : systemId + \":\" + id;\n useEffect(() => {\n if (features && features.length > 0 && debug) {\n console.log(\n `[featureId] ${currentId},[state] ${computedIsPaas(currentId, {\n features,\n profileMap,\n })}`,\n profileMap.get(currentId)\n );\n }\n }, [features, profileMap, debug, currentId]);\n return {\n isPass:\n !(id && features && features.length > 0) ||\n computedIsPaas(currentId, { features, profileMap }),\n currentId,\n feature: profileMap.get(currentId),\n };\n};\n\nconst Features = ({ id, children }) => {\n const { isPass, feature, currentId } = useFeatureCall(id);\n return (\n <Provider value={currentId}>\n {typeof children === \"function\"\n ? children({\n isPass,\n options: isPass\n ? get(feature, \"options\")\n : get(feature, \"rejectedOptions\"),\n currentId,\n })\n : isPass && children}\n </Provider>\n );\n};\n\nexport default Features;\n","/**\n * A specialized version of `baseAggregator` for arrays.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform keys.\n * @param {Object} accumulator The initial aggregated object.\n * @returns {Function} Returns `accumulator`.\n */\nfunction arrayAggregator(array, setter, iteratee, accumulator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n var value = array[index];\n setter(accumulator, value, iteratee(value), array);\n }\n return accumulator;\n}\n\nmodule.exports = arrayAggregator;\n","var baseEach = require('./_baseEach');\n\n/**\n * Aggregates elements of `collection` on `accumulator` with keys transformed\n * by `iteratee` and values set by `setter`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform keys.\n * @param {Object} accumulator The initial aggregated object.\n * @returns {Function} Returns `accumulator`.\n */\nfunction baseAggregator(collection, setter, iteratee, accumulator) {\n baseEach(collection, function(value, key, collection) {\n setter(accumulator, value, iteratee(value), collection);\n });\n return accumulator;\n}\n\nmodule.exports = baseAggregator;\n","var baseForOwn = require('./_baseForOwn'),\n createBaseEach = require('./_createBaseEach');\n\n/**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\nvar baseEach = createBaseEach(baseForOwn);\n\nmodule.exports = baseEach;\n","/**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseFindIndex(array, predicate, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 1 : -1);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (predicate(array[index], index, array)) {\n return index;\n }\n }\n return -1;\n}\n\nmodule.exports = baseFindIndex;\n","/**\n * The base implementation of `_.sum` and `_.sumBy` without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {number} Returns the sum.\n */\nfunction baseSum(array, iteratee) {\n var result,\n index = -1,\n length = array.length;\n\n while (++index < length) {\n var current = iteratee(array[index]);\n if (current !== undefined) {\n result = result === undefined ? current : (result + current);\n }\n }\n return result;\n}\n\nmodule.exports = baseSum;\n","var arrayAggregator = require('./_arrayAggregator'),\n baseAggregator = require('./_baseAggregator'),\n baseIteratee = require('./_baseIteratee'),\n isArray = require('./isArray');\n\n/**\n * Creates a function like `_.groupBy`.\n *\n * @private\n * @param {Function} setter The function to set accumulator values.\n * @param {Function} [initializer] The accumulator object initializer.\n * @returns {Function} Returns the new aggregator function.\n */\nfunction createAggregator(setter, initializer) {\n return function(collection, iteratee) {\n var func = isArray(collection) ? arrayAggregator : baseAggregator,\n accumulator = initializer ? initializer() : {};\n\n return func(collection, setter, baseIteratee(iteratee, 2), accumulator);\n };\n}\n\nmodule.exports = createAggregator;\n","var isArrayLike = require('./isArrayLike');\n\n/**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n}\n\nmodule.exports = createBaseEach;\n","var baseFindIndex = require('./_baseFindIndex'),\n baseIteratee = require('./_baseIteratee'),\n toInteger = require('./toInteger');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * This method is like `_.findIndex` except that it iterates over elements\n * of `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=array.length-1] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.findLastIndex(users, function(o) { return o.user == 'pebbles'; });\n * // => 2\n *\n * // The `_.matches` iteratee shorthand.\n * _.findLastIndex(users, { 'user': 'barney', 'active': true });\n * // => 0\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findLastIndex(users, ['active', false]);\n * // => 2\n *\n * // The `_.property` iteratee shorthand.\n * _.findLastIndex(users, 'active');\n * // => 0\n */\nfunction findLastIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = length - 1;\n if (fromIndex !== undefined) {\n index = toInteger(fromIndex);\n index = fromIndex < 0\n ? nativeMax(length + index, 0)\n : nativeMin(index, length - 1);\n }\n return baseFindIndex(array, baseIteratee(predicate, 3), index, true);\n}\n\nmodule.exports = findLastIndex;\n","var baseAssignValue = require('./_baseAssignValue'),\n createAggregator = require('./_createAggregator');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The order of grouped values\n * is determined by the order they occur in `collection`. The corresponding\n * value of each key is an array of elements responsible for generating the\n * key. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * _.groupBy([6.1, 4.2, 6.3], Math.floor);\n * // => { '4': [4.2], '6': [6.1, 6.3] }\n *\n * // The `_.property` iteratee shorthand.\n * _.groupBy(['one', 'two', 'three'], 'length');\n * // => { '3': ['one', 'two'], '5': ['three'] }\n */\nvar groupBy = createAggregator(function(result, value, key) {\n if (hasOwnProperty.call(result, key)) {\n result[key].push(value);\n } else {\n baseAssignValue(result, key, [value]);\n }\n});\n\nmodule.exports = groupBy;\n","var baseSet = require('./_baseSet');\n\n/**\n * Sets the value at `path` of `object`. If a portion of `path` doesn't exist,\n * it's created. Arrays are created for missing index properties while objects\n * are created for all other missing properties. Use `_.setWith` to customize\n * `path` creation.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.set(object, 'a[0].b.c', 4);\n * console.log(object.a[0].b.c);\n * // => 4\n *\n * _.set(object, ['x', '0', 'y', 'z'], 5);\n * console.log(object.x[0].y.z);\n * // => 5\n */\nfunction set(object, path, value) {\n return object == null ? object : baseSet(object, path, value);\n}\n\nmodule.exports = set;\n","var baseIteratee = require('./_baseIteratee'),\n baseSum = require('./_baseSum');\n\n/**\n * This method is like `_.sum` except that it accepts `iteratee` which is\n * invoked for each element in `array` to generate the value to be summed.\n * The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Math\n * @param {Array} array The array to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {number} Returns the sum.\n * @example\n *\n * var objects = [{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }];\n *\n * _.sumBy(objects, function(o) { return o.n; });\n * // => 20\n *\n * // The `_.property` iteratee shorthand.\n * _.sumBy(objects, 'n');\n * // => 20\n */\nfunction sumBy(array, iteratee) {\n return (array && array.length)\n ? baseSum(array, baseIteratee(iteratee, 2))\n : 0;\n}\n\nmodule.exports = sumBy;\n","var toFinite = require('./toFinite');\n\n/**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\nfunction toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n}\n\nmodule.exports = toInteger;\n"],"names":["ScrollBar","_ref","onScroll","getContainer","scrollerProps","startRef","useRef","moving","setMoving","useState","movingRef","current","onScrollRef","ratioRef","width","innerWidth","useEffect","moveHandler","e","clientX","upHandler","document","addEventListener","removeEventListener","createPortal","hasScroller","_jsx","className","style","left","height","children","classnames","innerLeft","onMouseDown","preventDefault","body","Scroller","_ref2","scroller","getScrollTarget","setScrollerProps","ref","getScrollEl","useRefCallback","container","documentElement","scrollEl","computed","top","getBoundingClientRect","scrollerHeight","offsetHeight","clientHeight","clientWidth","scrollWidth","scrollLeft","containerRect","props","Object","assign","resizeObserver","ResizeObserver","disconnect","Array","from","forEach","item","observe","window","_jsxs","x","defaultProps","querySelector","treeTraverse","data","func","pId","isArray","omit","parentId","id","parseProfile","memoize","profile","profileMap","output","Map","set","features","keys","filter","get","dependencies","length","some","depId","computedIsPaas","currentId","target","indexOf","close","every","dependenciesTarget","context","createContext","Provider","useFeatureCall","debug","useFeatures","preset","usePreset","systemId","type","useContext","console","log","concat","isPass","feature","value","options","module","exports","array","setter","iteratee","accumulator","index","baseEach","require","collection","key","baseForOwn","createBaseEach","predicate","fromIndex","fromRight","result","undefined","arrayAggregator","baseAggregator","baseIteratee","initializer","isArrayLike","eachFunc","iterable","baseFindIndex","toInteger","nativeMax","Math","max","nativeMin","min","baseAssignValue","createAggregator","hasOwnProperty","prototype","groupBy","call","push","baseSet","object","path","baseSum","toFinite","remainder"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ (self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[1932],{41932:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>P,transformEvents:()=>H});const r={"select-date-box":"style_select-date-box__dAZdQ__EuG93",dot:"style_dot__-kCbf__EuG93",row:"style_row__jF4Ep__EuG93",time:"style_time__ZqsGI__EuG93",title:"style_title__UfoFQ__EuG93",selected:"style_selected__ZAhNv__EuG93","not-selected":"style_not-selected__1ZL01__EuG93",other:"style_other__wj9bp__EuG93","other-tooltip":"style_other-tooltip__8Wd+S__EuG93","calendar-tooltip":"style_calendar-tooltip__oW3wo__EuG93","tooltip-header":"style_tooltip-header__lvQv7__EuG93","tooltip-body":"style_tooltip-body__ZIZC6__EuG93","tooltip-box":"style_tooltip-box__ymQFN__EuG93"};var o=n(31349),i=n.n(o),s=n(94438),l=n.n(s),a=n(19010),c=n.n(a),u=n(10104),d=n.n(u),f=n(70960),p=n.n(f),v=n(21554),_=n(55199),x=n(83136),h=n.n(x),m=n(33097),y=n.n(m),j=n(9944),b=n.n(j),g=n(39835),N=n.n(g),E=n(57469),Y=n.n(E),w=n(34677),G=n.n(w),O=n(20819),C=n.n(O),D=n(70579);const M=t=>(0,D.jsx)(i(),{...t}),k=function(t){let e=0;for(let n=0;n<t.length;n++)t.charCodeAt(n)<256?e+=1:e+=2;return e},T=t=>{let{main:e,title:n}=t;const{disabled:o,date:i,candidateName:s,start:l,end:a,onClick:c}=e||{},u=Y()(l).format("HH:mm"),d=Y()(a).format("HH:mm"),f=Y()(l).format("YYYY-MM-DD")===Y()(a).format("YYYY-MM-DD")?Y()(a).format("HH:mm"):Y()(a).format("YYYY-MM-DD HH:mm"),p="".concat(u,"-").concat(d),x="".concat(u," - ").concat(f),m=(0,D.jsxs)("div",{className:r.row,onClick:()=>{o||c&&c(e)},children:[(0,D.jsx)("span",{className:h()("select-dot",r.dot)}),(0,D.jsx)("span",{className:h()("select-time",r.time),children:p}),(0,D.jsx)("span",{className:h()("select-title",r.title),children:k(n)>6?n.slice(0,3)+"...":n})]});return(0,D.jsx)("div",{className:h()(r["select-date-box"],o?r.selected:r["not-selected"]),children:o?(0,D.jsx)(v.default,{overlayClassName:r["calendar-tooltip"],content:(0,D.jsxs)("div",{className:r.tooltip,children:[(0,D.jsx)("div",{className:r["tooltip-header"],children:"\u5ba2\u6237\u9762\u8bd5"}),(0,D.jsx)(_.Divider,{}),(0,D.jsxs)("div",{className:r["tooltip-body"],children:[(0,D.jsxs)("div",{className:r["tooltip-box"],children:[(0,D.jsx)("label",{children:"\u5019\u9009\u4eba\uff1a"}),(0,D.jsx)("div",{children:s})]}),(0,D.jsxs)("div",{className:r["tooltip-box"],children:[(0,D.jsx)("label",{children:"\u9762\u8bd5\u65f6\u95f4\uff1a"}),(0,D.jsxs)("div",{children:[i," ",x]})]})]})]}),placement:"rightTop",children:m}):(0,D.jsx)(v.default,{overlayClassName:r["calendar-tooltip"],content:(0,D.jsxs)("div",{className:r.tooltip,children:[(0,D.jsx)("div",{className:r["tooltip-header"],children:"\u65e5\u7a0b"}),(0,D.jsx)(_.Divider,{}),(0,D.jsxs)("div",{className:r["tooltip-body"],children:[(0,D.jsxs)("div",{className:r["tooltip-box"],children:[(0,D.jsx)("label",{children:"\u65e5\u7a0b\u6807\u9898\uff1a"}),(0,D.jsx)("div",{children:n||"-"})]}),(0,D.jsxs)("div",{className:r["tooltip-box"],children:[(0,D.jsx)("label",{children:"\u65e5\u7a0b\u65f6\u95f4\uff1a"}),(0,D.jsxs)("div",{children:[i," ",x]})]})]})]}),placement:"rightTop",children:m})})};M.defaultProps={timezone:"UTC",plugins:[l(),c(),d(),p()],initialView:"dayGridMonth",aspectRatio:1.6,weekends:!0,slotEventOverlap:!1,displayEventEnd:!0,editable:!1,firstDay:1,buttonText:{today:"\u4eca\u5929",month:"\u6708"},dayMinWidth:100,locale:"zh-cn",headerToolbar:{center:"",left:"prev title next",right:"today"},height:"auto",handleWindowResize:!1,eventContent:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{event:e}=t||{},n=e._def.title||"",o=y()(e,"_def.extendedProps.main")||{},{showOther:i}=o,{num:s,content:l}=i||{};return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(T,{title:n,main:o}),i&&(0,D.jsx)("div",{className:r.other,onClick:t=>{t.stopPropagation()},children:(0,D.jsx)(v.default,{overlayClassName:r["calendar-tooltip"],content:(0,D.jsx)("div",{className:r["other-tooltip"],children:(l||[]).map((t=>(0,D.jsx)(T,{main:t.main,title:t.title},t.id)))}),placement:"rightTop",children:(0,D.jsxs)("div",{children:["\u8fd8\u6709",s,"\u9879\u2026"]})})})]})},dateClick:()=>{},eventClick:()=>{},initialDate:Y()().format("YYYY-MM-DD")};const H=(t,e)=>{if(0===t.length)return[];const n=t.map(((t,e)=>({...t,title:Boolean(0===(null===t||void 0===t?void 0:t.bookable))?"\u5df2\u9884\u7ea6":t.title,main:{id:e,title:Boolean(0===(null===t||void 0===t?void 0:t.bookable))?"\u5df2\u9884\u7ea6":t.title,candidateName:t.title||"-",disabled:Boolean(0===(null===t||void 0===t?void 0:t.bookable)),date:Y()(t.start).format("YYYY-MM-DD"),start:Y()(t.start).format("YYYY-MM-DD HH:mm"),end:Y()(t.end).format("YYYY-MM-DD HH:mm")}}))),r=N()(n,(t=>Y()(t.start).startOf("day").format("YYYY-MM-DD")));let o=[];return Object.keys(r).forEach((t=>{let n=[];const i=b()(r[t],["start","end"],["asc","desc"]);i.length>4?(n=i.slice(0,3),n[2]=G()({},i[2],{main:{showOther:{num:i.length-3,disabled:!0,content:i.slice(3,i.length).map((t=>({...t,main:{...t.main,onClick:e||(()=>{})}})))}}})):n=i.slice(0,i.length),o.push(n)})),console.log(">>>>> newEvents",C()(o)),C()(o)},P=M},64671:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>a});n(73884);var r=n(83136),o=n.n(r),i=n(70579);const s=t=>(/^[1-9]+[0-9]*]*$/.test(t.toString())&&(t+="px"),t),l=t=>{let{type:e,colorful:n,className:r,size:l,style:a,prefix:c,...u}=t;const d=((t,e,n)=>"icon-"===e||""===e?(n?"icon-color-":"icon-")+t.replace(/^icon-(color-)?/,""):e+t)(e,c,n),f=o()(r,{iconfont:!n,"iconfont--color":n},d),p=Object.assign({},a,l?{fontSize:s(l)}:{});return n?(0,i.jsx)("svg",{...u,"data-testid":"components-core-iconfont",className:f,style:p,children:(0,i.jsx)("use",{xlinkHref:"#".concat(e),style:{pointerEvents:"none"}})}):(0,i.jsx)("i",{...u,"data-testid":"components-core-iconfont",className:f,style:p})};l.defaultProps={colorful:!1,prefix:""};const a=l},21554:(t,e,n)=>{"use strict";n.r(e),n.d(e,{TooltipFetch:()=>C,TooltipInfoLabel:()=>Y,default:()=>N});var r=n(55199),o=n(83136),i=n.n(o);const s="style_tooltip__zHGMI__EuG93",l="style_large__lvmsm__EuG93",a="style_small__nUt0r__EuG93",c="style_popup-content__-rKQN__EuG93",u="style_title__1EQPq__EuG93",d="style_important-info__qTSZY__EuG93",f="style_error__yTTq3__EuG93",p="style_warning__CMJxz__EuG93",v="style_success__AvJVx__EuG93",_="style_sub-title__uD8CH__EuG93",x="style_content__lzgUz__EuG93",h="style_alone__q6q82__EuG93",m="style_fetch-content__tEOEV__EuG93",y="style_fetch-loading__tN-WB__EuG93",j="style_title-info-icon__iY8Q+__EuG93";var b=n(70579);const g=t=>{let{overlayClassName:e,title:n,size:o,subtitle:m,content:y,importantInfo:j,importantInfoType:g,moreInfo:N,...E}=t;return(0,b.jsx)(r.Tooltip,{...E,overlayClassName:i()(e,s,{[a]:"small"===o,[l]:"large"===o}),title:(0,b.jsxs)(r.Space,{direction:"vertical",className:c,children:[n&&(0,b.jsx)("div",{className:u,children:n}),j&&(0,b.jsx)("div",{className:i()(d,{[v]:"success"===g,[p]:"warning"===g,[f]:"error"===g}),children:j}),m&&(0,b.jsx)("div",{className:_,children:m}),y&&(0,b.jsx)("div",{className:i()(x,{[h]:[n,m,j,N].every((t=>!t))}),children:y}),N&&(0,b.jsx)("div",{children:N})]})})};g.defaultProps={};const N=g;var E=n(64671);const Y=t=>{let{title:e,tooltipTitle:n}=t;return(0,b.jsxs)("div",{children:[e,n?(0,b.jsx)(N,{...n,children:(0,b.jsx)("span",{children:(0,b.jsx)(E.default,{type:"icon-xinxi-miaobian",className:j,size:14})})}):null]})};var w=n(73884),G=n(87558);const O=t=>{let{api:e,children:n,fetchContent:o,showLoading:s,loadingClassName:l,force:a,...c}=t;const[u,d]=(0,w.useState)(!1),f=(0,G.useFetch)(Object.assign({},e,{auto:!1})),{isComplete:p,isLoading:v,data:_,send:x}=f;return(0,b.jsx)(N,{...Object.assign({},c,p?o(_,f):{}),open:u,onOpenChange:async t=>{!t||p&&!a||await x({type:"refresh"}),d(t)},children:(0,b.jsxs)("span",{className:m,children:[n,s&&v?(0,b.jsx)(r.Spin,{size:"small",className:i()(l,y)}):null]})})};O.defaultProps={showLoading:!0};const C=O},31170:t=>{t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},94710:t=>{t.exports=function(t,e,n,r){for(var o=-1,i=null==t?0:t.length;++o<i;){var s=t[o];e(r,s,n(s),t)}return r}},63868:(t,e,n)=>{var r=n(71775),o=n(93211);t.exports=function(t,e,n){(void 0!==n&&!o(t[e],n)||void 0===n&&!(e in t))&&r(t,e,n)}},78420:(t,e,n)=>{var r=n(71775),o=n(93211),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var s=t[e];i.call(t,e)&&o(s,n)&&(void 0!==n||e in t)||r(t,e,n)}},32952:(t,e,n)=>{var r=n(45652);t.exports=function(t,e,n,o){return r(t,(function(t,r,i){e(o,t,n(t),i)})),o}},71775:(t,e,n)=>{var r=n(5654);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},21817:(t,e,n)=>{var r=n(46686),o=Object.create,i=function(){function t(){}return function(e){if(!r(e))return{};if(o)return o(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=i},45652:(t,e,n)=>{var r=n(94664),o=n(76516)(r);t.exports=o},80755:(t,e,n)=>{var r=n(48895),o=n(77116);t.exports=function t(e,n,i,s,l){var a=-1,c=e.length;for(i||(i=o),l||(l=[]);++a<c;){var u=e[a];n>0&&i(u)?n>1?t(u,n-1,i,s,l):r(l,u):s||(l[l.length]=u)}return l}},94258:(t,e,n)=>{var r=n(55906)();t.exports=r},94664:(t,e,n)=>{var r=n(94258),o=n(28673);t.exports=function(t,e){return t&&r(t,e,o)}},58122:(t,e,n)=>{var r=n(46686),o=n(36140),i=n(43516),s=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return i(t);var e=o(t),n=[];for(var l in t)("constructor"!=l||!e&&s.call(t,l))&&n.push(l);return n}},38883:(t,e,n)=>{var r=n(45652),o=n(6571);t.exports=function(t,e){var n=-1,i=o(t)?Array(t.length):[];return r(t,(function(t,r,o){i[++n]=e(t,r,o)})),i}},23253:(t,e,n)=>{var r=n(5538),o=n(63868),i=n(94258),s=n(83223),l=n(46686),a=n(30474),c=n(53737);t.exports=function t(e,n,u,d,f){e!==n&&i(n,(function(i,a){if(f||(f=new r),l(i))s(e,n,a,u,t,d,f);else{var p=d?d(c(e,a),i,a+"",e,n,f):void 0;void 0===p&&(p=i),o(e,a,p)}}),a)}},83223:(t,e,n)=>{var r=n(63868),o=n(44353),i=n(38710),s=n(91980),l=n(20310),a=n(22777),c=n(54052),u=n(76272),d=n(44543),f=n(11629),p=n(46686),v=n(12322),_=n(51268),x=n(53737),h=n(91609);t.exports=function(t,e,n,m,y,j,b){var g=x(t,n),N=x(e,n),E=b.get(N);if(E)r(t,n,E);else{var Y=j?j(g,N,n+"",t,e,b):void 0,w=void 0===Y;if(w){var G=c(N),O=!G&&d(N),C=!G&&!O&&_(N);Y=N,G||O||C?c(g)?Y=g:u(g)?Y=s(g):O?(w=!1,Y=o(N,!0)):C?(w=!1,Y=i(N,!0)):Y=[]:v(N)||a(N)?(Y=g,a(g)?Y=h(g):p(g)&&!f(g)||(Y=l(N))):w=!1}w&&(b.set(N,Y),y(Y,N,m,j,b),b.delete(N)),r(t,n,Y)}}},12536:(t,e,n)=>{var r=n(50149),o=n(52969),i=n(9096),s=n(38883),l=n(60320),a=n(47574),c=n(65893),u=n(33279),d=n(54052);t.exports=function(t,e,n){e=e.length?r(e,(function(t){return d(t)?function(e){return o(e,1===t.length?t[0]:t)}:t})):[u];var f=-1;e=r(e,a(i));var p=s(t,(function(t,n,o){return{criteria:r(e,(function(e){return e(t)})),index:++f,value:t}}));return l(p,(function(t,e){return c(t,e,n)}))}},55647:(t,e,n)=>{var r=n(33279),o=n(55636),i=n(46350);t.exports=function(t,e){return i(o(t,e,r),t+"")}},28325:(t,e,n)=>{var r=n(22541),o=n(5654),i=n(33279),s=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:i;t.exports=s},60320:t=>{t.exports=function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}},61516:(t,e,n)=>{var r=n(22929);t.exports=function(t){var e=new t.constructor(t.byteLength);return new r(e).set(new r(t)),e}},44353:(t,e,n)=>{t=n.nmd(t);var r=n(56552),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,s=i&&i.exports===o?r.Buffer:void 0,l=s?s.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var n=t.length,r=l?l(n):new t.constructor(n);return t.copy(r),r}},38710:(t,e,n)=>{var r=n(61516);t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}},16599:(t,e,n)=>{var r=n(19841);t.exports=function(t,e){if(t!==e){var n=void 0!==t,o=null===t,i=t===t,s=r(t),l=void 0!==e,a=null===e,c=e===e,u=r(e);if(!a&&!u&&!s&&t>e||s&&l&&c&&!a&&!u||o&&l&&c||!n&&c||!i)return 1;if(!o&&!s&&!u&&t<e||u&&n&&i&&!o&&!s||a&&n&&i||!l&&i||!c)return-1}return 0}},65893:(t,e,n)=>{var r=n(16599);t.exports=function(t,e,n){for(var o=-1,i=t.criteria,s=e.criteria,l=i.length,a=n.length;++o<l;){var c=r(i[o],s[o]);if(c)return o>=a?c:c*("desc"==n[o]?-1:1)}return t.index-e.index}},91980:t=>{t.exports=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}},96614:(t,e,n)=>{var r=n(78420),o=n(71775);t.exports=function(t,e,n,i){var s=!n;n||(n={});for(var l=-1,a=e.length;++l<a;){var c=e[l],u=i?i(n[c],t[c],c,n,t):void 0;void 0===u&&(u=t[c]),s?o(n,c,u):r(n,c,u)}return n}},19449:(t,e,n)=>{var r=n(94710),o=n(32952),i=n(9096),s=n(54052);t.exports=function(t,e){return function(n,l){var a=s(n)?r:o,c=e?e():{};return a(n,t,i(l,2),c)}}},84570:(t,e,n)=>{var r=n(55647),o=n(60929);t.exports=function(t){return r((function(e,n){var r=-1,i=n.length,s=i>1?n[i-1]:void 0,l=i>2?n[2]:void 0;for(s=t.length>3&&"function"==typeof s?(i--,s):void 0,l&&o(n[0],n[1],l)&&(s=i<3?void 0:s,i=1),e=Object(e);++r<i;){var a=n[r];a&&t(e,a,r,s)}return e}))}},76516:(t,e,n)=>{var r=n(6571);t.exports=function(t,e){return function(n,o){if(null==n)return n;if(!r(n))return t(n,o);for(var i=n.length,s=e?i:-1,l=Object(n);(e?s--:++s<i)&&!1!==o(l[s],s,l););return n}}},55906:t=>{t.exports=function(t){return function(e,n,r){for(var o=-1,i=Object(e),s=r(e),l=s.length;l--;){var a=s[t?l:++o];if(!1===n(i[a],a,i))break}return e}}},5654:(t,e,n)=>{var r=n(87937),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();t.exports=o},85990:(t,e,n)=>{var r=n(13028)(Object.getPrototypeOf,Object);t.exports=r},20310:(t,e,n)=>{var r=n(21817),o=n(85990),i=n(36140);t.exports=function(t){return"function"!=typeof t.constructor||i(t)?{}:r(o(t))}},77116:(t,e,n)=>{var r=n(9812),o=n(22777),i=n(54052),s=r?r.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(s&&t&&t[s])}},60929:(t,e,n)=>{var r=n(93211),o=n(6571),i=n(69194),s=n(46686);t.exports=function(t,e,n){if(!s(n))return!1;var l=typeof e;return!!("number"==l?o(n)&&i(e,n.length):"string"==l&&e in n)&&r(n[e],t)}},43516:t=>{t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},55636:(t,e,n)=>{var r=n(31170),o=Math.max;t.exports=function(t,e,n){return e=o(void 0===e?t.length-1:e,0),function(){for(var i=arguments,s=-1,l=o(i.length-e,0),a=Array(l);++s<l;)a[s]=i[e+s];s=-1;for(var c=Array(e+1);++s<e;)c[s]=i[s];return c[e]=n(a),r(t,this,c)}}},53737:t=>{t.exports=function(t,e){if(("constructor"!==e||"function"!==typeof t[e])&&"__proto__"!=e)return t[e]}},46350:(t,e,n)=>{var r=n(28325),o=n(86578)(r);t.exports=o},86578:t=>{var e=Date.now;t.exports=function(t){var n=0,r=0;return function(){var o=e(),i=16-(o-r);if(r=o,i>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}},22541:t=>{t.exports=function(t){return function(){return t}}},20819:(t,e,n)=>{var r=n(80755);t.exports=function(t){return(null==t?0:t.length)?r(t,1):[]}},39835:(t,e,n)=>{var r=n(71775),o=n(19449),i=Object.prototype.hasOwnProperty,s=o((function(t,e,n){i.call(t,n)?t[n].push(e):r(t,n,[e])}));t.exports=s},76272:(t,e,n)=>{var r=n(6571),o=n(22761);t.exports=function(t){return o(t)&&r(t)}},12322:(t,e,n)=>{var r=n(16913),o=n(85990),i=n(22761),s=Function.prototype,l=Object.prototype,a=s.toString,c=l.hasOwnProperty,u=a.call(Object);t.exports=function(t){if(!i(t)||"[object Object]"!=r(t))return!1;var e=o(t);if(null===e)return!0;var n=c.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&a.call(n)==u}},30474:(t,e,n)=>{var r=n(73204),o=n(58122),i=n(6571);t.exports=function(t){return i(t)?r(t,!0):o(t)}},34677:(t,e,n)=>{var r=n(23253),o=n(84570)((function(t,e,n){r(t,e,n)}));t.exports=o},9944:(t,e,n)=>{var r=n(12536),o=n(54052);t.exports=function(t,e,n,i){return null==t?[]:(o(e)||(e=null==e?[]:[e]),o(n=i?void 0:n)||(n=null==n?[]:[n]),r(t,e,n))}},91609:(t,e,n)=>{var r=n(96614),o=n(30474);t.exports=function(t){return r(t,o(t))}}}]);
2
+ //# sourceMappingURL=1932.710be74c.chunk.js.map