function createEcomSendMainStyleEle() {
const ele = document.createElement("link")
ele.rel = "stylesheet"
ele.href = 'https://cdn.shopify.com/extensions/9540b992-426c-4bdf-96a0-907a0e4f42ec/ecomsend-popups-37/assets/style.css'
ele.dataset.ecomsendTag = "load-alternate-css"
return ele
}
if (window.EcomSendApps?.enableAlternateCSSLoading ?? false) {
document.head.appendChild(createEcomSendMainStyle
Ele())
}
function createEcomSendMainJSEle() {
const ele = document.createElement("script")
ele.defer = true
ele.id = "ecomsend-main-js"
ele.src = 'https://cdn.shopify.com/extensions/9540b992-426c-4bdf-96a0-907a0e4f42ec/ecomsend-popups-37/assets/ecomsend.js'
if (null === document.getElementById(ele.id)) {
document.head.appendChild(ele)
}
}