PageSourceSearch

https://www.attachedapp.com/_next/static/chunks/3954.bcb7bfa117085e07.js

js attachedapp.com collected 2026-10-02 14:37:10 UTC 3,393 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3954],{93954:(e,t,n)=>{n.d(t,{N:()=>E});var r=n(37876),s=n(14232),o=n(58075),l=n(70631),i=n(19e3),u=n(38655),c=n(7990),f=n(58674);class a extends s.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=t.offsetParent,n=(0,c.s)(e)&&e.offsetWidth||0,r=this.props.sizeRef.current;r.height=t.offsetHeight||0,r.width=t.offsetWidth||0,r.top=t.offsetTop,r.left=t.offsetLeft,r.right=n-r.width-r.left}return null}componentDidUpdate(){}render(){return this.props.children}}function h(e){let{children:t,isPresent:n,anchorX:o,root:l}=e,i=(0,s.useId)(),u=(0,s.useRef)(null),c=(0,s.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:h}=(0,s.useContext)(f.Q);return(0,s.useInsertionEffect)(()=>{let{width:e,height:t,top:r,left:s,right:f}=c.current;if(n||!u.current||!e||!t)return;u.current.dataset.motionPopId=i;let a=document.createElement("style");h&&(a.nonce=h);let p=null!=l?l:document.head;return p.appendChild(a),a.sheet&&a.sheet.insertRule('\n          [data-motion-pop-id="'.concat(i,'"] {\n            position: absolute !important;\n            width: ').concat(e,"px !important;\n            height: ").concat(t,"px !important;\n            ").concat("left"===o?"left: ".concat(s):"right: ".concat(f),"px !important;\n            top: ").concat(r,"px !important;\n          }\n        ")),()=>{p.contains(a)&&p.removeChild(a)}},[n]),(0,r.jsx)(a,{isPresent:n,childRef:u,sizeRef:c,children:s.cloneElement(t,{ref:u})})}let p=e=>{let{children:t,initial:n,isPresent:o,onExitComplete:i,custom:c,presenceAffectsLayout:f,mode:a,anchorX:p,root:m}=e,g=(0,l.M)(d),x=(0,s.useId)(),E=!0,C=(0,s.useMemo)(()=>(E=!1,{id:x,initial:n,isPresent:o,custom:c,onExitComplete:e=>{for(let t of(g.set(e,!0),g.values()))if(!t)return;i&&i()},register:e=>(g.set(e,!1),()=>g.delete(e))}),[o,g,i]);return f&&E&&(C={...C}),(0,s.useMemo)(()=>{g.forEach((e,t)=>g.set(t,!1))},[o]),s.useEffect(()=>{o||g.size||!i||i()},[o]),"popLayout"===a&&(t=(0,r.jsx)(h,{isPresent:o,anchorX:p,root:m,children:t})),(0,r.jsx)(u.t.Provider,{value:C,children:t})};function d(){return new Map}var m=n(48328);let g=e=>e.key||"";function x(e){let t=[];return s.Children.forEach(e,e=>{(0,s.isValidElement)(e)&&t.push(e)}),t}let E=e=>{let{children:t,custom:n,initial:u=!0,onExitComplete:c,presenceAffectsLayout:f=!0,mode:a="sync",propagate:h=!1,anchorX:d="left",root:E}=e,[C,w]=(0,m.xQ)(h),R=(0,s.useMemo)(()=>x(t),[t]),v=h&&!C?[]:R.map(g),P=(0,s.useRef)(!0),M=(0,s.useRef)(R),j=(0,l.M)(()=>new Map),[k,y]=(0,s.useState)(R),[I,L]=(0,s.useState)(R);(0,i.E)(()=>{P.current=!1,M.current=R;for(let e=0;e<I.length;e++){let t=g(I[e]);v.includes(t)?j.delete(t):!0!==j.get(t)&&j.set(t,!1)}},[I,v.length,v.join("-")]);let _=[];if(R!==k){let e=[...R];for(let t=0;t<I.length;t++){let n=I[t],r=g(n);v.includes(r)||(e.splice(t,0,n),_.push(n))}return"wait"===a&&_.length&&(e=_),L(x(e)),y(R),null}let{forceRender:b}=(0,s.useContext)(o.L);return(0,r.jsx)(r.Fragment,{children:I.map(e=>{let t=g(e),s=(!h||!!C)&&(R===I||v.includes(t));return(0,r.jsx)(p,{isPresent:s,initial:(!P.current||!!u)&&void 0,custom:n,presenceAffectsLayout:f,mode:a,root:E,onExitComplete:s?void 0:()=>{if(!j.has(t))return;j.set(t,!0);let e=!0;j.forEach(t=>{t||(e=!1)}),e&&(null==b||b(),L(M.current),h&&(null==w||w()),c&&c())},anchorX:d,children:e},t)})})}}}]);

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.