PageSourceSearch

https://www.swimoutlet.com/cdn/shop/t/317/assets/se-generalInformation-hash-5b6c5cb75ef728363937.vendor.min.js

js swimoutlet.com collected 2026-09-24 08:47:24 UTC 2,385 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkswimoutlet_shopify_theme=self.webpackChunkswimoutlet_shopify_theme||[]).push([[6397],{66248:(e,t,s)=>{s.d(t,{setupGeneralInformation:()=>p});var i=s(91549),a=s(57549),n=s(51666),o=s(17438),r=s(55502),d=s(10109);class l{constructor(e,t){if(this.productObj=e,this.messageElem=document.querySelector("[regular-shipping-msg] .shipping__row.pdp-shiptoday"),null===this.messageElem)return void console.error("SameDayShippingMessage: shipping message element not found");if(t>0){this.messageElem.innerHTML="";const s=parseInt(t/60),i=t%60,a=`${s>0?`${s} Hr `:""}${i>0?`${i} Min`:""}`;this.messageElem.innerHTML=`Order within <b class="bold time-count">${a}</b> and it ships today!`,this._updateMessage(),e.dom_element.addEventListener("option:changed",()=>this._updateMessage()),e.dom_element.addEventListener("quantity:changed",()=>this._updateMessage())}else this.messageElem.style.display="none"}_updateMessage(){if(null!=this.productObj.selected_variant_id){let e=this.productObj.getVariant(this.productObj.selected_variant_id),t=this._shouldHideMessageForVariant(e);this.messageElem.style.display=t?"none":""}else{let e=this.productObj.data_shopify.product.variants.some(e=>this._shouldHideMessageForVariant(e));this.messageElem.style.display=e?"none":""}}_shouldHideMessageForVariant(e){return!!(0,o.XE)(e,this.productObj.data_product_metafields.enable_bo_for_regular,this.productObj.isTeamStore,(0,d.YP)())&&this.productObj.getSelectedQuantity()+(0,o.og)(e)>e.inventory_quantity}}async function p(e){try{var t,s;let o=await (t=e.data_shopify.product.id,s=e.data_shopify.product_code,new Promise((e,i)=>{(0,r.A)().then(o=>{let r=a.A.SO_SHOPIFY_API+"/product/infor?shopifyProductId="+t+"&productCode="+s+"&gql=timeshipping=y,discover=y,pageviews=y";(0,n.Ay)("GET",o,r,null).then(t=>{t.ok?t.json().then(t=>{e(t)}):i(Error("Can not retrieved data for accessories section."))})}).catch(e=>{i(e)})})),d=e.dom_element.querySelectorAll("[page-views]");if(null!=d&&d.length>0&&"number"==typeof o.Data.PageView&&d.forEach(e=>{e.querySelector(".pdp__viewing-text").innerHTML=o.Data.PageView+" viewing",o.Data.PageView>4||"y"==(0,i.Vf)("pgv")?e.style.display="":e.style.display="none"}),"number"==typeof o.Data.ShippingTime){let t=o.Data.ShippingTime;new l(e,t)}}catch(e){console.error(`setupGeneralInformation: can not get general information: ${e.message}`)}}}}]);

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.