PageSourceSearch

https://www.oatly.com/_next/static/chunks/930.49a70a8fa5bc01e5.js

js oatly.com collected 2026-10-02 02:19:25 UTC 2,284 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[930],{10930:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(6029),o=r(32988),s=r.n(o),u=r(55729);let i=({native_cursor_image:e,native_link_cursor_image:t,large_cursor_image:r,storyblokEditableAttributes:o})=>{let[i,a]=(0,u.useState)({x:0,y:0}),[l,d]=(0,u.useState)(!1),[m,c]=(0,u.useState)(!1),v=()=>d(!1),f=()=>d(!0),y=e=>{a({x:e.clientX,y:e.clientY})};return((0,u.useEffect)(()=>(!m&&r?.filename&&(document.addEventListener("mousemove",y),document.body.addEventListener("mouseenter",v),document.body.addEventListener("mouseleave",f)),()=>void(document.removeEventListener("mousemove",y),document.body.removeEventListener("mouseenter",v),document.body.removeEventListener("mouseleave",f))),[r]),(0,u.useEffect)(()=>{let e=()=>{c(!0),window.removeEventListener("touchstart",e,!1)};return window.addEventListener("touchstart",e,!1),()=>window?.removeEventListener("touchstart",e)},[r,e]),(0,u.useEffect)(()=>{if(!m){let r,n;e?.filename&&(r=e.filename,document.documentElement.style.setProperty("--native-cursor-url",`url(${r})`),document.body.classList.add("has-nativeCustomCursor")),t?.filename&&(n=t.filename,document.documentElement.style.setProperty("--native-link-cursor-url",`url(${n})`),document.body.classList.add("has-nativeCustomLinkCursor"))}return()=>{document.body.classList.remove("has-nativeCustomCursor"),document.body.classList.remove("has-nativeCustomLinkCursor")}},[e,t]),m)?null:r?.filename?(0,n.jsx)("div",{className:s()("LargeCustomCursor",{"LargeCustomCursor--hidden":l}),style:{left:i.x,top:i.y},...o,children:(0,n.jsx)("img",{src:r?.filename,alt:r?.alt})}):null}},32988:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=s(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=s(t,r));return t}(r)))}return e}function s(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(r=(function(){return o}).apply(t,[]))||(e.exports=r)}()}}]);

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.