streamlit-nightly 1.43.2.dev20250309__py3-none-any.whl → 1.43.3.dev20250311__py3-none-any.whl

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 (91) hide show
  1. streamlit/config.py +9 -0
  2. streamlit/elements/widgets/number_input.py +13 -1
  3. streamlit/material_icon_names.py +1 -1
  4. streamlit/proto/Common_pb2.pyi +4 -0
  5. streamlit/proto/NewSession_pb2.py +16 -16
  6. streamlit/proto/NewSession_pb2.pyi +4 -1
  7. streamlit/proto/WidgetStates_pb2.py +4 -2
  8. streamlit/proto/WidgetStates_pb2.pyi +7 -3
  9. streamlit/runtime/scriptrunner_utils/script_requests.py +0 -2
  10. streamlit/static/index.html +2 -2
  11. streamlit/static/static/css/{index.DpJG_94W.css → index.DQZt7VFg.css} +1 -1
  12. streamlit/static/static/js/{FileDownload.esm.Bp9m5jrx.js → FileDownload.esm.B-R2xJ_2.js} +1 -1
  13. streamlit/static/static/js/{FileHelper.D_3pbilj.js → FileHelper.Dpame4Yy.js} +1 -1
  14. streamlit/static/static/js/{FormClearHelper.Ct2rwLXo.js → FormClearHelper.CJtgEcyv.js} +1 -1
  15. streamlit/static/static/js/{Hooks.BKdzj5MJ.js → Hooks.eMU4yP9C.js} +1 -1
  16. streamlit/static/static/js/{InputInstructions.DB3QGNJP.js → InputInstructions.Bt5nMAh-.js} +1 -1
  17. streamlit/static/static/js/{ProgressBar.D40A5xc2.js → ProgressBar.CRfY498S.js} +1 -1
  18. streamlit/static/static/js/{RenderInPortalIfExists.DLUCooTN.js → RenderInPortalIfExists.CjsBZs42.js} +1 -1
  19. streamlit/static/static/js/{Toolbar.BiGGIQun.js → Toolbar.CBmSHKas.js} +1 -1
  20. streamlit/static/static/js/{base-input.CQBQT24M.js → base-input.pwi2uHY4.js} +1 -1
  21. streamlit/static/static/js/{checkbox.Buj8gd_M.js → checkbox.BRMCIUrT.js} +1 -1
  22. streamlit/static/static/js/{createSuper.CesK3I23.js → createSuper.BT2FfU2u.js} +1 -1
  23. streamlit/static/static/js/{data-grid-overlay-editor.B69OOFM4.js → data-grid-overlay-editor.DR231PaH.js} +1 -1
  24. streamlit/static/static/js/{downloader.BZQhlBNT.js → downloader.Cwh9Q8n3.js} +1 -1
  25. streamlit/static/static/js/{es6.D9Zhqujy.js → es6.DXFo1lzk.js} +2 -2
  26. streamlit/static/static/js/{iframeResizer.contentWindow.CAzcBpCC.js → iframeResizer.contentWindow.BqHH3gN-.js} +1 -1
  27. streamlit/static/static/js/{index.CXzZTo_q.js → index.-J5N3GRT.js} +1 -1
  28. streamlit/static/static/js/{index.Cd-_xe55.js → index.7mbSZESp.js} +1 -1
  29. streamlit/static/static/js/{index.CWX8KB81.js → index.B71BDPil.js} +1 -1
  30. streamlit/static/static/js/index.B9ftDzXT.js +1 -0
  31. streamlit/static/static/js/{index.H1U1IC_d.js → index.BAQ_1jSz.js} +1 -1
  32. streamlit/static/static/js/index.BMcgy3Eb.js +1 -0
  33. streamlit/static/static/js/{index.BuDuBmrs.js → index.BN2fMHzp.js} +1 -1
  34. streamlit/static/static/js/{index.DEcsHtvb.js → index.BhhnIkTX.js} +1 -1
  35. streamlit/static/static/js/{index.D1HZENZx.js → index.BiPCWEUM.js} +83 -80
  36. streamlit/static/static/js/{index.Do6eY8sf.js → index.Bt4_I4Hr.js} +1 -1
  37. streamlit/static/static/js/{index.BZ9p1t7G.js → index.BtaSeLy3.js} +1 -1
  38. streamlit/static/static/js/{index.0uqKfJUS.js → index.C8ZQWk_P.js} +1 -1
  39. streamlit/static/static/js/{index.BZqa87a1.js → index.CKLHvpe_.js} +1 -1
  40. streamlit/static/static/js/{index.zo9jm08y.js → index.COJ2HeaK.js} +1 -1
  41. streamlit/static/static/js/{index.Dz3lP2P-.js → index.ClCou1d2.js} +1 -1
  42. streamlit/static/static/js/index.Cqy-AKUq.js +2 -0
  43. streamlit/static/static/js/{index.DHFBoItz.js → index.CtDd3Kvg.js} +1 -1
  44. streamlit/static/static/js/index.D6iEZATu.js +1 -0
  45. streamlit/static/static/js/{index.Dz_UqF-s.js → index.DAIPHdqL.js} +1 -1
  46. streamlit/static/static/js/{index.CdG2PXln.js → index.DBAW0l2y.js} +1 -1
  47. streamlit/static/static/js/index.DC7tm9ca.js +1 -0
  48. streamlit/static/static/js/{index.CcRWp_KL.js → index.DGe1v1i2.js} +1 -1
  49. streamlit/static/static/js/{index.D_PrBKnJ.js → index.DIxz2WrU.js} +1 -1
  50. streamlit/static/static/js/{index.g6p_4DPr.js → index.DJZrR-yh.js} +1 -1
  51. streamlit/static/static/js/{index.DmuRkekN.js → index.DTC2KQEB.js} +1 -1
  52. streamlit/static/static/js/{index.DFeMfr_K.js → index.DbtNEUBr.js} +1 -1
  53. streamlit/static/static/js/{index.BM6TMY8g.js → index.DklFRDjI.js} +1 -1
  54. streamlit/static/static/js/{index.BAQDHFA_.js → index.DuXQiNfC.js} +1 -1
  55. streamlit/static/static/js/{index.D21Efo64.js → index.DzJ-K9FH.js} +1 -1
  56. streamlit/static/static/js/{index.B7mcZKMx.js → index.E4BOW70b.js} +1 -1
  57. streamlit/static/static/js/index.Fi_0UKZA.js +1 -0
  58. streamlit/static/static/js/{index.BxcwPacT.js → index.SGdFItlP.js} +1 -1
  59. streamlit/static/static/js/{index.B02M5u69.js → index.Y1Qnwm4b.js} +1 -1
  60. streamlit/static/static/js/{index.BgVMiY_P.js → index._HJ2bgYb.js} +5 -5
  61. streamlit/static/static/js/{index.BvXU2oKV.js → index.eHde7unb.js} +1 -1
  62. streamlit/static/static/js/{index.D9WgGVBx.js → index.oH2t20_d.js} +1 -1
  63. streamlit/static/static/js/{index.BLug2inK.js → index.pfdwKIIK.js} +1 -1
  64. streamlit/static/static/js/{input.DnaFglHq.js → input.Rf6xGN5X.js} +1 -1
  65. streamlit/static/static/js/{memory.Crb9x4-F.js → memory.D5NLCYdA.js} +1 -1
  66. streamlit/static/static/js/{mergeWith.ouAz0sK3.js → mergeWith.Bcdwg8Ac.js} +1 -1
  67. streamlit/static/static/js/{number-overlay-editor._UaN-O48.js → number-overlay-editor.CCjfRIEO.js} +1 -1
  68. streamlit/static/static/js/{possibleConstructorReturn.CtGjGFHz.js → possibleConstructorReturn.B8bXiVQj.js} +1 -1
  69. streamlit/static/static/js/{sandbox.CBybYOhV.js → sandbox.lrrkbqxh.js} +1 -1
  70. streamlit/static/static/js/{textarea.Cb_uJt5U.js → textarea.DCEYRe9D.js} +1 -1
  71. streamlit/static/static/js/{timepicker.DKT7pfoF.js → timepicker.DpQ3WAC_.js} +1 -1
  72. streamlit/static/static/js/{toConsumableArray.05Ikp13-.js → toConsumableArray.EduObuzm.js} +1 -1
  73. streamlit/static/static/js/{uniqueId.D2FMWUEI.js → uniqueId.qyd-2U_A.js} +1 -1
  74. streamlit/static/static/js/{useBasicWidgetState.urnZLANY.js → useBasicWidgetState.B0zc_tpZ.js} +1 -1
  75. streamlit/static/static/js/{useOnInputChange.BOKIIdJ1.js → useOnInputChange.tzktvOeD.js} +1 -1
  76. streamlit/static/static/js/withFullScreenWrapper.TezXOJ_z.js +1 -0
  77. streamlit/static/static/media/MaterialSymbols-Rounded.CRt5Q-14.woff2 +0 -0
  78. {streamlit_nightly-1.43.2.dev20250309.dist-info → streamlit_nightly-1.43.3.dev20250311.dist-info}/METADATA +1 -1
  79. {streamlit_nightly-1.43.2.dev20250309.dist-info → streamlit_nightly-1.43.3.dev20250311.dist-info}/RECORD +83 -83
  80. streamlit/static/static/js/index.08vcOOvb.js +0 -1
  81. streamlit/static/static/js/index.BI60cMVr.js +0 -2
  82. streamlit/static/static/js/index.BcsRUzZZ.js +0 -1
  83. streamlit/static/static/js/index.CjXvXmcP.js +0 -1
  84. streamlit/static/static/js/index.GkSUsPhJ.js +0 -1
  85. streamlit/static/static/js/index.g9x_GKss.js +0 -1
  86. streamlit/static/static/js/withFullScreenWrapper.C_N8J0Xx.js +0 -1
  87. streamlit/static/static/media/MaterialSymbols-Rounded.DcZbplWk.woff2 +0 -0
  88. {streamlit_nightly-1.43.2.dev20250309.data → streamlit_nightly-1.43.3.dev20250311.data}/scripts/streamlit.cmd +0 -0
  89. {streamlit_nightly-1.43.2.dev20250309.dist-info → streamlit_nightly-1.43.3.dev20250311.dist-info}/WHEEL +0 -0
  90. {streamlit_nightly-1.43.2.dev20250309.dist-info → streamlit_nightly-1.43.3.dev20250311.dist-info}/entry_points.txt +0 -0
  91. {streamlit_nightly-1.43.2.dev20250309.dist-info → streamlit_nightly-1.43.3.dev20250311.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: streamlit-nightly
3
- Version: 1.43.2.dev20250309
3
+ Version: 1.43.3.dev20250311
4
4
  Summary: A faster way to build and share data apps
5
5
  Home-page: https://streamlit.io
6
6
  Author: Snowflake Inc
@@ -3,7 +3,7 @@ streamlit/__main__.py,sha256=G3Ka6wgeICpC1gI872L7jGQhY4ukAFo3lgnYIqtoBIo,868
3
3
  streamlit/auth_util.py,sha256=fqfpfz7mD4YnqvYUeK0FwD26n7-hOxT2HJo9o0-lrO8,8489
4
4
  streamlit/cli_util.py,sha256=usVophgZtkDBxqYfiGx07W8NA_d4RUJ7P_EFTgSP-jQ,3383
5
5
  streamlit/column_config.py,sha256=Hlub5VfY4T9uRwORkgiaJpAqNdEF_jpjIC16BreZEQ4,1448
6
- streamlit/config.py,sha256=9BIh2fe-apAuo_21k9okQjFH1W_00ctdeghm2J54Kp8,45250
6
+ streamlit/config.py,sha256=ij3IYNCE8hEtOneRDW0kSVaLHu0gw_95lKg8_KKr_Lc,45478
7
7
  streamlit/config_option.py,sha256=20vjS3ude7aIoSrILo6y1885KEzPbGqC_pFlAhjA02A,11388
8
8
  streamlit/config_util.py,sha256=Bm26ZEOgepuPmkvlVRYoLDpeWke6pP8gsE3K0t9w6mA,6011
9
9
  streamlit/cursor.py,sha256=MgoVLi-bJqDdyWs5WbHYPbjkzAF-cNVk08_bTOAo1wQ,6026
@@ -19,7 +19,7 @@ streamlit/errors.py,sha256=ky25xwS8og0nCvsljeqog-0VwGlOkBsoinHALcdm9TY,15447
19
19
  streamlit/file_util.py,sha256=9bey9mRJmvuMAT9dad-RRuUoUhEySLLf4eyE45ZT0vQ,7146
20
20
  streamlit/git_util.py,sha256=74knuzTLt1XvlZXfvCOmIvw66pCseUUtIGEvnJD_E2g,5261
21
21
  streamlit/logger.py,sha256=ipnxnFTCmg6ijfFo9FRZYFSytoAoj20SVycFCluqz1E,3987
22
- streamlit/material_icon_names.py,sha256=alhAiwgkhbcgUE3O8gOaCuhz_FPw7tk_AzgSdKIlzQc,62661
22
+ streamlit/material_icon_names.py,sha256=vIf_gOEjUDtm-iJ7iOuXS40qMIwcI4Sheg4yE-5ZA_k,63449
23
23
  streamlit/net_util.py,sha256=O0JqAcgRWDbol0nsWKM-eDd4Li4yTo1DKvvJM4KOW4A,3271
24
24
  streamlit/platform.py,sha256=i7RhcsIJrV0ngtxCKxvCAkAia81JpZWIzqFEse1SL7g,1129
25
25
  streamlit/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -118,7 +118,7 @@ streamlit/elements/widgets/color_picker.py,sha256=U0zoKAAXqtw4L0aloWAk8BwldvEXIf
118
118
  streamlit/elements/widgets/data_editor.py,sha256=lXSoYtJZvDxPfrBIcwYwMH3rqwXJn4nP9rlk8Pnvcrc,36863
119
119
  streamlit/elements/widgets/file_uploader.py,sha256=pQOrcldXTl8YcJuyYVzCoB2a5y6NOi9I3x0xzkENfhU,17738
120
120
  streamlit/elements/widgets/multiselect.py,sha256=enfKQP_qtHMu_6LBu4YL2pLnTxlwz-8dq-YcBcmhxpc,11715
121
- streamlit/elements/widgets/number_input.py,sha256=GdaqWl6TgO1ZXu6P6EA6DVhXLkTeIjR7PaeJOvkkKsY,21065
121
+ streamlit/elements/widgets/number_input.py,sha256=4-YDwlAk2rOQOlVbVRpwRorLyQEnsgunuEqx3mET5Ws,21698
122
122
  streamlit/elements/widgets/radio.py,sha256=pOu9qh0v1FZcI2DIit6mKkAJdGjveDNdNEkW5-1L9bA,14062
123
123
  streamlit/elements/widgets/select_slider.py,sha256=dJyPYKxjXrN2A8SmANsevRSzuqOQZh5doJsTLtOisnk,15341
124
124
  streamlit/elements/widgets/selectbox.py,sha256=9f1SFindUo8c4JmNroMsJqxMJOQSP5y3l9iTjl7N06g,12842
@@ -181,7 +181,7 @@ streamlit/proto/Code_pb2.pyi,sha256=3OApFNoVHfm7MljX5Q0rgzYAMlGG2jrs7xZOtd3ciIU,
181
181
  streamlit/proto/ColorPicker_pb2.py,sha256=mRCJI52B9WnNjrQZ9uVizhXmzjxdWOiPI11i6faGM9k,1766
182
182
  streamlit/proto/ColorPicker_pb2.pyi,sha256=1mvyUb8NjANzkJvhvB3udDXRSPtO4zIjL8q42g1v6dA,2546
183
183
  streamlit/proto/Common_pb2.py,sha256=8SKzhGDv882h0vEpuyNn-GYpiC83_xfeVwHUxvDiwRI,3893
184
- streamlit/proto/Common_pb2.pyi,sha256=pe_p8GlQ9Tl7dzyTM8qmAbb_FaLoeN0Vlx_FlO15MLQ,10806
184
+ streamlit/proto/Common_pb2.pyi,sha256=RCU6zgg3ntDKunMl-yZm7OZc9k8bJcu8FwZmMZ8bmcY,10940
185
185
  streamlit/proto/Components_pb2.py,sha256=I7grzAM8eBzuaKkveCQCYqSJ96CoEDrXjwOQgzA7zY4,2619
186
186
  streamlit/proto/Components_pb2.pyi,sha256=H3731z-hsoS8ZKhwDNLn0xixDOn5HO8OCtX68c5EVAs,6448
187
187
  streamlit/proto/DataFrame_pb2.py,sha256=NcwejTZdJe1ZQpuAf9BSg7CaxoSGwWysTwm9KOWsK4g,4832
@@ -240,8 +240,8 @@ streamlit/proto/NamedDataSet_pb2.py,sha256=cWRrGJRex35yZSApkPUWtfX31CHh2puULXQuR
240
240
  streamlit/proto/NamedDataSet_pb2.pyi,sha256=grlQwakjdOU2COd9SkGBNckr8aFgbwjh9d_MeUWmJLc,2014
241
241
  streamlit/proto/Navigation_pb2.py,sha256=eE74-8jcZ7vE6faM4YZY3joDvsDA03iqFuKuilXsucU,1727
242
242
  streamlit/proto/Navigation_pb2.pyi,sha256=tCtrov8MwVn4TsbZNsb9JfZc--7UhUWjUsItubgAXKY,3328
243
- streamlit/proto/NewSession_pb2.py,sha256=fuah6_HeB4NAoGSS2A1dpL1Z2E3PZ0Kn-sPtvioo7kQ,6171
244
- streamlit/proto/NewSession_pb2.pyi,sha256=7yXvXwZijBMdcx7i0h_NAKpks0Ux4fJJGbARmqKZfUw,22041
243
+ streamlit/proto/NewSession_pb2.py,sha256=0Eg5IRPWChjDbGF-I4WTYgrk6cqCBHTsZ3YB5u9NGcU,6213
244
+ streamlit/proto/NewSession_pb2.pyi,sha256=DrI9qdUOkC8sRKl1igyYq_SSTIVTw_I74Gn37mW50_4,22191
245
245
  streamlit/proto/NumberInput_pb2.py,sha256=Oh6jOOGbRR2eETyld_Cw2s1jf0E_HyMpckZ40uIfITY,2485
246
246
  streamlit/proto/NumberInput_pb2.pyi,sha256=xNabaxPIrdntip1h7vnhgGEaG4snycpOKkanoRmNgp0,5117
247
247
  streamlit/proto/PageConfig_pb2.py,sha256=_5or911zwhhoscapOlhdI7sCGUtjLfXKRGoqRbp62mA,2291
@@ -294,8 +294,8 @@ streamlit/proto/VegaLiteChart_pb2.py,sha256=d8wTQ_8UU4xw39bLNkZK7exQlmne1Q6QAj3v
294
294
  streamlit/proto/VegaLiteChart_pb2.pyi,sha256=gPdscShRFMJSmZXPky_HJKCcIe_YX1cV4gWXN8nJHt0,2721
295
295
  streamlit/proto/Video_pb2.py,sha256=we2rpkdR2oo5Xi3bSyYpELjQscVVtrN2mpgpQICx2us,2014
296
296
  streamlit/proto/Video_pb2.pyi,sha256=FQWozKtX_e_d39ZhOz7fwQO2LlLV38VN91z6FvC7s2I,4321
297
- streamlit/proto/WidgetStates_pb2.py,sha256=QL1qzBwwLNYgSLfmjvwknSH2mUUV-J5F6Vi6II-TXkA,2554
298
- streamlit/proto/WidgetStates_pb2.pyi,sha256=NMD-MaR3rMDDXyEL5qwr9KcaPSBrJYnRmCxldXHzJD0,6439
297
+ streamlit/proto/WidgetStates_pb2.py,sha256=M7_-_NVrpOePLy49dtfwxq06CqKjHL98BhExzqGd3nA,2756
298
+ streamlit/proto/WidgetStates_pb2.pyi,sha256=klMh0-TKhsMlSjSMKBDAk0smGZiS9TsbzLEruxWkh-Y,6592
299
299
  streamlit/proto/__init__.py,sha256=WJu86eq4nAb-pIORVP6xRkKHJwAJQcekPW2dRflPl-c,668
300
300
  streamlit/proto/openmetrics_data_model_pb2.py,sha256=dWlhXENjgvIGCMnAumDVQkLA4TQQzP77G5pncI6oP9I,6424
301
301
  streamlit/proto/openmetrics_data_model_pb2.pyi,sha256=dmABrepaNR5S9kA1UPfQGXqY_ARAUuLmQBqG1Xn_HUY,20319
@@ -344,7 +344,7 @@ streamlit/runtime/scriptrunner/script_cache.py,sha256=duLzXBH1_PHe8HrLvNhumIyEPB
344
344
  streamlit/runtime/scriptrunner/script_runner.py,sha256=1VaEvDcUTAwntqrip63lHmqlyw92RU-Un9OvwW9bpSs,30857
345
345
  streamlit/runtime/scriptrunner_utils/__init__.py,sha256=JPxE7lIKT4SyeaC4Q6pIvhZa6Jvu8TcQqvh-S9w-Vy0,840
346
346
  streamlit/runtime/scriptrunner_utils/exceptions.py,sha256=5nGojkoFVrKDKzY60awz6V4WXdkCP_MMfpJKtqCRRm0,1554
347
- streamlit/runtime/scriptrunner_utils/script_requests.py,sha256=_zWKUHJnEe8mPXRu5wggek21zugw5YJxFWWFqB4Fv1Y,12575
347
+ streamlit/runtime/scriptrunner_utils/script_requests.py,sha256=9A0SBq07haw8gqFP2-P_lUBTKMSdOq0gzU0rP4hmRaA,12420
348
348
  streamlit/runtime/scriptrunner_utils/script_run_context.py,sha256=cWjg1KhQ-BURFDZNGfvf-Go2vJshbqFZsF2VqdBljDM,10634
349
349
  streamlit/runtime/state/__init__.py,sha256=RTi68He0V3JGETMplE464sjqahqVi06RtvU5ckpzcIk,1433
350
350
  streamlit/runtime/state/common.py,sha256=yJS1t7nWwqQVuiplGunfLBeduMrJmYzEJgvS0aDJdVc,6410
@@ -355,83 +355,83 @@ streamlit/runtime/state/session_state.py,sha256=laltVPDkyAQ_F3SYLGj0LcusRwZBn1Y5
355
355
  streamlit/runtime/state/session_state_proxy.py,sha256=Z05Q6zmCmJUJSVovW3UzabtU-lSrdXEOXsjne438Lto,5551
356
356
  streamlit/runtime/state/widgets.py,sha256=ofGjJppIwiqFN9DpBtXQakQifNpxZOVYNPCSyvCWo8Y,5319
357
357
  streamlit/static/favicon.png,sha256=if5cVgw7azxKOvV5FpGixga7JLn23rfnHcy1CdWI1-E,1019
358
- streamlit/static/index.html,sha256=a06CA4iHxQ5E5yScApntsH28_5WIfp5s1mDC_rySIo8,1837
358
+ streamlit/static/index.html,sha256=VzliN91OSbbAGvU9ceT9oWhao4NF56iaOSVmpgELiCo,1837
359
359
  streamlit/static/static/css/index.Bmkmz40k.css,sha256=ABplygqcSw44Q8TlJ00LcbaqtTbc_NvMMYwMblGax1M,18462
360
- streamlit/static/static/css/index.DpJG_94W.css,sha256=kvkgKUiZQNh7blKcqvuxZtxXo3JKM0qd8yfdoMOn3uI,31692
360
+ streamlit/static/static/css/index.DQZt7VFg.css,sha256=vYr5nryHDfGN2xWp44Or18LwRi1Xj2MyqzZgTeWodmY,31692
361
361
  streamlit/static/static/css/index.DzuxGC_t.css,sha256=1D1iN9VtJEU7H_zye_YV2guXskYkxI7PXbq1YXw5JOw,35092
362
- streamlit/static/static/js/FileDownload.esm.Bp9m5jrx.js,sha256=KLL7JlUoGnbJyyFraOvkLMB7nRNLHHJGCPCQTM33iDU,918
363
- streamlit/static/static/js/FileHelper.D_3pbilj.js,sha256=ABYj1osEWAE56-dNVi90ojp4fZkEHKuQxgW1vx5ebws,61609
364
- streamlit/static/static/js/FormClearHelper.Ct2rwLXo.js,sha256=-fJLPwgNApr3IXGNkxMCCkcJvDU8J0TbwdaqJWqp61g,631
365
- streamlit/static/static/js/Hooks.BKdzj5MJ.js,sha256=WSN34ga6RQfnY37JiQuMN0cSNbGBzVEhiijFfNbiA98,140
366
- streamlit/static/static/js/InputInstructions.DB3QGNJP.js,sha256=BofRRI-yC4JnR1v0pxxJykDuBTTu5D_jN5bOg5SzdXE,899
367
- streamlit/static/static/js/ProgressBar.D40A5xc2.js,sha256=I39_ot0LbnXGO1RjQLRLFBXFjw0a5hJfKfdcK1yt17g,13318
368
- streamlit/static/static/js/RenderInPortalIfExists.DLUCooTN.js,sha256=hBDYU7-LyA-27ylkFxGUoWRA3W9QDv2hyHTvcR_HjO0,523
369
- streamlit/static/static/js/Toolbar.BiGGIQun.js,sha256=j6Tl_VKhZAju_0KNKU_yqRO4owSi5H1lC6mgrMoy1OI,2817
362
+ streamlit/static/static/js/FileDownload.esm.B-R2xJ_2.js,sha256=6WQ9VWDavZn_5f2TfpqJ3lS6anGXsjeO7oBfTqclH8w,918
363
+ streamlit/static/static/js/FileHelper.Dpame4Yy.js,sha256=OHcIDAvXXwZw6St3--k1Y9TLJt3vobb0uuLTUwrx2bA,61609
364
+ streamlit/static/static/js/FormClearHelper.CJtgEcyv.js,sha256=YCXqxKVXUpMmPywy7wkgGtoNUUvZduZefLT2G6Sq1do,631
365
+ streamlit/static/static/js/Hooks.eMU4yP9C.js,sha256=G8aAOv2svoisyQxMa_bfQEiol4w-sZ2xPQwd1zqa6UE,140
366
+ streamlit/static/static/js/InputInstructions.Bt5nMAh-.js,sha256=M26IZ-5AapoNSdY9L_FmQE0rRm4etWyzgnBO3jo2VJU,899
367
+ streamlit/static/static/js/ProgressBar.CRfY498S.js,sha256=u-ACxhAoebQwt-Btg1nvFfbLaruarqOyDSPWtMAD9r4,13318
368
+ streamlit/static/static/js/RenderInPortalIfExists.CjsBZs42.js,sha256=GrXw5phV2_8ip2gjKNIIUINL4LJvC-8qOx7ABlz2K1k,523
369
+ streamlit/static/static/js/Toolbar.CBmSHKas.js,sha256=EA6yckbVMoiakjXaLh6qsHrhA6kovCJija5BuAd2T9k,2817
370
370
  streamlit/static/static/js/UploadFileInfo.C-jY39rj.js,sha256=Z_hcytEoaAX1saJgsfX1UoComwwlMcjCUZ8ldwuQJI8,151
371
- streamlit/static/static/js/base-input.CQBQT24M.js,sha256=yXtWzWJMvIDV3ZKYgsUKVpbcQfp4oSwkP_sWLSSEaaI,21774
372
- streamlit/static/static/js/checkbox.Buj8gd_M.js,sha256=a7GHK-9jz6RGqUYTeo2yjuRMrliixxvjfXwR-fb1III,11243
371
+ streamlit/static/static/js/base-input.pwi2uHY4.js,sha256=UWnqaKZLzZipXKUPzsSvoeCjiEp4NmoPQWTeMujH_iA,21774
372
+ streamlit/static/static/js/checkbox.BRMCIUrT.js,sha256=NuAJZ9EQiRy1a9vJLpffGgsRcdDMxz4LvWiQ7JbZ_zs,11243
373
373
  streamlit/static/static/js/createDownloadLinkElement.DZMwyjvU.js,sha256=uB4db2cbWB2KYpRbQKK6xi-mLBiUQXQtsL5I3N6rMcU,242
374
- streamlit/static/static/js/createSuper.CesK3I23.js,sha256=KXuozCWcEmDTgCtDjb5ReSYpnwkH3yvqNE-FGPympD0,394
375
- streamlit/static/static/js/data-grid-overlay-editor.B69OOFM4.js,sha256=qi2c-G00nyVNxcUvjPC-NcNXubdWVPCEvln01MhidUo,4100
376
- streamlit/static/static/js/downloader.BZQhlBNT.js,sha256=-BGI35YgyvOv3LOdgGTpbWl4LfboeAXF7rStilKarBY,2535
377
- streamlit/static/static/js/es6.D9Zhqujy.js,sha256=hqbnIvcAp14QetG2k7c8HvLmebn6i8i9NC8mftWxqz8,15321
378
- streamlit/static/static/js/iframeResizer.contentWindow.CAzcBpCC.js,sha256=wtMDi_mbPUVSe8otiKq9bd_Bg416o-zowrEELGN1mig,14406
379
- streamlit/static/static/js/index.08vcOOvb.js,sha256=383RH6-Lk5CP7MaupumY3p99cx9IAkOSJ2la11n0U98,2639
380
- streamlit/static/static/js/index.0uqKfJUS.js,sha256=KV4ES0N-GIVcbVZ_zuWG0UKMyLIpp8pVOEpUwAgUo-8,798
381
- streamlit/static/static/js/index.B02M5u69.js,sha256=UplYp5PuV7-mgM6cmEMk7axTlgaO8wIxymlf_5Vr1O0,852461
382
- streamlit/static/static/js/index.B7mcZKMx.js,sha256=ohayGlkNHLNYfnrzduuOZU6riZ-SfEnJgcWa4gm3oKg,3898
383
- streamlit/static/static/js/index.BAQDHFA_.js,sha256=zk8hdmLEyNwmpLoxKcQuFUd5cBg1fXa2YsIIkBv1j1E,11971
384
- streamlit/static/static/js/index.BI60cMVr.js,sha256=YZwU49JG4dzPT9cgvcH88Ft5S8PSVgZM7jzPakIIgZ4,22727
385
- streamlit/static/static/js/index.BLug2inK.js,sha256=Xzl68UBRnIaZR5nYxuJM0bvN_Rf0LlBrseR_zmfBmd8,718
386
- streamlit/static/static/js/index.BM6TMY8g.js,sha256=NhoOcIqreE0EC9uXpz4WoMD8_6E22_q40bwksud84KA,9077
387
- streamlit/static/static/js/index.BZ9p1t7G.js,sha256=EWEn8MZPyAWZ5jWQG2vQyGdzZW1PT8bqBMxWoWkfGAA,583
388
- streamlit/static/static/js/index.BZqa87a1.js,sha256=azsMkP-avuEwnvFCwQ0foel-8deG386147Mvxk9HNPw,34827
389
- streamlit/static/static/js/index.BcsRUzZZ.js,sha256=poe-Y2CkZvBjyfGaNYeZx2AMY3_VLN82ozXboS0z9zY,2475
390
- streamlit/static/static/js/index.BgVMiY_P.js,sha256=MqbjNIeWNXf7mEMitx4RWUmYv3qbIvfiRARmyIBmzPk,434554
374
+ streamlit/static/static/js/createSuper.BT2FfU2u.js,sha256=JrNeGDCuWv0YtMZ8ZovqKMcQ4JSf7G6R7xkSzV275TE,394
375
+ streamlit/static/static/js/data-grid-overlay-editor.DR231PaH.js,sha256=-4cj7xK1-RhlwpYj88wH5s2NRThK6l7oimwU8fP1dcI,4100
376
+ streamlit/static/static/js/downloader.Cwh9Q8n3.js,sha256=QwE5htyPQcSkNO2Y6U5wu53T0bTcQun3E6jGYgL76NQ,2535
377
+ streamlit/static/static/js/es6.DXFo1lzk.js,sha256=YRjPzbuI2L8RpGD2K5mBVFvMWaIkdemqLMreT4_3L2U,15321
378
+ streamlit/static/static/js/iframeResizer.contentWindow.BqHH3gN-.js,sha256=j-ocaRiyKMHVkvGSWlImdPAKYgIPncMzSRocW30Fwtc,14406
379
+ streamlit/static/static/js/index.-J5N3GRT.js,sha256=FzLfy6pVveDNBH2ye07afnbNbDpPsHsSGGvA8qFieMA,1799
380
+ streamlit/static/static/js/index.7mbSZESp.js,sha256=1OBfuY7G9jBFwswIW9XxYuC0SsOmLGOYWy0aGywyTAw,18889
381
+ streamlit/static/static/js/index.B71BDPil.js,sha256=Cc84sPAR7aTIXPUr3ZXUML3HAJI1LsBVO6PbFGO81O0,2861
382
+ streamlit/static/static/js/index.B9ftDzXT.js,sha256=91NruaYvRhw2zN0r3DjPu0jHHIOgeIylQ0pgTxVUQmo,13070
383
+ streamlit/static/static/js/index.BAQ_1jSz.js,sha256=LZQ22kbFwdT8N1_sGycj98q1gVS_DBBDS4UKdWfG6JA,24380
384
+ streamlit/static/static/js/index.BMcgy3Eb.js,sha256=uyXKqTxDlwwMwOKRBt8m6mEEk7bp7SchcYpyl9FAScM,2428
385
+ streamlit/static/static/js/index.BN2fMHzp.js,sha256=Rjj6i5M2qm_UXIrs-MJKhOtVfoXeHLddj3RvuYz_Ddk,3594
386
+ streamlit/static/static/js/index.BhhnIkTX.js,sha256=ON6N82qgWzPCTB8zVn968bpi-MQmEucaZ20vLG1W9Ng,113134
387
+ streamlit/static/static/js/index.BiPCWEUM.js,sha256=rwgFv_7yIWGVbxApM29pnadhn1iCSlyNMh6JT9a8E68,6776181
388
+ streamlit/static/static/js/index.Bt4_I4Hr.js,sha256=F-kEzko_B6NyeNpqXJYcKhpFsXdyXHEs_a51u9-y6O4,1612
389
+ streamlit/static/static/js/index.BtaSeLy3.js,sha256=BRdlsDZR6BslFqzHFDsYfoZjqts4H6SLzoQHelj0puo,583
391
390
  streamlit/static/static/js/index.BtuGy7By.js,sha256=-Gsj2Zol9DIzhVSfITfCTlJw0Uw9yNUqTTWeXnsw9iY,34960
392
- streamlit/static/static/js/index.BuDuBmrs.js,sha256=gOgwst53fPcU9LijbWXQ_EUBNgMRkxL-ie-U3RprFu8,3594
393
- streamlit/static/static/js/index.BvXU2oKV.js,sha256=-1py8wrsRYFUvVIi9kMy-H-fAYDgJw_E3iNl6P4-iLo,617
394
- streamlit/static/static/js/index.BxcwPacT.js,sha256=oDcy5W7WLLatkWt2tDcL5Y8Jp39nFlBXf6hbFx_B6ec,50214
395
- streamlit/static/static/js/index.CWX8KB81.js,sha256=hg2PdZtudzPFxAPNb-OWL-4jUJ4zRt0l6BlOQgYh4aw,2861
396
- streamlit/static/static/js/index.CXzZTo_q.js,sha256=Lh1orUZywkWhfR9C8esvaqU8Npm9A_FAumkAZ8P_ZpY,1799
397
- streamlit/static/static/js/index.CcRWp_KL.js,sha256=DdoIZm5Zb2fnz4Jv88_kg6wI-xbK2XDlCJ6XAqZKFxQ,2110
398
- streamlit/static/static/js/index.Cd-_xe55.js,sha256=vHvFIHLPhh7ADDRHT_oDb_I6nV7D3Z38xbYgo34QCgg,18889
399
- streamlit/static/static/js/index.CdG2PXln.js,sha256=81NlbVEQemRS2-zt_dt9JzMk5mgwyzFL8QQRbGkoIzo,2565793
400
- streamlit/static/static/js/index.CjXvXmcP.js,sha256=WuieM5mPJpk0xuQTg272sSLSOiMwmpCt3C_KmsVqDP4,7285
401
- streamlit/static/static/js/index.D1HZENZx.js,sha256=dXI5SvaVtZxt1MbAn5WntSXiD_9qAK93hP13xofeapo,6774580
402
- streamlit/static/static/js/index.D21Efo64.js,sha256=UK1USLYil47inJNlFCk8iy48Kj2qiF6SQyVU3YyBqzA,3385535
403
- streamlit/static/static/js/index.D9WgGVBx.js,sha256=ZSgduM1cWRgSVQoq_5-jTrxjCp0XJLgwNP8YbL82Yac,1277
404
- streamlit/static/static/js/index.DEcsHtvb.js,sha256=VsXm3WSwQDp_-uP9j4rmhxLBfzfgaGBxY4VWZNI3e70,113134
405
- streamlit/static/static/js/index.DFeMfr_K.js,sha256=V2MuZFI23YABq_8m5PFcV1QYPLHSpRLAsI97NeV6u34,1359
406
- streamlit/static/static/js/index.DHFBoItz.js,sha256=DWFVALoCbQZt2MoszyTWD-wvuARIojZCLcGGaVNfVB4,880
407
- streamlit/static/static/js/index.D_PrBKnJ.js,sha256=ZSHZAtZ7khO7cG57ZiY45mq0dDkSUHdU-MaM-GPsx1w,852045
408
- streamlit/static/static/js/index.DmuRkekN.js,sha256=ymUJQbueG6uChBqEN3g-_Il79iUJ4RtH0kxPX5y7Rvw,4692504
409
- streamlit/static/static/js/index.Do6eY8sf.js,sha256=rLAzeZAY279NHDo12gddzpD61EjrwJx5_9jHPxRiy8E,1612
410
- streamlit/static/static/js/index.Dz3lP2P-.js,sha256=1_JkzOxRLgn1VM_4kUGcJ0d1o6JX_joXJJkH34OKayo,2837
411
- streamlit/static/static/js/index.Dz_UqF-s.js,sha256=MoS47Rx-qzTD6FNmF_ZyezrqsawC6uU26Ti6n-Ken6c,1333
412
- streamlit/static/static/js/index.GkSUsPhJ.js,sha256=6kn8YsVWkvEXymnHRFnWBmPC6trNeWX4ZrNU9--lLfU,2326
413
- streamlit/static/static/js/index.H1U1IC_d.js,sha256=SCXC4xrs7olSika7fNcmCXjevTuJrSbIvKTLair_zRc,24380
414
- streamlit/static/static/js/index.g6p_4DPr.js,sha256=MY21ZGsNyTQ4ddcHnIuVsWVy4aRs2IKOfV8Cw2RCocU,443
415
- streamlit/static/static/js/index.g9x_GKss.js,sha256=BUVo4ck_nKjCOiUoLzo5-Hu3D-mEvnIoay3hi1l3SS8,13148
416
- streamlit/static/static/js/index.zo9jm08y.js,sha256=BxkqMcqByqiCrnlIYPeS4pNuOCxYucqTxCAUYGAbYq0,19525
417
- streamlit/static/static/js/input.DnaFglHq.js,sha256=JLMItIiTZ7gPzRozXcUJrz47BNodsI6dJef1InxEmFc,5244
391
+ streamlit/static/static/js/index.C8ZQWk_P.js,sha256=7_dC2mzCNzthDrsIDCSmKHg4zJHt8jSEM92oCvLfYUM,798
392
+ streamlit/static/static/js/index.CKLHvpe_.js,sha256=dPXpuNN0ZpFEZSWSmyWgc3IBx_3JdgSy9NbtoSpNq5U,34827
393
+ streamlit/static/static/js/index.COJ2HeaK.js,sha256=eqCAK2jZuH7vmPWRQDrdbrRkg2Ef5MIS1rm_XyTWyys,19525
394
+ streamlit/static/static/js/index.ClCou1d2.js,sha256=YPuisxbA-FxSfHmCG45YZVv2MuhQ2k4RpOWgZiqpHlM,2837
395
+ streamlit/static/static/js/index.Cqy-AKUq.js,sha256=mRj9ud51sT_8GUQQn1L0HCVYI013u96jDbuh-7wiPvo,22687
396
+ streamlit/static/static/js/index.CtDd3Kvg.js,sha256=8eKm5e7fFxrrdtOk1ojj_3HIGxTTNM1dUku4FyawShA,880
397
+ streamlit/static/static/js/index.D6iEZATu.js,sha256=tikXWyREcgt0jVPbNDHMUJUztLO0uAm9B9obHh_HjQc,2592
398
+ streamlit/static/static/js/index.DAIPHdqL.js,sha256=6LuvhOihZ1jZ3tuvRhcGF09kBteFY8DPDW1cxRluSMQ,1333
399
+ streamlit/static/static/js/index.DBAW0l2y.js,sha256=p4e5dLCyWx5MUtHyeZiXoUI8RyK5tDAEU-niFNIfnMc,2565793
400
+ streamlit/static/static/js/index.DC7tm9ca.js,sha256=5r_oxvcLTP9aR-okTuANftMztMcl5-qAFcs5RlDoIO0,2396
401
+ streamlit/static/static/js/index.DGe1v1i2.js,sha256=fydCIJCK7wg4N9XRmC3NoLUKjJt2ZsKUBJqOQkvcijA,2110
402
+ streamlit/static/static/js/index.DIxz2WrU.js,sha256=5K7fEvwZHvsrJOPa_mGrfnnfeFmxKpell0HO5OWzvqw,852045
403
+ streamlit/static/static/js/index.DJZrR-yh.js,sha256=gxW1viMVpPKYgabhuaoO7Yi9UVnuGraYuHkK90l_Ilc,443
404
+ streamlit/static/static/js/index.DTC2KQEB.js,sha256=qGFzPMxKLiVOnIWrSBywwEwDTOplorARjAYbxixTeqw,4692504
405
+ streamlit/static/static/js/index.DbtNEUBr.js,sha256=sMd-KiqSSHbKbGmEJnPMaJlImtqHv_KskLMm0JPGcl0,1359
406
+ streamlit/static/static/js/index.DklFRDjI.js,sha256=VZixgPsmv2SYJ-DXWw_SifWnqRAEN0SZpFZGH55j11s,9077
407
+ streamlit/static/static/js/index.DuXQiNfC.js,sha256=NAOXNfNjza_z9W3T2FhEQbmlSBJVLkvlURp31LADSVk,11971
408
+ streamlit/static/static/js/index.DzJ-K9FH.js,sha256=3Gw_UBZANc7_2aXTKxUkIojBT88VAdFyJaKu-qPTa6Q,3385535
409
+ streamlit/static/static/js/index.E4BOW70b.js,sha256=yJcjpwpRP1vL-R3zxC1RgwIBFiOcwxGVl-mYKKFyrKQ,3898
410
+ streamlit/static/static/js/index.Fi_0UKZA.js,sha256=0exTIXE8PFRgz7eShX3zD3zg7ipyb68EAeXLWNjSs1A,7207
411
+ streamlit/static/static/js/index.SGdFItlP.js,sha256=tbSwXrNVaxmtv-6R7kWNi4HXeYH3ywdHX-YUombFZLI,50214
412
+ streamlit/static/static/js/index.Y1Qnwm4b.js,sha256=1q4BtMur4wfAIob1SohjNmq2sfJDtXobFu28lQSfTOg,852461
413
+ streamlit/static/static/js/index._HJ2bgYb.js,sha256=_9uny7pxpC2wctSmqYPxjGAdetiGHvsf16QOqCm8EL4,434554
414
+ streamlit/static/static/js/index.eHde7unb.js,sha256=m6OVt7YIea8pMmAo-JQKPa2VFAba4AqiUAroG1vrXzc,617
415
+ streamlit/static/static/js/index.oH2t20_d.js,sha256=iAl_pNw1Q3m8Go7q5Aa5GpL0Ssybwc8QuhgOSAju7c0,1277
416
+ streamlit/static/static/js/index.pfdwKIIK.js,sha256=41ReVTozrwRrUk8wJII4DyIb739FNyPU0paFEWYCNQg,718
417
+ streamlit/static/static/js/input.Rf6xGN5X.js,sha256=vsl842qThUcthQtZQSvNn94qylEM94V9zBHYzOLJoHM,5244
418
418
  streamlit/static/static/js/inputUtils.CQWz5UKz.js,sha256=-kt6oYYgvhFS0t0EV2qJE6f43GUao6rNeipUmv3RuV8,150
419
- streamlit/static/static/js/memory.Crb9x4-F.js,sha256=FLDlIx2GSw_3NEA85y4H0ms-qfVNdSNflDUru-xTNBU,3041
420
- streamlit/static/static/js/mergeWith.ouAz0sK3.js,sha256=cM0ukFUb-wg_MGDDNv2RNZ6gmB-1ZTiKSToSLQ1wElM,198
421
- streamlit/static/static/js/number-overlay-editor._UaN-O48.js,sha256=f6_ASodo-1b4TnhES43d3AK0mTfNERYDizT3PBZoz0Q,16550
422
- streamlit/static/static/js/possibleConstructorReturn.CtGjGFHz.js,sha256=OGeVlc-HUOvHWT5EoIsI_Ru9FZL-tyhZkyDCfBjkGRU,1451
423
- streamlit/static/static/js/sandbox.CBybYOhV.js,sha256=6baRsIKIor17YoGCeTxX-jvPHdFmJCALbJVL0CuworQ,2960
419
+ streamlit/static/static/js/memory.D5NLCYdA.js,sha256=kjaO4ud2zMp5hgcumzIkRJWnZKgTJ5zlrLGNBMyHyQw,3041
420
+ streamlit/static/static/js/mergeWith.Bcdwg8Ac.js,sha256=sosMUjyPijcWv4FHTzbrGuNWiNy5QvD9rveZH87iDPQ,198
421
+ streamlit/static/static/js/number-overlay-editor.CCjfRIEO.js,sha256=oS-DCcrhykzP54B4YPdf8wfpexhlRCJF3JIaL25khsw,16550
422
+ streamlit/static/static/js/possibleConstructorReturn.B8bXiVQj.js,sha256=x3MseIWajwqRviYYYbrPFA-XiE7u0UgJv4EJv_Aq454,1451
423
+ streamlit/static/static/js/sandbox.lrrkbqxh.js,sha256=RGTWv_wztcbznsC6oCnA2J-FSC1Z9PSkFZmW5nOZjTs,2960
424
424
  streamlit/static/static/js/sprintf.D7DtBTRn.js,sha256=dLZEkTCGwWgkxMOITY-fqjbGVuUO9nFw7MwCANBdisk,3434
425
- streamlit/static/static/js/textarea.Cb_uJt5U.js,sha256=zdjWsN3zurECht7Eeg_-vAqHTXwrBEqt7jw-f-vncaE,5761
425
+ streamlit/static/static/js/textarea.DCEYRe9D.js,sha256=V7NBShmEBlik_VwUiOljiJG6-Mz6mej53Mj_-nRM1Fc,5761
426
426
  streamlit/static/static/js/threshold.DjX0wlsa.js,sha256=ToJ7upF_PGcC41-Cfe0gGTVgWb0yjhBbHTQrd4GD4gg,5693
427
- streamlit/static/static/js/timepicker.DKT7pfoF.js,sha256=UqPc2txVUGzhh9PqkvRfb66LNw-nKXW8b203Loh_OzY,89416
427
+ streamlit/static/static/js/timepicker.DpQ3WAC_.js,sha256=0W2muLENBq6LE4LAEoZEJwtK15DoRuibdUgE_1171-w,89416
428
428
  streamlit/static/static/js/timer.CAwTRJ_g.js,sha256=aNjItH3iW2RuvnLaZ54iUi50rhEiW93-1Rel2EyaRlQ,7408
429
- streamlit/static/static/js/toConsumableArray.05Ikp13-.js,sha256=T4qpPt21fzjQ3C8Sh97lmSIS-znHaFsNRO3H0W_Ek7c,1587
430
- streamlit/static/static/js/uniqueId.D2FMWUEI.js,sha256=Mcu1moiky6b6I-ABZlUXqQ3IeumHa5RyyyPqU_fCNSc,190
431
- streamlit/static/static/js/useBasicWidgetState.urnZLANY.js,sha256=2u365dxzwQnCnwcprLIS5S6lq5H-3SIRcc1XA7mAfBw,960
432
- streamlit/static/static/js/useOnInputChange.BOKIIdJ1.js,sha256=f0LpBR0XGm2KeYccLNz3flh-TAaHrZPpI15tvu2ssn8,587
429
+ streamlit/static/static/js/toConsumableArray.EduObuzm.js,sha256=Q9uta_wTBWlYDcT7aqcMKkjZz2w8hjtfjsKcnByFwdo,1587
430
+ streamlit/static/static/js/uniqueId.qyd-2U_A.js,sha256=THNcaBs-Jedc8QjTLvpKr6Lvt6q-KxjpgxXPn6U50I0,190
431
+ streamlit/static/static/js/useBasicWidgetState.B0zc_tpZ.js,sha256=Jpe_nhlRnK4wHwyWcJ9XGWLo-E6UYt25hR_3bz_i3G0,960
432
+ streamlit/static/static/js/useOnInputChange.tzktvOeD.js,sha256=ncVuZKfwuoq3NYzk4NMUld7nZI9LRyrWWRhOBazCwus,587
433
433
  streamlit/static/static/js/value.CgPGBV_l.js,sha256=7g4Owjf_hP16pkcLYPvARUlzIjBgl9APVNw2hnHYtWY,15042
434
- streamlit/static/static/js/withFullScreenWrapper.C_N8J0Xx.js,sha256=8Iyzq-7rZt4aOBH1jy_CUJ7yD9ByRSg_CoSRZBX0NVU,1708
434
+ streamlit/static/static/js/withFullScreenWrapper.TezXOJ_z.js,sha256=pLy-FlTkYrb1RyoQwb6lfswHuTH8uv41sXUuuRWK6N8,1661
435
435
  streamlit/static/static/media/KaTeX_AMS-Regular.BQhdFMY1.woff2,sha256=DN04fJWQoan5eUVgAi27WWVKfYbxh6oMgUla1C06cwg,28076
436
436
  streamlit/static/static/media/KaTeX_AMS-Regular.DMm9YOAa.woff,sha256=MNqR6EyJP4deJSaJ-uvcWQsocRReitx_mp1NvYzgslE,33516
437
437
  streamlit/static/static/media/KaTeX_AMS-Regular.DRggAlZN.ttf,sha256=aFNIQLz90r_7bw6N60hoTdAefwTqKBMmdXevuQbeHRM,63632
@@ -491,7 +491,7 @@ streamlit/static/static/media/KaTeX_Size4-Regular.Dl5lxZxV.woff2,sha256=pK99QURA
491
491
  streamlit/static/static/media/KaTeX_Typewriter-Regular.C0xS9mPB.woff,sha256=4U_tArGrp86fWv1YRLXQMhsiNR_rxyDg3ouHI1J2Cfc,16028
492
492
  streamlit/static/static/media/KaTeX_Typewriter-Regular.CO6r4hn1.woff2,sha256=cdUX1ngneHz6vfGGkUzDNY7aU543kxlB8rL9SiH2jAs,13568
493
493
  streamlit/static/static/media/KaTeX_Typewriter-Regular.D3Ib7_Hf.ttf,sha256=8B8-h9nGphwMCBzrV3q9hk6wCmEvesFiDdaRX60u9ao,27556
494
- streamlit/static/static/media/MaterialSymbols-Rounded.DcZbplWk.woff2,sha256=oPtrt-1ss7PjvgYFP949Vp6jvwxm5DJcxni9hBBnO8g,403592
494
+ streamlit/static/static/media/MaterialSymbols-Rounded.CRt5Q-14.woff2,sha256=9cLog_v9c93pR5MLd7HzBrdVsOwlByDTr9Uj8aFy9m0,409316
495
495
  streamlit/static/static/media/SourceCodePro-Bold.CFEfr7-q.woff2,sha256=GRaJCgp-IjxFMIQh3H8g4xvKBiiIY0_wmiTLK0wLQ8Y,74492
496
496
  streamlit/static/static/media/SourceCodePro-BoldItalic.C-LkFXxa.woff2,sha256=jVJHL9nm8MafxoRdi7Bu6A_Ei4VHJ7_Rh44qY1mqc2k,63060
497
497
  streamlit/static/static/media/SourceCodePro-Italic.CxFOx7N-.woff2,sha256=9l14W6OSkW1dJiiKKavLd1_QdTHtv_Sl67HNQoWSu8g,62096
@@ -555,9 +555,9 @@ streamlit/web/server/server_util.py,sha256=qL-z1JI1sTWvahhfzckWiKlsJhYqLiKCGsZEz
555
555
  streamlit/web/server/stats_request_handler.py,sha256=vMRWGfqItfI6OaqVyo3LIX3HjQ-OB6Y-LHOXPiihlGY,3641
556
556
  streamlit/web/server/upload_file_request_handler.py,sha256=NvjQpUt7HWi5DE08tLig_UWevKcC7nA7PFOJ-aSkxwk,5033
557
557
  streamlit/web/server/websocket_headers.py,sha256=FCzUc-829kNY5hgy2wGNZT0k4XgCw_nlLCdnb7pnNO4,2232
558
- streamlit_nightly-1.43.2.dev20250309.data/scripts/streamlit.cmd,sha256=k9768SaQCkiYAPaTp7JtkhAHEHflNQfu6fAM4pri6zo,676
559
- streamlit_nightly-1.43.2.dev20250309.dist-info/METADATA,sha256=8G-Yfwqo3Ks7PoxiBvZIXigQHTGn6wxHxQzqixPNnJw,8933
560
- streamlit_nightly-1.43.2.dev20250309.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
561
- streamlit_nightly-1.43.2.dev20250309.dist-info/entry_points.txt,sha256=uNJ4DwGNXEhOK0USwSNanjkYyR-Bk7eYQbJFDrWyOgY,53
562
- streamlit_nightly-1.43.2.dev20250309.dist-info/top_level.txt,sha256=V3FhKbm7G2LnR0s4SytavrjIPNIhvcsAGXfYHAwtQzw,10
563
- streamlit_nightly-1.43.2.dev20250309.dist-info/RECORD,,
558
+ streamlit_nightly-1.43.3.dev20250311.data/scripts/streamlit.cmd,sha256=k9768SaQCkiYAPaTp7JtkhAHEHflNQfu6fAM4pri6zo,676
559
+ streamlit_nightly-1.43.3.dev20250311.dist-info/METADATA,sha256=Xz7hUl0kdSdaqbqmA-Ufy5IEyEU8ysQ8K4WTnn66HFw,8933
560
+ streamlit_nightly-1.43.3.dev20250311.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
561
+ streamlit_nightly-1.43.3.dev20250311.dist-info/entry_points.txt,sha256=uNJ4DwGNXEhOK0USwSNanjkYyR-Bk7eYQbJFDrWyOgY,53
562
+ streamlit_nightly-1.43.3.dev20250311.dist-info/top_level.txt,sha256=V3FhKbm7G2LnR0s4SytavrjIPNIhvcsAGXfYHAwtQzw,10
563
+ streamlit_nightly-1.43.3.dev20250311.dist-info/RECORD,,
@@ -1 +0,0 @@
1
- import{n as P,r as s,bh as U,y as k,cr as g,B,j as u,br as H,bF as L,bs as D,ba as O,bt as j,cs as w}from"./index.D1HZENZx.js";import{u as _}from"./uniqueId.D2FMWUEI.js";import{u as K,a as $,b as q}from"./useOnInputChange.BOKIIdJ1.js";import{a as A}from"./useBasicWidgetState.urnZLANY.js";import{I as G}from"./InputInstructions.DB3QGNJP.js";import{I as N}from"./input.DnaFglHq.js";import"./inputUtils.CQWz5UKz.js";import"./FormClearHelper.Ct2rwLXo.js";import"./base-input.CQBQT24M.js";const J=P("div",{target:"e1o1zy6o0"})("position:relative;");function M({disabled:e,element:t,widgetMgr:a,fragmentId:n}){var f;const[r,l]=s.useState(I(a,t)??null),{values:[S],elementRef:y}=U(s.useMemo(()=>["width"],[])),[i,d]=s.useState(!1),W=s.useCallback(()=>{l(t.default??null),d(!0)},[t.default]),[T,c]=A({getStateFromWidgetMgr:I,getDefaultStateFromProto:Q,getCurrStateFromProto:X,updateWidgetMgrState:Y,element:t,widgetMgr:a,fragmentId:n,onFormCleared:W});K(T,r,l,i);const[x,m]=s.useState(!1),o=k(),[h]=s.useState(()=>_("text_input_")),{placeholder:C,formId:b}=t,p=s.useCallback(()=>{d(!1),c({value:r,fromUi:!0})},[r,c]),F=g({formId:b})?a.allowFormEnterToSubmit(b):i,V=x&&S>o.breakpoints.hideWidgetDetails,v=s.useCallback(()=>{i&&p(),m(!1)},[i,p]),R=s.useCallback(()=>{m(!0)},[]),z=$({formId:t.formId,maxChars:t.maxChars,setDirty:d,setUiValue:l,setValueWithSource:c}),E=q(t.formId,p,i,a,n);return B(J,{className:"stTextInput","data-testid":"stTextInput",ref:y,children:[u(j,{label:t.label,disabled:e,labelVisibility:H((f=t.labelVisibility)==null?void 0:f.value),htmlFor:h,children:t.help&&u(L,{children:u(D,{content:t.help,placement:O.TOP_RIGHT})})}),u(N,{value:r??"",placeholder:C,onBlur:v,onFocus:R,onChange:z,onKeyPress:E,"aria-label":t.label,disabled:e,id:h,type:Z(t),autoComplete:t.autocomplete,overrides:{Input:{style:{minWidth:0,"::placeholder":{opacity:"0.7"},lineHeight:o.lineHeights.inputWidget,paddingRight:o.spacing.sm,paddingLeft:o.spacing.sm,paddingBottom:o.spacing.sm,paddingTop:o.spacing.sm}},Root:{props:{"data-testid":"stTextInputRootElement"},style:{height:o.sizes.minElementHeight,borderLeftWidth:o.sizes.borderWidth,borderRightWidth:o.sizes.borderWidth,borderTopWidth:o.sizes.borderWidth,borderBottomWidth:o.sizes.borderWidth}}}}),V&&u(G,{dirty:i,value:r??"",maxLength:t.maxChars,inForm:g({formId:t.formId}),allowEnterToSubmit:F})]})}function I(e,t){return e.getStringValue(t)??null}function Q(e){return e.default??null}function X(e){return e.value??null}function Y(e,t,a,n){t.setStringValue(e,a.value,{fromUi:a.fromUi},n)}function Z(e){return e.type===w.Type.PASSWORD?"password":"text"}const lt=s.memo(M);export{lt as default};
@@ -1,2 +0,0 @@
1
- import{r as J,j as ct,F as Vt}from"./index.D1HZENZx.js";/*! @license DOMPurify 3.2.4 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.4/LICENSE */const{entries:At,setPrototypeOf:ft,isFrozen:$t,getPrototypeOf:qt,getOwnPropertyDescriptor:Kt}=Object;let{freeze:S,seal:y,create:ht}=Object,{apply:xe,construct:Pe}=typeof Reflect<"u"&&Reflect;S||(S=function(n){return n});y||(y=function(n){return n});xe||(xe=function(n,l,r){return n.apply(l,r)});Pe||(Pe=function(n,l){return new n(...l)});const le=R(Array.prototype.forEach),Zt=R(Array.prototype.lastIndexOf),ut=R(Array.prototype.pop),V=R(Array.prototype.push),Jt=R(Array.prototype.splice),fe=R(String.prototype.toLowerCase),Ne=R(String.prototype.toString),mt=R(String.prototype.match),$=R(String.prototype.replace),Qt=R(String.prototype.indexOf),en=R(String.prototype.trim),b=R(Object.prototype.hasOwnProperty),h=R(RegExp.prototype.test),q=tn(TypeError);function R(a){return function(n){for(var l=arguments.length,r=new Array(l>1?l-1:0),f=1;f<l;f++)r[f-1]=arguments[f];return xe(a,n,r)}}function tn(a){return function(){for(var n=arguments.length,l=new Array(n),r=0;r<n;r++)l[r]=arguments[r];return Pe(a,l)}}function s(a,n){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:fe;ft&&ft(a,null);let r=n.length;for(;r--;){let f=n[r];if(typeof f=="string"){const L=l(f);L!==f&&($t(n)||(n[r]=L),f=L)}a[f]=!0}return a}function nn(a){for(let n=0;n<a.length;n++)b(a,n)||(a[n]=null);return a}function x(a){const n=ht(null);for(const[l,r]of At(a))b(a,l)&&(Array.isArray(r)?n[l]=nn(r):r&&typeof r=="object"&&r.constructor===Object?n[l]=x(r):n[l]=r);return n}function K(a,n){for(;a!==null;){const r=Kt(a,n);if(r){if(r.get)return R(r.get);if(typeof r.value=="function")return R(r.value)}a=qt(a)}function l(){return null}return l}const pt=S(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),De=S(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ie=S(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),on=S(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Me=S(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),an=S(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),dt=S(["#text"]),Tt=S(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Ce=S(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Et=S(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ce=S(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),rn=y(/\{\{[\w\W]*|[\w\W]*\}\}/gm),sn=y(/<%[\w\W]*|[\w\W]*%>/gm),ln=y(/\$\{[\w\W]*/gm),cn=y(/^data-[\-\w.\u00B7-\uFFFF]+$/),fn=y(/^aria-[\-\w]+$/),St=y(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),un=y(/^(?:\w+script|data):/i),mn=y(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Rt=y(/^html$/i),pn=y(/^[a-z][.\w]*(-[.\w]+)+$/i);var _t=Object.freeze({__proto__:null,ARIA_ATTR:fn,ATTR_WHITESPACE:mn,CUSTOM_ELEMENT:pn,DATA_ATTR:cn,DOCTYPE_NAME:Rt,ERB_EXPR:sn,IS_ALLOWED_URI:St,IS_SCRIPT_OR_DATA:un,MUSTACHE_EXPR:rn,TMPLIT_EXPR:ln});const Z={element:1,text:3,progressingInstruction:7,comment:8,document:9},dn=function(){return typeof window>"u"?null:window},Tn=function(n,l){if(typeof n!="object"||typeof n.createPolicy!="function")return null;let r=null;const f="data-tt-policy-suffix";l&&l.hasAttribute(f)&&(r=l.getAttribute(f));const L="dompurify"+(r?"#"+r:"");try{return n.createPolicy(L,{createHTML(I){return I},createScriptURL(I){return I}})}catch{return console.warn("TrustedTypes policy "+L+" could not be created."),null}},gt=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Ot(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:dn();const n=i=>Ot(i);if(n.version="3.2.4",n.removed=[],!a||!a.document||a.document.nodeType!==Z.document||!a.Element)return n.isSupported=!1,n;let{document:l}=a;const r=l,f=r.currentScript,{DocumentFragment:L,HTMLTemplateElement:I,Node:ue,Element:Ue,NodeFilter:z,NamedNodeMap:Lt=a.NamedNodeMap||a.MozNamedAttrMap,HTMLFormElement:yt,DOMParser:bt,trustedTypes:Q}=a,G=Ue.prototype,Nt=K(G,"cloneNode"),Dt=K(G,"remove"),It=K(G,"nextSibling"),Mt=K(G,"childNodes"),ee=K(G,"parentNode");if(typeof I=="function"){const i=l.createElement("template");i.content&&i.content.ownerDocument&&(l=i.content.ownerDocument)}let _,W="";const{implementation:me,createNodeIterator:Ct,createDocumentFragment:wt,getElementsByTagName:xt}=l,{importNode:Pt}=r;let g=gt();n.isSupported=typeof At=="function"&&typeof ee=="function"&&me&&me.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:pe,ERB_EXPR:de,TMPLIT_EXPR:Te,DATA_ATTR:kt,ARIA_ATTR:vt,IS_SCRIPT_OR_DATA:Ut,ATTR_WHITESPACE:Fe,CUSTOM_ELEMENT:Ft}=_t;let{IS_ALLOWED_URI:He}=_t,m=null;const ze=s({},[...pt,...De,...Ie,...Me,...dt]);let d=null;const Ge=s({},[...Tt,...Ce,...Et,...ce]);let u=Object.seal(ht(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),B=null,Ee=null,We=!0,_e=!0,Be=!1,Ye=!0,P=!1,ge=!0,w=!1,Ae=!1,he=!1,k=!1,te=!1,ne=!1,Xe=!0,je=!1;const Ht="user-content-";let Se=!0,Y=!1,v={},U=null;const Ve=s({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let $e=null;const qe=s({},["audio","video","img","source","image","track"]);let Re=null;const Ke=s({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),oe="http://www.w3.org/1998/Math/MathML",ie="http://www.w3.org/2000/svg",M="http://www.w3.org/1999/xhtml";let F=M,Oe=!1,Le=null;const zt=s({},[oe,ie,M],Ne);let ae=s({},["mi","mo","mn","ms","mtext"]),re=s({},["annotation-xml"]);const Gt=s({},["title","style","font","a","script"]);let X=null;const Wt=["application/xhtml+xml","text/html"],Bt="text/html";let p=null,H=null;const Yt=l.createElement("form"),Ze=function(e){return e instanceof RegExp||e instanceof Function},ye=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(H&&H===e)){if((!e||typeof e!="object")&&(e={}),e=x(e),X=Wt.indexOf(e.PARSER_MEDIA_TYPE)===-1?Bt:e.PARSER_MEDIA_TYPE,p=X==="application/xhtml+xml"?Ne:fe,m=b(e,"ALLOWED_TAGS")?s({},e.ALLOWED_TAGS,p):ze,d=b(e,"ALLOWED_ATTR")?s({},e.ALLOWED_ATTR,p):Ge,Le=b(e,"ALLOWED_NAMESPACES")?s({},e.ALLOWED_NAMESPACES,Ne):zt,Re=b(e,"ADD_URI_SAFE_ATTR")?s(x(Ke),e.ADD_URI_SAFE_ATTR,p):Ke,$e=b(e,"ADD_DATA_URI_TAGS")?s(x(qe),e.ADD_DATA_URI_TAGS,p):qe,U=b(e,"FORBID_CONTENTS")?s({},e.FORBID_CONTENTS,p):Ve,B=b(e,"FORBID_TAGS")?s({},e.FORBID_TAGS,p):{},Ee=b(e,"FORBID_ATTR")?s({},e.FORBID_ATTR,p):{},v=b(e,"USE_PROFILES")?e.USE_PROFILES:!1,We=e.ALLOW_ARIA_ATTR!==!1,_e=e.ALLOW_DATA_ATTR!==!1,Be=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ye=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,P=e.SAFE_FOR_TEMPLATES||!1,ge=e.SAFE_FOR_XML!==!1,w=e.WHOLE_DOCUMENT||!1,k=e.RETURN_DOM||!1,te=e.RETURN_DOM_FRAGMENT||!1,ne=e.RETURN_TRUSTED_TYPE||!1,he=e.FORCE_BODY||!1,Xe=e.SANITIZE_DOM!==!1,je=e.SANITIZE_NAMED_PROPS||!1,Se=e.KEEP_CONTENT!==!1,Y=e.IN_PLACE||!1,He=e.ALLOWED_URI_REGEXP||St,F=e.NAMESPACE||M,ae=e.MATHML_TEXT_INTEGRATION_POINTS||ae,re=e.HTML_INTEGRATION_POINTS||re,u=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Ze(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(u.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Ze(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(u.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(u.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),P&&(_e=!1),te&&(k=!0),v&&(m=s({},dt),d=[],v.html===!0&&(s(m,pt),s(d,Tt)),v.svg===!0&&(s(m,De),s(d,Ce),s(d,ce)),v.svgFilters===!0&&(s(m,Ie),s(d,Ce),s(d,ce)),v.mathMl===!0&&(s(m,Me),s(d,Et),s(d,ce))),e.ADD_TAGS&&(m===ze&&(m=x(m)),s(m,e.ADD_TAGS,p)),e.ADD_ATTR&&(d===Ge&&(d=x(d)),s(d,e.ADD_ATTR,p)),e.ADD_URI_SAFE_ATTR&&s(Re,e.ADD_URI_SAFE_ATTR,p),e.FORBID_CONTENTS&&(U===Ve&&(U=x(U)),s(U,e.FORBID_CONTENTS,p)),Se&&(m["#text"]=!0),w&&s(m,["html","head","body"]),m.table&&(s(m,["tbody"]),delete B.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw q('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw q('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');_=e.TRUSTED_TYPES_POLICY,W=_.createHTML("")}else _===void 0&&(_=Tn(Q,f)),_!==null&&typeof W=="string"&&(W=_.createHTML(""));S&&S(e),H=e}},Je=s({},[...De,...Ie,...on]),Qe=s({},[...Me,...an]),Xt=function(e){let t=ee(e);(!t||!t.tagName)&&(t={namespaceURI:F,tagName:"template"});const o=fe(e.tagName),c=fe(t.tagName);return Le[e.namespaceURI]?e.namespaceURI===ie?t.namespaceURI===M?o==="svg":t.namespaceURI===oe?o==="svg"&&(c==="annotation-xml"||ae[c]):!!Je[o]:e.namespaceURI===oe?t.namespaceURI===M?o==="math":t.namespaceURI===ie?o==="math"&&re[c]:!!Qe[o]:e.namespaceURI===M?t.namespaceURI===ie&&!re[c]||t.namespaceURI===oe&&!ae[c]?!1:!Qe[o]&&(Gt[o]||!Je[o]):!!(X==="application/xhtml+xml"&&Le[e.namespaceURI]):!1},N=function(e){V(n.removed,{element:e});try{ee(e).removeChild(e)}catch{Dt(e)}},se=function(e,t){try{V(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch{V(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if(k||te)try{N(t)}catch{}else try{t.setAttribute(e,"")}catch{}},et=function(e){let t=null,o=null;if(he)e="<remove></remove>"+e;else{const T=mt(e,/^[\r\n\t ]+/);o=T&&T[0]}X==="application/xhtml+xml"&&F===M&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const c=_?_.createHTML(e):e;if(F===M)try{t=new bt().parseFromString(c,X)}catch{}if(!t||!t.documentElement){t=me.createDocument(F,"template",null);try{t.documentElement.innerHTML=Oe?W:c}catch{}}const E=t.body||t.documentElement;return e&&o&&E.insertBefore(l.createTextNode(o),E.childNodes[0]||null),F===M?xt.call(t,w?"html":"body")[0]:w?t.documentElement:E},tt=function(e){return Ct.call(e.ownerDocument||e,e,z.SHOW_ELEMENT|z.SHOW_COMMENT|z.SHOW_TEXT|z.SHOW_PROCESSING_INSTRUCTION|z.SHOW_CDATA_SECTION,null)},be=function(e){return e instanceof yt&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof Lt)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},nt=function(e){return typeof ue=="function"&&e instanceof ue};function C(i,e,t){le(i,o=>{o.call(n,e,t,H)})}const ot=function(e){let t=null;if(C(g.beforeSanitizeElements,e,null),be(e))return N(e),!0;const o=p(e.nodeName);if(C(g.uponSanitizeElement,e,{tagName:o,allowedTags:m}),e.hasChildNodes()&&!nt(e.firstElementChild)&&h(/<[/\w]/g,e.innerHTML)&&h(/<[/\w]/g,e.textContent)||e.nodeType===Z.progressingInstruction||ge&&e.nodeType===Z.comment&&h(/<[/\w]/g,e.data))return N(e),!0;if(!m[o]||B[o]){if(!B[o]&&at(o)&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,o)||u.tagNameCheck instanceof Function&&u.tagNameCheck(o)))return!1;if(Se&&!U[o]){const c=ee(e)||e.parentNode,E=Mt(e)||e.childNodes;if(E&&c){const T=E.length;for(let O=T-1;O>=0;--O){const D=Nt(E[O],!0);D.__removalCount=(e.__removalCount||0)+1,c.insertBefore(D,It(e))}}}return N(e),!0}return e instanceof Ue&&!Xt(e)||(o==="noscript"||o==="noembed"||o==="noframes")&&h(/<\/no(script|embed|frames)/i,e.innerHTML)?(N(e),!0):(P&&e.nodeType===Z.text&&(t=e.textContent,le([pe,de,Te],c=>{t=$(t,c," ")}),e.textContent!==t&&(V(n.removed,{element:e.cloneNode()}),e.textContent=t)),C(g.afterSanitizeElements,e,null),!1)},it=function(e,t,o){if(Xe&&(t==="id"||t==="name")&&(o in l||o in Yt))return!1;if(!(_e&&!Ee[t]&&h(kt,t))){if(!(We&&h(vt,t))){if(!d[t]||Ee[t]){if(!(at(e)&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,e)||u.tagNameCheck instanceof Function&&u.tagNameCheck(e))&&(u.attributeNameCheck instanceof RegExp&&h(u.attributeNameCheck,t)||u.attributeNameCheck instanceof Function&&u.attributeNameCheck(t))||t==="is"&&u.allowCustomizedBuiltInElements&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,o)||u.tagNameCheck instanceof Function&&u.tagNameCheck(o))))return!1}else if(!Re[t]){if(!h(He,$(o,Fe,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&Qt(o,"data:")===0&&$e[e])){if(!(Be&&!h(Ut,$(o,Fe,"")))){if(o)return!1}}}}}}return!0},at=function(e){return e!=="annotation-xml"&&mt(e,Ft)},rt=function(e){C(g.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||be(e))return;const o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:d,forceKeepAttr:void 0};let c=t.length;for(;c--;){const E=t[c],{name:T,namespaceURI:O,value:D}=E,j=p(T);let A=T==="value"?D:en(D);if(o.attrName=j,o.attrValue=A,o.keepAttr=!0,o.forceKeepAttr=void 0,C(g.uponSanitizeAttribute,e,o),A=o.attrValue,je&&(j==="id"||j==="name")&&(se(T,e),A=Ht+A),ge&&h(/((--!?|])>)|<\/(style|title)/i,A)){se(T,e);continue}if(o.forceKeepAttr||(se(T,e),!o.keepAttr))continue;if(!Ye&&h(/\/>/i,A)){se(T,e);continue}P&&le([pe,de,Te],lt=>{A=$(A,lt," ")});const st=p(e.nodeName);if(it(st,j,A)){if(_&&typeof Q=="object"&&typeof Q.getAttributeType=="function"&&!O)switch(Q.getAttributeType(st,j)){case"TrustedHTML":{A=_.createHTML(A);break}case"TrustedScriptURL":{A=_.createScriptURL(A);break}}try{O?e.setAttributeNS(O,T,A):e.setAttribute(T,A),be(e)?N(e):ut(n.removed)}catch{}}}C(g.afterSanitizeAttributes,e,null)},jt=function i(e){let t=null;const o=tt(e);for(C(g.beforeSanitizeShadowDOM,e,null);t=o.nextNode();)C(g.uponSanitizeShadowNode,t,null),ot(t),rt(t),t.content instanceof L&&i(t.content);C(g.afterSanitizeShadowDOM,e,null)};return n.sanitize=function(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,o=null,c=null,E=null;if(Oe=!i,Oe&&(i="<!-->"),typeof i!="string"&&!nt(i))if(typeof i.toString=="function"){if(i=i.toString(),typeof i!="string")throw q("dirty is not a string, aborting")}else throw q("toString is not a function");if(!n.isSupported)return i;if(Ae||ye(e),n.removed=[],typeof i=="string"&&(Y=!1),Y){if(i.nodeName){const D=p(i.nodeName);if(!m[D]||B[D])throw q("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof ue)t=et("<!---->"),o=t.ownerDocument.importNode(i,!0),o.nodeType===Z.element&&o.nodeName==="BODY"||o.nodeName==="HTML"?t=o:t.appendChild(o);else{if(!k&&!P&&!w&&i.indexOf("<")===-1)return _&&ne?_.createHTML(i):i;if(t=et(i),!t)return k?null:ne?W:""}t&&he&&N(t.firstChild);const T=tt(Y?i:t);for(;c=T.nextNode();)ot(c),rt(c),c.content instanceof L&&jt(c.content);if(Y)return i;if(k){if(te)for(E=wt.call(t.ownerDocument);t.firstChild;)E.appendChild(t.firstChild);else E=t;return(d.shadowroot||d.shadowrootmode)&&(E=Pt.call(r,E,!0)),E}let O=w?t.outerHTML:t.innerHTML;return w&&m["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&h(Rt,t.ownerDocument.doctype.name)&&(O="<!DOCTYPE "+t.ownerDocument.doctype.name+`>
2
- `+O),P&&le([pe,de,Te],D=>{O=$(O,D," ")}),_&&ne?_.createHTML(O):O},n.setConfig=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ye(i),Ae=!0},n.clearConfig=function(){H=null,Ae=!1},n.isValidAttribute=function(i,e,t){H||ye({});const o=p(i),c=p(e);return it(o,c,t)},n.addHook=function(i,e){typeof e=="function"&&V(g[i],e)},n.removeHook=function(i,e){if(e!==void 0){const t=Zt(g[i],e);return t===-1?void 0:Jt(g[i],t,1)[0]}return ut(g[i])},n.removeHooks=function(i){g[i]=[]},n.removeAllHooks=function(){g=gt()},n}var ve=Ot();const ke="data-temp-href-target";ve.addHook("beforeSanitizeAttributes",function(a){a instanceof HTMLElement&&a.hasAttribute("target")&&a.getAttribute("target")==="_blank"&&a.setAttribute(ke,"_blank")});ve.addHook("afterSanitizeAttributes",function(a){a instanceof HTMLElement&&a.hasAttribute(ke)&&(a.setAttribute("target","_blank"),a.setAttribute("rel","noopener noreferrer"),a.removeAttribute(ke))});const we=a=>{const n={USE_PROFILES:{html:!0},FORCE_BODY:!0};return ve.sanitize(a,n)};function En({element:a}){const{body:n}=a,[l,r]=J.useState(we(n)),f=J.useRef(null);return J.useEffect(()=>{we(n)!==l&&r(we(n))},[n]),J.useEffect(()=>{var L,I;((L=f.current)==null?void 0:L.clientHeight)===0&&((I=f.current.parentElement)==null?void 0:I.childElementCount)===1&&f.current.parentElement.classList.add("stHtml-empty")}),ct(Vt,{children:l&&ct("div",{className:"stHtml","data-testid":"stHtml",ref:f,dangerouslySetInnerHTML:{__html:l}})})}const gn=J.memo(En);export{gn as default};
@@ -1 +0,0 @@
1
- import{r as s,bh as U,y as k,cr as x,B as A,j as l,br as B,bF as L,bs as P,ba as D,bt as j}from"./index.D1HZENZx.js";import{u as w}from"./uniqueId.D2FMWUEI.js";import{u as O,a as _,b as K}from"./useOnInputChange.BOKIIdJ1.js";import{I as $}from"./InputInstructions.DB3QGNJP.js";import{a as q}from"./useBasicWidgetState.urnZLANY.js";import{T as G}from"./textarea.Cb_uJt5U.js";import"./inputUtils.CQWz5UKz.js";import"./FormClearHelper.Ct2rwLXo.js";import"./base-input.CQBQT24M.js";const T=(a,t)=>a.getStringValue(t)??t.default??null,N=a=>a.default??null,J=a=>a.value??null,M=(a,t,o,u)=>{t.setStringValue(a,o.value,{fromUi:o.fromUi},u)},Q=({disabled:a,element:t,widgetMgr:o,fragmentId:u})=>{var f;const p=s.useRef(w("text_area_")).current,{values:[W],elementRef:S}=U(s.useMemo(()=>["width"],[])),[r,n]=s.useState(!1),[y,b]=s.useState(!1),[i,d]=s.useState(T(o,t)??null),I=s.useCallback(()=>{d(t.default??null),n(!0)},[t]),[F,c]=q({getStateFromWidgetMgr:T,getDefaultStateFromProto:N,getCurrStateFromProto:J,updateWidgetMgrState:M,element:t,widgetMgr:o,fragmentId:u,onFormCleared:I});O(F,i,d,r);const e=k(),m=s.useCallback(()=>{n(!1),c({value:i,fromUi:!0})},[i,c]),V=s.useCallback(()=>{r&&m(),b(!1)},[r,m]),v=s.useCallback(()=>{b(!0)},[]),C=_({formId:t.formId,maxChars:t.maxChars,setDirty:n,setUiValue:d,setValueWithSource:c}),R=K(t.formId,m,r,o,u,!0),{height:g,placeholder:z,formId:h}=t,E=x({formId:h})?o.allowFormEnterToSubmit(h):r,H=y&&W>e.breakpoints.hideWidgetDetails;return A("div",{className:"stTextArea","data-testid":"stTextArea",ref:S,children:[l(j,{label:t.label,disabled:a,labelVisibility:B((f=t.labelVisibility)==null?void 0:f.value),htmlFor:p,children:t.help&&l(L,{children:l(P,{content:t.help,placement:D.TOP_RIGHT})})}),l(G,{value:i??"",placeholder:z,onBlur:V,onFocus:v,onChange:C,onKeyDown:R,"aria-label":t.label,disabled:a,id:p,overrides:{Input:{style:{lineHeight:e.lineHeights.inputWidget,height:g?`${g}px`:"",minHeight:e.sizes.largestElementHeight,resize:"vertical","::placeholder":{opacity:"0.7"},paddingRight:e.spacing.lg,paddingLeft:e.spacing.lg,paddingBottom:e.spacing.lg,paddingTop:e.spacing.lg}},Root:{props:{"data-testid":"stTextAreaRootElement"},style:{borderLeftWidth:e.sizes.borderWidth,borderRightWidth:e.sizes.borderWidth,borderTopWidth:e.sizes.borderWidth,borderBottomWidth:e.sizes.borderWidth}}}}),H&&l($,{dirty:r,value:i??"",maxLength:t.maxChars,type:"multiline",inForm:x({formId:h}),allowEnterToSubmit:E})]})},it=s.memo(Q);export{it as default};
@@ -1 +0,0 @@
1
- import{r,E as X,_ as q,cB as I,L as b,N as J,as as ut,n as R,y as ct,bh as dt,cr as pt,B as N,j as c,br as ft,bF as bt,bs as mt,ba as gt,bt as ht,bo as G}from"./index.D1HZENZx.js";import{u as yt}from"./uniqueId.D2FMWUEI.js";import{u as It}from"./FormClearHelper.Ct2rwLXo.js";import{I as wt}from"./InputInstructions.DB3QGNJP.js";import{s as vt}from"./sprintf.D7DtBTRn.js";import{I as Tt}from"./input.DnaFglHq.js";import"./base-input.CQBQT24M.js";var Q=r.forwardRef(function(t,e){var n={fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};return r.createElement(X,q({iconAttrs:n,iconVerticalAlign:"middle",iconViewBox:"0 0 8 8"},t,{ref:e}),r.createElement("path",{d:"M0 3v2h8V3H0z"}))});Q.displayName="Minus";var Y=r.forwardRef(function(t,e){var n={fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};return r.createElement(X,q({iconAttrs:n,iconVerticalAlign:"middle",iconViewBox:"0 0 8 8"},t,{ref:e}),r.createElement("path",{d:"M3 0v3H0v2h3v3h2V5h3V3H5V0H3z"}))});Y.displayName="Plus";const Ct=ut.getLogger("NumberInput");function St(t){return b(t)||t===""?void 0:t}const z=({value:t,format:e,step:n,dataType:f})=>{if(b(t))return null;let a=St(e);if(b(a)&&J(n)){const d=n.toString();f===I.DataType.FLOAT&&n!==0&&d.includes(".")&&(a=`%0.${d.split(".")[1].length}f`)}if(b(a))return t.toString();try{return vt.sprintf(a,t)}catch(d){return Ct.warn(`Error in sprintf(${a}, ${t}): ${d}`),String(t)}},Vt=(t,e,n)=>b(t)?!1:t-e>=n,kt=(t,e,n)=>b(t)?!1:t+e<=n,xt=t=>(t.element.dataType===I.DataType.INT?t.widgetMgr.getIntValue(t.element):t.widgetMgr.getDoubleValue(t.element))??t.element.default??null,M=({step:t,dataType:e})=>t||(e===I.DataType.INT?1:.01),Rt=R("div",{target:"e5tuigk0"})(({theme:t})=>({display:"flex",flexDirection:"row",flexWrap:"nowrap",alignItems:"center",height:t.sizes.minElementHeight,borderWidth:t.sizes.borderWidth,borderStyle:"solid",borderColor:t.colors.widgetBorderColor??t.colors.secondaryBg,transitionDuration:"200ms",transitionProperty:"border",transitionTimingFunction:"cubic-bezier(0.2, 0.8, 0.4, 1)",borderRadius:t.radii.default,overflow:"hidden","&.focused":{borderColor:t.colors.primary},input:{MozAppearance:"textfield","&::-webkit-inner-spin-button, &::-webkit-outer-spin-button":{WebkitAppearance:"none",margin:t.spacing.none}}})),Dt=R("div",{target:"e5tuigk1"})({display:"flex",flexDirection:"row",alignSelf:"stretch"}),K=R("button",{target:"e5tuigk2"})(({theme:t})=>({margin:t.spacing.none,border:"none",height:t.sizes.full,display:"flex",alignItems:"center",width:t.sizes.numberInputControlsWidth,justifyContent:"center",color:t.colors.bodyText,transition:"color 300ms, backgroundColor 300ms",backgroundColor:t.colors.secondaryBg,"&:hover:enabled, &:focus:enabled":{color:t.colors.white,backgroundColor:t.colors.primary,transition:"none",outline:"none"},"&:active":{outline:"none",border:"none"},"&:last-of-type":{borderTopRightRadius:t.radii.default,borderBottomRightRadius:t.radii.default},"&:disabled":{cursor:"not-allowed",color:t.colors.fadedText40}})),Et=R("div",{target:"e5tuigk3"})(({theme:t,clearable:e})=>({position:"absolute",marginRight:t.spacing.twoXS,left:0,right:`calc(${t.sizes.numberInputControlsWidth} * 2 + ${e?"1em":"0em"})`})),Ft=({disabled:t,element:e,widgetMgr:n,fragmentId:f})=>{var j;const a=ct(),{dataType:d,id:T,formId:p,default:B,format:W}=e,m=e.hasMin?e.min:-1/0,g=e.hasMax?e.max:1/0,{values:[L],elementRef:Z}=dt(r.useMemo(()=>["width"],[])),[i,tt]=r.useState(M(e)),A=xt({element:e,widgetMgr:n}),[h,w]=r.useState(!1),[l,v]=r.useState(A),[H,C]=r.useState(z({value:A,...e,step:i})),[P,U]=r.useState(!1),S=r.useRef(null),$=r.useRef(yt("number_input_")),V=Vt(l,i,m),k=kt(l,i,g),O=pt({formId:p}),et=O?n.allowFormEnterToSubmit(p):h,rt=P&&L>a.breakpoints.hideWidgetDetails;r.useEffect(()=>{tt(M({step:e.step,dataType:e.dataType}))},[e.dataType,e.step]);const u=r.useCallback(({value:o,source:s})=>{var y;if(J(o)&&(m>o||o>g))(y=S.current)==null||y.reportValidity();else{const x=o??B??null;switch(d){case I.DataType.INT:n.setIntValue({id:T,formId:p},x,s,f);break;case I.DataType.FLOAT:n.setDoubleValue({id:T,formId:p},x,s,f);break;default:throw new Error("Invalid data type")}w(!1),v(x),C(z({value:x,dataType:d,format:W,step:i}))}},[m,g,S,n,f,i,d,T,p,B,W]),ot=r.useCallback(()=>{h&&u({value:l,source:{fromUi:!0}}),U(!1)},[h,l,u]),nt=r.useCallback(()=>{U(!0)},[]),_=r.useCallback(()=>{const{value:o}=e;e.setValue=!1,v(o??null),C(z({value:o??null,...e,step:i})),u({value:o??null,source:{fromUi:!1}})},[e,i,u]);r.useEffect(()=>{e.setValue?_():u({value:l,source:{fromUi:!1}});const o=S.current;if(o)return o.addEventListener("wheel",s=>s.preventDefault()),()=>{o.removeEventListener("wheel",s=>s.preventDefault())}},[]),e.setValue&&_();const D=b(e.default)&&!t,at=r.useCallback(()=>{const o=e.default??null;v(o),u({value:o,source:{fromUi:!0}})},[e]);It({element:e,widgetMgr:n,onFormCleared:at});const st=o=>{const{value:s}=o.target;if(s==="")w(!0),v(null),C(null);else{let y;e.dataType===I.DataType.INT?y=parseInt(s,10):y=parseFloat(s),w(!0),v(y),C(s)}},E=r.useCallback(()=>{k&&(w(!0),u({value:(l??m)+i,source:{fromUi:!0}}))},[l,m,i,k]),F=r.useCallback(()=>{V&&(w(!0),u({value:(l??g)-i,source:{fromUi:!0}}))},[l,g,i,V]),it=r.useCallback(o=>{const{key:s}=o;switch(s){case"ArrowUp":o.preventDefault(),E();break;case"ArrowDown":o.preventDefault(),F();break}},[E,F]),lt=r.useCallback(o=>{o.key==="Enter"&&(h&&u({value:l,source:{fromUi:!0}}),n.allowFormEnterToSubmit(p)&&n.submitForm(p,f))},[h,l,u,n,p,f]);return N("div",{className:"stNumberInput","data-testid":"stNumberInput",ref:Z,children:[c(ht,{label:e.label,disabled:t,labelVisibility:ft((j=e.labelVisibility)==null?void 0:j.value),htmlFor:$.current,children:e.help&&c(bt,{children:c(mt,{content:e.help,placement:gt.TOP_RIGHT})})}),N(Rt,{className:P?"focused":"","data-testid":"stNumberInputContainer",children:[c(Tt,{type:"number",inputRef:S,value:H??"",placeholder:e.placeholder,onBlur:ot,onFocus:nt,onChange:st,onKeyPress:lt,onKeyDown:it,clearable:D,clearOnEscape:D,disabled:t,"aria-label":e.label,id:$.current,overrides:{ClearIconContainer:{style:{padding:0}},ClearIcon:{props:{overrides:{Svg:{style:{color:a.colors.darkGray,padding:a.spacing.threeXS,height:a.sizes.clearIconSize,width:a.sizes.clearIconSize,":hover":{fill:a.colors.bodyText}}}}}},Input:{props:{"data-testid":"stNumberInputField",step:i,min:m,max:g,type:"number",inputMode:""},style:{lineHeight:a.lineHeights.inputWidget,paddingRight:a.spacing.sm,paddingLeft:a.spacing.sm,paddingBottom:a.spacing.sm,paddingTop:a.spacing.sm}},InputContainer:{style:()=>({borderTopRightRadius:0,borderBottomRightRadius:0})},Root:{style:{borderTopRightRadius:0,borderBottomRightRadius:0,borderTopLeftRadius:0,borderBottomLeftRadius:0,borderLeftWidth:0,borderRightWidth:0,borderTopWidth:0,borderBottomWidth:0,paddingRight:0}}}}),L>a.breakpoints.hideNumberInputControls&&N(Dt,{children:[c(K,{"data-testid":"stNumberInputStepDown",onClick:F,disabled:!V||t,tabIndex:-1,children:c(G,{content:Q,size:"xs",color:V?"inherit":a.colors.disabled})}),c(K,{"data-testid":"stNumberInputStepUp",onClick:E,disabled:!k||t,tabIndex:-1,children:c(G,{content:Y,size:"xs",color:k?"inherit":a.colors.disabled})})]})]}),rt&&c(Et,{clearable:D,children:c(wt,{dirty:h,value:H??"",inForm:O,allowEnterToSubmit:et})})]})},Pt=r.memo(Ft);export{Pt as default};
@@ -1 +0,0 @@
1
- import{n as s,r as f,R as g,aD as x,b9 as b,y as k,j as n,b6 as C,ba as L,B as v,D as w,aC as h}from"./index.D1HZENZx.js";const T=s("div",{target:"e1mwh7ju0"})({display:"flex",flexDirection:"column"}),y=s("a",{target:"e1mwh7ju1"})(({disabled:a,isCurrentPage:o,containerWidth:l,theme:e})=>({textDecoration:"none",width:l?"100%":"fit-content",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"flex-start",gap:e.spacing.sm,borderRadius:e.radii.default,paddingLeft:e.spacing.sm,paddingRight:e.spacing.sm,marginTop:e.spacing.threeXS,marginBottom:e.spacing.threeXS,lineHeight:e.lineHeights.menuItem,backgroundColor:o?e.colors.darkenedBgMix15:"transparent","&:hover":{backgroundColor:o?e.colors.darkenedBgMix25:e.colors.darkenedBgMix15},"&:active,&:visited,&:hover":{textDecoration:"none"},"&:focus":{outline:"none"},"&:focus-visible":{backgroundColor:e.colors.darkenedBgMix15},"@media print":{paddingLeft:e.spacing.none},...a?{borderColor:e.colors.borderColor,backgroundColor:e.colors.transparent,color:e.colors.fadedText40,cursor:"not-allowed","&:hover":{color:e.colors.fadedText40,backgroundColor:e.colors.transparent}}:{}})),S=s("span",{target:"e1mwh7ju2"})(({disabled:a,theme:o})=>({color:o.colors.bodyText,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",display:"table-cell",...a?{borderColor:o.colors.borderColor,backgroundColor:o.colors.transparent,color:o.colors.fadedText40,cursor:"not-allowed"}:{}}));function D(a,o){return a===null&&o?!0:a===null&&!o?!1:a===!0}function P(a){const{onPageChange:o,currentPageScriptHash:l}=g.useContext(x),e=g.useContext(b),{colors:i}=k(),{disabled:t,element:r}=a,c=D(r.useContainerWidth,e),d=l===r.pageScriptHash,p=u=>{r.external?t&&u.preventDefault():(u.preventDefault(),t||o(r.pageScriptHash))};return n("div",{className:"stPageLink","data-testid":"stPageLink",children:n(C,{help:r.help,placement:L.TOP_RIGHT,containerWidth:c,children:n(T,{children:v(y,{"data-testid":"stPageLink-NavLink",disabled:t,isCurrentPage:d,containerWidth:c,href:r.page,target:r.external?"_blank":"",rel:"noreferrer",onClick:p,children:[r.icon&&n(w,{size:"lg",color:t?i.fadedText40:i.bodyText,iconValue:r.icon}),n(S,{disabled:t,children:n(h,{source:r.label,allowHTML:!1,isLabel:!0,boldLabel:d,largerLabel:!0,disableLinks:!0})})]})})})})}const j=f.memo(P);export{j as default};
@@ -1 +0,0 @@
1
- import{r as l,E as $,_ as N,n as u,A as mt,y as A,j as n,ba as Q,bu as vt,B as z,bp as Z,b5 as tt,bo as H,a$ as yt,bG as wt,bj as Ct,bH as I,bs as It,F as et,bh as xt,bI as bt,L,bl as St,bk as zt}from"./index.D1HZENZx.js";import{g as Ft,F as V,C as Et,I as Ut,E as Ht,a as Tt,s as Bt,u as Dt,b as Lt}from"./FileHelper.D_3pbilj.js";import{I as Rt}from"./InputInstructions.DB3QGNJP.js";import{i as Mt}from"./inputUtils.CQWz5UKz.js";import{a as J}from"./index.BtuGy7By.js";import{U as ot}from"./UploadFileInfo.C-jY39rj.js";import{T as kt}from"./textarea.Cb_uJt5U.js";import"./base-input.CQBQT24M.js";var nt=l.forwardRef(function(t,e){var r={fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};return l.createElement($,N({iconAttrs:r,iconVerticalAlign:"middle",iconViewBox:"0 0 24 24"},t,{ref:e}),l.createElement("path",{fill:"none",d:"M0 0h24v24H0V0z"}),l.createElement("path",{d:"M16.5 6v11.5c0 2.21-1.79 4-4 4s-4-1.79-4-4V5a2.5 2.5 0 015 0v10.5c0 .55-.45 1-1 1s-1-.45-1-1V6H10v9.5a2.5 2.5 0 005 0V5c0-2.21-1.79-4-4-4S7 2.79 7 5v12.5c0 3.04 2.46 5.5 5.5 5.5s5.5-2.46 5.5-5.5V6h-1.5z"}))});nt.displayName="AttachFile";var at=l.forwardRef(function(t,e){var r={fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};return l.createElement($,N({iconAttrs:r,iconVerticalAlign:"middle",iconViewBox:"0 0 24 24"},t,{ref:e}),l.createElement("path",{d:"M11 15h2v2h-2v-2zm0-8h2v6h-2V7zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}))});at.displayName="ErrorOutline";var rt=l.forwardRef(function(t,e){var r={fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};return l.createElement($,N({iconAttrs:r,iconVerticalAlign:"middle",iconViewBox:"0 0 24 24"},t,{ref:e}),l.createElement("rect",{width:24,height:24,fill:"none"}),l.createElement("path",{d:"M3 5.51v3.71c0 .46.31.86.76.97L11 12l-7.24 1.81c-.45.11-.76.51-.76.97v3.71c0 .72.73 1.2 1.39.92l15.42-6.49c.82-.34.82-1.5 0-1.84L4.39 4.58C3.73 4.31 3 4.79 3 5.51z"}))});rt.displayName="Send";const Vt=u("div",{target:"e1togvvn0"})("border:none;position:relative;display:flex;"),$t=u("div",{target:"e1togvvn1"})(({theme:t,extended:e})=>({border:`${t.sizes.borderWidth} solid`,borderColor:t.colors.widgetBorderColor??t.colors.transparent,borderRadius:t.radii.chatInput,backgroundColor:t.colors.secondaryBg,position:"relative",flexGrow:1,display:"flex",alignItems:"center",paddingLeft:t.spacing.lg,maxHeight:e?"none":t.sizes.minElementHeight,gap:t.spacing.sm,overflow:"hidden",":focus-within":{borderColor:t.colors.primary}})),Nt=u("button",{target:"e1togvvn2"})(({theme:t,disabled:e,extended:r})=>{const d=mt(t),[f,c]=d?[t.colors.gray60,t.colors.gray80]:[t.colors.gray80,t.colors.gray40];return{border:"none",backgroundColor:t.colors.transparent,borderTopRightRadius:r?"0":t.radii.chatInput,borderTopLeftRadius:r?t.radii.default:"0",borderBottomRightRadius:t.radii.chatInput,display:"inline-flex",alignItems:"center",justifyContent:"center",lineHeight:t.lineHeights.none,margin:t.spacing.none,padding:t.spacing.sm,color:e?f:c,pointerEvents:"auto","&:focus":{outline:"none"},":focus":{outline:"none"},"&:focus-visible":{backgroundColor:d?t.colors.gray10:t.colors.gray90},"&:hover":{color:t.colors.primary},"&:disabled, &:disabled:hover, &:disabled:active":{backgroundColor:t.colors.transparent,borderColor:t.colors.transparent,color:t.colors.gray,cursor:"not-allowed"}}}),At=u("div",{target:"e1togvvn3"})(({theme:t})=>({display:"flex",alignItems:"flex-end",height:"100%",position:"absolute",right:0,marginBottom:`-${t.sizes.borderWidth}`,pointerEvents:"none"})),Wt=u("div",{target:"e1togvvn4"})(({theme:t})=>({position:"absolute",bottom:"0px",right:`calc(${t.iconSizes.xl} + 2 * ${t.spacing.sm} + ${t.spacing.sm})`})),qt=u("div",{target:"ewqvugz0"})(({theme:t,height:e})=>({backgroundColor:t.colors.transparent,position:"absolute",left:0,bottom:0,minHeight:`max(${t.sizes.emptyDropdownHeight}, ${e})`,width:"100%",zIndex:t.zIndices.priority})),Pt=u("div",{target:"ewqvugz1"})(({theme:t,height:e})=>({border:`${t.sizes.borderWidth} solid`,borderColor:t.colors.primary,borderRadius:t.radii.chatInput,backgroundColor:t.colors.secondaryBg,color:t.colors.primary,display:"flex",alignItems:"center",justifyContent:"center",height:e,width:"100%",fontWeight:t.fontWeights.bold})),Ot=u("div",{target:"ewqvugz2"})(({theme:t,disabled:e})=>({display:"flex",alignItems:"top",height:"100%",marginTop:`-${t.sizes.borderWidth}`,cursor:e?"not-allowed":"auto"})),Kt=u("div",{target:"ewqvugz3"})(({disabled:t})=>({pointerEvents:t?"none":"auto"})),_t=u("div",{target:"ewqvugz4"})(({theme:t})=>({marginTop:"0.625em",marginLeft:t.spacing.sm,height:t.spacing.xl,width:t.sizes.borderWidth,backgroundColor:t.colors.fadedText20})),Xt=u("div",{target:"ewqvugz5"})(({theme:t})=>({left:0,right:0,lineHeight:t.lineHeights.tight,paddingLeft:t.spacing.sm,paddingRight:t.spacing.sm,overflowX:"auto"})),Gt=u("div",{target:"ewqvugz6"})(({})=>({display:"flex"})),jt=u("div",{target:"ewqvugz7"})(({})=>({flex:"0 0 auto"})),Yt=u("div",{target:"ewqvugz8"})(({theme:t})=>({display:"flex",alignItems:"center",padding:t.spacing.sm,gap:t.spacing.twoXS})),Jt=u("div",{target:"ewqvugz9"})(({theme:t})=>({color:t.colors.fadedText60})),Qt=u("div",{target:"ewqvugz10"})(({theme:t,fileStatus:e})=>({overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",color:e.type==="uploaded"?t.colors.bodyText:t.colors.fadedText60})),Zt=u("div",{target:"ewqvugz11"})(({theme:t})=>({marginRight:t.spacing.md,color:t.colors.fadedText60})),te=u("small",{target:"ewqvugz12"})(({theme:t})=>({display:"flex",alignItems:"center",maxHeight:t.sizes.smallElementHeight,color:t.colors.fadedText60,"& :hover":{color:t.colors.bodyText}}));function ee({children:t,content:e}){const r=A();return n(vt,{content:e,placement:Q.TOP,overrides:{Body:{style:{top:`-${r.sizes.minElementHeight}`}}},children:t})}const oe=({fileInfo:t})=>{const e=A(),{type:r}=t.status;switch(r){case"uploading":return n(wt,{usingCustomTheme:!1,"data-testid":"stChatInputFileIconSpinner",size:"lg",margin:"0",padding:"0"});case"error":return n(ee,{content:t.status.errorMessage,children:n(H,{color:e.colors.red,content:at,size:"lg"})});case"uploaded":return n(H,{content:Ut,size:"lg"});default:return yt(r),null}},ne=({fileInfo:t,onDelete:e})=>z(Yt,{className:"stChatInputFile","data-testid":"stChatInputFile",children:[n(Jt,{children:n(oe,{fileInfo:t})}),n(Qt,{className:"stChatInputFileName","data-testid":"stChatInputFileName",title:t.name,fileStatus:t.status,children:t.name}),n(Zt,{children:Ft(t.size,V.Byte)}),n(te,{"data-testid":"stChatInputDeleteBtn",children:n(Z,{onClick:()=>e(t.id),kind:tt.MINIMAL,children:n(H,{content:Et,size:"lg"})})})]}),ae=({items:t,onDelete:e})=>n(Xt,{"data-testid":"stChatUploadedFiles",children:n(Gt,{children:t.map(r=>n(jt,{children:n(ne,{fileInfo:r,onDelete:e})},r.id))})}),re=({getNextLocalFileId:t,addFiles:e,updateFile:r,uploadClient:d,element:f,onUploadProgress:c,onUploadComplete:m})=>(x,h)=>{const v=J.CancelToken.source(),g=new ot(h.name,h.size,t(),{type:"uploading",cancelToken:v,progress:1});e([g]),d.uploadFile({formId:"",...f},x.uploadUrl,h,p=>c(p,g.id),v.token).then(()=>m(g.id,x)).catch(p=>{J.isCancel(p)||r(g.id,g.setStatus({type:"error",errorMessage:p?p.toString():"Unknown error"}))})},ie=({acceptMultipleFiles:t,maxFileSize:e,uploadClient:r,uploadFile:d,addFiles:f,getNextLocalFileId:c,deleteExistingFiles:m,onUploadComplete:x})=>(h,v)=>{if(!t&&h.length===0&&v.length>1){const g=v.findIndex(p=>{var y;return((y=p.errors)==null?void 0:y[0].code)===Ht.TooManyFiles});g>=0&&(h.push(v[g].file),v.splice(g,1))}if(!t&&h.length>0&&m(),r.fetchFileURLs(h).then(g=>{Ct(g,h).forEach(([p,y])=>{d(p,y)})}).catch(g=>{f(h.map(p=>new ot(p.name,p.size,c(),{type:"error",errorMessage:g})))}),v.length>0){const g=v.map(p=>Tt(p,c(),e));f(g)}x()},se=({getRootProps:t,getInputProps:e,acceptFile:r,disabled:d,theme:f})=>z(Ot,{disabled:d,children:[z(Kt,{"data-testid":"stChatInputFileUploadButton",disabled:d,...t(),children:[n("input",{...e()}),n(It,{content:`Upload or drag and drop ${r===I.Multiple?"files":"a file"}`,placement:Q.TOP,onMouseEnterDelay:500,children:n(Z,{kind:tt.MINIMAL,disabled:d,children:n(H,{content:nt,size:"lg",color:d?f.colors.fadedText40:f.colors.fadedText60})})})]}),n(_t,{})]}),le=({getRootProps:t,getInputProps:e,acceptFile:r,inputHeight:d})=>z(et,{children:[n(qt,{height:d,...t(),children:n("input",{...e()})}),n(Pt,{height:d,children:`Drag and drop ${r===I.Multiple?"files":"a file"} here`})]}),de=6.5,R=1,M=(t,e,r)=>r.map(d=>d.id===t?e:d),k=(t,e)=>e.find(r=>r.id===t);function ce({disabled:t,element:e,widgetMgr:r,fragmentId:d,uploadClient:f}){const c=A(),m=l.useRef(null),x=l.useRef(0),h=l.useRef({minHeight:0,maxHeight:0}),{values:[v],elementRef:g}=xt(l.useMemo(()=>["width"],[])),[p,y]=l.useState(!1),[F,B]=l.useState(e.default),[E,W]=l.useState(0),[T,it]=l.useState(!1),[b,S]=l.useState([]),[U,D]=l.useState(!1),C=bt(e.acceptFile),q=Bt(e.maxUploadSizeMb,V.Megabyte,V.Byte),P=l.useCallback(o=>S(a=>[...a,...o]),[]),O=l.useCallback(o=>{S(a=>{const s=k(o,a);return L(s)?a:(s.status.type==="uploading"&&s.status.cancelToken.cancel(),s.status.type==="uploaded"&&s.status.fileUrls.deleteUrl&&f.deleteFile(s.status.fileUrls.deleteUrl),a.filter(i=>i.id!==o))})},[f]),st=()=>{const o=b.filter(a=>a.status.type==="uploaded").map(a=>{const{name:s,size:i,status:w}=a,{fileId:ht,fileUrls:ft}=w;return new St({fileId:ht,fileUrls:ft,name:s,size:i})});return new zt({uploadedFileInfo:o})},K=()=>x.current++,lt=ie({acceptMultipleFiles:C===I.Multiple,maxFileSize:q,uploadClient:f,uploadFile:re({getNextLocalFileId:K,addFiles:P,updateFile:(o,a)=>{S(s=>M(o,a,s))},uploadClient:f,element:e,onUploadProgress:(o,a)=>{S(s=>{const i=k(a,s);if(L(i)||i.status.type!=="uploading")return s;const w=Math.round(o.loaded*100/o.total);return i.status.progress===w?s:M(a,i.setStatus({type:"uploading",cancelToken:i.status.cancelToken,progress:w}),s)})},onUploadComplete:(o,a)=>{S(s=>{const i=k(o,s);return L(i)||i.status.type!=="uploading"?s:M(i.id,i.setStatus({type:"uploaded",fileId:a.fileId,fileUrls:a}),s)})}}),addFiles:P,getNextLocalFileId:K,deleteExistingFiles:()=>b.forEach(o=>O(o.id)),onUploadComplete:()=>{m.current&&m.current.focus()}}),{getRootProps:_,getInputProps:X}=Dt({onDrop:lt,multiple:C===I.Multiple,accept:Lt(e.fileType),maxSize:q}),dt=()=>{let o=0;const{current:a}=m;if(a){const s=a.placeholder;a.placeholder="",a.style.height="auto",o=a.scrollHeight,a.placeholder=s,a.style.height=""}return o},G=()=>{if(m.current&&m.current.focus(),!p||t)return;const o={data:F,fileUploaderState:st()};r.setChatInputValue(e,o,{fromUi:!0},d),y(!1),S([]),B(""),W(0)},ct=o=>{const{metaKey:a,ctrlKey:s,shiftKey:i}=o;Mt(o)&&!i&&!s&&!a&&(o.preventDefault(),G())},pt=o=>{const{value:a}=o.target,{maxChars:s}=e;s!==0&&a.length>s||(B(a),W(dt()))};l.useEffect(()=>b.some(o=>o.status.type==="uploading")?y(!1):y(F!==""||b.length>0),[b,F]),l.useEffect(()=>{if(e.setValue){e.setValue=!1;const o=e.value||"";B(o)}},[e]),l.useLayoutEffect(()=>{if(m.current){const{offsetHeight:o}=m.current;h.current.minHeight=o,h.current.maxHeight=o*de}},[m]),l.useEffect(()=>{const o=i=>{var w;i.preventDefault(),i.stopPropagation(),!U&&((w=i.dataTransfer)!=null&&w.types.includes("Files"))&&D(!0)},a=i=>{i.preventDefault(),i.stopPropagation(),U&&(i.clientX<=0&&i.clientY<=0||i.clientX>=window.innerWidth&&i.clientY>=window.innerHeight)&&D(!1)},s=i=>{i.preventDefault(),i.stopPropagation(),U&&D(!1)};return window.addEventListener("dragover",o),window.addEventListener("drop",s),window.addEventListener("dragleave",a),()=>{window.removeEventListener("dragover",o),window.removeEventListener("drop",s),window.removeEventListener("dragleave",a)}},[U]),l.useLayoutEffect(()=>{const{minHeight:o}=h.current;it(E>0&&m.current?Math.abs(E-o)>R:!1)},[E]);const{placeholder:j,maxChars:ut}=e,{maxHeight:Y}=h.current,gt=C!==I.None&&U;return z(et,{children:[C===I.None?null:n(ae,{items:[...b],onDelete:O}),n(Vt,{className:"stChatInput","data-testid":"stChatInput",ref:g,children:gt?n(le,{getRootProps:_,getInputProps:X,acceptFile:C,inputHeight:T?`${E+R}px`:c.sizes.minElementHeight}):z($t,{extended:T,children:[C===I.None?null:n(se,{getRootProps:_,getInputProps:X,acceptFile:C,disabled:t,theme:c}),n(kt,{inputRef:m,value:F,placeholder:j,onChange:pt,onKeyDown:ct,"aria-label":j,disabled:t,rows:1,overrides:{Root:{style:{minHeight:c.sizes.minElementHeight,outline:"none",borderLeftWidth:"0",borderRightWidth:"0",borderTopWidth:"0",borderBottomWidth:"0"}},Input:{props:{"data-testid":"stChatInputTextArea"},style:{lineHeight:c.lineHeights.inputWidget,"::placeholder":{opacity:"0.7"},height:T?`${E+R}px`:"auto",maxHeight:Y?`${Y}px`:"none",paddingLeft:c.spacing.none,paddingBottom:c.spacing.sm,paddingTop:c.spacing.sm,paddingRight:`calc(${c.iconSizes.xl} + 2 * ${c.spacing.sm} + ${c.spacing.sm})`}}}}),v>c.breakpoints.hideWidgetDetails&&n(Wt,{children:n(Rt,{dirty:p,value:F,maxLength:ut,type:"chat",inForm:!1})}),n(At,{children:n(Nt,{onClick:G,disabled:!p||t,extended:T,"data-testid":"stChatInputSubmitButton",children:n(H,{content:rt,size:"xl",color:"inherit"})})})]})})]})}const we=l.memo(ce);export{we as default};
@@ -1 +0,0 @@
1
- import{n as p,r as n,aD as x,bg as h,y,bh as w,j as i,aZ as C}from"./index.D1HZENZx.js";const b=p("div",{target:"ek8upll0"})(({theme:e,isExpanded:t})=>({width:"100%",...t?{position:"fixed",top:0,left:0,bottom:0,right:0,background:e.colors.bgColor,zIndex:e.zIndices.fullscreenWrapper,padding:e.spacing.md,paddingTop:e.sizes.fullScreenHeaderHeight,overflow:["auto","overlay"],display:"flex",alignItems:"center",justifyContent:"center"}:{}})),f=n.createContext(null);f.displayName="ElementFullscreenContext";const v=e=>{const t=n.useContext(e);if(t==null)throw new Error(`useRequiredContext: ${e.displayName??"context"} not found`);return t},g=()=>{const{setFullScreen:e}=n.useContext(x),[t,u]=n.useState(!1),{fullHeight:s,fullWidth:c}=v(h),o=n.useCallback(a=>{u(a),e(a)},[e]),d=n.useCallback(()=>{document.body.style.overflow="hidden",o(!0)},[o]),l=n.useCallback(()=>{document.body.style.overflow="unset",o(!1)},[o]),r=n.useCallback(a=>{a.keyCode===27&&t&&l()},[l,t]);return n.useEffect(()=>(document.addEventListener("keydown",r,!1),()=>{document.removeEventListener("keydown",r,!1)}),[r]),n.useMemo(()=>({expanded:t,zoomIn:d,zoomOut:l,fullHeight:s,fullWidth:c}),[t,d,l,s,c])},F=({children:e,height:t})=>{const u=y(),{expanded:s,fullHeight:c,fullWidth:o,zoomIn:d,zoomOut:l}=g(),{values:[r],elementRef:a}=w(n.useMemo(()=>["width"],[])),m=n.useMemo(()=>({width:s?o:r,height:s?c:t,expanded:s,expand:d,collapse:l}),[s,c,o,t,r,d,l]);return i(f.Provider,{value:m,children:i(b,{ref:a,isExpanded:s,"data-testid":"stFullScreenFrame",theme:u,children:e})})};function E(e){const t=u=>i(F,{children:i(e,{...u})});return t.displayName=`withFullScreenWrapper(${e.displayName||e.name})`,C(t,e)}export{f as E,v as u,E as w};