L i_4dZddlmZddlmZddlmZddZy)zPlatform module.) annotations) ForwardMsg)get_script_run_ctxcvt}|yt}||j_|j |y)zMSends a string message to the parent window (when host configuration allows).N)rrparent_messagemessageenqueue)rctxfwd_msgs X/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/streamlit/platform.pypost_parent_messager s3  C {lG%,G"KKN)rstrreturnNone)__doc__ __future__rstreamlit.proto.ForwardMsg_pb2r7streamlit.runtime.scriptrunner_utils.script_run_contextrr rr rs"5Vr