PageSourceSearch

https://fastgpt.io/_next/static/chunks/3378-b8ec663d9e866116.js

js fastgpt.io collected 2026-10-09 22:40:40 UTC 5,524 bytes, 9 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3378],{18310:(e,t,n)=>{n.d(t,{I:()=>s});var r=n(25620),o=n(10887),u=n(12115);function s(){r.r.current||(0,o.Uu)();let[e]=(0,u.useState)(r.O.current);return e}},27413:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(90425).A)("languages",[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]])},33210:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(90425).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},66088:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(90425).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},73321:(e,t,n)=>{var r=n(74645);n.o(r,"useParams")&&n.d(t,{useParams:function(){return r.useParams}}),n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}})},78757:(e,t,n)=>{n.d(t,{s:()=>o});var r=n(94601);function o(e){return(0,r.G)(e)&&"offsetHeight"in e}},79196:(e,t,n)=>{n.d(t,{xQ:()=>u});var r=n(12115),o=n(15131);function u(e=!0){let t=(0,r.useContext)(o.t);if(null===t)return[!0,null];let{isPresent:n,onExitComplete:s,register:l}=t,i=(0,r.useId)();(0,r.useEffect)(()=>{if(e)return l(i)},[e]);let f=(0,r.useCallback)(()=>e&&s&&s(i),[i,s,e]);return!n&&s?[!1,f]:[!0]}},80642:(e,t,n)=>{n.d(t,{N:()=>y});var r=n(95155),o=n(12115),u=n(39551),s=n(28819),l=n(4524),i=n(15131),f=n(78757),a=n(24866);function h(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class c extends o.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,n=(0,f.s)(e)&&e.offsetWidth||0,r=(0,f.s)(e)&&e.offsetHeight||0,o=this.props.sizeRef.current;o.height=t.offsetHeight||0,o.width=t.offsetWidth||0,o.top=t.offsetTop,o.left=t.offsetLeft,o.right=n-o.width-o.left,o.bottom=r-o.height-o.top}return null}componentDidUpdate(){}render(){return this.props.children}}function p({children:e,isPresent:t,anchorX:n,anchorY:u,root:s,pop:l}){let i=(0,o.useId)(),f=(0,o.useRef)(null),d=(0,o.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:m}=(0,o.useContext)(a.Q),g=function(...e){return o.useCallback(function(...e){return t=>{let n=!1,r=e.map(e=>{let r=h(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():h(e[t],null)}}}}(...e),e)}(f,e.props?.ref??e?.ref);return(0,o.useInsertionEffect)(()=>{let{width:e,height:r,top:o,left:a,right:h,bottom:c}=d.current;if(t||!1===l||!f.current||!e||!r)return;let p="left"===n?`left: ${a}`:`right: ${h}`,g="bottom"===u?`bottom: ${c}`:`top: ${o}`;f.current.dataset.motionPopId=i;let k=document.createElement("style");m&&(k.nonce=m);let x=s??document.head;return x.appendChild(k),k.sheet&&k.sheet.insertRule(`
2          [data-motion-pop-id="${i}"] {
3            position: absolute !important;
4            width: ${e}px !important;
5            height: ${r}px !important;
6            ${p}px !important;
7            ${g}px !important;
8          }
9        `),()=>{x.contains(k)&&x.removeChild(k)}},[t]),(0,r.jsx)(c,{isPresent:t,childRef:f,sizeRef:d,pop:l,children:!1===l?e:o.cloneElement(e,{ref:g})})}let d=({children:e,initial:t,isPresent:n,onExitComplete:u,custom:l,presenceAffectsLayout:f,mode:a,anchorX:h,anchorY:c,root:d})=>{let g=(0,s.M)(m),k=(0,o.useId)(),x=!0,y=(0,o.useMemo)(()=>(x=!1,{id:k,initial:t,isPresent:n,custom:l,onExitComplete:e=>{for(let t of(g.set(e,!0),g.values()))if(!t)return;u&&u()},register:e=>(g.set(e,!1),()=>g.delete(e))}),[n,g,u]);return f&&x&&(y={...y}),(0,o.useMemo)(()=>{g.forEach((e,t)=>g.set(t,!1))},[n]),o.useEffect(()=>{n||g.size||!u||u()},[n]),e=(0,r.jsx)(p,{pop:"popLayout"===a,isPresent:n,anchorX:h,anchorY:c,root:d,children:e}),(0,r.jsx)(i.t.Provider,{value:y,children:e})};function m(){return new Map}var g=n(79196);let k=e=>e.key||"";function x(e){let t=[];
9return o.Children.forEach(e,e=>{(0,o.isValidElement)(e)&&t.push(e)}),t}let y=({children:e,custom:t,initial:n=!0,onExitComplete:i,presenceAffectsLayout:f=!0,mode:a="sync",propagate:h=!1,anchorX:c="left",anchorY:p="top",root:m})=>{let[y,v]=(0,g.xQ)(h),E=(0,o.useMemo)(()=>x(e),[e]),P=h&&!y?[]:E.map(k),C=(0,o.useRef)(!0),R=(0,o.useRef)(E),b=(0,s.M)(()=>new Map),w=(0,o.useRef)(new Set),[M,A]=(0,o.useState)(E),[$,j]=(0,o.useState)(E);(0,l.E)(()=>{C.current=!1,R.current=E;for(let e=0;e<$.length;e++){let t=k($[e]);P.includes(t)?(b.delete(t),w.current.delete(t)):!0!==b.get(t)&&b.set(t,!1)}},[$,P.length,P.join("-")]);let I=[];if(E!==M){let e=[...E];for(let t=0;t<$.length;t++){let n=$[t],r=k(n);P.includes(r)||(e.splice(t,0,n),I.push(n))}return"wait"===a&&I.length&&(e=I),j(x(e)),A(E),null}let{forceRender:S}=(0,o.useContext)(u.L);return(0,r.jsx)(r.Fragment,{children:$.map(e=>{let o=k(e),u=(!h||!!y)&&(E===$||P.includes(o));return(0,r.jsx)(d,{isPresent:u,initial:(!C.current||!!n)&&void 0,custom:t,presenceAffectsLayout:f,mode:a,root:m,onExitComplete:u?void 0:()=>{if(w.current.has(o)||(w.current.add(o),!b.has(o)))return;b.set(o,!0);let e=!0;b.forEach(t=>{t||(e=!1)}),e&&(S?.(),j(R.current),h&&v?.(),i&&i())},anchorX:c,anchorY:p,children:e},o)})})}},94514:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(90425).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},94601:(e,t,n)=>{n.d(t,{G:()=>r});function r(e){return"object"==typeof e&&null!==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.