PageSourceSearch

https://www.riah.ae/_next/static/chunks/pages/order/list-121d577a39efdc2c.js

js riah.ae collected 2026-09-29 05:29:20 UTC 1,838 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[691],{6550:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>m});var r=i(37876);i(15039);var a=i(49580),l=i(14232),o=i(88557),n=i(5446),s=i(31568),d=i(4565),u=i(66003),c=i(24740),_=i(67899),p=i.n(_),f=i(82955);let h=({dir:t,children:e})=>{let[i,_]=(0,l.useState)(!1),[p,f]=(0,l.useState)(0),[h,m]=(0,l.useState)(0),{authState:g,isAuth:w,setAuthState:y}=(0,l.useContext)(n.c);(0,l.useEffect)(()=>{C(),E()},[]);let C=async()=>{let t=await (0,o.Xl)();if(t?.status)_(t.data);else{let t=c.l.load(s.u)||[],e=[];await Promise.all(t.map(async t=>{try{let i=await (0,o.SW)(t.product_id);if(i.status){let r=i.data,[a]=r.prices.filter(e=>e.filter_id===t.filter_id),l=r.photos.find(t=>t.filter_id===a.filter_id),o=r.photos.find(t=>!t.filter_id),n={product_id:r.id,name:r.name,count:t.count,price:a.price,discount:a.discount,filter_name:a.name,helper_title:a.helper_title,quantity:a.quantity,filter_id:a.filter_id,photo:l?l.photo:o?o.photo:r.photos[0].photo,old_product_price:a.price,old_product_discount:a.discount,price_name:r.price_name,gift:a.gift};e.push(n)}}catch(t){console.log("error"+t)}})),_(e)}},E=async()=>{let t=await (0,d.vk)(),e=t?.data;if(e&&e.length){let t=e.filter(t=>"not_completed"===t.order_status);f(t.length),t.length&&m(t[0].id)}};return i?(0,r.jsx)("div",{className:"container",children:(0,r.jsx)(a.A,{data:i,pendingCount:p,singlePendingOrderId:h,dir:t})}):(0,r.jsx)(u.A,{})};h.getInitialProps=async t=>{let e=t.locale;return{layout:null,messages:p()((await i(79941)(`./${e}/${e}.json`)).default,["TopBar","Cart","Footer","Product","Search","breadCrumb"]),...(0,f.Wf)(t)}};let m=h},88904:(t,e,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/order/list",function(){return i(6550)}])}},t=>{t.O(0,[9174,4085,8473,3106,1913,636,6593,8792],()=>t(t.s=88904)),_N_E=t.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.