PageSourceSearch

https://www.timetex.com/theme/b110c1b7ba731f458b7cba5916c97a8e/js/…ourtwosix-theme-customization.js?1791504047

js timetex.com collected 2026-10-09 18:26:20 UTC 12,907 bytes, 1 lines download raw bytes

1(()=>{"use strict";var t={857:t=>{var e=function(t){var e;return!!t&&"object"==typeof t&&"[object RegExp]"!==(e=Object.prototype.toString.call(t))&&"[object Date]"!==e&&t.$$typeof!==i},i="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(t,e){return!1!==e.clone&&e.isMergeableObject(t)?a(Array.isArray(t)?[]:{},t,e):t}function n(t,e,i){return t.concat(e).map(function(t){return r(t,i)})}function s(t){return Object.keys(t).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[])}function o(t,e){try{return e in t}catch(t){return!1}}function a(t,i,c){(c=c||{}).arrayMerge=c.arrayMerge||n,c.isMergeableObject=c.isMergeableObject||e,c.cloneUnlessOtherwiseSpecified=r;var l,u,d=Array.isArray(i);return d!==Array.isArray(t)?r(i,c):d?c.arrayMerge(t,i,c):(u={},(l=c).isMergeableObject(t)&&s(t).forEach(function(e){u[e]=r(t[e],l)}),s(i).forEach(function(e){(!o(t,e)||Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))&&(o(t,e)&&l.isMergeableObject(i[e])?u[e]=(function(t,e){if(!e.customMerge)return a;var i=e.customMerge(t);return"function"==typeof i?i:a})(e,l)(t[e],i[e],l):u[e]=r(i[e],l))}),u)}a.all=function(t,e){if(!Array.isArray(t))throw Error("first argument should be an array");return t.reduce(function(t,i){return a(t,i,e)},{})},t.exports=a}},e={};function i(r){var n=e[r];if(void 0!==n)return n.exports;var s=e[r]={exports:{}};return t[r](s,s.exports,i),s.exports}(()=>{i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e}})(),(()=>{i.d=(t,e)=>{for(var r in e)i.o(e,r)&&!i.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}})(),(()=>{i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e)})(),(()=>{var t=i(857),e=i.n(t);class r{static ucFirst(t){return t.charAt(0).toUpperCase()+t.slice(1)}static lcFirst(t){return t.charAt(0).toLowerCase()+t.slice(1)}static toDashCase(t){return t.replace(/([A-Z])/g,"-$1").replace(/^-/,"").toLowerCase()}static toLowerCamelCase(t,e){let i=r.toUpperCamelCase(t,e);return r.lcFirst(i)}static toUpperCamelCase(t,e){return e?t.split(e).map(t=>r.ucFirst(t.toLowerCase())).join(""):r.ucFirst(t.toLowerCase())}static parsePrimitive(t){try{return/^\d+(.|,)\d+$/.test(t)&&(t=t.replace(",",".")),JSON.parse(t)}catch(e){return t.toString()}}}class n{static isNode(t){return"object"==typeof t&&null!==t&&(t===document||t===window||t instanceof Node)}static hasAttribute(t,e){if(!n.isNode(t))throw Error("The element must be a valid HTML Node!");return"function"==typeof t.hasAttribute&&t.hasAttribute(e)}static getAttribute(t,e){let i=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(i&&!1===n.hasAttribute(t,e))throw Error('The required property "'.concat(e,'" does not exist!'));if("function"!=typeof t.getAttribute){if(i)throw Error("This node doesn't support the getAttribute function!");return}return t.getAttribute(e)}static getDataAttribute(t,e){let i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],s=e.replace(/^data(|-)/,""),o=r.toLowerCamelCase(s,"-");if(!n.isNode(t)){if(i)throw Error("The passed node is not a valid HTML Node!");return}if(void 0===t.dataset){if(i)throw Error("This node doesn't support the dataset attribute!");return}let a=t.dataset[o];if(void 0===a){if(i)throw Error('The required data attribute "'.concat(e,'" does not exist on ').concat(t,"!"));return a}return r.parsePrimitive(a)}static querySelector(t,e){let i=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(i&&!n.isNode(t))throw Error("The parent node is not a valid HTML Node!");let r=t.querySelector(e)||!1;if(i&&!1===r)throw Error('The required element "'.concat(e,'" does not exist in parent node!'));return r}static querySelectorAll(t,e){let i=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(i&&!n.isNode(t))throw Error("The parent node is not a valid HTML Node!");let r=t.querySelectorAll(e);if(0===r.length&&(r=!1),i&&!1===r)throw Error('At least one item of "'.concat(e,'" must exist in parent node!'));return r}static getFocusableElements(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return t.querySelectorAll('\n            input:not([tabindex^="-"]):not([disabled]):not([type="hidden"]),\n            select:not([tabindex^="-"]):not([disabled]),\n            textarea:not([tabindex^="-"]):not([disabled]),\n            button:not([tabindex^="-"]):not([disabled]),\n            a[href]:not([tabindex^="-"]):not([disabled]),\n            [tabindex]:not
1([tabindex^="-"]):not([disabled])\n        ')}static getFirstFocusableElement(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return this.getFocusableElements(t)[0]}static getLastFocusableElement(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,e=this.getFocusableElements(t);return e[e.length-1]}}class s{publish(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=new CustomEvent(t,{detail:e,cancelable:i});return this.el.dispatchEvent(r),r}subscribe(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this,n=t.split("."),s=i.scope?e.bind(i.scope):e;if(i.once&&!0===i.once){let e=s;s=function(i){r.unsubscribe(t),e(i)}}return this.el.addEventListener(n[0],s),this.listeners.push({splitEventName:n,opts:i,cb:s}),!0}unsubscribe(t){let e=t.split(".");return this.listeners=this.listeners.reduce((t,i)=>([...i.splitEventName].sort().toString()===e.sort().toString()?this.el.removeEventListener(i.splitEventName[0],i.cb):t.push(i),t),[]),!0}reset(){return this.listeners.forEach(t=>{this.el.removeEventListener(t.splitEventName[0],t.cb)}),this.listeners=[],!0}get el(){return this._el}set el(t){this._el=t}get listeners(){return this._listeners}set listeners(t){this._listeners=t}constructor(t=document){this._el=t,t.$emitter=this,this._listeners=[]}}class o{init(){throw Error('The "init" method for the plugin "'.concat(this._pluginName,'" is not defined.'))}update(){}_init(){this._initialized||(this.init(),this._initialized=!0)}_update(){this._initialized&&this.update()}_mergeOptions(t){let i=r.toDashCase(this._pluginName),s=n.getDataAttribute(this.el,"data-".concat(i,"-config"),!1),o=n.getAttribute(this.el,"data-".concat(i,"-options"),!1),a=[this.constructor.options,this.options,t];s&&a.push(window.PluginConfigManager.get(this._pluginName,s));try{o&&a.push(JSON.parse(o))}catch(t){throw console.error(this.el),Error('The data attribute "data-'.concat(i,'-options" could not be parsed to json: ').concat(t.message))}return e().all(a.filter(t=>t instanceof Object&&!(t instanceof Array)).map(t=>t||{}))}_registerInstance(){window.PluginManager.getPluginInstancesFromElement(this.el).set(this._pluginName,this),window.PluginManager.getPlugin(this._pluginName,!1).get("instances").push(this)}_getPluginName(t){return t||(t=this.constructor.name),t}constructor(t,e={},i=!1){if(!n.isNode(t))throw Error("There is no valid element given.");this.el=t,this.$emitter=new s(this.el),this._pluginName=this._getPluginName(i),this.options=this._mergeOptions(e),this._initialized=!1,this._registerInstance(),this._init()}}class a{supports(t,e){return console.warn("[Google Analytics Plugin] Method 'supports' was not overridden by `"+this.constructor.name+"`. Default return set to false."),!1}execute(){console.warn("[Google Analytics Plugin] Method 'execute' was not overridden by `"+this.constructor.name+"`.")}disable(){this.active=!1}constructor(){this.active=!0}}class c extends a{execute(){let t=this.getEvents();window.PluginManager.getPluginInstances(this.getPluginName()).forEach(e=>{Object.keys(t).forEach(i=>{e.$emitter.subscribe(i,t[i])})})}getEvents(){console.warn("[Google Analytics Plugin] Method 'getEvents' was not overridden by `"+this.constructor.name+"`.")}getPluginName(){console.warn("[Google Analytics Plugin] Method 'getPluginName' was not overridden by `"+this.constructor.name+"`.")}}class l extends c{supports(){return!0}getPluginName(){return"AddToCart"}getEvents(){return{beforeFormSubmit:this._beforeFormSubmit.bind(this)}}_beforeFormSubmit(t){if(!this.active)return;let e=t.detail,i=null;if(e.forEach((t,e)=>{e.endsWith("[id]")&&(i=t)}),!i){console.warn("[codiverse GTM] Product ID could not be fetched. Skipping.");return}let r=this.getProductsObjectFromFormData(e,i),n="add_to_cart";document.querySelector("body").classList.contains("is-ctl-navigation")&&(n="add_to_cart_list"),dataLayer.push({ecommerce:null}),dataLayer.push({event:n,ecommerce:{currency:e.get("dtgs-gtm-currency-code"),value:r.price*r.quantity,items:[r]}})}getProductsObjectFromFormData(t,e){let i={item_name:t.get("product-name"),item_id:t.get("dtgs-gtm-product-sku"),quantity:Number(t.get("lineItems["+e+"][quantity]"))};return null!==t.get("dtgs-gtm-product-variantname")&&Object.assign(i,{item_variant:t.get("dtgs-gtm-product-variantname")}
1),null!==t.get("dtgs-gtm-product-category")&&Object.assign(i,{item_category:t.get("dtgs-gtm-product-category")}),null!==t.get("dtgs-gtm-product-price")&&Object.assign(i,{price:Number(t.get("dtgs-gtm-product-price"))}),null!==t.get("brand-name")&&Object.assign(i,{item_brand:t.get("brand-name")}),null!==t.get("dtgs-gtm-product-db-id")&&Object.assign(i,{item_db_id:t.get("dtgs-gtm-product-db-id")}),"undefined"!=typeof dtgsRemarketingEnabled&&!0===dtgsRemarketingEnabled&&(Object.assign(i,{id:t.get("dtgs-gtm-product-sku")}),Object.assign(i,{google_business_vertical:"retail"})),i}}class u{static isTouchDevice(){return"ontouchstart"in document.documentElement}static isIOSDevice(){return u.isIPhoneDevice()||u.isIPadDevice()}static isNativeWindowsBrowser(){return u.isIEBrowser()||u.isEdgeBrowser()}static isIPhoneDevice(){return!!navigator.userAgent.match(/iPhone/i)}static isIPadDevice(){return!!navigator.userAgent.match(/iPad/i)}static isIEBrowser(){return -1!==navigator.userAgent.toLowerCase().indexOf("msie")||!!navigator.userAgent.match(/Trident.*rv:\d+\./)}static isEdgeBrowser(){return!!navigator.userAgent.match(/Edge\/\d+/i)}static getList(){return{"is-touch":u.isTouchDevice(),"is-ios":u.isIOSDevice(),"is-native-windows":u.isNativeWindowsBrowser(),"is-iphone":u.isIPhoneDevice(),"is-ipad":u.isIPadDevice(),"is-ie":u.isIEBrowser(),"is-edge":u.isEdgeBrowser()}}}class d extends o{init(){this._container=this.el.closest(".offcanvas-body"),this._container&&(this._onStickyChange=this._onStickyChange.bind(this),document.addEventListener("sticky-change",this._onStickyChange),this._observeStickyChange(this._container))}_observeStickyChange(t){let e=new IntersectionObserver(t=>{if(!this.el.isConnected){e.disconnect();return}for(let e of t){let t=e.boundingClientRect,i=e.target.previousElementSibling,r=e.rootBounds;i&&r&&(t.top>r.bottom&&this._fireEvent(!0,i),t.top<=r.bottom&&t.top>r.top&&this._fireEvent(!1,i))}},{threshold:[0],root:t,rootMargin:"0px 0px -".concat(this.options.stickyOffset,"px 0px")});e.observe(this._addSentinel())}_addSentinel(){let t=document.createElement("div");return t.classList.add("sticky_sentinel"),this.el.insertAdjacentElement("afterend",t)}_fireEvent(t,e){let i=new CustomEvent("sticky-change",{detail:{stuck:t,target:e}});document.dispatchEvent(i)}_onStickyChange(t){if(!this.el.isConnected){document.removeEventListener("sticky-change",this._onStickyChange);return}let{stuck:e,target:i}=t.detail;i===this.el&&i.classList.toggle(this.options.stickyClass,e)}}d.options={stickyClass:"fts-sticky",stickyOffset:20};let g=window.PluginManager;g.register("QuickViewModalGTMPlugin",class extends o{init(){let t=PluginManager.getPluginInstances("GoogleTagManager");if(null==t?void 0:t.length){let e=t[0],i=e.events.findIndex(t=>t instanceof l);i&&(e.events[i]=new l,e.events[i].execute())}}},'[data-fts-quickview-loaded="true"]'),g.register("CartHistoryCleanerPlugin",class extends o{init(){this.$emitter=new s,this.$emitter.subscribe("onCloseOffcanvas",t=>{if(t.detail.offCanvasContent.length&&"offcanvas-open"===history.state){history.back(),history.replaceState(null,"");let t=window.onpopstate;window.onpopstate=null,setTimeout(()=>{window.onpopstate=t},200)}})}},"[data-cart-widget]"),g.register("CartWidgetFetcherPlugin",class extends o{init(){window.addEventListener("pageshow",t=>{if(t.persisted)try{var e;let t=(e=PluginManager.getPlugin("CartWidget"))===null||void 0===e?void 0:e.get("instances");t&&t[0]&&t[0].fetch()}catch(t){console.error(t)}})}}),g.register("OffCanvasStickyCheckout",d,'[data-fts-offcanvas-sticky="true"]'),g.register("QuickViewBreadCrumbPlugin",class extends o{init(){let t=document.querySelector("nav[aria-label='breadcrumb']");this.el&&t&&(this.el.innerHTML=t.cloneNode(!0).innerHTML)}},"[data-fts-breadcrumb]"),g.register("DoofinderMaskPlugin",class extends o{init(){u.isTouchDevice()&&document.addEventListener("doofinder.cart.add",()=>{setTimeout(()=>{document.querySelector("button[dfd-click]").click()},400)})}})})()})();

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.