1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[384],{5447:function(e,t,n){let r,i;n.d(t,{v:function(){return D}});var o=n(3078),l=n(3576),s=n(2265),f=n(2035),u=n(5699),c=n(6277),a=n(5414);function g(e,t){let n;let r=()=>{let{currentTime:r}=t,i=(null===r?0:r.value)/100;n!==i&&e(i),n=i};return a.Wi.update(r,!0),()=>(0,a.Pn)(r)}let d=new WeakMap;function h({target:e,contentRect:t,borderBoxSize:n}){var r;null===(r=d.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 p(e){e.forEach(h)}let m=new Set;var y=n(1645),v=n(4438);let w=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),E=()=>({time:0,x:w(),y:w()}),W={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function x(e,t,n,r){let i=n[t],{length:o,position:l}=W[t],s=i.current,f=n.time;i.current=e[`scroll${l}`],i.scrollLength=e[`scroll${o}`]-e[`client${o}`],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=(0,y.Y)(0,i.scrollLength,i.current);let u=r-f;i.velocity=u>50?0:(0,v.R)(i.current-s,u)}var L=n(9111),B=n(8843),b=n(8913);let S={start:0,center:.5,end:1};function z(e,t,n=0){let r=0;if(e in S&&(e=S[e]),"string"==typeof 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"number"==typeof e&&(r=t*e),n+r}let H=[0,0],O=[[0,0],[1,1]],k={x:0,y:0},N=new WeakMap,X=new WeakMap,P=new WeakMap,R=e=>e===document.documentElement?window:e;function T(e,{container:t=document.documentElement,...n}={}){let o=P.get(t);o||(o=new Set,P.set(t,o));let l=function(e,t,n,r={}){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=>{x(e,"x",n,t),x(e,"y",n,t),n.time=t,(r.offset||r.target)&&function(e,t,n){let{offset:r=O}=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("svg"===r.tagName){let e=r.getBoundingClientRect(),t=(r=r.parentElement).getBoundingClientRect();n.x+=e.left-t.left,n.y+=e.top-t.top}else if(r instanceof SVGGraphicsElement){let{x:e,y:t}=r.getBBox();n.x+=e,n.y+=t;let i=null,o=r.parentNode;for(;!i;)"svg"===o.tagName&&(i=o),o=r.parentNode;r=i}else break;return n}(i,e):k,f=i===e?{width:e.scrollWidth,height:e.scrollHeight}:"getBBox"in i&&"svg"!==i.tagName?i.getBBox():{width:i.clientWidth,height:i.clientHeight},u={width:e.clientWidth,height:e.clientHeight};t[o].offset.length=0;let c=!t[o].interpolate,a=r.length;for(let e=0;e<a;e++){let n=function(e,t,n,r){let i=Array.isArray(e)?e:H,o=0;return"number"==typeof e?i=[e,e]:"string"==typeof e&&(i=(e=e.trim()).includes(" ")?e.split(" "):[e,S[e]?e:"0"]),z(i[0],n,r)-z(i[1],t)}(r[e],u[l],f[l],s[o]);c||n===t[o].interpolatorOffsets[e]||(c=!0),t[o].offset[e]=n}c&&(t[o].interpolate=(0,B.s)(t[o].offset,(0,b.Y)(r),{clamp:!1}),t[o].interpolatorOffsets=[...t[o].offset]),t[o].progress=(0,L.u)(0,1,t[o].interpolate(t[o].current))}(e,n,r)},notify:()=>t(n)}}(t,e,E(),n);if(o.add(l),!N.has(t)){let e=()=>{for(let e of o)e.measure()},n=()=>{for(let e of o)e.update(a.frameData.timestamp)},l=()=>{for(let e of o)e.notify()},s=()=>{a.Wi.read(e,!1,!0),a.Wi.read(n,!1,!0),a.Wi.update(l,!1,!0)};N.set(t,s);let f=R(t);window.addEventListener("resize",s,{passive:!0}),t!==document.documentElement&&X.set(t,"function"==typeof t?(m.add(t),i||(i=()=>{let e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};
1m.forEach(e=>e(t))},window.addEventListener("resize",i)),()=>{m.delete(t),!m.size&&i&&(i=void 0)}):function(e,t){r||"undefined"==typeof ResizeObserver||(r=new ResizeObserver(p));let n=(0,u.IG)(e);return n.forEach(e=>{let n=d.get(e);n||(n=new Set,d.set(e,n)),n.add(t),null==r||r.observe(e)}),()=>{n.forEach(e=>{let n=d.get(e);null==n||n.delete(t),(null==n?void 0:n.size)||null==r||r.unobserve(e)})}}(t,s)),f.addEventListener("scroll",s,{passive:!0})}let s=N.get(t);return a.Wi.read(s,!1,!0),()=>{var e;(0,a.Pn)(s);let n=P.get(t);if(!n||(n.delete(l),n.size))return;let r=N.get(t);N.delete(t),r&&(R(t).removeEventListener("scroll",r),null===(e=X.get(t))||void 0===e||e(),window.removeEventListener("resize",r))}}let Y=new Map;function C({source:e,container:t=document.documentElement,axis:n="y"}={}){e&&(t=e),Y.has(t)||Y.set(t,{});let r=Y.get(t);return r[n]||(r[n]=(0,u.tn)()?new ScrollTimeline({source:t,axis:n}):function({source:e,container:t,axis:n="y"}){e&&(t=e);let r={value:0},i=T(e=>{r.value=100*e[n].progress},{container:t,axis:n});return{currentTime:r,cancel:i}}({source:t,axis:n})),r[n]}function M(e){return e&&(e.target||e.offset)}var _=n(1534);function G(e,t){(0,f.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 $=()=>({scrollX:(0,o.BX)(0),scrollY:(0,o.BX)(0),scrollXProgress:(0,o.BX)(0),scrollYProgress:(0,o.BX)(0)});function D({container:e,target:t,layoutEffect:n=!0,...r}={}){let i=(0,l.h)($);return(n?_.L:s.useEffect)(()=>(G("target",t),G("container",e),function(e,{axis:t="y",...n}={}){let r={axis:t,...n};return"function"==typeof e?2===e.length||M(r)?T(t=>{e(t[r.axis].progress,t)},r):g(e,C(r)):function(e,t){if(e.flatten(),M(t))return e.pause(),T(n=>{e.time=e.duration*n[t.axis].progress},t);{let n=C(t);return e.attachTimeline?e.attachTimeline(n,e=>(e.pause(),g(t=>{e.time=e.duration*t},n))):c.Z}}(e,r)}((e,{x:t,y:n})=>{i.scrollX.set(t.current),i.scrollXProgress.set(t.progress),i.scrollY.set(n.current),i.scrollYProgress.set(n.progress)},{...r,container:(null==e?void 0:e.current)||void 0,target:(null==t?void 0:t.current)||void 0})),[e,t,JSON.stringify(r.offset)]),i}},5584:function(e,t,n){n.d(t,{q:function(){return g}});var r=n(2265),i=n(768),o=n(5750),l=n(1534),s=n(3078),f=n(3576),u=n(3999),c=n(5414);function a(e){return"number"==typeof e?e:parseFloat(e)}function g(e,t={}){let{isStatic:n}=(0,r.useContext)(o._),g=(0,r.useRef)(null),d=function(e){let t=(0,f.h)(()=>(0,s.BX)(e)),{isStatic:n}=(0,r.useContext)(o._);if(n){let[,n]=(0,r.useState)(e);(0,r.useEffect)(()=>t.on("change",n),[])}return t}((0,u.i)(e)?a(e.get()):e),h=(0,r.useRef)(d.get()),p=(0,r.useRef)(()=>{}),m=()=>{let e=g.current;e&&0===e.time&&e.sample(c.frameData.delta),y(),g.current=(0,i.y)({keyframes:[d.get(),h.current],velocity:d.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...t,onUpdate:p.current})},y=()=>{g.current&&g.current.stop()};return(0,r.useInsertionEffect)(()=>d.attach((e,t)=>n?t(e):(h.current=e,p.current=t,c.Wi.update(m),d.get()),y),[JSON.stringify(t)]),(0,l.L)(()=>{if((0,u.i)(e))return e.on("change",e=>d.set(a(e)))},[d]),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.