{"version":3,"sources":["../../../dev/j/lp/lp-fr-virus-alert.js"],"names":["beforeUrlText","path","replace","$","document","ready","p_vir","getUrlParam","p_obj","avast","mkt","hashDecoder","text","decode","each","e","text_lineone","this","text_lineone_length","length","attr","substring","chromebox","handle","core","normalizeStyle","html","getScript"],"mappings":"AAmDA,QAASA,eAAcC,GACrB,MAAY,OAARA,EACFA,EAAOA,EAAKC,QAAQ,QAAS,KAItB,GAzDXC,EAAEC,UAAUC,MAAM,WAEhB,GAAIC,GAAQH,EAAEC,UAAUG,YAAY,SAEhCC,GADQL,EAAEC,UAAUG,YAAY,SACxBJ,EAAEC,UAAUG,YAAY,SAuCrC,IArCsC,mBAA1BE,OAAMC,IAAIC,cACN,MAATL,GACFH,EAAE,UAAUS,KAAKZ,cAAeS,MAAMC,IAAIC,YAAYE,OAAOP,EAAM,aAExD,MAATE,GACFL,EAAE,UAAUS,KAAKZ,cAAeS,MAAMC,IAAIC,YAAYE,OAAOL,EAAM,WAAU,MAYjFL,EAAE,oBAAoBW,KAAK,SAASC,GAClC,GAAIC,GAAeb,EAAEc,MAAML,OACvBM,EAAsBF,EAAaG,MACvChB,GAAEc,MAAMG,KAAK,QAAQJ,GAEjBE,EAAsB,IACxBf,EAAEc,MAAML,KAAKI,EAAaK,UAAU,EAAE,IAAM,SAIf,mBAAvBZ,OAAMC,IAAIY,WACpBb,MAAMC,IAAIY,UAAUC,SAGM,mBAAfd,OAAMe,MACdrB,EAAE,aAAagB,OAAS,GAC1BV,MAAMe,KAAKC,eAAe,QAAS,UAIjCtB,EAAE,cAAcgB,OAAS,EAAG,CAE/BhB,EAAE,cAAcuB,KADG,ykBAEnBvB,EAAEwB,UAAU","file":"lp-fr-virus-alert.js","sourcesContent":["$(document).ready(function(){\n\n var p_vir = $(document).getUrlParam(\"p_vir\");\n var p_prc = $(document).getUrlParam(\"p_prc\");\n var p_obj = $(document).getUrlParam(\"p_obj\");\n\n if( typeof avast.mkt.hashDecoder !== 'undefined'){\n if (p_vir != null){\n $(\".p_vir\").text(beforeUrlText( avast.mkt.hashDecoder.decode(p_vir,'avast64') ));\n }\n if (p_obj != null){\n $(\".p_obj\").text(beforeUrlText( avast.mkt.hashDecoder.decode(p_obj,'avast64',true) ));\n }\n }\n\n\n\n /*\n if (p_prc != null){\n $(\".p_prc\").text(beforeUrlText(p_prc));\n }\n */\n\n $(\"table.lineone td\").each(function(e){\n var text_lineone = $(this).text();\n var text_lineone_length = text_lineone.length;\n $(this).attr(\"title\",text_lineone);\n //console.log( text_lineone.length );\n if (text_lineone_length > 52){\n $(this).text(text_lineone.substring(0,52) + \"...\");\n }\n });\n\n\tif( typeof avast.mkt.chromebox != 'undefined'){\n\t\tavast.mkt.chromebox.handle();\n\t}\n\n if( typeof avast.core !== 'undefined' ){\n\t\tif($(\"#features\").length > 0){\n\t\t\tavast.core.normalizeStyle('.feat', 'height');\n\t\t}\n }\n\n\tif( $('.tintembed').length > 0 ){\n\t\tvar tintupToHTML = '
';\n\t\t$(\".tintembed\").html(tintupToHTML);\n\t\t$.getScript(\"https://s3-us-west-1.amazonaws.com/hypes-images/assets/scripts/tintembed.js\");\n\t}\n\n});\n\nfunction beforeUrlText(path){\n if (path != null){\n path = path.replace(/%20/gi, \" \");\n return path;\n }\n else\n return '';\n}"]}