PageSourceSearch

https://ycljewels.com/cdn/shop/t/269/assets/pickup-availability.js?v=25433595262204090891790735200

js ycljewels.com collected 2026-10-03 21:23:32 UTC 1,324 bytes, 1 lines download raw bytes

1!function(){"use strict";function t(t){this.status=t.status||null,this.headers=t.headers||null,this.json=t.json||null,this.body=t.body||null}t.prototype=Error.prototype;const e="data-store-availability-container",i=".shopify-section",a="[data-pickup-drawer]",s="[data-section-type]",n="hidden";class r extends HTMLElement{constructor(){super()}connectedCallback(){this.container=this.closest(s),this.drawer=null,this.container.addEventListener("theme:variant:change",(t=>this.fetchPickupAvailability(t))),this.fetchPickupAvailability()}fetchPickupAvailability(t){if(t&&!t.detail.variant||t&&t.detail.variant&&!t.detail.variant.available)return void this.classList.add(n);const s=t&&t.detail.variant?t.detail.variant.id:this.getAttribute(e);s&&fetch(`${window.theme.routes.root}variants/${s}/?section_id=api-pickup-availability`).then(this.handleErrors).then((t=>t.text())).then((t=>{const e=(new DOMParser).parseFromString(t,"text/html").querySelector(i).innerHTML;this.innerHTML=e,this.drawer=this.querySelector(a),this.drawer?this.classList.remove(n):this.classList.add(n)})).catch((t=>{console.error(t)}))}handleErrors(e){return e.ok?e:e.json().then((function(i){throw new t({status:e.statusText,headers:e.headers,json:i})}))}}customElements.get("pickup-availability")||customElements.define("pickup-availability",r)}();

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.