PageSourceSearch

https://www.thebeaufortbonnetcompany.com/cdn/shop/t/353/assets/-core-icon.js?v=55644129933552995741788167854

js thebeaufortbonnetcompany.com collected 2026-09-26 10:35:40 UTC 3,369 bytes, 20 lines download raw bytes

1import{a as u}from"./chunk-BaseElement-COVKFV2h.js";import{h as p}from"./chunk-task-Nh5oQ4sG.js";import{d as g}from"./chunk-index-CKJCYK2x.js";import{r as m,T as c,x as n}from"./chunk-lit-element-CULRVKo8.js";import{t as d}from"./chunk-custom-element-BhZVzxrc.js";import{n as f}from"./chunk-property-BXqvfTtY.js";import{o as v}from"./chunk-unsafe-html-BZRX-HF1.js";import"./chunk-directive-CF8sV3Lr.js";const S=":host{box-sizing:content-box!important;display:inline-flex;height:1em;width:1em;font-size:var(--icon-size, inherit)}";var w=Object.defineProperty,C=Object.getOwnPropertyDescriptor,h=(t,r,i,a)=>{for(var s=a>1?void 0:a?C(r,i):r,o=t.length-1,l;o>=0;o--)(l=t[o])&&(s=(a?l(r,i,s):l(s))||s);return a&&s&&w(r,i,s),s};let e=class extends u{constructor(){super(),this.loadSpriteTask=new p(this,{task:async()=>{if(e.svgSpriteCache)return e.svgSpriteCache;const t=this.svgSpritePath;if(!t)return c;if(e.loadingCartPromise)return await e.loadingCartPromise.promise;e.loadingCartPromise=g();try{const r=await fetch(t);if(!r.ok)throw new Error("Network response was not ok");const i=await r.text(),o=new DOMParser().parseFromString(i,"image/svg+xml").documentElement;return o.style.display="none",e.svgSpriteCache=o.outerHTML,e.loadingCartPromise&&(e.loadingCartPromise.resolve(),e.loadingCartPromise=null),e.svgSpriteCache}catch(r){return e.loadingCartPromise&&(e.loadingCartPromise.reject(),e.loadingCartPromise=null),console.error("Error fetching SVG sprite:",r),r}}}),this.metaEl=document.head.querySelector(e.metaPathSel)}connectedCallback(){var t;super.connectedCallback(),(t=window.Shopify)!=null&&t.designMode&&this.loadSpriteTask.run()}get runningDevServer(){return window.location.hostname==="localhost"||window.location.hostname.includes("127.0.0")||window.location.hostname.includes("0.0.0")}get svgSpritePath(){var t;return(t=this.metaEl)==null?void 0:t.dataset.svgSpritePath}get useHref(){return`${this.svgSpritePath}#${this.src}`}get isDecorative(){return this.getAttribute("aria-hidden")==="true"||this.hasAttribute("decorative")}get iconTitle(){const t=this.getAttribute("aria-label");return t||(this.src?this.src.replace(/^icon-/,"").split("-").map(i=>i.charAt(0).toUpperCase()+i.slice(1)).join(" "):"")}get titleId(){return`${this.src}-title-${Math.random().toString(36).substr(2,9)}`}generateSVGMarkup(t){if(this.isDecorative)return n`
2        <svg class="block h-full w-full" aria-hidden="true" focusable="false">
3          <use crossorigin="anonymous" href=${t}></use>
4        </svg>
5      `;const r=this.titleId,i=this.iconTitle;return n`
6      <svg
7        class="block h-full w-full"
8        role="img"
9        aria-labelledby=${r}
10        focusable="false"
11      >
12        <title id=${r}>${i}</title>
13        <use crossorigin="anonymous" href=${t}></use>
14      </svg>
15    `}render(){var t;return this.src===void 0||this.src===null||this.src===""?n`${c}`:(t=window.Shopify)!=null&&t.designMode?n`
16        ${this.loadSpriteTask.render({complete:()=>!e.svgSpriteCache||typeof e.svgSpriteCache!="string"?c:n`
17              ${v(e.svgSpriteCache)}
18              ${this.src&&this.generateSVGMarkup(`#${this.src}`)}
19            `})}
20      `:this.generateSVGMarkup(this.useHref)}};e.loadingCartPromise=null;e.svgSpriteCache=null;e.styles=[m(S)];e.metaPathSel="meta[data-svg-sprite-path]";h([f({type:String})],e.prototype,"src",2);e=h([d("svg-icon")],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.