PageSourceSearch

https://roccohuntofficial.com/_next/static/chunks/43-cbf8bb5ca99c17aa.js?dpl=dpl_EgnhT94CS4kvVYLw4RrWCCZhWq8x

js roccohuntofficial.com collected 2026-10-02 22:38:19 UTC 12,221 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[43],{3505:function(){AFRAME.registerComponent("confirmation-window",{schema:{testoconferma:{type:"string",default:""},customevent:{type:"string",default:"conferma"}},init:function(){let e=this.el,t=this.data;window.matchMedia("(prefers-color-scheme: dark)").matches,e.addEventListener("click",()=>{let i=document.createElement("div");i.setAttribute("id","confirmation-overlay"),i.style.position="fixed",i.style.top="0",i.style.left="0",i.style.width="100%",i.style.height="100%",i.style.backgroundColor="rgba(0, 0, 0, 0.5)",i.style.backdropFilter="blur(5px)",i.style.webkitBackdropFilter="blur(5px)",i.style.display="flex",i.style.justifyContent="center",i.style.alignItems="center",i.style.zIndex="9999";let n=CSS.supports("backdrop-filter","blur(5px)"),s=CSS.supports("-webkit-backdrop-filter","blur(5px)");n||s||(i.style.backgroundColor="rgba(0, 0, 0, 0.8)");let o=document.createElement("div");o.style.width="90vw",o.style.maxWidth="400px",o.style.borderRadius="10px",o.style.padding="20px",o.style.display="flex",o.style.flexDirection="column",o.style.alignItems="center";let a=document.createElement("div");a.innerText=t.testoconferma,a.style.color="white",a.style.fontSize="18px",a.style.marginBottom="20px",a.style.textAlign="center";let r=document.createElement("div");r.style.display="flex",r.style.justifyContent="space-between",r.style.width="100%";let l=document.createElement("button");l.innerText="Si",l.style.margin="10px",l.style.padding="10px 10px",l.style.fontSize="16px",l.style.color="white",l.style.backgroundColor="#0A0A0A",l.style.borderRadius="10px",l.style.clipPath="pol
1ygon(20% 0%, 80% 0%, 100% 100%, 0% 100%)",l.style.cursor="pointer",l.style.flex="1",l.style.marginRight="5px",l.style.transition="all 0.3s ease",l.addEventListener("mouseenter",()=>{l.style.color="#00ffff",l.style.transform="scale(1.1)"}),l.addEventListener("mouseleave",()=>{l.style.color="white",l.style.transform="scale(1)"});let d=document.createElement("button");d.innerText="No",d.style.margin="10px",d.style.padding="10px 10px",d.style.fontSize="16px",d.style.color="white",d.style.backgroundColor="#0A0A0A",d.style.borderRadius="10px",d.style.clipPath="polygon(0% 0%, 100% 0%, 80% 100%, 20% 100%)",d.style.cursor="pointer",d.style.flex="1",d.style.marginRight="5px",d.style.transition="all 0.3s ease",d.addEventListener("mouseenter",()=>{d.style.color="#00ffff",d.style.transform="scale(1.1)"}),d.addEventListener("mouseleave",()=>{d.style.color="white",d.style.transform="scale(1)"}),r.appendChild(l),r.appendChild(d),o.appendChild(a),o.appendChild(r),i.appendChild(o),document.body.appendChild(i),l.addEventListener("click",()=>{document.body.removeChild(i);let n=new CustomEvent(t.customevent,{bubbles:!0,detail:{id:e.id}});e.dispatchEvent(n)}),d.addEventListener("click",()=>{document.body.removeChild(i)})})}})},645:function(){AFRAME.registerComponent("custom-camera-controls",{schema:{enabled:{type:"boolean",default:!0},sensitivity:{type:"number",default:.2},sensitivityTouch:{type:"number",default:.4},damping:{type:"number",default:.9},inertia:{type:"number",default:.02},resetTimeout:{type:"number",default:1e3},resetSpeed:{type:"number",default:2},xRotationFactor:{type:"number",default:0}},init:function(){this.rotationVelocity={x:0,y:0},this.mouseDown=!1,this.touchStarted=!1,this.previousEvent={x:0,y:0},this.resetTimer=null,this.isAnimating=!1,this.bindMethods(),this.addEventListeners()},bindMethods:function(){this.onMouseDown=this.onMouseDown.bind(this),this.onMouseMove=this.onMouseMove.bind(this),this.onMouseUp=this.onMouseUp.bind(this),this.onTouchStart=this.onTouchStart.bind(this),this.onTouchMove=this.onTouchMove.bind(this),this.onTouchEnd=this.onTouchEnd.bind(this),this.resetCameraRotation=this.resetCameraRotation.bind(this),this.cancelAnimation=this.cancelAnimation.bind(this)},addEventListeners:function(){let e=this.el.sceneEl.canvas;e.addEventListener("mousedown",this.onMouseDown,!1),window.addEventListener("mousemove",this.onMouseMove,!1),window.addEventListener("mouseup",this.onMouseUp,!1),e.addEventListener("touchstart",this.onTouchStart,{passive:!0}),window.addEventListener("touchmove",this.onTouchMove,{passive:!0}),window.addEventListener("touchend",this.onTouchEnd,{passive:!0})},onMouseDown:function(e){this.data.enabled&&(this.mouseDown=!0,this.previousEvent.x=e.clientX,this.previousEvent.y=e.clientY,this.cancelAnimation(),this.clearResetTimer())},onMouseMove:function(e){if(!this.mouseDown||!this.data.enabled)return;let t=e.clientX-this.previousEvent.x,i=e.clientY-this.previousEvent.y;this.rotationVelocity.y+=.002*t*this.data.sensitivity,this.rotationVelocity.x+=.002*i*this.data.sensitivity,this.previousEvent.x=e.clientX,this.previousEvent.y=e.clientY,this.cancelAnimation(),this.clearResetTimer(),this.startResetTimer()},onMouseUp:function(){this.data.enabled&&(this.mouseDown=!1,this.startResetTimer())},onTouchStart:function(e){1===e.touches.length&&this.data.enabled&&(this.touchStarted=!0,this.previousEvent.x=e.touches[0].pageX,this.previousEvent.y=e.touches[0].pageY,this.cancelAnimation(),this.clearResetTimer())},onTouchMove:function(e){if(!this.touchStarted||!this.data.enabled)return;let t=e.touches[0].pageX-this.previousEvent.x,i=e.touches[0].pageY-this.previousEvent.y;this.rotationVelocity.y+=.002*t*this.data.sensitivityTouch,this.rotationVelocity.x+=.002*i*this.data.sensitivityTouch,this.previousEvent.x=e.touches[0].pageX,this.previousEvent.y=e.touches[0].pageY,this.cancelAnimation(),this.clearResetTimer(),this.startResetTimer()},onTouchEnd:function(){this.data.enabled&&(this.touchStarted=!1,this.startResetTimer())},startResetTimer:function(){this.data.enabled&&(this.clearResetTimer(),this.resetTimer=setTimeout(this.resetCameraRotation,this.data.resetTimeout))},clearResetTimer:function(){this.resetTimer&&(clearTimeout(this.resetTimer),this.resetTimer=null)},cancelAnimation:function(){this.isAnimating=!1},resetCameraRotation:function(){let e;if(!this.data.enabled)return;let t=this.el.object3D.rotation.x,i=this.el.object3D.rotation.z,n=this.data.xRotationFactor,s=1e3*this.data.resetSpeed;this.isAnimating=!0;let o=e=>e<.5?2*e*e:-1+(4-2*e)*e,a=r=>{if(!this.isAnimating)return;e||(e=r);let l=Math.min((r-e)/s,1),d=o(l);this.el.object3D.rotation.x=t+(n-t)*d,this.el.object3D.rotation.z=i+(n-i)*d,l<1?requestAnimationFrame(a):this.isAnimating=!1};requestAnimationFrame(a)},tick:function(e,t){this.data.enabled&&(this.el.object3D.rotation.y+=this.rotationVelocity.y,this.el.object3D.rotation.x+=this.rotationVelocity.x,this.el.object3D.rotation.x=Math.max(-Math.PI/2,Math.min(Math.PI/2,this.el.object3D.rotation.x)),this.rotationVelocity.y*=this.data.damping,this.rotationVelocity.x*=this.data.damping,this.rotationVelocity.y+=this.rotationVelocity.y*this.data.inertia,this.rotationVelocity.x+=this.rotationVelocity.x*this.data.inertia)},remove:function(){this.clearResetTimer();let e=this.el.sceneEl.canvas;e.removeEventListener("mousedown",this.onMouseDown),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("mouseup",this.onMouseUp),e.removeEventListener("touchstart",this.onTouchStart),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)}})},6913:function(){AFRAME.registerComponent("popup-animation",{init:function(){var e=this.el;e.setAttribute("scale","1 0 1"),e.setAttribute("material","opacity",1),this.animateScaleUp()},animateScaleUp:function(){var e=this.el,t=this;e.setAttribute("animation__scaleup",{property:"scale",from:"1 0 1",to:"1 1 1",dur:1e3,easing:"easeInOutQuad",autoplay:!0}),e.addEventListener("animationcomplete__scaleup",function(){setTimeout(function(){t.animateBlink()},2e3)},{once:!0})},animateBlink:function(){var e=this.el,t=this;e.setAttribute("animation__blink",{property:"material.opacity",from:1,to:0,dur:500,dir:"alternate",loop:2,easing:"linear",autoplay:!0}),e.addEventListener("animationcomplete__blink",function(){setTimeout(function(){t.animateScaleDown()},1e3)},{once:!0})},animateScaleDown:function(){var e=this.el,t=this;e.setAttribute("animation__scaledown",{property:"scale",from:"1 1 1",to:"0 1 1",dur:1e3,easing:"easeInOutQuad",autoplay:!0}),e.addEventListener("animationcomplete__scaledown",function(){setTimeout(function(){e.removeAttribute("animation__scaleup"),e.removeAttribute("animation__blink"),e.removeAttribute("animation__scaledown"),t.init()},1e3)},{once:!0})}})},9459:function(e,t,i){"use strict";i.r(t),i.d(t,{initPostprocessingSystem:function(){return m}});var n=i(2079),s=i(9033),o=i(9520),a=i(9926),r=i(4364),l=i(7248),d=i(4560),c=i(7187),h=i(9620),u=i(4035);let m=()=>{"undefined"==typeof AFRAME||AFRAME.systems.postprocessing||AFRAME.registerSystem("postprocessing",{schema:{},init(){this.sceneEl=this.el,this._enabled=!0,this.setupPostprocessing=this.setupPostprocessing.bind(this),this.sceneEl.renderStarted?this.setupPostprocessing():this.sceneEl.addEventListener("renderstart",this.setupPostprocessing,{once:!0})},setupPostprocessing(){var e,t;let{renderer:i,object3D:m}=this.sceneEl,p=this.sceneEl.camera;if(!i||!m||!p){console.warn("[postprocessing] Renderer, scene o camera non pronti.");return}let v=new s.x(i);this.composer=v;let y=new o.C(m,p);v.addPass(y);let f=new l.t(.3,.025,648,!1);v.addPass(f);let b=new a.T(d.E);b.uniforms.offset.value=1.05,b.uniforms.darkness.value=1.01;let w=new a.T(c.y);w.uniforms.amount.value=.01;let g=new u.C;g.enabled=!1,g.dtSize=10,v.addPass(g);let E=new r.m(new n.FM8(window.innerWidth,window.innerHeight),.1,1.2,.08);v.addPass(E);let x=new h.d(window.innerWidth*i.getPixelRatio(),window.innerHeight*i.getPixelRatio()),T=()=>{let e=window.innerWidth,t=window.innerHeight;v.setSize(e,t),E.setSize(1*e,1*t),x.setSize&&x.setSize(e,t)};T(),window.addEventListener("resize",T),null===(t=i.xr)||void 0===t||null===(e=t.addEventListener)||void 0===e||e.call(t,"sessionstart",T),this._origRender||(this._origRender=i.render.bind(i));let A=!1;i.render=(e,t)=>{if(!this._enabled){this._origRender(e,t);return}A?this._origRender(e,t):(A=!0,v.render(),A=!1)};let M=()=>g.enabled=!0,S=()=>g.enabled=!1;window.addEventListener("glitchcall",M),window.addEventListener("stopglitch",S),window.addEventListener("standup",S),this._cleanup=()=>{window.removeEventListener("resize",T),window.removeEventListener("glitchcall",M),window.removeEventListener("stopglitch",S),window.removeEventListener("standup",S),i.render=this._origRender},this.passes={renderPass:y,bloomPass:E,filmPass:f,vignettePass:b,sepiaPass:w,glitchPass:g,smaaPass:x}},enable(){this._enabled=!0},disable(){this._enabled=!1},remove(){var e;this.disable(),null===(e=this._cleanup)||void 0===e||e.call(this)}})}},9323:function(){AFRAME.registerShader("scanline-shader",{schema:{opacity:{type:"number",default:.5},lineDensity:{type:"number",default:100},speed:{type:"number",default:1}},vertexShader:"\n      varying vec2 vUv;\n      void main() {\n        vUv = uv;\n        gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n      }\n    ",fragmentShader:"\n      varying vec2 vUv;\n      uniform float opacity;\n      uniform float lineDensity;\n      uniform float time; // Tempo fornito manualmente\n      uniform float speed; // Velocit\xe0 dell'animazione\n  \n      void main() {\n        // Sposta verticalmente le scanlines in base al tempo\n        float movingLine = step(0.5, mod(vUv.y * lineDensity + time * speed, 1.0
1));\n        vec3 color = vec3(1.0, 1.0, 1.0) * movingLine;\n  \n        // Applica l'opacit\xe0 al colore finale\n        gl_FragColor = vec4(color, opacity);\n      }\n    ",init:function(e){this.startTime=Date.now(),this.material=new THREE.ShaderMaterial({transparent:!0,uniforms:{opacity:{value:e.opacity},lineDensity:{value:e.lineDensity},time:{value:0},speed:{value:e.speed}},vertexShader:this.vertexShader,fragmentShader:this.fragmentShader}),this.animate()},animate:function(){let e=()=>{let t=(Date.now()-this.startTime)/1e3;this.material.uniforms.time.value=t,requestAnimationFrame(e)};e()},update:function(e){this.material.uniforms.opacity.value=e.opacity,this.material.uniforms.lineDensity.value=e.lineDensity,this.material.uniforms.speed.value=e.speed}})}}]);

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.