PageSourceSearch

https://www.guitarmasterclass.net/js/chatbot.js?

js guitarmasterclass.net collected 2026-10-02 07:23:44 UTC 2,757 bytes, 68 lines download raw bytes

1let peekobotContainer = `
2  <div id="peekobot-container">
3  <div class="close-peekobot"><i class="fa fa-close"></i></div>
4  <div id="peekobot-inner">
5    <div id="peekobot"></div>
6  </div>
7</div>
8<div class="peekobot-overlay"></div>
9`
10;
11
12  if ($("body").hasClass("index")) {
13    //do nothing
14  }
15  else if ($("body").hasClass("planner")) {
16    // jQuery('.lesson_plan_wrap').after(peekobotContainer);
17    // jQuery('#peekobot-container').wrap('<div class="content-block peekobot-embed"></div>');
18    // jQuery('.peekobot-overlay, .close-peekobot').remove();
19
20    jQuery( ".lesson_plan_wrap" ).after( "\
21    <a href='/signup/?course_mentor' id='course_mentor_link' style='display:none;'> <div class='lessontext' id='course_mentor' '><h2 class='section-title' style='margin:10px 0px 10px 0px;'>Did you know?</h2>\
22    <div style='width:100px;margin: 20px 0px;'><img src='/img/chalkboard-teacher-solid.svg'></div>\
23    <p>When you <u>sign up</u> to GMC, you are entitled to a personal coach/mentor.\
24    <br>\
25    This will allow us to design a learning path based on <b>your</b> musical preferences.\
26    <br>\
27    It will not only make learning more enjoyable, but also <b>faster</b>.\
28    <br>\
29    And best of all, you will be working on building <b>your own style</b>, from day one.\
30    </p></div></a>\
31    " );
32  }
33  else if ($("body").hasClass("video-lessons-courses")) {
34    jQuery('.info-row').before(peekobotContainer);
35    jQuery('#peekobot-container').wrap('<div class="content-block peekobot-embed"></div>');
36    jQuery('.peekobot-embed').before('<h2 class="section-title">Need some help?</h2>');
37    jQuery('.peekobot-overlay, .close-peekobot').remove();
38  }
39  else if ($("body").hasClass("lick-of-the-day-new")) {
40    jQuery('#gmc-content').append(peekobotContainer);
41    jQuery('#peekobot-container').wrap('<div style="padding: 0 15px;margin-top: 30px;"><div class="content-block peekobot-embed"></div></div>');
42    jQuery('.peekobot-embed').before('<h2 class="section-title">Need some direction?</h2>');
43    jQuery('.peekobot-overlay, .close-peekobot').remove();
44  }
45  else {
46    jQuery('body').prepend(peekobotContainer);
47    jQuery('body').addClass('chatbot-popup');
48  }
49
50jQuery('head').append('<link rel="stylesheet" type="text/css" href="/css/peekbot-custom.css?'+Date.now()+'">');
51
52const chat = {};
53var chatbot_search_history = [];
54var chatbot_search_id = Date.now();
55
56jQuery.when(
57  jQuery.getScript("/js/conversation.js?8"),
58  jQuery.Deferred(function( deferred ){
59    jQuery( deferred.resolve );
60  })
61).done(function(){
62    jQuery.getScript("/js/peekbot-custom.js?"+Date.now())
63
64    jQuery(".peekobot-overlay, .close-peekobot").click(function(){
65      jQuery('#peekobot-container, .peekobot-overlay').remove();
66    });
67 //add more
68});

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.