1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3395],{76479:function(e,n,t){t.d(n,{cY:function(){return u},dk:function(){return s},i6:function(){return c}});var i=t(50029),r=t(87794),a=t.n(r),o=t(7333),c=function(e){var n=Date.now();return"".concat(e).concat(n)},s=function(e){var n=e.event_name,t=e.event_id,i=e.products,r=e.em,a=void 0===r?null:r,o=e.ph,c=void 0===o?null:o;return{version:2,body:{event_name:n,event_id:t,content_type:"product",content_ids:i.map((function(e){return e.sku_id})),content_name:i.map((function(e){return e.product_name})).join(","),content_category:i.map((function(e){return(e.product_line?e.product_line+" > ":"")+e.product_category})).join(","),em:a,ph:c}}},u=function(){var e=(0,i.Z)(a().mark((function e(n){var t,i,r,c,s,u,d,l,p,f,h;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.event_name,i=n.event_id,r=n.search_string,c=n.products,e.next=3,(0,o.jQ)();case 3:return s=e.sent,u=s.em,d=s.ph,l=c.map((function(e){return e.sku_id})),p=c.map((function(e){return e.product_name})).join(","),f=c.map((function(e){return(e.product_line?e.product_line+" > ":"")+e.product_category})).join(","),h={version:2,body:{event_name:t,event_id:i,content_type:"product",content_ids:l,em:u,ph:d}},"Search"==t?h.body.search_string=r:(h.body.content_name=p,h.body.content_category=f),e.abrupt("return",h);case 12:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}()},66993:function(e,n,t){var i=t(50029),r=t(59499),a=t(87794),o=t.n(a),c=t(94315),s=t.n(c),u=t(11163),d=t(17563),l=t(67294),p=t(76871),f=t(85353),h=t(77166),v=t(96260),g=t(21423),m=t(32613);function x(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function w(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?x(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):x(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}n.Z=function(e){var n=e.review_id,t=e.display_id,r=e.contract_id,a=e.pos,c=e.index,x=e.storageKey,k=e.parameter,b=(0,l.useState)(!1),y=b[0],_=b[1],j=(0,l.useState)(0),O=j[0],P=j[1],C=(0,l.useContext)(f.kn),Z=C.isLogin,I=C.userInfo,N=C.logining,R=C.reviewLikeItemsState,E=C.setReviewLikeItemsState,T=(0,u.useRouter)(),J=function(){var e=(0,g.oi)(x)||{},t=(null===I||void 0===I?void 0:I.id)||null;return!(!Z||!t)&&(t in e&&(n in e[t]&&e[t][n]))},q=function(e){_(!0),P(e),function(e){var t=(null===I||void 0===I?void 0:I.id)||null;if(!t)return!1;t in R||(R[t]={}),R[t][n]=e,E(w({},R)),(0,g.OK)(R,x,720)}(e),v.Z.send("ClickToVote",{pos:a,order:c,display_id:t,contract_id:r})},z=function(e){_(!1),P(e),function(){var e=(null===I||void 0===I?void 0:I.id)||null;if(!e)return!1;delete R[e][n],E(w({},R)),(0,g.OK)(R,x,720)}(),v.Z.send("ClickToUnvote",{pos:a,order:c,display_id:t,contract_id:r})},S=function(){var e=(0,i.Z)(o().mark((function e(){var i,a;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,h.JT)({review_id:n,display_id:t,contract_id:r});case 3:i=e.sent,a=i.count,q(a),e.next=12;break;case 8:e.prev=8,e.t0=e.catch(0),"development"===p.Gv&&q(1),console.error(e.t0);case 12:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}(),F=function(){var e=(0,i.Z)(o().mark((function e(){var i,a;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,h.E0)({review_id:n,display_id:t,contract_id:r});case 3:i=e.sent,a=i.count,z(a),e.next=12;break;case 8:e.prev=8,e.t0=e.catch(0),"development"===p.Gv&&z(0),console.error(e.t0);case 12:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}();return(0,l.useEffect)((function(){if(Z){var e=J(),t=T.query[k];n==t&&((0,m.$f)([k]),e&&!1!==t?(_(!0),P(e)):void 0!==t&&S())}}),[Z]),(0,l.useEffect)((function(){if(!N){var e=J();Z&&e>0&&(_(!0),P(e))}}),[N,R]),(0,l.useEffect)((function(){var e=(0,g.oi)(x);s().object(e)?E(e):((0,g.cl)(x),E({}))}),[]),{isLike:y,likeCount:O,changeLikeStatus:function(){if(Z)!y&&S(),y&&F();else{var e=d.parse(window.location.search),t=window.location.origin+window.location.pathname;e[k]=n,t=t+"?"+d.stringify(e)+window.location.hash,(0,m.hh)(t)}}}}},21423:function(e,n,t){t.d(n,{OK:function(){return o},cl:function(){return c},oi:function(){return a}});var i=t(27484),r=t.n(i),a=function(e){try{var n=localStorage.getItem(e);if(null===n)return;var t=JSON.parse(n);return r()().unix()>t.localExpires?void c(e):t}catch(i){return}},o=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:24,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";try{e.localExpires=0==t?i:r()().add(t,"hour").unix();var a=JSON.stringify(e);localStorage.setItem(n,a)}catch(o){}},c=function(e){try{localStorage.removeItem(e)}catch(n){}}}
1,13195:function(e,n,t){var i=t(92777),r=t(82262),a=t(76871),o=t(7333),c=t(32873),s=function(){function e(){(0,i.Z)(this,e)}return(0,r.Z)(e,[{key:"_getViewRatingPopup",value:function(e){var n=e.ratingIndex,t=e.isFromOrders,i=void 0!==t&&t,r=i?"orders":"orderDetail";return{dejavu_payload:(0,o.PL)({event:"pageview",page:"ratingPopup",ref:"".concat(a.iw,"_").concat(r,"_goRating").concat(i?"_"+n:"")})}}},{key:"_getViewReviewFeed",value:function(){var e=(0,c.Jn)();return{dejavu_payload:(0,o.PL)({event:"pageview",page:"reviewFeed",ref:e})}}},{key:"_getConfirmRating",value:function(e){var n=e.ratingIndex,t=e.haveRating,i=e.haveComment,r=e.haveImages,c="confirm".concat(t?"Star":"").concat(i?"Review":"").concat(r?"Photo":"");return{dejavu_payload:(0,o.PL)({event:"confirm",page:"ratingPopup",ref:"".concat(a.iw,"_ratingPopup_").concat(c,"_").concat(n)})}}},{key:"_getCloseRating",value:function(e){var n=e.ratingIndex;return{dejavu_payload:(0,o.PL)({event:"close",page:"ratingPopup",ref:"".concat(a.iw,"_ratingPopup_close_").concat(n)})}}},{key:"_getForwardRatingPopupItem",value:function(e){var n=e.ratingIndex;return{dejavu_payload:(0,o.PL)({event:"forward",page:"ratingPopup",ref:"".concat(a.iw,"_ratingPopup_forward_").concat(n)})}}},{key:"_getBackwardRatingPopupItem",value:function(e){var n=e.ratingIndex;return{dejavu_payload:(0,o.PL)({event:"backward",page:"ratingPopup",ref:"".concat(a.iw,"_ratingPopup_backward_").concat(n)})}}},{key:"_getConfirmRatingPopupNextItem",value:function(e){var n=e.ratingIndex;return{dejavu_payload:(0,o.PL)({event:"confirm",page:"ratingPopup",ref:"".concat(a.iw,"_ratingPopup_nextItem_").concat(n)})}}},{key:"send",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=null;switch(e){case"ViewRatingPopup":t=this._getViewRatingPopup(n);break;case"ConfirmRating":t=this._getConfirmRating(n);break;case"CloseRating":t=this._getCloseRating(n);break;case"ForwardRatingPopupItem":t=this._getForwardRatingPopupItem(n);break;case"BackwardRatingPopupItem":t=this._getBackwardRatingPopupItem(n);break;case"ConfirmRatingPopupNextItem":t=this._getConfirmRatingPopupNextItem(n);break;case"ViewReviewFeed":t=this._getViewReviewFeed()}a.Gv,(0,o.qP)(e,t)}}]),e}();n.Z=new s},33348:function(e,n,t){t.d(n,{Z:function(){return w}});var i=t(94184),r=t.n(i),a=t(11163),o=t(67294),c=t(50445),s=t(76871),u=t(85353),d=t(71051),l=t(28661),p=t(62928),f=t(48710),h=t(39659),v=(0,c.iv)(["width:100%;&.shared-header-fixed{position:fixed;z-index:101;top:0;}.show{opacity:1;max-height:100vw;overflow:visible;}.header{background-color:",";color:white;position:relative;display:flex;justify-content:space-between;align-items:center;.header-block{width:100%;padding:"," ",";height:",";display:flex;justify-content:space-between;align-items:center;.back-block{display:flex;align-items:center;width:"," !important;.back-block-text{display:",";}}}.header-text{& > span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);}}}.bcoin{.bcoin-block{background:rgba(0,0,0,0.2);border-radius:25px 8px 8px 25px;width:80px;}img{vertical-align:middle;}span{vertical-align:middle;color:#fff;width:48px;display:inline-block;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.icon{",";}}.favorite-intro{display:flex;align-items:center;gap:",";margin-right:",";span{text-wrap:nowrap;}}"],(0,h.QT)("siteColor"),(0,h.Ok)(10),(0,h.Ok)(12),(0,h.Ok)(48),(0,h.Ok)(60),(function(e){return e.showBackText?"block":"none"}),(0,h.aF)(24),(0,h.Ok)(4),(0,h.Ok)(16)),g=t(26432),m=t(85893),x=function(e){var n=e.className,t=e.title,i=e.w
1arningMessage,c=e.backEvent,h=e.onClick,v=e.bold,x=e.isFixed,w=e.showBCoin,k=e.page,b=(0,o.useContext)(u.kn).isApp,y=(0,a.useRouter)();return(0,m.jsx)(m.Fragment,{children:b?(0,m.jsx)("div",{className:n,id:"header"}):(0,m.jsxs)("div",{className:r()(n,{"shared-header-fixed":x}),id:"header",children:[(0,m.jsxs)("div",{className:"header",children:[(0,m.jsxs)("div",{className:"header-block",children:[(0,m.jsxs)("div",{className:"back-block",onClick:function(){"function"===typeof h?h():(c(),window.history.back())},children:[(0,m.jsx)("img",{src:"/vImages/cart/chevron-left.svg"}),(0,m.jsx)("div",{className:"back-block-text",children:"\u8fd4\u56de"})]}),"buy123"===s.Ey&&w&&(0,m.jsx)(g.Z,{})]}),(0,m.jsx)("div",{className:"header-text",children:(0,m.jsx)(l.kY,{bold:v,children:t})}),"favorite"===k&&(0,m.jsxs)("div",{className:"favorite-intro",onClick:function(){y.push("/campaign/myfavorite_1")},children:[(0,m.jsx)(p.Z,{icon:"question_mark",page:"shared",site:"buy123"}),(0,m.jsx)("span",{children:"\u8aaa\u660e"})]})]}),i&&(0,m.jsx)(d.default,{message:i}),(0,m.jsx)(f.Z,{})]})})};x.defaultProps={warningMessage:"",backEvent:function(){},onClick:null,showBackText:!1,backgroundColor:null,bold:!1,isFixed:!0,showBCoin:!0,page:"main"};var w=(0,c.ZP)(x).withConfig({componentId:"sc-1hobf39-0"})(["",""],v)},71051:function(e,n,t){t.r(n),t.d(n,{default:function(){return f}});var i=t(67294),r=t(50445),a=t(96260),o=t(12953),c=t(38644),s=t(28661),u=t(39659),d=(0,r.iv)(["font-size:",";color:",";background-color:",";display:flex;justify-content:center;align-items:center;padding:"," ",";.text{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:",";width:",";}.alert{width:",";height:",";}.content{padding:",";color:",";border-bottom:1px solid ",";}"],(0,u.Ok)(12),(0,u.QT)("danger"),(0,u.QT)("red-10"),(0,u.Ok)(8),(0,u.Ok)(16),(0,u.Ok)(12),(0,u.Ok)(310),(0,u.Ok)(24),(0,u.Ok)(24),(0,u.Ok)(16),(0,u.QT)("dark"),(0,u.QT)("dark-30")),l=t(85893),p=function(e){var n=e.className,t=e.message,r=e.page,u=e.onClickAnnouncement,d=(0,i.useState)(!1),p=d[0],f=d[1],h=(0,i.useState)(!1),v=h[0],g=h[1];(0,i.useEffect)((function(){t&&t.length>310/12&&g(!0)}),[t]);return t?(0,l.jsxs)("div",{className:n,onClick:function(){"orders"===r?o.Z.send("ClickOperationAnnouncement"):"commodity"===r&&a.Z.send("ClickOperationAnnouncement"),u(),v&&f(!0)},children:[(0,l.jsx)("img",{className:"alert",src:"/vImages/cart/alert.svg"}),(0,l.jsx)(s.vF,{children:(0,l.jsx)("div",{className:"text",children:t})}),v&&(0,l.jsx)("img",{src:"/vImages/shared/chevron-right.svg"}),(0,l.jsx)(c.Z,{height:550,isOpen:p,setIsOpen:f,title:"\u516c\u544a",children:(0,l.jsx)("div",{className:"content",children:(0,l.jsx)(s.TB,{children:t})})})]}):null};p.defaultProps={page:"",message:"",onClickAnnouncement:function(){}};var f=(0,r.ZP)(p).withConfig({componentId:"sc-16zm4b2-0"})(["",""],d)},28661:function(e,n,t){t.d(n,{BB:function(){return o},TB:function(){return u},d9:function(){return s},kY:function(){return c},vF:function(){return d}});var i=t(50445),r=t(76871),a=t(39659),o=(i.ZP.span.withConfig({componentId:"sc-1fdh3yu-0"})(["font-size:",";line-height:",";"],r.Jq?(0,a.Ok)(30):"30px",r.Jq?(0,a.Ok)(42):"42px"),i.ZP.span.withConfig({componentId:"sc-1fdh3yu-1"})(["font-size:",";line-height:",";"],r.Jq?(0,a.Ok)(28):"28px",r.Jq?(0,a.Ok)(40):"40px"),i.ZP.span.withConfig({componentId:"sc-1fdh3yu-2"})(["font-size:",";line-height:",";"],r.Jq?(0,a.Ok)(24):"24px",r.Jq?(0,a.Ok)(34):"34px"),i.ZP.span.withConfig({componentId:"sc-1fdh3yu-3"})(["font-size:",";line-height:",";"],r.Jq?(0,a.Ok)(20):"20px",r.Jq?(0,a.Ok)(28):"28px")),c=i.ZP.span.withConfig({componentId:"sc-1fdh3yu-4"})(["font-size:",";line-height:",";font-weight:",";"],r.Jq?(0,a.Ok)(18):"18px",r.Jq?(0,a.Ok)(24):"24px",(function(e){return e.bold?"bold":"normal"})),s=i.ZP.span.withConfig({componentId:"sc-1fdh3yu-5"})(["font-size:",";line-height:",";"],r.Jq?(0,a.Ok)(16):"16px",r.Jq?(0,a.Ok)(22):"22px"),u=i.ZP.span.withConfig({componentId:"sc-1fdh3yu-6"})(["font-size:",";line-height:",";"],r.Jq?(0,a.Ok)(14):"14px",r.Jq?(0,a.Ok)(20):"20px"),d=i.ZP.span.withConfig({componentId:"sc-1fdh3yu-7"})(["font-size:",";line-height:",";"],r.Jq?(0,a.Ok)(12):"12px",r.Jq?(0,a.Ok)(14):"14px");i.ZP.span.withConfig({componentId:"sc-1fdh3yu-8"})(["font-size:",";line-height:",";"],r.Jq?(0,a.Ok)(10):"10px",r.Jq?(0,a.Ok)(16):"16px")},24091:function(e,n,t){var i,r=t(71383),a=t(73935),o=t(50445),c=t(85893),s=(0,o.vJ)(i||(i=(0,r.Z)(["\n #modal
1-portals {\n position:fixed;\n z-index:9999;\n }\n"])));n.Z=function(e){var n=e.children;var t=document.getElementById("modal-portals");return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(s,{}),a.createPortal((0,c.jsx)("div",{className:"portal-item",children:n}),t)]})}},50354:function(e,n,t){t.d(n,{Z:function(){return T}});var i=t(27812),r=t(50029),a=t(87794),o=t.n(a),c=t(94315),s=t.n(c),u=t(67294),d=t(51517),l=t(50445),p=t(65885),f=t(76871),h=t(69358),v=t(13195),g=t(68621),m=t(33348),x=t(70153),w=t(57431),k=t(94184),b=t.n(k),y=t(66993),_=t(39659),j=(0,l.iv)(["display:flex;align-items:center;font-size:",";height:",";cursor:pointer;.review-like-icon{width:",";margin-right:",";}.like-wording{margin-top:",";color:",";&.is-like{color:",";}}"],(0,_.Ok)(12),(0,_.Ok)(26),(0,_.Ok)(18),(0,_.Ok)(3),(0,_.Ok)(3),(0,_.QT)("dark-60"),(0,_.QT)("red-100")),O=t(85893),P=(0,l.ZP)((function(e){var n=e.className,t=e.reviewData,i=(0,y.Z)({review_id:t.id,display_id:t.sku_id,contract_id:t.contractid,pos:"itemRating",index:t.id,storageKey:"reviewlikesItems",parameter:"reviewlikes"}),r=i.isLike,a=i.likeCount,o=i.changeLikeStatus,c=t.likes_count||0;return a&&(c=a),(0,O.jsxs)("div",{className:n,onClick:o,style:f.Jq?{}:{height:"50px"},children:[(0,O.jsx)("img",{className:"review-like-icon",src:r?"/vImages/commodity/review-like-active.svg":"/vImages/commodity/review-like.svg",style:f.Jq?{}:{width:"20px"}}),(0,O.jsx)("div",{className:b()("like-wording",{"is-like":r}),style:f.Jq?{}:{fontSize:"20px",marginTop:"0px"},children:c})]})})).withConfig({componentId:"sc-1y2vjuc-0"})(["",""],j),C=(0,l.iv)(["margin-bottom:10px;background-color:white;border-radius:8px;border-top-left-radius:8px;border-top-right-radius:8px;.comment-container{padding:8px;}.comment-text{font-size:14px;font-weight:500;line-height:20px;color:",";}.review-feed-image{position:absolute;height:10px;margin-top:-20px;}.user-like-container{align-items:center;font-size:12px;font-weight:400;line-height:16px;color:",";display:flex;margin-top:5px;justify-content:space-between;}.user-wrapper{align-items:center;font-size:12px;font-weight:400;line-height:16px;color:",";display:flex;}.user-avatar{width:24px;height:24px;font-weight:500;font-size:16px;border-radius:50%;background-color:",";color:",";display:flex;align-items:center;justify-content:center;margin-right:8px;}.divider{height:1px;width:100%;background-color:",";}.sku-container{padding:8px;display:flex;cursor:pointer;}.sku-image{width:30%;margin-right:5px;}.sku-name{display:flex;align-items:center;color:",";font-size:12px;font-weight:400;line-height:16px;text-align:left;}"],(0,_.QT)("dark-90"),(0,_.QT)("dark-70"),(0,_.QT)("dark-70"),(0,_.QT)("orange-100"),(0,_.QT)("dark-20"),(0,_.QT)("dark-20"),(0,_.QT)("dark-70")),Z=(0,l.ZP)((function(e){var n=e.className,t=e.reviewData,i=e.index,r=function(){window.location.href="/site/sku/".concat(t.sku_id,"#").concat(f.iw,"_reviewfeed_").concat(i)};return(0,O.jsxs)("div",{className:n,children:[(0,O.jsx)(x.Ee,{errorFallback:function(){return(0,O.jsx)(w.Z,{})},fallback:(0,O.jsx)(w.Z,{}),NativeImgProps:{style:{objectFit:"contain",width:"100%",height:"100%",borderTopLeftRadius:"8px",borderTopRightRadius:"8px",cursor:"pointer"},onClick:function(){return r()}},src:t.images.large}),(0,O.jsxs)("div",{className:"comment-container",children:[(0,O.jsx)("img",{className:"review-feed-image",src:"/vImages/review/review-feed-image.png"}),(0,O.jsx)("div",{className:"comment-text",onClick:function(){return r()},children:t.comment}),(0,O.jsxs)("div",{className:"user-like-container",children:[(0,O.jsxs)("div",{className:"user-wrapper",children:[(0,O.jsx)("div",{className:"user-avatar",children:t.user_name.charAt(0).toUpperCase()}),(0,O.jsx)("div",{children:t.user_name})]}),(0,O.jsx)(P,{reviewData:t})]})]}),(0,O.jsx)("div",{className:"divider"}),(0,O.jsxs)("div",{className:"sku-container",onClick:function(){return r()},children:[(0,O.jsx)("div",{className:"sku-image",children:(0,O.jsx)(x.Ee,{errorFallback:function(){return(0,O.jsx)(w.Z,{})},fallback:(0,O.jsx)(w.Z,{}),NativeImgProps:{style:{objectFit:"contain",width:"100%",height:"100%"}},src:t.sku_image})}),(0,O.jsx)("div",{className:"sku-name",children:t.sku_name})]})]})})).withConfig({componentId:"ezcf99-0"})(["",""],C),I=(0,l.iv)(["padding-bottom:200px;.main-container{display:flex;justify-content:space-between;padding:10px;background-color:",";}.column{width:49%;}.block{background-color:",";border-radius:8px;padding:20px;font-size:20px;}.refresh-container{width:100%;display:flex;justify-content:center;padding:20px;font-weight:700;}.header-block{height:15px ",";padding:25px ",";}"],(0,_.QT)("dark-20"),(0,_.QT)("dark-20"),f.Jq?"":" !important",f.Jq?"":" !important"),N=new p.Z,R="review_feed_seed",E=function(e){return e.reduce((function(e,n){var t;return e+((null===(t=n.current)||void 0===t?void 0:t.offsetHeight)||0)+10}),0)},T=(0,l.ZP)((function(e){var n=e.className,t=(0,u.useRef)(0),a=(0,g.P)().isReady,c=(0,u.useState)(0),l=c[0],p=c[1],x=(0,u.useState)([]),w=x[0],k=x[1],b=(0,u.useState)([]),y=b[0],_=b[1],j=(0,u.useState)(!1),P=j[0],C=j[1],I=(0,u.useRef)([]),T=(0,u.useRef)([]),J=(0,u.useRef)(!1),q=(0,u.useRef)(null),z=(0,u.useRef)(!1),S=function(){var e=(0,r.Z)(o().mark((function e(n,t,i){var r;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=[],e.prev=1,z.current=!0,e.next=5,a={seed_id:n,page:t,device_hash:i},(0,h.fetchData)("/review/getReviewFeed?site=".concat(f.Ey,"&seed_id=").concat(a.seed_id,"&page=").concat(a.page,"&device_hash=").concat(a.device_hash),"GET",null,"develope");case 5:r=e.sent,e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),console.error(e.t0);case 11:return e.prev=11,z.current=!1,e.finish(11);case 14:return e.abrupt("return",r);case 15:case"end":return e.stop()}var a}),e,null,[[1,8,11,14]])}
1)));return function(n,t,i){return e.apply(this,arguments)}}(),F=function(){var e=(0,r.Z)(o().mark((function e(n,r){var a;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S(r,t.current,n);case 2:if(a=e.sent,!s().empty(a)){e.next=6;break}return J.current=!0,e.abrupt("return");case 6:a.forEach((function(e){E(I.current)<=E(T.current)?(I.current.push(u.createRef()),k((function(n){return[].concat((0,i.Z)(n),[e])}))):(T.current.push(u.createRef()),_((function(n){return[].concat((0,i.Z)(n),[e])})))})),z.current=!1;case 7:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}(),L=function(){var e=Math.floor(100*Math.random());return function(e,n){var t=new Date,i=new Date(t.getTime()+36e5);N.set(e,n,{path:"/",expires:i})}(R,e),q.current=e,e},Q=function(){var e,n=null!==(e=N.get(R))&&void 0!==e?e:q.current;return n||(n=L()),n},D=function(){var e=(0,r.Z)(o().mark((function e(){var n,i;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!z.current&&!J.current){e.next=2;break}return e.abrupt("return");case 2:return t.current+=1,n=Q(),i=N.get("device_hash"),e.next=7,F(i,n);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),B=function(){var e=(0,r.Z)(o().mark((function e(){var n,i;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return C(!0),J.current=!1,t.current=0,_([]),k([]),n=N.get("device_hash"),i=L(),e.next=9,F(n,i);case 9:C(!1);case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,u.useEffect)((function(){if(a){var e=N.get("device_hash");if(!s().undefined(e)){C(!0);var n=Q();F(e,n),C(!1),v.Z.send("ViewReviewFeed",{})}}}),[a]),(0,u.useEffect)((function(){var e=function(e){p(e.touches[0].clientY)},n=function(e){var n=e.changedTouches[0].clientY;window.scrollY<=30&&!P&&n-l>50&&B()};return window.addEventListener("touchstart",e),window.addEventListener("touchend",n),function(){window.removeEventListener("touchstart",e),window.removeEventListener("touchend",n)}}),[P,l]),(0,u.useEffect)((function(){var e=function(){window.scrollY+window.innerHeight>=document.documentElement.scrollHeight-1e3&&D()};return window.addEventListener("scroll",e),function(){return window.removeEventListener("scroll",e)}}),[w,y]),(0,O.jsxs)("div",{className:n,children:[(0,O.jsx)(d.Z,{disableInlineStyles:!0,children:(0,O.jsx)(m.Z,{isFixed:!1,showBCoin:!1,title:"\u901b\u8a55\u50f9"})}),P&&(0,O.jsx)("div",{className:"refresh-container",children:"\u8cc7\u6599\u6b63\u5728\u5237\u65b0..."}),(0,O.jsxs)("div",{className:"main-container",children:[(0,O.jsx)("div",{className:"column left",children:w.map((function(e,n){return(0,O.jsx)("div",{ref:I.current[n],children:(0,O.jsx)(Z,{index:"left_".concat(n),reviewData:e})},e.id+n)}))}),(0,O.jsx)("div",{className:"column right",children:y.map((function(e,n){return(0,O.jsx)("div",{ref:T.current[n],children:(0,O.jsx)(Z,{index:"right_".concat(n),reviewData:e})},e.id+n)}))})]})]})})).withConfig({componentId:"sc-16a4btr-0"})(["",""],I)},57431:function(e,n,t){t.d(n,{Z:function(){return o}});var i=t(50445),r=(0,i.iv)(["height:100%;width:100%;.shimmer-frame{background-color:#eee;height:100%;width:100%;.shimmer{height:100%;width:100%;-webkit-mask:linear-gradient(to left,#000 30%,#0005,#000 70%) right/350% 100%;mask:linear-gradient(to left,#000 30%,#0005,#000 70%) right/350% 100%;background-repeat:no-repeat;animation:shimmer 2.5s infinite;background-color:#dddddd;background-image:none;}}@keyframes shimmer{100%{-webkit-mask-position:left;}}"]),a=t(85893),o=(0,i.ZP)((function(e){var n=e.className;return(0,a.jsx)("div",{className:n,children:(0,a.jsx)("div",{className:"shimmer-frame",children:(0,a.jsx)("div",{className:"shimmer"})})})})).withConfig({componentId:"sc-1najsab-0"})(["",""],r)}}]);
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.