1(function($){var tabCount=0;var tabbingThroughMenu=!1;document.addEventListener('keyup',function(e){if(e.keyCode===9){tabCount++ 2console.log(tabCount)} 3if(tabCount<3){let focusedForm=document.querySelector('.hs-form');if(typeof(focusedForm)!='undefined'&&focusedForm!=null){let focusedElement=document.activeElement;if(focusedForm.contains(focusedElement)){return}}} 4if(document.activeElement.parentElement.parentElement.classList.contains('comment-form')){tabCount=3} 5if(tabCount===1){document.querySelector('.to-content').classList.add('active') 6document.querySelector('.to-content').focus()}else if(tabCount===2){document.querySelector('.to-content').classList.remove('active') 7document.querySelector('.to-footer').classList.add('active') 8document.querySelector('.to-footer').focus()}else{document.querySelector('.to-content').classList.remove('active') 9document.querySelector('.to-footer').classList.remove('active')} 10if(document.activeElement.classList.contains('menu__item')){tabbingThroughMenu=!0}else{if(tabbingThroughMenu==!0){$('.menu__item[data-toggle=collapse]').attr('aria-expanded','false')} 11tabbingThroughMenu=!1}}) 12$('.menu__item[data-toggle=collapse]').on('keydown',function(e){if(e.keyCode===13){e.preventDefault();$('.submenu-item').attr('tabindex',-1);if($(this).attr('aria-expanded')=='true'){$(this).attr('aria-expanded','false')}else{$('.menu__item[data-toggle=collapse]').attr('aria-expanded','false');$(this).attr('aria-expanded','true');$(this).next().find('.submenu-item').each(function(i){$(this).attr('tabindex',0)})}}});$('.accessibilty-scroll').on('keydown',function(e){if(e.keyCode===13){var trgt=$(this).attr('href');var target_offset=$(trgt).offset();var target_top=target_offset.top;$('html, body').animate({'scrollTop':target_top},1000,'swing')}});const exploreMoreTitle=document.querySelector('.explore-more-title');if(exploreMoreTitle){if(!exploreMoreTitle.nextElementSibling){exploreMoreTitle.classList.add('hide')}} 13const boxes=document.querySelectorAll('.box-item');
13if(boxes){let link='';boxes.forEach(item=>{item.addEventListener('click',event=>{link=event.currentTarget.querySelector('.box__link').getAttribute('href');window.location.href=link})})} 14var offset=140;var trigger_el='<div style="top: '+offset+'px;" class="guides" id="trigger"></div>';if(document.body.classList.contains('single')){console.log('single page scripts');socialLinks();copyLinkToClipboard()} 15if(isMobile()){document.addEventListener('touchmove',displayMobileCTA,{passive:!0});const overiddenCTA=document.querySelector('.hero-primary-button--overriden');const mobileCTA=document.querySelector('.mobile-cta__button');if(overiddenCTA){mobileCTA.href=overiddenCTA.href;mobileCTA.text=overiddenCTA.text}} 16function displayMobileCTA(e){if(firstTouch){firstTouch=!1;$(".mobile-cta").animate({bottom:0,opacity:1},400,"swing",);document.body.querySelector('.short-footer-component').style.paddingBottom=95+'px'}} 17function isMobile(){const width=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;return(width<992)?!0:!1} 18let firstTouch=!0;let languageComponent=$('.language-picker-component');languageComponent.attr('tabindex','0');function langToggle(){languageComponent.toggleClass('is-open')} 19languageComponent.on('click keydown',function(e){if(e.type==='click'||(e.type==='keydown'&&e.keyCode===13)){$(this).toggleClass('is-open')}});function setDefaultLang(){const lang=document.documentElement.getAttribute('lang');switch(lang){case "es-ES":langString='Español';break;case "fr-FR":langString='Français';break;case "pt-WW":langString='Português';break;case "de-DE":langString='Deutsch';break;case "ja":langString='æ¥æ¬èª';break;case "ko":langString='íêµì´';break;default:langString='English'} 20$('.language-label').html(langString)} 21setDefaultLang();slickCat();var page=1;if($('#load-more-posts').length>0){$('#load-more-posts').on('click',function(){this.blur();var posts_to_exclude=[];var posts=document.querySelectorAll('.post-item');var last_post=posts[posts.length-1];for(let i=0;i<posts.length;i++){posts_to_exclude.push(posts[i].dataset.id)} 22var load_posts_wrapper=$(this).parent().prev();page++;$(".loader").css('display','block');if(typeof current_post_type!=='undefined'){}else{current_post_type='post'} 23var get_posts_url='/blog/wp-json/rest/v1/boxitems/';var current_lang=$(this).attr('data-lang');var type=$(this).attr('data-custom_query_type');var query_vars=$(this).attr('data-custom_query_vars');var get_posts_data={exclude:posts_to_exclude,post_type:current_post_type,lang:current_lang,page_num:page,query_type:type?type:null,query_vars:query_vars?query_vars:null,} 24$.post(get_posts_url,get_posts_data,function(data){console.log(data);var $items=$(data.posts);load_posts_wrapper.append($items);tabCount=9999;last_post.nextElementSibling.childNodes[1].childNodes[1].focus();$(".loader").css('display','none');if(!data.have_more_posts){$('#load-more-posts').remove()}})})};if($('.like-icon').length>0){$('.like-icon').on('click',function(ev){ev.preventDefault();var like_url='/blog/wp-json/rest/v1/like/';var data_post_likes=$(this).attr('data-post-likes');var data_post_id=$(this).attr('data-post-id');console.log(data_post_id);var data={post_id:data_post_id} 25$.post(like_url,data,function(data){console.log(data);if(data.is_updated){$('.likes-value[data-post-id='+data_post_id+']').text(data.likes_value)}})})} 26$('.open-subscribe-modal').on('click',function(){$('#subscribe-modal').addClass('active')});$('.close-subscribe-modal').on('click',function(){$(this).parents('#subscribe-modal').removeClass('active')});if(monCluster.length>0){createCookie('utm_cluster_id',monCluster,14)} 27function slickCat(){if(document.querySelector('.featured-slides')){$('.featured-slides').slick({dots:!0,infinite:!0,speed:300,dots:!1,slidesToShow:2,slidesToScroll:2,arows:!0,prevArrow:'<button type="button" class="slide-arrow slide-arrow--prev">Next</button>',nextArrow:'<button type="button" class="slide-arrow slide-arrow--next">Next</button>',variableWidth:!1,responsive:[{breakpoint:768,settings:{variableWidth:!0,slidesToShow:2,slidesToScroll:1,arrows:!1,}}]})} 28if(document.querySelector('.carousel-slides')){$('.carousel-fade').slick({slidesToShow:1,slidesToScroll:1,arrows:!0,prevArrow:'<button type="button" class="slide-arrow slide-arrow--prev">Next</button>',nextArrow:'<button type="button" class="slide-arrow slide-arrow--next">Next</button>',fade:!0,asNavFor:'.carousel-slides',infinite:!0,speed:500,responsive:[{breakpoint:768,settings:{arrows:!1,}}]});var slidesWithImage=$('.carousel-slides');slidesWithImage.slick({slidesToShow:2,slidesToScroll:1,dots:!1,arrows:!1,asNavFor:'.carousel-fade',infinite:!0,speed:500,centerMode:!0,variableWidth:!0,responsive:[{breakpoint:768,settings:{variableWidth:!0,}}]})} 29if(document.querySelector('.image-carousel')){$('.image-carousel').slick({slidesToShow:1,slidesToScroll:1,arrows:!0,prevArrow:$('.image-carousel-wrap .prev'),nextArrow:$('.image-carousel-wrap .next'),appendDots:$('.image-carousel-wrap .dots'),dots:!0,infinite:!0,speed:500,responsive:[{breakpoint:768,settings:{arrows:!1,}}]})}} 30var youtube=document.querySelectorAll(".ytv");for(var i=0;i<youtube.length;i++){var source="https://img.youtube.com/vi/"+youtube[i].dataset.embed+"/sddefault.jpg";var image=new Image();image.src=source;image.addEventListener("load",function(){youtube[i].appendChild(image)}(i));youtube[i].appendChild(document.createElement('span'));youtube[i].addEventListener("click",function(){var iframe=document.createElement("iframe");
30iframe.setAttribute("frameborder","0");iframe.setAttribute("allowfullscreen","");iframe.setAttribute("src","https://www.youtube.com/embed/"+this.dataset.embed+"?rel=0&showinfo=0&autoplay=1");this.innerHTML="";this.appendChild(iframe)})};if(document.body.querySelector('.toggle-mobile-menu')){document.body.querySelector('.toggle-mobile-menu').addEventListener('click',toggleMobileMenu)} 31function toggleMobileMenu(e){document.body.classList.toggle('mobile-menu-active')} 32function socialLinks(){var currentURL='https://'+window.location.hostname+window.location.pathname;var c_url='&url='+currentURL;$('.twitter-box').each(function(){var tw_url=$(this).text();$(this).attr('href','https://twitter.com/intent/tweet?text='+encodeURIComponent(tw_url)+c_url)});var title=encodeURIComponent($('.post-title').text());var facebook='http://www.facebook.com/sharer.php?u='+currentURL+'&t='+title+'&source=Monday';var twitter='https://twitter.com/share?text='+title+'&url='+currentURL;var linkedin='http://www.linkedin.com/shareArticle?mini=true&url='+currentURL;$('.single .facebook').attr('href',facebook);$('.single .twitter').attr('href',twitter);$('.single .linkedin').attr('href',linkedin)} 33function copyLinkToClipboard(){$('.linkme').on('click',function(e){e.preventDefault();var temp=document.createElement('input');document.body.appendChild(temp);temp.value=window.location.href;temp.select();document.execCommand('copy');document.body.removeChild(temp);$('.link-copied-text').fadeIn('fast',function(){$(this).delay(900).fadeOut('slow')})})} 34function addSubscriptionMobileForm(){var form=$('#subscribe-to-learn').html();let titles=$("#post-content").find("h1, h2, h3, h4");var form_wrapper='<div class="mobile-subscription d-block d-md-none"><div id="subscribe-to-learn">'+form+'</div></div>';var first_p_tag=$(titles[0]).next('p');$(first_p_tag).append(form_wrapper)}function goToAuthorPage(id,event){event.stopPropagation();event.preventDefault();let url=$(id).attr("data-author-url");window.location=url} 35function createCookie(name,value,days,domain='domain=.monday.com;'){var expires;if(days){var date=new Date();date.setTime(date.getTime()+(days*24*60*60*1000));expires="; expires="+date.toGMTString()}else{expires=""} 36document.cookie=encodeURIComponent(name)+"="+encodeURIComponent(value)+expires+";"+domain+"path=/"} 37function getCookie(name){var nameEQ=encodeURIComponent(name)+"=";var ca=document.cookie.split(';');for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)===' '){c=c.substring(1,c.length)} 38if(c.indexOf(nameEQ)===0){return decodeURIComponent(c.substring(nameEQ.length,c.length))}} 39return null} 40function eraseCookie(name,domain='domain=.monday.com;'){createCookie(name,"",-1,domain)} 41function showHeaderBanner(banner){if(!banner){return} 42const bannerId=banner.getAttribute('data-banner-id');let isHide=!!localStorage.getItem(bannerId);if(isHide)return;banner.style.display='flex'} 43function handleLangCookies(){const lang=document.documentElement.getAttribute('lang').substr(0,2);if(getCookie('user_selected_locale_id')==lang||getCookie('user_selected_locale_id')==lang){return} 44createCookie('user_selected_locale_id',lang,1);createCookie('utm_locale_id',lang,1)} 45handleLangCookies();document.addEventListener("DOMContentLoaded",function(event){const banner=document.querySelector('.header-banner'),closeBanner=document.querySelector('.close-banner');showHeaderBanner(banner);if(closeBanner){closeBanner.addEventListener('click',()=>{banner.style.display='none';const bannerId=banner.getAttribute('data-banner-id');console.log(bannerId);localStorage.setItem(bannerId,JSON.stringify({value:'1',expires:new Date(new Date().getTime()+14*24*60*60*1000).toUTCString()}))})}});$(document).ready(function(){if($(".category .hero").length){$(window).scroll(function(){var scroll=$(window).scrollTop();var topIndent=$('#main-header').outerHeight();if($('#wpadminbar').length){topIndent+=$('#wpadminbar').outerHeight()}})}}); 46/*!
47 * jQuery & Zepto Lazy - YouTube Plugin - v1.5 48 * http://jquery.eisbehr.de/lazy/ 49 * 50 * Copyright 2012 - 2018, Daniel 'Eisbehr' Kern 51 * 52 * Dual licensed under the MIT and GPL-2.0 licenses: 53 * http://www.opensource.org/licenses/mit-license.php 54 * http://www.gnu.org/licenses/gpl-2.0.html 55 */ 56;(function($){$.lazy(['yt','youtube'],function(element,response){if(element[0].tagName.toLowerCase()==='iframe'){var noCookie=/1|true/.test(element.attr('data-nocookie'));element.attr('src','https://www.youtube'+(noCookie?'-nocookie':'')+'.com/embed/'+element.attr('data-src')+'?rel=0&showinfo=0');if(this.config('removeAttribute')){element.removeAttr('data-src')}}else{response(!1)}})})(window.jQuery||window.Zepto);$('.ytlazy').lazy();let editableContent=document.querySelectorAll('.ql-editor');editableContent.forEach((ql=>{ql.setAttribute('contenteditable','false')})) 57function handleCookieSettingsClick(){window.cookiehub.openSettings()} 58var cookieSettingsLinks=document.querySelectorAll('[data-footer-link-type="cookie-settings"]');cookieSettingsLinks.forEach(function(link){link.addEventListener('click',handleCookieSettingsClick)});if(document.querySelector('.test-carousel')){testSlidesToShow=$('.test-carousel').data('slide-to-show');if(!testSlidesToShow){testSlidesToShow=2} 59$('.test-carousel').slick({infinite:!1,slidesToShow:testSlidesToShow,slidesToScroll:1,arrows:!0,dots:!1,prevArrow:'<button type="button" class="slick-arrow slick-prev" tabindex="0"><svg width="23" height="24" viewBox="0 0 23 24" fill="none" xmlns="http://www.w3.org/2000/svg"><title>Previous item</title><path d="M0.939341 10.9393C0.353554 11.5251 0.353554 12.4749 0.93934 13.0607L10.4853 22.6066C11.0711 23.1924 12.0208 23.1924 12.6066 22.6066C13.1924 22.0208 13.1924 21.0711 12.6066 20.4853L4.12132 12L12.6066 3.51472C13.1924 2.92893 13.1924 1.97918 12.6066 1.3934C12.0208 0.807609 11.0711 0.807609 10.4853 1.3934L0.939341 10.9393ZM23 10.5L2 10.5L2 13.5L23 13.5L23 10.5Z" fill="currentColor"></path></svg></button>',nextArrow:'<button type="button" class="slick-arrow slick-next" tabindex="0"><svg width="23" height="24" viewBox="0 0 23 24" fill="none" xmlns="http://www.w3.org/2000/svg"><title>Next item</title><path d="M22.0607 10.9393C22.6464 11.5251 22.6464 12.4749 22.0607 13.0607L12.5147 22.6066C11.9289 23.1924 10.9792 23.1924 10.3934 22.6066C9.80761 22.0208 9.80761 21.0711 10.3934 20.4853L18.8787 12L10.3934 3.51472C9.80761 2.92893 9.80761 1.97918 10.3934 1.3934C10.9792 0.807609 11.9289 0.807609 12.5147 1.3934L22.0607 10.9393ZM-2.93491e-07 10.5L21 10.5L21 13.5L2.93491e-07 13.5L-2.93491e-07 10.5Z" fill="currentColor"></path></svg></button>',responsive:[{breakpoint:768,settings:{slidesToShow:1,slidesToScroll:1}}]})}})(jQuery);const handleFirstScroll=(e)=>{if(window.pageYOffset>60){document.body.classList.add('scroll-down')}else{document.body.classList.remove('scroll-down')}};window.addEventListener('scroll',handleFirstScroll);const backToTop=document.querySelector('.back-to-top');if(backToTop){backToTop.addEventListener('click',()=>{$('html, body').animate({'scrollTop':0},500,'swing')})} 60const progressBar=document.querySelector('.scroll-progress__bar');if(progressBar){progress();window.addEventListener('scroll',progress)} 61function progress(){var windowScrollTop=$(window).scrollTop();var docHeight=$(document).height();var windowHeight=$(window).height();var progress=(windowScrollTop/(docHeight-windowHeight))*100;var progressColor=progress>99?'#000':'#6161FF';progressBar.style.width=progress+'%';progressBar.style.backgroundColor=progressColor} 62const topics=document.querySelectorAll('.topic');if(topics){for(let i=0;i<topics.length;i++){topics[i].addEventListener('click',(e)=>{onTopicClick(e.currentTarget)})}} 63function onTopicClick(e){console.log(e);e.classList.toggle('topic--active')} 64var carouselPrimary=$('.carousel-slick');var dotActiveClass='slick-active';var dotAriaAttribute='aria-hidden';carouselPrimary.slick({autoplay:!0,autoplaySpeed:6000,slidesToShow:1,slidesToScroll:1,dots:!0,arrows:!1,infinite:!0,speed:400,fade:!0,appendDots:$('.carousel-primary__dots'),useCSS:!1,responsive:[{breakpoint:767,settings:{adaptiveHeight:!1,infinite:!0,}}]})
65carouselPrimary.on('init',function(){$('.slick-dots li:first-of-type').addClass(dotActiveClass).attr(dotAriaAttribute,!1)}).on('afterChange',function(event,slick,currentSlide){var $dots=$('.slick-dots');$('li',$dots).removeClass(dotActiveClass).attr(dotAriaAttribute,!0);$dots.each(function(){$('li',$(this)).eq(currentSlide).addClass(dotActiveClass).attr(dotAriaAttribute,!1)})});const primaryPagination=document.querySelector('.primary-font .pagination');if(primaryPagination){const paginationNumbers=primaryPagination.querySelectorAll('.pagination-number');const max=Math.min(paginationNumbers.length,9);for(let i=0;i<max;i++){paginationNumbers[i].classList.add('pagination-number--display-on-mobile')}} 66const gatedCTAs=document.querySelectorAll('.gated-cta-button');if(gatedCTAs){try{loadScript('//js.hsforms.net/forms/v2.js').then(gatedCtaInit)}catch{console.log("ERROR: Can't fetch the script.")} 67function gatedCtaInit(){for(let i=0;i<gatedCTAs.length;i++){const popup=document.createElement('div');popup.id='hs-'+i;console.log('hs-'+i);popup.className='hs-popup';document.querySelector('body').appendChild(popup);const overlay=document.createElement('div');overlay.className='hs-overlay';document.querySelector('body').appendChild(overlay);hbspt.forms.create({portalId:"5945317",target:"#hs-"+i,formId:gatedCTAs[i].dataset.formid,onBeforeFormSubmit:function($form){gatedThankYou()},onFormSubmit:function($form){setTimeout(()=>{window.location.href=gatedCTAs[i].href},2000)},onFormReady:function($form){const subtitle=document.createElement('p');subtitle.className='hs-popup__subtitle';subtitle.innerText=gatedCTAs[i].dataset.subtitle;document.querySelector(`#hs-${i} .hs-form`).insertBefore(subtitle,document.querySelector(`#hs-${i} .hs-form`).firstChild);const title=document.createElement('h2');title.className='hs-popup__title';title.innerText=gatedCTAs[i].dataset.title;document.querySelector(`#hs-${i} .hs-form`).insertBefore(title,document.querySelector(`#hs-${i} .hs-form`).firstChild);const image=document.createElement('img');let url=location.protocol+'//'+location.host;if(location.pathname.includes('/blog/')){url+='/blog/'} 68image.className='hs-popup__img';image.src=url+'/wp-content/themes/monday/img/gated-popup.svg';document.querySelector(`#hs-${i} .hs-form`).insertBefore(image,document.querySelector(`#hs-${i} .hs-form`).firstChild);const inputs=popup.querySelectorAll('input');inputs.forEach(input=>{if(input.id){let label=input.closest('.hs-form-field').querySelector('label span');if(label!==null){input.setAttribute('placeholder',label.innerText)}}}) 69const close=document.createElement('a');close.href='javascript:;';close.dataset.hsid=i;close.className='hs-popup__close';document.querySelector(`#hs-${i} .hs-form`).appendChild(close);let closers=[close,overlay];closers.forEach(closer=>{closer.addEventListener('click',(e)=>{e.preventDefault;const popupIndex=document.querySelector('.popup--active').id.split('-')[1];const popup=document.querySelector(`#hs-${popupIndex}`);popup.style.opacity=0;popup.style.zIndex=999;popup.style.top='100%';popup.classList.remove('popup--active');document.body.classList.remove('hs-popup-open');document.body.style.overflow='visible'})})}});gatedCTAs[i].dataset.hsid=i;gatedCTAs[i].addEventListener('click',(e)=>{e.preventDefault();window.scrollTo(0,0);const popup=document.querySelector(`#hs-${i}`);popup.style.opacity=1;popup.style.zIndex=10000;popup.style.top=0;popup.classList.add('popup--active');document.body.classList.add('hs-popup-open');document.body.style.overflow='hidden'})}}} 70function gatedThankYou(){let url=location.protocol+'//'+location.host;document.querySelector('.hs-popup__title').innerText="You're all set!";document.querySelector('.hs-popup__subtitle').innerText="Here's to simplifying your workflow.";if(location.pathname.includes('/blog/')){url+='/blog/'} 71document.querySelector('.hs-popup__img').src=url+'/wp-content/themes/monday/img/gated-popup-success.svg';document.querySelectorAll('.hs-form fieldset').forEach(element=>{element.style.display='none'}) 72document.querySelector('.hs-submit').style.display='none'} 73function loadScript(src){return new Promise(function(resolve,reject){var s;s=document.createElement('script');s.src=src;s.onload=resolve;s.onerror=reject;document.head.appendChild(s)})} 74if(document.body.classList.contains('single')){const iframes=document.querySelectorAll('iframe[src*="youtube.com"');
74iframes.forEach(iframe=>{const div=document.createElement('div');div.classList.add('iframe-container');iframe.parentNode.insertBefore(div,iframe);div.appendChild(iframe)})}(function($){if($('.search-form').length>0){$('.search-form').on('submit',function(e){e.preventDefault();var form=$(this);var action=$(this).attr('action');var searchQuery=form.find('.search-input').val();if(isSearchQueryInList(searchQuery)||searchQuery.length>2){window.location.href=action+'?s='+searchQuery}})} 75function isSearchQueryInList(searchQuery){return search_list_array.includes(searchQuery.toLowerCase())}})(jQuery);document.addEventListener('DOMContentLoaded',function(){const textarea=document.getElementById('mmfInput');const button=document.getElementById('mmfButton');const tags=document.querySelectorAll('.mmf-tag');let tagsData=[];let baseUrl='https://mondaymagic.ai/visitor?guest=true';if(button&&button.dataset.baseUrl){baseUrl=button.dataset.baseUrl} 76if(tags.length>0){tags.forEach(tag=>{if(tag.dataset.tagPrompt){tagsData.push(tag.dataset.tagPrompt.substring(0,30))}})} 77let stringIndex=0;let charIndex=0;let isTyping=!0;let animationActive=!0;let animationInterval;function typeAnimation(){if(!animationActive||tagsData.length===0)return;const currentString=tagsData[stringIndex];if(isTyping){if(charIndex<currentString.length){textarea.placeholder=currentString.substring(0,charIndex+1);charIndex++}else{setTimeout(()=>{isTyping=!1},2000);return}}else{if(charIndex>0){textarea.placeholder=currentString.substring(0,charIndex-1);charIndex--}else{isTyping=!0;stringIndex=(stringIndex+1)%tagsData.length;charIndex=0;textarea.placeholder=""}}} 78if(tagsData.length>0){animationInterval=setInterval(typeAnimation,100)} 79if(tags.length>0){tags.forEach(tag=>{tag.addEventListener('click',function(){animationActive=!1;clearInterval(animationInterval);textarea.placeholder='';const prompt=this.getAttribute('data-tag-prompt');textarea.value=prompt;
79tags.forEach(t=>t.classList.remove('is-active'));this.classList.add('is-active');textarea.focus()})})} 80if(button){button.addEventListener('click',function(){const prompt=textarea.value.trim();if(prompt){const encodedPrompt=encodeURIComponent(prompt).replace(/%20/g,'+');const url=`${baseUrl}&prompt=${encodedPrompt}`;window.open(url,'_blank')}else{window.open(baseUrl)}})} 81if(textarea){textarea.addEventListener('input',function(){if(this.value.length>0&&animationActive){animationActive=!1;clearInterval(animationInterval);this.placeholder='';tags.forEach(t=>t.classList.remove('is-active'))}});textarea.addEventListener('input',function(){if(this.value.length===0&&!animationActive&&tagsData.length>0){animationActive=!0;stringIndex=0;charIndex=0;isTyping=!0;animationInterval=setInterval(typeAnimation,100)}})}});const templateMore=document.querySelectorAll('.monday-template__more');if(templateMore){templateMore.forEach(btn=>{btn.addEventListener('click',(b)=>{button=b.currentTarget;relatedPosts=button.closest('.related-posts');items=relatedPosts.querySelectorAll('.monday-template__item');items.forEach(item=>{item.style.display='flex'}) 82button.style.display='none'})})}
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.