PageSourceSearch

https://youmaisdental.com.br/_next/static/chunks/pages/categoria/%…?dpl=dpl_Cji55WenEQdHZGLbMBvTdMpugoWE

js youmaisdental.com.br collected 2026-10-04 12:23:14 UTC 2,243 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1939],{80036:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/categoria/[parentSlug]/[categorySlug]",function(){return n(1827)}])},1827:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return s}});var r=n(85893),a=n(11163),i=n(12589),u=n(66193),o=n(78058),c=n(67294),l=n(69283),s=!0;t.default=function(e){let{initialProps:t,serverSideProps:n}=e,{categories:s}=t||{},{parentSlug:d,categorySlug:f}=(0,a.useRouter)().query,g="index"===f?"parentCategory":"category",{content:p,rangePrice:y}=n||{},[_,v]=(0,c.useState)(!0),[P,h]=(0,c.useState)(null),[m,E]=(0,c.useState)(null),S=(0,c.useRef)(!1),w=(0,c.useRef)({parentSlug:d,categorySlug:f});(0,c.useEffect)(()=>{(w.current.parentSlug!==d||w.current.categorySlug!==f)&&(w.current={parentSlug:d,categorySlug:f},S.current=!1,h(null),E(null),v(!0))},[d,f]),(0,c.useEffect)(()=>{var e;async function t(){S.current=!0,v(!0);try{let e=p.items.map(e=>e.id).join(","),t="parentCategory"===g?null==n?void 0:n.parentId:null==n?void 0:n.categoryId,[r,a]=await Promise.all([fetch("/api/products-list-specific-data?productIds=".concat(e,"&nationalities=").concat(o.nationalities,"&v=2"),{method:"GET"}),(0,l.v)("".concat(i.Y,"/getRangePrice?dentalId=").concat(o.fixId,"&categoryId=").concat(t,"&type=").concat(g),{method:"GET",requestedTokenType:"guest"})]);if(200===r.status){let e=await r.json(),t=p.items.map(t=>({...t,...e[t.id]||{}}));h({items:t,nextPage:p.nextPage})}else h(p);if(200===a.status){let e=await a.json();E(e||[])}else E(y||[])}catch(e){console.log("Erro ao buscar dados din\xe2micos:",e),h(p),E(y||[])}finally{v(!1)}}(null==p?void 0:null===(e=p.items)||void 0===e?void 0:e.length)&&!S.current&&t()},[p,d,f]);let C=P||p,I=null!==m?m:y;return(0,r.jsx)(u.Z,{initialProps:t,serverSideProps:{data:function(){try{let e="parentCategory"===g?null==s?void 0:s.parentCategories.filter(e=>e.slug===d)[0]:null==s?void 0:s.categories.filter(e=>e.slug===f)[0];if(!e)return{};return{id:e.id,...e}}catch(e){return console.log(e),{}}}(),...n,content:C,rangePrice:I,isLoadingDynamicData:_}})}}},function(e){e.O(0,[3714,3996,7795,9655,2923,4517,5239,571,953,7644,24,2888,9774,179],function(){return e(e.s=80036)}),_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.