PageSourceSearch

https://cdn-public.firefly.com.cn/www-firefly-cn/cdn-static/_next/…/_modules/ChargingSpecs-4ac5aef0375090e0.js

js firefly.com.cn collected 2026-10-08 20:31:28 UTC 7,340 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3599],{70487:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/firefly/_modules/ChargingSpecs",function(){return i(17695)}])},17695:function(e,t,i){"use strict";i.r(t);var r=i(31549),n=i(46178),s=i(5684),o=i(89838),a=i(45438),p=i.n(a);t.default=e=>{var t;let{data:i}=e;return i?(0,r.jsx)(o.l,{children:(0,r.jsxs)("div",{className:p().chargingSpecs,children:[(0,r.jsxs)("div",{className:p().chargingSpecsSummary,children:[i.title&&(0,r.jsx)(n.Z,{...i.title}),i.description&&(0,r.jsx)(n.Z,{className:p().chargingSpecsDescription,...i.description}),i.button&&(0,r.jsx)(s.Z,{...i.button})]}),(0,r.jsxs)("div",{className:p().chargingSpecsDetail,children:[(0,r.jsx)("div",{className:p().separator}),(null===(t=i.specs)||void 0===t?void 0:t.length)>0&&(0,r.jsx)("div",{className:p().chargingSpecsItems,children:i.specs.map((e,t)=>(0,r.jsxs)("div",{className:p().chargingSpecsItem,children:[e.title&&(0,r.jsx)(n.Z,{...e.title}),e.value&&(0,r.jsx)(n.Z,{...e.value})]},t))})]})]})}):null}},89838:function(e,t,i){"use strict";i.d(t,{l:function(){return l}});var r=i(31549),n=i(44194),s=i(97660),o=i(51865),a=i.n(o),p=i(9449),c=i.n(p);let l=(0,n.memo)(e=>{let{children:t,rootMargin:i="0px 0px -20% 0px",hasOpacity:n=!0,hasTransformY:o=!0,hasTransformX:p=!1,transformyDistance:l="20",transformxDistance:h="",spotlight:_={},triggerOnce:u=!1,disableAnimation:d=!1,customClass:g,className:f,hadExpand:m=!1,delay:v,...y}=e,[b,w]=(0,s.YD)({triggerOnce:u,rootMargin:i,delay:v});return d?t:(0,r.jsx)("div",{ref:b,className:a()(c().wrapper,n?w?c().opacity_1:c().opacity_0:"",o?w?c().transformy_0:c()["transformy_".concat(l)]:"",p?w?c()["transformx_".concat(h)]:c().transformx_0:"",m?w?c().expend_100:c().expend_0:"",_.active&&w?_.infinite?c().spotlightInfinite:c().spotlightForward:"",g,f),...y,children:t})});l.displayName="AnimationWrapper"},45438:function(e){e.exports={chargingSpecs:"ChargingSpecs_chargingSpecs__dOp2T",chargingSpecsSummary:"ChargingSpecs_chargingSpecsSummary__7Pugt",separator:"ChargingSpecs_separator__p3dYf",chargingSpecsDetail:"ChargingSpecs_chargingSpecsDetail__fDAe_",chargingSpecsDescription:"ChargingSpecs_chargingSpecsDescription__VMydw",chargingSpecsItems:"ChargingSpecs_chargingSpecsItems__D5iQe",chargingSpecsItem:"ChargingSpecs_chargingSpecsItem__l2WvZ"}},9449:function(e){e.exports={wrapper:"AnimationWrapper_wrapper__hHIBn",opacity_1:"AnimationWrapper_opacity_1__VqthA",opacity_0:"AnimationWrapper_opacity_0__8adRt",transformy_0:"AnimationWrapper_transformy_0__OeKkQ",transformy_20:"AnimationWrapper_transformy_20__DaR6i",transformy_40:"AnimationWrapper_transformy_40__zrsrG",transformx_0:"AnimationWrapper_transformx_0__F6Epw",transformx_100:"AnimationWrapper_transformx_100__gG3Tt",spotlightInfinite:"AnimationWrapper_spotlightInfinite__HsjBN",spotlightAnimation:"AnimationWrapper_spotlightAnimation__dUOlU",spotlightForward:"AnimationWrapper_spotlightForward__M5xTs",expend_0:"AnimationWrapper_expend_0__Sicr4",expend_100:"AnimationWrapper_expend_100__XO6YC"}},97660:function(e,t,i){"use strict";i.d(t,{YD:function(){return d},df:function(){return u}});var r,n,s=i(44194),o=Object.defineProperty,a=(e,t,i)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,p=(e,t,i)=>a(e,"symbol"!=typeof t?t+"":t,i),c=new Map,l=new WeakMap,h=0;function _(e,t,i={},n=r){if(void 0===window.IntersectionObserver&&void 0!==n){let r=e.getBoundingClientRect();return t(n,{isIntersecting:n,target:e,intersectionRatio:"number"==typeof i.threshold?i.threshold:0,time:0,boundingClientRect:r,intersectionRect:r,rootBounds:r}),()=>{}}let{id:s,observer:o,elements:a}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var i;return`${t}_${"root"===t?(i=e.root)?(l.has(i)||(h+=1,l.set(i,h.toString())),l.get(i)):"0":e[t]}`}).toString(),i=c.get(t);if(!i){let r;let n=new Map,s=new IntersectionObserver(t=>{t.forEach(t=>{var i;let s=t.isIntersecting&&r.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=s),[...null!=(i=n.get(t.target))?i:[]].forEach(e=>{e(s,t)})})},e);r=s.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),i={id:t,observer:s,elements:n},c.set(t,i)}return i}(i),p=a.get(e)||[];return a.has(e)||a.set(e,p),p.push(t),o.observe(e),function(){p.splice(p.indexOf(t),1),0===p.length&&(a.delete(e),o.unobserve(e)),0===a.size&&(o.disconnect(),c.delete(s))}}var u=class extends s.Component{constructor(e){super(e),p(this,"node",null),p(this,"_unobserveCb",null),p(this,"lastInView"),p(this,"handleNode",e=>{!this.node||(this.unobserve(),e||this.props.triggerOnce||this.props.skip||(this.setState({inView:!!this.props.initialInView,entry:void 0}),this.lastInView=this.props.initialInView)),this.node=e||null,this.observeNode()}),p(this,"handleChange",(e,t)=>{let i=this.lastInView;this.lastInView=e,(void 0!==i||e)&&(e&&this.props.triggerOnce&&this.unobserve(),"function"!=typeof this.props.children||this.setState({inView:e,entry:t}),this.props.onChange&&this.props.onChange(e,t))}),this.state={inView:!!e.initialInView,entry:void 0},this.lastInView=e.initialInView}componentDidMount(){this.unobserve(),this.observeNode()}componentDidUpdate(e){(e.rootMargin!==this.props.rootMargin||e.scrollMargin!==this.props.scrollMargin||e.root!==this.props.root||e.threshold!==this.props.threshold||e.skip!==this.props.skip||e.trackVisibility!==this.props.trackVisibility||e.delay!==this.props.delay)&&(this.unobserve(),this.observeNode())}componentWillUnmount(){this.unobserve()}observeNode(){if(!this.node||this.props.skip)return;let{threshold:e,root:t,rootMargin:i,scrollMargin:r,trackVisibility:n,delay:s,fallbackInView:o}=this.props;void 0===this.lastInView&&(this.lastInView=this.props.initialInView),this._unobserveCb=_(this.node,this.handleChange,{threshold:e,root:t,rootMargin:i,scrollMargin:r,trackVisibility:n,delay:s},o)}unobserve(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)}render(){let{children:e}=this.props;if("function"==typeof e){let{inView:t,entry:i}=this.state;return e({inView:t,entry:i,ref:this.handleNode})}let{as:t,triggerOnce:i,threshold:r,root:n,rootMargin:o,scrollMargin:a,onChange:p,skip:c,trackVisibility:l,delay:h,initialInView:_,fallbackInView:u,...d}=this.props;return s.createElement(t||"div",{ref:this.handleNode,...d},e)}};function d({threshold:e,delay:t,trackVisibility:i,rootMargin:r,scrollMargin:n,root:o,triggerOnce:a,skip:p,initialInView:c,fallbackInView:l,onChange:h}={}){var u;let[d,g]=s.useState(null),f=s.useRef(h),m=s.useRef(c),[v,y]=s.useState({inView:!!c,entry:void 0});f.current=h,s.useEffect(()=>{let s;if(void 0===m.current&&(m.current=c),!p&&d)return s=_(d,(e,t)=>{let i=m.current;m.current=e,(void 0!==i||e)&&(y({inView:e,entry:t}),f.current&&f.current(e,t),t.isIntersecting&&a&&s&&(s(),s=void 0))},{root:o,rootMargin:r,scrollMargin:n,threshold:e,trackVisibility:i,delay:t},l),()=>{s&&s()}},[Array.isArray(e)?e.toString():e,d,o,r,n,a,p,i,l,t]);let b=null==(u=v.entry)?void 0:u.target,w=s.useRef(void 0);d||!b||a||p||w.current===b||(w.current=b,y({inView:!!c,entry:void 0}),m.current=c);let S=[g,v.inView,v.entry];return S.ref=S[0],S.inView=S[1],S.entry=S[2],S}null!=(null!=(n=s.useInsertionEffect)?n:s.useLayoutEffect)||s.useEffect}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=70487)}),_N_E=e.O()}]);

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.