PageSourceSearch

https://www.bareminerals.com/cdn/shop/t/1716/assets/-core-dynamic-section.js?v=74353539085162669901790177230

js bareminerals.com collected 2026-10-02 02:57:09 UTC 1,712 bytes, 1 lines download raw bytes

1import{B as h}from"./chunk-BaseElement-BB_od1Kd.js";import{H as l}from"./chunk-HTMLUpdateUtility-Cy3d2J1u.js";import{t as c}from"./chunk-custom-element-Bw0Mn1eH.js";import{n as o}from"./chunk-property-CKIAQdjK.js";import{r as d}from"./chunk-state-DdC5E8l6.js";import"./chunk-WithApiClient-CO-ZIM87.js";import"./chunk-index-CKJCYK2x.js";var f=Object.defineProperty,u=Object.getOwnPropertyDescriptor,s=(t,e,p,a)=>{for(var r=a>1?void 0:a?u(e,p):e,n=t.length-1,m;n>=0;n--)(m=t[n])&&(r=(a?m(e,p,r):m(r))||r);return a&&r&&f(e,p,r),r};let i=class extends h{constructor(){super(...arguments),this.$htmlUpdateUtility=new l(this,["section-name","base-url","params","id"]),this.sectionName="",this._baseUrl="",this.params="",this.initialRender=!0}get baseurl(){var t,e;return this._baseUrl||((e=(t=window.Shopify)==null?void 0:t.routes)==null?void 0:e.root)||"/"}updated(t){super.updated(t),t.has("params")&&this.params!==t.get("params")&&this.params&&this.fetch()}firstUpdated(t){super.firstUpdated(t),this.fetch()}get paramsObjectFromString(){const t=new URLSearchParams(this.params);return Object.fromEntries(t)}fetch(){this.$htmlUpdateUtility.fetchAndReplaceSectionId({renderRoot:this,sectionId:this.sectionName,baseUrl:this.baseurl,params:this.paramsObjectFromString,withCache:!0,forceReplaceAll:this.initialRender}).catch(console.warn).finally(()=>{this.$emit("dynamic-section::loaded"),this.initialRender=!1})}};s([o({type:String,attribute:"section-name"})],i.prototype,"sectionName",2);s([o({type:String,attribute:"base-url"})],i.prototype,"_baseUrl",2);s([o({type:String})],i.prototype,"params",2);s([o({type:String})],i.prototype,"baseurl",1);s([d()],i.prototype,"initialRender",2);i=s([c("dynamic-section")],i);

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.