PageSourceSearch

https://www.rickowens.eu/cdn/shop/t/154/assets/ro-cart-notification.js?v=90921329107421289571789722586

js rickowens.eu collected 2026-10-02 04:59:05 UTC 1,403 bytes, 2 lines download raw bytes

1class RoCartNotification extends HTMLElement{constructor(){super(),this.notification=this.querySelector(".js-cart-notification"),this.onBodyClick=this.handleBodyClick.bind(this)}open(){this.notification.classList.add("js-open"),this.notification.focus(),trapFocus(this.notification),setTimeout(()=>{this.close()},5e3),document.body.addEventListener("click",this.onBodyClick)}close(){this.notification.classList.remove("js-open"),document.body.removeEventListener("click",this.onBodyClick),removeTrapFocus(this.activeElement)}renderContents(parsedState){this.cartItemKey=parsedState.key,this.getSectionsToRender().forEach(section=>{document.getElementById(section.id).innerHTML=this.getSectionInnerHTML(parsedState.sections[section.id],section.selector)}),this.open()}getSectionsToRender(){return[{id:"ro-cart-notification-product",selector:`[id="ro-cart-notification-product-${this.cartItemKey}"]`},{id:"ro-cart-icon-bubble"}]}getSectionInnerHTML(html,selector=".shopify-section"){const element=new DOMParser().parseFromString(html,"text/html").querySelector(selector);return element?element.innerHTML:""}handleBodyClick(evt){const target=evt.target;target!==this.notification&&!target.closest("ro-cart-notification")&&this.close()}}customElements.define("ro-cart-notification",RoCartNotification);
2//# sourceMappingURL=/cdn/shop/t/154/assets/ro-cart-notification.js.map?v=90921329107421289571789722586

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.