1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[34537],{15111:e=>{e.exports={newCard:"JobCard_newCard__gTOOu",jobsExpired:"JobCard_jobsExpired__BcOgq",content:"JobCard_content__MayZZ",showJobsExpired:"JobCard_showJobsExpired__CJ1BS",title:"JobCard_title__WdNV7",location:"JobCard_location__ALwF1",locationIcon:"JobCard_locationIcon__QSjij",locationText:"JobCard_locationText__u954y",priceDetailContainer:"JobCard_priceDetailContainer__aBttX",soldCntStr:"JobCard_soldCntStr__irzDq"}},34537:(e,t,s)=>{"use strict";s.d(t,{A:()=>H});var i=s(95155),a=s(12115),l=s(30197),n=s(39026),r=s(51634),o=s(73173),c=s(98007),d=s(78607),m=s(5818),u=s(27043),p=s(96090),v=s(59473),g=s(29107),h=s(42399),A=s(42826);s(39194);var x=s(14529),j=s(67444),f=s(34540),_=s(30445),N=s(18921),b=s(60287),y=s(15111),C=s.n(y),S=s(94211),w=s(56687),I=s(13687),E=s(3337),k=s(29300),P=s.n(k),T=s(91576),J=s.n(T),L=s(45464);function D(e){let{imageUrl:t,hasExpired:s,hasTopSeller:l,hasKycTag:n,topTagCount:r,topSeller:o,kycTag:c,isInView:d=!0,title:m,fontColor:p}=e,v=(0,u.useTranslations)("Main"),g=(0,a.useMemo)(()=>{let e=[];return s?e.push((0,i.jsx)(L.v,{theme:"dark",text:v("ok_app_favourite_tag")},"expired")):(l&&e.push((0,i.jsx)(L.v,{theme:"yellow",text:o},"topSeller")),n&&e.push((0,i.jsx)(x.A,{kycTag:c},"kyc"))),r?e.slice(0,r):e},[s,l,n,o,c,r,v]);return(0,i.jsxs)("div",{className:J().squareImage,children:[(0,i.jsx)(F,{isInView:d,className:J().image,imageUrl:t,title:m,fontColor:p}),g.length>0&&(0,i.jsx)("div",{className:J().tagList,children:g})]})}let F=e=>{let{imageUrl:t,className:s,title:l,fontColor:n}=e,r=(0,a.useMemo)(()=>o.Dx[m.m3.job],[]),[c,d]=(0,a.useState)(r),[u,p]=(0,a.useState)(!0),[v,h]=(0,a.useState)(!0),[A,x]=(0,a.useState)(!1),j=(0,a.useRef)(null),f=(0,a.useRef)(null),_=(e,t)=>new Promise(s=>{if(!e||e===r){s(!1);return}let i=new window.Image,a=!1,l=()=>{i.onload=null,i.onerror=null,i.src=""},n=e=>{a||t.aborted||(a=!0,l(),s(e))};i.onload=()=>n(!0),i.onerror=()=>n(!1),t.addEventListener("abort",()=>{l(),a||(a=!0,s(!1))}),i.src=e,setTimeout(()=>n(!1),5e3)});return(0,a.useEffect)(()=>{if(!l){x(!1);return}x(!1);let e=setTimeout(()=>{var e;if(!(null===(e=j.current)||void 0===e?void 0:e.parentElement))return;let t=document.createElement("div");Object.assign(t.style,{position:"absolute",visibility:"hidden",width:"calc(100% - 24px)",padding:"0 12px",fontSize:"32px",fontWeight:"600",lineHeight:"1.2",wordWrap:"break-word"}),t.textContent=l,j.current.parentElement.appendChild(t);let s=parseFloat(window.getComputedStyle(t).lineHeight);h(1>=Math.round(t.clientHeight/s)),x(!0),j.current.parentElement.removeChild(t)},50);return()=>clearTimeout(e)},[l]),(0,a.useEffect)(()=>{let e=new AbortController;return f.current=e,(async()=>{if(p(!0),t&&t!==r){let s=await _(t,e.signal);e.signal.aborted||(d(s?t:r),p(!1))}else e.signal.aborted||(d(r),p(!1))})(),()=>{e.abort(),f.current=null}},[t,r]),(0,i.jsxs)("div",{className:J().imageWrapper,children:[(0,i.jsx)(g.default,{onError:e=>{let t=e.target;t.src!==r&&(t.src=r,d(r))},className:P()(s,{[J().loading]:u}),src:c,alt:l}),l&&A&&(0,i.jsx)("div",{ref:j,className:P()(J().titleOverlay,{[J().singleLine]:v,[J().multiLine]:!v}),style:{color:n},children:l}),l&&!A&&(0,i.jsx)("div",{ref:j,style:{display:"none"}})]})};function M(e){let{listItem:t,isInView:s=!0}=e,{pictureUrl:a,title:l,location:n,supplementList:r,soldCntStr:o,featureLabels:c,priceDetail:d,originalPrice:m,company:u,companyLogo:p}=t,v=U(t),h=v.includes("location"),A=v.includes("supplementList"),x=v.includes("featureLabels"),j=v.includes("soldCntStr"),f=v.includes("priceDetail"),_=v.includes("company"),N=v.includes("jobsExpired"),y=void 0!==t.online&&(null==t?void 0:t.online)!==1,k=!!t.topSeller,T=!!t.kycTag;return(0,i.jsxs)("div",{className:C().newCard,children:[(0,i.jsx)(D,{kycTag:t.kycTag,topTagCount:1,isInView:s,imageUrl:a,hasExpired:y,title:l,hasTopSeller:k,hasKycTag:T,topSeller:t.topSeller,fontColor:(null==t?void 0:t.fontColor)||"#dba717"}),(0,i.jsxs)("div",{className:P()(C().content,{[C().showJobsExpired]:N}),children:[_&&(0,i.jsx)(E.A,{company:u,companyLogo:p,style:{paddingTop:0,height:"auto",fontWeight:600}}),h&&(0,i.jsxs)("div",{className:C().location,children:[(0,i.jsx)(g.default,{className:C().locationIcon,src:b.A.src,alt:"location"}),(0,i.jsx)("span",{className:C().locationText,children:n})]}),A&&(0,i.jsx)(S.A,{supplementList:r}),x&&(0,i.jsx)(w.A,{featureLabels:c||[]}),f&&(0,i.jsxs)("div",{className:C().priceDetailContainer,children:[j&&(0,i.jsx)("div",{className:C().soldCntStr,children:o}
1),(0,i.jsx)(I.A,{priceDetail:d,originalPrice:m})]})]})]})}let U=e=>{let t=[];return t.push("contentPaddingH"),["pictureUrl","title","location","supplementList","featureLabels","soldCntStr","priceDetail","company"].forEach(s=>{"pictureUrl"===s?B(e.pictureUrl)||((0,N.u)(e.pictureUrl).type===o.yj.Long?t.push("longImage"):t.push("squareImage")):B(e[s])||t.push(s)}),t.includes("longImage")||t.includes("squareImage")||void 0===e.online||(null==e?void 0:e.online)===1||t.push("jobsExpired"),t},B=e=>null==e||("object"==typeof e?Array.isArray(e)?0===e.length:0===Object.keys(e).length:"string"==typeof e?""===e.trim():void 0===e);var O=s(1727),R=s(56140),V=s(64694);let W={[m.m3.property]:"fang",[m.m3.service]:"service",[m.m3.motors]:"car",[m.m3.car]:"car",[m.m3.marketplace]:"ershou",[m.m3.jobs]:"job",[m.m3.community]:"community",[m.m3.newarrivals]:"newarrivals"},H=e=>{var t,s,N,b,y,C,S,w,I,E,k,P,T,J,L,D,F,U,B,H,Y,Q,q,K;let{page:X,item:G,clickFavCb:z,clickCb:Z,exposureCb:$,width:ee,index:et=0,hasHover:es=!1,customClass:ei="",preloadImgDistance:ea=400,target:el,useNextLink:en=!1}=e,er=(null==G?void 0:G.biz)||m.m3.property,eo=Object.keys(W).includes(er)?er:"",ec=eo?"list-components-item-card-".concat(W[eo],"-pc"):"",ed=eo?"list-components-item-card-".concat(W[eo],"-m"):"",em=(0,u.useTranslations)("Main"),eu=(0,u.useTranslations)("ACHome"),[ep,ev]=(0,a.useState)(""),[eg,eh]=(0,a.useState)(""),eA=(0,a.useRef)(!1),ex=(0,a.useRef)(!1),[ej,ef]=(0,a.useState)(o.Dx[eo]),[e_,eN]=(0,a.useState)(!1),eb=Number(ee)?{width:"".concat(ee,"px")}:{},ey="list"===X,eC=(0,a.useMemo)(()=>void 0!==G.online&&(null==G?void 0:G.online)!==1,[G]),eS=G.videos&&G.videos.length>0,ew=(0,f.d4)(_.zK);(0,a.useEffect)(()=>{let e=eE();return ev((0,r.DH)(G.infoId)?"isViewed":""),eh(es?"pc-hover":""),()=>{e&&e()}},[]);let eI=e=>{let t=document.createElement("img");t.style.display="none",t.onload=()=>{t.remove(),ef(e)},t.onerror=()=>{t.remove()},t.src=e,document.body.appendChild(t)},eE=()=>{let{infoId:e,pictureUrl:t}=G;if("undefined"==typeof IntersectionObserver)return;let s=document.querySelector("#v_".concat(e));if(!s)return;let i=null,a=null;return i=new IntersectionObserver(e=>{let s=e[0];s&&s.isIntersecting&&!ex.current&&(ex.current=!0,t&&G.cardType!==n.Aj.business_common&&eI((0,O.C)(String((0,r.qD)(t)),{type:"lfit-width",w:496,format:"webp"})),null==i||i.disconnect(),i=null)},{rootMargin:"".concat(ea,"px")}),a=new IntersectionObserver(e=>{let t=e[0];t&&t.intersectionRatio>0&&!eA.current&&(eA.current=!0,$&&$(G,et),eN(!0),null==a||a.disconnect(),a=null)},{rootMargin:"0px"}),i.observe(s),a.observe(s),()=>{null==i||i.disconnect(),null==a||a.disconnect(),i=null,a=null}},ek=e=>{ev("isViewed"),(0,r.PW)(G.infoId),eC&&(e.preventDefault(),A.toast.show({message:em("ok_app_favourite_toast_des6")})),(0,R.ux)("".concat(V.rH).concat(G.infoId)),(0,R.ux)("".concat(V.J).concat(G.infoId)),Z&&Z(G,et)};return G.cardType===n.Aj.business_jobs&&"mobile"===ew.platform?(0,i.jsx)(p.A,{target:el,toSEO:!0,href:(null==G?void 0:G.action)||"",id:"v_".concat(G.infoId),className:"list-components-item-new-card-default-a-m ".concat(ei),onClick:ek,useNextLink:en,children:(0,i.jsx)(M,{listItem:G,isInView:e_})}):G.cardType===n.Aj.business_common&&"mobile"===ew.platform?(0,i.jsx)(p.A,{target:el,toSEO:!0,href:(null==G?void 0:G.action)||"",id:"v_".concat(G.infoId),className:"list-components-item-new-card-default-a-m ".concat(ei),onClick:ek,useNextLink:en,children:(0,i.jsx)(j.Ay,{listItem:G,isInView:e_})}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l.A,{desktop:!0,children:(0,i.jsxs)(p.A,{target:el,toSEO:!0,href:(null==G?void 0:G.action)||"",id:"v_".concat(G.infoId),className:"list-components-item-card-default-a list-components-item-card-default-pc-a ".concat(ec," ").concat(ep," ").concat(eg," ").concat(ei),onClick:ek,style:eb,children:[(0,i.jsxs)("div",{className:"image-container",children:[(0,i.jsx)("img",{className:"info-pic",src:ej,alt:ey?G.title+G.infoId+et:"",title:ey?G.title+et:""}),!eC&&G.topSeller&&(0,i.jsx)("div",{className:"top-sell",style:{backgroundImage:"url(".concat(d.A.src,")")},children:G.topSeller}),!eC&&!G.topSeller&&G.kycTag&&(0,i.jsx)("div",{className:"top-sell",style:{padding:"0"},children:(0,i.jsx)(x.A,{kycTag:G.kycTag})}),eC&&(0,i.jsx)("div",{className:"expired",children:em("ok_app_favourite_tag")}),!eC&&eS&&(0,i.jsx)("div",{className:"video-play-btn",children:(0,i.jsx)(g.default,{src:h.A.src,alt:"video-play"})}),(0,i.jsx)(v.A,{item:G,clickFavCb:z,customClass:"pc-card",index:et})]}),(0,i.jsxs)("div",{className:"details",children:[er===m.m3.jobs&&(0,i.jsx)("div",{className:"jobCardCompany",children:G.company||""}),(0,i.jsx)("h3",{className:"title hover-underline",children:G.title||""}),er===m.m3.newarrivals&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"tag-list",children:[!!(null===(s=G.attrParams)||void 0===s?void 0:null===(t=s.transactionProtection)||void 0===t?void 0:t.icon)&&(0,i.jsx)("img",{className:"tag-icon",src:G.attrParams.transactionProtection.icon}),!!(null===(b=G.attrParams)||void 0===b?void 0:null===(N=b.freeShipping)||void 0===N?void 0:N.value)&&(0,i.jsx)("div",{className:"tag-value",children:G.attrParams.freeShipping.value})]}),(0,i.jsxs)("div",{className:"prices-cantainer",children:[(0,i.jsx)("div",{className:"price-text",children:G.price||""}),(0,i.jsxs)("div",{className:"sales-text",children:[G.soldCnt," ",!!G.soldCnt&&(0,i.jsx)("div",{className:"sales-text-plural",children:eu(Number(G.soldCnt)>
11?"ok_app_sold_plural":"ok_app_sold")})]})]}),(0,i.jsx)("div",{className:"original-price",children:G.originalPrice||""})]}),er===m.m3.community&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"address",children:G.location||""}),(0,i.jsx)("div",{className:"prices",children:G.price||""})]}),er===m.m3.service&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"address",children:G.location||""}),(0,i.jsx)("div",{className:"prices",children:G.price||""})]}),er===m.m3.property&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"attr-params",children:(null==G?void 0:G.supplement)||""}),(0,i.jsxs)("div",{className:"address",children:[G.location||""," "]}),(0,i.jsxs)("div",{className:"prices",children:[G.price||""," "]})]}),(er===m.m3.motors||er===m.m3.car)&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"attr-params",children:(null==G?void 0:G.supplement)||""}),(0,i.jsx)("div",{className:"prices",children:G.price||""})]}),er===m.m3.marketplace&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"attr-params",children:[" ",(null==G?void 0:G.supplement)||""," "]}),(0,i.jsxs)("div",{className:"tag-list",children:[!!(null===(C=G.attrParams)||void 0===C?void 0:null===(y=C.transactionProtection)||void 0===y?void 0:y.icon)&&(0,i.jsx)("img",{className:"tag-icon",src:G.attrParams.transactionProtection.icon}),!!(null===(w=G.attrParams)||void 0===w?void 0:null===(S=w.freeShipping)||void 0===S?void 0:S.value)&&(0,i.jsx)("div",{className:"tag-value",children:G.attrParams.freeShipping.value})]}),(0,i.jsxs)("div",{className:"prices",children:[G.price||""," "]})]}),er===m.m3.jobs&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"job-content",children:(null==G?void 0:G.content)||""}),(0,i.jsxs)("div",{className:"job-tag",children:[(0,i.jsx)("img",{src:c.A.src}),(null==G?void 0:G.location)||""]}),(0,i.jsx)("div",{className:"job-tag2"}),(0,i.jsx)("div",{className:"prices",children:G.price||""})]})]})]})}),(0,i.jsx)(l.A,{mobile:!0,children:(0,i.jsxs)(p.A,{target:el,toSEO:!0,href:(null==G?void 0:G.action)||"",id:"v_".concat(G.infoId),className:"list-components-item-card-default-a list-components-item-card-default-a-m ".concat(ed," ").concat(ep," ").concat(ei),onClick:ek,children:[(0,i.jsxs)("div",{className:"image-container",children:[(0,i.jsx)("img",{className:"info-pic",src:ej,alt:ey?G.title+G.infoId+et:"",title:ey?G.title+et:""}),!eC&&G.topSeller&&(0,i.jsx)("div",{className:"top-sell",style:{backgroundImage:"url(".concat(d.A.src,")")},children:G.topSeller}),!eC&&!G.topSeller&&G.kycTag&&(0,i.jsx)("div",{className:"top-sell",style:{padding:"0"},children:(0,i.jsx)(x.A,{kycTag:G.kycTag})}),eC&&(0,i.jsx)("div",{className:"expired",children:em("ok_app_favourite_tag")}),!eC&&eS&&(0,i.jsx)("div",{className:"video-play-btn",children:(0,i.jsx)(g.default,{src:h.A.src,alt:"video-play"})}),(0,i.jsx)(v.A,{item:G,clickFavCb:z,index:et})]}),(0,i.jsxs)("div",{className:"details",children:[er===m.m3.jobs&&(0,i.jsx)("div",{className:"company",children:G.company}),(null==G?void 0:G.title)&&(0,i.jsx)("div",{className:"title hover-underline",children:G.title}),er===m.m3.newarrivals&&(0,i.jsxs)(i.Fragment,{children:[(!!(null==G?void 0:null===(E=G.attrParams)||void 0===E?void 0:null===(I=E.freeShipping)||void 0===I?void 0:I.value)||!!(null==G?void 0:null===(P=G.attrParams)||void 0===P?void 0:null===(k=P.transactionProtection)||void 0===k?void 0:k.icon))&&(0,i.jsxs)("div",{className:"tag-list",children:[!!(null===(J=G.attrParams)||void 0===J?void 0:null===(T=J.transactionProtection)||void 0===T?void 0:T.icon)&&(0,i.jsx)("img",{className:"tag-icon",src:G.attrParams.transactionProtection.icon}),!!(null===(D=G.attrParams)||void 0===D?void 0:null===(L=D.freeShipping)||void 0===L?void 0:L.value)&&(0,i.jsx)("div",{className:"tag-value",children:G.attrParams.freeShipping.value})]}),!!(null==G?void 0:G.price)&&(0,i.jsxs)("div",{className:"prices-cantainer",children:[(0,i.jsx)("div",{className:"price-text",children:G.price||""}),!!(null==G?void 0:G.soldCnt)&&(0,i.jsxs)("div",{className:"sales-text",children:[G.soldCnt,(0,i.jsx)("div",{className:"sales-text-plural",children:eu(Number(G.soldCnt)>
11?"ok_app_sold_plural":"ok_app_sold")})]})]}),!!(null==G?void 0:G.originalPrice)&&(0,i.jsx)("div",{className:"original-price",children:G.originalPrice})]}),er===m.m3.community&&(0,i.jsxs)(i.Fragment,{children:[(null==G?void 0:G.location)&&(0,i.jsx)("div",{className:"address",children:G.location}),(null==G?void 0:G.price)&&(0,i.jsx)("div",{className:"prices",children:G.price})]}),er===m.m3.service&&(0,i.jsxs)(i.Fragment,{children:[(null==G?void 0:G.location)&&(0,i.jsx)("div",{className:"address",children:G.location}),(null==G?void 0:G.price)&&(0,i.jsx)("div",{className:"prices",children:G.price})]}),er===m.m3.property&&(0,i.jsxs)(i.Fragment,{children:[(null==G?void 0:G.supplement)&&(0,i.jsx)("div",{className:"attr-params",children:(null==G?void 0:G.supplement)||""}),(null==G?void 0:G.location)&&(0,i.jsx)("div",{className:"address",children:G.location}),(null==G?void 0:G.price)&&(0,i.jsx)("div",{className:"prices",children:G.price})]}),(er===m.m3.motors||er===m.m3.car)&&(0,i.jsxs)(i.Fragment,{children:[(null==G?void 0:G.supplement)&&(0,i.jsx)("div",{className:"attr-params",children:(null==G?void 0:G.supplement)||""}),(null==G?void 0:G.price)&&(0,i.jsx)("div",{className:"prices",children:G.price})]}),er===m.m3.marketplace&&(0,i.jsxs)(i.Fragment,{children:[(null==G?void 0:G.supplement)&&(0,i.jsxs)("div",{className:"attr-params",children:[" ",(null==G?void 0:G.supplement)||""]}),(!!(null==G?void 0:null===(U=G.attrParams)||void 0===U?void 0:null===(F=U.freeShipping)||void 0===F?void 0:F.value)||!!(null==G?void 0:null===(H=G.attrParams)||void 0===H?void 0:null===(B=H.transactionProtection)||void 0===B?void 0:B.icon))&&(0,i.jsxs)("div",{className:"tag-list",children:[!!(null===(Q=G.attrParams)||void 0===Q?void 0:null===(Y=Q.transactionProtection)||void 0===Y?void 0:Y.icon)&&(0,i.jsx)("img",{className:"tag-icon",src:G.attrParams.transactionProtection.icon}),!!(null===(K=G.attrParams)||void 0===K?void 0:null===(q=K.freeShipping)||void 0===q?void 0:q.value)&&(0,i.jsx)("div",{className:"tag-value",children:G.attrParams.freeShipping.value})]}),(null==G?void 0:G.price)&&(0,i.jsx)("div",{className:"prices",children:G.price})]}),er===m.m3.jobs&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"address",children:[(0,i.jsx)("img",{src:c.A.src}),G.location]}),(0,i.jsx)("div",{className:"prices",children:G.price})]})]})]})})]})}},39194:()=>{},42399:(e,t,s)=>{"use strict";s.d(t,{A:()=>i});let i={src:"https://sgj1.ok.com/yongjia/_next/static/media/icon-video-play.6a2c121c.png",height:128,width:128,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAG1BMVEUMDAwSEhISEhISEhJ3d3fh4eENDQ1GRkb5+fkBQOXkAAAACXRSTlNJCVM3bsY3V/LnESKpAAAACXBIWXMAAAsTAAALEwEAmpwYAAAALElEQVR4nD2LyQ0AMAzCDKTH/hNXfSQvLNkgBSIhDEbE1MEbYN360zBq4r4/ECkAc0gvEL4AAAAASUVORK5CYII=",blurWidth:8,blurHeight:8}},43287:()=>{},56140:(e,t,s)=>{"use strict";s.d(t,{A9:()=>p,Ad:()=>n,Cy:()=>g,K_:()=>d,LD:()=>v,bY:()=>m,jr:()=>h,jv:()=>c,lB:()=>r,mX:()=>u,ux:()=>o});var i=s(64694);function a(e){return"__page_cache__".concat(e)}function l(e,t){try{let s=a(e),i=[];for(let e=0;e<sessionStorage.length;e++){let t=sessionStorage.key(e);if(t&&t.startsWith(s))try{let e=sessionStorage.getItem(t);if(e){let s=JSON.parse(e);i.push({key:t,timestamp:s.timestamp})}}catch(e){t&&sessionStorage.removeItem(t)}}if(i.length<=t)return;i.sort((e,t)=>e.timestamp-t.timestamp);let l=i.length-t;for(let e=0;e<l;e++)sessionStorage.removeItem(i[e].key)}catch(e){}}function n(e,t){try{let s={data:t,timestamp:Date.now()};sessionStorage.setItem(a(e),JSON.stringify(s)),e.startsWith(i.rH)&&l(i.rH,50),e.startsWith(i.J)&&l(i.J,50),e.startsWith(i.Qn)&&l(i.Qn,5),e.startsWith(i.Ku)&&l(i.Ku,5)}catch(e){}}function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.Nq;try{let s=sessionStorage.getItem(a(e));if(!s)return null;let i=JSON.parse(s);if(Date.now()-i.timestamp>t)return sessionStorage.removeItem(a(e)),null;return i.data}catch(e){return null}}function o(e){try{sessionStorage.removeItem(a(e))}catch(e){}}function c(e,t){try{let s={data:t,timestamp:Date.now()};localStorage.setItem(a(e),JSON.stringify(s))}catch(e){}}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.Nq;try{let s=localStorage.getItem(a(e));if(!s)return null;let i=JSON.parse(s);if(Date.now()-i.timestamp>t)return localStorage.removeItem(a(e)),null;return i.data}catch(e){return null}}function m(e){try{localStorage.removeItem(a(e))}catch(e){}}function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.Cf;return e.length>t?e.slice(0,t):e}function p(e){try{sessionStorage.setItem(i.Wh,e)}catch(e){}}function v(e){let t=function(){try{return sessionStorage.getItem(i.Wh)}catch(e){return null}}();return!!(t&&e.includes(t))}function g(e,t,s,i){if(e&&v(t)){let t=r(e);if(t&&(!i||i(t)))return t}return e&&o(e),s}function h(e,t,s){if(!e)return t;let i=d(e);return i&&(!s||s(i))?i:t}},59473:(e,t,s)=>{"use strict";s.d(t,{A:()=>m});var i=s(95155),a=s(12115),l=s(21239),n=s(29310),r=s(42826);let o={src:"https://sgj1.ok.com/yongjia/_next/static/media/fav.6bfdbb5e.png"},c={src:"https://sgj1.ok.com/yongjia/_next/static/media/unFav.d2971929.png"};s(43287);var d=s(10726);let m=function(e){let{item:t,clickFavCb:s,customClass:m,index:u=0}=e,[p,v]=(0,a.useState)(t.isFavorite),g=async()=>{let e=p?"DELETE":"PUT";s&&s(t,e,u);let i=await (0,l.y)("/smartProbe/api/favourite?infoId=".concat(t.infoId),{method:e});200===i.responseCode&&(p?(v(!1),t.isFavorite=!1):(v(!0),t.isFavorite=!0),i.responseMsg&&r.toast.show({message:i.responseMsg,type:"success"}))},{contextHandler:h,run:A}=(0,n.vz)({onSuccess:()=>{d.B.emit("closeLogin",()=>{}),g()},onError:()=>{}}),x=async e=>{e.preventDefault(),e.stopPropagation(),(0,n.mY)()?g():A()};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"list-components-item-favorite ".concat(m||""),onClick:x,children:(0,i.jsx)("img",{className:"favorite-icon",src:p?o.src:c.src})}),h]})}},64694:(e,t,s)=>{"use strict";s.d(t,{Cf:()=>r,EE:()=>d,J:()=>n,Ku:()=>a,Nq:()=>o,Qn:()=>i,UY:()=>m,Wh:()=>c,rH:()=>l});let i="list_feed_",a="list_scroll_y_",l="detail_feed_",n="detail_scroll_y_",r=1e3,o=36e5,c="__page_cache__nav_source",d="home_feed",m="home_scroll_y"},78607:(e,t,s)=>{"use strict";s.d(t,{A:()=>i});let i={src:"https://sgj1.ok.com/yongjia/_next/static/media/topseller-bg.bc3e1e4a.png",height:37,width:147,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAMAAABSSm3fAAAAFVBMVEX78uX78eT88eL88eP78uP77+L/9ulw8x5uAAAABnRSTlP69M/Nn5Y/95CUAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAGklEQVR4nGNgYWNgYGBgY2ZgYmBkZGRkYAUAAT0AH1XCfl4AAAAASUVORK5CYII=",blurWidth:8,blurHeight:2}},91576:e=>{e.exports={longImage:"NewJobCardImage_longImage__g_kIB",squareImage:"NewJobCardImage_squareImage__bWUwY",imageWrapper:"NewJobCardImage_imageWrapper__rrF4J",image:"NewJobCardImage_image__5IFPD",loading:"NewJobCardImage_loading__2_c2v",titleOverlay:"NewJobCardImage_titleOverlay__2zVM_",singleLine:"NewJobCardImage_singleLine__wuu_T",multiLine:"NewJobCardImage_multiLine__GKZyy",tagList:"NewJobCardImage_tagList__roVVq",videoTag:"NewJobCardImage_videoTag__fYm3a"}},98007:(e,t,s)=>{"use strict";s.d(t,{A:()=>i});let i={src:"https://sgj1.ok.com/yongjia/_next/static/media/icon-job-address.289400e3.png",height:36,width:36,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAHlBMVEUQEBAREREAAABMaXEcHBwVFRUPDw8QEBAQEBASEhKszr1UAAAACnRSTlN3HwEACRdBW003kwJ7owAAAAlwS
1FlzAAALEwAACxMBAJqcGAAAADVJREFUeJwdy7kRwDAMxEAcQerpv2GPHGETUM45Y2G4l4gkCQ+u9WcvXVtsZmgpA3lX2W35AR1JAMMoLUV3AAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8}}}]);
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.