PageSourceSearch

https://www.dotproperty.co.th/_next/static/chunks/1383.40057151a7b37aa5.js

js dotproperty.co.th collected 2026-09-25 06:00:01 UTC 2,861 bytes, 2 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="aef0a3be-727e-45e8-a73f-9ce1f99e4541",e._sentryDebugIdIdentifier="sentry-dbid-aef0a3be-727e-45e8-a73f-9ce1f99e4541")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1383],{26263:(e,t,l)=>{l.d(t,{p:()=>s});var n=l(47351),r=l(59948),a=l(7620),i=l(31472);let s=e=>{let t=(0,i.Ym)(),[l,s]=(0,a.useState)([]),[c,d]=(0,a.useState)(!0),[o,u]=(0,a.useState)(null),[f]=(0,n.pC)(r.pU,e=>e),h=(0,a.useCallback)(async()=>{d(!0),u(null);try{var l;let n=await f({variables:{limit:(null==e?void 0:e.limit)||10,_localeKey:t}});s((null==(l=n.data)?void 0:l.TP_recentlyViewedUnitsQuery.result)||[])}catch(e){console.error("Failed to fetch recently viewed units:",e),u(e instanceof Error?e:Error("Failed to fetch recently viewed units"))}finally{d(!1)}},[f,null==e?void 0:e.limit,t]);return(0,a.useEffect)(()=>{h().then(e=>e)},[h]),{units:l,isLoading:c,error:o,refetch:h}}},51383:(e,t,l)=>{l.r(t),l.d(t,{default:()=>h});var n=l(54568),r=l(99680),a=l(78440),i=l(58317),s=l(90949),c=l(26263),d=l(27239),o=l(60423),u=l(56053),f=l(41869);let h=()=>{let e,t,l,i,s,f,h,m,x,_=(0,r.c)(20),{units:b,isLoading:p}=(0,c.p)(),v=(0,o.c)("HomePage"),w=(0,o.c)("Common.countries");_[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,u.S)(),_[0]=e):e=_[0],_[1]!==w?(t=w("".concat(e,".name")),_[1]=w,_[2]=t):t=_[2];let g=t;if(!p&&0===b.length)return null;_[3]!==v?(l=v("recentlyViewed.title"),_[3]=v,_[4]=l):l=_[4],_[5]!==l?(i=(0,n.jsx)("div",{id:"recently-view-section",className:"text-xl font-medium sm:text-2xl",children:l}),_[5]=l,_[6]=i):i=_[6],_[7]!==v?(s=v("recentlyViewed.subTitle"),_[7]=v,_[8]=s):s=_[8];let E="".concat(s," ").concat(g);return _[9]!==E?(f=(0,n.jsx)("p",{className:"text-lg font-extralight",children:E}),_[9]=E,_[10]=f):f=_[10],_[11]!==i||_[12]!==f?(h=(0,n.jsxs)("header",{children:[i,f]}),_[11]=i,_[12]=f,_[13]=h):h=_[13],_[14]!==p||_[15]!==b?(m=(0,n.jsx)("div",{className:"group relative mt-6",children:p?(0,n.jsx)(a.h,{}):(0,n.jsx)(d.F,{children:b.map(y)})}),_[14]=p,_[15]=b,_[16]=m):m=_[16],_[17]!==h||_[18]!==m?(x=(0,n.jsxs)("div",{className:"mx-auto max-w-9xl p-6",children:[h,m]}),_[17]=h,_[18]=m,_[19]=x):x=_[19],x};function y(e){return(0,n.jsx)("div",{className:"px-0",children:(0,n.jsx)(i.A,{unit:e,transactionType:e.is_sale?s.Yk.FOR_SALE:s.Yk.FOR_RENT,enquiryPageSource:f.p.HOME_RECENTLY_VIEWED})},"recent-view-unit-".concat(e.unit_id))}},56053:(e,t,l)=>{l.d(t,{S:()=>a});let n={THAILAND:"thailand"};var r=l(91726);let a=()=>{if(!Object.values(n).includes(r.PQ))throw Error("Unknown site translation key: ".concat(r.PQ));return r.PQ}}}]);
2//# sourceMappingURL=1383.40057151a7b37aa5.js.map

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.