@stlite/desktop 0.24.0 → 0.26.0

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 (216) hide show
  1. package/bin/dump_artifacts.js +3 -3
  2. package/build/asset-manifest.json +150 -82
  3. package/build/index.html +1 -1
  4. package/build/static/css/3683.60b7ada4.chunk.css +1 -0
  5. package/build/static/css/4320.1edfa457.chunk.css +1 -0
  6. package/build/static/css/main.b43a24ba.css +1 -0
  7. package/build/static/js/1367.9dcea0bc.chunk.js +9 -0
  8. package/build/static/js/142.85e6074f.chunk.js +1 -0
  9. package/build/static/js/1579.10c95eae.chunk.js +1 -0
  10. package/build/static/js/1839.410079bf.chunk.js +1 -0
  11. package/build/static/js/2116.2e449b06.chunk.js +1 -0
  12. package/build/static/js/2458.cfb63c88.chunk.js +1 -0
  13. package/build/static/js/2523.7919ada5.chunk.js +5 -0
  14. package/build/static/js/2632.3ed5d578.chunk.js +1 -0
  15. package/build/static/js/277.fbace0b9.chunk.js +1 -0
  16. package/build/static/js/2909.783348bb.chunk.js +1 -0
  17. package/build/static/js/2961.e91b0c14.chunk.js +2 -0
  18. package/build/static/js/2961.e91b0c14.chunk.js.LICENSE.txt +45 -0
  19. package/build/static/js/3392.d73d4efc.chunk.js +1 -0
  20. package/build/static/js/3683.68da2452.chunk.js +1 -0
  21. package/build/static/js/3975.5538132d.chunk.js +1 -0
  22. package/build/static/js/3977.8a9ac9d7.chunk.js +1 -0
  23. package/build/static/js/4210.66c14600.chunk.js +1 -0
  24. package/build/static/js/4320.8fa60786.chunk.js +2 -0
  25. package/build/static/js/{7.e8b702b0.chunk.js.LICENSE.txt → 4320.8fa60786.chunk.js.LICENSE.txt} +2 -0
  26. package/build/static/js/4514.ff4d47b7.chunk.js +5 -0
  27. package/build/static/js/458.895bbb73.chunk.js +1 -0
  28. package/build/static/js/464.8a875fdd.chunk.js +1 -0
  29. package/build/static/js/4994.8f0118ec.chunk.js +1 -0
  30. package/build/static/js/5070.1d0d565e.chunk.js +1 -0
  31. package/build/static/js/5608.314b94e4.chunk.js +1 -0
  32. package/build/static/js/5678.b7f865a0.chunk.js +1 -0
  33. package/build/static/js/5752.d5d30939.chunk.js +1 -0
  34. package/build/static/js/5865.90a40692.chunk.js +17 -0
  35. package/build/static/js/6097.56c4b02a.chunk.js +1 -0
  36. package/build/static/js/6242.5e6f91ac.chunk.js +1 -0
  37. package/build/static/js/6391.6cdac98a.chunk.js +1 -0
  38. package/build/static/js/6422.f69a61a8.chunk.js +1 -0
  39. package/build/static/js/6449.702355ee.chunk.js +1 -0
  40. package/build/static/js/6668.8cb69721.chunk.js +2 -0
  41. package/build/static/js/{9.d99eed24.chunk.js.LICENSE.txt → 6668.8cb69721.chunk.js.LICENSE.txt} +0 -0
  42. package/build/static/js/6679.d28318d1.chunk.js +2 -0
  43. package/build/static/js/{18.b32ef4e7.chunk.js.LICENSE.txt → 6679.d28318d1.chunk.js.LICENSE.txt} +9 -9
  44. package/build/static/js/6865.b0803b6b.chunk.js +1 -0
  45. package/build/static/js/6928.228563da.chunk.js +2 -0
  46. package/build/static/js/{2.90589c59.chunk.js.LICENSE.txt → 6928.228563da.chunk.js.LICENSE.txt} +0 -0
  47. package/build/static/js/7135.57023452.chunk.js +1 -0
  48. package/build/static/js/7496.37614377.chunk.js +1 -0
  49. package/build/static/js/761.e16e6486.chunk.js +1 -0
  50. package/build/static/js/7698.095351a0.chunk.js +1 -0
  51. package/build/static/js/7842.a98fbb15.chunk.js +1 -0
  52. package/build/static/js/7858.fa281cb7.chunk.js +5 -0
  53. package/build/static/js/7937.a3bc5cdb.chunk.js +1 -0
  54. package/build/static/js/8355.7352ad1b.chunk.js +1 -0
  55. package/build/static/js/8461.87a9a578.chunk.js +1 -0
  56. package/build/static/js/8565.f27e3917.chunk.js +1 -0
  57. package/build/static/js/8910.e6dda87e.chunk.js +2 -0
  58. package/build/static/js/{15.b28e3a9f.chunk.js.LICENSE.txt → 8910.e6dda87e.chunk.js.LICENSE.txt} +0 -0
  59. package/build/static/js/91.f23bbeac.chunk.js +1 -0
  60. package/build/static/js/9462.6616e921.chunk.js +1 -0
  61. package/build/static/js/9551.e50bee9b.chunk.js +1 -0
  62. package/build/static/js/9733.aa290ea2.chunk.js +2 -0
  63. package/build/static/js/9733.aa290ea2.chunk.js.LICENSE.txt +10 -0
  64. package/build/static/js/9735.0e70600f.chunk.js +1 -0
  65. package/build/static/js/main.91a73418.js +28 -0
  66. package/build/static/js/{6.9c8c6dae.chunk.js.LICENSE.txt → main.91a73418.js.LICENSE.txt} +11 -66
  67. package/build/static/media/{KaTeX_AMS-Regular.73ea273a.woff2 → KaTeX_AMS-Regular.73ea273a72f4aca30ca5.woff2} +0 -0
  68. package/build/static/media/{KaTeX_AMS-Regular.853be924.ttf → KaTeX_AMS-Regular.853be92419a6c3766b9a.ttf} +0 -0
  69. package/build/static/media/{KaTeX_AMS-Regular.d562e886.woff → KaTeX_AMS-Regular.d562e886c52f12660a41.woff} +0 -0
  70. package/build/static/media/{KaTeX_Caligraphic-Bold.7489a2fb.ttf → KaTeX_Caligraphic-Bold.7489a2fbfb9bfe704420.ttf} +0 -0
  71. package/build/static/media/{KaTeX_Caligraphic-Bold.a1abf90d.woff2 → KaTeX_Caligraphic-Bold.a1abf90dfd72792a577a.woff2} +0 -0
  72. package/build/static/media/{KaTeX_Caligraphic-Bold.d757c535.woff → KaTeX_Caligraphic-Bold.d757c535a2e5902f1325.woff} +0 -0
  73. package/build/static/media/{KaTeX_Caligraphic-Regular.7e873d38.ttf → KaTeX_Caligraphic-Regular.7e873d3833eb108a0758.ttf} +0 -0
  74. package/build/static/media/{KaTeX_Caligraphic-Regular.d6484fce.woff2 → KaTeX_Caligraphic-Regular.d6484fce1ef428d5bd94.woff2} +0 -0
  75. package/build/static/media/{KaTeX_Caligraphic-Regular.db074fa2.woff → KaTeX_Caligraphic-Regular.db074fa22cf224af93d7.woff} +0 -0
  76. package/build/static/media/{KaTeX_Fraktur-Bold.354501ba.woff → KaTeX_Fraktur-Bold.354501bac435c3264834.woff} +0 -0
  77. package/build/static/media/{KaTeX_Fraktur-Bold.4c761b37.ttf → KaTeX_Fraktur-Bold.4c761b3711973ab04edf.ttf} +0 -0
  78. package/build/static/media/{KaTeX_Fraktur-Bold.931d67ea.woff2 → KaTeX_Fraktur-Bold.931d67ea207ab37ee693.woff2} +0 -0
  79. package/build/static/media/{KaTeX_Fraktur-Regular.172d3529.woff2 → KaTeX_Fraktur-Regular.172d3529b26f8cedef6b.woff2} +0 -0
  80. package/build/static/media/{KaTeX_Fraktur-Regular.6fdf0ac5.woff → KaTeX_Fraktur-Regular.6fdf0ac577be0ba82a4c.woff} +0 -0
  81. package/build/static/media/{KaTeX_Fraktur-Regular.ed305b54.ttf → KaTeX_Fraktur-Regular.ed305b5434865e06ffde.ttf} +0 -0
  82. package/build/static/media/{KaTeX_Main-Bold.0c3b8929.woff → KaTeX_Main-Bold.0c3b8929d377c0e9b2f3.woff} +0 -0
  83. package/build/static/media/{KaTeX_Main-Bold.39890742.woff2 → KaTeX_Main-Bold.39890742bc957b368704.woff2} +0 -0
  84. package/build/static/media/{KaTeX_Main-Bold.8169508b.ttf → KaTeX_Main-Bold.8169508bf58f8bd92ad8.ttf} +0 -0
  85. package/build/static/media/{KaTeX_Main-BoldItalic.20f389c4.woff2 → KaTeX_Main-BoldItalic.20f389c4120be058d80a.woff2} +0 -0
  86. package/build/static/media/{KaTeX_Main-BoldItalic.428978dc.woff → KaTeX_Main-BoldItalic.428978dc7837d46de091.woff} +0 -0
  87. package/build/static/media/{KaTeX_Main-BoldItalic.828abcb2.ttf → KaTeX_Main-BoldItalic.828abcb200061cffbaae.ttf} +0 -0
  88. package/build/static/media/{KaTeX_Main-Italic.fa675e5e.ttf → KaTeX_Main-Italic.fa675e5e4bec9eb250b6.ttf} +0 -0
  89. package/build/static/media/{KaTeX_Main-Italic.fd947498.woff → KaTeX_Main-Italic.fd947498bc16392e76c2.woff} +0 -0
  90. package/build/static/media/{KaTeX_Main-Italic.fe2176f7.woff2 → KaTeX_Main-Italic.fe2176f79edaa716e621.woff2} +0 -0
  91. package/build/static/media/{KaTeX_Main-Regular.4f35fbcc.woff → KaTeX_Main-Regular.4f35fbcc9ee8614c2bcc.woff} +0 -0
  92. package/build/static/media/{KaTeX_Main-Regular.9eba1d77.ttf → KaTeX_Main-Regular.9eba1d77abcf2aa6e94e.ttf} +0 -0
  93. package/build/static/media/{KaTeX_Main-Regular.f650f111.woff2 → KaTeX_Main-Regular.f650f111a3b890d116f1.woff2} +0 -0
  94. package/build/static/media/{KaTeX_Math-BoldItalic.3f07ed67.woff → KaTeX_Math-BoldItalic.3f07ed67f06c720120ce.woff} +0 -0
  95. package/build/static/media/{KaTeX_Math-BoldItalic.bf2d440b.ttf → KaTeX_Math-BoldItalic.bf2d440b3a42ea78a998.ttf} +0 -0
  96. package/build/static/media/{KaTeX_Math-BoldItalic.dcbcbd93.woff2 → KaTeX_Math-BoldItalic.dcbcbd93bac0470b462d.woff2} +0 -0
  97. package/build/static/media/{KaTeX_Math-Italic.6d3d25f4.woff2 → KaTeX_Math-Italic.6d3d25f4820d0da8f01f.woff2} +0 -0
  98. package/build/static/media/{KaTeX_Math-Italic.8a5f9363.ttf → KaTeX_Math-Italic.8a5f936332e8028c7278.ttf} +0 -0
  99. package/build/static/media/{KaTeX_Math-Italic.96759856.woff → KaTeX_Math-Italic.96759856b4e70f3a8338.woff} +0 -0
  100. package/build/static/media/{KaTeX_SansSerif-Bold.5b49f499.ttf → KaTeX_SansSerif-Bold.5b49f4993ae22d7975b4.ttf} +0 -0
  101. package/build/static/media/{KaTeX_SansSerif-Bold.95591a92.woff2 → KaTeX_SansSerif-Bold.95591a929f0d32aa282a.woff2} +0 -0
  102. package/build/static/media/{KaTeX_SansSerif-Bold.b9cd458a.woff → KaTeX_SansSerif-Bold.b9cd458ac6d5889ff9c3.woff} +0 -0
  103. package/build/static/media/{KaTeX_SansSerif-Italic.7d393d38.woff2 → KaTeX_SansSerif-Italic.7d393d382f3e7fb1c637.woff2} +0 -0
  104. package/build/static/media/{KaTeX_SansSerif-Italic.8d593cfa.woff → KaTeX_SansSerif-Italic.8d593cfaa96238d5e2f8.woff} +0 -0
  105. package/build/static/media/{KaTeX_SansSerif-Italic.b257a18c.ttf → KaTeX_SansSerif-Italic.b257a18c016f37ee4543.ttf} +0 -0
  106. package/build/static/media/{KaTeX_SansSerif-Regular.02271ec5.woff → KaTeX_SansSerif-Regular.02271ec5cb9f5b4588ac.woff} +0 -0
  107. package/build/static/media/{KaTeX_SansSerif-Regular.2f7bc363.ttf → KaTeX_SansSerif-Regular.2f7bc363fc5424ebda59.ttf} +0 -0
  108. package/build/static/media/{KaTeX_SansSerif-Regular.cd5e231e.woff2 → KaTeX_SansSerif-Regular.cd5e231e0cc53b2cb2c0.woff2} +0 -0
  109. package/build/static/media/{KaTeX_Script-Regular.073b3402.woff → KaTeX_Script-Regular.073b3402d036714b4370.woff} +0 -0
  110. package/build/static/media/{KaTeX_Script-Regular.c81d1b2a.woff2 → KaTeX_Script-Regular.c81d1b2a4b75d3eded60.woff2} +0 -0
  111. package/build/static/media/{KaTeX_Script-Regular.fc9ba524.ttf → KaTeX_Script-Regular.fc9ba5249878cd8f8d88.ttf} +0 -0
  112. package/build/static/media/{KaTeX_Size1-Regular.0108e89c.woff → KaTeX_Size1-Regular.0108e89c9003e8c14ea3.woff} +0 -0
  113. package/build/static/media/{KaTeX_Size1-Regular.6de7d4b5.ttf → KaTeX_Size1-Regular.6de7d4b539221a49e9e2.ttf} +0 -0
  114. package/build/static/media/{KaTeX_Size1-Regular.6eec866c.woff2 → KaTeX_Size1-Regular.6eec866c69313624be60.woff2} +0 -0
  115. package/build/static/media/{KaTeX_Size2-Regular.2960900c.woff2 → KaTeX_Size2-Regular.2960900c4f271311eb36.woff2} +0 -0
  116. package/build/static/media/{KaTeX_Size2-Regular.3a99e70a.woff → KaTeX_Size2-Regular.3a99e70aee4076660d38.woff} +0 -0
  117. package/build/static/media/{KaTeX_Size2-Regular.57f5c183.ttf → KaTeX_Size2-Regular.57f5c1837853986ea1db.ttf} +0 -0
  118. package/build/static/media/{KaTeX_Size3-Regular.7947224e.woff → KaTeX_Size3-Regular.7947224e8a9914fa332b.woff} +0 -0
  119. package/build/static/media/{KaTeX_Size3-Regular.8d6b6822.ttf → KaTeX_Size3-Regular.8d6b6822586eea3d3b20.ttf} +0 -0
  120. package/build/static/media/{KaTeX_Size3-Regular.e1951519.woff2 → KaTeX_Size3-Regular.e1951519f6f0596f7356.woff2} +0 -0
  121. package/build/static/media/{KaTeX_Size4-Regular.4ad7c7e8.ttf → KaTeX_Size4-Regular.4ad7c7e8bb8d10a34bb7.ttf} +0 -0
  122. package/build/static/media/{KaTeX_Size4-Regular.aeffd802.woff → KaTeX_Size4-Regular.aeffd8025cba3647f1a6.woff} +0 -0
  123. package/build/static/media/{KaTeX_Size4-Regular.e418bf25.woff2 → KaTeX_Size4-Regular.e418bf257af1052628d8.woff2} +0 -0
  124. package/build/static/media/{KaTeX_Typewriter-Regular.4c6b94fd.woff → KaTeX_Typewriter-Regular.4c6b94fd1d07f8beff7c.woff} +0 -0
  125. package/build/static/media/{KaTeX_Typewriter-Regular.c295e7f7.woff2 → KaTeX_Typewriter-Regular.c295e7f71970f03c0549.woff2} +0 -0
  126. package/build/static/media/{KaTeX_Typewriter-Regular.c5c02d76.ttf → KaTeX_Typewriter-Regular.c5c02d763c89380dcb4e.ttf} +0 -0
  127. package/build/static/media/{SourceCodePro-Bold.52ac8f30.ttf → SourceCodePro-Bold.52ac8f3034507f1d9e53.ttf} +0 -0
  128. package/build/static/media/{SourceCodePro-BoldItalic.05b61807.ttf → SourceCodePro-BoldItalic.05b618077343fbbd92b7.ttf} +0 -0
  129. package/build/static/media/{SourceCodePro-Italic.454577c2.ttf → SourceCodePro-Italic.454577c22304619db035.ttf} +0 -0
  130. package/build/static/media/{SourceCodePro-Regular.70cc7ff2.ttf → SourceCodePro-Regular.70cc7ff27245e82ad414.ttf} +0 -0
  131. package/build/static/media/{SourceCodePro-SemiBold.4d4c53c0.ttf → SourceCodePro-SemiBold.4d4c53c06b5bebed1cf3.ttf} +0 -0
  132. package/build/static/media/{SourceCodePro-SemiBoldItalic.2f5470bc.ttf → SourceCodePro-SemiBoldItalic.2f5470bc8b2cd27a5c4b.ttf} +0 -0
  133. package/build/static/media/{SourceSansPro-Bold.12e6acd2.ttf → SourceSansPro-Bold.12e6acd2589d00c9d0aa.ttf} +0 -0
  134. package/build/static/media/{SourceSansPro-BoldItalic.7c4f9b00.ttf → SourceSansPro-BoldItalic.7c4f9b00300acb82f0f6.ttf} +0 -0
  135. package/build/static/media/{SourceSansPro-Italic.3c01996d.ttf → SourceSansPro-Italic.3c01996d38a55834ddcb.ttf} +0 -0
  136. package/build/static/media/{SourceSansPro-Regular.efa76f83.ttf → SourceSansPro-Regular.efa76f8326aa5cee3bdd.ttf} +0 -0
  137. package/build/static/media/{SourceSansPro-SemiBold.43cc81b4.ttf → SourceSansPro-SemiBold.43cc81b496222dc9ce3c.ttf} +0 -0
  138. package/build/static/media/{SourceSansPro-SemiBoldItalic.c30987e2.ttf → SourceSansPro-SemiBoldItalic.c30987e28fc21daba1ae.ttf} +0 -0
  139. package/build/static/media/{SourceSerifPro-Bold.bada4fe1.ttf → SourceSerifPro-Bold.bada4fe17051c992f22f.ttf} +0 -0
  140. package/build/static/media/{SourceSerifPro-BoldItalic.9f9b1eb2.ttf → SourceSerifPro-BoldItalic.9f9b1eb2d82e26bb2f4a.ttf} +0 -0
  141. package/build/static/media/{SourceSerifPro-Italic.90931d6a.ttf → SourceSerifPro-Italic.90931d6ad253cd8de8e4.ttf} +0 -0
  142. package/build/static/media/{SourceSerifPro-Regular.6f22301c.ttf → SourceSerifPro-Regular.6f22301c30206f4bad62.ttf} +0 -0
  143. package/build/static/media/{SourceSerifPro-SemiBold.b27cb117.ttf → SourceSerifPro-SemiBold.b27cb117978bab2c80a3.ttf} +0 -0
  144. package/build/static/media/{SourceSerifPro-SemiBoldItalic.1266f2c1.ttf → SourceSerifPro-SemiBoldItalic.1266f2c17835efdcff7b.ttf} +0 -0
  145. package/build/static/media/{balloon-0.0e6e96ec.png → balloon-0.0e6e96ece0ea0719d6b6.png} +0 -0
  146. package/build/static/media/{balloon-1.a503c271.png → balloon-1.a503c271109e9a0fdd2d.png} +0 -0
  147. package/build/static/media/{balloon-2.872250f3.png → balloon-2.872250f3bf3a8965d655.png} +0 -0
  148. package/build/static/media/{balloon-3.e772fafd.png → balloon-3.e772fafd3bfc55fb439b.png} +0 -0
  149. package/build/static/media/{balloon-4.1a741624.png → balloon-4.1a74162473d81c9cb9ee.png} +0 -0
  150. package/build/static/media/{balloon-5.edb75c74.png → balloon-5.edb75c74c54165b29856.png} +0 -0
  151. package/build/static/media/{fireworks.0906f02e.gif → fireworks.0906f02ea43f1018a6d2.gif} +0 -0
  152. package/build/static/media/{flake-0.beded754.png → flake-0.beded754e8024c73d9d2.png} +0 -0
  153. package/build/static/media/{flake-1.8077dc15.png → flake-1.8077dc154e0bf900aa73.png} +0 -0
  154. package/build/static/media/{flake-2.e3f07d06.png → flake-2.e3f07d06933dd0e84c24.png} +0 -0
  155. package/build/static/media/{icon_running.de1119da.gif → icon_running.de1119daebe465fa5263.gif} +0 -0
  156. package/build/static/media/index.09797f5e19b3c0491904.cjs +1 -0
  157. package/build/static/media/index.1e3d64b0fcde879f0060.cjs +1 -0
  158. package/build/static/media/index.294a0edb7af7d19b781b.cjs +1 -0
  159. package/build/static/media/index.85823dd8655ed4119d0c.cjs +1 -0
  160. package/build/static/media/index.b599194a631d76b49328.cjs +1 -0
  161. package/package.json +12 -11
  162. package/build/static/css/6.69790b96.chunk.css +0 -1
  163. package/build/static/css/7.3d0f8b8b.chunk.css +0 -1
  164. package/build/static/css/9.f71f4f0d.chunk.css +0 -1
  165. package/build/static/css/main.7bc75681.chunk.css +0 -1
  166. package/build/static/js/0.1470a040.chunk.js +0 -1
  167. package/build/static/js/1.75536554.chunk.js +0 -1
  168. package/build/static/js/10.e9d08ce6.chunk.js +0 -1
  169. package/build/static/js/11.245d6c33.chunk.js +0 -9
  170. package/build/static/js/12.a31ecc8c.chunk.js +0 -17
  171. package/build/static/js/13.6a2e32ae.chunk.js +0 -1
  172. package/build/static/js/14.1655f4db.chunk.js +0 -1
  173. package/build/static/js/15.b28e3a9f.chunk.js +0 -2
  174. package/build/static/js/16.4002de21.chunk.js +0 -1
  175. package/build/static/js/17.f01379ea.chunk.js +0 -1
  176. package/build/static/js/18.b32ef4e7.chunk.js +0 -2
  177. package/build/static/js/19.757ce6cd.chunk.js +0 -1
  178. package/build/static/js/2.90589c59.chunk.js +0 -2
  179. package/build/static/js/20.06333e7b.chunk.js +0 -1
  180. package/build/static/js/21.3fab05ae.chunk.js +0 -5
  181. package/build/static/js/22.a1775ac4.chunk.js +0 -1
  182. package/build/static/js/23.fd21f92a.chunk.js +0 -1
  183. package/build/static/js/24.50f424ba.chunk.js +0 -5
  184. package/build/static/js/25.3855f89c.chunk.js +0 -1
  185. package/build/static/js/26.5f51a172.chunk.js +0 -1
  186. package/build/static/js/27.f075da8f.chunk.js +0 -1
  187. package/build/static/js/28.e76203d9.chunk.js +0 -5
  188. package/build/static/js/29.12291bff.chunk.js +0 -1
  189. package/build/static/js/3.8dacc9e7.chunk.js +0 -1
  190. package/build/static/js/30.9780f1e6.chunk.js +0 -1
  191. package/build/static/js/31.622e28f6.chunk.js +0 -1
  192. package/build/static/js/32.44bddfd2.chunk.js +0 -1
  193. package/build/static/js/33.e3480cb9.chunk.js +0 -1
  194. package/build/static/js/34.4e913e44.chunk.js +0 -1
  195. package/build/static/js/35.d8c3a90e.chunk.js +0 -1
  196. package/build/static/js/36.d7336b9b.chunk.js +0 -1
  197. package/build/static/js/37.b06f1532.chunk.js +0 -1
  198. package/build/static/js/38.2303d913.chunk.js +0 -1
  199. package/build/static/js/39.9cb4bae4.chunk.js +0 -1
  200. package/build/static/js/40.b8f90b9a.chunk.js +0 -1
  201. package/build/static/js/41.bb169dbf.chunk.js +0 -1
  202. package/build/static/js/42.e8639ee2.chunk.js +0 -1
  203. package/build/static/js/43.b5e07f4c.chunk.js +0 -1
  204. package/build/static/js/44.0206e0dc.chunk.js +0 -1
  205. package/build/static/js/45.db4595ee.chunk.js +0 -1
  206. package/build/static/js/46.f534e5a2.chunk.js +0 -1
  207. package/build/static/js/47.89ae0b12.chunk.js +0 -1
  208. package/build/static/js/48.86b245a1.chunk.js +0 -1
  209. package/build/static/js/49.1db19a37.chunk.js +0 -1
  210. package/build/static/js/6.9c8c6dae.chunk.js +0 -2
  211. package/build/static/js/7.e8b702b0.chunk.js +0 -2
  212. package/build/static/js/8.348fb43a.chunk.js +0 -2
  213. package/build/static/js/8.348fb43a.chunk.js.LICENSE.txt +0 -1
  214. package/build/static/js/9.d99eed24.chunk.js +0 -2
  215. package/build/static/js/main.31e91b88.chunk.js +0 -27
  216. package/build/static/js/runtime-main.e5a1f36a.js +0 -1
@@ -1 +0,0 @@
1
- (this["webpackJsonp@stlite/desktop"]=this["webpackJsonp@stlite/desktop"]||[]).push([[20],{1456:function(t,e){},1457:function(t,e){},1609:function(t,e){},1769:function(t,e,h){"use strict";h.r(e),h.d(e,"default",(function(){return g}));var i=h(0),c=h(1666),n=h(1607),a=h(19),r=h(200),o=h(4);const s=Object(o.a)("div",{target:"e1p558ko0"})((({theme:t})=>({"& *":{fontFamily:t.genericFonts.bodyFont,fontSize:"9.6px"},"& svg":{maxWidth:"100%"}})),"");var d=h(1);n.graphviz;var g=Object(r.a)((function({width:t,element:e,height:h}){const n=`graphviz-chart-${e.elementId}`;let r=0,o=0;const g=()=>{let i=o,c=r;return h?(i=t,c=h):e.useContainerWidth&&(i=t),{chartWidth:i,chartHeight:c}},p=()=>{try{const t=Object(c.a)(`#${n}`).graphviz().zoom(!1).fit(!0).scale(1).renderDot(e.spec).on("end",(()=>{const t=Object(c.a)(`#${n} > svg`).node();t&&(r=t.getBBox().height,o=t.getBBox().width)})),{chartHeight:h,chartWidth:i}=g();h>0&&t.height(h),i>0&&t.width(i)}catch(t){Object(a.b)(t)}};Object(i.useEffect)((()=>{p()}));const u=g(),f=u.chartWidth?u.chartWidth:t,b=u.chartHeight?u.chartHeight:h;return Object(d.jsx)(s,{className:"graphviz stGraphVizChart",id:n,style:{width:f,height:b}})}))}}]);
@@ -1,5 +0,0 @@
1
- (this["webpackJsonp@stlite/desktop"]=this["webpackJsonp@stlite/desktop"]||[]).push([[21],{1294:function(e,t,r){"use strict";r(0);var n=r(29),i=r(117),o=r(4);const s=r(38).c`
2
- 50% {
3
- color: rgba(0, 0, 0, 0);
4
- }
5
- `,a=Object(o.a)("span",{target:"e1m4n6jn0"})((({includeDot:e,shouldBlink:t,theme:r})=>({...e?{"&::before":{opacity:1,content:'"\u2022"',animation:"none",color:r.colors.gray,margin:"0 5px"}}:{},...t?{color:r.colors.red,animationName:`${s}`,animationDuration:"0.5s",animationIterationCount:5}:{}})),"");var c=r(1);t.a=({dirty:e,value:t,maxLength:r,className:o,type:s="single"})=>{const l=[],u=(e,t=!1)=>{l.push(Object(c.jsx)(a,{includeDot:l.length>0,shouldBlink:t,children:e},l.length))};return e&&("multiline"===s?Object(n.f)()?u("Press \u2318+Enter to apply"):u("Press Ctrl+Enter to apply"):u("Press Enter to apply")),r&&u(`${t.length}/${r}`,e&&t.length>=r),Object(c.jsx)(i.a,{className:o,children:l})}},1375:function(e,t,r){"use strict";var n=r(0),i=r(11),o=r(1319),s=r(1381),a=r(1268),c=r(45);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var u=["Root","StartEnhancer","EndEnhancer"],p=["startEnhancer","endEnhancer","overrides"];function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],s=!0,a=!1;try{for(r=r.call(e);!(s=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);s=!0);}catch(c){a=!0,i=c}finally{try{s||null==r.return||r.return()}finally{if(a)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function m(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g(e,t){return(g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function v(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=x(e);if(t){var i=x(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return w(this,r)}}function w(e,t){if(t&&("object"===l(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return j(e)}function j(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var S=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}(w,e);var t,r,l,f=v(w);function w(){var e;b(this,w);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return O(j(e=f.call.apply(f,[this].concat(r))),"state",{isFocused:e.props.autoFocus||!1}),O(j(e),"onFocus",(function(t){e.setState({isFocused:!0}),e.props.onFocus(t)})),O(j(e),"onBlur",(function(t){e.setState({isFocused:!1}),e.props.onBlur(t)})),e}return t=w,(r=[{key:"render",value:function(){var e=this.props,t=e.startEnhancer,r=e.endEnhancer,l=e.overrides,f=l.Root,b=l.StartEnhancer,y=l.EndEnhancer,g=m(l,u),v=m(e,p),w=h(Object(i.c)(f,a.d),2),j=w[0],x=w[1],O=h(Object(i.c)(b,a.c),2),S=O[0],E=O[1],F=h(Object(i.c)(y,a.c),2),I=F[0],R=F[1],_=Object(o.a)(this.props,this.state);return n.createElement(j,d({"data-baseweb":"input"},_,x,{$adjoined:k(t,r),$hasIconTrailing:this.props.clearable||"password"==this.props.type}),V(t)&&n.createElement(S,d({},_,E,{$position:c.c.start}),"function"===typeof t?t(_):t),n.createElement(s.a,d({},v,{overrides:g,adjoined:k(t,r),onFocus:this.onFocus,onBlur:this.onBlur})),V(r)&&n.createElement(I,d({},_,R,{$position:c.c.end}),"function"===typeof r?r(_):r))}}])&&y(t.prototype,r),l&&y(t,l),Object.defineProperty(t,"prototype",{writable:!1}),w}(n.Component);function k(e,t){return V(e)&&V(t)?c.a.both:V(e)?c.a.left:V(t)?c.a.right:c.a.none}function V(e){return Boolean(e||0===e)}O(S,"defaultProps",{autoComplete:"on",autoFocus:!1,disabled:!1,name:"",onBlur:function(){},onFocus:function(){},overrides:{},required:!1,size:c.d.default,startEnhancer:null,endEnhancer:null,clearable:!1,type:"text",readOnly:!1}),t.a=S},1376:function(e,t,r){var n;!function(){"use strict";var i={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function o(e){return a(l(e),arguments)}function s(e,t){return o.apply(null,[e].concat(t||[]))}function a(e,t){var r,n,s,a,c,l,u,p,d,h=1,f=e.length,m="";for(n=0;n<f;n++)if("string"===typeof e[n])m+=e[n];else if("object"===typeof e[n]){if((a=e[n]).keys)for(r=t[h],s=0;s<a.keys.length;s++){if(void 0==r)throw new Error(o('[sprintf] Cannot access property "%s" of undefined value "%s"',a.keys[s],a.keys[s-1]));r=r[a.keys[s]]}else r=a.param_no?t[a.param_no]:t[h++];if(i.not_type.test(a.type)&&i.not_primitive.test(a.type)&&r instanceof Function&&(r=r()),i.numeric_arg.test(a.type)&&"number"!==typeof r&&isNaN(r))throw new TypeError(o("[sprintf] expecting number but found %T",r));switch(i.number.test(a.type)&&(p=r>=0),a.type){case"b":r=parseInt(r,10).toString(2);break;case"c":r=String.fromCharCode(parseInt(r,10));break;case"d":case"i":r=parseInt(r,10);break;case"j":r=JSON.stringify(r,null,a.width?parseInt(a.width):0);break;case"e":r=a.precision?parseFloat(r).toExponential(a.precision):parseFloat(r).toExponential();break;case"f":r=a.precision?parseFloat(r).toFixed(a.precision):parseFloat(r);break;case"g":r=a.precision?String(Number(r.toPrecision(a.precision))):parseFloat(r);break;case"o":r=(parseInt(r,10)>>>0).toString(8);break;case"s":r=String(r),r=a.precision?r.substring(0,a.precision):r;break;case"t":r=String(!!r),r=a.precision?r.substring(0,a.precision):r;break;case"T":r=Object.prototype.toString.call(r).slice(8,-1).toLowerCase(),r=a.precision?r.substring(0,a.precision):r;break;case"u":r=parseInt(r,10)>>>0;break;case"v":r=r.valueOf(),r=a.precision?r.substring(0,a.precision):r;break;case"x":r=(parseInt(r,10)>>>0).toString(16);break;case"X":r=(parseInt(r,10)>>>0).toString(16).toUpperCase()}i.json.test(a.type)?m+=r:(!i.number.test(a.type)||p&&!a.sign?d="":(d=p?"+":"-",r=r.toString().replace(i.sign,"")),l=a.pad_char?"0"===a.pad_char?"0":a.pad_char.charAt(1):" ",u=a.width-(d+r).length,c=a.width&&u>0?l.repeat(u):"",m+=a.align?d+r+c:"0"===l?d+c+r:c+d+r)}return m}var c=Object.create(null);function l(e){if(c[e])return c[e];for(var t,r=e,n=[],o=0;r;){if(null!==(t=i.text.exec(r)))n.push(t[0]);else if(null!==(t=i.modulo.exec(r)))n.push("%");else{if(null===(t=i.placeholder.exec(r)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){o|=1;var s=[],a=t[2],l=[];if(null===(l=i.key.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(s.push(l[1]);""!==(a=a.substring(l[0].length));)if(null!==(l=i.key_access.exec(a)))s.push(l[1]);else{if(null===(l=i.index_access.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");s.push(l[1])}t[2]=s}else o|=2;if(3===o)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");n.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}r=r.substring(t[0].length)}return c[e]=n}t.sprintf=o,t.vsprintf=s,"undefined"!==typeof window&&(window.sprintf=o,window.vsprintf=s,void 0===(n=function(){return{sprintf:o,vsprintf:s}}.call(t,r,t,e))||(e.exports=n))}()},1764:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return F}));var n=r(0),i=r.n(n),o=r(84),s=r.n(o),a=r(39),c=n.forwardRef((function(e,t){return n.createElement(a.a,s()({iconAttrs:{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},iconVerticalAlign:"middle",iconViewBox:"0 0 8 8"},e,{ref:t}),n.createElement("path",{d:"M0 3v2h8V3H0z"}))}));c.displayName="Minus";var l=n.forwardRef((function(e,t){return n.createElement(a.a,s()({iconAttrs:{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},iconVerticalAlign:"middle",iconViewBox:"0 0 8 8"},e,{ref:t}),n.createElement("path",{d:"M3 0v3H0v2h3v3h2V5h3V3H5V0H3z"}))}));l.displayName="Plus";var u=r(1376),p=r(199),d=r(19),h=r(15),f=r(118),m=r(52),b=r(43),y=r(1375),g=r(1294),v=r(117),w=r(29),j=r(4);const x=Object(j.a)("div",{target:"e1jwn65y3"})((({theme:e})=>({display:"flex",flexDirection:"row",flexWrap:"nowrap",alignItems:"center",border:"1px solid transparent",transitionDuration:"200ms",transitionProperty:"border",transitionTimingFunction:"cubic-bezier(0.2, 0.8, 0.4, 1)",borderRadius:e.radii.md,"&.focused":{borderColor:e.colors.primary},input:{MozAppearance:"textfield","&::-webkit-inner-spin-button, &::-webkit-outer-spin-button":{WebkitAppearance:"none",margin:e.spacing.none}}})),""),O=Object(j.a)("div",{target:"e1jwn65y2"})({name:"76z9jo",styles:"display:flex;flex-direction:row;align-self:stretch"}),S=Object(j.a)("button",{target:"e1jwn65y1"})((({theme:e})=>({margin:e.spacing.none,border:"none",height:e.sizes.full,display:"flex",alignItems:"center",width:"32px",justifyContent:"center",color:e.colors.bodyText,transition:"color 300ms, backgroundColor 300ms",backgroundColor:e.colors.secondaryBg,"&:hover:enabled, &:focus:enabled":{color:e.colors.white,backgroundColor:e.colors.primary,transition:"none",outline:"none"},"&:active":{outline:"none",border:"none"},"&:last-of-type":{borderTopRightRadius:e.radii.md,borderBottomRightRadius:e.radii.md},"&:disabled":{cursor:"not-allowed",color:e.colors.fadedText40}})),""),k=Object(j.a)("div",{target:"e1jwn65y0"})((({theme:e})=>({position:"absolute",marginRight:e.spacing.twoXS,left:0,right:"64px"})),"");var V=r(1);class E extends i.a.PureComponent{constructor(e){super(e),this.formClearHelper=new p.b,this.inputRef=i.a.createRef(),this.formatValue=e=>{const t=function(e){return null==e||""===e?void 0:e}(this.props.element.format);if(null==t)return e.toString();try{return Object(u.sprintf)(t,e)}catch(r){return Object(d.d)(`Error in sprintf(${t}, ${e}): ${r}`),String(e)}},this.isIntData=()=>this.props.element.dataType===h.p.DataType.INT,this.getMin=()=>this.props.element.hasMin?this.props.element.min:-1/0,this.getMax=()=>this.props.element.hasMax?this.props.element.max:1/0,this.getStep=()=>{const{step:e}=this.props.element;return e||(this.isIntData()?1:.01)},this.commitWidgetValue=e=>{const{value:t}=this.state,{element:r,widgetMgr:n}=this.props,i=this.props.element,o=this.getMin(),s=this.getMax();if(o>t||t>s){const e=this.inputRef.current;e&&e.reportValidity()}else{const o=t||0===t?t:i.default;this.isIntData()?n.setIntValue(r,o,e):n.setDoubleValue(r,o,e),this.setState({dirty:!1,value:o,formattedValue:this.formatValue(o)})}},this.onFormCleared=()=>{this.setState(((e,t)=>({value:t.element.default})),(()=>this.commitWidgetValue({fromUi:!0})))},this.onBlur=()=>{this.state.dirty&&this.commitWidgetValue({fromUi:!0}),this.setState({isFocused:!1})},this.onFocus=()=>{this.setState({isFocused:!0})},this.onChange=e=>{const{value:t}=e.target;let r;r=this.isIntData()?parseInt(t,10):parseFloat(t),this.setState({dirty:!0,value:r,formattedValue:t})},this.onKeyDown=e=>{const{key:t}=e;switch(t){case"ArrowUp":e.preventDefault(),this.modifyValueUsingStep("increment")();break;case"ArrowDown":e.preventDefault(),this.modifyValueUsingStep("decrement")()}},this.onKeyPress=e=>{"Enter"===e.key&&this.state.dirty&&this.commitWidgetValue({fromUi:!0})},this.modifyValueUsingStep=e=>()=>{const{value:t}=this.state,r=this.getStep();switch(e){case"increment":this.canIncrement&&this.setState({dirty:!0,value:t+r},(()=>{this.commitWidgetValue({fromUi:!0})}));break;case"decrement":this.canDecrement&&this.setState({dirty:!0,value:t-r},(()=>{this.commitWidgetValue({fromUi:!0})}))}},this.state={dirty:!1,value:this.initialValue,formattedValue:this.formatValue(this.initialValue),isFocused:!1}}get initialValue(){const e=this.isIntData()?this.props.widgetMgr.getIntValue(this.props.element):this.props.widgetMgr.getDoubleValue(this.props.element);return void 0!==e?e:this.props.element.default}componentDidMount(){this.props.element.setValue?this.updateFromProtobuf():this.commitWidgetValue({fromUi:!1})}componentDidUpdate(){this.maybeUpdateFromProtobuf()}componentWillUnmount(){this.formClearHelper.disconnect()}maybeUpdateFromProtobuf(){const{setValue:e}=this.props.element;e&&this.updateFromProtobuf()}updateFromProtobuf(){const{value:e}=this.props.element;this.props.element.setValue=!1,this.setState({value:e,formattedValue:this.formatValue(e)},(()=>{this.commitWidgetValue({fromUi:!1})}))}get canDecrement(){return this.state.value-this.getStep()>=this.getMin()}get canIncrement(){return this.state.value+this.getStep()<=this.getMax()}render(){var e;const{element:t,width:r,disabled:n,widgetMgr:i}=this.props,{formattedValue:o,dirty:s,isFocused:a}=this.state,u={width:r},p=!this.canDecrement||n,d=!this.canIncrement||n;return this.formClearHelper.manageFormClearListener(i,t.formId,this.onFormCleared),Object(V.jsxs)("div",{className:"stNumberInput",style:u,children:[Object(V.jsx)(v.d,{label:t.label,disabled:n,labelVisibility:Object(w.k)(null===(e=t.labelVisibility)||void 0===e?void 0:e.value),children:t.help&&Object(V.jsx)(v.b,{children:Object(V.jsx)(f.a,{content:t.help,placement:m.b.TOP_RIGHT})})}),Object(V.jsxs)(x,{className:a?"focused":"",children:[Object(V.jsx)(y.a,{type:"number",inputRef:this.inputRef,value:o,onBlur:this.onBlur,onFocus:this.onFocus,onChange:this.onChange,onKeyPress:this.onKeyPress,onKeyDown:this.onKeyDown,disabled:n,"aria-label":t.label,overrides:{Input:{props:{step:this.getStep(),min:this.getMin(),max:this.getMax()},style:{lineHeight:"1.4",paddingRight:".5rem",paddingLeft:".5rem",paddingBottom:".5rem",paddingTop:".5rem"}},InputContainer:{style:()=>({borderTopRightRadius:0,borderBottomRightRadius:0})},Root:{style:()=>({borderTopRightRadius:0,borderBottomRightRadius:0,borderLeftWidth:0,borderRightWidth:0,borderTopWidth:0,borderBottomWidth:0})}}}),Object(V.jsxs)(O,{children:[Object(V.jsx)(S,{className:"step-down",onClick:this.modifyValueUsingStep("decrement"),disabled:p,children:Object(V.jsx)(b.b,{content:c,size:"xs",color:this.canDecrement?"inherit":"disabled"})}),Object(V.jsx)(S,{className:"step-up",onClick:this.modifyValueUsingStep("increment"),disabled:d,children:Object(V.jsx)(b.b,{content:l,size:"xs",color:this.canIncrement?"inherit":"disabled"})})]})]}),Object(V.jsx)(k,{children:Object(V.jsx)(g.a,{dirty:s,value:o,className:"input-instructions"})})]})}}var F=E}}]);
@@ -1 +0,0 @@
1
- (this["webpackJsonp@stlite/desktop"]=this["webpackJsonp@stlite/desktop"]||[]).push([[22],{1471:function(e,t,r){"use strict";r.d(t,"d",(function(){return p})),r.d(t,"g",(function(){return f})),r.d(t,"e",(function(){return d})),r.d(t,"f",(function(){return b})),r.d(t,"c",(function(){return h})),r.d(t,"b",(function(){return y})),r.d(t,"a",(function(){return v}));var n=r(20);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){return e.$isActive?2:e.$isHovered?1:0}function s(e){var t=e.$theme.colors,r=e.$disabled,n=e.$checked,o=e.$isFocusVisible,i=e.$error;if(r)return t.tickFillDisabled;if(!n)return o?t.borderSelected:i?t.tickBorderError:t.tickBorder;if(i)switch(c(e)){case 0:return t.tickFillErrorSelected;case 1:return t.tickFillErrorSelectedHover;case 2:return t.tickFillErrorSelectedHoverActive}else switch(c(e)){case 0:return t.tickFillSelected;case 1:return t.tickFillSelectedHover;case 2:return t.tickFillSelectedHoverActive}return null}function u(e){var t=e.$theme.colors;if(e.$disabled)return t.tickMarkFillDisabled;if(e.$checked)return t.tickMarkFill;if(e.$error)switch(c(e)){case 0:return t.tickFillError;case 1:return t.tickFillErrorHover;case 2:return t.tickFillErrorHoverActive}else switch(c(e)){case 0:return t.tickFill;case 1:return t.tickFillHover;case 2:return t.tickFillActive}}function l(e){var t=e.$disabled,r=e.$theme.colors;return t?r.contentSecondary:r.contentPrimary}var p=Object(n.a)("div",(function(e){var t=e.$disabled,r=e.$align;return{display:"flex",flexWrap:"wrap",flexDirection:"horizontal"===r?"row":"column",alignItems:"horizontal"===r?"center":"flex-start",cursor:t?"not-allowed":"pointer","-webkit-tap-highlight-color":"transparent"}}));p.displayName="RadioGroupRoot",p.displayName="RadioGroupRoot";var f=Object(n.a)("label",(function(e){var t,r=e.$disabled,n=e.$hasDescription,o=e.$labelPlacement,i=e.$theme,c=e.$align,s=i.sizing,u="horizontal"===c,l="rtl"===i.direction?"Left":"Right";return a(t={flexDirection:"top"===o||"bottom"===o?"column":"row",display:"flex",alignItems:"center",cursor:r?"not-allowed":"pointer",marginTop:s.scale200},"margin".concat(l),u?s.scale200:null),a(t,"marginBottom",n&&!u?null:s.scale200),t}));f.displayName="Root",f.displayName="Root";var d=Object(n.a)("div",(function(e){var t=e.$theme,r=t.animation,n=t.sizing;return{backgroundColor:u(e),borderTopLeftRadius:"50%",borderTopRightRadius:"50%",borderBottomRightRadius:"50%",borderBottomLeftRadius:"50%",height:e.$checked?n.scale200:n.scale550,transitionDuration:r.timing200,transitionTimingFunction:r.easeOutCurve,width:e.$checked?n.scale200:n.scale550}}));d.displayName="RadioMarkInner",d.displayName="RadioMarkInner";var b=Object(n.a)("div",(function(e){var t=e.$theme,r=t.animation,n=t.sizing;return{alignItems:"center",backgroundColor:s(e),borderTopLeftRadius:"50%",borderTopRightRadius:"50%",borderBottomRightRadius:"50%",borderBottomLeftRadius:"50%",boxShadow:e.$isFocusVisible&&e.$checked?"0 0 0 3px ".concat(e.$theme.colors.accent):"none",display:"flex",height:n.scale700,justifyContent:"center",marginTop:n.scale0,marginRight:n.scale0,marginBottom:n.scale0,marginLeft:n.scale0,outline:"none",verticalAlign:"middle",width:n.scale700,flexShrink:0,transitionDuration:r.timing200,transitionTimingFunction:r.easeOutCurve}}));b.displayName="RadioMarkOuter",b.displayName="RadioMarkOuter";var h=Object(n.a)("div",(function(e){var t=e.$theme.typography;return i(i({verticalAlign:"middle"},function(e){var t,r=e.$labelPlacement,n=void 0===r?"":r,o=e.$theme;switch(n){case"top":t="Bottom";break;case"bottom":t="Top";break;case"left":t="rtl"===o.direction?"Left":"Right";break;default:case"right":t="rtl"===o.direction?"Right":"Left"}var i=o.sizing.scale300;return a({},"padding".concat(t),i)}(e)),{},{color:l(e)},t.LabelMedium)}));h.displayName="Label",h.displayName="Label";var y=Object(n.a)("input",{width:0,height:0,marginTop:0,marginRight:0,marginBottom:0,marginLeft:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,clip:"rect(0 0 0 0)",position:"absolute"});y.displayName="Input",y.displayName="Input";var v=Object(n.a)("div",(function(e){var t,r=e.$theme,n=e.$align,o="horizontal"===n,c="rtl"===r.direction?"Right":"Left",s="rtl"===r.direction?"Left":"Right";return i(i({},r.typography.ParagraphSmall),{},(a(t={color:r.colors.contentSecondary,cursor:"auto"},"margin".concat(c),"horizontal"===n?null:r.sizing.scale900),a(t,"margin".concat(s),o?r.sizing.scale200:null),a(t,"maxWidth","240px"),t))}));v.displayName="Description",v.displayName="Description"},1739:function(e,t,r){"use strict";var n=r(0),o=r(11),i=r(1471),a=r(36);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(s){c=!0,o=s}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function b(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=v(e);if(t){var o=v(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return h(this,r)}}function h(e,t){if(t&&("object"===c(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return y(e)}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var g=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(h,e);var t,r,c,l=b(h);function h(){var e;p(this,h);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return m(y(e=l.call.apply(l,[this].concat(r))),"state",{isFocusVisible:!1,focusedRadioIndex:-1}),m(y(e),"handleFocus",(function(t,r){Object(a.d)(t)&&e.setState({isFocusVisible:!0}),e.setState({focusedRadioIndex:r}),e.props.onFocus&&e.props.onFocus(t)})),m(y(e),"handleBlur",(function(t,r){!1!==e.state.isFocusVisible&&e.setState({isFocusVisible:!1}),e.setState({focusedRadioIndex:-1}),e.props.onBlur&&e.props.onBlur(t)})),e}return t=h,(r=[{key:"render",value:function(){var e=this,t=this.props.overrides,r=void 0===t?{}:t,a=u(Object(o.c)(r.RadioGroupRoot,i.d),2),c=a[0],l=a[1];return n.createElement(c,s({id:this.props.id,role:"radiogroup","aria-describedby":this.props["aria-describedby"],"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props.error||null,"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],$align:this.props.align,$disabled:this.props.disabled,$error:this.props.error,$required:this.props.required},l),n.Children.map(this.props.children,(function(t,r){if(!n.isValidElement(t))return null;var o=e.props.value===t.props.value;return n.cloneElement(t,{align:e.props.align,autoFocus:e.props.autoFocus,checked:o,disabled:e.props.disabled||t.props.disabled,error:e.props.error,isFocused:e.state.focusedRadioIndex===r,isFocusVisible:e.state.isFocusVisible,tabIndex:0===r&&!e.props.value||o?"0":"-1",labelPlacement:e.props.labelPlacement,name:e.props.name,onBlur:function(t){return e.handleBlur(t,r)},onFocus:function(t){return e.handleFocus(t,r)},onChange:e.props.onChange,onMouseEnter:e.props.onMouseEnter,onMouseLeave:e.props.onMouseLeave})})))}}])&&f(t.prototype,r),c&&f(t,c),Object.defineProperty(t,"prototype",{writable:!1}),h}(n.Component);m(g,"defaultProps",{name:"",value:"",disabled:!1,autoFocus:!1,labelPlacement:"right",align:"vertical",error:!1,required:!1,onChange:function(){},onMouseEnter:function(){},onMouseLeave:function(){},onFocus:function(){},onBlur:function(){},overrides:{}}),t.a=g},1740:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n={vertical:"vertical",horizontal:"horizontal"}},1741:function(e,t,r){"use strict";var n=r(0),o=r(11),i=r(1471);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(s){c=!0,o=s}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function d(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=y(e);if(t){var o=y(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return b(this,r)}}function b(e,t){if(t&&("object"===a(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return h(e)}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var m=function(e){return e.stopPropagation()},g=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(b,e);var t,r,a,u=d(b);function b(){var e;l(this,b);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return v(h(e=u.call.apply(u,[this].concat(r))),"state",{isActive:!1,isHovered:!1}),v(h(e),"onMouseEnter",(function(t){e.setState({isHovered:!0}),e.props.onMouseEnter&&e.props.onMouseEnter(t)})),v(h(e),"onMouseLeave",(function(t){e.setState({isHovered:!1}),e.props.onMouseLeave&&e.props.onMouseLeave(t)})),v(h(e),"onMouseDown",(function(t){e.setState({isActive:!0}),e.props.onMouseDown&&e.props.onMouseDown(t)})),v(h(e),"onMouseUp",(function(t){e.setState({isActive:!1}),e.props.onMouseUp&&e.props.onMouseUp(t)})),e}return t=b,(r=[{key:"componentDidMount",value:function(){var e;this.props.autoFocus&&null!==(e=this.props.inputRef)&&void 0!==e&&e.current&&this.props.inputRef.current.focus()}},{key:"render",value:function(){var e,t=this.props.overrides,r=void 0===t?{}:t,a=s(Object(o.c)(r.Root,i.g),2),u=a[0],l=a[1],p=s(Object(o.c)(r.Label,i.c),2),f=p[0],d=p[1],b=s(Object(o.c)(r.Input,i.b),2),h=b[0],y=b[1],v=s(Object(o.c)(r.Description,i.a),2),g=v[0],O=v[1],w=s(Object(o.c)(r.RadioMarkInner,i.e),2),j=w[0],R=w[1],k=s(Object(o.c)(r.RadioMarkOuter,i.f),2),$=k[0],F=k[1],P={$align:this.props.align,$checked:this.props.checked,$disabled:this.props.disabled,$hasDescription:!!this.props.description,$isActive:this.state.isActive,$error:this.props.error,$isFocused:this.props.isFocused,$isFocusVisible:this.props.isFocused&&this.props.isFocusVisible,$isHovered:this.state.isHovered,$labelPlacement:this.props.labelPlacement,$required:this.props.required,$value:this.props.value},S=n.createElement(f,c({},P,d),this.props.containsInteractiveElement?n.createElement("div",{onClick:function(e){return e.preventDefault()}},this.props.children):this.props.children);return n.createElement(n.Fragment,null,n.createElement(u,c({"data-baseweb":"radio",onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp},P,l),("top"===(e=this.props.labelPlacement)||"left"===e)&&S,n.createElement($,c({},P,F),n.createElement(j,c({},P,R))),n.createElement(h,c({"aria-invalid":this.props.error||null,checked:this.props.checked,disabled:this.props.disabled,name:this.props.name,onBlur:this.props.onBlur,onFocus:this.props.onFocus,onClick:m,onChange:this.props.onChange,ref:this.props.inputRef,required:this.props.required,tabIndex:this.props.tabIndex,type:"radio",value:this.props.value},P,y)),function(e){return"bottom"===e||"right"===e}(this.props.labelPlacement)&&S),!!this.props.description&&n.createElement(g,c({},P,O),this.props.description))}}])&&p(t.prototype,r),a&&p(t,a),Object.defineProperty(t,"prototype",{writable:!1}),b}(n.Component);v(g,"defaultProps",{overrides:{},containsInteractiveElement:!1,checked:!1,disabled:!1,autoFocus:!1,inputRef:n.createRef(),align:"vertical",error:!1,onChange:function(){},onMouseEnter:function(){},onMouseLeave:function(){},onMouseDown:function(){},onMouseUp:function(){},onFocus:function(){},onBlur:function(){}}),t.a=g}}]);
@@ -1 +0,0 @@
1
- (this["webpackJsonp@stlite/desktop"]=this["webpackJsonp@stlite/desktop"]||[]).push([[23],{1293:function(e,t,r){"use strict";r.d(t,"b",(function(){return f})),r.d(t,"a",(function(){return d}));var n=r(0),o=r.n(n),a=r(65),i=r(56),s=r(17),c=r(1483),u=r(11),l=r(1);let d;!function(e){e.EXTRASMALL="xs",e.SMALL="sm",e.MEDIUM="md",e.LARGE="lg",e.EXTRALARGE="xl"}(d||(d={}));var f=function({value:e,width:t,size:r=d.SMALL,overrides:n}){const f=Object(a.g)(),p={xs:f.spacing.twoXS,sm:f.spacing.sm,md:f.spacing.lg,lg:f.spacing.xl,xl:f.spacing.twoXL},{activeTheme:b}=o.a.useContext(i.a),g=!Object(s.isPresetTheme)(b),m={BarContainer:{style:{marginTop:f.spacing.none,marginBottom:f.spacing.none,marginRight:f.spacing.none,marginLeft:f.spacing.none}},Bar:{style:({$theme:e})=>({width:t?t.toString():void 0,marginTop:f.spacing.none,marginBottom:f.spacing.none,marginRight:f.spacing.none,marginLeft:f.spacing.none,height:p[r],backgroundColor:e.colors.progressbarTrackFill,borderTopLeftRadius:f.spacing.twoXS,borderTopRightRadius:f.spacing.twoXS,borderBottomLeftRadius:f.spacing.twoXS,borderBottomRightRadius:f.spacing.twoXS})},BarProgress:{style:({$theme:e})=>({backgroundColor:g?f.colors.primary:f.colors.blue70,borderTopLeftRadius:f.spacing.twoXS,borderTopRightRadius:f.spacing.twoXS,borderBottomLeftRadius:f.spacing.twoXS,borderBottomRightRadius:f.spacing.twoXS})}};return Object(l.jsx)(c.a,{value:e,overrides:Object(u.e)(m,n)})}},1483:function(e,t,r){"use strict";var n,o=r(0),a=r.n(o),i=r(11),s="small",c="medium",u="large",l=r(20),d=r(74);function f(){return(f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){g(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(e){var t;return(t={},g(t,s,"2px"),g(t,c,"4px"),g(t,u,"8px"),t)[e]}var y=Object(l.a)("div",(function(e){return{width:"100%"}}));y.displayName="StyledRoot",y.displayName="StyledRoot";var h=Object(l.a)("div",(function(e){var t=e.$theme.sizing;return{display:"flex",marginLeft:t.scale500,marginRight:t.scale500,marginTop:t.scale500,marginBottom:t.scale500}}));h.displayName="StyledBarContainer",h.displayName="StyledBarContainer";var v=Object(l.a)("div",(function(e){var t=e.$theme,r=e.$size,n=e.$steps,o=t.colors,a=t.sizing,i=t.borders.useRoundedCorners?a.scale0:0;return b({borderTopLeftRadius:i,borderTopRightRadius:i,borderBottomRightRadius:i,borderBottomLeftRadius:i,backgroundColor:Object(d.b)(o.progressbarTrackFill,"0.16"),height:m(r),flex:1,overflow:"hidden"},n<2?{}:{marginLeft:a.scale300,":first-child":{marginLeft:"0"}})}));v.displayName="StyledBar",v.displayName="StyledBar";var O=Object(l.a)("div",(function(e){var t=e.$theme,r=e.$value,n=e.$successValue,o=e.$steps,a=e.$index,i=e.$maxValue,s=e.$minValue,c=void 0===s?0:s,u=i||n,l=t.colors,d=t.sizing,f=t.borders,p="".concat(100-100*(r-c)/(u-c),"%"),g="awaits",m="inProgress",y="completed",h="default";if(o>1){var v=(u-c)/o,O=(r-c)/(u-c)*100,w=Math.floor(O/v);h=a<w?y:a===w?m:g}var j=f.useRoundedCorners?d.scale0:0,R={transform:"translateX(-".concat(p,")")},P=h===m?{animationDuration:"2.1s",animationIterationCount:"infinite",animationTimingFunction:t.animation.linearCurve,animationName:{"0%":{transform:"translateX(-102%)",opacity:1},"50%":{transform:"translateX(0%)",opacity:1},"100%":{transform:"translateX(0%)",opacity:0}}}:h===y?{transform:"translateX(0%)"}:{transform:"translateX(-102%)"};return b({borderTopLeftRadius:j,borderTopRightRadius:j,borderBottomRightRadius:j,borderBottomLeftRadius:j,backgroundColor:l.accent,height:"100%",width:"100%",transform:"translateX(-102%)",transition:"transform 0.5s"},o>1?P:R)}));O.displayName="StyledBarProgress",O.displayName="StyledBarProgress";var w=Object(l.a)("div",(function(e){var t=e.$theme,r=e.$isLeft,n=void 0!==r&&r,o=e.$size,a=void 0===o?c:o,i=t.colors,s=t.sizing,u=t.borders.useRoundedCorners?s.scale0:0,l=m(a),d={display:"inline-block",flex:1,marginLeft:"auto",marginRight:"auto",transitionProperty:"background-position",animationDuration:"1.5s",animationIterationCount:"infinite",animationTimingFunction:t.animation.linearCurve,backgroundSize:"300% auto",backgroundRepeat:"no-repeat",backgroundPositionX:n?"-50%":"150%",backgroundImage:"linear-gradient(".concat(n?"90":"270","deg, transparent 0%, ").concat(i.accent," 25%, ").concat(i.accent," 75%, transparent 100%)"),animationName:n?{"0%":{backgroundPositionX:"-50%"},"33%":{backgroundPositionX:"50%"},"66%":{backgroundPositionX:"50%"},"100%":{backgroundPositionX:"150%"}}:{"0%":{backgroundPositionX:"150%"},"33%":{backgroundPositionX:"50%"},"66%":{backgroundPositionX:"50%"},"100%":{backgroundPositionX:"-50%"}}};return b(b({},n?{borderTopLeftRadius:u,borderBottomLeftRadius:u}:{borderTopRightRadius:u,borderBottomRightRadius:u}),{},{height:l},d)}));w.displayName="StyledInfiniteBar",w.displayName="StyledInfiniteBar";var j=Object(l.a)("div",(function(e){return b(b({textAlign:"center"},e.$theme.typography.font150),{},{color:e.$theme.colors.contentTertiary})}));j.displayName="StyledLabel",j.displayName="StyledLabel";var R=(g(n={},u,{d:"M47.5 4H71.5529C82.2933 4 91 12.9543 91 24C91 35.0457 82.2933 44 71.5529 44H23.4471C12.7067 44 4 35.0457 4 24C4 12.9543 12.7067 4 23.4471 4H47.5195",width:95,height:48,strokeWidth:8,typography:"LabelLarge"}),g(n,c,{d:"M39 2H60.5833C69.0977 2 76 9.16344 76 18C76 26.8366 69.0977 34 60.5833 34H17.4167C8.90228 34 2 26.8366 2 18C2 9.16344 8.90228 2 17.4167 2H39.0195",width:78,height:36,strokeWidth:4,typography:"LabelMedium"}),g(n,s,{d:"M32 1H51.6271C57.9082 1 63 6.37258 63 13C63 19.6274 57.9082 25 51.6271 25H12.3729C6.09181 25 1 19.6274 1 13C1 6.37258 6.09181 1 12.3729 1H32.0195",width:64,height:26,strokeWidth:2,typography:"LabelSmall"}),n),P=Object(l.a)("div",(function(e){var t=e.$size,r=e.$inline;return{width:R[t].width+"px",height:R[t].height+"px",position:"relative",display:r?"inline-flex":"flex",alignItems:"center",justifyContent:"center"}}));P.displayName="StyledProgressBarRoundedRoot",P.displayName="StyledProgressBarRoundedRoot";var S=Object(l.a)("svg",(function(e){var t=e.$size;return{width:R[t].width+"px",height:R[t].height+"px",position:"absolute",fill:"none"}}));S.displayName="_StyledProgressBarRoundedSvg",S.displayName="_StyledProgressBarRoundedSvg";Object(l.d)(S,(function(e){return function(t){return a.a.createElement(e,f({viewBox:"0 0 ".concat(R[t.$size].width," ").concat(R[t.$size].height),xmlns:"http://www.w3.org/2000/svg"},t))}}));var k=Object(l.a)("path",(function(e){var t=e.$theme,r=e.$size;return{stroke:t.colors.backgroundTertiary,strokeWidth:R[r].strokeWidth+"px"}}));k.displayName="_StyledProgressBarRoundedTrackBackground",k.displayName="_StyledProgressBarRoundedTrackBackground";Object(l.d)(k,(function(e){return function(t){return a.a.createElement(e,f({d:R[t.$size].d},t))}}));var $=Object(l.a)("path",(function(e){var t=e.$theme,r=e.$size,n=e.$visible,o=e.$pathLength,a=e.$pathProgress;return{visibility:n?"visible":"hidden",stroke:t.colors.borderAccent,strokeWidth:R[r].strokeWidth+"px",strokeDasharray:o,strokeDashoffset:o*(1-a)+""}}));$.displayName="_StyledProgressBarRoundedTrackForeground",$.displayName="_StyledProgressBarRoundedTrackForeground";Object(l.d)($,(function(e){return function(t){return a.a.createElement(e,f({d:R[t.$size].d},t))}}));var B=Object(l.a)("div",(function(e){var t=e.$theme,r=e.$size;return b({color:t.colors.contentPrimary},t.typography[R[r].typography])}));function L(e){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}B.displayName="StyledProgressBarRoundedText",B.displayName="StyledProgressBarRoundedText";var x=["overrides","getProgressLabel","value","size","steps","successValue","minValue","maxValue","showLabel","infinite","errorMessage","forwardedRef"];function T(){return(T=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function C(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,a=[],i=!0,s=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(c){s=!0,o=c}finally{try{i||null==r.return||r.return()}finally{if(s)throw o}}return a}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return X(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return X(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function X(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function N(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function A(e,t){return(A=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function M(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=_(e);if(t){var o=_(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return V(this,r)}}function V(e,t){if(t&&("object"===L(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var I,D,H,F=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&A(e,t)}(s,e);var t,r,n,a=M(s);function s(){return z(this,s),a.apply(this,arguments)}return t=s,(r=[{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var e=this.props,t=e.overrides,r=void 0===t?{}:t,n=e.getProgressLabel,a=e.value,s=e.size,c=e.steps,u=e.successValue,l=e.minValue,d=e.maxValue,f=e.showLabel,p=e.infinite,b=e.errorMessage,g=e.forwardedRef,m=N(e,x),R=this.props["aria-label"]||this.props.ariaLabel,P=100!==d?d:u,S=C(Object(i.c)(r.Root,y),2),k=S[0],$=S[1],B=C(Object(i.c)(r.BarContainer,h),2),L=B[0],X=B[1],z=C(Object(i.c)(r.Bar,v),2),E=z[0],A=z[1],M=C(Object(i.c)(r.BarProgress,O),2),V=M[0],_=M[1],I=C(Object(i.c)(r.Label,j),2),D=I[0],H=I[1],F=C(Object(i.c)(r.InfiniteBar,w),2),W=F[0],G=F[1],J={$infinite:p,$size:s,$steps:c,$successValue:P,$minValue:l,$maxValue:P,$value:a};return o.createElement(k,T({ref:g,"data-baseweb":"progress-bar",role:"progressbar","aria-label":R||n(a,P,l),"aria-valuenow":p?null:a,"aria-valuemin":p?null:l,"aria-valuemax":p?null:P,"aria-invalid":!!b||null,"aria-errormessage":b},m,J,$),o.createElement(L,T({},J,X),p?o.createElement(o.Fragment,null,o.createElement(W,T({$isLeft:!0,$size:J.$size},G)),o.createElement(W,T({$size:J.$size},G))):function(){for(var e=[],t=0;t<c;t++)e.push(o.createElement(E,T({key:t},J,A),o.createElement(V,T({$index:t},J,_))));return e}()),f&&o.createElement(D,T({},J,H),n(a,P,l)))}}])&&E(t.prototype,r),n&&E(t,n),Object.defineProperty(t,"prototype",{writable:!1}),s}(o.Component);H={getProgressLabel:function(e,t,r){return"".concat(Math.round((e-r)/(t-r)*100),"% Loaded")},infinite:!1,overrides:{},showLabel:!1,size:c,steps:1,successValue:100,minValue:0,maxValue:100,value:0},(D="defaultProps")in(I=F)?Object.defineProperty(I,D,{value:H,enumerable:!0,configurable:!0,writable:!0}):I[D]=H;var W=o.forwardRef((function(e,t){return o.createElement(F,T({forwardedRef:t},e))}));W.displayName="ProgressBar";t.a=W},1785:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return a}));r(0);var n=r(1293),o=r(1);var a=function({element:e,width:t}){return Object(o.jsx)("div",{className:"stProgress",children:Object(o.jsx)(n.b,{value:e.value,width:t})})}}}]);
@@ -1,5 +0,0 @@
1
- (this["webpackJsonp@stlite/desktop"]=this["webpackJsonp@stlite/desktop"]||[]).push([[24],{1294:function(t,e,r){"use strict";r(0);var n=r(29),o=r(117),i=r(4);const a=r(38).c`
2
- 50% {
3
- color: rgba(0, 0, 0, 0);
4
- }
5
- `,s=Object(i.a)("span",{target:"e1m4n6jn0"})((({includeDot:t,shouldBlink:e,theme:r})=>({...t?{"&::before":{opacity:1,content:'"\u2022"',animation:"none",color:r.colors.gray,margin:"0 5px"}}:{},...e?{color:r.colors.red,animationName:`${a}`,animationDuration:"0.5s",animationIterationCount:5}:{}})),"");var l=r(1);e.a=({dirty:t,value:e,maxLength:r,className:i,type:a="single"})=>{const u=[],c=(t,e=!1)=>{u.push(Object(l.jsx)(s,{includeDot:u.length>0,shouldBlink:e,children:t},u.length))};return t&&("multiline"===a?Object(n.f)()?c("Press \u2318+Enter to apply"):c("Press Ctrl+Enter to apply"):c("Press Enter to apply")),r&&c(`${e.length}/${r}`,t&&e.length>=r),Object(l.jsx)(o.a,{className:i,children:u})}},1375:function(t,e,r){"use strict";var n=r(0),o=r(11),i=r(1319),a=r(1381),s=r(1268),l=r(45);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var c=["Root","StartEnhancer","EndEnhancer"],p=["startEnhancer","endEnhancer","overrides"];function f(){return(f=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function d(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,s=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return h(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return h(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function m(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function g(t,e){return(g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function v(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=w(t);if(e){var o=w(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return j(this,r)}}function j(t,e){if(e&&("object"===u(e)||"function"===typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return O(t)}function O(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function w(t){return(w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function P(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var S=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&g(t,e)}(j,t);var e,r,u,h=v(j);function j(){var t;b(this,j);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return P(O(t=h.call.apply(h,[this].concat(r))),"state",{isFocused:t.props.autoFocus||!1}),P(O(t),"onFocus",(function(e){t.setState({isFocused:!0}),t.props.onFocus(e)})),P(O(t),"onBlur",(function(e){t.setState({isFocused:!1}),t.props.onBlur(e)})),t}return e=j,(r=[{key:"render",value:function(){var t=this.props,e=t.startEnhancer,r=t.endEnhancer,u=t.overrides,h=u.Root,b=u.StartEnhancer,y=u.EndEnhancer,g=m(u,c),v=m(t,p),j=d(Object(o.c)(h,s.d),2),O=j[0],w=j[1],P=d(Object(o.c)(b,s.c),2),S=P[0],C=P[1],F=d(Object(o.c)(y,s.c),2),V=F[0],B=F[1],W=Object(i.a)(this.props,this.state);return n.createElement(O,f({"data-baseweb":"input"},W,w,{$adjoined:x(e,r),$hasIconTrailing:this.props.clearable||"password"==this.props.type}),E(e)&&n.createElement(S,f({},W,C,{$position:l.c.start}),"function"===typeof e?e(W):e),n.createElement(a.a,f({},v,{overrides:g,adjoined:x(e,r),onFocus:this.onFocus,onBlur:this.onBlur})),E(r)&&n.createElement(V,f({},W,B,{$position:l.c.end}),"function"===typeof r?r(W):r))}}])&&y(e.prototype,r),u&&y(e,u),Object.defineProperty(e,"prototype",{writable:!1}),j}(n.Component);function x(t,e){return E(t)&&E(e)?l.a.both:E(t)?l.a.left:E(e)?l.a.right:l.a.none}function E(t){return Boolean(t||0===t)}P(S,"defaultProps",{autoComplete:"on",autoFocus:!1,disabled:!1,name:"",onBlur:function(){},onFocus:function(){},overrides:{},required:!1,size:l.d.default,startEnhancer:null,endEnhancer:null,clearable:!1,type:"text",readOnly:!1}),e.a=S},1776:function(t,e,r){"use strict";r.r(e),r.d(e,"default",(function(){return y}));var n=r(0),o=r.n(n),i=r(1375),a=r(15),s=r(199),l=r(1294),u=r(117),c=r(118),p=r(52),f=r(29),d=r(4);const h=Object(d.a)("div",{target:"edfmue0"})((({theme:t,width:e})=>({position:"relative",width:e})),"");var m=r(1);class b extends o.a.PureComponent{constructor(...t){super(...t),this.formClearHelper=new s.b,this.state={dirty:!1,value:this.initialValue},this.commitWidgetValue=t=>{this.props.widgetMgr.setStringValue(this.props.element,this.state.value,t),this.setState({dirty:!1})},this.onFormCleared=()=>{this.setState(((t,e)=>({value:e.element.default})),(()=>this.commitWidgetValue({fromUi:!0})))},this.onBlur=()=>{this.state.dirty&&this.commitWidgetValue({fromUi:!0})},this.onChange=t=>{const{value:e}=t.target,{element:r}=this.props,{maxChars:n}=r;0!==n&&e.length>n||(Object(f.i)(this.props.element)?this.setState({dirty:!1,value:e},(()=>this.commitWidgetValue({fromUi:!0}))):this.setState({dirty:!0,value:e}))},this.onKeyPress=t=>{"Enter"===t.key&&this.state.dirty&&this.commitWidgetValue({fromUi:!0})}}get initialValue(){const t=this.props.widgetMgr.getStringValue(this.props.element);return void 0!==t?t:this.props.element.default}componentDidMount(){this.props.element.setValue?this.updateFromProtobuf():this.commitWidgetValue({fromUi:!1})}componentDidUpdate(){this.maybeUpdateFromProtobuf()}componentWillUnmount(){this.formClearHelper.disconnect()}maybeUpdateFromProtobuf(){const{setValue:t}=this.props.element;t&&this.updateFromProtobuf()}updateFromProtobuf(){const{value:t}=this.props.element;this.props.element.setValue=!1,this.setState({value:t},(()=>{this.commitWidgetValue({fromUi:!1})}))}getTypeString(){return this.props.element.type===a.v.Type.PASSWORD?"password":"text"}render(){var t;const{dirty:e,value:r}=this.state,{element:n,width:o,disabled:a,widgetMgr:s}=this.props,{placeholder:d}=n;return this.formClearHelper.manageFormClearListener(s,n.formId,this.onFormCleared),Object(m.jsxs)(h,{className:"row-widget stTextInput",width:o,children:[Object(m.jsx)(u.d,{label:n.label,disabled:a,labelVisibility:Object(f.k)(null===(t=n.labelVisibility)||void 0===t?void 0:t.value),children:n.help&&Object(m.jsx)(u.b,{children:Object(m.jsx)(c.a,{content:n.help,placement:p.b.TOP_RIGHT})})}),Object(m.jsx)(i.a,{value:r,placeholder:d,onBlur:this.onBlur,onChange:this.onChange,onKeyPress:this.onKeyPress,"aria-label":n.label,disabled:a,type:this.getTypeString(),autoComplete:n.autocomplete,overrides:{Input:{style:{minWidth:0,"::placeholder":{opacity:"0.7"},lineHeight:"1.4",paddingRight:".5rem",paddingLeft:".5rem",paddingBottom:".5rem",paddingTop:".5rem"}},Root:{style:{borderLeftWidth:"1px",borderRightWidth:"1px",borderTopWidth:"1px",borderBottomWidth:"1px"}}}}),Object(m.jsx)(l.a,{dirty:e,value:r,maxLength:n.maxChars})]})}}var y=b}}]);
@@ -1 +0,0 @@
1
- (this["webpackJsonp@stlite/desktop"]=this["webpackJsonp@stlite/desktop"]||[]).push([[25],{1293:function(e,t,s){"use strict";s.d(t,"b",(function(){return u})),s.d(t,"a",(function(){return h}));var i=s(0),r=s.n(i),o=s(65),a=s(56),n=s(17),l=s(1483),d=s(11),c=s(1);let h;!function(e){e.EXTRASMALL="xs",e.SMALL="sm",e.MEDIUM="md",e.LARGE="lg",e.EXTRALARGE="xl"}(h||(h={}));var u=function({value:e,width:t,size:s=h.SMALL,overrides:i}){const u=Object(o.g)(),g={xs:u.spacing.twoXS,sm:u.spacing.sm,md:u.spacing.lg,lg:u.spacing.xl,xl:u.spacing.twoXL},{activeTheme:p}=r.a.useContext(a.a),m=!Object(n.isPresetTheme)(p),b={BarContainer:{style:{marginTop:u.spacing.none,marginBottom:u.spacing.none,marginRight:u.spacing.none,marginLeft:u.spacing.none}},Bar:{style:({$theme:e})=>({width:t?t.toString():void 0,marginTop:u.spacing.none,marginBottom:u.spacing.none,marginRight:u.spacing.none,marginLeft:u.spacing.none,height:g[s],backgroundColor:e.colors.progressbarTrackFill,borderTopLeftRadius:u.spacing.twoXS,borderTopRightRadius:u.spacing.twoXS,borderBottomLeftRadius:u.spacing.twoXS,borderBottomRightRadius:u.spacing.twoXS})},BarProgress:{style:({$theme:e})=>({backgroundColor:m?u.colors.primary:u.colors.blue70,borderTopLeftRadius:u.spacing.twoXS,borderTopRightRadius:u.spacing.twoXS,borderBottomLeftRadius:u.spacing.twoXS,borderBottomRightRadius:u.spacing.twoXS})}};return Object(c.jsx)(l.a,{value:e,overrides:Object(d.e)(b,i)})}},1374:function(e,t,s){"use strict";s.d(t,"a",(function(){return i}));class i{setStatus(e){return new i(this.name,this.size,this.id,e)}constructor(e,t,s,i){this.name=void 0,this.size=void 0,this.status=void 0,this.id=void 0,this.name=e,this.size=t,this.id=s,this.status=i}}},1761:function(e,t,s){"use strict";s.r(t),s.d(t,"default",(function(){return Q}));var i,r=s(1738),o=s(1351),a=s.n(o),n=s(37),l=s.n(n),d=s(0),c=s.n(d),h=s(15),u=s(43),g=s(52),p=s(118),m=s(117),b=s(199),f=s(19),j=s(29),S=s(1374),w=s(1293),x=s(4),O=s(22);function R(e,t){switch(e){case i.XSMALL:return{padding:`${t.spacing.twoXS} ${t.spacing.sm}`,fontSize:t.fontSizes.sm};case i.SMALL:return{padding:`${t.spacing.twoXS} ${t.spacing.md}`};case i.LARGE:return{padding:`${t.spacing.md} ${t.spacing.md}`};default:return{padding:`${t.spacing.xs} ${t.spacing.md}`}}}!function(e){e.XSMALL="xsmall",e.SMALL="small",e.MEDIUM="medium",e.LARGE="large"}(i||(i={}));const F=Object(x.a)("div",{target:"ejtjsn29"})((({theme:e,width:t})=>({position:"relative",overflow:"hidden",width:"100%",objectFit:"contain"})),""),C=Object(x.a)("div",{target:"ejtjsn28"})((({theme:e,width:t})=>({backgroundColor:e.colors.secondaryBg,borderRadius:`${e.radii.md} ${e.radii.md} 0 0`,width:"100%",height:9*t/16,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"})),""),v=Object(x.a)("p",{target:"ejtjsn27"})((({theme:e})=>({marginTop:e.spacing.sm,textAlign:"center"})),""),I=Object(x.a)("img",{target:"ejtjsn26"})((({theme:e,opacity:t})=>({borderRadius:`${e.radii.md} ${e.radii.md} 0 0`,objectFit:"contain",opacity:t})),""),E=Object(x.a)("a",{target:"ejtjsn25"})((({theme:e})=>({color:e.colors.primary,display:"block",textDecoration:"none"})),""),y=Object(x.a)("span",{target:"ejtjsn24"})((({theme:e})=>({display:"flex",alignItems:"center"})),""),M=Object(x.a)("div",{target:"ejtjsn23"})((({theme:e})=>({position:"absolute",top:e.spacing.lg,right:e.spacing.lg,zIndex:1,color:e.colors.fadedText40,mixBlendMode:"difference",opacity:.6})),""),T=Object(x.a)("div",{target:"ejtjsn21"})((({theme:e})=>({height:"fit-content",width:"100%",position:"absolute",bottom:0})),""),P=Object(x.a)("button",{target:"ejtjsn20"})((({theme:e})=>({position:"relative",display:"inline-flex",flexDirection:"column",alignItems:"center",justifyContent:"center",backgroundColor:e.colors.lightenedBg05,border:`1px solid ${e.colors.fadedText10}`,borderRadius:`0 0 ${e.radii.md} ${e.radii.md}`,"&:hover":{borderColor:e.colors.primary,color:e.colors.primary},"&:active":{color:e.colors.white,borderColor:e.colors.primary,backgroundColor:e.colors.primary},"&:focus:not(:active)":{borderColor:e.colors.primary,color:e.colors.primary},"&:disabled, &:disabled:hover, &:disabled:active":{color:e.colors.fadedText40},fontWeight:e.fontWeights.normal,padding:`${e.spacing.xs} ${e.spacing.md}`,margin:0,lineHeight:e.lineHeights.base,color:"inherit",width:"100%",userSelect:"none","&:focus":{boxShadow:`0 0 0 0.2rem ${Object(O.g)(e.colors.primary,.5)}`,outline:"none"},...R(i.MEDIUM,e)})),"");var L=s(1);var U=function({disabled:e,onClick:t,children:s,progress:i}){return Object(L.jsxs)(P,{disabled:e||!1,onClick:t||(()=>{}),progress:i||null,"data-testid":"stCameraInputButton",children:[s,i&&Object(L.jsx)(T,{children:Object(L.jsx)(w.b,{value:i,size:w.a.EXTRASMALL,overrides:{Bar:{style:{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"}},BarProgress:{style:{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"}},BarContainer:{style:{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"}}}})})]})},k=s(1736),$=s(23),X=s(271);let D;!function(e){e.USER="user",e.ENVIRONMENT="environment"}(D||(D={}));var A=({switchFacingMode:e})=>Object(L.jsx)(M,{children:Object(L.jsx)(g.c,{content:"Switch camera",placement:g.b.TOP_RIGHT,children:Object(L.jsx)($.d,{kind:$.b.MINIMAL,onClick:e,children:Object(L.jsx)(u.b,{content:k.a,size:"twoXL",color:X.a.white})})})}),B=s(1737),N=s(65),z=s(413),G=s(1657),_=s.n(G),V=s(59);let W;!function(e){e.PENDING="pending",e.SUCCESS="success",e.ERROR="error"}(W||(W={}));const H=({width:e})=>Object(L.jsxs)(C,{width:e,children:[Object(L.jsx)(u.b,{size:"threeXL",color:X.a.gray60,content:B.a}),Object(L.jsxs)(v,{children:["This app would like to use your camera.",Object(L.jsx)(E,{href:V.b,rel:"noopener noreferrer",target:"_blank",children:"Learn how to allow access."})]})]});var J=({handleCapture:e,width:t,disabled:s,clearPhotoInProgress:i,setClearPhotoInProgress:r,facingMode:o,setFacingMode:a})=>{const[n,l]=Object(d.useState)(W.PENDING),c=Object(d.useRef)(null),[h,u]=Object(d.useState)(t),g=Object(d.useCallback)(Object(j.b)(1e3,u),[]);Object(d.useEffect)((()=>{g(t)}),[t]);const p=Object(N.g)();return Object(L.jsxs)(F,{width:h,children:[n===W.SUCCESS||s||i?z.isMobile&&Object(L.jsx)(A,{switchFacingMode:a}):Object(L.jsx)(H,{width:h}),Object(L.jsx)(C,{hidden:n!==W.SUCCESS&&!s&&!i,width:h,children:!s&&Object(L.jsx)(_.a,{audio:!1,ref:c,screenshotFormat:"image/jpeg",screenshotQuality:1,width:h,height:9*h/16,style:{borderRadius:`${p.radii.md} ${p.radii.md} 0 0`},onUserMediaError:()=>{l(W.ERROR)},onUserMedia:()=>{l(W.SUCCESS),r(!1)},videoConstraints:{width:{ideal:h},facingMode:o}})}),Object(L.jsx)(U,{onClick:function(){if(null!==c.current){const t=c.current.getScreenshot();e(t)}},disabled:n!==W.SUCCESS||s||i,children:"Take Photo"})]})};class q extends c.a.PureComponent{constructor(e){super(e),this.localFileIdCounter=1,this.RESTORED_FROM_WIDGET_STRING="RESTORED_FROM_WIDGET",this.formClearHelper=new b.b,this.getProgress=()=>{if(this.state.files.length>0&&"uploading"===this.state.files[this.state.files.length-1].status.type){return this.state.files[this.state.files.length-1].status.progress}},this.setClearPhotoInProgress=e=>{this.setState({clearPhotoInProgress:e})},this.setFacingMode=()=>{this.setState((e=>({facingMode:e.facingMode===D.USER?D.ENVIRONMENT:D.USER})))},this.handleCapture=e=>{if(null===e)return Promise.resolve();this.setState({imgSrc:e,shutter:!0,minShutterEffectPassed:!1});var t,s;return(t=e,s=`camera-input-${(new Date).toISOString().replace(/:/g,"_")}.jpg`,fetch(t).then((e=>e.arrayBuffer())).then((e=>new File([e],s,{type:"image/jpeg"})))).then((e=>this.uploadFile(e))).then((()=>{return e=150,new Promise((t=>setTimeout(t,e)));var e})).then((()=>{this.setState(((t,s)=>({imgSrc:e,shutter:t.shutter,minShutterEffectPassed:!0})))})).catch((e=>{Object(f.b)(e)}))},this.removeCapture=()=>{0!==this.state.files.length&&(this.state.files.forEach((e=>this.deleteFile(e.id))),this.setState({imgSrc:null,clearPhotoInProgress:!0}))},this.componentDidUpdate=e=>{const{element:t,widgetMgr:s}=this.props;if(e.disabled!==this.props.disabled&&this.props.disabled)return this.reset(),void s.setFileUploaderStateValue(t,new h.h,{fromUi:!1});if("ready"!==this.status)return;const i=this.createWidgetValue();if(void 0===i)return;const r=s.getFileUploaderStateValue(t);l.a.isEqual(i,r)||s.setFileUploaderStateValue(t,i,{fromUi:!0})},this.onFormCleared=()=>{this.setState({files:[]},(()=>{const e=this.createWidgetValue();null!=e&&(this.setState({imgSrc:null}),this.props.widgetMgr.setFileUploaderStateValue(this.props.element,e,{fromUi:!0}))}))},this.deleteFile=e=>{const t=this.getFile(e);null!=t&&("uploading"===t.status.type&&t.status.cancelToken.cancel(),this.removeFile(e))},this.addFile=e=>{this.setState((t=>({files:[...t.files,e]})))},this.removeFile=e=>{this.setState((t=>({files:t.files.filter((t=>t.id!==e))})))},this.getFile=e=>this.state.files.find((t=>t.id===e)),this.updateFile=(e,t)=>{this.setState((s=>({files:s.files.map((s=>s.id===e?t:s))})))},this.onUploadComplete=(e,t)=>{this.setState((e=>({newestServerFileId:Math.max(e.newestServerFileId,t),shutter:!1})));const s=this.getFile(e);null!=s&&"uploading"===s.status.type&&this.updateFile(s.id,s.setStatus({type:"uploaded",serverFileId:t}))},this.onUploadProgress=(e,t)=>{const s=this.getFile(t);if(null==s||"uploading"!==s.status.type)return;const i=Math.round(100*e.loaded/e.total);s.status.progress!==i&&this.updateFile(t,s.setStatus({type:"uploading",cancelToken:s.status.cancelToken,progress:i}))},this.reset=()=>{this.setState({files:[],imgSrc:null})},this.uploadFile=e=>{const t=a.a.CancelToken.source(),s=new S.a(e.name,e.size,this.nextLocalFileId(),{type:"uploading",cancelToken:t,progress:1});this.addFile(s),this.props.uploadClient.uploadFile(this.props.element,e,(e=>this.onUploadProgress(e,s.id)),t.token).then((e=>this.onUploadComplete(s.id,e))).catch((e=>{a.a.isCancel(e)||this.updateFile(s.id,s.setStatus({type:"error",errorMessage:e?e.toString():"Unknown error"}))}))},this.state=this.initialValue}get initialValue(){const e={files:[],newestServerFileId:0,imgSrc:null,shutter:!1,minShutterEffectPassed:!0,clearPhotoInProgress:!1,facingMode:D.USER},{widgetMgr:t,element:s}=this.props,i=t.getFileUploaderStateValue(s);if(null==i)return e;const{maxFileId:r,uploadedFileInfo:o}=i;return null==r||0===r||null==o?e:{files:o.map((e=>{const t=e.name,s=e.size,i=e.id;return new S.a(t,s,this.nextLocalFileId(),{type:"uploaded",serverFileId:i})})),newestServerFileId:Number(r),imgSrc:0===o.length?"":this.RESTORED_FROM_WIDGET_STRING,shutter:!1,minShutterEffectPassed:!1,clearPhotoInProgress:!1,facingMode:D.USER}}componentWillUnmount(){this.formClearHelper.disconnect()}get status(){return this.state.files.some((e=>"uploading"===e.status.type))?"updating":"ready"}createWidgetValue(){if(0===this.state.newestServerFileId)return;const e=this.state.files.filter((e=>"uploaded"===e.status.type)).map((e=>{const{name:t,size:s,status:i}=e;return new h.w({id:i.serverFileId,name:t,size:s})}));return new h.h({maxFileId:this.state.newestServerFileId,uploadedFileInfo:e})}render(){var e;const{element:t,widgetMgr:s,disabled:i,width:o}=this.props;return this.formClearHelper.manageFormClearListener(s,t.formId,this.onFormCleared),Object(L.jsxs)(F,{width:o,className:"row-widget","data-testid":"stCameraInput",children:[Object(L.jsx)(m.d,{label:t.label,disabled:i,labelVisibility:Object(j.k)(null===(e=t.labelVisibility)||void 0===e?void 0:e.value),children:t.help&&Object(L.jsx)(m.b,{children:Object(L.jsx)(p.a,{content:t.help,placement:g.b.TOP_RIGHT})})}),this.state.imgSrc?Object(L.jsxs)(L.Fragment,{children:[Object(L.jsx)(C,{width:o,children:this.state.imgSrc!==this.RESTORED_FROM_WIDGET_STRING&&Object(L.jsx)(I,{src:this.state.imgSrc,alt:"Snapshot",opacity:this.state.shutter||!this.state.minShutterEffectPassed?"50%":"100%",width:o,height:9*o/16})}),Object(L.jsx)(U,{onClick:this.removeCapture,progress:this.getProgress(),disabled:!!this.getProgress()||i,children:this.getProgress()?"Uploading...":Object(L.jsxs)(y,{children:[Object(L.jsx)(u.b,{content:r.a,margin:"0 xs 0 0",size:"sm"})," Clear photo"]})})]}):Object(L.jsx)(J,{handleCapture:this.handleCapture,width:o,disabled:i,clearPhotoInProgress:this.state.clearPhotoInProgress,setClearPhotoInProgress:this.setClearPhotoInProgress,facingMode:this.state.facingMode,setFacingMode:this.setFacingMode})]})}nextLocalFileId(){return this.localFileIdCounter++}}var Q=q}}]);
@@ -1 +0,0 @@
1
- (this["webpackJsonp@stlite/desktop"]=this["webpackJsonp@stlite/desktop"]||[]).push([[26],{1293:function(e,t,i){"use strict";i.d(t,"b",(function(){return p})),i.d(t,"a",(function(){return g}));var s=i(0),a=i.n(s),n=i(65),l=i(56),r=i(17),o=i(1483),d=i(11),c=i(1);let g;!function(e){e.EXTRASMALL="xs",e.SMALL="sm",e.MEDIUM="md",e.LARGE="lg",e.EXTRALARGE="xl"}(g||(g={}));var p=function({value:e,width:t,size:i=g.SMALL,overrides:s}){const p=Object(n.g)(),h={xs:p.spacing.twoXS,sm:p.spacing.sm,md:p.spacing.lg,lg:p.spacing.xl,xl:p.spacing.twoXL},{activeTheme:m}=a.a.useContext(l.a),u=!Object(r.isPresetTheme)(m),b={BarContainer:{style:{marginTop:p.spacing.none,marginBottom:p.spacing.none,marginRight:p.spacing.none,marginLeft:p.spacing.none}},Bar:{style:({$theme:e})=>({width:t?t.toString():void 0,marginTop:p.spacing.none,marginBottom:p.spacing.none,marginRight:p.spacing.none,marginLeft:p.spacing.none,height:h[i],backgroundColor:e.colors.progressbarTrackFill,borderTopLeftRadius:p.spacing.twoXS,borderTopRightRadius:p.spacing.twoXS,borderBottomLeftRadius:p.spacing.twoXS,borderBottomRightRadius:p.spacing.twoXS})},BarProgress:{style:({$theme:e})=>({backgroundColor:u?p.colors.primary:p.colors.blue70,borderTopLeftRadius:p.spacing.twoXS,borderTopRightRadius:p.spacing.twoXS,borderBottomLeftRadius:p.spacing.twoXS,borderBottomRightRadius:p.spacing.twoXS})}};return Object(c.jsx)(o.a,{value:e,overrides:Object(d.e)(b,s)})}},1374:function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));class s{setStatus(e){return new s(this.name,this.size,this.id,e)}constructor(e,t,i,s){this.name=void 0,this.size=void 0,this.status=void 0,this.id=void 0,this.name=e,this.size=t,this.id=i,this.status=s}}},1751:function(e,t,i){"use strict";i.r(t),i.d(t,"default",(function(){return ge}));var s=i(1351),a=i.n(s),n=i(37),l=i.n(n),r=i(0),o=i.n(r),d=i(15),c=i(199),g=i(29);let p;!function(e){e.Gigabyte="gb",e.Megabyte="mb",e.Kilobyte="kb",e.Byte="b"}(p||(p={}));const h=Object(g.g)()?1024:1e3,m=[p.Gigabyte,p.Megabyte,p.Kilobyte,p.Byte],u=(e,t,i=1)=>{if(t||(t=p.Byte),i<0&&(i=0),e<0)throw new Error("Size must be greater than or equal to 0");const s=m.indexOf(t);return s&&e>h/2?u(e/h,m[s-1],i):`${e.toFixed(i)}${t.toUpperCase()}`};var b=i(117),x=i(118),j=i(52),f=i(1676),v=i(23),O=i(4);const y=Object(O.a)("section",{target:"exg6vvm15"})((({isDisabled:e,theme:t})=>({display:"flex",alignItems:"center",padding:t.spacing.lg,backgroundColor:t.colors.secondaryBg,borderRadius:t.radii.md,":focus":{outline:"none",boxShadow:`0 0 0 1px ${t.colors.primary}`},color:e?t.colors.gray:t.colors.bodyText})),""),S=Object(O.a)("div",{target:"exg6vvm14"})((({theme:e})=>({marginRight:"auto",alignItems:"center",display:"flex"})),""),w=Object(O.a)("span",{target:"exg6vvm13"})((({theme:e})=>({color:e.colors.darkenedBgMix100,marginRight:e.spacing.lg})),""),F=Object(O.a)("span",{target:"exg6vvm12"})((({theme:e})=>({marginBottom:e.spacing.twoXS})),""),I=Object(O.a)("div",{target:"exg6vvm11"})({name:"1fttcpj",styles:"display:flex;flex-direction:column"}),z=Object(O.a)("div",{target:"exg6vvm10"})((({theme:e})=>({left:0,right:0,lineHeight:e.lineHeights.tight,paddingTop:e.spacing.md,paddingLeft:e.spacing.lg,paddingRight:e.spacing.lg})),""),B=Object(O.a)("ul",{target:"exg6vvm9"})((({theme:e})=>({listStyleType:"none",marginBottom:0})),""),M=Object(O.a)("li",{target:"exg6vvm8"})((({theme:e})=>({margin:e.spacing.none,padding:e.spacing.none})),""),L=Object(O.a)("div",{target:"exg6vvm7"})((({theme:e})=>({display:"flex",alignItems:"baseline",flex:1,paddingLeft:e.spacing.lg,overflow:"hidden"})),""),R=Object(O.a)("div",{target:"exg6vvm6"})((({theme:e})=>({marginRight:e.spacing.sm,marginBottom:e.spacing.twoXS,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"})),""),k=Object(O.a)("div",{target:"exg6vvm5"})((({theme:e})=>({display:"flex",alignItems:"center",marginBottom:e.spacing.twoXS})),""),C=Object(O.a)("span",{target:"exg6vvm4"})((({theme:e})=>({marginRight:e.spacing.twoXS})),""),U=Object(O.a)("div",{target:"exg6vvm3"})((({theme:e})=>({display:"flex",padding:e.spacing.twoXS,color:e.colors.darkenedBgMix100})),""),T=Object(O.a)("small",{target:"exg6vvm2"})((({theme:e})=>({color:e.colors.danger,fontSize:e.fontSizes.sm,height:e.fontSizes.sm,lineHeight:e.fontSizes.sm,display:"flex",alignItems:"center",whiteSpace:"nowrap"})),""),X=Object(O.a)("span",{target:"exg6vvm1"})({name:"0",styles:""}),E=e=>({[y]:{display:"flex",flexDirection:"column",alignItems:"flex-start"},[S]:{marginBottom:e.spacing.lg},[w]:{display:"none"},[z]:{paddingRight:e.spacing.lg},[k]:{maxWidth:"inherit",flex:1,alignItems:"flex-start",marginBottom:e.spacing.sm},[R]:{width:e.sizes.full},[L]:{flexDirection:"column"},[T]:{height:"auto",whiteSpace:"initial"},[X]:{display:"none"},[M]:{margin:e.spacing.none,padding:e.spacing.none}}),D=Object(O.a)("div",{target:"exg6vvm0"})((({theme:e})=>e.inSidebar?E(e):{[`@media (max-width: ${e.breakpoints.sm})`]:E(e)}),"");var A=i(1742),P=i(43),N=i(321),V=i(1);var $=({multiple:e,acceptedExtensions:t,maxSizeBytes:i})=>Object(V.jsxs)(S,{children:[Object(V.jsx)(w,{children:Object(V.jsx)(P.b,{content:A.a,size:"threeXL"})}),Object(V.jsxs)(I,{children:[Object(V.jsxs)(F,{children:["Drag and drop file",e?"s":""," here"]}),Object(V.jsxs)(N.a,{children:[`Limit ${u(i,p.Byte,0)} per file`,t.length?` \u2022 ${t.join(", ").replace(/\./g,"").toUpperCase()}`:null]})]})]});var H=({onDrop:e,multiple:t,acceptedExtensions:i,maxSizeBytes:s,disabled:a,label:n})=>Object(V.jsx)(f.a,{onDrop:e,multiple:t,accept:i.length?i:void 0,maxSize:s,disabled:a,children:({getRootProps:e,getInputProps:l})=>Object(V.jsxs)(y,{...e(),"data-testid":"stFileUploadDropzone",isDisabled:a,"aria-label":n,children:[Object(V.jsx)("input",{...l()}),Object(V.jsx)($,{multiple:t,acceptedExtensions:i,maxSizeBytes:s}),Object(V.jsx)(v.d,{kind:v.b.SECONDARY,disabled:a,size:v.c.SMALL,children:"Browse files"})]})}),G=i(88),W=i.n(G),q=i(1743),J=i(1174);const K=Object(O.a)("div",{target:"e1f8s2qs1"})((({theme:e})=>({display:"flex",alignItems:"center",justifyContent:"space-between",paddingBottom:e.spacing.twoXS,marginBottom:e.spacing.twoXS})),""),Y=Object(O.a)("div",{target:"e1f8s2qs0"})((({theme:e})=>({display:"flex",alignItems:"center",justifyContent:"center",color:e.colors.fadedText40})),"");var _=({className:e,currentPage:t,totalPages:i,onNext:s,onPrevious:a})=>Object(V.jsxs)(K,{className:e,children:[Object(V.jsx)(N.a,{children:`Showing page ${t} of ${i}`}),Object(V.jsxs)(Y,{children:[Object(V.jsx)(v.d,{onClick:a,kind:v.b.MINIMAL,children:Object(V.jsx)(P.b,{content:q.a,size:"xl"})}),Object(V.jsx)(v.d,{onClick:s,kind:v.b.MINIMAL,children:Object(V.jsx)(P.b,{content:J.a,size:"xl"})})]})]}),Q=i(414);const Z=(e,t)=>Math.ceil(e.length/t);var ee=e=>W()((({pageSize:t,items:i,resetOnAdd:s,...a})=>{const[n,l]=Object(r.useState)(0),[o,d]=Object(r.useState)(Z(i,t)),c=Object(Q.b)(i);Object(r.useEffect)((()=>{c&&c.length!==i.length&&d(Z(i,t)),c&&c.length<i.length?s&&l(0):n+1>=o&&l(o-1)}),[i,n,t,c,s,o]);const g=i.slice(n*t,n*t+t);return Object(V.jsxs)(V.Fragment,{children:[Object(V.jsx)(e,{items:g,...a}),i.length>t?Object(V.jsx)(_,{className:"streamlit-paginator",pageSize:t,totalPages:o,currentPage:n+1,onNext:()=>{l(Math.min(n+1,o-1))},onPrevious:()=>{l(Math.max(0,n-1))}}):null]})}),e),te=i(1744),ie=i(1745),se=i(1746),ae=i(1293);const ne=({fileInfo:e})=>"uploading"===e.status.type?Object(V.jsx)(ae.b,{value:e.status.progress,size:ae.a.SMALL,overrides:{Bar:{style:{marginLeft:0,marginTop:"4px"}}}}):"error"===e.status.type?Object(V.jsxs)(T,{children:[Object(V.jsx)(C,{"data-testid":"stUploadedFileErrorMessage",children:e.status.errorMessage}),Object(V.jsx)(X,{children:Object(V.jsx)(P.b,{content:te.a,size:"lg"})})]}):"uploaded"===e.status.type?Object(V.jsx)(N.a,{children:u(e.size,p.Byte)}):null;var le=({fileInfo:e,onDelete:t})=>Object(V.jsxs)(k,{className:"uploadedFile",children:[Object(V.jsx)(U,{children:Object(V.jsx)(P.b,{content:ie.a,size:"twoXL"})}),Object(V.jsxs)(L,{className:"uploadedFileData",children:[Object(V.jsx)(R,{className:"uploadedFileName",title:e.name,children:e.name}),Object(V.jsx)(ne,{fileInfo:e})]}),Object(V.jsx)("div",{"data-testid":"fileDeleteBtn",children:Object(V.jsx)(v.d,{onClick:()=>t(e.id),kind:v.b.MINIMAL,children:Object(V.jsx)(P.b,{content:se.a,size:"lg"})})})]});const re=ee((({items:e,onDelete:t})=>Object(V.jsx)(B,{children:e.map((e=>Object(V.jsx)(M,{children:Object(V.jsx)(le,{fileInfo:e,onDelete:t})},e.id)))})));var oe=e=>Object(V.jsx)(z,{children:Object(V.jsx)(re,{...e})}),de=i(1374);class ce extends o.a.PureComponent{constructor(e){super(e),this.formClearHelper=new c.b,this.localFileIdCounter=1,this.componentDidUpdate=e=>{const{element:t,widgetMgr:i}=this.props;if(e.disabled!==this.props.disabled&&this.props.disabled)return this.reset(),void i.setFileUploaderStateValue(t,new d.h,{fromUi:!1});if("ready"!==this.status)return;const s=this.createWidgetValue();if(void 0===s)return;const a=i.getFileUploaderStateValue(t);l.a.isEqual(s,a)||i.setFileUploaderStateValue(t,s,{fromUi:!0})},this.reset=()=>{this.setState({files:[]})},this.dropHandler=(e,t)=>{const{element:i}=this.props,{multipleFiles:s}=i;if(!s&&0===e.length&&t.length>1){const i=t.findIndex((e=>1===e.errors.length&&"too-many-files"===e.errors[0].code));i>=0&&(e.push(t[i].file),t.splice(i,1))}if(!s&&e.length>0&&this.state.files.length>0&&this.removeFile(this.state.files[0].id),e.forEach(this.uploadFile),t.length>0){const e=t.map((e=>{const{file:t}=e;return new de.a(t.name,t.size,this.nextLocalFileId(),{type:"error",errorMessage:this.getErrorMessage(e.errors[0].code,e.file)})}));this.addFiles(e)}},this.uploadFile=e=>{const t=a.a.CancelToken.source(),i=new de.a(e.name,e.size,this.nextLocalFileId(),{type:"uploading",cancelToken:t,progress:1});this.addFile(i),this.props.uploadClient.uploadFile(this.props.element,e,(e=>this.onUploadProgress(e,i.id)),t.token).then((e=>this.onUploadComplete(i.id,e))).catch((e=>{a.a.isCancel(e)||this.updateFile(i.id,i.setStatus({type:"error",errorMessage:e?e.toString():"Unknown error"}))}))},this.onUploadComplete=(e,t)=>{this.setState((e=>({newestServerFileId:Math.max(e.newestServerFileId,t)})));const i=this.getFile(e);null!=i&&"uploading"===i.status.type&&this.updateFile(i.id,i.setStatus({type:"uploaded",serverFileId:t}))},this.getErrorMessage=(e,t)=>{switch(e){case"file-too-large":return`File must be ${u(this.maxUploadSizeInBytes,p.Byte)} or smaller.`;case"file-invalid-type":return`${t.type} files are not allowed.`;case"file-too-small":return"File size is too small.";case"too-many-files":return"Only one file is allowed.";default:return"Unexpected error. Please try again."}},this.deleteFile=e=>{const t=this.getFile(e);null!=t&&("uploading"===t.status.type&&t.status.cancelToken.cancel(),this.removeFile(e))},this.addFile=e=>{this.setState((t=>({files:[...t.files,e]})))},this.addFiles=e=>{this.setState((t=>({files:[...t.files,...e]})))},this.removeFile=e=>{this.setState((t=>({files:t.files.filter((t=>t.id!==e))})))},this.getFile=e=>this.state.files.find((t=>t.id===e)),this.updateFile=(e,t)=>{this.setState((i=>({files:i.files.map((i=>i.id===e?t:i))})))},this.onUploadProgress=(e,t)=>{const i=this.getFile(t);if(null==i||"uploading"!==i.status.type)return;const s=Math.round(100*e.loaded/e.total);i.status.progress!==s&&this.updateFile(t,i.setStatus({type:"uploading",cancelToken:i.status.cancelToken,progress:s}))},this.onFormCleared=()=>{this.setState({files:[]},(()=>{const e=this.createWidgetValue();null!=e&&this.props.widgetMgr.setFileUploaderStateValue(this.props.element,e,{fromUi:!0})}))},this.state=this.initialValue}get initialValue(){const e={files:[],newestServerFileId:0},{widgetMgr:t,element:i}=this.props,s=t.getFileUploaderStateValue(i);if(null==s)return e;const{maxFileId:a,uploadedFileInfo:n}=s;return null==a||0===a||null==n?e:{files:n.map((e=>{const t=e.name,i=e.size,s=e.id;return new de.a(t,i,this.nextLocalFileId(),{type:"uploaded",serverFileId:s})})),newestServerFileId:Number(a)}}componentWillUnmount(){this.formClearHelper.disconnect()}get maxUploadSizeInBytes(){return((e,t,i)=>{if(e<0)throw Error("Size must be 0 or greater");const s=m.findIndex((e=>e===t)),a=m.findIndex((e=>e===i));if(-1===s||-1===a)throw Error("Unexpected byte unit provided");if(s===a)return e;const n=Math.abs(s-a),l=h**n;return s>a?e/l:e*l})(this.props.element.maxUploadSizeMb,p.Megabyte,p.Byte)}get status(){return this.state.files.some((e=>"uploading"===e.status.type))?"updating":"ready"}createWidgetValue(){if(0===this.state.newestServerFileId)return;const e=this.state.files.filter((e=>"uploaded"===e.status.type)).map((e=>{const{name:t,size:i,status:s}=e;return new d.w({id:s.serverFileId,name:t,size:i})}));return new d.h({maxFileId:this.state.newestServerFileId,uploadedFileInfo:e})}render(){var e;const{files:t}=this.state,{element:i,disabled:s,widgetMgr:a}=this.props,n=i.type;this.formClearHelper.manageFormClearListener(a,i.formId,this.onFormCleared);const l=t.slice().reverse();return Object(V.jsxs)(D,{"data-testid":"stFileUploader",children:[Object(V.jsx)(b.d,{label:i.label,disabled:s,labelVisibility:Object(g.k)(null===(e=i.labelVisibility)||void 0===e?void 0:e.value),children:i.help&&Object(V.jsx)(b.b,{children:Object(V.jsx)(x.a,{content:i.help,placement:j.b.TOP_RIGHT})})}),Object(V.jsx)(H,{onDrop:this.dropHandler,multiple:i.multipleFiles,acceptedExtensions:n,maxSizeBytes:this.maxUploadSizeInBytes,label:i.label,disabled:s}),l.length>0&&Object(V.jsx)(oe,{items:l,pageSize:3,onDelete:this.deleteFile,resetOnAdd:!0})]})}nextLocalFileId(){return this.localFileIdCounter++}}var ge=ce}}]);
@@ -1 +0,0 @@
1
- (this["webpackJsonp@stlite/desktop"]=this["webpackJsonp@stlite/desktop"]||[]).push([[27],{1635:function(t,e){},1770:function(t,e,i){"use strict";i.r(e),i.d(e,"default",(function(){return b}));var n=i(0),r=i(1610),a=i.n(r),o=i(89),s=i(56),c=i(200),d=i(87),l=i(4);const h=Object(l.a)("div",{target:"etr89bj2"})((({theme:t})=>({display:"flex",flexDirection:"row",flexWrap:"wrap",rowGap:t.spacing.lg})),""),u=Object(l.a)("div",{target:"etr89bj1"})((({theme:t})=>({display:"flex",flexDirection:"column",alignItems:"stretch",width:"auto",flexGrow:0})),""),p=Object(l.a)("div",{target:"etr89bj0"})((({theme:t})=>({fontFamily:t.genericFonts.bodyFont,fontSize:t.fontSizes.sm,color:t.colors.fadedText60,textAlign:"center",marginTop:t.spacing.xs,wordWrap:"break-word",padding:"0.125rem"})),"");var g,m=i(1);!function(t){t[t.OriginalWidth=-1]="OriginalWidth",t[t.ColumnWidth=-2]="ColumnWidth",t[t.AutoWidth=-3]="AutoWidth"}(g||(g={}));var b=Object(c.a)((function({width:t,isFullScreen:e,element:i,height:r}){const{getBaseUriParts:c}=Object(n.useContext)(s.a),l=Object(o.h)(i.imgs);let b;const f=i.width;if(f===g.OriginalWidth||f===g.AutoWidth)b=void 0;else if(f===g.ColumnWidth)b=t;else{if(!(f>0))throw Error(`Invalid image width: ${f}`);b=f}const j={};return r&&e?(j.maxHeight=r,j["object-fit"]="contain"):(j.width=b,f===g.AutoWidth&&(j.maxWidth="100%")),Object(m.jsx)(h,{style:{width:t},children:l.map(((t,e)=>{const i=t;return Object(m.jsxs)(u,{"data-testid":"stImage",children:[i.markup?a()(Object(d.e)(i.markup)):Object(m.jsx)("img",{style:j,src:Object(d.b)(i.url,c()),alt:e.toString()}),i.caption&&Object(m.jsx)(p,{"data-testid":"caption",style:j,children:` ${i.caption} `})]},e)}))})}))}}]);
@@ -1,5 +0,0 @@
1
- (this["webpackJsonp@stlite/desktop"]=this["webpackJsonp@stlite/desktop"]||[]).push([[28],{1294:function(e,t,r){"use strict";r(0);var n=r(29),o=r(117),i=r(4);const a=r(38).c`
2
- 50% {
3
- color: rgba(0, 0, 0, 0);
4
- }
5
- `,s=Object(i.a)("span",{target:"e1m4n6jn0"})((({includeDot:e,shouldBlink:t,theme:r})=>({...e?{"&::before":{opacity:1,content:'"\u2022"',animation:"none",color:r.colors.gray,margin:"0 5px"}}:{},...t?{color:r.colors.red,animationName:`${a}`,animationDuration:"0.5s",animationIterationCount:5}:{}})),"");var l=r(1);t.a=({dirty:e,value:t,maxLength:r,className:i,type:a="single"})=>{const c=[],u=(e,t=!1)=>{c.push(Object(l.jsx)(s,{includeDot:c.length>0,shouldBlink:t,children:e},c.length))};return e&&("multiline"===a?Object(n.f)()?u("Press \u2318+Enter to apply"):u("Press Ctrl+Enter to apply"):u("Press Enter to apply")),r&&u(`${t.length}/${r}`,e&&t.length>=r),Object(l.jsx)(o.a,{className:i,children:c})}},1763:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return N}));var n=r(0),o=r.n(n),i=r(199),a=r(11),s=r(1381),l=r(45),c=r(20),u=r(1268);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){f(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var h=Object(c.a)("div",(function(e){return d(d({},Object(u.j)(d(d({$positive:!1},e),{},{$hasIconTrailing:!1}))),{},{width:e.$resize?"fit-content":"100%"})}));h.displayName="StyledTextAreaRoot",h.displayName="StyledTextAreaRoot";var y=Object(c.a)("div",(function(e){return Object(u.h)(d({$positive:!1},e))}));y.displayName="StyledTextareaContainer",y.displayName="StyledTextareaContainer";var b=Object(c.a)("textarea",(function(e){return d(d({},Object(u.i)(e)),{},{resize:e.$resize||"none"})}));function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function v(){return(v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return O(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return O(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function j(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function P(e,t){return(P=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function x(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=F(e);if(t){var o=F(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return S(this,r)}}function S(e,t){if(t&&("object"===m(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return C(e)}function C(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function $(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}b.displayName="StyledTextarea",b.displayName="StyledTextarea";var T=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&P(e,t)}(c,e);var t,r,o,i=x(c);function c(){var e;j(this,c);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return $(C(e=i.call.apply(i,[this].concat(r))),"state",{isFocused:e.props.autoFocus||!1}),$(C(e),"onFocus",(function(t){e.setState({isFocused:!0}),e.props.onFocus(t)})),$(C(e),"onBlur",(function(t){e.setState({isFocused:!1}),e.props.onBlur(t)})),e}return t=c,(r=[{key:"render",value:function(){var e=this.props.overrides,t=void 0===e?{}:e,r=g(Object(a.c)(t.Root,h),2),o=r[0],i=r[1],c=Object(a.e)({Input:{component:b},InputContainer:{component:y}},t);return n.createElement(o,v({"data-baseweb":"textarea",$isFocused:this.state.isFocused,$isReadOnly:this.props.readOnly,$disabled:this.props.disabled,$error:this.props.error,$positive:this.props.positive,$required:this.props.required,$resize:this.props.resize},i),n.createElement(s.a,v({},this.props,{type:l.b.textarea,overrides:c,onFocus:this.onFocus,onBlur:this.onBlur,resize:this.props.resize})))}}])&&w(t.prototype,r),o&&w(t,o),Object.defineProperty(t,"prototype",{writable:!1}),c}(n.Component);$(T,"defaultProps",{autoFocus:!1,disabled:!1,readOnly:!1,error:!1,name:"",onBlur:function(){},onChange:function(){},onKeyDown:function(){},onKeyPress:function(){},onKeyUp:function(){},onFocus:function(){},overrides:{},placeholder:"",required:!1,rows:3,size:l.d.default});var V=T,D=r(1294),E=r(117),k=r(118),B=r(52),R=r(29),U=r(4);const A=Object(U.a)("div",{target:"e1y61itm0"})({name:"1om1ktf",styles:"div{border-width:1px;}"});var I=r(1);class K extends o.a.PureComponent{constructor(...e){super(...e),this.formClearHelper=new i.b,this.state={dirty:!1,value:this.initialValue},this.commitWidgetValue=e=>{this.props.widgetMgr.setStringValue(this.props.element,this.state.value,e),this.setState({dirty:!1})},this.onFormCleared=()=>{this.setState(((e,t)=>({value:t.element.default})),(()=>this.commitWidgetValue({fromUi:!0})))},this.onBlur=()=>{this.state.dirty&&this.commitWidgetValue({fromUi:!0})},this.onChange=e=>{const{value:t}=e.target,{element:r}=this.props,{maxChars:n}=r;0!==n&&t.length>n||(Object(R.i)(this.props.element)?this.setState({dirty:!1,value:t},(()=>this.commitWidgetValue({fromUi:!0}))):this.setState({dirty:!0,value:t}))},this.isEnterKeyPressed=e=>{const{keyCode:t,key:r}=e;return"Enter"===r||13===t||10===t},this.onKeyDown=e=>{const{metaKey:t,ctrlKey:r}=e,{dirty:n}=this.state;this.isEnterKeyPressed(e)&&(r||t)&&n&&(e.preventDefault(),this.commitWidgetValue({fromUi:!0}))}}get initialValue(){const e=this.props.widgetMgr.getStringValue(this.props.element);return void 0!==e?e:this.props.element.default}componentDidMount(){this.props.element.setValue?this.updateFromProtobuf():this.commitWidgetValue({fromUi:!1})}componentDidUpdate(){this.maybeUpdateFromProtobuf()}componentWillUnmount(){this.formClearHelper.disconnect()}maybeUpdateFromProtobuf(){const{setValue:e}=this.props.element;e&&this.updateFromProtobuf()}updateFromProtobuf(){const{value:e}=this.props.element;this.props.element.setValue=!1,this.setState({value:e},(()=>{this.commitWidgetValue({fromUi:!1})}))}render(){var e;const{element:t,disabled:r,width:n,widgetMgr:o}=this.props,{value:i,dirty:a}=this.state,s={width:n},{height:l,placeholder:c}=t;return this.formClearHelper.manageFormClearListener(o,t.formId,this.onFormCleared),Object(I.jsxs)("div",{className:"stTextArea",style:s,children:[Object(I.jsx)(E.d,{label:t.label,disabled:r,labelVisibility:Object(R.k)(null===(e=t.labelVisibility)||void 0===e?void 0:e.value),children:t.help&&Object(I.jsx)(E.b,{children:Object(I.jsx)(k.a,{content:t.help,placement:B.b.TOP_RIGHT})})}),Object(I.jsx)(A,{children:Object(I.jsx)(V,{"data-testid":"stTextArea",value:i,placeholder:c,onBlur:this.onBlur,onChange:this.onChange,onKeyDown:this.onKeyDown,"aria-label":t.label,disabled:r,overrides:{Input:{style:{lineHeight:"1.4",height:l?`${l}px`:"",minHeight:"95px",resize:"vertical","::placeholder":{opacity:"0.7"},paddingRight:"1rem",paddingLeft:"1rem",paddingBottom:"1rem",paddingTop:"1rem"}}}})}),Object(I.jsx)(D.a,{dirty:a,value:i,maxLength:t.maxChars,type:"multiline"})]})}}var N=K}}]);
@@ -1 +0,0 @@
1
- (this["webpackJsonp@stlite/desktop"]=this["webpackJsonp@stlite/desktop"]||[]).push([[29],{1767:function(t,e,o){"use strict";o.r(e),o.d(e,"default",(function(){return C}));var a=o(0),i=o(65),n=o(1402),r=o(1226),s=o(1348),l=o(19),c=o(200),d=o(79),g=o(124),h=o(37),u=o(17);function m(t,e){const o={font:e.genericFonts.bodyFont,background:e.colors.bgColor,fieldTitle:"verbal",autosize:{type:"fit",contains:"padding"},title:{align:"left",anchor:"start",color:e.colors.headingColor,titleFontStyle:"normal",fontWeight:e.fontWeights.bold,fontSize:e.fontSizes.smPx+2,orient:"top",offset:26},axis:{labelFontSize:e.fontSizes.twoSmPx,labelFontWeight:e.fontWeights.normal,labelColor:Object(u.getGray70)(e),labelFontStyle:"normal",titleFontWeight:e.fontWeights.normal,titleFontSize:e.fontSizes.smPx,titleColor:Object(u.getGray70)(e),titleFontStyle:"normal",ticks:!1,gridColor:Object(u.getGray30)(e),domain:!1,domainWidth:1,domainColor:Object(u.getGray30)(e),labelFlush:!0,labelFlushOffset:1,labelBound:!1,labelLimit:100,titlePadding:e.spacing.lgPx,labelPadding:e.spacing.lgPx,labelSeparation:e.spacing.twoXSPx,labelOverlap:!0},legend:{labelFontSize:e.fontSizes.smPx,labelFontWeight:e.fontWeights.normal,labelColor:Object(u.getGray70)(e),titleFontSize:e.fontSizes.smPx,titleFontWeight:e.fontWeights.normal,titleFontStyle:"normal",titleColor:Object(u.getGray70)(e),titlePadding:e.spacing.mdPx,labelPadding:e.spacing.lgPx,columnPadding:e.spacing.smPx,rowPadding:e.spacing.twoXSPx,padding:7,symbolStrokeWidth:4},range:{category:Object(u.getCategoricalColorsArray)(e),diverging:Object(u.getDivergingColorsArray)(e),ramp:Object(u.getSequentialColorsArray)(e),heatmap:Object(u.getSequentialColorsArray)(e)},view:{columns:1,strokeWidth:0,stroke:"transparent",continuousHeight:350,continuousWidth:400},concat:{columns:1},facet:{columns:1},mark:{tooltip:!0,...Object(u.hasLightBackgroundColor)(e)?{color:"#0068C9"}:{color:"#83C9FF"}},bar:{binSpacing:e.spacing.twoXSPx,discreteBandSize:{band:.85}},axisDiscrete:{grid:!1},axisXPoint:{grid:!1},axisTemporal:{grid:!1},axisXBand:{grid:!1}};return t?Object(h.mergeWith)({},o,t,((t,e)=>Object(h.isArray)(e)?e:void 0)):o}var b=o(4);const p=Object(b.a)("div",{target:"everg990"})((({theme:t})=>({"&.vega-embed":{"&:hover summary, .vega-embed:focus summary":{background:"transparent"},"&.has-actions":{paddingRight:0},".vega-actions":{zIndex:t.zIndices.popupMenu,backgroundColor:t.colors.bgColor,boxShadow:"rgb(0 0 0 / 16%) 0px 4px 16px",border:`1px solid ${t.colors.fadedText10}`,a:{fontFamily:t.genericFonts.bodyFont,fontWeight:t.fontWeights.normal,fontSize:t.fontSizes.md,margin:0,padding:`${t.spacing.twoXS} ${t.spacing.twoXL}`,color:t.colors.bodyText},"a:hover":{backgroundColor:t.colors.secondaryBg,color:t.colors.bodyText},":before":{content:"none"},":after":{content:"none"}},summary:{opacity:0,height:"auto",zIndex:t.zIndices.menuButton,border:"none",boxShadow:"none",borderRadius:t.radii.md,color:t.colors.fadedText10,backgroundColor:"transparent",transition:"opacity 300ms 150ms,transform 300ms 150ms","&:active, &:focus-visible, &:hover":{border:"none",boxShadow:"none",color:t.colors.bodyText,opacity:"1 !important",background:t.colors.darkenedBgMix25}}}})),"");var f=o(1);const w="(index)",v="source",y=new Set([g.a.DatetimeIndex,g.a.Float64Index,g.a.Int64Index,g.a.RangeIndex,g.a.UInt64Index]);class x extends a.PureComponent{constructor(...t){super(...t),this.vegaView=void 0,this.vegaFinalizer=void 0,this.defaultDataName=v,this.element=null,this.state={error:void 0},this.finalizeView=()=>{this.vegaFinalizer&&this.vegaFinalizer(),this.vegaFinalizer=void 0,this.vegaView=void 0},this.generateSpec=()=>{var t,e;const{element:o,theme:a}=this.props,i=JSON.parse(o.spec),{useContainerWidth:n}=o;if("streamlit"===o.vegaLiteTheme?i.config=m(i.config,a):"streamlit"===(null===(t=i.usermeta)||void 0===t||null===(e=t.embedOptions)||void 0===e?void 0:e.theme)?(i.config=m(i.config,a),i.usermeta.embedOptions.theme=void 0):i.config=function(t,e){const{colors:o,fontSizes:a,genericFonts:i}=e,n={labelFont:i.bodyFont,titleFont:i.bodyFont,labelFontSize:a.twoSmPx,titleFontSize:a.twoSmPx},r={background:o.bgColor,axis:{labelColor:o.bodyText,titleColor:o.bodyText,gridColor:Object(u.getGray30)(e),...n},legend:{labelColor:o.bodyText,titleColor:o.bodyText,...n},title:{color:o.bodyText,subtitleColor:o.bodyText,...n},header:{labelColor:o.bodyText},view:{continuousHeight:350,continuousWidth:400},mark:{tooltip:!0}};return t?Object(h.merge)({},r,t):r}(i.config,a),this.props.height?(i.width=this.props.width,i.height=this.props.height):n&&(i.width=this.props.width),i.padding||(i.padding={}),null==i.padding.bottom&&(i.padding.bottom=20),i.datasets)throw new Error("Datasets should not be passed as part of the spec");return i}}async componentDidMount(){try{await this.createView()}catch(t){const e=Object(d.a)(t);this.setState({error:e})}}componentWillUnmount(){this.finalizeView()}async componentDidUpdate(t){const{element:e,theme:o}=t,{element:a,theme:i}=this.props,n=e.spec,{spec:r}=a;if(!this.vegaView||n!==r||o!==i||t.width!==this.props.width||t.height!==this.props.height||t.element.vegaLiteTheme!==this.props.element.vegaLiteTheme){Object(l.c)("Vega spec changed.");try{await this.createView()}catch(u){const t=Object(d.a)(u);this.setState({error:t})}return}const s=e.data,{data:c}=a;(s||c)&&this.updateData(this.defaultDataName,s,c);const g=S(e)||{},h=S(a)||{};for(const[l,d]of Object.entries(h)){const t=l||this.defaultDataName,e=g[t];this.updateData(t,e,d)}for(const l of Object.keys(g))h.hasOwnProperty(l)||l===this.defaultDataName||this.updateData(l,null,null);this.vegaView.resize().runAsync()}updateData(t,e,o){if(!this.vegaView)throw new Error("Chart has not been drawn yet");if(!o||0===o.data.numRows){return void(this.vegaView._runtime.data.hasOwnProperty(t)&&this.vegaView.remove(t,r.truthy))}if(!e||0===e.data.numRows)return void this.vegaView.insert(t,O(o));const{dataRows:a,dataColumns:i}=e.dimensions,{dataRows:n,dataColumns:s}=o.dimensions;if(function(t,e,o,a,i,n){if(o!==n)return!1;if(e>=i)return!1;if(0===e)return!1;const r=n-1,s=e-1;if(t.getDataValue(0,r)!==a.getDataValue(0,r)||t.getDataValue(s,r)!==a.getDataValue(s,r))return!1;return!0}(e,a,i,o,n,s))a<n&&this.vegaView.insert(t,O(o,a));else{const e=r.changeset().remove(r.truthy).insert(O(o));this.vegaView.change(t,e),Object(l.c)(`Had to clear the ${t} dataset before inserting data through Vega view.`)}}async createView(){if(Object(l.c)("Creating a new Vega view."),!this.element)throw Error("Element missing.");this.finalizeView();const t=this.props.element,e=this.generateSpec(),o={defaultStyle:!0,ast:!0,expr:s.a},{vgSpec:a,view:i,finalize:r}=await Object(n.a)(this.element,e,o);this.vegaView=i,this.vegaFinalizer=r;const c=function(t){const e=S(t);if(null==e)return null;const o={};for(const[a,i]of Object.entries(e))o[a]=O(i);return o}(t),d=c?Object.keys(c):[];if(1===d.length){const[t]=d;this.defaultDataName=t}else 0===d.length&&a.data&&(this.defaultDataName=v);const g=function(t){const e=t.data;if(!e||0===e.data.numRows)return null;return O(e)}(t);if(g&&i.insert(this.defaultDataName,g),c)for(const[n,s]of Object.entries(c))i.insert(n,s);await i.runAsync(),this.vegaView.resize().runAsync()}render(){if(this.state.error)throw this.state.error;return Object(f.jsx)(p,{"data-testid":"stArrowVegaLiteChart",ref:t=>{this.element=t}})}}function S(t){var e;if(0===(null===(e=t.datasets)||void 0===e?void 0:e.length))return null;const o={};return t.datasets.forEach((t=>{if(!t)return;const e=t.hasName?t.name:null;o[e]=t.data})),o}function O(t,e=0){if(t.isEmpty())return[];const o=[],{dataRows:a,dataColumns:i}=t.dimensions,n=g.b.getTypeName(t.types.index[0]),r=y.has(n);for(let s=e;s<a;s++){const e={};if(r){const o=t.getIndexValue(s,0);e[w]="bigint"===typeof o?Number(o):o}for(let o=0;o<i;o++){const a=t.getDataValue(s,o);e[t.columns[0][o]]="bigint"===typeof a?Number(a):a}o.push(e)}return o}var C=Object(i.d)(Object(c.a)(x))}}]);
@@ -1 +0,0 @@
1
- (this["webpackJsonp@stlite/desktop"]=this["webpackJsonp@stlite/desktop"]||[]).push([[3],{1253:function(t,e,r){"use strict";function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,a,o=[],i=!0,u=!1;try{for(r=r.call(t);!(i=(n=r.next()).done)&&(o.push(n.value),!e||o.length!==e);i=!0);}catch(s){u=!0,a=s}finally{try{i||null==r.return||r.return()}finally{if(u)throw a}}return o}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return a(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach((function(e){c(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function u(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function s(t,e,r){return e&&u(t.prototype,e),r&&u(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function c(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var d=s((function t(e){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),c(this,"adapter",void 0),c(this,"cloneAdapter",(function(t,e){var r={MomentUtils:{formats:{monthNumber:"M",dayOfMonthNumber:"D",fullOrdinalWeek:"dddd, MMMM Do YYYY",slashDate:"YYYY/MM/DD",weekday:"dddd",weekdaymin:"dd",quarter:"[Q]Q"}},DateFnsUtils:{formats:{monthNumber:"M",dayOfMonthNumber:"d",weekday:"EEEE",weekdaymin:"EEEEEE",slashDate:"yyyy/MM/dd",fullOrdinalWeek:"EEEE, MMMM do yyyy",quarter:"QQQ"}},LuxonUtils:{formats:{monthNumber:"M",dayOfMonthNumber:"d",weekday:"EEEE",weekdaymin:"EEEEE",slashDate:"yyyy/MM/dd",fullOrdinalWeek:"EEEE, MMMM dd yyyy",quarter:"Qq"}}},n=function(t){return{formats:t.formats,locale:t.locale}},a=e||n,o=t.constructor,i=r[t.constructor.name]||r.DateFnsUtils,u=i.getOptions,s=void 0===u?n:u,c=i.formats,d=s(t);return new o(Object.assign({},a(Object.assign({},d,{formats:Object.assign({},d.formats,c)}))))})),c(this,"format",(function(t,e,n){return(n?r.getAdapterWithNewLocale(n):r.adapter).format(t,e)})),c(this,"getAdapterWithNewLocale",(function(t){return r.cloneAdapter(r.adapter,(function(e){return i(i({},e),{},{locale:t})}))})),c(this,"date",(function(t){return r.adapter.date(t)})),c(this,"dateToSeconds",(function(t){return r.adapter.getSeconds(t)+60*r.adapter.getMinutes(t)+3600*r.adapter.getHours(t)})),c(this,"secondsToHourMinute",(function(t){var e=r.adapter.toJsDate(r.adapter.date(1e3*t));return[e.getUTCHours(),e.getUTCMinutes()]})),c(this,"differenceInCalendarMonths",(function(t,e){return 12*(r.adapter.getYear(t)-r.adapter.getYear(e))+(r.adapter.getMonth(t)-r.adapter.getMonth(e))})),c(this,"getStartOfWeek",(function(t,e){var n=e?r.getAdapterWithNewLocale(e):r.adapter;return n.startOfWeek(n.date(t))})),c(this,"formatDate",(function(t,e,n){return(n?r.getAdapterWithNewLocale(n):r.adapter).formatByString(t,e)})),c(this,"getWeekdayMinInLocale",(function(t,e){return r.getAdapterWithNewLocale(e).format(t,"weekdaymin")})),c(this,"getMonthInLocale",(function(t,e){var n=r.getAdapterWithNewLocale(e);return n.format(n.setMonth(n.date(),t),"month")})),c(this,"getWeekdayInLocale",(function(t,e){return r.getAdapterWithNewLocale(e).format(t,"weekday")})),c(this,"getQuarterInLocale",(function(t,e){var n=r.getAdapterWithNewLocale(e);return n.format(n.setMonth(n.date(),3*t),"quarter")})),c(this,"getEndOfWeek",(function(t){return r.adapter.endOfWeek(t)})),c(this,"getDay",(function(t){return Number(r.adapter.formatByString(t,"e"))-1})),c(this,"addWeeks",(function(t,e){return r.adapter.addDays(t,7*e)})),c(this,"subWeeks",(function(t,e){return r.addWeeks(t,-1*e)})),c(this,"addYears",(function(t,e){return r.adapter.addMonths(t,12*e)})),c(this,"subYears",(function(t,e){return r.addYears(t,-1*e)})),c(this,"isSameYear",(function(t,e){return!(!t||!e)&&r.adapter.isSameYear(t,e)})),c(this,"isStartOfMonth",(function(t){return r.adapter.isSameDay(t,r.adapter.startOfMonth(t))})),c(this,"isEndOfMonth",(function(t){return r.adapter.isSameDay(t,r.adapter.endOfMonth(t))})),c(this,"isDayInRange",(function(t,e,n){return r.adapter.isWithinRange(t,[e,n])})),c(this,"isSameDay",(function(t,e){return!(!t||!e)&&r.adapter.isSameDay(t,e)})),c(this,"isSameMonth",(function(t,e){return!(!t||!e)&&r.adapter.isSameMonth(t,e)})),c(this,"dateRangeIncludesDates",(function(t,e){var a=n(t,2),o=a[0],i=a[1];if(o&&i&&Array.isArray(e)&&e.length)for(var u=0;u<e.length;u++){var s=e[u];if(r.isDayInRange(s,o,i))return!0}return!1})),c(this,"subDays",(function(t,e){return r.adapter.addDays(t,-1*e)})),c(this,"subMonths",(function(t,e){return r.adapter.addMonths(t,-1*e)})),c(this,"min",(function(t){return t.reduce((function(t,e){return r.adapter.isBefore(e,t)?e:t}))})),c(this,"max",(function(t){return t.reduce((function(t,e){return r.adapter.isAfter(e,t)?e:t}))})),c(this,"getEffectiveMinDate",(function(t){var e=t.minDate,n=t.includeDates;if(n&&e){var a=n.filter((function(t){return r.isOnOrAfterDay(t,e)}));return r.min(a)}return n&&n.length?r.min(n):n&&n.length||!e?r.adapter.date():e})),c(this,"getEffectiveMaxDate",(function(t){var e=t.maxDate,n=t.includeDates;if(n&&e){var a=n.filter((function(t){return r.isOnOrBeforeDay(t,e)}));return r.max(a)}return n?r.max(n):!n&&e?e:r.adapter.date()})),c(this,"monthDisabledBefore",(function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.minDate,a=e.includeDates,o=r.subMonths(t,1);return!!n&&r.differenceInCalendarMonths(n,o)>0||!!a&&a.every((function(t){return r.differenceInCalendarMonths(t,o)>0}))||!1})),c(this,"monthDisabledAfter",(function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.maxDate,a=e.includeDates,o=r.adapter.addMonths(t,1);return!!n&&r.differenceInCalendarMonths(o,n)>0||!!a&&a.every((function(t){return r.differenceInCalendarMonths(o,t)>0}))||!1})),c(this,"setDate",(function(t,e){var n=r.adapter.startOfMonth(t),a=r.adapter.mergeDateAndTime(n,t),o=r.adapter.setSeconds(a,r.adapter.getSeconds(t));return r.adapter.addDays(o,e-1)})),c(this,"getDate",(function(t){return Number(r.adapter.format(t,"dayOfMonthNumber"))})),c(this,"applyDateToTime",(function(t,e){if(!t)return e;var n=r.adapter.getYear(e),a=r.adapter.getMonth(e),o=r.getDate(e),i=r.adapter.setYear(t,n),u=r.adapter.setMonth(i,a);return r.setDate(u,o)})),c(this,"applyTimeToDate",(function(t,e){return t?r.adapter.setSeconds(r.adapter.mergeDateAndTime(t,e),0):e})),c(this,"isDayDisabled",(function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.minDate,a=e.maxDate,o=e.excludeDates,i=e.includeDates,u=e.filterDate;return r.isOutOfBounds(t,{minDate:n,maxDate:a})||o&&o.some((function(e){return r.adapter.isSameDay(t,e)}))||i&&!i.some((function(e){return r.adapter.isSameDay(t,e)}))||u&&!u(t)||!1})),c(this,"isOnOrAfterDay",(function(t,e){return!!r.adapter.isSameDay(t,e)||r.adapter.isAfter(t,e)})),c(this,"isOnOrBeforeDay",(function(t,e){return!!r.adapter.isSameDay(t,e)||r.adapter.isBefore(t,e)})),c(this,"isOutOfBounds",(function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.minDate,a=e.maxDate;return!!n&&!r.isOnOrAfterDay(t,n)||!!a&&!r.isOnOrBeforeDay(t,a)})),c(this,"parseString",(function(t,e,n){return(n?r.getAdapterWithNewLocale(n):r.adapter).parse(t,e)})),c(this,"parse",(function(t,e,n){var a=n?r.getAdapterWithNewLocale(n):r.adapter;return a.parse(t,a.formats[e])})),c(this,"setMilliseconds",(function(t,e){return r.adapter.date(1e3*r.adapter.getSeconds(r.adapter.startOfDay(t))+e)})),c(this,"set",(function(t,e){var n=t;return null!=e.year&&(n=r.setYear(n,e.year)),null!=e.month&&(n=r.setMonth(n,e.month)),null!=e.date&&(n=r.setDate(n,Number(e.date))),null!=e.hours&&(n=r.setHours(n,Number(e.hours))),null!=e.minutes&&(n=r.setMinutes(n,Number(e.minutes))),null!=e.seconds&&(n=r.setSeconds(n,Number(e.seconds))),n})),c(this,"getQuarter",(function(t){return Math.floor(r.getMonth(t)/3)+1})),c(this,"setSeconds",(function(t,e){return r.adapter.setSeconds(t,e)})),c(this,"setMinutes",(function(t,e){return r.adapter.setMinutes(t,e)})),c(this,"setHours",(function(t,e){return r.adapter.setHours(t,e)})),c(this,"setMonth",(function(t,e){return r.adapter.setMonth(t,e)})),c(this,"setYear",(function(t,e){return r.adapter.setYear(t,e)})),c(this,"getMinutes",(function(t){return r.adapter.getMinutes(t)})),c(this,"getHours",(function(t){return r.adapter.getHours(t)})),c(this,"getMonth",(function(t){return r.adapter.getMonth(t)})),c(this,"getYear",(function(t){return r.adapter.getYear(t)})),c(this,"getStartOfMonth",(function(t){return r.adapter.startOfMonth(t)})),c(this,"getEndOfMonth",(function(t){return r.adapter.endOfMonth(t)})),c(this,"addDays",(function(t,e){return r.adapter.addDays(t,e)})),c(this,"addMonths",(function(t,e){return r.adapter.addMonths(t,e)})),c(this,"isBefore",(function(t,e){return r.adapter.isBefore(t,e)})),c(this,"isAfter",(function(t,e){return r.adapter.isAfter(t,e)})),c(this,"isEqual",(function(t,e){return r.adapter.isEqual(t,e)})),c(this,"isValid",(function(t){return r.adapter.isValid(t)})),this.adapter=this.cloneAdapter(e)}));e.a=d},1254:function(t,e,r){"use strict";function n(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function a(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}function o(t){a(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"===typeof t&&"[object Date]"===e?new Date(t.getTime()):"number"===typeof t||"[object Number]"===e?new Date(t):("string"!==typeof t&&"[object String]"!==e||"undefined"===typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}function i(t,e){a(2,arguments);var r=o(t),i=n(e);return isNaN(i)?new Date(NaN):i?(r.setDate(r.getDate()+i),r):r}function u(t,e){a(2,arguments);var r=o(t).getTime(),i=n(e);return new Date(r+i)}var s=36e5;function c(t,e){a(2,arguments);var r=o(t),i=n(e);if(isNaN(i))return new Date(NaN);if(!i)return r;var u=r.getDate(),s=new Date(r.getTime());s.setMonth(r.getMonth()+i+1,0);var c=s.getDate();return u>=c?s:(r.setFullYear(s.getFullYear(),s.getMonth(),u),r)}function d(t,e){a(2,arguments);var r=n(e);return c(t,12*r)}function l(t,e){a(2,arguments);var r=o(t),n=o(e);return r.getFullYear()-n.getFullYear()}function f(t,e){a(2,arguments);var r=o(t),n=o(e),i=r.getTime()-n.getTime();return i<0?-1:i>0?1:i}function h(t,e){a(2,arguments);var r=o(t),n=o(e),i=r.getFullYear()-n.getFullYear(),u=r.getMonth()-n.getMonth();return 12*i+u}function p(t,e){a(2,arguments);var r=o(t),n=o(e),i=f(r,n),u=Math.abs(h(r,n));r.setMonth(r.getMonth()-i*u);var s=f(r,n)===-i,c=i*(u-s);return 0===c?0:c}var m=6e4;function g(t){return t.getTime()%m}function w(t){var e=new Date(t.getTime()),r=Math.ceil(e.getTimezoneOffset());e.setSeconds(0,0);var n=r>0?(m+g(e))%m:g(e);return r*m+n}function y(t){a(1,arguments);var e=o(t);return e.setHours(0,0,0,0),e}var v=864e5;function b(t,e){a(2,arguments);var r=y(t),n=y(e),o=r.getTime()-w(r),i=n.getTime()-w(n);return Math.round((o-i)/v)}function T(t,e){var r=t.getFullYear()-e.getFullYear()||t.getMonth()-e.getMonth()||t.getDate()-e.getDate()||t.getHours()-e.getHours()||t.getMinutes()-e.getMinutes()||t.getSeconds()-e.getSeconds()||t.getMilliseconds()-e.getMilliseconds();return r<0?-1:r>0?1:r}function M(t,e){a(2,arguments);var r=o(t),n=o(e),i=T(r,n),u=Math.abs(b(r,n));r.setDate(r.getDate()-i*u);var s=T(r,n)===-i,c=i*(u-s);return 0===c?0:c}function D(t,e){a(2,arguments);var r=o(t),n=o(e);return r.getTime()-n.getTime()}var C=36e5;function k(t){a(1,arguments);var e=o(t);return e.setHours(23,59,59,999),e}function x(t,e){a(1,arguments);var r=e||{},i=r.locale,u=i&&i.options&&i.options.weekStartsOn,s=null==u?0:n(u),c=null==r.weekStartsOn?s:n(r.weekStartsOn);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=o(t),l=d.getDay(),f=6+(l<c?-7:0)-(l-c);return d.setDate(d.getDate()+f),d.setHours(23,59,59,999),d}function O(t){a(1,arguments);var e=o(t),r=e.getFullYear();return e.setFullYear(r+1,0,0),e.setHours(23,59,59,999),e}function S(t){a(1,arguments);var e=o(t);return!isNaN(e)}var P={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function E(t){return function(e){var r=e||{},n=r.width?String(r.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}var U={date:E({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:E({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:E({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},Y={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function H(t){return function(e,r){var n,a=r||{};if("formatting"===(a.context?String(a.context):"standalone")&&t.formattingValues){var o=t.defaultFormattingWidth||t.defaultWidth,i=a.width?String(a.width):o;n=t.formattingValues[i]||t.formattingValues[o]}else{var u=t.defaultWidth,s=a.width?String(a.width):t.defaultWidth;n=t.values[s]||t.values[u]}return n[t.argumentCallback?t.argumentCallback(e):e]}}function N(t){return function(e,r){var n=String(e),a=r||{},o=a.width,i=o&&t.matchPatterns[o]||t.matchPatterns[t.defaultMatchWidth],u=n.match(i);if(!u)return null;var s,c=u[0],d=o&&t.parsePatterns[o]||t.parsePatterns[t.defaultParseWidth];return s="[object Array]"===Object.prototype.toString.call(d)?function(t,e){for(var r=0;r<t.length;r++)if(e(t[r]))return r}(d,(function(t){return t.test(c)})):function(t,e){for(var r in t)if(t.hasOwnProperty(r)&&e(t[r]))return r}(d,(function(t){return t.test(c)})),s=t.valueCallback?t.valueCallback(s):s,{value:s=a.valueCallback?a.valueCallback(s):s,rest:n.slice(c.length)}}}var W,q={code:"en-US",formatDistance:function(t,e,r){var n;return r=r||{},n="string"===typeof P[t]?P[t]:1===e?P[t].one:P[t].other.replace("{{count}}",e),r.addSuffix?r.comparison>0?"in "+n:n+" ago":n},formatLong:U,formatRelative:function(t,e,r,n){return Y[t]},localize:{ordinalNumber:function(t,e){var r=Number(t),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:H({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:H({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:H({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:H({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:H({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(W={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}},function(t,e){var r=String(t),n=e||{},a=r.match(W.matchPattern);if(!a)return null;var o=a[0],i=r.match(W.parsePattern);if(!i)return null;var u=W.valueCallback?W.valueCallback(i[0]):i[0];return{value:u=n.valueCallback?n.valueCallback(u):u,rest:r.slice(o.length)}}),era:N({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:N({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:N({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:N({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:N({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function L(t,e){a(2,arguments);var r=n(e);return u(t,-r)}function A(t,e){for(var r=t<0?"-":"",n=Math.abs(t).toString();n.length<e;)n="0"+n;return r+n}var j={y:function(t,e){var r=t.getUTCFullYear(),n=r>0?r:1-r;return A("yy"===e?n%100:n,e.length)},M:function(t,e){var r=t.getUTCMonth();return"M"===e?String(r+1):A(r+1,2)},d:function(t,e){return A(t.getUTCDate(),e.length)},a:function(t,e){var r=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":case"aaa":return r.toUpperCase();case"aaaaa":return r[0];case"aaaa":default:return"am"===r?"a.m.":"p.m."}},h:function(t,e){return A(t.getUTCHours()%12||12,e.length)},H:function(t,e){return A(t.getUTCHours(),e.length)},m:function(t,e){return A(t.getUTCMinutes(),e.length)},s:function(t,e){return A(t.getUTCSeconds(),e.length)},S:function(t,e){var r=e.length,n=t.getUTCMilliseconds();return A(Math.floor(n*Math.pow(10,r-3)),e.length)}},F=864e5;function Q(t){a(1,arguments);var e=1,r=o(t),n=r.getUTCDay(),i=(n<e?7:0)+n-e;return r.setUTCDate(r.getUTCDate()-i),r.setUTCHours(0,0,0,0),r}function B(t){a(1,arguments);var e=o(t),r=e.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(r+1,0,4),n.setUTCHours(0,0,0,0);var i=Q(n),u=new Date(0);u.setUTCFullYear(r,0,4),u.setUTCHours(0,0,0,0);var s=Q(u);return e.getTime()>=i.getTime()?r+1:e.getTime()>=s.getTime()?r:r-1}function I(t){a(1,arguments);var e=B(t),r=new Date(0);r.setUTCFullYear(e,0,4),r.setUTCHours(0,0,0,0);var n=Q(r);return n}var R=6048e5;function X(t){a(1,arguments);var e=o(t),r=Q(e).getTime()-I(e).getTime();return Math.round(r/R)+1}function G(t,e){a(1,arguments);var r=e||{},i=r.locale,u=i&&i.options&&i.options.weekStartsOn,s=null==u?0:n(u),c=null==r.weekStartsOn?s:n(r.weekStartsOn);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=o(t),l=d.getUTCDay(),f=(l<c?7:0)+l-c;return d.setUTCDate(d.getUTCDate()-f),d.setUTCHours(0,0,0,0),d}function z(t,e){a(1,arguments);var r=o(t,e),i=r.getUTCFullYear(),u=e||{},s=u.locale,c=s&&s.options&&s.options.firstWeekContainsDate,d=null==c?1:n(c),l=null==u.firstWeekContainsDate?d:n(u.firstWeekContainsDate);if(!(l>=1&&l<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var f=new Date(0);f.setUTCFullYear(i+1,0,l),f.setUTCHours(0,0,0,0);var h=G(f,e),p=new Date(0);p.setUTCFullYear(i,0,l),p.setUTCHours(0,0,0,0);var m=G(p,e);return r.getTime()>=h.getTime()?i+1:r.getTime()>=m.getTime()?i:i-1}function _(t,e){a(1,arguments);var r=e||{},o=r.locale,i=o&&o.options&&o.options.firstWeekContainsDate,u=null==i?1:n(i),s=null==r.firstWeekContainsDate?u:n(r.firstWeekContainsDate),c=z(t,e),d=new Date(0);d.setUTCFullYear(c,0,s),d.setUTCHours(0,0,0,0);var l=G(d,e);return l}var J=6048e5;function K(t,e){a(1,arguments);var r=o(t),n=G(r,e).getTime()-_(r,e).getTime();return Math.round(n/J)+1}var $="midnight",V="noon",Z="morning",tt="afternoon",et="evening",rt="night";function nt(t,e){var r=t>0?"-":"+",n=Math.abs(t),a=Math.floor(n/60),o=n%60;if(0===o)return r+String(a);var i=e||"";return r+String(a)+i+A(o,2)}function at(t,e){return t%60===0?(t>0?"-":"+")+A(Math.abs(t)/60,2):ot(t,e)}function ot(t,e){var r=e||"",n=t>0?"-":"+",a=Math.abs(t);return n+A(Math.floor(a/60),2)+r+A(a%60,2)}var it={G:function(t,e,r){var n=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"})}},y:function(t,e,r){if("yo"===e){var n=t.getUTCFullYear(),a=n>0?n:1-n;return r.ordinalNumber(a,{unit:"year"})}return j.y(t,e)},Y:function(t,e,r,n){var a=z(t,n),o=a>0?a:1-a;return"YY"===e?A(o%100,2):"Yo"===e?r.ordinalNumber(o,{unit:"year"}):A(o,e.length)},R:function(t,e){return A(B(t),e.length)},u:function(t,e){return A(t.getUTCFullYear(),e.length)},Q:function(t,e,r){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(n);case"QQ":return A(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(t,e,r){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(n);case"qq":return A(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(t,e,r){var n=t.getUTCMonth();switch(e){case"M":case"MM":return j.M(t,e);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(t,e,r){var n=t.getUTCMonth();switch(e){case"L":return String(n+1);case"LL":return A(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(t,e,r,n){var a=K(t,n);return"wo"===e?r.ordinalNumber(a,{unit:"week"}):A(a,e.length)},I:function(t,e,r){var n=X(t);return"Io"===e?r.ordinalNumber(n,{unit:"week"}):A(n,e.length)},d:function(t,e,r){return"do"===e?r.ordinalNumber(t.getUTCDate(),{unit:"date"}):j.d(t,e)},D:function(t,e,r){var n=function(t){a(1,arguments);var e=o(t),r=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var n=e.getTime(),i=r-n;return Math.floor(i/F)+1}(t);return"Do"===e?r.ordinalNumber(n,{unit:"dayOfYear"}):A(n,e.length)},E:function(t,e,r){var n=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(t,e,r,n){var a=t.getUTCDay(),o=(a-n.weekStartsOn+8)%7||7;switch(e){case"e":return String(o);case"ee":return A(o,2);case"eo":return r.ordinalNumber(o,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});case"eeee":default:return r.day(a,{width:"wide",context:"formatting"})}},c:function(t,e,r,n){var a=t.getUTCDay(),o=(a-n.weekStartsOn+8)%7||7;switch(e){case"c":return String(o);case"cc":return A(o,e.length);case"co":return r.ordinalNumber(o,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});case"cccc":default:return r.day(a,{width:"wide",context:"standalone"})}},i:function(t,e,r){var n=t.getUTCDay(),a=0===n?7:n;switch(e){case"i":return String(a);case"ii":return A(a,e.length);case"io":return r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(t,e,r){var n=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(t,e,r){var n,a=t.getUTCHours();switch(n=12===a?V:0===a?$:a/12>=1?"pm":"am",e){case"b":case"bb":case"bbb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbbbb":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(t,e,r){var n,a=t.getUTCHours();switch(n=a>=17?et:a>=12?tt:a>=4?Z:rt,e){case"B":case"BB":case"BBB":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(t,e,r){if("ho"===e){var n=t.getUTCHours()%12;return 0===n&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return j.h(t,e)},H:function(t,e,r){return"Ho"===e?r.ordinalNumber(t.getUTCHours(),{unit:"hour"}):j.H(t,e)},K:function(t,e,r){var n=t.getUTCHours()%12;return"Ko"===e?r.ordinalNumber(n,{unit:"hour"}):A(n,e.length)},k:function(t,e,r){var n=t.getUTCHours();return 0===n&&(n=24),"ko"===e?r.ordinalNumber(n,{unit:"hour"}):A(n,e.length)},m:function(t,e,r){return"mo"===e?r.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):j.m(t,e)},s:function(t,e,r){return"so"===e?r.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):j.s(t,e)},S:function(t,e){return j.S(t,e)},X:function(t,e,r,n){var a=(n._originalDate||t).getTimezoneOffset();if(0===a)return"Z";switch(e){case"X":return at(a);case"XXXX":case"XX":return ot(a);case"XXXXX":case"XXX":default:return ot(a,":")}},x:function(t,e,r,n){var a=(n._originalDate||t).getTimezoneOffset();switch(e){case"x":return at(a);case"xxxx":case"xx":return ot(a);case"xxxxx":case"xxx":default:return ot(a,":")}},O:function(t,e,r,n){var a=(n._originalDate||t).getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+nt(a,":");case"OOOO":default:return"GMT"+ot(a,":")}},z:function(t,e,r,n){var a=(n._originalDate||t).getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+nt(a,":");case"zzzz":default:return"GMT"+ot(a,":")}},t:function(t,e,r,n){var a=n._originalDate||t;return A(Math.floor(a.getTime()/1e3),e.length)},T:function(t,e,r,n){return A((n._originalDate||t).getTime(),e.length)}};function ut(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}}function st(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}}var ct={p:st,P:function(t,e){var r,n=t.match(/(P+)(p+)?/),a=n[1],o=n[2];if(!o)return ut(t,e);switch(a){case"P":r=e.dateTime({width:"short"});break;case"PP":r=e.dateTime({width:"medium"});break;case"PPP":r=e.dateTime({width:"long"});break;case"PPPP":default:r=e.dateTime({width:"full"})}return r.replace("{{date}}",ut(a,e)).replace("{{time}}",st(o,e))}},dt=["D","DD"],lt=["YY","YYYY"];function ft(t){return-1!==dt.indexOf(t)}function ht(t){return-1!==lt.indexOf(t)}function pt(t,e,r){if("YYYY"===t)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(r,"`; see: https://git.io/fxCyr"));if("YY"===t)throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(r,"`; see: https://git.io/fxCyr"));if("D"===t)throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(r,"`; see: https://git.io/fxCyr"));if("DD"===t)throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(r,"`; see: https://git.io/fxCyr"))}var mt=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,gt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,wt=/^'([^]*?)'?$/,yt=/''/g,vt=/[a-zA-Z]/;function bt(t){return t.match(wt)[1].replace(yt,"'")}function Tt(t,e){a(2,arguments);var r=o(t),n=o(e);return r.getTime()>n.getTime()}function Mt(t,e){a(2,arguments);var r=o(t),n=o(e);return r.getTime()<n.getTime()}function Dt(t){a(1,arguments);var e=o(t);return e.setMinutes(0,0,0),e}function Ct(t,e){if(null==t)throw new TypeError("assign requires that input parameter not be null or undefined");for(var r in e=e||{})e.hasOwnProperty(r)&&(t[r]=e[r]);return t}function kt(t,e,r){a(2,arguments);var i=r||{},u=i.locale,s=u&&u.options&&u.options.weekStartsOn,c=null==s?0:n(s),d=null==i.weekStartsOn?c:n(i.weekStartsOn);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var l=o(t),f=n(e),h=l.getUTCDay(),p=f%7,m=(p+7)%7,g=(m<d?7:0)+f-h;return l.setUTCDate(l.getUTCDate()+g),l}var xt=/^(1[0-2]|0?\d)/,Ot=/^(3[0-1]|[0-2]?\d)/,St=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,Pt=/^(5[0-3]|[0-4]?\d)/,Et=/^(2[0-3]|[0-1]?\d)/,Ut=/^(2[0-4]|[0-1]?\d)/,Yt=/^(1[0-1]|0?\d)/,Ht=/^(1[0-2]|0?\d)/,Nt=/^[0-5]?\d/,Wt=/^[0-5]?\d/,qt=/^\d/,Lt=/^\d{1,2}/,At=/^\d{1,3}/,jt=/^\d{1,4}/,Ft=/^-?\d+/,Qt=/^-?\d/,Bt=/^-?\d{1,2}/,It=/^-?\d{1,3}/,Rt=/^-?\d{1,4}/,Xt=/^([+-])(\d{2})(\d{2})?|Z/,Gt=/^([+-])(\d{2})(\d{2})|Z/,zt=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,_t=/^([+-])(\d{2}):(\d{2})|Z/,Jt=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function Kt(t,e,r){var n=e.match(t);if(!n)return null;var a=parseInt(n[0],10);return{value:r?r(a):a,rest:e.slice(n[0].length)}}function $t(t,e){var r=e.match(t);return r?"Z"===r[0]?{value:0,rest:e.slice(1)}:{value:("+"===r[1]?1:-1)*(36e5*(r[2]?parseInt(r[2],10):0)+6e4*(r[3]?parseInt(r[3],10):0)+1e3*(r[5]?parseInt(r[5],10):0)),rest:e.slice(r[0].length)}:null}function Vt(t,e){return Kt(Ft,t,e)}function Zt(t,e,r){switch(t){case 1:return Kt(qt,e,r);case 2:return Kt(Lt,e,r);case 3:return Kt(At,e,r);case 4:return Kt(jt,e,r);default:return Kt(new RegExp("^\\d{1,"+t+"}"),e,r)}}function te(t,e,r){switch(t){case 1:return Kt(Qt,e,r);case 2:return Kt(Bt,e,r);case 3:return Kt(It,e,r);case 4:return Kt(Rt,e,r);default:return Kt(new RegExp("^-?\\d{1,"+t+"}"),e,r)}}function ee(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function re(t,e){var r,n=e>0,a=n?e:1-e;if(a<=50)r=t||100;else{var o=a+50;r=t+100*Math.floor(o/100)-(t>=o%100?100:0)}return n?r:1-r}var ne=[31,28,31,30,31,30,31,31,30,31,30,31],ae=[31,29,31,30,31,30,31,31,30,31,30,31];function oe(t){return t%400===0||t%4===0&&t%100!==0}var ie={G:{priority:140,parse:function(t,e,r,n){switch(e){case"G":case"GG":case"GGG":return r.era(t,{width:"abbreviated"})||r.era(t,{width:"narrow"});case"GGGGG":return r.era(t,{width:"narrow"});case"GGGG":default:return r.era(t,{width:"wide"})||r.era(t,{width:"abbreviated"})||r.era(t,{width:"narrow"})}},set:function(t,e,r,n){return e.era=r,t.setUTCFullYear(r,0,1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["R","u","t","T"]},y:{priority:130,parse:function(t,e,r,n){var a=function(t){return{year:t,isTwoDigitYear:"yy"===e}};switch(e){case"y":return Zt(4,t,a);case"yo":return r.ordinalNumber(t,{unit:"year",valueCallback:a});default:return Zt(e.length,t,a)}},validate:function(t,e,r){return e.isTwoDigitYear||e.year>0},set:function(t,e,r,n){var a=t.getUTCFullYear();if(r.isTwoDigitYear){var o=re(r.year,a);return t.setUTCFullYear(o,0,1),t.setUTCHours(0,0,0,0),t}var i="era"in e&&1!==e.era?1-r.year:r.year;return t.setUTCFullYear(i,0,1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","u","w","I","i","e","c","t","T"]},Y:{priority:130,parse:function(t,e,r,n){var a=function(t){return{year:t,isTwoDigitYear:"YY"===e}};switch(e){case"Y":return Zt(4,t,a);case"Yo":return r.ordinalNumber(t,{unit:"year",valueCallback:a});default:return Zt(e.length,t,a)}},validate:function(t,e,r){return e.isTwoDigitYear||e.year>0},set:function(t,e,r,n){var a=z(t,n);if(r.isTwoDigitYear){var o=re(r.year,a);return t.setUTCFullYear(o,0,n.firstWeekContainsDate),t.setUTCHours(0,0,0,0),G(t,n)}var i="era"in e&&1!==e.era?1-r.year:r.year;return t.setUTCFullYear(i,0,n.firstWeekContainsDate),t.setUTCHours(0,0,0,0),G(t,n)},incompatibleTokens:["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:{priority:130,parse:function(t,e,r,n){return te("R"===e?4:e.length,t)},set:function(t,e,r,n){var a=new Date(0);return a.setUTCFullYear(r,0,4),a.setUTCHours(0,0,0,0),Q(a)},incompatibleTokens:["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:{priority:130,parse:function(t,e,r,n){return te("u"===e?4:e.length,t)},set:function(t,e,r,n){return t.setUTCFullYear(r,0,1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["G","y","Y","R","w","I","i","e","c","t","T"]},Q:{priority:120,parse:function(t,e,r,n){switch(e){case"Q":case"QQ":return Zt(e.length,t);case"Qo":return r.ordinalNumber(t,{unit:"quarter"});case"QQQ":return r.quarter(t,{width:"abbreviated",context:"formatting"})||r.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return r.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(t,{width:"wide",context:"formatting"})||r.quarter(t,{width:"abbreviated",context:"formatting"})||r.quarter(t,{width:"narrow",context:"formatting"})}},validate:function(t,e,r){return e>=1&&e<=4},set:function(t,e,r,n){return t.setUTCMonth(3*(r-1),1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:{priority:120,parse:function(t,e,r,n){switch(e){case"q":case"qq":return Zt(e.length,t);case"qo":return r.ordinalNumber(t,{unit:"quarter"});case"qqq":return r.quarter(t,{width:"abbreviated",context:"standalone"})||r.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return r.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(t,{width:"wide",context:"standalone"})||r.quarter(t,{width:"abbreviated",context:"standalone"})||r.quarter(t,{width:"narrow",context:"standalone"})}},validate:function(t,e,r){return e>=1&&e<=4},set:function(t,e,r,n){return t.setUTCMonth(3*(r-1),1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:{priority:110,parse:function(t,e,r,n){var a=function(t){return t-1};switch(e){case"M":return Kt(xt,t,a);case"MM":return Zt(2,t,a);case"Mo":return r.ordinalNumber(t,{unit:"month",valueCallback:a});case"MMM":return r.month(t,{width:"abbreviated",context:"formatting"})||r.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return r.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(t,{width:"wide",context:"formatting"})||r.month(t,{width:"abbreviated",context:"formatting"})||r.month(t,{width:"narrow",context:"formatting"})}},validate:function(t,e,r){return e>=0&&e<=11},set:function(t,e,r,n){return t.setUTCMonth(r,1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]},L:{priority:110,parse:function(t,e,r,n){var a=function(t){return t-1};switch(e){case"L":return Kt(xt,t,a);case"LL":return Zt(2,t,a);case"Lo":return r.ordinalNumber(t,{unit:"month",valueCallback:a});case"LLL":return r.month(t,{width:"abbreviated",context:"standalone"})||r.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return r.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(t,{width:"wide",context:"standalone"})||r.month(t,{width:"abbreviated",context:"standalone"})||r.month(t,{width:"narrow",context:"standalone"})}},validate:function(t,e,r){return e>=0&&e<=11},set:function(t,e,r,n){return t.setUTCMonth(r,1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:{priority:100,parse:function(t,e,r,n){switch(e){case"w":return Kt(Pt,t);case"wo":return r.ordinalNumber(t,{unit:"week"});default:return Zt(e.length,t)}},validate:function(t,e,r){return e>=1&&e<=53},set:function(t,e,r,i){return G(function(t,e,r){a(2,arguments);var i=o(t),u=n(e),s=K(i,r)-u;return i.setUTCDate(i.getUTCDate()-7*s),i}(t,r,i),i)},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:{priority:100,parse:function(t,e,r,n){switch(e){case"I":return Kt(Pt,t);case"Io":return r.ordinalNumber(t,{unit:"week"});default:return Zt(e.length,t)}},validate:function(t,e,r){return e>=1&&e<=53},set:function(t,e,r,i){return Q(function(t,e){a(2,arguments);var r=o(t),i=n(e),u=X(r)-i;return r.setUTCDate(r.getUTCDate()-7*u),r}(t,r,i),i)},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:{priority:90,subPriority:1,parse:function(t,e,r,n){switch(e){case"d":return Kt(Ot,t);case"do":return r.ordinalNumber(t,{unit:"date"});default:return Zt(e.length,t)}},validate:function(t,e,r){var n=oe(t.getUTCFullYear()),a=t.getUTCMonth();return n?e>=1&&e<=ae[a]:e>=1&&e<=ne[a]},set:function(t,e,r,n){return t.setUTCDate(r),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:{priority:90,subPriority:1,parse:function(t,e,r,n){switch(e){case"D":case"DD":return Kt(St,t);case"Do":return r.ordinalNumber(t,{unit:"date"});default:return Zt(e.length,t)}},validate:function(t,e,r){return oe(t.getUTCFullYear())?e>=1&&e<=366:e>=1&&e<=365},set:function(t,e,r,n){return t.setUTCMonth(0,r),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:{priority:90,parse:function(t,e,r,n){switch(e){case"E":case"EE":case"EEE":return r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return r.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"})}},validate:function(t,e,r){return e>=0&&e<=6},set:function(t,e,r,n){return(t=kt(t,r,n)).setUTCHours(0,0,0,0),t},incompatibleTokens:["D","i","e","c","t","T"]},e:{priority:90,parse:function(t,e,r,n){var a=function(t){var e=7*Math.floor((t-1)/7);return(t+n.weekStartsOn+6)%7+e};switch(e){case"e":case"ee":return Zt(e.length,t,a);case"eo":return r.ordinalNumber(t,{unit:"day",valueCallback:a});case"eee":return r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"eeeee":return r.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"})}},validate:function(t,e,r){return e>=0&&e<=6},set:function(t,e,r,n){return(t=kt(t,r,n)).setUTCHours(0,0,0,0),t},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:{priority:90,parse:function(t,e,r,n){var a=function(t){var e=7*Math.floor((t-1)/7);return(t+n.weekStartsOn+6)%7+e};switch(e){case"c":case"cc":return Zt(e.length,t,a);case"co":return r.ordinalNumber(t,{unit:"day",valueCallback:a});case"ccc":return r.day(t,{width:"abbreviated",context:"standalone"})||r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"});case"ccccc":return r.day(t,{width:"narrow",context:"standalone"});case"cccccc":return r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return r.day(t,{width:"wide",context:"standalone"})||r.day(t,{width:"abbreviated",context:"standalone"})||r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"})}},validate:function(t,e,r){return e>=0&&e<=6},set:function(t,e,r,n){return(t=kt(t,r,n)).setUTCHours(0,0,0,0),t},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:{priority:90,parse:function(t,e,r,n){var a=function(t){return 0===t?7:t};switch(e){case"i":case"ii":return Zt(e.length,t);case"io":return r.ordinalNumber(t,{unit:"day"});case"iii":return r.day(t,{width:"abbreviated",context:"formatting",valueCallback:a})||r.day(t,{width:"short",context:"formatting",valueCallback:a})||r.day(t,{width:"narrow",context:"formatting",valueCallback:a});case"iiiii":return r.day(t,{width:"narrow",context:"formatting",valueCallback:a});case"iiiiii":return r.day(t,{width:"short",context:"formatting",valueCallback:a})||r.day(t,{width:"narrow",context:"formatting",valueCallback:a});case"iiii":default:return r.day(t,{width:"wide",context:"formatting",valueCallback:a})||r.day(t,{width:"abbreviated",context:"formatting",valueCallback:a})||r.day(t,{width:"short",context:"formatting",valueCallback:a})||r.day(t,{width:"narrow",context:"formatting",valueCallback:a})}},validate:function(t,e,r){return e>=1&&e<=7},set:function(t,e,r,i){return(t=function(t,e){a(2,arguments);var r=n(e);r%7===0&&(r-=7);var i=1,u=o(t),s=u.getUTCDay(),c=((r%7+7)%7<i?7:0)+r-s;return u.setUTCDate(u.getUTCDate()+c),u}(t,r,i)).setUTCHours(0,0,0,0),t},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:{priority:80,parse:function(t,e,r,n){switch(e){case"a":case"aa":case"aaa":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return r.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}},set:function(t,e,r,n){return t.setUTCHours(ee(r),0,0,0),t},incompatibleTokens:["b","B","H","K","k","t","T"]},b:{priority:80,parse:function(t,e,r,n){switch(e){case"b":case"bb":case"bbb":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return r.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}},set:function(t,e,r,n){return t.setUTCHours(ee(r),0,0,0),t},incompatibleTokens:["a","B","H","K","k","t","T"]},B:{priority:80,parse:function(t,e,r,n){switch(e){case"B":case"BB":case"BBB":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return r.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}},set:function(t,e,r,n){return t.setUTCHours(ee(r),0,0,0),t},incompatibleTokens:["a","b","t","T"]},h:{priority:70,parse:function(t,e,r,n){switch(e){case"h":return Kt(Ht,t);case"ho":return r.ordinalNumber(t,{unit:"hour"});default:return Zt(e.length,t)}},validate:function(t,e,r){return e>=1&&e<=12},set:function(t,e,r,n){var a=t.getUTCHours()>=12;return a&&r<12?t.setUTCHours(r+12,0,0,0):a||12!==r?t.setUTCHours(r,0,0,0):t.setUTCHours(0,0,0,0),t},incompatibleTokens:["H","K","k","t","T"]},H:{priority:70,parse:function(t,e,r,n){switch(e){case"H":return Kt(Et,t);case"Ho":return r.ordinalNumber(t,{unit:"hour"});default:return Zt(e.length,t)}},validate:function(t,e,r){return e>=0&&e<=23},set:function(t,e,r,n){return t.setUTCHours(r,0,0,0),t},incompatibleTokens:["a","b","h","K","k","t","T"]},K:{priority:70,parse:function(t,e,r,n){switch(e){case"K":return Kt(Yt,t);case"Ko":return r.ordinalNumber(t,{unit:"hour"});default:return Zt(e.length,t)}},validate:function(t,e,r){return e>=0&&e<=11},set:function(t,e,r,n){return t.getUTCHours()>=12&&r<12?t.setUTCHours(r+12,0,0,0):t.setUTCHours(r,0,0,0),t},incompatibleTokens:["a","b","h","H","k","t","T"]},k:{priority:70,parse:function(t,e,r,n){switch(e){case"k":return Kt(Ut,t);case"ko":return r.ordinalNumber(t,{unit:"hour"});default:return Zt(e.length,t)}},validate:function(t,e,r){return e>=1&&e<=24},set:function(t,e,r,n){var a=r<=24?r%24:r;return t.setUTCHours(a,0,0,0),t},incompatibleTokens:["a","b","h","H","K","t","T"]},m:{priority:60,parse:function(t,e,r,n){switch(e){case"m":return Kt(Nt,t);case"mo":return r.ordinalNumber(t,{unit:"minute"});default:return Zt(e.length,t)}},validate:function(t,e,r){return e>=0&&e<=59},set:function(t,e,r,n){return t.setUTCMinutes(r,0,0),t},incompatibleTokens:["t","T"]},s:{priority:50,parse:function(t,e,r,n){switch(e){case"s":return Kt(Wt,t);case"so":return r.ordinalNumber(t,{unit:"second"});default:return Zt(e.length,t)}},validate:function(t,e,r){return e>=0&&e<=59},set:function(t,e,r,n){return t.setUTCSeconds(r,0),t},incompatibleTokens:["t","T"]},S:{priority:30,parse:function(t,e,r,n){return Zt(e.length,t,(function(t){return Math.floor(t*Math.pow(10,3-e.length))}))},set:function(t,e,r,n){return t.setUTCMilliseconds(r),t},incompatibleTokens:["t","T"]},X:{priority:10,parse:function(t,e,r,n){switch(e){case"X":return $t(Xt,t);case"XX":return $t(Gt,t);case"XXXX":return $t(zt,t);case"XXXXX":return $t(Jt,t);case"XXX":default:return $t(_t,t)}},set:function(t,e,r,n){return e.timestampIsSet?t:new Date(t.getTime()-r)},incompatibleTokens:["t","T","x"]},x:{priority:10,parse:function(t,e,r,n){switch(e){case"x":return $t(Xt,t);case"xx":return $t(Gt,t);case"xxxx":return $t(zt,t);case"xxxxx":return $t(Jt,t);case"xxx":default:return $t(_t,t)}},set:function(t,e,r,n){return e.timestampIsSet?t:new Date(t.getTime()-r)},incompatibleTokens:["t","T","X"]},t:{priority:40,parse:function(t,e,r,n){return Vt(t)},set:function(t,e,r,n){return[new Date(1e3*r),{timestampIsSet:!0}]},incompatibleTokens:"*"},T:{priority:20,parse:function(t,e,r,n){return Vt(t)},set:function(t,e,r,n){return[new Date(r),{timestampIsSet:!0}]},incompatibleTokens:"*"}},ue=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,se=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ce=/^'([^]*?)'?$/,de=/''/g,le=/\S/,fe=/[a-zA-Z]/;function he(t,e){if(e.timestampIsSet)return t;var r=new Date(0);return r.setFullYear(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()),r.setHours(t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()),r}function pe(t){return t.match(ce)[1].replace(de,"'")}function me(t){a(1,arguments);var e=o(t),r=e.getFullYear(),n=e.getMonth(),i=new Date(0);return i.setFullYear(r,n+1,0),i.setHours(0,0,0,0),i.getDate()}function ge(t){a(1,arguments);var e=o(t);return e.setDate(1),e.setHours(0,0,0,0),e}function we(t){a(1,arguments);var e=o(t),r=e.getMonth();return e.setFullYear(e.getFullYear(),r+1,0),e.setHours(23,59,59,999),e}function ye(t,e){a(1,arguments);var r=e||{},i=r.locale,u=i&&i.options&&i.options.weekStartsOn,s=null==u?0:n(u),c=null==r.weekStartsOn?s:n(r.weekStartsOn);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=o(t),l=d.getDay(),f=(l<c?7:0)+l-c;return d.setDate(d.getDate()-f),d.setHours(0,0,0,0),d}function ve(t){a(1,arguments);var e=o(t),r=new Date(0);return r.setFullYear(e.getFullYear(),0,1),r.setHours(0,0,0,0),r}var be=r(1660),Te=r.n(be),Me={dayOfMonth:"d",fullDate:"PP",fullDateWithWeekday:"PPPP",fullDateTime:"PP p",fullDateTime12h:"PP hh:mm aaa",fullDateTime24h:"PP HH:mm",fullTime:"p",fullTime12h:"hh:mm aaa",fullTime24h:"HH:mm",hours12h:"hh",hours24h:"HH",keyboardDate:"P",keyboardDateTime:"P p",keyboardDateTime12h:"P hh:mm aaa",keyboardDateTime24h:"P HH:mm",minutes:"mm",month:"LLLL",monthAndDate:"MMMM d",monthAndYear:"LLLL yyyy",monthShort:"MMM",weekday:"EEEE",weekdayShort:"EEE",normalDate:"d MMMM",normalDateWithWeekday:"EEE, MMM d",seconds:"ss",shortDate:"MMM d",year:"yyyy"},De=new(function(){function t(t){var e=void 0===t?{}:t,r=e.locale,n=e.formats;this.lib="date-fns",this.locale=r,this.formats=Object.assign({},Me,n)}return t.prototype.is12HourCycleInCurrentLocale=function(){return!this.locale||/a/.test(this.locale.formatLong.time())},t.prototype.getFormatHelperText=function(t){var e=this.locale||q;return t.match(/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g).map((function(t){var r=t[0];return"p"===r||"P"===r?(0,Te.a[r])(t,e.formatLong,{}):t})).join("").replace(/(aaa|aa|a)/g,"(a|p)m").toLocaleLowerCase()},t.prototype.getCurrentLocaleCode=function(){var t;return(null===(t=this.locale)||void 0===t?void 0:t.code)||"en-US"},t.prototype.addSeconds=function(t,e){return function(t,e){a(2,arguments);var r=n(e);return u(t,1e3*r)}(t,e)},t.prototype.addMinutes=function(t,e){return function(t,e){a(2,arguments);var r=n(e);return u(t,6e4*r)}(t,e)},t.prototype.addHours=function(t,e){return function(t,e){a(2,arguments);var r=n(e);return u(t,r*s)}(t,e)},t.prototype.addDays=function(t,e){return i(t,e)},t.prototype.addWeeks=function(t,e){return function(t,e){a(2,arguments);var r=n(e);return i(t,7*r)}(t,e)},t.prototype.addMonths=function(t,e){return c(t,e)},t.prototype.isValid=function(t){return S(this.date(t))},t.prototype.getDiff=function(t,e,r){switch(r){case"years":return function(t,e){a(2,arguments);var r=o(t),n=o(e),i=f(r,n),u=Math.abs(l(r,n));r.setFullYear("1584"),n.setFullYear("1584");var s=f(r,n)===-i,c=i*(u-s);return 0===c?0:c}(t,this.date(e));case"quarters":return function(t,e){a(2,arguments);var r=p(t,e)/3;return r>0?Math.floor(r):Math.ceil(r)}(t,this.date(e));case"months":return p(t,this.date(e));case"weeks":return function(t,e){a(2,arguments);var r=M(t,e)/7;return r>0?Math.floor(r):Math.ceil(r)}(t,this.date(e));case"days":return M(t,this.date(e));case"hours":return function(t,e){a(2,arguments);var r=D(t,e)/C;return r>0?Math.floor(r):Math.ceil(r)}(t,this.date(e));case"minutes":return function(t,e){a(2,arguments);var r=D(t,e)/6e4;return r>0?Math.floor(r):Math.ceil(r)}(t,this.date(e));case"seconds":return function(t,e){a(2,arguments);var r=D(t,e)/1e3;return r>0?Math.floor(r):Math.ceil(r)}(t,this.date(e));default:return D(t,this.date(e))}},t.prototype.isAfter=function(t,e){return Tt(t,e)},t.prototype.isBefore=function(t,e){return Mt(t,e)},t.prototype.startOfDay=function(t){return y(t)},t.prototype.endOfDay=function(t){return k(t)},t.prototype.getHours=function(t){return function(t){return a(1,arguments),o(t).getHours()}(t)},t.prototype.setHours=function(t,e){return function(t,e){a(2,arguments);var r=o(t),i=n(e);return r.setHours(i),r}(t,e)},t.prototype.setMinutes=function(t,e){return function(t,e){a(2,arguments);var r=o(t),i=n(e);return r.setMinutes(i),r}(t,e)},t.prototype.getSeconds=function(t){return function(t){return a(1,arguments),o(t).getSeconds()}(t)},t.prototype.setSeconds=function(t,e){return function(t,e){a(2,arguments);var r=o(t),i=n(e);return r.setSeconds(i),r}(t,e)},t.prototype.isSameDay=function(t,e){return function(t,e){a(2,arguments);var r=y(t),n=y(e);return r.getTime()===n.getTime()}(t,e)},t.prototype.isSameMonth=function(t,e){return function(t,e){a(2,arguments);var r=o(t),n=o(e);return r.getFullYear()===n.getFullYear()&&r.getMonth()===n.getMonth()}(t,e)},t.prototype.isSameYear=function(t,e){return function(t,e){a(2,arguments);var r=o(t),n=o(e);return r.getFullYear()===n.getFullYear()}(t,e)},t.prototype.isSameHour=function(t,e){return function(t,e){a(2,arguments);var r=Dt(t),n=Dt(e);return r.getTime()===n.getTime()}(t,e)},t.prototype.startOfMonth=function(t){return ge(t)},t.prototype.endOfMonth=function(t){return we(t)},t.prototype.startOfWeek=function(t){return ye(t,{locale:this.locale})},t.prototype.endOfWeek=function(t){return x(t,{locale:this.locale})},t.prototype.getYear=function(t){return function(t){return a(1,arguments),o(t).getFullYear()}(t)},t.prototype.setYear=function(t,e){return function(t,e){a(2,arguments);var r=o(t),i=n(e);return isNaN(r)?new Date(NaN):(r.setFullYear(i),r)}(t,e)},t.prototype.date=function(t){return"undefined"===typeof t?new Date:null===t?null:new Date(t)},t.prototype.toJsDate=function(t){return t},t.prototype.parse=function(t,e){return""===t?null:function(t,e,r,i){a(3,arguments);var u=String(t),s=String(e),c=i||{},d=c.locale||q;if(!d.match)throw new RangeError("locale must contain match property");var l=d.options&&d.options.firstWeekContainsDate,f=null==l?1:n(l),h=null==c.firstWeekContainsDate?f:n(c.firstWeekContainsDate);if(!(h>=1&&h<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var p=d.options&&d.options.weekStartsOn,m=null==p?0:n(p),g=null==c.weekStartsOn?m:n(c.weekStartsOn);if(!(g>=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===s)return""===u?o(r):new Date(NaN);var y,v={firstWeekContainsDate:h,weekStartsOn:g,locale:d},b=[{priority:10,subPriority:-1,set:he,index:0}],T=s.match(se).map((function(t){var e=t[0];return"p"===e||"P"===e?(0,ct[e])(t,d.formatLong,v):t})).join("").match(ue),M=[];for(y=0;y<T.length;y++){var D=T[y];!c.useAdditionalWeekYearTokens&&ht(D)&&pt(D,s,t),!c.useAdditionalDayOfYearTokens&&ft(D)&&pt(D,s,t);var C=D[0],k=ie[C];if(k){var x=k.incompatibleTokens;if(Array.isArray(x)){for(var O=void 0,S=0;S<M.length;S++){var P=M[S].token;if(-1!==x.indexOf(P)||P===C){O=M[S];break}}if(O)throw new RangeError("The format string mustn't contain `".concat(O.fullToken,"` and `").concat(D,"` at the same time"))}else if("*"===k.incompatibleTokens&&M.length)throw new RangeError("The format string mustn't contain `".concat(D,"` and any other token at the same time"));M.push({token:C,fullToken:D});var E=k.parse(u,D,d.match,v);if(!E)return new Date(NaN);b.push({priority:k.priority,subPriority:k.subPriority||0,set:k.set,validate:k.validate,value:E.value,index:b.length}),u=E.rest}else{if(C.match(fe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+C+"`");if("''"===D?D="'":"'"===C&&(D=pe(D)),0!==u.indexOf(D))return new Date(NaN);u=u.slice(D.length)}}if(u.length>0&&le.test(u))return new Date(NaN);var U=b.map((function(t){return t.priority})).sort((function(t,e){return e-t})).filter((function(t,e,r){return r.indexOf(t)===e})).map((function(t){return b.filter((function(e){return e.priority===t})).sort((function(t,e){return e.subPriority-t.subPriority}))})).map((function(t){return t[0]})),Y=o(r);if(isNaN(Y))return new Date(NaN);var H=L(Y,w(Y)),N={};for(y=0;y<U.length;y++){var W=U[y];if(W.validate&&!W.validate(H,W.value,v))return new Date(NaN);var A=W.set(H,N,W.value,v);A[0]?(H=A[0],Ct(N,A[1])):H=A}return H}(t,e,new Date,{locale:this.locale})},t.prototype.format=function(t,e){return this.formatByString(t,this.formats[e])},t.prototype.formatByString=function(t,e){return function(t,e,r){a(2,arguments);var i=String(e),u=r||{},s=u.locale||q,c=s.options&&s.options.firstWeekContainsDate,d=null==c?1:n(c),l=null==u.firstWeekContainsDate?d:n(u.firstWeekContainsDate);if(!(l>=1&&l<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var f=s.options&&s.options.weekStartsOn,h=null==f?0:n(f),p=null==u.weekStartsOn?h:n(u.weekStartsOn);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!s.localize)throw new RangeError("locale must contain localize property");if(!s.formatLong)throw new RangeError("locale must contain formatLong property");var m=o(t);if(!S(m))throw new RangeError("Invalid time value");var g=w(m),y=L(m,g),v={firstWeekContainsDate:l,weekStartsOn:p,locale:s,_originalDate:m};return i.match(gt).map((function(t){var e=t[0];return"p"===e||"P"===e?(0,ct[e])(t,s.formatLong,v):t})).join("").match(mt).map((function(r){if("''"===r)return"'";var n=r[0];if("'"===n)return bt(r);var a=it[n];if(a)return!u.useAdditionalWeekYearTokens&&ht(r)&&pt(r,e,t),!u.useAdditionalDayOfYearTokens&&ft(r)&&pt(r,e,t),a(y,r,s.localize,v);if(n.match(vt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");return r})).join("")}(t,e,{locale:this.locale})},t.prototype.isEqual=function(t,e){return null===t&&null===e||function(t,e){a(2,arguments);var r=o(t),n=o(e);return r.getTime()===n.getTime()}(t,e)},t.prototype.isNull=function(t){return null===t},t.prototype.isAfterDay=function(t,e){return Tt(t,k(e))},t.prototype.isBeforeDay=function(t,e){return Mt(t,y(e))},t.prototype.isBeforeYear=function(t,e){return Mt(t,ve(e))},t.prototype.isAfterYear=function(t,e){return Tt(t,O(e))},t.prototype.isWithinRange=function(t,e){return function(t,e){a(2,arguments);var r=e||{},n=o(t).getTime(),i=o(r.start).getTime(),u=o(r.end).getTime();if(!(i<=u))throw new RangeError("Invalid interval");return n>=i&&n<=u}(t,{start:e[0],end:e[1]})},t.prototype.formatNumber=function(t){return t},t.prototype.getMinutes=function(t){return t.getMinutes()},t.prototype.getMonth=function(t){return t.getMonth()},t.prototype.getDaysInMonth=function(t){return me(t)},t.prototype.setMonth=function(t,e){return function(t,e){a(2,arguments);var r=o(t),i=n(e),u=r.getFullYear(),s=r.getDate(),c=new Date(0);c.setFullYear(u,i,15),c.setHours(0,0,0,0);var d=me(c);return r.setMonth(i,Math.min(s,d)),r}(t,e)},t.prototype.getMeridiemText=function(t){return"am"===t?"AM":"PM"},t.prototype.getNextMonth=function(t){return c(t,1)},t.prototype.getPreviousMonth=function(t){return c(t,-1)},t.prototype.getMonthArray=function(t){for(var e=[ve(t)];e.length<12;){var r=e[e.length-1];e.push(this.getNextMonth(r))}return e},t.prototype.mergeDateAndTime=function(t,e){return this.setSeconds(this.setMinutes(this.setHours(t,this.getHours(e)),this.getMinutes(e)),this.getSeconds(e))},t.prototype.getWeekdays=function(){var t=this,e=new Date;return function(t,e){a(1,arguments);var r=t||{},n=o(r.start),i=o(r.end).getTime();if(!(n.getTime()<=i))throw new RangeError("Invalid interval");var u=[],s=n;s.setHours(0,0,0,0);var c=e&&"step"in e?Number(e.step):1;if(c<1||isNaN(c))throw new RangeError("`options.step` must be a number greater than 1");for(;s.getTime()<=i;)u.push(o(s)),s.setDate(s.getDate()+c),s.setHours(0,0,0,0);return u}({start:ye(e,{locale:this.locale}),end:x(e,{locale:this.locale})}).map((function(e){return t.formatByString(e,"EEEEEE")}))},t.prototype.getWeekArray=function(t){for(var e=ye(ge(t),{locale:this.locale}),r=x(we(t),{locale:this.locale}),n=0,a=e,o=[];Mt(a,r);){var u=Math.floor(n/7);o[u]=o[u]||[],o[u].push(a),a=i(a,1),n+=1}return o},t.prototype.getYearRange=function(t,e){for(var r=ve(t),n=O(e),a=[],o=r;Mt(o,n);)a.push(o),o=d(o,1);return a},t}())({});e.a=De},1660:function(t,e,r){"use strict";function n(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}}function a(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o={p:a,P:function(t,e){var r,o=t.match(/(P+)(p+)?/),i=o[1],u=o[2];if(!u)return n(t,e);switch(i){case"P":r=e.dateTime({width:"short"});break;case"PP":r=e.dateTime({width:"medium"});break;case"PPP":r=e.dateTime({width:"long"});break;case"PPPP":default:r=e.dateTime({width:"full"})}return r.replace("{{date}}",n(i,e)).replace("{{time}}",a(u,e))}};e.default=o,t.exports=e.default},1661:function(t,e,r){"use strict";var n=r(0),a=r(11),o=r(80),i=r(464),u=r(1130),s=r(1253),c=r(1254);function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(){return(l=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function f(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,a,o=[],i=!0,u=!1;try{for(r=r.call(t);!(i=(n=r.next()).done)&&(o.push(n.value),!e||o.length!==e);i=!0);}catch(s){u=!0,a=s}finally{try{i||null==r.return||r.return()}finally{if(u)throw a}}return o}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return h(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return h(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function p(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function m(t,e){return(m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function g(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=v(t);if(e){var a=v(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return w(this,r)}}function w(t,e){if(e&&("object"===d(e)||"function"===typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return y(t)}function y(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function b(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var T=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&m(t,e)}(h,t);var e,r,c,d=g(h);function h(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,h),b(y(e=d.call(this,t)),"dateHelpers",void 0),b(y(e),"state",{steps:[],value:null}),b(y(e),"onChange",(function(t){if(e.setState({value:t.value[0]}),0!==t.value.length){var r="string"===typeof t.value[0].id?parseInt(t.value[0].id,10):t.value[0].id||0;e.handleChange(r)}else e.props.nullable&&e.props.onChange&&e.props.onChange(null)})),b(y(e),"secondsToLabel",(function(t,r){var n=f(e.dateHelpers.secondsToHourMinute(t),2),a=n[0],o=n[1],i=function(t){return t<10?"0".concat(t):t};if("12"===r){var u=t>=43200;return u&&(a-=12),0===a&&(a=12),"".concat(a,":").concat(i(o)," ").concat(u?"PM":"AM")}return"".concat(i(a),":").concat(i(o))})),b(y(e),"stringToOptions",(function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"12",n=/^(1[0-2]|0?[1-9]):([0-5][0-9]) ?([AaPp][Mm]?)?$/,a=/^([0-9]|0[0-9]|1[0-9]|2[0-3]):([0-5][0-9])$/,o="12"===r?n:a,i=t.match(o);if(!i)return[];var u=Number(i[1]),s=Number(i[2]),c=[];switch(r){case"24":c=[{hours:u,minutes:s}];break;case"12":default:var d=u%12,l=i[3];if(l){var f="a"===l.toLowerCase()[0]?d:d+12;c=[{hours:f,minutes:s}]}else c=[{hours:d,minutes:s},{hours:d+12,minutes:s}]}return c.map((function(t){var n=3600*t.hours+60*t.minutes;return{id:n,label:e.secondsToLabel(n,r)}}))})),b(y(e),"handleChange",(function(t){var r=f(e.dateHelpers.secondsToHourMinute(t),2),n=r[0],a=r[1],o=e.setTime(e.props.value,n,a,0);e.props.onChange&&e.props.onChange(o)})),b(y(e),"setTime",(function(t,r,n,a){var o=e.dateHelpers;return(0,o.setSeconds)((0,o.setMinutes)((0,o.setHours)(e.props.adapter.startOfDay(e.props.adapter.date(t||void 0)),r),n),a)})),b(y(e),"getTimeWindowInSeconds",(function(t){var r=e.props,n=r.minTime,a=r.maxTime,o=r.ignoreMinMaxDateComponent,i=e.setTime(e.props.value,0,0,0),u=e.setTime(e.props.value,24,0,0);n=!n||e.props.adapter.isBefore(n,i)&&!o?i:e.setTime(e.props.value,e.props.adapter.getHours(n),e.props.adapter.getMinutes(n),e.props.adapter.getSeconds(n)),a=!a||e.props.adapter.isAfter(a,u)&&!o?u:e.setTime(e.props.value,e.props.adapter.getHours(a),e.props.adapter.getMinutes(a),e.props.adapter.getSeconds(a)+1);var s=e.props.adapter.toJsDate(n),c=e.props.adapter.toJsDate(a),d=e.props.adapter.toJsDate(i);return{start:(s-d)/1e3,end:(c-d)/1e3}})),b(y(e),"buildSteps",(function(){var t=e.props.step,r=void 0===t?900:t,n=e.getTimeWindowInSeconds(r),a=(n.end-n.start)/r;if(!Number.isInteger(a)){a=Math.round(a)}for(var o=[],i=n.start;i<n.end;i+=r)o.push(i);return o})),b(y(e),"creatableFilterOptions",(function(t,r,n,a){var o=e.stringToOptions(r,e.props.format);return o.length?o:Object(i.a)(t,r,n,a)})),b(y(e),"buildSelectedOption",(function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"12",n=e.dateHelpers.dateToSeconds(t);return{id:n,label:e.secondsToLabel(n,r||"12")}})),e.dateHelpers=new s.a(t.adapter),e}return e=h,(r=[{key:"componentDidMount",value:function(){var t=this.buildSteps();if(this.props.value&&this.props.adapter.isValid(this.props.value))this.setState({steps:t,value:this.buildSelectedOption(this.props.value,this.props.format)});else{var e=this.dateHelpers.dateToSeconds(this.props.adapter.date()),r=43200;t.forEach((function(t){Math.abs(t-e)<Math.abs(r-e)&&(r=t)})),this.setState({steps:t,value:this.props.nullable?void 0:{id:r,label:this.secondsToLabel(r,this.props.format)}}),(this.props.value||!this.props.nullable&&!this.props.value)&&this.handleChange(r)}}},{key:"componentDidUpdate",value:function(t){var e=t.format!==this.props.format,r=t.step!==this.props.step,n=t.adapter!==this.props.adapter,a=t.minTime!==this.props.minTime,o=t.maxTime!==this.props.maxTime;if(n&&(this.dateHelpers=new s.a(this.props.adapter)),e||r||a||o){var i=this.buildSteps();this.setState({steps:i})}t.value&&!this.props.value&&this.setState({value:null})}},{key:"render",value:function(){var t=this,e=this.props,r=e.format,i=e.overrides,s=void 0===i?{}:i,c=e.adapter,d=f(Object(a.c)(s.Select,u.a),2),h=d[0],p=d[1];p.overrides=Object(a.e)({Dropdown:{style:{maxHeight:"126px"}}},p.overrides);var m=this.props.value&&c.isValid(this.props.value)?this.buildSelectedOption(this.props.value,this.props.format):this.state.value;return n.createElement(o.a.Consumer,null,(function(e){var a="12"===r?e.datepicker.timePickerAriaLabel12Hour:e.datepicker.timePickerAriaLabel24Hour;return n.createElement(h,l({"aria-label":a,disabled:t.props.disabled,error:t.props.error,positive:t.props.positive,size:t.props.size,placeholder:t.props.placeholder||"HH:mm",options:t.state.steps.map((function(e){return{id:e,label:t.secondsToLabel(e,t.props.format)}})),filterOptions:t.props.creatable?t.creatableFilterOptions:void 0,onChange:t.onChange,value:m?[m]:m,clearable:!1,backspaceRemoves:!1,valueKey:"label"},p))}))}}])&&p(e.prototype,r),c&&p(e,c),Object.defineProperty(e,"prototype",{writable:!1}),h}(n.Component);b(T,"defaultProps",{format:"12",step:900,creatable:!1,adapter:c.a,ignoreMinMaxDateComponent:!1}),e.a=T}}]);
@@ -1 +0,0 @@
1
- (this["webpackJsonp@stlite/desktop"]=this["webpackJsonp@stlite/desktop"]||[]).push([[30],{1777:function(t,e,s){"use strict";s.r(e),s.d(e,"default",(function(){return o}));var c=s(0),r=s(56),n=s(87),u=s(89),i=s(1);function o({element:t,width:e}){const s=Object(c.useRef)(null),{getBaseUriParts:o}=Object(c.useContext)(r.a);Object(c.useEffect)((()=>{s.current&&(s.current.currentTime=t.startTime)}),[t.startTime]);const a=Object(u.j)(t.url),d=Object(n.b)(a,o());return Object(i.jsx)("audio",{id:"audio",ref:s,controls:!0,src:d,className:"stAudio",style:{width:e}})}}}]);
@@ -1 +0,0 @@
1
- (this["webpackJsonp@stlite/desktop"]=this["webpackJsonp@stlite/desktop"]||[]).push([[31],{1778:function(t,e,i){"use strict";i.r(e),i.d(e,"default",(function(){return c}));var o=i(0),s=i(200),r=i(1);var c=Object(s.a)((function({width:t,element:e,height:i}){const s=`bokeh-chart-${e.elementId}`,c=Object(o.useCallback)((()=>JSON.parse(e.figure)),[e]),h=Object(o.useCallback)((o=>{const{Bokeh:r}=window,c=document.getElementById(s),h=o&&o.doc&&o.doc.roots&&o.doc.roots.references?o.doc.roots.references.find((t=>"Plot"===t.type)):void 0;if(h){const{chartWidth:o,chartHeight:s}=(o=>{let s=o.attributes.plot_width,r=o.attributes.plot_height;return i?(s=t,r=i):e.useContainerWidth&&(s=t),{chartWidth:s,chartHeight:r}})(h);o>0&&(h.attributes.plot_width=o),s>0&&(h.attributes.plot_height=s)}null!==c&&((t=>{for(;t.lastChild;)t.lastChild.remove()})(c),r.embed.embed_item(o,s))}),[t,i,e]);return Object(o.useEffect)((()=>{h(c())}),[t,i,e,c,h]),Object(r.jsx)("div",{id:s,className:"stBokehChart"})}))}}]);
@@ -1 +0,0 @@
1
- (this["webpackJsonp@stlite/desktop"]=this["webpackJsonp@stlite/desktop"]||[]).push([[32],{1753:function(e,t,o){"use strict";o.r(t),o.d(t,"default",(function(){return L}));var n=o(0),r=o.n(n),i=o(431),l=o(200),d=o(176);let c;!function(e){e.ASCENDING="ascending",e.DESCENDING="descending"}(c||(c={}));var a=o(4);const s=Object(a.a)("div",{target:"e10os9ge8"})((({width:e,theme:t})=>({width:e,border:`1px solid ${t.colors.fadedText05}`,boxSizing:"content-box","& .table-top-right":{overflow:"hidden !important",paddingRight:"6px"},"& .table-bottom-left":{overflow:"hidden !important",paddingBottom:"6px"},"& .table-bottom-right":{overflow:"overlay !important"},"& .table-bottom-right:focus-visible":{outline:"none"},"& .table-bottom-right:focus":{outline:"none"}})),""),h=Object(a.a)("div",{target:"e10os9ge7"})((({theme:e})=>({padding:`${e.spacing.twoXS} ${e.spacing.xs}`,borderBottom:`1px solid ${e.colors.fadedText05}`,borderRight:`1px solid ${e.colors.fadedText05}`,fontSize:e.fontSizes.md,fontFamily:e.fonts.sansSerif,lineHeight:e.lineHeights.table,display:"flex",alignItems:"center",justifyContent:"flex-start"})),""),m=e=>({color:e.colors.fadedText60,borderBottom:`1px solid ${e.colors.fadedText05}`,borderRight:`1px solid ${e.colors.fadedText05}`,zIndex:1}),u=e=>({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",lineHeight:e.lineHeights.table}),b=Object(a.a)(h,{target:"e10os9ge6"})((({theme:e})=>m(e)),""),f=Object(a.a)(h,{target:"e10os9ge5"})((({theme:e})=>({userSelect:"none",...m(e),...u(e)})),""),g=Object(a.a)(h,{target:"e10os9ge4"})((({theme:e})=>({userSelect:"none",...m(e),...u(e)})),""),w=Object(a.a)(h,{target:"e10os9ge3"})((({theme:e})=>u(e)),""),p=Object(a.a)("div",{target:"e10os9ge2"})((({verticalLocator:e,horizontalLocator:t,width:o,height:n})=>({position:"absolute",[e]:"0px",[t]:"0px",width:o,height:n})),""),x=Object(a.a)("div",{target:"e10os9ge1"})((({theme:e})=>({fontFamily:e.fonts.monospace,color:e.colors.fadedText60,fontStyle:"italic",fontSize:e.fontSizes.md,textAlign:"center"})),""),j=Object(a.a)("span",{target:"e10os9ge0"})((({theme:e})=>({color:e.colors.fadedText05,verticalAlign:"top"})),"");var y=o(140),C=o(19);const v=!("undefined"===typeof window||!window.document||!window.document.createElement);let S;function O(e){if((!S&&0!==S||e)&&v){const e=document.createElement("div");e.style.position="absolute",e.style.top="-9999px",e.style.width="50px",e.style.height="50px",e.style.overflow="scroll",document.body.appendChild(e),S=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return S}var N=o(71);const I=2*N.a.smPx,D=(e,t,o,n)=>{const{headerRows:r,headerCols:i,dataRows:l,cols:c,rows:a}=Object(d.c)(o),s=I*r,h=t-2-O(),m=function(e,t,o,n,r,i){const l=25,d=e>2?200:400,c=({index:e})=>{const o=e,r=8*10/10,d=24,c=100;let a=l;for(let l=0;l<Math.min(t,c);l++){let e=-1;e=l<n?l:t>c?Math.floor(Math.random()*t):l;const{contents:s}=i(o,e),h=(s?s.length:0)*r+d;h>a&&(a=h)}return a};let a=[];const s=Array.from(Array(e),((e,t)=>c({index:t}))),h=s.reduce(((e,t)=>e+t),0),m=r-h,u=e=>e.filter((e=>e>d));if(m<0)a=s.map((e=>e>d?d:e));else{const e=u(s),t=m/e.length;a=s.map(((o,n)=>n in e.keys()?o+t:o))}let b=a.reduce(((e,t)=>e+t),0);if(b>r*(2/3)&&b<r){const t=(r-b)/e;a=a.map((e=>e+t)),b=a.reduce(((e,t)=>e+t),0)}const f=Math.min(b,r),g=({index:e})=>a[e],w=a.slice(0,o).reduce(((e,t)=>e+t));return{elementWidth:f,columnWidth:g,headerWidth:w}}(c,a,i,r,h,n);let{elementWidth:u,columnWidth:b,headerWidth:f}=m;if(0===l&&u<60){u=60,f=60;let e=0;for(let t=0;t<c;t++)e+=b({index:t});e<60&&(b=()=>60/c)}const g=a*I,w=(e||300)-2;e=Math.min(g,w);return u+=g>w?O():0,{rowHeight:I,headerHeight:s,border:2,columnWidth:b,headerWidth:f,elementWidth:u,height:e}},E={corner:b,"col-header":f,"row-header":g,data:w};var R=o(84),A=o.n(R),G=o(39),W=n.forwardRef((function(e,t){return n.createElement(G.a,A()({iconAttrs:{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},iconVerticalAlign:"middle",iconViewBox:"0 0 8 8"},e,{ref:t}),n.createElement("path",{d:"M4 1L0 5l1.5 1.5L4 4l2.5 2.5L8 5 4 1z"}))}));W.displayName="ChevronTop";var z=n.forwardRef((function(e,t){return n.createElement(G.a,A()({iconAttrs:{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},iconVerticalAlign:"middle",iconViewBox:"0 0 8 8"},e,{ref:t}),n.createElement("path",{d:"M1.5 1L0 2.5l4 4 4-4L6.5 1 4 3.5 1.5 1z"}))}));z.displayName="ChevronBottom";var T=o(43),$=o(1);function B({CellType:e,columnIndex:t,contents:o,rowIndex:n,sortedByUser:r,style:i,columnSortDirection:l,headerClickedCallback:d}){let a,s,h,m=o;const u=l===c.DESCENDING;null!=d&&0===n&&(a=()=>d(t),s="button",h=0,m=null==l?`Sort by column "${o}"`:`Sorted by column "${o}" (${u?"descending":"ascending"})`);const b=0===n?function(e){switch(e){case c.ASCENDING:return Object($.jsx)(j,{"data-testid":"sortIcon",children:Object($.jsx)(T.b,{content:W,size:"xs",margin:"0 0 0 twoXS"})});case c.DESCENDING:return Object($.jsx)(j,{"data-testid":"sortIcon",children:Object($.jsx)(T.b,{content:z,size:"xs",margin:"0 0 0 twoXS"})});default:return null}}(l):void 0;return Object($.jsxs)(e,{style:i,onClick:a,role:s,tabIndex:h,title:m,"data-testid":e.displayName,"data-test-sort-direction":l,children:[o,r?b:""]})}var L=Object(l.a)((function({element:e,height:t,width:o}){const l=r.a.useRef(null),[a,h]=Object(n.useState)(!1),[m,u]=Object(n.useState)(0),[b,f]=Object(n.useState)(c.ASCENDING),[,g]=Object(d.g)(e.get("data")),{headerRows:w,headerCols:j,dataRows:v,cols:S,rows:O}=Object(d.c)(e),N=e=>{let t=c.ASCENDING;m===e&&(t=b===c.ASCENDING?c.DESCENDING:c.ASCENDING),u(e),f(t),h(!0)},I=(t=>{const{headerCols:o,dataRows:n}=Object(d.c)(e),r=b!==c.DESCENDING;if(m<o||m-o>=t){const e=new Array(n);for(let t=0;t<n;t+=1)e[t]=r?t:n-(t+1);return e}return Object(d.d)(e,m-o,r)})(g),R=function({element:e,headerRows:t,sortedDataRowIndices:o}){return(n,r)=>{if(null!=o&&r>=t){const e=r-t;e>=0&&e<o.length?(r=o[e],r+=t):Object(C.d)(`Bad sortedDataRowIndices (rowIndex=${r}, headerRows=${t}, sortedDataRowIndices.length=${o.length}`)}const{contents:i,styles:l,type:c}=Object(d.b)(e,n,r);return{Component:E[c],styles:l,contents:Object(y.b)(i)}}}({element:e,headerRows:w,sortedDataRowIndices:I}),A=function(e){return({columnIndex:t,key:o,rowIndex:n,style:r})=>{const{Component:i,styles:l,contents:d}=e(t,n),c=0===n?N:void 0,s=t===m?b:void 0,h={...r,...l,borderBottom:n===v?"none":void 0,borderRight:t===S-j?"none":void 0};return Object($.jsx)(B,{CellType:i,columnIndex:t,rowIndex:n,style:h,contents:d,sortedByUser:a,columnSortDirection:s,headerClickedCallback:c},o)}}(R),{rowHeight:G,headerHeight:W,border:z,height:T,elementWidth:L,columnWidth:k,headerWidth:H}=D(t,o,e,R);return setTimeout((()=>{null!=l.current&&l.current.recomputeGridSize()}),0),Object(n.useEffect)((()=>{m-j>=g&&(u(0),f(c.ASCENDING),h(!1))}),[m,j,g]),Object($.jsxs)(s,{width:L,className:"stDataFrame",children:[Object($.jsx)(i.b,{cellRenderer:A,fixedColumnCount:j,fixedRowCount:w,columnWidth:k,columnCount:S,enableFixedColumnScroll:!1,enableFixedRowScroll:!1,height:T,rowHeight:G,rowCount:O,width:L,classNameBottomLeftGrid:"table-bottom-left",classNameBottomRightGrid:"table-bottom-right",classNameTopRightGrid:"table-top-right",ref:l}),Object($.jsx)(p,{verticalLocator:"top",horizontalLocator:"right",width:z,height:W}),Object($.jsx)(p,{verticalLocator:"bottom",horizontalLocator:"left",width:H,height:z}),0===v?Object($.jsx)(x,{children:"empty"}):null]})}))}}]);
@@ -1 +0,0 @@
1
- (this["webpackJsonp@stlite/desktop"]=this["webpackJsonp@stlite/desktop"]||[]).push([[33],{1779:function(t,e,s){"use strict";s.r(e),s.d(e,"default",(function(){return o}));var i=s(312),n=(s(0),s(1));function o({element:t,width:e}){const s=t.hasWidth?t.width:e;let o,l;t.scrolling?(o="auto",l={}):(o="no",l={overflow:"hidden"});const r=c(t.src),d=null!=r?void 0:c(t.srcdoc);return Object(n.jsx)("iframe",{allow:i.a,style:l,src:r,srcDoc:d,width:s,height:t.height,scrolling:o,sandbox:i.b,title:"st.iframe"})}function c(t){return null==t||""===t?void 0:t}}}]);
@@ -1 +0,0 @@
1
- (this["webpackJsonp@stlite/desktop"]=this["webpackJsonp@stlite/desktop"]||[]).push([[34],{1771:function(e,l,t){"use strict";t.r(l),t.d(l,"default",(function(){return y}));var r=t(0),o=t(65),c=t(200),a=t(1650),i=t.n(a),n=t(37),p=t(17),s=t(79),g=t(19);function b(e,l,t){return e=function(e,l,t){const r="#000021",o="#000022",c="#000023",a="#000024",i="#000025",n="#000026",s="#000027",g="#000028",b="#000029",f="#000030",d="#000031";if("streamlit"===t){const t=Object(p.getDivergingColorsArray)(l);e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replaceAll(r,t[0])).replaceAll(o,t[1])).replaceAll(c,t[2])).replaceAll(a,t[3])).replaceAll(i,t[4])).replaceAll(n,t[5])).replaceAll(s,t[6])).replaceAll(g,t[7])).replaceAll(b,t[8])).replaceAll(f,t[9])).replaceAll(d,t[10])}else e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replaceAll(r,"#8e0152")).replaceAll(o,"#c51b7d")).replaceAll(c,"#de77ae")).replaceAll(a,"#f1b6da")).replaceAll(i,"#fde0ef")).replaceAll(n,"#f7f7f7")).replaceAll(s,"#e6f5d0")).replaceAll(g,"#b8e186")).replaceAll(b,"#7fbc41")).replaceAll(f,"#4d9221")).replaceAll(d,"#276419");return e}(e=function(e,l,t){const r="#000011",o="#000012",c="#000013",a="#000014",i="#000015",n="#000016",s="#000017",g="#000018",b="#000019",f="#000020";if("streamlit"===t){const t=Object(p.getSequentialColorsArray)(l);e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replaceAll(r,t[0])).replaceAll(o,t[1])).replaceAll(c,t[2])).replaceAll(a,t[3])).replaceAll(i,t[4])).replaceAll(n,t[5])).replaceAll(s,t[6])).replaceAll(g,t[7])).replaceAll(b,t[8])).replaceAll(f,t[9])}else e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replaceAll(r,"#0d0887")).replaceAll(o,"#46039f")).replaceAll(c,"#7201a8")).replaceAll(a,"#9c179e")).replaceAll(i,"#bd3786")).replaceAll(n,"#d8576b")).replaceAll(s,"#ed7953")).replaceAll(g,"#fb9f3a")).replaceAll(b,"#fdca26")).replaceAll(f,"#f0f921");return e}(e=function(e,l,t){const r="#000001",o="#000002",c="#000003",a="#000004",i="#000005",n="#000006",s="#000007",g="#000008",b="#000009",f="#000010";if("streamlit"===t){const t=Object(p.getCategoricalColorsArray)(l);e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replaceAll(r,t[0])).replaceAll(o,t[1])).replaceAll(c,t[2])).replaceAll(a,t[3])).replaceAll(i,t[4])).replaceAll(n,t[5])).replaceAll(s,t[6])).replaceAll(g,t[7])).replaceAll(b,t[8])).replaceAll(f,t[9])}else e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replaceAll(r,"#636efa")).replaceAll(o,"#EF553B")).replaceAll(c,"#00cc96")).replaceAll(a,"#ab63fa")).replaceAll(i,"#FFA15A")).replaceAll(n,"#19d3f3")).replaceAll(s,"#FF6692")).replaceAll(g,"#B6E880")).replaceAll(b,"#FF97FF")).replaceAll(f,"#FECB52");return e}(e=function(e,l){return(e=(e=(e=(e=(e=(e=(e=(e=e.replaceAll("#000032",Object(p.getIncreasingGreen)(l))).replaceAll("#000033",Object(p.getDecreasingRed)(l))).replaceAll("#000034",Object(p.hasLightBackgroundColor)(l)?l.colors.blue80:l.colors.blue40)).replaceAll("#000035",Object(p.getGray30)(l))).replaceAll("#000036",Object(p.getGray70)(l))).replaceAll("#000037",Object(p.getGray90)(l))).replaceAll("#000038",l.colors.bgColor)).replaceAll("#000039",l.colors.fadedText05)).replaceAll("#000040",l.colors.bgMix)}(e,l),l,t),l,t),l,t)}function f(e,l){try{!function(e,l){const{genericFonts:t,colors:r,fontSizes:o}=l,c={font:{color:Object(p.getGray70)(l),family:t.bodyFont,size:o.twoSmPx},title:{color:r.headingColor,subtitleColor:r.bodyText,font:{family:t.headingFont,size:o.mdPx,color:r.headingColor},pad:{l:l.spacing.twoXSPx},xanchor:"left",x:0},legend:{title:{font:{size:o.twoSmPx,color:Object(p.getGray70)(l)},side:"top"},valign:"top",bordercolor:r.transparent,borderwidth:l.spacing.nonePx,font:{size:o.twoSmPx,color:Object(p.getGray90)(l)}},paper_bgcolor:r.bgColor,plot_bgcolor:r.bgColor,yaxis:{ticklabelposition:"outside",zerolinecolor:Object(p.getGray30)(l),title:{font:{color:Object(p.getGray70)(l),size:o.smPx},standoff:l.spacing.twoXLPx},tickcolor:Object(p.getGray30)(l),tickfont:{color:Object(p.getGray70)(l),size:o.twoSmPx},gridcolor:Object(p.getGray30)(l),minor:{gridcolor:Object(p.getGray30)(l)},automargin:!0},xaxis:{zerolinecolor:Object(p.getGray30)(l),gridcolor:Object(p.getGray30)(l),showgrid:!1,tickfont:{color:Object(p.getGray70)(l),size:o.twoSmPx},tickcolor:Object(p.getGray30)(l),title:{font:{color:Object(p.getGray70)(l),size:o.smPx},standoff:l.spacing.mdPx},minor:{gridcolor:Object(p.getGray30)(l)},zeroline:!1,automargin:!0,rangeselector:{bgcolor:r.bgColor,bordercolor:Object(p.getGray30)(l),borderwidth:1,x:0}},margin:{pad:l.spacing.lgPx,r:l.spacing.nonePx,l:l.spacing.nonePx},hoverlabel:{bgcolor:r.bgColor,bordercolor:r.fadedText10,font:{color:Object(p.getGray70)(l),family:t.bodyFont,size:o.twoSmPx}},coloraxis:{colorbar:{thickness:16,xpad:l.spacing.twoXLPx,ticklabelposition:"outside",outlinecolor:r.transparent,outlinewidth:8,len:.75,y:.5745,title:{font:{color:Object(p.getGray70)(l),size:o.smPx}},tickfont:{color:Object(p.getGray70)(l),size:o.twoSmPx}}},ternary:{gridcolor:Object(p.getGray70)(l),bgcolor:r.bgColor,title:{font:{family:t.bodyFont,size:o.smPx}},color:Object(p.getGray70)(l),aaxis:{gridcolor:Object(p.getGray70)(l),linecolor:Object(p.getGray70)(l),tickfont:{family:t.bodyFont,size:o.twoSmPx}},baxis:{linecolor:Object(p.getGray70)(l),gridcolor:Object(p.getGray70)(l),tickfont:{family:t.bodyFont,size:o.twoSmPx}},caxis:{linecolor:Object(p.getGray70)(l),gridcolor:Object(p.getGray70)(l),tickfont:{family:t.bodyFont,size:o.twoSmPx}}}};Object(n.merge)(e,c)}(e.layout.template.layout,l)}catch(t){const e=Object(s.a)(t);Object(g.b)(e)}"title"in e.layout&&(e.layout.title={text:`<b>${e.layout.title.text}</b>`})}var d=t(1);var y=Object(c.a)((function({width:e,element:l,height:t}){switch(l.chart){case"url":return function({url:e,width:l,height:t}){const r=t||450;return Object(d.jsx)("iframe",{title:"Plotly",src:e,style:{width:l,height:r}})}({url:l.url,height:t,width:e});case"figure":return function({element:e,width:l,height:t}){const c=e.figure,a=()=>!!t,n=Object(o.g)(),p=()=>{const r=JSON.parse(b(c.spec,n,e.theme)),o=r.layout.height,i=r.layout.width;return a()?(r.layout.width=l,r.layout.height=t):e.useContainerWidth?r.layout.width=l:(r.layout.width=i,r.layout.height=o),"streamlit"===e.theme?f(r,n):r.layout=function(e,l){const{colors:t,genericFonts:r}=l,o={font:{color:t.bodyText,family:r.bodyFont},paper_bgcolor:t.bgColor,plot_bgcolor:t.secondaryBg};return{...e,font:{...o.font,...e.font},paper_bgcolor:e.paper_bgcolor||o.paper_bgcolor,plot_bgcolor:e.plot_bgcolor||o.plot_bgcolor}}(r.layout,n),r},[s,g]=Object(r.useState)(JSON.parse(c.config)),[y,A]=Object(r.useState)(p());Object(r.useLayoutEffect)((()=>{g(JSON.parse(c.config)),A(p())}),[e,n,t,l]);const{data:u,layout:h,frames:O}=y;return Object(d.jsx)(i.a,{className:"stPlotlyChart",data:u,layout:h,config:s,frames:O},a()?"fullscreen":"original")}({element:l,height:t,width:e});default:throw new Error(`Unrecognized PlotlyChart type: ${l.chart}`)}}))}}]);
@@ -1 +0,0 @@
1
- (this["webpackJsonp@stlite/desktop"]=this["webpackJsonp@stlite/desktop"]||[]).push([[35],{1774:function(e,t,s){"use strict";s.r(t),s.d(t,"default",(function(){return u}));var n=s(0),o=s.n(n),i=s(65),r=s(17),a=s(48),c=s(56),l=s(4),p=s(1133),d=s(122);const g=Object(l.a)(p.a,{shouldForwardProp:d.a,target:"e17lx80j1"})((({theme:e,$usingCustomTheme:t})=>({marginTop:e.spacing.none,marginBottom:e.spacing.none,marginRight:e.spacing.none,marginLeft:e.spacing.none,borderColor:e.colors.fadedText10,borderTopColor:t?e.colors.primary:e.colors.blue70,flexGrow:0,flexShrink:0})),""),h=Object(l.a)("div",{target:"e17lx80j0"})((({theme:e})=>({display:"flex",gap:e.spacing.lg,alignItems:"center",width:"100%"})),"");var m=s(1);var u=function({width:e,element:t}){const s=Object(i.g)(),{activeTheme:n}=o.a.useContext(c.a),l=!Object(r.isPresetTheme)(n),p={width:e};return Object(m.jsx)("div",{className:"stSpinner",style:p,children:Object(m.jsxs)(h,{children:[Object(m.jsx)(g,{$size:s.iconSizes.twoXL,$usingCustomTheme:l}),Object(m.jsx)(a.a,{source:t.text,allowHTML:!1})]})})}}}]);