PageSourceSearch

https://f37.com/_next/static/chunks/5041-5ab99dd997042bd1.js

js f37.com collected 2026-10-09 17:30:39 UTC 16,629 bytes, 1 lines download raw bytes

vendor: 4,587 bytes, line 1
1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5041],{66337:function(){!function(){"use strict";if("object"===typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=function(t){for(var e=window.document,n=o(e);n;)n=o(e=n.ownerDocument);return e}(),e=[],n=null,r=null;s.prototype.THROTTLE_TIMEOUT=100,s.prototype.POLL_INTERVAL=null,s.prototype.USE_MUTATION_OBSERVER=!0,s._setupCrossOriginUpdater=function(){return n||(n=function(t,n){r=t&&n?d(t,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},e.forEach((function(t){t._checkForIntersections()}))}),n},s._resetCrossOriginUpdater=function(){n=null,r=null},s.prototype.observe=function(t){if(!this._observationTargets.some((function(e){return e.element==t}))){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(t.ownerDocument),this._checkForIntersections()}},s.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._unmonitorIntersections(t.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},s.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},s.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},s.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]}))},s.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},s.prototype._monitorIntersections=function(e){var n=e.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(e)){var r=this._checkForIntersections,i=null,s=null;this.POLL_INTERVAL?i=n.setInterval(r,this.POLL_INTERVAL):(c(n,"resize",r,!0),c(e,"scroll",r,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(s=new n.MutationObserver(r)).observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(e),this._monitoringUnsubscribes.push((function(){var t=e.defaultView;t&&(i&&t.clearInterval(i),a(t,"resize",r,!0)),a(e,"scroll",r,!0),s&&s.disconnect()}));var u=this.root&&(this.root.ownerDocument||this.root)||t;if(e!=u){var h=o(e);h&&this._monitorIntersections(h.ownerDocument)}}},s.prototype._unmonitorIntersections=function(e){var n=this._monitoringDocuments.indexOf(e);if(-1!=n){var r=this.root&&(this.root.ownerDocument||this.root)||t,i=this._observationTargets.some((function(t){var n=t.element.ownerDocument;if(n==e)return!0;for(;n&&n!=r;){var i=o(n);if((n=i&&i.ownerDocument)==e)return!0}return!1}));if(!i){var s=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),s(),e!=r){var c=o(e);c&&this._unmonitorIntersections(c.ownerDocument)}}}},s.prototype._unmonitorAllIntersections=function(){var t=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var e=0;e<t.length;e++)t[e]()},s.prototype._checkForIntersections=function(){if(this.root||!n||r){var t=this._rootIsInDom(),e=t?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(r){var o=r.element,s=h(o),c=this._rootContainsTarget(o),a=r.entry,u=t&&c&&this._computeTargetAndRootIntersection(o,s,e),l=null;this._rootContainsTarget(o)?n&&!this.root||(l=e):l={top:0,bottom:0,left:0,right:0,width:0,height:0};var d=r.entry=new i({time:window.performance&&performance.now&&performance.now(),target:o,boundingClientRect:s,rootBounds:l,intersectionRect:u});a?t&&c?this._hasCrossedThreshold(a,d)&&this._queuedEntries.push(d):a&&a.isIntersecting&&this._queuedEntries.push(d):this._queuedEntries.push(d)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},s.prototype._computeTargetAndRootIntersection=function(e,o,i){if
vendor: 4,106 bytes, line 1
1("none"!=window.getComputedStyle(e).display){for(var s=o,c=f(e),a=!1;!a&&c;){var l=null,p=1==c.nodeType?window.getComputedStyle(c):{};if("none"==p.display)return null;if(c==this.root||9==c.nodeType)if(a=!0,c==this.root||c==t)n&&!this.root?!r||0==r.width&&0==r.height?(c=null,l=null,s=null):l=r:l=i;else{var g=f(c),v=g&&h(g),b=g&&this._computeTargetAndRootIntersection(g,v,i);v&&b?(c=g,l=d(v,b)):(c=null,s=null)}else{var m=c.ownerDocument;c!=m.body&&c!=m.documentElement&&"visible"!=p.overflow&&(l=h(c))}if(l&&(s=u(l,s)),!s)break;c=c&&f(c)}return s}},s.prototype._getRootRect=function(){var e;if(this.root&&!g(this.root))e=h(this.root);else{var n=g(this.root)?this.root:t,r=n.documentElement,o=n.body;e={top:0,left:0,right:r.clientWidth||o.clientWidth,width:r.clientWidth||o.clientWidth,bottom:r.clientHeight||o.clientHeight,height:r.clientHeight||o.clientHeight}}return this._expandRectByRootMargin(e)},s.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,n){return"px"==e.unit?e.value:e.value*(n%2?t.width:t.height)/100})),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},s.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,r=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==r)for(var o=0;o<this.thresholds.length;o++){var i=this.thresholds[o];if(i==n||i==r||i<n!==i<r)return!0}},s.prototype._rootIsInDom=function(){return!this.root||p(t,this.root)},s.prototype._rootContainsTarget=function(e){var n=this.root&&(this.root.ownerDocument||this.root)||t;return p(n,e)&&(!this.root||n==e.ownerDocument)},s.prototype._registerInstance=function(){e.indexOf(this)<0&&e.push(this)},s.prototype._unregisterInstance=function(){var t=e.indexOf(this);-1!=t&&e.splice(t,1)},window.IntersectionObserver=s,window.IntersectionObserverEntry=i}function o(t){try{return t.defaultView&&t.defaultView.frameElement||null}catch(e){return null}}function i(t){this.time=t.time,this.target=t.target,this.rootBounds=l(t.rootBounds),this.boundingClientRect=l(t.boundingClientRect),this.intersectionRect=l(t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,n=e.width*e.height,r=this.intersectionRect,o=r.width*r.height;this.intersectionRatio=n?Number((o/n).toFixed(4)):this.isIntersecting?1:0}function s(t,e){var n=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(n.root&&1!=n.root.nodeType&&9!=n.root.nodeType)throw new Error("root must be a Document or Element");this._checkForIntersections=function(t,e){var n=null;return function(){n||(n=setTimeout((function(){t(),n=null}),e))}}(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(n.rootMargin),this.thresholds=this._initThresholds(n.threshold),this.root=n.root||null,this.rootMargin=this._rootMarginValues.map((function(t){return t.value+t.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function c(t,e,n,r){"function"==typeof t.addEventListener?t.addEventListener(e,n,r||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,n)}function a(t,e,n,r){"function"==typeof t.removeEventListener?t.removeEventListener(e,n,r||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,n)}function u(t,e){var n=Math.max(t.top,e.top),r=Math.min(t.bottom,e.bottom),o=Math.max(t.left,e.left),i=Math.min(t.right,e.right),s=i-o,c=r-n;return s>=0&&c>=0&&{top:n,bottom:r,left:o,right:i,width:s,height:c}||null}function h(t){var e;try{e=t.getBoundingClientRect()}catch(n){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function l(t){return!t||"x"in t?t:{top:t.top,y:t.top,bottom:t.bottom,left:t.left,x:t.left,right:t.right,width:t.width,height:t.height}}function d(t,e){var n=e.top-t.top,r=e.left-t.left;
1return{top:n,left:r,height:e.height,width:e.width,bottom:n+e.height,right:r+e.width}}function p(t,e){for(var n=e;n;){if(n==t)return!0;n=f(n)}return!1}function f(e){var n=e.parentNode;return 9==e.nodeType&&e!=t?o(e):(n&&n.assignedSlot&&(n=n.assignedSlot.parentNode),n&&11==n.nodeType&&n.host?n.host:n)}function g(t){return t&&9===t.nodeType}}()},34896:function(t,e,n){"use strict";n.d(e,{E:function(){return w}});var r=n(67294);n(66337);function o(){return o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o.apply(this,arguments)}function i(t,e){return i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},i(t,e)}var s=new Map,c=new WeakMap,a=0,u=void 0;function h(t){return Object.keys(t).sort().filter((function(e){return void 0!==t[e]})).map((function(e){return e+"_"+("root"===e?(n=t.root)?(c.has(n)||(a+=1,c.set(n,a.toString())),c.get(n)):"0":t[e]);var n})).toString()}function l(t,e,n,r){if(void 0===n&&(n={}),void 0===r&&(r=u),"undefined"===typeof window.IntersectionObserver&&void 0!==r){var o=t.getBoundingClientRect();return e(r,{isIntersecting:r,target:t,intersectionRatio:"number"===typeof n.threshold?n.threshold:0,time:0,boundingClientRect:o,intersectionRect:o,rootBounds:o}),function(){}}var i=function(t){var e=h(t),n=s.get(e);if(!n){var r,o=new Map,i=new IntersectionObserver((function(e){e.forEach((function(e){var n,i=e.isIntersecting&&r.some((function(t){return e.intersectionRatio>=t}));t.trackVisibility&&"undefined"===typeof e.isVisible&&(e.isVisible=i),null==(n=o.get(e.target))||n.forEach((function(t){t(i,e)}))}))}),t);r=i.thresholds||(Array.isArray(t.threshold)?t.threshold:[t.threshold||0]),n={id:e,observer:i,elements:o},s.set(e,n)}return n}(n),c=i.id,a=i.observer,l=i.elements,d=l.get(t)||[];return l.has(t)||l.set(t,d),d.push(e),a.observe(t),function(){d.splice(d.indexOf(e),1),0===d.length&&(l.delete(t),a.unobserve(t)),0===l.size&&(a.disconnect(),s.delete(c))}}var d=["children","as","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView","fallbackInView"];function p(t){return"function"!==typeof t.children}var f=function(t){var e,n;function s(e){var n;return(n=t.call(this,e)||this).node=null,n._unobserveCb=null,n.handleNode=function(t){n.node&&(n.unobserve(),t||n.props.triggerOnce||n.props.skip||n.setState({inView:!!n.props.initialInView,entry:void 0})),n.node=t||null,n.observeNode()},n.handleChange=function(t,e){t&&n.props.triggerOnce&&n.unobserve(),p(n.props)||n.setState({inView:t,entry:e}),n.props.onChange&&n.props.onChange(t,e)},n.state={inView:!!e.initialInView,entry:void 0},n}n=t,(e=s).prototype=Object.create(n.prototype),e.prototype.constructor=e,i(e,n);var c=s.prototype;return c.componentDidUpdate=function(t){t.rootMargin===this.props.rootMargin&&t.root===this.props.root&&t.threshold===this.props.threshold&&t.skip===this.props.skip&&t.trackVisibility===this.props.trackVisibility&&t.delay===this.props.delay||(this.unobserve(),this.observeNode())},c.componentWillUnmount=function(){this.unobserve(),this.node=null},c.observeNode=function(){if(this.node&&!this.props.skip){var t=this.props,e=t.threshold,n=t.root,r=t.rootMargin,o=t.trackVisibility,i=t.delay,s=t.fallbackInView;this._unobserveCb=l(this.node,this.handleChange,{threshold:e,root:n,rootMargin:r,trackVisibility:o,delay:i},s)}},c.unobserve=function(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)},c.render=function(){if(!p(this.props)){var t=this.state,e=t.inView,n=t.entry;return this.props.children({inView:e,entry:n,ref:this.handleNode})}var i=this.props,s=i.children,c=i.as,a=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(i,d);return r.createElement(c||"div",o({ref:this.handleNode},a),s)},s}(r.Component);f.displayName="InView",f.defaultProps={threshold:0,triggerOnce:!1,initialInView:!1};var g=n(48764).lW,v=function(){return v=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}
1,v.apply(this,arguments)},b="undefined"===typeof window,m=b?function(t){return g.from(t.toString(),"binary").toString("base64")}:window.btoa,y=!b&&!!window.IntersectionObserver,w=function(t){var e=t.className,n=t.fadeInDuration,o=t.intersectionTreshold,i=t.intersectionThreshold,s=t.intersectionMargin,c=t.pictureClassName,a=t.lazyLoad,u=void 0===a||a,h=t.style,d=t.pictureStyle,p=t.explicitWidth,f=t.data,g=(0,r.useState)(!1),w=g[0],_=g[1],I=(0,r.useCallback)((function(){_(!0)}),[]),E=function(t){var e=void 0===t?{}:t,n=e.threshold,o=e.delay,i=e.trackVisibility,s=e.rootMargin,c=e.root,a=e.triggerOnce,u=e.skip,h=e.initialInView,d=e.fallbackInView,p=r.useRef(),f=r.useState({inView:!!h}),g=f[0],v=f[1],b=r.useCallback((function(t){void 0!==p.current&&(p.current(),p.current=void 0),u||t&&(p.current=l(t,(function(t,e){v({inView:t,entry:e}),e.isIntersecting&&a&&p.current&&(p.current(),p.current=void 0)}),{root:c,rootMargin:s,threshold:n,trackVisibility:i,delay:o},d))}),[Array.isArray(n)?n.toString():n,c,s,a,u,i,d,o]);(0,r.useEffect)((function(){p.current||!g.entry||a||u||v({inView:!!h})}));var m=[b,g.inView,g.entry];return m.ref=m[0],m.inView=m[1],m.entry=m[2],m}({threshold:i||o||0,rootMargin:s||"0px 0px 0px 0px",triggerOnce:!0}),O=E.ref,R=E.inView,V={position:"absolute",left:0,top:0,width:"100%",height:"100%"},T=function(t){var e=t.lazyLoad,n=t.inView,r=t.loaded;return!e||!b&&(!y||n||r)}({lazyLoad:u,inView:R,loaded:w}),k=function(t){var e=t.lazyLoad,n=t.loaded;return!e||!b&&(!y||n)}({lazyLoad:u,inView:R,loaded:w}),C=f.webpSrcSet&&r.createElement("source",{srcSet:f.webpSrcSet,sizes:f.sizes,type:"image/webp"}),M=f.srcSet&&r.createElement("source",{srcSet:f.srcSet,sizes:f.sizes}),S="undefined"===typeof n||n>0?"opacity "+(n||500)+"ms "+(n||500)+"ms":void 0,x=r.createElement("div",{style:v({backgroundImage:f.base64?"url("+f.base64+")":void 0,backgroundColor:f.bgColor,backgroundSize:"cover",opacity:k?0:1,transition:S},V)}),N=f.width,D=f.aspectRatio,L='<svg xmlns="http://www.w3.org/2000/svg" width="'+N+'" height="'+(f.height||N/D)+'"></svg>',A=r.createElement("img",{className:c,style:v({display:"block",width:p?N+"px":"100%"},d),src:"data:image/svg+xml;base64,"+m(L),role:"presentation"});return r.createElement("div",{ref:O,className:e,style:v(v({display:p?"inline-block":"block",overflow:"hidden"},h),{position:"relative"})},A,x,T&&r.createElement("picture",null,C,M,f.src&&r.createElement("img",{src:f.src,alt:f.alt,title:f.title,onLoad:I,className:c,style:v(v(v({},V),d),{opacity:k?1:0,transition:S})})),r.createElement("noscript",null,r.createElement("picture",null,C,M,f.src&&r.createElement("img",{src:f.src,alt:f.alt,title:f.title,className:c,style:v(v({},V),d),loading:"lazy"}))))}},69671:function(t,e,n){"use strict";n.d(e,{Y:function(){return i}});var r=n(67294);var o=(t,{root:e,rootMargin:n,threshold:o}={},i=[])=>{const s=(0,r.useRef)(null),c=(0,r.useRef)(null);return(0,r.useCallback)((r=>{s.current&&c.current&&(c.current.unobserve(s.current),c.current.disconnect(),c.current=null),r&&(c.current=new IntersectionObserver(t,{root:e,rootMargin:n,threshold:o}),c.current.observe(r),s.current=r)}),[s,e,n,o,...i])};var i=({root:t,rootMargin:e,threshold:n,unobserveOnEnter:i,target:s,onEnter:c,onLeave:a}={},u=[])=>{const[h,l]=(0,r.useState)({inView:!1,entry:null,observer:null}),d=(0,r.useCallback)((([t],e)=>{const n=e.thresholds.some((e=>t.intersectionRatio>=e))&&t.isIntersecting;l({inView:n,entry:t,observer:e}),n&&i&&(e.unobserve(t.target),e.disconnect()),n?null===c||void 0===c||c(t,e):null===a||void 0===a||a(t,e)}),[c,a,i]),p=o(d,{root:t,rootMargin:e,threshold:n},[i,...u]);return(0,r.useEffect)((()=>{(null===s||void 0===s?void 0:s.current)&&p(s.current)}),[s,p]),[p,h.inView,h.entry,h.observer]}}}]);

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.