PageSourceSearch

https://www.paperplane.shop/cdn/shop/t/1106/assets/delay.js?v=76585075701797242811790351840

js paperplane.shop collected 2026-09-27 21:33:00 UTC 3,491 bytes, 2 lines download raw bytes

1(function(window){const eventList=["keydown","mousemove","wheel","touchmove","touchstart","touchend"],autoLoadTimeout=setTimeout(runScripts,5e3),scriptsLoaded=[];function toCamelCase(str){let newStr="";if(str){let wordArr=str.split(/[-_]/g);for(let i in wordArr)newStr+=i>0?wordArr[i].charAt(0).toUpperCase()+wordArr[i].slice(1):wordArr[i]}else return newStr;return newStr}eventList.forEach(function(event){window.addEventListener(event,triggerScripts,{passive:!0})});function triggerScripts(){runScripts(),clearTimeout(autoLoadTimeout),eventList.forEach(function(event){window.removeEventListener(event,triggerScripts,{passive:!0})})}const async=(src2,callback,dataset)=>{if(scriptsLoaded.includes(src2))return;const tag="script",createdElement=document.createElement(tag),nestedTag=document.getElementsByTagName(tag)[0];createdElement.src=src2,callback&&(Object.keys(dataset).length>0&&setDataSet(dataset),createdElement.addEventListener("load",e=>{callback(null),scriptsLoaded.push(src2)},!1)),nestedTag.parentNode.insertBefore(createdElement,nestedTag)};function setDataSet(dataset){if(!dataset.name)return;const globalName=toCamelCase(dataset.name);window[globalName]=dataset}function getAwaitScriptTag(id){const tag=document.getElementById(id);if(!tag)return;const src2=tag.getAttribute("await");getDelayTime(tag,src2)}function getDelayTime(tag,src2){const delayedTimeAttribute=tag.getAttribute("delayed-time")||0,delayedTime=parseInt(delayedTimeAttribute,10),dataset=tag.dataset;setTimeout(()=>{async(src2,()=>getRunAfterLoadAttribute(tag),dataset)},delayedTime)}function getRunAfterLoadAttribute(scriptTag,dataset){const newScriptId=scriptTag.getAttribute("run-after-load");if(!newScriptId)return;newScriptId.split(",").forEach(singleScript=>{getAwaitScriptTag(singleScript)})}const getTriggerEls=()=>Array.from(document.querySelectorAll("[script-trigger]")).filter(el=>!el.getAttribute("script-loaded")),getEventDelayedScriptTags=()=>Array.from(document.querySelectorAll("script[event-delay]")),filterMatchingScriptTags=(scriptTags,element)=>scriptTags.filter(scriptTag=>scriptTag.getAttribute("event-listener")==element.getAttribute("trigger-event")),setEventDelayedScriptTags=(element,scriptTags)=>{const matchingScriptTags=filterMatchingScriptTags(scriptTags,element);matchingScriptTags&&matchingScriptTags.forEach(tag=>{src=tag.getAttribute("event-delay"),getDelayTime(tag,src),tag.setAttribute("script-loaded",!0)})},openChatOnInitialClick=()=>{const button=document.getElementById("chat-button");setTimeout(button?()=>{document.getElementById("chat-button").contentWindow.document.querySelector("button").click()}:()=>openChatOnInitialClick(),100)},addElementEventListeners=(element,scriptTags)=>{const events=element.getAttribute("events").split(",");events.length>0&&events.forEach(event=>{element.addEventListener(event,e=>{element.dataset.chatIcon&&(setTimeout(()=>e.target.closest("button").style.display="none",300),openChatOnInitialClick()),setEventDelayedScriptTags(element,scriptTags)},{once:!0})})},runEventDelayedScripts=()=>{const triggerEls=getTriggerEls(),scriptTags=getEventDelayedScriptTags();triggerEls.forEach(element=>addElementEventListeners(element,scriptTags))};function runScripts(){runEventDelayedScripts(),document.querySelectorAll("script[delay]").forEach(function(scriptTag){const src2=scriptTag.getAttribute("delay");getDelayTime(scriptTag,src2)})}})(this);
2//# sourceMappingURL=/cdn/shop/t/1106/assets/delay.js.map?v=76585075701797242811790351840

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.