PageSourceSearch

https://quantuniversity.com/assets/js/main.js

js quantuniversity.com collected 2026-10-05 01:07:33 UTC 25,522 bytes, 621 lines download raw bytes

1/**
2 * Template Name: Mentor - v2.1.0
3 * Template URL: https://bootstrapmade.com/mentor-free-education-bootstrap-theme/
4 * Author: BootstrapMade.com
5 * License: https://bootstrapmade.com/license/
6 */
7!(function ($) {
8  "use strict";
9
10  class contactWidget extends HTMLElement {
11    constructor() {
12      super();
13    }
14    connectedCallback() {
15      this.innerHTML = `
16      <section id="contact" class="contact">
17        <div class="container" data-aos="fade-up">
18          <div class="row">
19            <div class="col-lg-4">
20              <div class="info">
21                <div class="email">
22                  <i class="icofont-envelope"></i>
23                  <h4>Email</h4>
24                  <p>[email protected]</p>
25                </div>
26                <div class="email">
27                  <i class="icofont-address-book"></i>
28                  <h4>Address</h4>
29                  <p>QuantUniversity LLC</p>
30                  <p>PO Box 812069</p>
31                  <p>Wellesley, MA 02482</p>
32                </div>
33              </div>
34            </div>
35            <div class="col-lg-8">
36              <div class="pdf-container contact-form " style="padding-top: 770px;">
37                <iframe
38                  src="https://us13.list-manage.com/contact-form?u=7fe4186a72f406a7929ebf332&form_id=68461b21f89b4026326ff9bedde38c41"
39                  scrolling="no">
40                </iframe>
41              </div>
42            </div>
43          </div>
44        </div>
45      </section><!-- End Contact Section -->
46      `;
47    }
48  }
49  customElements.get("contact-widget") ||
50    customElements.define("contact-widget", contactWidget);
51
52  class carouselWidget extends HTMLElement {
53    constructor() {
54      super();
55    }
56    connectedCallback() {
57      this.innerHTML = `
58      <section class="course-details" style="padding-bottom:0px;" data-aos="fade-up">
59        <div id="myCarousel" class="carousel slide" data-ride="carousel" data-interval="3000">
60          <div class="carousel-inner container courses">
61          <h3 style="margin-bottom:30px;">YOU MAY ALSO LIKE</h3>
62            <div class="row ">
63              <div class="carousel-item">
64                <div class="col-md-4 align-items-stretch ">
65                  <div class="course-item">
66                    <a href="/course-details/mlrisk.html">
67                      <img src="/assets/img/machine-learning-AI-risk-certificate-program.png" class="img-fluid" alt="Machine Learning & AI Risk Certificate Program">
68                    </a>
69                    <a href="/course-details/mlrisk.html">
70                      <div class="course-content">
71                        <div class="d-flex justify-content-between align-items-center mb-3">
72                          <h4 class="explore-category">Excel</h4>
73                        </div>
74                        <p style="display: none;">LIVE + Online - Ondemand</p>
75                        <p style="display: none;">Online - Ondemand</p>
76                        <h3>Machine Learning & AI Risk Certificate Program</h3>
77                        <p>The industry's first Machine Learning and AI Risk Certificate program geared towards the financial services industry.</p>
78                      </div>
79                      <div class="trainer text-center" style="padding:15px">
80                        <a href="/course-details/mlrisk.html" class="events-link" target="_blank">
81                          <h5 style="margin-bottom: 0px">Learn More</h5>
82                        </a>
83                      </div>
84                    </a>
85                  </div>
86                </div> <!-- End Course Item-->
87              </div>
88
89              <div class="carousel-item">
90                <div class="col-md-4 align-items-stretch">
91                  <div class="course-item">
92                    <a href="/course-details/qupython-details.html">
93                      <img src="/assets/img/courses/Just-Enough-Python-for-Data-Science.jpg" class="img-fluid"
94                        alt="Collateral for Just Enough Python for Data Science Course">
95                    </a>
96                    <a href="/course-details/qupython-details.html">
97                      <div class="course-content popular-courses">
98                        <div class="d-flex justify-content-between align-items-center mb-3">
99                          <h4 class="explore-category">Explore</h4>
100                        </div>
101
102                        <h3>Just Enough Python for Data Science</h3>
103                        <p>Understand the core Python constructs needed to build scalable data science and machine
104                          learning
105                          applications</p>
106                      </div>
107                      <div class="trainer text-center" style="padding:15px">
108                        <a href="/course-details/qupython-details.html" class="events-link" target="_blank">
109                          <h5 style="margin-bottom: 0px">Learn More</h5>
110                        </a>
111                      </div>
112                    </a>
113                  </div>
114                </div> <!-- End Course Item-->
115              </div>
116
117              <div class="carousel-item ">
118                <div class="col-md-4 align-items-stretch">
119                  <div class="course-item">
120                    <a href="/course-details/mlfinance-details.html">
121                      <img src="/assets/img/courses/Machine-Learning-and-AI-for-Financial-Professionals.jpg"
122                        class="img-fluid" alt="Collateral for Machine Learning and AI Course">
123                    </a>
124                    <a href="/course-details/mlfinance-details.html">
125                      <div class="course-content popular-courses">
126                        <div class="d-flex justify-content-between align-items-center mb-3">
127                          <h4 class="experience-category">Experience</h4>
128                        </div>
129
130                        <h3>Machine Learning and AI for Financial Professionals</h3>
131                        <p>Learn how to build pragmatic AI and ML applications with case studies in finance</p>
132                      </div>
133                      <div class="trainer text-center" style="padding:15px">
134                        <a href="/course-details/mlfinance-details.html" class="events-link" target="_blank">
135                          <h5 style="margin-bottom: 0px">Learn More</h5>
136                        </a>
137                      </div>
138                    </a>
139                  </div>
140                </div> <!-- End Course Item-->
141              </div>
142
143              <div class="carousel-item">
144                <div class="col-md-4 align-items-stretch">
145                  <div class="course-item">
146                    <a href="/course-details/mrm-details.html">
147                      <img src="/assets/img/courses/Model-Risk-Management-For-Machine-Learning-Models.jpg"
148                        class="img-fluid" alt="Collateral for Model Risk Management for Machine Learngin Models Course">
149                    </a>
150                    <a href="/course-details/mrm-details.html">
151                      <div class="course-content popular-courses">
152                        <div class="d-flex justify-content-between align-items-center mb-3">
153                          <h4 class="experience-category">Experience</h4>
154                        </div>
155
156                        <h3>Model Risk Management For Machine Learning Models</h3>
157                        <p>Address key model risk management and validation challenges when deploying data science and
158                          ML models in the enterprise</p>
159                      </div>
160                      <div class="trainer text-center" style="padding:15px">
161                        <a href="/course-details/mrm-details.html" class="events-link" target="_blank">
162                          <h5 style="margin-bottom: 0px">Learn More</h5>
163                        </a>
164                      </div>
165                    </a>
166                  </div>
167                </div> <!-- End Course Item-->
168              </div>
169
170              <div class="carousel-item">
171                <div class="col-md-4 align-items-stretch ">
172                  <div class="course-item">
173                    <a href="/course-details/ml-stress-testing.html">
174                      <img src="/assets/img/courses/The-Risk-in-ML-Models-Stress-Scenario-Testing-Evaluation.jpg"
175                        class="img-fluid" alt="Collateral for PRMIA Risk Course">
176                    </a>
177
178                    <a href="/course-details/ml-stress-testing.html">
179                      <div class="course-content popular-courses">
180                        <div class="d-flex justify-content-between align-items-center mb-3">
181                          <h4 class="explore-category">Explore</h4>
182                        </div>
183
184                        <h3>The Risk in ML Models: Stress, Scenario Testing & Evaluation</h3>
185                        <p>Learn how to evaluate risk in machine models in this 6-week program geared towards
186                          practitioners.
187                        </p>
188                      </div>
189                      <div class="trainer text-center" style="padding:15px">
190                        <a href="/course-details/ml-stress-testing.html" class="events-link" target="_blank">
191                          <h5 style="margin-bottom: 0px">Learn More</h5>
192                        </a>
193                      </div>
194                    </a>
195                  </div>
196                </div> <!-- End Course Item-->
197              </div>
198
199              <div class="carousel-item  active">
200                <div class="col-md-4 align-items-stretch">
201                  <div class="course-item">
202                    <a href="/course-details/algorithmic-auditing.html">
203                      <img src="/assets/img/courses/Algorithmic-Auditing-Spring-2021.jpg" class="img-fluid"
204                        alt="Collateral for Algorithmic Auditing Course">
205                    </a>
206
207                    <a href="/course-details/algorithmic-auditing.html">
208                      <div class="course-content popular-courses">
209                        <div class="d-flex justify-content-between align-items-center mb-3">
210                          <h4 class="explore-category">Explore</h4>
211                        </div>
212
213                        <h3>Algorithmic Auditing</h3>
214                        <p>Learn how to audit ML and AI models in this 6-week program geared towards practitioners.</p>
215                      </div>
216                      <div class="trainer text-center" style="padding:15px">
217                        <a href="/course-details/algorithmic-auditing.html" class="events-link" target="_blank">
218                          <h5 style="margin-bottom: 0px">Learn More</h5>
219                        </a>
220                      </div>
221                    </a>
222                  </div>
223                </div> <!-- End Course Item-->
224              </div>
225            </div>
226          </div>
227          <a class="carousel-control-prev carousel-control-repsonsive-fix" href="#myCarousel" role="button"
228            data-slide="prev">
229            <i style="color:#435966;font-size: 100px;" class='bx bxs-chevron-left'></i>
230            <span class="sr-only">Previous</span>
231          </a>
232          <a class="carousel-control-next carousel-control-repsonsive-fix" href="#myCarousel" role="button"
233            data-slide="next">
234            <i style="color:#435966;font-size: 100px;" class='bx bxs-chevron-right'></i>
235            <span class="sr-only">Next</span>
236          </a>
237        </div>
238      </section>
239      `;
240    }
241  }
242  customElements.get("carousel-widget") ||
243    customElements.define("carousel-widget", carouselWidget);
244
245  class quoteWidget extends HTMLElement {
246    constructor() {
247      super();
248    }
249    connectedCallback() {
250      this.innerHTML = `
251      <section id="testimonials" class="course-details testimonials">
252        <div class="container" data-aos="fade-up">
253          <h3>PARTICIPANT FEEDBACK</h3>
254          <div class="owl-carousel testimonials-carousel" data-aos="zoom-in" data-aos-delay="100">
255            <div class="testimonial-wrap">
256              <div class="testimonial-item testimonial-item-fix">
257                <h3>Frederic Siboulet</h3>
258                <h4>Managing Director
259                  Ernst & Young Global Consulting Services</h4>
260                <p>
261                  <i class="bx bxs-quote-alt-left quote-icon-left"></i>
262                  I loved the course. Very well organized, clear and concise delivery, with a lot of practical examples.
263                  Abundance of materials, with links to live examples, tools, websites, articles and books.
264                  <i class="bx bxs-quote-alt-right quote-icon-right"></i>
265                </p>
266              </div>
267            </div>
268
269            <div class="testimonial-wrap">
270              <div class="testimonial-item testimonial-item-fix">
271                <h3>Michelle Allade</h3>
272                <h4>Director, Model Risk Management MetaBank</h4>
273                <p>
274                  <i class="bx bxs-quote-alt-left quote-icon-left"></i>
275                  ..Very good info and wish all the modules were unlocked so I could binge watch.
276                  <i class="bx bxs-quote-alt-right quote-icon-right"></i>
277                </p>
278              </div>
279            </div>
280
281            <div class="testimonial-wrap">
282              <div class="testimonial-item testimonial-item-fix">
283                <p>
284                  <i class="bx bxs-quote-alt-left quote-icon-left"></i>
285                  Comprehensive nature of the curriculum and the layout/sequence, which flowed very naturally. Along these
286                  lines,
287                  Sri did an effective job of introducing the big picture and alternating between focus on the building
288                  blocks and relating those back to the
289                  bigger picture.
290                  <i class="bx bxs-quote-alt-right quote-icon-right"></i>
291                </p>
292              </div>
293            </div>
294
295            <div class="testimonial-wrap">
296              <div class="testimonial-item testimonial-item-fix">
297                <p>
298                  <i class="bx bxs-quote-alt-left quote-icon-left"></i>
299                  I really loved the format of this course. The flexibility with respect to time was great as the modules
300                  were prerecorded and the
301                  possibility to pose questions to the instructor in scheduled Q/A meetings was extremely useful.
302                  <i class="bx bxs-quote-alt-right quote-icon-right"></i>
303                </p>
304              </div>
305            </div>
306
307            <div class="testimonial-wrap">
308              <div class="testimonial-item testimonial-item-fix">
309                <p>
310                  <i class="bx bxs-quote-alt-left quote-icon-left"></i>
311                  Sri was an awesome instructor. He took care of the group's needs and offered different channels to pose
312                  questions.
313                  <i class="bx bxs-quote-alt-right quote-icon-right"></i>
314                </p>
315              </div>
316            </div>
317
318            <div class="testimonial-wrap">
319              <div class="testimonial-item testimonial-item-fix">
320                <p>
321                  <i class="bx bxs-quote-alt-left quote-icon-left"></i>
322                  Very competent and passionate about this very vast subject and caring about the learning of his
323                  students, even if
324                  the course was asynchronous - it has been real a pleasure to learn from Sri
325                  <i class="bx bxs-quote-alt-right quote-icon-right"></i>
326                </p>
327              </div>
328            </div>
329
330            <div class="testimonial-wrap">
331              <div class="testimonial-item testimonial-item-fix">
332                <p>
333                  <i class="bx bxs-quote-alt-left quote-icon-left"></i>
334                  I really loved the format of this course. The flexibility with respect to time was great as the modules
335                  were prerecorded
336                  and the possibility to pose questions to the instructor in scheduled Q/A meetings was extremely useful.
337                  <i class="bx bxs-quote-alt-right quote-icon-right"></i>
338                </p>
339              </div>
340            </div>
341
342            <div class="testimonial-wrap">
343              <div class="testimonial-item testimonial-item-fix">
344                <!-- <img src="//assets/img/testimonials/testimonials-1.jpg" class="testimonial-img" alt=""> -->
345                <h3>KALIBA BILALA</h3>
346                <h4>CFA</h4>
347                <p>
348                  <i class="bx bxs-quote-alt-left quote-icon-left"></i>
349                  I truly enjoyed your recent webinars with the CFA Institute and also learnt a lot. I look forward to more
350                  presentations from you.
351                  <i class="bx bxs-quote-alt-right quote-icon-right"></i>
352                </p>
353              </div>
354            </div>
355
356          </div>
357        </div>
358      </section><!-- End Testimonials Section -->
359      `;
360    }
361  }
362  customElements.get("quote-widget") ||
363    customElements.define("quote-widget", quoteWidget);
364
365  // Preloader
366  $(window).on("load", function () {
367    if ($("#preloader").length) {
368      $("#preloader")
369        .delay(10)
370        .fadeOut("slow", function () {
371          // console.log('page loaded')
372          $(this).remove();
373          // var contactWidgetSlot = document.getElementById("contactWidgetSlot");
374          // console.log(contactWidget);
375          // if (contactWidgetSlot) {
376          //   contactWidgetSlot.innerHTML = contactWidget.trim();
377          // }
378          // console.log('loading drift')
379          // !(function () {
380          //   var t = (window.driftt = window.drift = window.driftt || []);
381          //   if (!t.init) {
382          //     if (t.invoked)
383          //       return void (
384          //         window.console &&
385          //         console.error &&
386          //         console.error("Drift snippet included twice.")
387          //       );
388          //     (t.invoked = !0),
389          //       (t.methods = [
390          //         "identify",
391          //         "config",
392          //         "track",
393          //         "reset",
394          //         "debug",
395          //         "show",
396          //         "ping",
397          //         "page",
398          //         "hide",
399          //         "off",
400          //         "on",
401          //       ]),
402          //       (t.factory = function (e) {
403          //         return function () {
404          //           var n = Array.prototype.slice.call(arguments);
405          //           return n.unshift(e), t.push(n), t;
406          //         };
407          //       }),
408          //       t.methods.forEach(function (e) {
409          //         t[e] = t.factory(e);
410          //       }),
411          //       (t.load = function (t) {
412          //         var e = 3e5,
413          //           n = Math.ceil(new Date() / e) * e,
414          //           o = document.createElement("script");
415          //         (o.type = "text/javascript"),
416          //           (o.async = !0),
417          //           (o.crossorigin = "anonymous"),
418          //           (o.src =
419          //             "https://js.driftt.com/include/" + n + "/" + t + ".js");
420          //         var i = document.getElementsByTagName("script")[0];
421          //         i.parentNode.insertBefore(o, i);
422          //       });
423          //   }
424          // })();
425          // drift.SNIPPET_VERSION = "0.3.1";
426          // drift.config({
427          //   backgroundColor: "#435966",
428          // });
429          // drift.config({
430          //   backgroundColor: "#435966",
431          // });
432          // drift.load("pd3e2dahcxsy");
433          // // console.log('loaded drift')
434          // drift.on("ready", function (api, payload) {
435          //   if (window.location.pathname == "/") {
436          //     api.openChat();
437          //   }
438          // });
439        });
440    }
441  });
442
443  // Smooth scroll for the navigation menu and links with .scrollto classes
444  var scrolltoOffset = $("#header").outerHeight() - 1;
445  $(document).on(
446    "click",
447    ".nav-menu a, .mobile-nav a, .scrollto",
448    function (e) {
449      if (
450        location.pathname.replace(/^\//, "") ==
451          this.pathname.replace(/^\//, "") &&
452        location.hostname == this.hostname
453      ) {
454        var target = $(this.hash);
455        if (target.length) {
456          e.preventDefault();
457
458          var scrollto = target.offset().top - scrolltoOffset;
459
460          if ($(this).attr("href") == "#header") {
461            scrollto = 0;
462          }
463
464          $("html, body").animate(
465            {
466              scrollTop: scrollto,
467            },
468            1500,
469            "easeInOutExpo"
470          );
471
472          if ($(this).parents(".nav-menu, .mobile-nav").length) {
473            $(".nav-menu .active, .mobile-nav .active").removeClass("active");
474            $(this).closest("li").addClass("active");
475          }
476
477          if ($("body").hasClass("mobile-nav-active")) {
478            $("body").removeClass("mobile-nav-active");
479            $(".mobile-nav-toggle i").toggleClass(
480              "icofont-navigation-menu icofont-close"
481            );
482            $(".mobile-nav-overly").fadeOut();
483          }
484          return false;
485        }
486      }
487    }
488  );
489
490  // Activate smooth scroll on page load with hash links in the url
491  $(document).ready(function () {
492    if (window.location.hash) {
493      var initial_nav = window.location.hash;
494      if ($(initial_nav).length) {
495        var scrollto = $(initial_nav).offset().top - scrolltoOffset;
496        $("html, body").animate(
497          {
498            scrollTop: scrollto,
499          },
500          1500,
501          "easeInOutExpo"
502        );
503      }
504    }
505    $("download-form").submit(function () {
506      document.getElementById("my_iframe").src = url;
507      alert("Submitted");
508    });
509  });
510
511  // Mobile Navigation
512  if ($(".nav-menu").length) {
513    var $mobile_nav = $(".nav-menu").clone().prop({
514      class: "mobile-nav d-xl-none",
515    });
516    $("body").append($mobile_nav);
517    $("body").prepend(
518      '<button type="button" class="mobile-nav-toggle d-xl-none"><i class="icofont-navigation-menu"></i></button>'
519    );
520    $("body").append('<div class="mobile-nav-overly"></div>');
521
522    $(document).on("click", ".mobile-nav-toggle", function (e) {
523      $("body").toggleClass("mobile-nav-active");
524      $(".mobile-nav-toggle i").toggleClass(
525        "icofont-navigation-menu icofont-close"
526      );
527      $(".mobile-nav-overly").toggle();
528    });
529
530    $(document).on("click", ".mobile-nav .drop-down > a", function (e) {
531      e.preventDefault();
532      $(this).next().slideToggle(300);
533      $(this).parent().toggleClass("active");
534    });
535
536    $(document).click(function (e) {
537      var container = $(".mobile-nav, .mobile-nav-toggle");
538      if (!container.is(e.target) && container.has(e.target).length === 0) {
539        if ($("body").hasClass("mobile-nav-active")) {
540          $("body").removeClass("mobile-nav-active");
541          $(".mobile-nav-toggle i").toggleClass(
542            "icofont-navigation-menu icofont-close"
543          );
544          $(".mobile-nav-overly").fadeOut();
545        }
546      }
547    });
548  } else if ($(".mobile-nav, .mobile-nav-toggle").length) {
549    $(".mobile-nav, .mobile-nav-toggle").hide();
550  }
551
552  // Back to top button
553  $(window).scroll(function () {
554    if ($(this).scrollTop() > 100) {
555      $(".back-to-top").fadeIn("slow");
556    } else {
557      $(".back-to-top").fadeOut("slow");
558    }
559  });
560
561  $(".back-to-top").click(function () {
562    $("html, body").animate(
563      {
564        scrollTop: 0,
565      },
566      1500,
567      "easeInOutExpo"
568    );
569    return false;
570  });
571
572  // jQuery counterUp
573  $('[data-toggle="counter-up"]').counterUp({
574    delay: 10,
575    time: 1000,
576  });
577
578  // Testimonials carousel (uses the Owl Carousel library)
579  $(".testimonials-carousel").owlCarousel({
580    autoplay: true,
581    dots: true,
582    loop: true,
583    responsive: {
584      0: {
585        items: 1,
586      },
587      768: {
588        items: 1,
589      },
590      900: {
591        items: 2,
592      },
593    },
594  });
595
596  // Init AOS
597  $(window).on("load", function () {
598    AOS.init({
599      duration: 1000,
600      once: true,
601    });
602  });
603
604  $("#myCarousel .carousel-item").each(function () {
605    var minPerSlide = 3;
606    var next = $(this).next();
607    if (!next.length) {
608      next = $(this).siblings(":first");
609    }
610    next.children(":first-child").clone().appendTo($(this));
611
612    for (var i = 0; i < minPerSlide; i++) {
613      next = next.next();
614      if (!next.length) {
615        next = $(this).siblings(":first");
616      }
617
618      next.children(":first-child").clone().appendTo($(this));
619    }
620  });
621})(jQuery);

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.