1 2window.addEventListener('load', () => { 3 4 if (!charla_params.property_key) return; 5 6 const widgetElement = document.createElement('charla-widget'); 7 widgetElement.setAttribute("p", charla_params.property_key); 8 widgetElement.setAttribute("wc_customer", JSON.stringify(charla_params.customer) ); 9 widgetElement.setAttribute("wc_cart", JSON.stringify(charla_params.cart) ) ; 10 11 document.body.appendChild(widgetElement) ; 12 13 const widgetCode = document.createElement('script'); 14 widgetCode.src = 'https://app.charla.com/widget/widget.js'; 15 document.body.appendChild(widgetCode); 16}) 17
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.