PageSourceSearch

https://www.yattajapan.com/_next/static/chunks/pages/account/orders/[id]-a6f51dfeeb08e748.js

js yattajapan.com collected 2026-09-27 05:27:25 UTC 4,046 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[117],{23465:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/account/orders/[id]",function(){return s(19030)}])},8803:function(e,t,s){"use strict";s.d(t,{Z:function(){return w}});var n=s(85893),r=s(27127),l=s(71199),a=s(41664),o=s.n(a),c=s(11163),i=s(60155),u=s(13971),x=s(48352),d=s(99741),f=s(49517);function m(){var e,t,s;let{pathname:r}=(0,c.useRouter)(),l="/".concat(r.split("/").slice(2,3)[0]),{t:a}=(0,x.$G)("common"),{data:m}=(0,f.k1)(),p=null==m?void 0:null===(s=m.customer)||void 0===s?void 0:null===(t=s.subscriptionContracts)||void 0===t?void 0:null===(e=t.nodes)||void 0===e?void 0:e.some(e=>["ACTIVE","PAUSED","CANCELLED"].includes(e.status)),g=[{slug:u.Z.ACCOUNT,name:"text-dashboard",icon:(0,n.jsx)(i.yl6,{className:"w-5 h-5"})},{slug:u.Z.ORDERS,name:"text-orders",icon:(0,n.jsx)(i.toq,{className:"w-5 h-5"})},...p?[{slug:u.Z.SUBSCRIPTIONS,name:"text-subscriptions",icon:(0,n.jsx)(i.CQs,{className:"w-5 h-5"})}]:[],{slug:u.Z.ACCOUNT_DETAILS,name:"text-account-details",icon:(0,n.jsx)(i.FJ3,{className:"w-5 h-5"})}];return(0,n.jsxs)("nav",{className:"flex flex-col md:w-2/6 2xl:w-4/12 md:pe-8 lg:pe-12 xl:pe-16 2xl:pe-20 pb-2 md:pb-0",children:[g.map(e=>{let t="/".concat(e.slug.split("/").slice(2,3)[0]);return(0,n.jsx)(o(),{legacyBehavior:!0,href:e.slug,children:(0,n.jsxs)("a",{className:l===t?"bg-gray-100 font-semibold flex items-center cursor-pointer text-sm lg:text-base text-heading py-3.5 px-4 lg:px-5 rounded mb-2 ":"flex items-center cursor-pointer text-sm lg:text-base text-heading font-normal py-3.5 px-4 lg:px-5 rounded mb-2",children:[e.icon,(0,n.jsx)("span",{className:"ps-2",children:a("".concat(e.name))})]})},e.slug)}),(0,n.jsxs)("button",{className:"flex items-center cursor-pointer text-sm lg:text-base text-heading font-normal py-3.5 px-4 lg:px-5 focus:outline-none",onClick:()=>(0,d.hY)(),children:[(0,n.jsx)(i.qgu,{className:"w-5 h-5"}),(0,n.jsx)("span",{className:"ps-2",children:a("text-logout")})]})]})}var p=s(10978),g=s(67294),h=s(76362),N=function(e,t,s){if(!h.jU)return[t,h.ZT,h.ZT];if(!e)throw Error("useLocalStorage key may not be falsy");var n=s?s.raw?function(e){return e}:s.deserializer:JSON.parse,r=(0,g.useRef)(function(e){try{var r=s?s.raw?String:s.serializer:JSON.stringify,l=localStorage.getItem(e);if(null!==l)return n(l);return t&&localStorage.setItem(e,r(t)),t}catch(e){return t}}),l=(0,g.useState)(function(){return r.current(e)}),a=l[0],o=l[1];(0,g.useLayoutEffect)(function(){return o(r.current(e))},[e]);var c=(0,g.useCallback)(function(t){try{var r="function"==typeof t?t(a):t;if(void 0===r)return;var l=void 0;l=s?s.raw?"string"==typeof r?r:JSON.stringify(r):s.serializer?s.serializer(r):JSON.stringify(r):JSON.stringify(r),localStorage.setItem(e,l),o(n(l))}catch(e){}},[e,o]);return[a,c,(0,g.useCallback)(function(){try{localStorage.removeItem(e),o(void 0)}catch(e){}},[e,o])]},v=s(25405),w=e=>{let{children:t}=e,{isAuthorized:s}=(0,v.l8)(),a=(0,c.useRouter)(),[o,i]=N("auth",JSON.stringify({})),{error:u}=(0,f.k1)();return(0,g.useEffect)(()=>{!1===s&&(a.push("/"),(0,d.D_)(a,i))},[s]),(0,g.useEffect)(()=>{var e;console.log("error",u),(null==u?void 0:null===(e=u.response)||void 0===e?void 0:e.status)===401&&((0,d.Zz)(),(0,d.D_)(a,i))},[u]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.Z,{pageHeader:"text-page-my-account"}),(0,n.jsxs)(l.Z,{children:[(0,n.jsx)("div",{className:"py-16 lg:py-20 px-0 xl:max-w-screen-xl mx-auto flex  md:flex-row w-full",children:(0,n.jsxs)("div",{className:"flex flex-col md:flex-row w-full",children:[(0,n.jsx)(m,{}),(0,n.jsx)("div",{className:"md:w-4/6 2xl:w-8/12 mt-4 md:mt-0",children:t})]})}),(0,n.jsx)(p.Z,{})]})]})}},19030:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSP:function(){return o},default:function(){return c}});var n=s(85893),r=s(60390),l=s(8803),a=s(5347),o=!0;function c(){return(0,n.jsx)(l.Z,{children:(0,n.jsx)(a.Z,{className:"p-0"})})}c.Layout=r.Z}},function(e){e.O(0,[445,617,848,390,195,774,888,179],function(){return e(e.s=23465)}),_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.