o n¾nhK ã@s"ddlmZddlZddd„ZdS)é)Ú annotationsNFc Csúg}| ¡}t|ƒD]\}}| ¡}| d¡rd}n|s&| d¡r&d}nq tdƒ‚||d…}tt|ƒƒD] \}}| ¡ |¡rDnq7tdƒ‚|dkrl|t|ƒ|d…}|D]}| ¡rk| d d   |¡¡nqY|dt|ƒ|…}d   |¡|fS) ac Used to filter unrelated output around module JSON output, like messages from tcagetattr, or where dropbear spews MOTD on every single command (which is nuts). Filters leading lines before first line-starting occurrence of '{' or '[', and filter all trailing lines after matching close character (working from the bottom of output). Ú{Ú}ú[ú]zNo start of json char foundNzNo end of json char foundrz2Module invocation had junk after the JSON data: %sÚ ) Ú splitlinesÚ enumerateÚstripÚ startswithÚ ValueErrorÚreversedÚendswithÚlenÚappendÚjoin) ÚdataÚ objects_onlyÚwarningsÚlinesÚstartÚlineÚendcharÚreverse_end_offsetÚ trailing_junk©rúJ/usr/local/lib/python3.10/dist-packages/ansible/module_utils/json_utils.pyÚ_filter_non_json_lines"s6 € ÿþr)F)Ú __future__rÚjsonrrrrrÚs