PageSourceSearch

https://www.theculinistas.com/_next/static/chunks/24-c65e5419ae27e180.js

js theculinistas.com collected 2026-10-04 16:35:42 UTC 6,008 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[24],{40024:function(e,t,n){let r,i;n.d(t,{v:function(){return D}});var o=n(87768),l=n(5409);let s=new WeakMap;function f({target:e,contentRect:t,borderBoxSize:n}){var r;null===(r=s.get(e))||void 0===r||r.forEach(r=>{r({target:e,contentSize:t,get size(){return function(e,t){if(t){let{inlineSize:e,blockSize:n}=t[0];return{width:e,height:n}}return e instanceof SVGElement&&"getBBox"in e?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}}(e,n)}})})}function a(e){e.forEach(f)}let c=new Set;var u=n(62772);let h=(e,t,n)=>t-e==0?1:(n-e)/(t-e),d=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),g=()=>({time:0,x:d(),y:d()}),p={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function v(e,t,n,r){var i;let o=n[t],{length:l,position:s}=p[t],f=o.current,a=n.time;o.current=e["scroll"+s],o.scrollLength=e["scroll"+l]-e["client"+l],o.offset.length=0,o.offset[0]=0,o.offset[1]=o.scrollLength,o.progress=h(0,o.scrollLength,o.current);let c=r-a;o.velocity=c>50?0:(i=o.current-f,c?1e3/c*i:0)}let m=e=>e,w=(e,t,n)=>-n*e+n*t+e;function y(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=h(0,t,r);e.push(w(n,1,i))}}function E(e){let t=[0];return y(t,e-1),t}let L=e=>"number"==typeof e,x=e=>Array.isArray(e)&&!L(e[0]),W=(e,t,n)=>{let r=t-e;return((n-e)%r+r)%r+e},B=(e,t,n)=>Math.min(Math.max(n,e),t),b=[[0,0],[1,1]],z=e=>"string"==typeof e,H={start:0,center:.5,end:1};function O(e,t,n=0){let r=0;if(void 0!==H[e]&&(e=H[e]),z(e)){let t=parseFloat(e);e.endsWith("px")?r=t:e.endsWith("%")?e=t/100:e.endsWith("vw")?r=t/100*document.documentElement.clientWidth:e.endsWith("vh")?r=t/100*document.documentElement.clientHeight:e=t}return L(e)&&(r=t*e),n+r}let k=[0,0],S={x:0,y:0},T=new WeakMap,M=new WeakMap,A=new WeakMap,P=e=>e===document.documentElement?window:e;var N=n(38860),Y=n(39658),_=n(52983),X=n(60694),F=n(56821);function G(e,t){(0,X.K)(!!(!t||t.current),`You have defined a ${e} options but the provided ref is not yet hydrated, probably because it's defined higher up the tree. Try calling useScroll() in the same component as the ref, or setting its \`layoutEffect: false\` option.`)}let C=()=>({scrollX:(0,N.B)(0),scrollY:(0,N.B)(0),scrollXProgress:(0,N.B)(0),scrollYProgress:(0,N.B)(0)});function D({container:e,target:t,layoutEffect:n=!0,...f}={}){let d=(0,Y.h)(C);return(n?F.L:_.useEffect)(()=>(G("target",t),G("container",e),function(e,t={}){var{container:n=document.documentElement}=t,f=(0,o._T)(t,["container"]);let d=A.get(n);d||(d=new Set,A.set(n,d));let p=function(e,t,n,r={}){var i;let o=r.axis||"y";return{measure:()=>(function(e,t=e,n){if(n.x.targetOffset=0,n.y.targetOffset=0,t!==e){let r=t;for(;r&&r!=e;)n.x.targetOffset+=r.offsetLeft,n.y.targetOffset+=r.offsetTop,r=r.offsetParent}n.x.targetLength=t===e?t.scrollWidth:t.clientWidth,n.y.targetLength=t===e?t.scrollHeight:t.clientHeight,n.x.containerLength=e.clientWidth,n.y.containerLength=e.clientHeight})(e,r.target,n),update:t=>{v(e,"x",n,t),v(e,"y",n,t),n.time=t,(r.offset||r.target)&&function(e,t,n){let{offset:r=b}=n,{target:i=e,axis:o="y"}=n,l="y"===o?"height":"width",s=i!==e?function(e,t){let n={x:0,y:0},r=e;for(;r&&r!==t;)if(r instanceof HTMLElement)n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if(r instanceof SVGGraphicsElement&&"getBBox"in r){let{top:e,left:t}=r.getBBox();for(n.x+=t,n.y+=e;r&&"svg"!==r.tagName;)r=r.parentNode}return n}(i,e):S,f=i===e?{width:e.scrollWidth,height:e.scrollHeight}:{width:i.clientWidth,height:i.clientHeight},a={width:e.clientWidth,height:e.clientHeight};t[o].offset.length=0;let c=!t[o].interpolate,u=r.length;for(let e=0;e<u;e++){let n=function(e,t,n,r){let i=Array.isArray(e)?e:k,o=0;return L(e)?i=[e,e]:z(e)&&(i=(e=e.trim()).includes(" ")?e.split(" "):[e,H[e]?e:"0"]),O(i[0],n,r)-O(i[1],t)}(r[e],a[l],f[l],s[o]);c||n===t[o].interpolatorOffsets[e]||(c=!0),t[o].offset[e]=n}c&&(t[o].interpolate=function(e,t=E(e.length),n=m){let r=e.length,i=r-t.length;return i>0&&y(t,i),i=>{var o;let l=0;for(;l<r-2&&!(i<t[l+1]);l++);let s=B(0,1,h(t[l],t[l+1],i));return s=(o=l,x(n)?n[W(0,n.length,o)]:n)(s),w(e[l],e[l+1],s)}}
1(E(u),t[o].offset),t[o].interpolatorOffsets=[...t[o].offset]),t[o].progress=t[o].interpolate(t[o].current)}(e,n,r)},notify:(0,u.m)(t)?()=>t(n):(i=n[o],t.pause(),t.forEachNative((e,{easing:t})=>{var n,r;if(e.updateDuration)t||(e.easing=m),e.updateDuration(1);else{let i={duration:1e3};t||(i.easing="linear"),null===(r=null===(n=e.effect)||void 0===n?void 0:n.updateTiming)||void 0===r||r.call(n,i)}}),()=>{t.currentTime=i.progress})}}(n,e,g(),f);if(d.add(p),!T.has(n)){let e=()=>{let e=performance.now();for(let e of d)e.measure();for(let t of d)t.update(e);for(let e of d)e.notify()};T.set(n,e);let t=P(n);window.addEventListener("resize",e,{passive:!0}),n!==document.documentElement&&M.set(n,(0,u.m)(n)?(c.add(n),i||(i=()=>{let e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};c.forEach(e=>e(t))},window.addEventListener("resize",i)),()=>{c.delete(n),!c.size&&i&&(i=void 0)}):function(e,t){r||"undefined"==typeof ResizeObserver||(r=new ResizeObserver(a));let n=(0,l.I)(e);return n.forEach(e=>{let n=s.get(e);n||(n=new Set,s.set(e,n)),n.add(t),null==r||r.observe(e)}),()=>{n.forEach(e=>{let n=s.get(e);null==n||n.delete(t),(null==n?void 0:n.size)||null==r||r.unobserve(e)})}}(n,e)),t.addEventListener("scroll",e,{passive:!0})}let N=requestAnimationFrame(T.get(n));return()=>{var t;"function"!=typeof e&&e.stop(),cancelAnimationFrame(N);let r=A.get(n);if(!r||(r.delete(p),r.size))return;let i=T.get(n);T.delete(n),i&&(P(n).removeEventListener("scroll",i),null===(t=M.get(n))||void 0===t||t(),window.removeEventListener("resize",i))}}(({x:e,y:t})=>{d.scrollX.set(e.current),d.scrollXProgress.set(e.progress),d.scrollY.set(t.current),d.scrollYProgress.set(t.progress)},{...f,container:(null==e?void 0:e.current)||void 0,target:(null==t?void 0:t.current)||void 0})),[]),d}}}]);

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.