PageSourceSearch

https://www.taylorstitch.com/cdn/shop/t/12/assets/taylor-stitch.kl…?v=148772308821134436061708556266

js taylorstitch.com collected 2026-09-24 17:52:07 UTC 1,704 bytes, 1 lines download raw bytes

1"use strict";var TSKlaviyoPopupFormHandler=function(){function e(e){this.opts=e,this.logPrefix="TSKlaviyoPopupFormHandler",this.PopupTrackingData={Category:"UserSignupKlaviyoFlyout",Actions:{EmailSubscribed:"EmailSubscribed",PhoneSubscribed:"PhoneSubscribed"}}}return e.prototype.init=function(){this.registerEvents()},e.prototype.showModal=function(){try{window._klOnsite=window._klOnsite||[],window._klOnsite.push(["openForm","TrkzaF"])}catch(e){console.error("".concat(this.logPrefix),e)}},e.prototype.trackKlaviyoEventIfNeeded=function(){var e;if(null!=(e=this.opts)&&e.trackingEventName)try{window.klaviyo&&window.klaviyo.push(["track",this.opts.trackingEventName])}catch(e){console.error("".concat(this.logPrefix),e)}},e.prototype.onSubscribed=function(e){e&&(e.$email&&(T3Core.TrackUserSignUp(this.PopupTrackingData.Category,this.PopupTrackingData.Actions.EmailSubscribed,e.$step_name),T3Core.TrackFacebookCompleteRegistration({currency:TSGlobals.currency,value:0,content_name:this.PopupTrackingData.Category}),TSRedditPixelManager.trackSignup(),T3Core.Debug("".concat(this.logPrefix," email subscribed")),this.trackKlaviyoEventIfNeeded()),e.$phone_number&&(T3Core.TrackUserSignUp(this.PopupTrackingData.Category,this.PopupTrackingData.Actions.PhoneSubscribed,e.$step_name),T3Core.Debug("".concat(this.logPrefix," phone subscribed"))))},e.prototype.registerEvents=function(){var o=this;$(".popupTrigger").on("click",function(e){e.preventDefault(),o.showModal()}),window.addEventListener("klaviyoForms",function(e){var e=e.detail,t=e.metaData;switch(e.type){case"open":case"submit":case"close":break;case"stepSubmit":T3Core.Debug("".concat(o.logPrefix," stepSubmitted")),o.onSubscribed(t)}})},e}();

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.