PageSourceSearch

https://spoki.com/_next/static/chunks/41173-06f2fedd334ad045.js?dpl=dpl_DayizpE6iqwTHaVJuS1NLSsS5pJ1

js spoki.com collected 2026-10-03 21:26:46 UTC 6,622 bytes, 9 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[41173],{46429:(e,t,n)=>{n.d(t,{Wx:()=>c});var r=n(12115),o=Object.defineProperty,i=new Map,s=new WeakMap,l=0,u=void 0;function c(){var e;let{threshold:t,delay:n,trackVisibility:o,rootMargin:c,root:f,triggerOnce:a,skip:d,initialInView:h,fallbackInView:p,onChange:g}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[m,v]=r.useState(null),y=r.useRef(g),[b,w]=r.useState({inView:!!h,entry:void 0});y.current=g,r.useEffect(()=>{let e;if(!d&&m)return e=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:u;if(void 0===window.IntersectionObserver&&void 0!==r){let o=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:o,intersectionRect:o,rootBounds:o}),()=>{}}let{id:o,observer:c,elements:f}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var n;return`${t}_${"root"===t?!(n=e.root)?"0":(s.has(n)||(l+=1,s.set(n,l.toString())),s.get(n)):e[t]}`}).toString(),n=i.get(t);if(!n){let r,o=new Map,s=new IntersectionObserver(t=>{t.forEach(t=>{var n;let i=t.isIntersecting&&r.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=i),null==(n=o.get(t.target))||n.forEach(e=>{e(i,t)})})},e);r=s.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:s,elements:o},i.set(t,n)}return n}(n),a=f.get(e)||[];return f.has(e)||f.set(e,a),a.push(t),c.observe(e),function(){a.splice(a.indexOf(t),1),0===a.length&&(f.delete(e),c.unobserve(e)),0===f.size&&(c.disconnect(),i.delete(o))}}(m,(t,n)=>{w({inView:t,entry:n}),y.current&&y.current(t,n),n.isIntersecting&&a&&e&&(e(),e=void 0)},{root:f,rootMargin:c,threshold:t,trackVisibility:o,delay:n},p),()=>{e&&e()}},[Array.isArray(t)?t.toString():t,m,f,c,a,d,o,p,n]);let E=null==(e=b.entry)?void 0:e.target,x=r.useRef(void 0);m||!E||a||d||x.current===E||(x.current=E,w({inView:!!h,entry:void 0}));let C=[v,b.inView,b.entry];return C.ref=C[0],C.inView=C[1],C.entry=C[2],C}r.Component},68329:(e,t,n)=>{n.d(t,{N:()=>y});var r=n(95155),o=n(12115),i=n(60296),s=n(94416),l=n(46436),u=n(59686),c=n(81402),f=n(53127);function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class d extends o.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if((0,c.s)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,n=(0,c.s)(e)&&e.offsetWidth||0,r=(0,c.s)(e)&&e.offsetHeight||0,o=getComputedStyle(t),i=this.props.sizeRef.current;i.height=parseFloat(o.height),i.width=parseFloat(o.width),i.top=t.offsetTop,i.left=t.offsetLeft,i.right=n-i.width-i.left,i.bottom=r-i.height-i.top}return null}componentDidUpdate(){}render(){return this.props.children}}function h(e){let{children:t,isPresent:n,anchorX:i,anchorY:s,root:l,pop:u}=e,c=(0,o.useId)(),h=(0,o.useRef)(null),p=(0,o.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:g}=(0,o.useContext)(f.Q),m=function(...e){return o.useCallback(function(...e){return t=>{let n=!1,r=e.map(e=>{let r=a(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():a(e[t],null)}}}}(...e),e)}(h,t.props?.ref??t?.ref);return(0,o.useInsertionEffect)(()=>{let{width:e,height:t,top:r,left:o,right:f,bottom:a}=p.current;if(n||!1===u||!h.current||!e||!t)return;let d="left"===i?`left: ${o}`:`right: ${f}`,m="bottom"===s?`bottom: ${a}`:`top: ${r}`;h.current.dataset.motionPopId=c;let v=document.createElement("style");g&&(v.nonce=g);let y=l??document.head;return y.appendChild(v),v.sheet&&v.sheet.insertRule(`
2          [data-motion-pop-id="${c}"] {
3            position: absolute !important;
4            width: ${e}px !important;
5            height: ${t}px !important;
6            ${d}px !important;
7            ${m}px !important;
8          }
9        `),()=>{h.current?.removeAttribute("data-motion-pop-id"),y.contains(v)&&y.removeChild(v)}},[n]),(0,r.jsx)(d,{isPresent:n,childRef:h,sizeRef:p,pop:u,children:!1===u?t:o.cloneElement(t,{ref:m})})}let p=e=>{let{children:t,initial:n,isPresent:i,onExitComplete:l,custom:c,presenceAffectsLayout:f,mode:a,anchorX:d,anchorY:p,root:m}=e,v=(0,s.M)(g),y=(0,o.useId)(),b=!0,w=(0,o.useMemo)(()=>(b=!1,{id:y,initial:n,isPresent:i,custom:c,onExitComplete:e=>
9{for(let t of(v.set(e,!0),v.values()))if(!t)return;l&&l()},register:e=>(v.set(e,!1),()=>v.delete(e))}),[i,v,l]);return f&&b&&(w={...w}),(0,o.useMemo)(()=>{v.forEach((e,t)=>v.set(t,!1))},[i]),o.useEffect(()=>{i||v.size||!l||l()},[i]),t=(0,r.jsx)(h,{pop:"popLayout"===a,isPresent:i,anchorX:d,anchorY:p,root:m,children:t}),(0,r.jsx)(u.t.Provider,{value:w,children:t})};function g(){return new Map}let m=e=>e.key||"";function v(e){let t=[];return o.Children.forEach(e,e=>{(0,o.isValidElement)(e)&&t.push(e)}),t}let y=e=>{let{children:t,custom:n,initial:c=!0,onExitComplete:f,presenceAffectsLayout:a=!0,mode:d="sync",propagate:h=!1,anchorX:g="left",anchorY:y="top",root:b}=e,[w,E]=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,o.useContext)(u.t);if(null===t)return[!0,null];let{isPresent:n,onExitComplete:r,register:i}=t,s=(0,o.useId)();(0,o.useEffect)(()=>{if(e)return i(s)},[e]);let l=(0,o.useCallback)(()=>e&&r&&r(s),[s,r,e]);return!n&&r?[!1,l]:[!0]}(h),x=(0,o.useMemo)(()=>v(t),[t]),C=h&&!w?[]:x.map(m),R=(0,o.useRef)(!0),S=(0,o.useRef)(x),$=(0,s.M)(()=>new Map),k=(0,o.useRef)(new Set),[I,M]=(0,o.useState)(x),[j,P]=(0,o.useState)(x);(0,l.E)(()=>{R.current=!1,S.current=x;for(let e=0;e<j.length;e++){let t=m(j[e]);C.includes(t)?($.delete(t),k.current.delete(t)):!0!==$.get(t)&&$.set(t,!1)}},[j,C.length,C.join("-")]);let V=[];if(x!==I){let e=[...x];for(let t=0;t<j.length;t++){let n=j[t],r=m(n);C.includes(r)||(e.splice(t,0,n),V.push(n))}return"wait"===d&&V.length&&(e=V),P(v(e)),M(x),null}let{forceRender:A}=(0,o.useContext)(i.L);return(0,r.jsx)(r.Fragment,{children:j.map(e=>{let t=m(e),o=(!h||!!w)&&(x===j||C.includes(t));return(0,r.jsx)(p,{isPresent:o,initial:(!R.current||!!c)&&void 0,custom:n,presenceAffectsLayout:a,mode:d,root:b,onExitComplete:o?void 0:()=>{if(k.current.has(t)||!$.has(t))return;k.current.add(t),$.set(t,!0);let e=!0;$.forEach(t=>{t||(e=!1)}),e&&(A?.(),P(S.current),h&&E?.(),f&&f())},anchorX:g,anchorY:y,children:e},t)})})}},73142:(e,t,n)=>{n.d(t,{G:()=>r});function r(e){return"object"==typeof e&&null!==e}},81402:(e,t,n)=>{n.d(t,{s:()=>o});var r=n(73142);function o(e){return(0,r.G)(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}}}]);

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.