1$(function(){ 2 3 tp = window.tp || []; 4 tp.push(['setUsePianoIdUserProvider', true]); 5 6 7 if(logout == "1" ){ 8 pianoArr = [ 9 "init", function(){ 10 tp.pianoId.logout(); 11 } 12 ]; 13 } 14 15 16 var c =0; 17 18 19 //Autologin? 20 if(loginstatus===false && logout==0 ) { 21 pianoArr = ['init', function() { 22 if(tp.user.isUserValid()){ 23 var token = tp.pianoId.getToken(); 24 if(token){ 25 $.ajax({ 26 method : "get", 27 url : baseurl +"/piano/login/"+token, 28 data : {}, 29 dataType : "json", 30 encoding : "UTF-8", 31 error : function(xhr, ajaxOptions, thrownError){ 32 33 } 34 }) 35 .done(function(json){ 36 if(json.login ) location.reload(); 37 38 }); 39 }; 40 } 41 }]; 42 } 43 44 45 46 if(typeof CXENSE_TAGS !== 'undefined' && CXENSE_TAGS.length > 0) { 47 tp.push(["setTags", [CXENSE_TAGS]]); 48 } 49 50 51 52 setTimeout(function(){ 53 54 if(typeof tp.isSandbox !== 'function'){ 55 if($(".piano-alert").length) $(".piano-alert").show(); 56 } 57 58 var tokenMatch = location.search.match(/reset_token=([A-Za-z0-9]+)/); 59 if(tokenMatch){ 60 var token = tokenMatch[1]; 61 if(!tp.user.isUserValid()){ 62 tp.push([ 63 'init', function(){ 64 tp.pianoId.show({ 65 'resetPasswordToken' : token, 66 loggedIn : function(){ 67 location.reload(); 68 } 69 }); 70 } 71 ]); 72 } 73 74 } 75 76 77 78 if (typeof pianoArr !== 'undefined' && pianoArr.length > 0){ 79 /*$(".piano-onetrust-alert, .piano-alert").hide();*/ 80 tp.push(pianoArr); 81 82 } 83 84 },2000); 85 86 87}); 88
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.