PageSourceSearch

https://www.simmsfishing.com/cdn/shop/t/551/assets/klaviyo-bis.min.js?v=68155393797189924201775672386

js simmsfishing.com collected 2026-10-02 05:34:15 UTC 7,912 bytes, 1 lines download raw bytes

vendor: 4,313 bytes, line 1
1(()=>{"use strict";(()=>{function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,n,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",c=o.toStringTag||"@@toStringTag";function a(e,o,i,c){var a=o&&o.prototype instanceof s?o:s,l=Object.create(a.prototype);return r(l,"_invoke",function(e,r,o){var i,c,a,s=0,l=o||[],p=!1,f={p:0,n:0,v:t,a:y,f:y.bind(t,4),d:function(e,r){return i=e,c=0,a=t,f.n=r,u}};function y(e,r){for(c=e,a=r,n=0;!p&&s&&!o&&n<l.length;n++){var o,i=l[n],y=f.p,d=i[2];e>3?(o=d===r)&&(a=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=t):i[0]<=y&&((o=e<2&&y<i[1])?(c=0,f.v=r,f.n=i[1]):y<d&&(o=e<3||i[0]>r||r>d)&&(i[4]=e,i[5]=r,f.n=d,c=0))}if(o||e>1)return u;throw p=!0,r}return function(o,l,d){if(s>1)throw TypeError("Generator is already running");for(p&&1===l&&y(l,d),c=l,a=d;(n=c<2?t:a)||!p;){i||(c?c<3?(c>1&&(f.n=-1),y(c,a)):f.n=a:f.v=a);try{if(s=2,i){if(c||(o="next"),n=i[o]){if(!(n=n.call(i,a)))throw TypeError("iterator result is not an object");if(!n.done)return n;a=n.value,c<2&&(c=0)}else 1===c&&(n=i.return)&&n.call(i),c<2&&(a=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=t}else if((n=(p=f.n<0)?a:e.call(r,f))!==u)break}catch(e){i=t,c=1,a=e}finally{s=1}}return{value:n,done:p}}}(e,i,c),!0),l}var u={};function s(){}function l(){}function p(){}n=Object.getPrototypeOf;var f=[][i]?n(n([][i]())):(r(n={},i,function(){return this}),n),y=p.prototype=s.prototype=Object.create(f);function d(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,r(t,c,"GeneratorFunction")),t.prototype=Object.create(y),t}return l.prototype=p,r(y,"constructor",p),r(p,"constructor",l),l.displayName="GeneratorFunction",r(p,c,"GeneratorFunction"),r(y),r(y,c,"Generator"),r(y,i,function(){return this}),r(y,"toString",function(){return"[object Generator]"}),(e=function(){return{w:a,m:d}})()}function r(t,e,n,o){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}r=function(t,e,n,o){function c(e,n){r(t,e,function(t){return this._invoke(e,n,t)})}e?i?i(t,e,{value:n,enumerable:!o,configurable:!o,writable:!o}):t[e]=n:(c("next",0),c("throw",1),c("return",2))},r(t,e,n,o)}function n(t,e,r,n,o,i,c){try{var a=t[i](c),u=a.value}catch(t){return void r(t)}a.done?e(u):Promise.resolve(u).then(n,o)}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,i(n.key),n)}}function i(e){var r=function(e,r){if("object"!=t(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,r||"default");if("object"!=t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==t(r)?r:r+""}function c(e,r,n){return r=l(r),function(e,r){if(r&&("object"==t(r)||"function"==typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(e)}(e,u()?Reflect.construct(r,n||[],l(e).constructor):r.apply(e,n))}function a(t){var e="function"==typeof Map?new Map:void 0;return a=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return function(t,e,r){if(u())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,e);var o=new(t.bind.apply(t,n));return r&&s(o,r.prototype),o}(t,arguments,l(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),s(r,t)},a(t)}function u(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(u=function(){return!!t})()}
1function s(t,e){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},s(t,e)}function l(t){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},l(t)}var p=function(t){function r(){var t,e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),(e=c(this,r)).modalID=e.id,e.modalTriggers=document.querySelectorAll("[data-bis-trigger]"),e.productForm=e.parentElement.querySelector("[data-product-form]"),e.errorText=e.querySelector(".bis-modal-inner__error"),e.successWrapper=e.querySelector(".bis-modal-inner__success-wrapper"),e.inputWrapper=e.querySelector(".bis-modal-inner__input-wrapper"),e.submitButton=null===(t=e.querySelector("button[type='submit']"))||void 0===t?void 0:t.addEventListener("click",function(){e.handleSubmit()}),e.modalTriggers.forEach(function(t){t.addEventListener("click",function(r){r.stopPropagation(),("true"===t.getAttribute("data-bis-trigger")||e.classList.contains("active"))&&e.toggleModal()})}),e}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&s(t,e)}(r,t),i=r,a=[{key:"resetModal",value:function(){this.successWrapper.classList.remove("active"),this.inputWrapper.classList.add("active"),this.querySelector("input[name='email']").value="",this.errorText.classList.remove("active"),this.errorText.innerText=""}},{key:"handleSubmit",value:(l=e().m(function t(){var r,n,o,i,c,a;return e().w(function(t){for(;;)switch(t.p=t.n){case 0:if(t.p=0,r=this.querySelector("input[name='email']").value,this.productForm){t.n=1;break}throw new Error("An error occurred, please try again.");case 1:if(n=this.productForm.querySelector("input[data-selected-variant-id]")){t.n=2;break}throw new Error("An error occurred, please try again.");case 2:return o=n.value,t.n=3,fetch("https://a.klaviyo.com/client/back-in-stock-subscriptions?company_id=LH7dtz",{method:"POST",headers:{accept:"application/vnd.api+json","content-type":"application/vnd.api+json",revision:"2025-07-15"},body:JSON.stringify({data:{type:"back-in-stock-subscription",attributes:{profile:{data:{type:"profile",attributes:{email:r}}},channels:["EMAIL"]},relationships:{variant:{data:{type:"catalog-variant",id:"$shopify:::$default:::".concat(o)}}}}})});case 3:if((i=t.v).ok){t.n=5;break}return t.n=4,i.json();case 4:return c=t.v,this.errorText.classList.add("active"),this.errorText.innerText="Error: ".concat(c.errors[0].detail),t.a(2);case 5:this.successWrapper.classList.add("active"),this.inputWrapper.classList.remove("active"),t.n=7;break;case 6:t.p=6,a=t.v,console.error("Error submitting BIS request:",a);case 7:return t.a(2)}},t,this,[[0,6]])}),p=function(){var t=this,e=arguments;return new Promise(function(r,o){var i=l.apply(t,e);function c(t){n(i,r,o,c,a,"next",t)}function a(t){n(i,r,o,c,a,"throw",t)}c(void 0)})},function(){return p.apply(this,arguments)})},{key:"toggleModal",value:function(){console.log("toggleModal"),this.classList[this.classList.contains("active")?"remove":"add"]("active"),document.body.classList[document.body.classList.contains("no-scroll")?"remove":"add"]("no-scroll"),this.resetModal()}}],a&&o(i.prototype,a),u&&o(i,u),Object.defineProperty(i,"prototype",{writable:!1}),i;var i,a,u,l,p}(a(HTMLElement));customElements.get("bis-modal")||customElements.define("bis-modal",p)})()})();

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.