PageSourceSearch

https://okaydev.co/dist/assets/page-error-renderer-7qmzYNm_.js

js okaydev.co collected 2026-09-25 20:11:27 UTC 2,849 bytes, 1 lines download raw bytes

1import{D as e}from"./default-renderer-BZKN5ad1.js";import{g as t,s as o,b as i}from"./HeaderLogoLetters-DJI_FB9w.js";import"./app-Cu6dTb9L.js";import"./lazyDialog-D7tW-HM0.js";import"./SplitText-VLUCmDhw.js";import"./distributeProjectAuthorCard-USTmGEds.js";import"./SocialPosts-rgMf2ipp.js";import"./patchCommentsProtect-C8m96Vr7.js";const s=class{constructor(){this.initVars(),this.initAnimations(),this.initPage()}initVars(){this.okayEmojiContainer=document.body.querySelector(".okay-emoji-container"),this.faceShapeCircle=document.body.querySelector("#face-shape-circle"),this.eyeLeft=document.body.querySelector("#eye-left"),this.eyeRight=document.body.querySelector("#eye-right"),this.eyeLeftBlink=document.body.querySelector("#eye-left-blink"),this.eyeRightBlink=document.body.querySelector("#eye-right-blink"),this.mouthSmile=document.body.querySelector("#mouth-smile"),this.mouthFrown=document.body.querySelector("#mouth-frown"),this.mouthStraight=document.body.querySelector("#mouth-straight"),this.eyesBlinkTl=t.timeline({paused:!0}),this.mouthFrownTl=t.timeline({paused:!0})}initAnimations(){const e=this;this.eyesBlinkTl.set(e.eyeLeft,{autoAlpha:0},0).set(e.eyeRight,{autoAlpha:0},0).set(e.eyeLeftBlink,{autoAlpha:1},0).set(e.eyeRightBlink,{autoAlpha:1},0).set(e.eyeLeftBlink,{autoAlpha:0},.05).set(e.eyeRightBlink,{autoAlpha:0},.05).set(e.eyeLeft,{autoAlpha:1},.1).set(e.eyeRight,{autoAlpha:1},.1),this.mouthFrownTl.set(e.mouthStraight,{autoAlpha:0},0).set(e.mouthFrown,{autoAlpha:1},0)}initPage(){document.body.classList.add("errorpage"),document.body.classList.add(o.bodyPage),this.addListeners(),this.okayEmojiDefault(),this.eyesBlinking()}addListeners(){const e=this;i(e,["mousedown","okayEmojiEnter","okayEmojiLeave"]),window.addEventListener("mousedown",e.mousedown),this.okayEmojiContainer.addEventListener("mouseenter",e.okayEmojiEnter),this.okayEmojiContainer.addEventListener("mouseleave",e.okayEmojiLeave)}removeListeners(){const e=this;window.removeEventListener("mousedown",e.mousedown),this.okayEmojiContainer.removeEventListener("mouseenter",e.okayEmojiEnter),this.okayEmojiContainer.removeEventListener("mouseleave",e.okayEmojiLeave)}stopPage(){this.removeListeners()}eyesBlinking(){const e=this;this.eyesBlinkTl.play(0),setTimeout((()=>{e.eyesBlinking()}),5e3*Math.random())}okayEmojiDefault(){const e=this;t.set(e.faceShapeCircle,{autoAlpha:1}),t.set(e.eyeLeft,{autoAlpha:1}),t.set(e.eyeRight,{autoAlpha:1}),t.set(e.mouthStraight,{autoAlpha:1})}mousedown(){this.eyesBlinkTl.play(0)}okayEmojiEnter(){this.mouthFrownTl.play(0)}okayEmojiLeave(){this.mouthFrownTl.reverse()}};let a;class n extends e{onEnter(){super.onEnter()}async onLeave(){if(super.onLeave(),a)try{await a.stopPage()}finally{a=null}}onEnterCompleted(){super.onEnterCompleted(),a=new s}onLeaveCompleted(){super.onLeaveCompleted()}}export{n as default};

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.