PageSourceSearch

https://www.adityaarpitha.com/_next/static/chunks/841-dc088948470f1de3.js

js adityaarpitha.com collected 2026-10-08 03:11:56 UTC 13,256 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[841],{3827:function(e,t,i){i.d(t,{OrientationProvider:function(){return o},R:function(){return s}});var n=i(7437),a=i(2265);let r=(0,a.createContext)(void 0);function o(e){let{children:t}=e,[i,o]=(0,a.useState)(null);return(0,n.jsx)(r.Provider,{value:{activeCategory:i,setActiveCategory:o},children:t})}function s(){let e=(0,a.useContext)(r);if(!e)throw Error("useOrientation must be used within an OrientationProvider");return e}},3333:function(e,t,i){i.d(t,{H:function(){return s},PerformanceQualityProvider:function(){return o}});var n=i(7437),a=i(2265);let r=(0,a.createContext)({quality:"full",reason:"default"});function o(e){let{children:t}=e,[i,o]=(0,a.useState)("full"),[s,l]=(0,a.useState)("default"),d=(0,a.useRef)("full");return(0,a.useEffect)(()=>{var e;let t=function(){if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)return{quality:"static",reason:"reduced-motion"};let e=navigator,t=e.connection,i=(null==t?void 0:t.effectiveType)==="slow-2g"||(null==t?void 0:t.effectiveType)==="2g",n="number"==typeof e.deviceMemory&&e.deviceMemory<=2,a="number"==typeof e.hardwareConcurrency&&e.hardwareConcurrency<=2;return(null==t?void 0:t.saveData)||i||n||a?{quality:"reduced",reason:"device-hint"}:{quality:"full",reason:"default"}}();if(d.current=t.quality,o(t.quality),l(t.reason),"static"===t.quality)return;let i=null,n=performance.now(),a=null,r={frames:0,slowFrames:0,severeFrames:0,longTasks:0},s=null,u=null,m=e=>{n=e,a=null,r={frames:0,slowFrames:0,severeFrames:0,longTasks:0}},c=e=>{if(e-n<5e3)return;let t=d.current;if(function(e,t){if(e.frames<20)return!1;let i=e.slowFrames/e.frames,n=e.severeFrames/e.frames;return"full"===t?i>=.25||e.longTasks>=3:n>=.12||e.longTasks>=3}(r,t)){let e="full"===t?"reduced":"static";d.current=e,o(e),l("runtime")}m(e)};"undefined"!=typeof PerformanceObserver&&(null===(e=PerformanceObserver.supportedEntryTypes)||void 0===e?void 0:e.includes("longtask"))&&(u=new PerformanceObserver(e=>{r.longTasks+=e.getEntries().length})).observe({type:"longtask",buffered:!1});let p=e=>{if(i=null,!document.hidden){if(null!==a){let t=e-a;r.frames+=1,t>=34&&(r.slowFrames+=1),t>=50&&(r.severeFrames+=1)}a=e,c(e),i=window.requestAnimationFrame(p)}},f=()=>{null!==i&&window.cancelAnimationFrame(i),i=null,m(performance.now()),document.hidden||"static"===d.current||(i=window.requestAnimationFrame(p))},h=()=>{if(document.hidden){null!==i&&window.cancelAnimationFrame(i),i=null,a=null;return}f()};return s=setTimeout(()=>{f()},2500),document.addEventListener("visibilitychange",h),()=>{null!==s&&clearTimeout(s),null!==i&&window.cancelAnimationFrame(i),null==u||u.disconnect(),document.removeEventListener("visibilitychange",h)}},[]),(0,a.useEffect)(()=>{document.documentElement.dataset.performanceQuality=i},[i]),(0,n.jsx)(r.Provider,{value:{quality:i,reason:s},children:t})}function s(){return(0,a.useContext)(r)}},8235:function(e,t,i){i.d(t,{Y:function(){return r}});var n=i(2265),a=i(1963);function r(e,t){(0,n.useEffect)(()=>{if(t&&e.current)return(0,a.cF)(e.current)},[t,e])}},3398:function(e,t,i){i.d(t,{a:function(){return n}});let n={dwellMs:300,readingWpm:220,soften:!0}},1963:function(e,t,i){let n;i.d(t,{uv:function(){return d},cF:function(){return c},rq:function(){return p}});let a={minWpm:180,arrivalWpm:240,maxWpm:320,minDwell:100,maxDwell:300},r=(e,t,i)=>Math.max(t,Math.min(i,e));function o(e){return Math.round(a.maxDwell-(a.maxDwell-a.minDwell)*r((e.wpm-a.minWpm)/(a.maxWpm-a.minWpm),0,1))}let s={activity:0,engagedSeconds:0,wpm:a.arrivalWpm},l=new Set,d=()=>o(s),u=e=>{var t,i;return null!==(i=null===(t=e.getAnimations)||void 0===t?void 0:t.call(e,{subtree:!0}).filter(e=>"animationName"in e&&String(e.animationName).startsWith("attention-")))&&void 0!==i?i:[]};function m(e){let t=e.visible&&!document.hidden,i=s.wpm/180;for(let n of e.animations)if("finished"!==n.playState&&"idle"!==n.playState){if(!t){"paused"!==n.playState&&(n.pause(),e.paused.add(n));continue}Math.abs(n.playbackRate-i)>.002&&n.updatePlaybackRate(i),e.paused.delete(n)&&n.play()}e.element.dataset.readingWpm=s.wpm.toFixed(1)}function c(e){let t={element:e,visible:!1,animations:u(e),paused:new Set};l.add(t);let i=new IntersectionObserver(e=>{t.visible=e[0].isIntersecting,m(t),null==n||n()},{threshold:0});return i.observe(e),()=>{for(let e of(i.disconnect(),l.delete(t),Array.from(t.paused)))"paused"===e.playState&&e.play()}}function p(){let e,t;let i=performance.now(),d=-1/0,c={y:window.scrollY,time:performance.now()},p=()=>{document.documentElement.dataset.attentionWpm=s.wpm.toFixed(1),document.documentElement.dataset.attentionDwell=String(o(s))},f=()=>{if(e=void 0,document.hidden)return;let t=performance.now(),n=Array.from(l).some(e=>e.visible);for(let e of(s=function(e,t,i){if(!Number.isFinite(t)||t<=0)return e;let n=Math.min(t,.5),o=e.activity*Math.exp(-n/2),s=Math.min(60,e.engagedSeconds+(i?n*(1-o):0)),l=s>=60?a.minWpm:a.minWpm+60*Math.exp(-s/18),d=l+(a.maxWpm-l)*o,u=(d-e.wpm)*(1-Math.exp(-n/(d>e.wpm?1.2:6)));return{activity:o,engagedSeconds:s,wpm:r(e.wpm+r(u,-8*n,28*n),a.minWpm,a.maxWpm)}}(s,(t-i)/1e3,n),i=t,Array.from(l)))m(e);p(),(s.activity>.005||n&&(s.engagedSeconds<60||s.wpm>180.1))&&h()},h=()=>{e||document.hidden||(i=performance.now(),e=setTimeout(f,250))};n=h;let b=e=>{var t;t=s,s=Number.isFinite(e)?{...t,activity:Math.max(t.activity,r(e,0,1))}:t,h()},w=e=>{let i=performance.now();t&&i-t.time<80||(t&&i-t.time<1e3&&b(Math.max(0,(Math.hypot(e.clientX-t.x,e.clientY-t.y)
1/(i-t.time)-.15)/1.8)),t={x:e.clientX,y:e.clientY,time:i})},g=()=>{let e=performance.now();b(e-d<450?.85:.15),d=e},v=e=>{var t;(null===(t=e.target)||void 0===t||!t.closest('input, textarea, [contenteditable="true"]'))&&["Tab","Enter"," ","ArrowDown","ArrowUp","PageDown","PageUp"].includes(e.key)&&g()},y=()=>{let e=performance.now(),t=e-c.time;t<80||(t<1e3&&b(Math.abs(window.scrollY-c.y)/t/2),c={y:window.scrollY,time:e})},S=()=>{for(let i of(e&&clearTimeout(e),e=void 0,t=void 0,d=-1/0,c={y:window.scrollY,time:performance.now()},Array.from(l)))m(i);document.hidden||h()},x=matchMedia("(prefers-reduced-motion: reduce)"),R=()=>{for(let e of Array.from(l))e.animations=u(e.element),e.paused.clear(),m(e);h()};return window.addEventListener("pointermove",w,{passive:!0}),window.addEventListener("pointerdown",g,{passive:!0}),window.addEventListener("keydown",v),window.addEventListener("scroll",y,{passive:!0}),document.addEventListener("visibilitychange",S),x.addEventListener("change",R),p(),l.size&&h(),()=>{e&&clearTimeout(e),n=void 0,window.removeEventListener("pointermove",w),window.removeEventListener("pointerdown",g),window.removeEventListener("keydown",v),window.removeEventListener("scroll",y),document.removeEventListener("visibilitychange",S),x.removeEventListener("change",R),delete document.documentElement.dataset.attentionWpm,delete document.documentElement.dataset.attentionDwell}}},1906:function(e){e.exports=JSON.parse('{"site":{"name":"Aditya Arpitha Prasad","tagline":"Cultivating integrity","description":"My name Aditya stands for the Sun","quote":{"text":"Walking the Middle Way","attribution":null}},"footer":{"name":"Aditya","description":"","builtWith":"","social":{"twitter":{"url":"https://twitter.com/adityaarpitha","handle":"Aditya Arpitha"},"github":{"url":"https://github.com/anantham","handle":"anantham"},"linkedin":"https://linkedin.com/in/adityaarpitha","substack":"https://adityaarpitha.substack.com","youtube":"https://youtube.com/@adityaarpitha","telegram":"https://t.me/+QZCiSoVarG49zSQ8"},"contact":{"bookingUrl":"","telegramDM":"https://t.me/anantham"}},"hero":{"title":{"main":"Building Bridges between","highlight":"Niche","suffix":"Subcultures"},"buttons":{"primary":{"text":"Join the Reading List","action":"telegram"},"secondary":{"text":"Explore My Work","action":"scroll_to_projects"}}},"lenses":{"title":"What orients me","subtitle":"","archetypes":[{"id":"lw-math","title":"LW/Math","subtitle":"Rationalist • Systematic","description":"Explore through the lens of rational thought, mathematical models, and systematic approaches to understanding culture and human coordination.","tags":["rationality","systems","models","coordination","lesswrong"]},{"id":"engineer","title":"Applied Engineer","subtitle":"Builder • Pragmatic","description":"Focus on tools, implementations, and practical applications. See how ideas translate into working systems and real-world impact.","tags":["tools","implementation","systems","pragmatic","building"]},{"id":"embodied","title":"Embodied","subtitle":"Somatic • Intuitive","description":"Engage through felt sense, embodied knowledge, and the wisdom that lives in our bodies and nervous systems.","tags":["embodied","somatic","intuitive","feeling","nervous-system"]},{"id":"buddhist","title":"Buddhist-Curious","subtitle":"Contemplative • Seeking","description":"Approach through contemplative practice, the noble truths, and the cultivation of wisdom, compassion, and direct experiential knowledge.","tags":["buddhism","contemplative","dharma","wisdom","practice"]}]},"projects":{"title":"Software that fits","subtitle":""},"writing":{"title":"Recent Writing","subtitle":""},"support":{"title":"Dāna","highlight":"","subtitle":"","closing":{"title":"","text":""}},"physics":{"dharmaWheel":{"visual":{"size":64,"opacity":0.48},"defaultStrategy":"lw-flow","strategies":{"engineer-zen":{"type":"zen","parameters":{"baseSpeed":8.4,"maxTurnRate":1.2,"ema":0.2,"pad":64,"wallK":30000,"tau":8,"sigma":0.8,"breatheAmp":0.08,"breatheHz":0.08,"pauseProbability":0.008,"pauseDuration":{"min":0.4,"max":0.75}
1,"flowStrength":10,"flowScale":0.0012,"flowTimeScale":0.6,"mouseAvoidanceRadius":90,"mouseAvoidanceStrength":16,"mouseCollisionRadius":140,"mouseCollisionDamping":0.6}},"lw-flow":{"type":"flow-field","parameters":{"baseSpeed":72,"curlStrength":28,"noiseScale":0.002,"noiseTimeScale":0.5,"smoothing":0.15,"pad":56,"wallK":24000,"mouseAvoidanceRadius":80,"mouseAvoidanceStrength":18,"mouseCollisionRadius":130,"mouseCollisionDamping":0.6}},"embodied-zen":{"type":"zen","parameters":{"baseSpeed":48,"maxTurnRate":0.35,"ema":0.1,"pad":72,"wallK":26000,"tau":30,"sigma":0.24,"breatheAmp":0.1,"breatheHz":0.06,"pauseProbability":0.012,"pauseDuration":{"min":0.5,"max":0.9},"flowStrength":6,"flowScale":0.001,"flowTimeScale":0.4,"mouseAvoidanceRadius":190,"mouseAvoidanceStrength":130,"mouseCollisionRadius":150,"mouseCollisionDamping":0.55}},"buddhist-zen":{"type":"zen","parameters":{"baseSpeed":40,"maxTurnRate":0.28,"ema":0.12,"pad":80,"wallK":32000,"tau":32,"sigma":0.18,"breatheAmp":0.12,"breatheHz":0.05,"pauseProbability":0.015,"pauseDuration":{"min":0.6,"max":1},"flowStrength":4,"flowScale":0.0008,"flowTimeScale":0.3,"mouseAvoidanceRadius":210,"mouseAvoidanceStrength":140,"mouseCollisionRadius":190,"mouseCollisionDamping":0.55}}},"lensProfiles":{"engineer":{"strategy":"engineer-zen"},"lw-math":{"strategy":"lw-flow"},"embodied":{"strategy":"embodied-zen"},"buddhist":{"strategy":"buddhist-zen"}},"defaultUnoriented":{"strategy":"buddhist-zen","parameters":{"orbitCenterX":0.5,"orbitCenterY":0.45,"orbitRadius":300,"orbitMinRadius":240,"orbitRadiusDriftAmp":40,"orbitRadiusDriftHz":0.006,"orbitBuildUpAmp":0,"orbitBuildUpPeriod":0,"orbitRadialGain":0.07,"orbitTangentialSpeed":28,"orbitBlend":0.5,"minTurnRate":0.03,"turnPersistence":36,"turnJitter":0.005,"turnCentering":0.12}},"orientationProfiles":{"being":{"strategy":"buddhist-zen","parameters":{"orbitCenterX":0.5,"orbitCenterY":0.38,"orbitRadius":340,"orbitMinRadius":270,"orbitRadiusDriftAmp":55,"orbitRadiusDriftHz":0.0042,"orbitBuildUpAmp":0,"orbitBuildUpPeriod":0,"orbitRadialGain":0.06,"orbitTangentialSpeed":20,"orbitBlend":0.48,"minTurnRate":0.03,"turnPersistence":40,"turnJitter":0.004,"turnCentering":0.1}},"doing":{"strategy":"embodied-zen","parameters":{"orbitCenterX":0.58,"orbitCenterY":0.52,"orbitRadius":230,"orbitMinRadius":200,"orbitRadiusDriftAmp":20,"orbitRadiusDriftHz":0.014,"orbitBuildUpAmp":0,"orbitBuildUpPeriod":0,"orbitRadialGain":0.16,"orbitTangentialSpeed":68,"orbitBlend":0.68,"minTurnRate":0.12,"turnPersistence":12,"turnJitter":0.012,"turnCentering":0.35}},"becoming":{"strategy":"embodied-zen","parameters":{"orbitCenterX":0.44,"orbitCenterY":0.62,"orbitRadius":240,"orbitMinRadius":210,"orbitRadiusDriftAmp":15,"orbitRadiusDriftHz":0.009,"orbitBuildUpAmp":110,"orbitBuildUpPeriod":45,"orbitRadialGain":0.13,"orbitTangentialSpeed":42,"orbitBlend":0.62,"minTurnRate":0.07,"turnPersistence":22,"turnJitter":0.008,"turnCentering":0.28}}}}},"lensMapping":{"lw-math":{"projectOrder":["lexion","mapping-tpot","threads"],"writingTags":["rationality","systems","models"],"emphasize":"systematic approaches and rational frameworks"},"engineer":{"projectOrder":["lexion","threads","mapping-tpot"],"writingTags":["tools","implementation","building"],"emphasize":"practical applications and working systems"},"embodied":{"projectOrder":["threads","lexion","mapping-tpot"],"writingTags":["embodied","somatic","practice"],"emphasize":"felt experience and embodied wisdom"},"buddhist":{"projectOrder":["threads","mapping-tpot","lexion"],"writingTags":["buddhism","contemplative","dharma"],"emphasize":"contemplative practice and wisdom cultivation"}}}')}}]);

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.