PageSourceSearch

https://cdn.caeducatorstogether.org/assets/assets/favorite-C5Icv5Jq.js

js caeducatorstogether.org collected 2026-10-01 15:22:49 UTC 1,045 bytes, 1 lines download raw bytes

1(function(){function e(e){if(e!=null)try{return JSON.parse(e)}catch{return e}}function t(e,t){e.__bvTooltip?e.setAttribute(`data-original-title`,t):e.setAttribute(`title`,t)}document.addEventListener(`click`,function(n){let r=n.target.closest(`[data-toggle=favorite],[data-toggle=profile-portfolio]`);if(!r)return;n.preventDefault();let i=r.dataset.name,a=r.dataset.type,o=e(r.dataset.value);r.classList.add(`fa-pulse`,`fa-pulse-fast`);let s=r.dataset.toggle===`favorite`?`/profile/favorite`:`/profile/portfolio`;axios.post(s,{modelName:i,type:a,value:!o}).then(e=>{let n=r.querySelector(`i`);r.dataset.value=String(e.data.value),setTimeout(()=>{r.addEventListener(`animationiteration`,()=>{r.classList.remove(`fa-pulse`,`fa-pulse-fast`)},{once:!0})},1500),document.querySelectorAll(`[data-type="`+a+`"]`).forEach(t=>{t.dataset.value=String(e.data.value)}),e.data.value?(n&&(n.className=r.dataset.iconOn||`fas fa-heart`),t(r,r.dataset.removeTitle)):(n&&(n.className=r.dataset.iconOff||`fal fa-heart`),t(r,r.dataset.addTitle))})})}).call(void 0);

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.