Signin  Pricing  Examples  Support

Libraries > common.app.js

common.app.js - Search Live Website Code
It's like doing CTRL+F on millions of websites' source code



NerdyData is a search engine for source code. Search the source code of 200 million websites.


JAVASCRIPT FILE https://wow.thinkful.com/static/build/common.app.js

Function Explorer



















Libraries on wow.thinkful.com


common.app.js

splash.app.js

airbrake-shim.js



Explore More


jquery.jcarousel.min.js

jquery.watermark.min.js

jquery-1.2.6.pack.js

pngfix.js

common.app.js
				
require=function e(a,t,n){function o(l,s){if(!t[l]){if(!a[l]){var r="function"==typeof require&&require;if(!s&&r)return r(l,!0);if(i)return i(l,!0);var c=new Error("Cannot find module '"+l+"'");throw c.code="MODULE_NOT_FOUND",c}var d=t[l]={exports:{}};a[l][0].call(d.exports,function(e){var t=a[l][1][e];return o(t?t:e)},d,d.exports,e,a,t,n)}return t[l].exports}for(var i="function"==typeof require&&require,l=0;l<n.length;l++)o(n[l]);return o}({3:[function(e,a,t){(function(t){"use strict";t._=a.exports._=e("lodash"),t.$=a.exports.$=e("jquery"),t.jQuery=t.$,e("jquery.cookie"),t.moment=e("moment"),a.exports.errorPages=e("./common/error-pages"),e("./common/shared").dropTrackingCookies(),e("./common/shared").addGridLines();var n=e("thinkful-ui/src/analytics/actions.es6");n.load(),window.__env.config.app={name:"Pelican",displayName:"Splash"};var o=e("./common/analytics");o.identifyUser(),o.trackPageView(),o.watchClicks(),e("./common/call-scheduler-modal")();var i=e("./common/lead-capture")();i.registerListeners(),e("./common/referral-modal")(),e("./common/nav")(),e("./common/info-sessions").run(),e("./common/mailto-modal")();var l=t.__env&&t.__env.user&&t.__env.user.id,s="true"===$.cookie("signed-up-learn-more"),r=$.cookie("user_email");(l||s||r)&&e("./common/shared").unlockLeadCaptures()}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./common/analytics":15,"./common/call-scheduler-modal":16,"./common/error-pages":17,"./common/info-sessions":18,"./common/lead-capture":19,"./common/mailto-modal":20,"./common/nav":21,"./common/referral-modal":23,"./common/shared":24,jquery:91,"jquery.cookie":90,lodash:97,moment:158,"thinkful-ui/src/analytics/actions.es6":175}],23:[function(e,a,t){"use strict";function n(e,a){return e===a}function o(e){l(".error-text").html(e).css("display","block")}function i(e,a){l("#referral-modal-overlay").fadeToggle(100);var t=d.getURLParam("email");t&&l('input[name="email"]').val(decodeURIComponent(t)),r.track("viewed-referral-lead-capture-modal",{category:"splash-home",discount_code:a,from_contact:e})}var l=e("jquery"),s=e("./analytics"),r=e("thinkful-ui/src/analytics/actions.es6"),c=e("validator").isEmail,d=e("./shared");a.exports=function(){if(d.getURLParam("dcode")){var e=[50,100,150,250,500,1e3],a=d.getURLParam("dcode"),t=d.getURLParam("from"),r=a?decodeURIComponent(a):null,u=t?decodeURIComponent(t):null,m=(r||"").startsWith("affiliate-"),p=(r||"").startsWith("CP-"),f=e[0];if(m&&3===r.split("-").length){var h=parseInt(r.split("-")[1]);if(e.indexOf(h)===-1){var v=r.replace(h,f);window.location.href="/?dcode="+encodeURIComponent(v)}else f=h}l(".ref-modal-header").css("display",p||m?"none":"block"),l(".ref-modal-header-cp").css("display",p||m?"block":"none"),l(".ref-modal-amount").text(f.toLocaleString()),i(u,r),l("#referral-capture").submit(function(e){e.preventDefault();var a=l(this),t=a.find('input[name="email"]').val();if(!c(t))return void a.find('input[name="email"]').addClass("has-error");if(n(u,t))return o("Oops! You can't refer yourself. Share this link with your friends to get your discount.");a.find('input[type="submit"]').attr("disabled","disabled").val("Loading..."),t=t.toLowerCase(),a.find('input[name="email"]').val(t);var i="True"===d.getMetaValue("tf-use-ssl")?"https://":"http://",m=[i,d.getMetaValue("tf-pysplash-url"),"/register"].join(""),p=a.find('input[type="submit"]').attr("id"),f=null;try{f=d.getMetaValue("analytics-page-name")}catch(e){console.warn("Expected metatag for `analytics-page-name` to be set, but is not")}var h={email:t,discount_code:r,lead_source:u?"Referral - Student":null,exact_lead_source:u,from_tf_login:u,is_referral:!!u};l.ajax({url:m,type:"POST",data:JSON.stringify(h),contentType:"application/json"}).always(function(e,n){"success"===n?(l("#referral-modal").find(".hide-on-submit").css("display","none"),l("#referral-modal").find(".response-text-hidden").css("display","block"),l(".error-text").css("display","none"),u?s.trackSignup("signed-up-referral",t,f,p,h):s.trackSignup("signed-up-learn-more",t,f,"",h)):(o('Uh oh, something went wrong. If the error continues please contact <a href="mailto:support@thinkful.com">support@thinkful.com</a>.'),a.find('input[type="submit"]').removeAttr("disabled").val("Submit"))})}),l("#referral-modal-overlay, .referral-close-modal").click(function(){l("#referral-modal-overlay").fadeToggle(100)}),l("#referral-modal-overlay .modal").on("click",function(e){e.stopPropagation()})}}},{"./analytics":15,"./shared":24,jquery:91,"thinkful-ui/src/analytics/actions.es6":175,validator:177}],21:[function(e,a,t){"use strict";var n=e("jquery");a.exports=function(){function e(){a.removeClass("splash-nav-toggle__selected"),a.children("span").removeClass("icon-navigateup").addClass("icon-navigatedown")}var a=n(".splash-nav-toggle");n("#splash-nav-courses-dropdown, #splash-nav-education-dropdown");n("body").click(function(a){0==n(a.target).parents("div.splash-nav").length&&e()}),n(a).click(function(a){var t=n(a.target).closest(".splash-nav-toggle"),o=(n("#"+t.attr("id").substring(0,t.attr("id").length-"-target".length)+"-dropdown"),t.hasClass("splash-nav-toggle__selected"));e(),o||(t.addClass("splash-nav-toggle__selected"),t.children("span").removeClass("icon-navigatedown").addClass("icon-navigateup")),a.preventDefault()}),n(".hamburger").click(function(){n(".splash-nav").toggleClass("hamburger-off")})}},{jquery:91}],20:[function(e,a,t){(function(t){"use strict";function n(e){var a,t,n,o,i,l={};if(!e)return{};if("?"===e.slice(0,1)&&(e=e.slice(1)),""!==e)for(a=e.split("&"),t=0;t<a.length;t+=1)n=a[t].split("="),o=decodeURIComponent(n[0]),i=n.length>1?decodeURIComponent(n[1]):void 0,l[o]=i;return l}function o(){var e=s.trim(s("#mailto-sender-name").val()),a=s.trim(s("#mailto-sender-email").val()),n=s("#mailto-message-body").val(),o=s("#mailto-recipient-email").val(),i=s("#mailto-message-subject").val(),l=!0;if(e?s("#mailto-sender-name").removeClass("has-error"):(l=!1,s("#mailto-sender-name").addClass("has-error")),a?s("#mailto-sender-email").removeClass("has-error"):(l=!1,s("#mailto-sender-email").addClass("has-error")),n?s("#mailto-message-body").removeClass("has-error"):(l=!1,s("#mailto-message-body").addClass("has-error")),l){var c=e.split(" "),d=c[0],u=c.slice(1).join(" ");s("#mailto-last-name").val(u),s("#mailto-first-name").val(d);r.handleEmailCapture("emailed-advisor",s(".mailto-form")),s("#mailto-form-error").hide();var m=JSON.stringify({recipient_email:o,sender_name:e,sender_email:a,message_subject:i,message_body:n});s.ajax({type:"POST",url:t.PATH_EXPLICIT+"/api/mailto",data:m,contentType:"application/json"}),s("#mailto-success-overlay").show()}else s("#mailto-form-error").show()}function i(e,a){var t=e.replace("@thinkful.com",""),n={hello:"Submit a question or comment to Thinkful",support:"Send a question to support",noel:"Get in touch with Noel, your education advisor",elizabeth:"Get in touch with Liz"},o=n[t.toLowerCase()]||"Send email to "+e;t=t[0].toUpperCase()+t.slice(1,t.length),s("#mailto-recipient-email").val(e),s("#mailto-message-subject").val(a.subject||""),s("#mailto-recipient-name").text(t),s("#mailto-sender-email").val()||s("#mailto-sender-email").val(s.cookie("user_email")||""),s("#mailto-modal-title").text(o),s("#mailto-message-body").val(""),s("#mailto-submit").removeAttr("disabled"),s("#mailto-submit").val("Send"),s("#mailto-modal-overlay").fadeToggle(100)}function l(){s("#mailto-modal-overlay").click(function(e){e.stopPropagation(),s("#mailto-success-overlay").hide(),s("#mailto-modal-overlay").hide()}),s("#mailto-close-icon").click(function(e){s("#mailto-success-overlay").hide(),s("#mailto-modal-overlay").hide()}),s("#mailto-success-done").click(function(e){s("#mailto-success-overlay").hide(),s("#mailto-modal-overlay").hide()}),s("#mailto-modal").click(function(e){e.stopPropagation()}),s("#mailto-submit").click(function(e){e.preventDefault(),o()}),s('a[href^="mailto:"]').click(function(e){e.preventDefault();var a=s(this).attr("href"),t=a.replace("mailto:","").replace(/\?.*$/,""),o=a.replace(/[^?]+\?/,"");i(t,n(o))})}var s=e("jquery"),r=(e("./analytics"),e("thinkful-ui/src/analytics/actions.es6"),e("validator").isEmail,e("./shared"),e("./lead-capture")());a.exports=l}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./analytics":15,"./lead-capture":19,"./shared":24,jquery:91,"thinkful-ui/src/analytics/actions.es6":175,validator:177}],18:[function(e,a,t){"use strict";function n(){u(".info-session-form button").addClass("button__disabled").html("Loading...")}function o(){u(".info-session-form button").removeClass("button__disabled").html('RSVP <span class="icon icon-navigateright"></span>')}function i(){return decodeURIComponent(u("#info-session-form-input-email").val())||decodeURIComponent(h.getCookieValue("user_email"))}function l(e){return!!e}function s(e,a,t,n){var o=__env.config.api.url+"/register";m.post(o).send({email:e,info_session_id:a,stage:"Scheduled info session",course:t}).end(function(e,a){n(!e&&a.ok)});var i=f.determine().name();m.put(h.getMetaValue("tf-path-explicit")+"/api/detected-timezone").send({email:e,detected_tz:i}).end(function(e,a){})}function r(e){var a=u("#info-session-time-selector option:selected").text(),t=p(a).format("X");analytics.identify(e,{email:e});var n=h.getMetaValue("analytics-page-name"),o={category:n,action:"signed-up-info-session",email:e,url:window.location.href,info_session_time_local_time_zone:a,info_session_time:t};analytics.track("signed-up-info-session",o),h.setUserEmailCookie(e),h.unlockLeadCaptures();var i="<h3 class='info-session-success'> Got it! Check your inbox for details :)</h3>";u(".info-session-content").empty().html(i)}function c(){var e='<h5>Uh oh. Something went wrong! pleace contact <a href="mailto:support@thinkful.com">support@thinkful.com</a></h5>';u(".info-session-content").empty(),u(".info-session-content").html(e)}function d(e){var a=f.determine().name();u("#info-session-time-selector").empty(),u.each(e,function(e,t){var n=p(t.start_dt_utc),o=n.clone().tz(a),i=o.format("LLL z");u("#info-session-time-selector").append(u("<option></option>").val(t.id).html(i))})}var u=e("jquery"),m=e("superagent"),p=e("moment-timezone"),f=e("jstimezonedetect"),h=e("../common/shared");u(".info-session-form").submit(function(e){e.preventDefault(),n();var a=i(),t=u("#info-session-time-selector").val(),d=u('input[name="course"]').val();l(a)?s(a.toLowerCase(),t,d,function(e){e?r(a):c()}):(o(),u("#info-session-form-input-email").addClass("has-error"))}),a.exports.run=function(){m.get(__env.config.api.url+"/api/open_sessions").query({session_type:"info-session",limit:5}).end(function(e,a){var t=a.body.open_sessions;t=t.filter(function(e){return p(e.start_dt_utc)>p()}),d(t.slice(0,4))})}},{"../common/shared":24,jquery:91,jstimezonedetect:92,"moment-timezone":156,superagent:162}],17:[function(e,a,t){"use strict";function n(){o(".error-logo img").hover(function(){o(this).attr("src","//tf-assets-prod.s3.amazonaws.com/splash/logo/maze_logo_28px_blue.svg")},function(){o(this).attr("src","//tf-assets-prod.s3.amazonaws.com/splash/logo/maze_logo_28px.svg")})}var o=e("jquery");a.exports=n()},{jquery:91}],16:[function(e,a,t){"use strict";function n(){return/\/courses\/|\/bootcamp\//.test(window.location.pathname)?x.getCourseFromPath().code:null}function o(e,a){var t=n();return[window.location.pathname,e,t,a].join(" - ")}function i(){var e="."+b('input[name="day-choice"]:checked').val();b(".day-container").each(function(){b(this).css("display","none")}),b(".day-times").each(function(){b(this).removeClass("to-translate")}),b(e+"-container").css("display","block"),b(e).addClass("to-translate"),b(".arrow-left").addClass(E),b(".arrow-right").removeClass(E),f(0)}function l(e){var a=Math.ceil(b(".day-"+e).attr("data-columns"));return b(".day-"+e).css({"column-count":a,"-webkit-column-count":a,"-moz-column-count":a,width:50*a+"%"}),a<3&&b(".arrow-right").addClass(E),a}function s(e){return k(e).calendar().split(" ")[0]+", "+k(e).format("MMMM Do")}function r(e){return k(e).format("h:mm A")}function c(){return w.determine().name()}function d(){return k.tz(w.determine().name()).format("z")}function u(){var e=window.location.href;try{e=j.getMetaValue("analytics-page-name")}catch(a){console.warn("Expected metatag for `analytics-page-name` to be set, but is not")}return e}function m(){var e=b('input[name="start_date"]:checked').val();"now"===e?(b(".day-selected").text("right now."),b(".time-selected").text(" Someone will be in touch shortly.")):(b(".day-selected").text(s(e)),b(".time-selected").text(" at "+r(e)),b(".current-timezone").text(" ("+d()+")"))}function p(e,a){b(a).each(function(){b(this).removeClass("checked")}),b(e).addClass("checked"),b(e).find("input").prop("checked","true")}function f(e){var a=b(".form-container").width();b(".to-translate").css({transform:"translateX(-"+e*a+"px)",MoxTransform:"translateX(-"+e*a+"px)",WebkitTransform:"translateX(-"+e*a+"px)",msTransform:"translateX(-"+e*a+"px)"})}function h(){b(".form-container").empty(),b(".form-container").append(b(document.createElement("div")).addClass("day-choices")),b("#call-scheduler-modal .hide-on-submit").css("display","block"),b("#call-scheduler-modal .response-text-hidden").css("display","none"),b(".call-scheduler").find('input[type="submit"]').removeClass("button__disabled").removeAttr("disabled"),b(".call-scheduler").find('input[type="submit"]').val("Schedule call"),b(".call-scheduler").find('input[name="reconfirm_intl_phone"]').removeAttr("checked"),b(".call-scheduler-intl-warning").addClass("call-scheduler-intl-warning__hidden"),b("#call-now-container").removeClass("enable"),b(".schedule-call-copy").text("Select a time:")}function v(){b.get(j.getMetaValue("tf-path-explicit")+"/api/call-now",function(e,a,t){t.responseJSON.enabled&&y()})}function y(){b("#call-now-container").addClass("enable"),b(".schedule-call-copy").text("Or select a time:")}function g(e){var a=u();S.track("clicked-schedule-call",{category:a,email:e,url:window.location.href});var t,o=n();b("#call-scheduler-modal-overlay").fadeToggle(100);var s=j.getMetaValue("tf-path-explicit")+"/api/advisor_availability?advisor_id="+j.getMetaValue("tf-advisor-id");o&&(s+="&course_code="+o),b.ajax({type:"GET",url:s}).success(function(e){var a=e,n=_.keys(a).sort();v(),_.forEach(n,function(e,t){var n=b(document.createElement("label")),o=b(document.createElement("input")),i=b(document.createElement("p")),l=k(a[e][0]).format("YYYY-MM-DD");n.attr({"for":l,"class":"day-label"}),o.attr({type:"radio",id:l,name:"day-choice",value:"day-"+(t+1).toString()}),i.text(k(l).calendar().split(" ")[0]),0===t&&(n.addClass("checked"),o.prop("checked","true"),o.attr({checked:"true"})),n=n.append(o).append(i),b(".day-choices").append(n)}),_.forEach(n,function(e,t){var n=b(document.createElement("div")),o=b(document.createElement("div")),i=k(a[e][0]).format("YYYY-MM-DD"),l=Math.ceil(a[e].length/3);n.addClass("day-"+(t+1).toString()+"-container").addClass("day-container").addClass(i),o.attr("data-columns",l).addClass("day-"+(t+1).toString()).addClass("day-times"),0===t&&o.addClass("to-translate"),_.forEach(a[e],function(e,a){var t=b(document.createElement("label")),n=b(document.createElement("input")),i=b(document.createElement("p"));t.attr({"for":e,"class":"start-time-label"}),n.attr({type:"radio",id:e,name:"start_date",value:e,"class":"start-time"}),i.text(r(e)),t=t.append(n).append(i),o.append(t)}),n.append(o),b(".form-container").append(n)}),t=l(1),b(".start-time-label").click(function(e){e.preventDefault(),p(this,".start-time-label"),m()}),b(".day-label").click(function(e){e.preventDefault(),p(this,".day-label"),i(),c=0,t=l(b('input[name="day-choice"]:checked').val().split("day-")[1]),m()}),b(".day-1").children().first().addClass("checked").children().first().prop("checked","true"),m()}).fail(function(e){b(".error-text").css("display","block")});var c=0;b(".arrow-right").click(function(){c++,b(".arrow-left").removeClass(E),c>=Math.floor(t/2)-1&&b(this).addClass(E),f(c)}),b(".arrow-left").click(function(){c--,b(".arrow-right").removeClass(E),0===c&&b(".arrow-left").addClass(E),f(c)})}var b=e("jquery"),w=e("jstimezonedetect"),k=e("moment-timezone"),C=e("validator"),x=e("../common/path-dict"),j=e("../common/shared"),S=e("thinkful-ui/src/analytics/actions.es6"),E="call-scheduler-arrow__disabled";window.optimizely=window.optimizely||[],a.exports=function(){var e;j.getURLParam("email")&&j.getURLParam("email").length>1&&(e=decodeURIComponent(j.getURLParam("email"))),e=void 0===e?b.cookie("user_email"):e,e&&(b('.call-scheduler label[for="email-input"]').hide(),b('.call-scheduler input[name="email"]').attr("type","hidden"),b('.call-scheduler input[name="email"]').attr("value",e)),"true"===j.getURLParam("modal")&&g(e),b(document).on("click",".get-advice-call-modal",g.bind(this,e)),b(".call-scheduler").submit(function(e){e.preventDefault();var a=b(this),t=a.find('input[name="email"]').val(),i=a.find('input[name="phone"]').val(),l=a.find('input[name="advisor_id"]').val(),s=a.find('input[name="start_date"]:checked').val(),r=a.find('input[name="reconfirm_intl_phone"]:checked').length,d=i.replace(/[-+\s\[\]\(\)]/g,"");if(!C.isEmail(t))return void a.find('input[type="email"]').addClass("has-error");if(!C.isNumeric(d))return void a.find('input[name="phone"]').addClass("has-error");if(d.length<10)return void a.find('input[name="phone"]').addClass("has-error");if(d.length>11&&!r)return b(".call-scheduler-intl-warning").removeClass("call-scheduler-intl-warning__hidden"),void b(".call-scheduler").find('input[type="submit"]').addClass("button__disabled").attr("disabled","disabled");t=t.toLowerCase(),j.setUserEmailCookie(t),a.find('input[type="submit"]').addClass("button__disabled").attr("disabled","disabled"),a.find('input[type="submit"]').val("Loading...");var u=n(),m="True"===j.getMetaValue("tf-use-ssl")?"https://":"http://";b.ajax({url:m+j.getMetaValue("tf-pysplash-url")+"/register/scheduler/add-event",type:"POST",data:JSON.stringify({email:t,phone:i,advisor_id:l,start_date:s,timezone:c(),course:u}),contentType:"application/json"}).always(function(e,n){var l=window.location.href;try{l=j.getMetaValue("analytics-page-name")}catch(s){console.warn("Expected metatag for `analytics-page-name` to be set, but is not")}JSON.parse(e).success?(b("#call-scheduler-modal").find(".hide-on-submit").css("display","none"),b("#call-scheduler-modal").find(".error-text").css("display","none"),b("#call-scheduler-modal").find(".response-text-hidden").css("display","block"),window.optimizely.push(["trackEvent","callScheduled"]),S.track("call-scheduled",{category:l,email:t.toLowerCase(),phone:i,course:u,url:window.location.href}),S.alias(t),j.setUserEmailCookie(t)):(b(".error-text").css("display","block"),a.find('input[type="submit"]').removeClass("button__disabled").removeAttr("disabled"),a.find('input[type="submit"]').val("Schedule call"),S.track("error-call-scheduled",{category:l,label:o(t,"call-scheduled"),callType:"call-scheduled"}))})}),b("#call-now-container").click(function(e){e.preventDefault();var a=b(".call-scheduler"),t=a.find('input[name="email"]').val(),i=a.find('input[name="phone"]').val(),l=a.find('input[name="advisor_id"]').val();if(!C.isEmail(t))return void a.find('input[type="email"]').addClass("has-error");if(!C.isNumeric(i.replace(/[-+\s\(\)]/g,""))||i.length<10)return void a.find('input[name="phone"]').addClass("has-error");t=t.toLowerCase(),j.setUserEmailCookie(t),a.find('input[type="submit"]').addClass("button__disabled").attr("disabled","disabled"),a.find('input[type="submit"]').val("Loading...");var s=n(),r="True"===j.getMetaValue("tf-use-ssl")?"https://":"http://";b.ajax({url:r+j.getMetaValue("tf-pysplash-url")+"/register/scheduler/call-now",type:"POST",data:JSON.stringify({email:t,phone:i,advisor_id:l,course:s}),contentType:"application/json"}).always(function(e,n){var l=window.location.href;try{l=j.getMetaValue("analytics-page-name")}catch(r){console.warn("Expected metatag for `analytics-page-name` to be set, but is not")}JSON.parse(e).success?(b("#call-scheduler-modal").find(".hide-on-submit").css("display","none"),b("#call-scheduler-modal").find(".error-text").css("display","none"),b("#call-scheduler-modal").find(".response-text-hidden").text("Got it! Someone will be in touch soon.").css("display","block"),window.optimizely.push(["trackEvent","callNow"]),S.track("call-now",{category:l,email:t.toLowerCase(),phone:i,course:s,url:window.location.href}),S.alias(t),j.setUserEmailCookie(t)):(b(".error-text").css("display","block"),a.find('input[type="submit"]').removeClass("button__disabled").removeAttr("disabled"),a.find('input[type="submit"]').val("Schedule call"),S.track("error-call-now",{category:l,label:o(t,"call-now"),callType:"call-now"}))})}),b("#call-scheduler-modal-overlay, .scheduler-close-modal").on("click",function(){b("#call-scheduler-modal-overlay").fadeToggle(100,function(){h()})}),b("#call-scheduler-modal-overlay .modal").on("click",function(e){e.stopPropagation()}),b("body").on("keyup",function(e){27==e.keyCode&&b("#call-scheduler-modal-overlay").fadeOut(100)}),b("[name=reconfirm_intl_phone]").on("change",function(e){b("[name=reconfirm_intl_phone]:checked").length?b(".call-scheduler").find('input[type="submit"]').removeClass("button__disabled").removeAttr("disabled"):b(".call-scheduler").find('input[type="submit"]').addClass("button__disabled").attr("disabled","disabled")}),b("#phone-number").on("change",function(e){var a=b(".call-scheduler").find('input[name="phone"]').val(),t=a.replace(/[-+\s\[\]\(\)]/g,"");t.length<=11&&(b(".call-scheduler-intl-warning").addClass("call-scheduler-intl-warning__hidden"),b(".call-scheduler").find('input[type="submit"]').removeClass("button__disabled").removeAttr("disabled"))}),b(".get-advice-email, .get-advice-email__secondary").click(function(e){S.track("clicked-email-advisor",{category:u(),url:window.location.href})}),window.location.pathname.startsWith("/bootcamp/")?(b(".splash-nav-separator").show(),b(".optional-get-advice-call-modal").show()):(b(".splash-nav-separator").hide(),b(".optional-get-advice-call-modal").hide(),b(".get-advice-email").css("display","inline-block"))}},{"../common/path-dict":22,"../common/shared":24,jquery:91,jstimezonedetect:92,"moment-timezone":156,"thinkful-ui/src/analytics/actions.es6":175,validator:177}]},{},[3]);


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z