PageSourceSearch

https://www.sermo.com/wp-content/themes/sermo/js/mkto.min.js?ver=2.4.1012

js sermo.com collected 2026-10-02 05:15:18 UTC 2,947 bytes, 11 lines download raw bytes

1!function(){"use strict";
2/*
3	 * @author Sanford Whiteman
4	 * @version v1.106 2020-04-04
5	 * @copyright © 2020 Sanford Whiteman
6	 * @license Hippocratic 2.1: This license must appear with all reproductions of this software.
7	 * https://codepen.io/figureone/pen/dLqxPG
8	 * Create a completely barebones, user-styles-only Marketo form
9	 * by removing inline STYLE attributes and disabling STYLE and LINK elements
10	 */MktoForms2.whenRendered(function(e){!function(e){let t=e.getFormElem()[0],o=getSelection.call.bind([].slice);o(t.querySelectorAll("[style]")).concat(t).forEach(function(e){e.removeAttribute("style")}),o(document.styleSheets).forEach(function(e){(-1!=[mktoForms2BaseStyle,mktoForms2ThemeStyle].indexOf(e.ownerNode)||t.contains(e.ownerNode))&&(e.disabled=!0)}),t.setAttribute("data-styles-ready","true")}(e),function(e){let t=e.getFormElem()[0].querySelectorAll(".mktoFormRow");if(t.length)for(let e of t)e.querySelector("textarea")&&e.classList.add("has-textarea")}(e),function(e){let t=e.getFormElem()[0].querySelectorAll(".mktoFieldWrap");if(t.length)for(let e of t)e.querySelector('input[type="checkbox"]')&&e.classList.add("has-checkbox")}(e),function(e){const t=document.location.hash.substring(1);if(!t)return;const o=JSON.parse(decodeURIComponent(t));e.setValues(o)}(e),function(e){let t=e.getFormElem()[0],o=t.getAttribute("data-mkto-conf");if(!o)return;let r=document.createElement("p");r.innerHTML=o,e.onSuccess(function(e,o){return t.parentNode.replaceChild(r,t),!1})}(e)}),window.dataLayer=window.dataLayer||[],MktoForms2.whenReady(function(e){let t=e.getId();dataLayer.push({event:"marketo.loaded","marketo.mktoId":t}),console.log("marketo form "+t+" loaded."),e.onSubmit(function(){console.log("marketo form "+t+" submitted."),dataLayer.push({event:"marketo.submit","marketo.mktoId":t})}),e.onSuccess(function(e,o){console.log("marketo form "+t+" success."),dataLayer.push({event:"marketo.success","marketo.mktoId":t,"marketo.form_values":e,"marketo.follow_up_url":o})})}),function(e={path:"//s.sermo.com",munchkinId:"239-PZX-356"}){let t="data-mkto-instance",o=document.querySelectorAll("["+t+"]"),r=[],n=getSelection.call.bind([].slice);if(o.length){for(let e of o){let o=parseInt(e.getAttribute(t));r.includes(o)||r.push(o)}r.length&&(MktoForms2.whenRendered(function(e){let t=e.getFormElem()[0],o="_"+(new Date).getTime()+Math.random();r.includes(e.getId())&&n(t.querySelectorAll("label[for]")).map(function(e){return{label:e,for:t.querySelector('[id="'+e.htmlFor+'"]')}}).forEach(function(e){e.for&&(e.for.hasAttribute("data-uniquified")||(e.for.id=e.for.id+o,e.for.setAttribute("data-uniquified","true")),e.label.htmlFor=e.for.id)})}),n(r).forEach(function(o){let r=MktoForms2.loadForm.bind(MktoForms2,e.path,e.munchkinId,o);!function e(t){var n=t.shift();n.id="mktoForm_"+o,r(function(o){n.id="",t.length&&e(t)})}(n(document.querySelectorAll("["+t+'="'+o+'"]')))}))}}()}();
11//# sourceMappingURL=mkto.min.js.map

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.