PageSourceSearch

https://www.ditp.go.th/_next/static/chunks/pages/post/service-standard/[id]-ac44b3611020bb69.js

js ditp.go.th collected 2026-10-02 04:05:00 UTC 3,059 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7307],{44925:function(e,r,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/post/service-standard/[id]",function(){return a(4174)}])},4174:function(e,r,a){"use strict";a.r(r),a.d(r,{__N_SSP:function(){return o},default:function(){return c}});var d=a(85893);a(11163),a(66308);var n=a(3632),t=a(76809),i=a(66392),s=a(67294),o=!0;function c(e){var r,a,o,c,l,v,u,h;let _=async(e,r)=>{try{await t.hi.getservicenum(e,{data:{number_share:r+1}})}catch(e){console.error("Error updating number_share:",e)}},f=async()=>{var r;let a=null===(r=e.servicestandard)||void 0===r?void 0:r.documentId;if(a)try{await _(a,e.servicestandard.number_share)}catch(e){console.error("Error in handleShareCount:",e)}},p=async(e,r)=>{try{await t.hi.getservicenum(e,{data:{number_read:r+1}})}catch(e){console.error("Error updating number_read:",e)}};(0,s.useEffect)(()=>{var r;(null==e?void 0:e.preview)!==!0&&(null===(r=e.servicestandard)||void 0===r?void 0:r.documentId)&&p(e.servicestandard.documentId,e.servicestandard.number_read)},[null==e?void 0:e.preview,null===(r=e.servicestandard)||void 0===r?void 0:r.documentId]),(0,s.useEffect)(()=>{var r;(null==e?void 0:e.preview)!==!0&&(null===(r=e.servicestandard)||void 0===r?void 0:r.documentId)&&(async()=>{try{var r,a;let d={documentId_page:e.servicestandard.documentId,content:e.servicestandard.title,url:window.location.href,author:null===(r=e.servicestandard.createdBy)||void 0===r?void 0:r.username,post_type:"เรื่อง",publishAt:null===(a=e.servicestandard)||void 0===a?void 0:a.createdAt};await t.hi.getPageinsights(d)}catch(e){console.error("เกิดข้อผิดพลาดในการบันทึกข้อมูล",e)}})()},[e.preview,null===(a=e.servicestandard)||void 0===a?void 0:a.documentId]);let m=[{label:"หน้าหลัก",link:"/"},{label:"มาตรฐานการให้บริการ",link:"/service-standards"},{label:null===(c=e.servicestandard)||void 0===c?void 0:null===(o=c.category_service_standard)||void 0===o?void 0:o.name,link:{pathname:"/category/handbook-standards-of-staff-performance",query:{category:null===(v=e.servicestandard)||void 0===v?void 0:null===(l=v.category_service_standard)||void 0===l?void 0:l.name}}},{label:e.servicestandard.title}];return(0,d.jsx)(d.Fragment,{children:(0,d.jsxs)("div",{className:"pt-16 pb-16",style:{backgroundColor:"#ffffff",backgroundImage:"url('/images/bg.jpg')",backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"repeat"},children:[(0,d.jsx)("div",{className:"sticky top-[60px] bg-white z-20",children:(0,d.jsx)(n.Z,{paths:m})}),(0,d.jsx)(i.Z,{title:(null==e?void 0:null===(u=e.servicestandard)||void 0===u?void 0:u.title)||"มาตรฐานการให้บริการ",post:e.servicestandard,category:null===(h=e.servicestandard)||void 0===h?void 0:h.category_service_standard,onShare:f,paths:m})]})})}}},function(e){e.O(0,[2275,8341,5675,6201,6308,1289,9187,2888,9774,179],function(){return e(e.s=44925)}),_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.