PageSourceSearch

https://www.supersports.com/_next/static/chunks/pages/[lang]/[app]/mypage/post-review-b0463223889ad270.js

js supersports.com collected 2026-09-24 09:18:40 UTC 5,664 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2404],{93934:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[lang]/[app]/mypage/post-review",function(){return t(11153)}])},11153:function(e,r,t){"use strict";t.r(r);var n,o=t(98788),i=t(70865),a=t(96670),c=t(50853),u=t(52322),l=t(2784),s=t(98134),d=t(17128),p=t(5632),f=t.n(p),_=t(60710),g=t(51674),h=t(39829),v=t(99221),y=t(22875),w=t(89098),m=t(60005),b=t(33784),k=t(96470),x=t(27589),Z=t(67215),j=function(e){var r,t=(0,l.useContext)(s._y),n=t.i18n,d=t.i18n.lang,w=t.app,b=t.fetcher,x=(0,p.useRouter)(),j=(r=(0,o.Z)(function(r){var t;return(0,c.__generator)(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,b.myreview.post({product:{id:x.query.product},score:r.score,description:r.description})];case 1:return n.sent(),f().push("/[lang]/[app]/mypage/review-complete","/".concat(d,"/").concat(w,"/mypage/review-complete")),[3,3];case 2:return t=n.sent(),e.setException(t),[3,3];case 3:return[2]}})}),function(e){return r.apply(this,arguments)});return e.isUpdated?(0,u.jsx)(u.Fragment,{}):(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(_.Z,{title:"".concat(n.t("page-title-mypage-reviews"),"を投稿"),description:Z.T4[w].template}),(0,u.jsx)(g.Z,{ua:e.ua}),(0,u.jsxs)(h.Z,{children:[(0,u.jsx)(v.Z,{links:[{href:"/mypage",text:n.t("page-title-mypage")},{href:"/mypage/reviews",text:n.t("page-title-mypage-reviews")},{text:"".concat(n.t("page-title-mypage-reviews"),"を投稿")}]}),(0,u.jsx)(m.Z,(0,a.Z)((0,i.Z)({},e.me),{ua:e.ua,isResponsive:!0,children:(0,u.jsx)(k.Z,{isUpdated:!1,review:{product:{id:e.product.id,name:e.product.name,imgUrl:e.product.imgUrl}},placeholder:"レビュー内容を入力してください。",onSubmit:j,caution:!0})}))]}),(0,u.jsx)(y.Z,{ua:e.ua})]})};j.getInitialProps=(n=(0,o.Z)(function(e){var r,t,n,o,i,a,u;return(0,c.__generator)(this,function(a){switch(a.label){case 0:return r=e.fetcher,t=e.query,n=e.res,i=null,(o=e.req)&&(i=(0,w.ZP)({"user-agent":o.headers["user-agent"]})),[4,r.myreview.gets({product:t.product,offset:0,limit:1}).catch(function(){return{body:{items:[]}}})];case 1:if(!(u=a.sent().body.items).length)return[3,2];return(0,x.C7)({query:t,res:n,id:u[0].id}),[2,{isUpdated:!0}];case 2:return[4,r.product.get({id:t.product})];case 3:a.sent(),a.label=4;case 4:return[2,{ua:i}]}})}),function(e){return n.apply(this,arguments)}),r.default=(0,d.$j)(function(e){return{me:e.user.item,product:e.product.item}},{setException:b.t8})(j)},31149:function(e,r,t){"use strict";t.d(r,{aM:function(){return l},qR:function(){return s},vP:function(){return d}});var n,o=t(98788),i=t(50853),a=t(5632),c=t.n(a),u={token:"?error=token-conflicted",cart:"?error=cart-updated",uninitialized:""},l=function(e){if(!(null==e?void 0:null===(o=e.body)||void 0===o?void 0:o.errors)||!Array.isArray(e.body.errors))return null;var r=!0,t=!1,n=void 0;try{for(var o,i,a=e.body.errors[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var c=i.value;if((null==c?void 0:c.field)==="deal"){var u=c.message||"";if(u.includes("The token was conflicted by another device"))return"token";if(u.includes("The cart was updated while the deal was in progress"))return"cart";if(u.includes("Not initialized deal"))return"uninitialized"}}}
1catch(l){t=!0,n=l}finally{try{r||null==a.return||a.return()}finally{if(t)throw n}}return null},s=(n=(0,o.Z)(function(e,r,t,n){var o,a;return(0,i.__generator)(this,function(i){switch(i.label){case 0:if(!(o=l(e)))return[3,2];return a=d(o),[4,c().push("/[lang]/[app]/cart".concat(a),"/".concat(t,"/").concat(n,"/cart").concat(a))];case 1:return i.sent(),[3,3];case 2:r(e),i.label=3;case 3:return[2]}})}),function(e,r,t,o){return n.apply(this,arguments)}),d=function(e){return u[e]}},27589:function(e,r,t){"use strict";t.d(r,{C7:function(){return i},O8:function(){return c},mv:function(){return o}});var n=t(31149),o=function(e){var r=e.query,t=e.error,o=e.res,i=r.lang,a=r.app,c=null,u=(0,n.aM)(t);if(u){var l=(0,n.vP)(u);c="/".concat(i,"/").concat(a,"/cart").concat(l)}else(404===t.status||400===t.status)&&(c="/".concat(i,"/").concat(a,"/cart"));if(c){o?(o.writeHead(302,{Location:c}),o.end()):location.href=c;return}throw t},i=function(e){var r=e.query,t=e.res,n=e.id,o="/".concat(r.lang,"/").concat(r.app,"/mypage/reviews/").concat(n);if(t){t.writeHead(302,{Location:o}),t.end();return}location.href=o},a={rope_ball:"rope_pole",hard_glabe:"hard_glove",soft_glabe:"soft_glove",unsershirts:"undershirts",succer_shoes:"soccer_shoes",succer_wear:"soccer_wear",succer_ball:"soccer_ball",patter_grip:"putter_grip",trekking_ball:"trekking_pole",valleyball_shoes:"volleyball_shoes",valleyball_ball:"volleyball_ball",replica_wea_goods:"replica_wear_goods","food_drink%7Chealthy_food%7C102700":"protein","food_drink|healthy_food|102700":"protein","food_drink/healthy_food/102700":"protein","food_drink%7Chealthy_food%7C408325":"protein","food_drink|healthy_food|408325":"protein","food_drink/healthy_food/408325":"protein","running%7Ctrack_glove":"running%7Crunning_glove","running|track_glove":"running|running_glove","running/track_glove":"running/running_glove"},c=function(e){var r=e.res,t=e.req,n=(null==t?void 0:t.url)||"",o=Object.keys(a),i=!0,c=!1,u=void 0;try{for(var l,s=o[Symbol.iterator]();!(i=(l=s.next()).done);i=!0){var d=l.value;if(null==t?void 0:t.url.includes(d)){var p=a[d];n=n.replace(d,p)}}}catch(f){c=!0,u=f}finally{try{i||null==s.return||s.return()}finally{if(c)throw u}}if(void 0!==t&&(null==t?void 0:t.url)!==n){if(r){r.writeHead(301,{Location:n}),r.end();return}location.href=n}}}},function(e){e.O(0,[7149,7610,427,7215,9221,2759,484,3839,163,6470,9774,2888,179],function(){return e(e.s=93934)}),_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.