PageSourceSearch

https://www.1517.org/hubfs/hub_generated/module_assets/1/170376456…/module_1517_-_Article_Recent_Posts.min.js

js 1517.org collected 2026-10-01 11:37:32 UTC 1,201 bytes, 2 lines download raw bytes

1var module_170376456028=function(){const CONTACT_ID=document.getElementById("CONTACT_ID")?.value,CONTACT_EMAIL=document.getElementById("CONTACT_EMAIL")?.value;document.querySelectorAll(".ais-Hits-item .bookmark-icon").forEach(button=>{button.addEventListener("click",async()=>{Notiflix.Loading.dots({svgColor:"#ffffff"});const contentId=button.getAttribute("data-id");let tag=button.getAttribute("data-tag").toLowerCase();"article"===tag&&(tag="articles"),"podcast"===tag&&(tag="podcasts");const input={contentId:contentId,tag:tag,contactId:CONTACT_ID,email:CONTACT_EMAIL};console.log(input);const settings={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(input)},response=await fetch("/_hcms/api/saveContents",settings),data=await response.json();Notiflix.Loading.remove(),"removed"===data.action?(button.classList.remove("buttonActive"),Notiflix.Notify.success("Remove successfully")):"added"===data.action&&(button.classList.add("buttonActive"),Notiflix.Notify.success("Save successfully"))})})}();
2//# sourceURL=https://5475273.fs1.hubspotusercontent-na1.net/hubfs/5475273/hub_generated/module_assets/1/170376456028/1782286247208/module_1517_-_Article_Recent_Posts.js

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.