text: {"version":3,"sources":["encoding_handler.js"],"names":["BX","EncodingHandler","prototype","handleEncodings","parameters","formId","file","resultEncodingElementId","name","substring","lastIndexOf","toLowerCase","submit","FileReader","readAsBinaryString","binary","reader","onload","delegate","event","bytes","Uint8Array","result","length","byteLength","i","String","fromCharCode","this","content","readAsArrayBuffer","target","checkStringOnUtf8","value","getPopupWithEncodings","string","unpackBinaryString","prevBits8and7","utfCoefficient","forEach","byte","hiBits8and7","str","char","charCodeAt","push","charsets","_readers","charset","readAsText","results","getEncodedResults","createPopup","finished","Object","keys","readyState","divContent","maxTextWidth","encodedText","charsetLabel","create","props","className","text","encodedLineLabel","tr","children","buttonContent","button","events","click","popupWindow","close","PopupWindow","closeByEsc","closeIcon","autoHide","titleBar","html","message","overlay","backgroundColor","opacity","draggable","onPopupClose","destroy","show"],"mappings":"AAAAA,GAAGC,gBAAkB,WAEpB,IAAIA,EAAkB,aAEtBA,EAAgBC,UAAUC,gBAAkB,SAASC,GAEpD,IAAIC,EAASD,EAAWC,OACxB,IAAIC,EAAOF,EAAWE,KACtB,IAAIC,EAA0BH,EAAWG,wBAEzC,IAAKD,GAAQA,EAAKE,KAAKC,UAAUH,EAAKE,KAAKE,YAAY,KAAO,GAAGC,gBAAkB,MACnF,CACCX,GAAGY,OAAOZ,GAAGK,GAAS,QACtB,OAGD,IAAKQ,WAAWX,UAAUY,mBAC1B,CACCD,WAAWX,UAAUY,mBAAqB,SAASR,GAElD,IAAIS,EAAS,GACb,IAAIC,EAAS,IAAIH,WACjBG,EAAOC,OAASjB,GAAGkB,SAAS,SAASC,GAEpC,IAAIC,EAAQ,IAAIC,WAAWL,EAAOM,QAClC,IAAIC,EAASH,EAAMI,WACnB,IAAK,IAAIC,EAAI,EAAGA,EAAIF,EAAQE,IAC5B,CACCV,GAAUW,OAAOC,aAAaP,EAAMK,IAErCG,KAAKC,QAAUd,EACfa,KAAKX,UACHW,MAEHZ,EAAOc,kBAAkBxB,IAI3B,IAAIU,EAAS,IAAIH,W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