PageSourceSearch

https://www.dede.go.th/_next/static/chunks/6394-6dc21c090ba1a077.js

js dede.go.th collected 2026-10-01 11:41:51 UTC 12,727 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6394],{76852:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(67294);function o(e){var t,r=((t=(0,n.useRef)(e)).current=e,t);(0,n.useEffect)(function(){return function(){return r.current()}},[])}},35005:function(e,t,r){var n=r(94184),o=r.n(n),a=r(67294),l=r(70861),s=r(76792),i=r(85893);let d=a.forwardRef(({as:e,bsPrefix:t,variant:r,size:n,active:a,className:d,...c},u)=>{let f=(0,s.vE)(t,"btn"),[m,{tagName:h}]=(0,l.FT)({tagName:e,...c});return(0,i.jsx)(h,{...m,...c,ref:u,className:o()(d,f,a&&"active",r&&`${f}-${r}`,n&&`${f}-${n}`,c.href&&c.disabled&&"disabled")})});d.displayName="Button",d.defaultProps={variant:"primary",active:!1,disabled:!1},t.Z=d},41485:function(e,t,r){var n=r(45697),o=r.n(n),a=r(67294),l=r(94184),s=r.n(l),i=r(85893);let d={"aria-label":o().string,onClick:o().func,variant:o().oneOf(["white"])},c=a.forwardRef(({className:e,variant:t,...r},n)=>(0,i.jsx)("button",{ref:n,type:"button",className:s()("btn-close",t&&`btn-close-${t}`,e),...r}));c.displayName="CloseButton",c.propTypes=d,c.defaultProps={"aria-label":"Close"},t.Z=c},27330:function(e,t,r){let n,o;r.d(t,{Z:function(){return er}});var a,l=r(94184),s=r.n(l),i=r(9351),d=r(23004),c=r(67216),u=r(30099);function f(e){if((!a&&0!==a||e)&&d.Z){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),a=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return a}var m=r(32092),h=r(78146),g=r(35654),p=r(76852),v=r(94305),b=r(67294);function E(e){void 0===e&&(e=(0,c.Z)());try{var t=e.activeElement;if(!t||!t.nodeName)return null;return t}catch(r){return e.body}}function y(e,t){return e.contains?e.contains(t):e.compareDocumentPosition?e===t||!!(16&e.compareDocumentPosition(t)):void 0}var N=r(72950),Z=r(73935),x=r(6454),C=r(88833),w=r(91505),R=r(52747);let T=(0,R.PB)("modal-open");var k=class{constructor({ownerDocument:e,handleContainerOverflow:t=!0,isRTL:r=!1}={}){this.handleContainerOverflow=t,this.isRTL=r,this.modals=[],this.ownerDocument=e}getScrollbarWidth(){return function(e=document){let t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(e){}removeModalAttributes(e){}setContainerStyle(e){let t={overflow:"hidden"},r=this.isRTL?"paddingLeft":"paddingRight",n=this.getElement();e.style={overflow:n.style.overflow,[r]:n.style[r]},e.scrollBarWidth&&(t[r]=`${parseInt((0,w.Z)(n,r)||"0",10)+e.scrollBarWidth}px`),n.setAttribute(T,""),(0,w.Z)(n,t)}reset(){[...this.modals].forEach(e=>this.remove(e))}
1removeContainerStyle(e){let t=this.getElement();t.removeAttribute(T),Object.assign(t.style,e.style)}add(e){let t=this.modals.indexOf(e);return -1!==t||(t=this.modals.length,this.modals.push(e),this.setModalAttributes(e),0!==t||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state))),t}remove(e){let t=this.modals.indexOf(e);-1!==t&&(this.modals.splice(t,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(e))}isTopModal(e){return!!this.modals.length&&this.modals[this.modals.length-1]===e}};let j=(0,b.createContext)(d.Z?window:void 0);function O(){return(0,b.useContext)(j)}j.Provider;let S=(e,t)=>d.Z?null==e?(t||(0,c.Z)()).body:("function"==typeof e&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect))?e:null:null;var A=r(85893);let B=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","backdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"],L=(0,b.forwardRef)((e,t)=>{let{show:r=!1,role:o="dialog",className:a,style:l,children:s,backdrop:i=!0,keyboard:c=!0,onBackdropClick:u,onEscapeKeyDown:f,transition:m,backdropTransition:g,autoFocus:v=!0,enforceFocus:w=!0,restoreFocus:R=!0,restoreFocusOptions:T,renderDialog:j,renderBackdrop:L=e=>(0,A.jsx)("div",Object.assign({},e)),manager:D,container:$,onShow:F,onHide:M=()=>{},onExit:_,onExited:I,onExiting:P,onEnter:W,onEntering:H,onEntered:V}=e,G=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,B),K=function(e,t){let r=O(),[n,o]=(0,b.useState)(()=>S(e,null==r?void 0:r.document));if(!n){let a=S(e);a&&o(a)}return(0,b.useEffect)(()=>{t&&n&&t(n)},[t,n]),(0,b.useEffect)(()=>{let t=S(e);t!==n&&o(t)},[e,n]),n}($),z=function(e){let t=O(),r=e||(n||(n=new k({ownerDocument:null==t?void 0:t.document})),n),o=(0,b.useRef)({dialog:null,backdrop:null});return Object.assign(o.current,{add:()=>r.add(o.current),remove:()=>r.remove(o.current),isTopModal:()=>r.isTopModal(o.current),setDialogRef:(0,b.useCallback)(e=>{o.current.dialog=e},[]),setBackdropRef:(0,b.useCallback)(e=>{o.current.backdrop=e},[])})}(D),U=(0,x.Z)(),X=(0,C.Z)(r),[Y,q]=(0,b.useState)(!r),J=(0,b.useRef)(null);(0,b.useImperativeHandle)(t,()=>z,[z]),d.Z&&!X&&r&&(J.current=E()),m||r||Y?r&&Y&&q(!1):q(!0);let Q=(0,h.Z)(()=>{if(z.add(),ea.current=(0,N.Z)(document,"keydown",en),eo.current=(0,N.Z)(document,"focus",()=>setTimeout(et),!0),F&&F(),v){let e=E(document);z.dialog&&e&&!y(z.dialog,e)&&(J.current=e,z.dialog.focus())}}),ee=(0,h.Z)(()=>{if(z.remove(),null==ea.current||ea.current(),null==eo.current||eo.current(),R){var e;null==(e=J.current)||null==e.focus||e.focus(T),J.current=null}});(0,b.useEffect)(()=>{r&&K&&Q()},[r,K,Q]),(0,b.useEffect)(()=>{Y&&ee()},[Y,ee]),(0,p.Z)(()=>{ee()});let et=(0,h.Z)(()=>{if(!w||!U()||!z.isTopModal())return;let e=E();z.dialog&&e&&!y(z.dialog,e)&&z.dialog.focus()}),er=(0,h.Z)(e=>{e.target===e.currentTarget&&(null==u||u(e),!0===i&&M())}),en=(0,h.Z)(e=>{c&&27===e.keyCode&&z.isTopModal()&&(null==f||f(e),e.defaultPrevented||M())}),eo=(0,b.useRef)(),ea=(0,b.useRef)(),el=(...e)=>{q(!0),null==I||I(...e)};if(!K||!(r||m&&!Y))return null;let es=Object.assign({role:o,ref:z.setDialogRef,"aria-modal":"dialog"===o||void 0},G,{style:l,className:a,tabIndex:-1}),ei=j?j(es):(0,A.jsx)("div",Object.assign({},es,{children:b.cloneElement(s,{role:"document"})}));m&&(ei=(0,A.jsx)(m,{appear:!0,unmountOnExit:!0,in:!!r,onExit:_,onExiting:P,onExited:el,onEnter:W,onEntering:H,onEntered:V,children:ei}));let ed=null;return i&&(ed=L({ref:z.setBackdropRef,onClick:er}),g&&(ed=(0,A.jsx)(g,{appear:!0,in:!!r,children:ed}))),(0,A.jsx)(A.Fragment,{children:Z.createPortal((0,A.jsxs)(A.Fragment,{children:[ed,ei]}),K)})});L.displayName="Modal";var D=Object.assign(L,{Manager:k}),$=r(60930);
1function F(e,t){return e.replace(RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}let M={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class _ extends k{adjustAndStore(e,t,r){let n=t.style[e];t.dataset[e]=n,(0,w.Z)(t,{[e]:`${parseFloat((0,w.Z)(t,e))+r}px`})}restore(e,t){let r=t.dataset[e];void 0!==r&&(delete t.dataset[e],(0,w.Z)(t,{[e]:r}))}setContainerStyle(e){var t,r;super.setContainerStyle(e);let n=this.getElement();if(r="modal-open",(t=n).classList?t.classList.add(r):(t.classList?r&&t.classList.contains(r):-1!==(" "+(t.className.baseVal||t.className)+" ").indexOf(" "+r+" "))||("string"==typeof t.className?t.className=t.className+" "+r:t.setAttribute("class",(t.className&&t.className.baseVal||"")+" "+r)),!e.scrollBarWidth)return;let o=this.isRTL?"paddingLeft":"paddingRight",a=this.isRTL?"marginLeft":"marginRight";(0,$.Z)(n,M.FIXED_CONTENT).forEach(t=>this.adjustAndStore(o,t,e.scrollBarWidth)),(0,$.Z)(n,M.STICKY_CONTENT).forEach(t=>this.adjustAndStore(a,t,-e.scrollBarWidth)),(0,$.Z)(n,M.NAVBAR_TOGGLER).forEach(t=>this.adjustAndStore(a,t,e.scrollBarWidth))}removeContainerStyle(e){var t,r;super.removeContainerStyle(e);let n=this.getElement();r="modal-open",(t=n).classList?t.classList.remove(r):"string"==typeof t.className?t.className=F(t.className,r):t.setAttribute("class",F(t.className&&t.className.baseVal||"",r));let o=this.isRTL?"paddingLeft":"paddingRight",a=this.isRTL?"marginLeft":"marginRight";(0,$.Z)(n,M.FIXED_CONTENT).forEach(e=>this.restore(o,e)),(0,$.Z)(n,M.STICKY_CONTENT).forEach(e=>this.restore(a,e)),(0,$.Z)(n,M.NAVBAR_TOGGLER).forEach(e=>this.restore(a,e))}}var I=r(41068),P=r(66611),W=(0,P.Z)("modal-body");let H=b.createContext({onHide(){}});var V=r(76792);let G=b.forwardRef(({bsPrefix:e,className:t,contentClassName:r,centered:n,size:o,fullscreen:a,children:l,scrollable:i,...d},c)=>{e=(0,V.vE)(e,"modal");let u=`${e}-dialog`,f="string"==typeof a?`${e}-fullscreen-${a}`:`${e}-fullscreen`;return(0,A.jsx)("div",{...d,ref:c,className:s()(u,t,o&&`${e}-${o}`,n&&`${u}-centered`,i&&`${u}-scrollable`,a&&f),children:(0,A.jsx)("div",{className:s()(`${e}-content`,r),children:l})})});G.displayName="ModalDialog";var K=(0,P.Z)("modal-footer"),z=r(41485);let U=b.forwardRef(({closeLabel:e,closeVariant:t,closeButton:r,onHide:n,children:o,...a},l)=>{let s=(0,b.useContext)(H),i=(0,h.Z)(()=>{null==s||s.onHide(),null==n||n()});return(0,A.jsxs)("div",{ref:l,...a,children:[o,r&&(0,A.jsx)(z.Z,{"aria-label":e,variant:t,onClick:i})]})});U.defaultProps={closeLabel:"Close",closeButton:!1};let X=b.forwardRef(({bsPrefix:e,className:t,...r},n)=>(e=(0,V.vE)(e,"modal-header"),(0,A.jsx)(U,{ref:n,...r,className:s()(t,e)})));X.displayName="ModalHeader",X.defaultProps={closeLabel:"Close",closeButton:!1};var Y=r(39602);let q=(0,Y.Z)("h4");var J=(0,P.Z)("modal-title",{Component:q});function Q(e){return(0,A.jsx)(I.Z,{...e,timeout:null})}function ee(e){return(0,A.jsx)(I.Z,{...e,timeout:null})}let et=b.forwardRef(({bsPrefix:e,className:t,style:r,dialogClassName:n,contentClassName:a,children:l,dialogAs:E,"aria-labelledby":y,"aria-describedby":N,"aria-label":Z,show:x,animation:C,backdrop:w,keyboard:R,onEscapeKeyDown:T,onShow:k,onHide:j,container:O,autoFocus:S,enforceFocus:B,restoreFocus:L,restoreFocusOptions:$,onEntered:F,onExit:M,onExiting:I,onEnter:P,onEntering:W,onExited:G,backdropClassName:K,manager:z,...U},X)=>{let[Y,q]=(0,b.useState)({}),[J,et]=(0,b.useState)(!1),er=(0,b.useRef)(!1),en=(0,b.useRef)(!1),eo=(0,b.useRef)(null),[ea,el]=(0,m.Z)(),es=(0,g.Z)(X,el),ei=(0,h.Z)(j),ed=(0,V.SC)();e=(0,V.vE)(e,"modal");let ec=(0,b.useMemo)(()=>({onHide:ei}),[ei]);function eu(){return z||(o||(o=new _({isRTL:ed})),o)}function ef(e){if(!d.Z)return;let t=eu().getScrollbarWidth()>0,r=e.scrollHeight>(0,c.Z)(e).documentElement.clientHeight;q({paddingRight:t&&!r?f():void 0,paddingLeft:!t&&r?f():void 0})}let em=(0,h.Z)(()=>{ea&&ef(ea.dialog)});(0,p.Z)(()=>{(0,u.Z)(window,"resize",em),null==eo.current||eo.current()});let eh=()=>{er.current=!0},eg=e=>{er.current&&ea&&e.target===ea.dialog&&(en.current=!0),er.current=!1},ep=()=>{et(!0),eo.current=(0,v.Z)(ea.dialog,()=>{et(!1)})},ev=e=>{e.target===e.currentTarget&&ep()},eb=e=>{if("static"===w){ev(e);return}if(en.current||e.target!==e.currentTarget){en.current=!1;return}null==j||j()},eE=e=>{R?null==T||T(e):(e.preventDefault(),"static"===w&&ep())},ey=(e,t)=>{e&&ef(e),null==P||P(e,t)},eN=e=>{null==eo.current||eo.current(),null==M||M(e)},eZ=(e,t)=>{null==W||W(e,t),(0,i.ZP)(window,"resize",em)},ex=e=>{e&&(e.style.display=""),null==G||G(e),(0,u.Z)(window,"resize",em)},eC=(0,b.useCallback)(t=>(0,A.jsx)("div",{...t,className:s()(`${e}-backdrop`,K,!C&&"show")}),[C,K,e]),ew={...r,...Y};ew.display="block";let eR=r=>(0,A.jsx)("div",{role:"dialog",...r,style:ew,className:s()(t,e,J&&`${e}-static`,!C&&"show"),onClick:w?eb:void 0,onMouseUp:eg,"aria-label":Z,"aria-labelledby":y,"aria-describedby":N,children:(0,A.jsx)(E,{...U,onMouseDown:eh,className:n,contentClassName:a,children:l})});return(0,A.jsx)(H.Provider,{value:ec,children:(0,A.jsx)(D,{show:x,ref:es,backdrop:w,container:O,keyboard:!0,autoFocus:S,enforceFocus:B,restoreFocus:L,restoreFocusOptions:$,onEscapeKeyDown:eE,onShow:k,onHide:j,onEnter:ey,onEntering:eZ,onEntered:F,onExit:eN,onExiting:I,onExited:ex,manager:eu(),transition:C?Q:void 0,backdropTransition:C?ee:void 0,renderBackdrop:eC,renderDialog:eR})})});et.displayName="Modal",et.defaultProps={show:!1,backdrop:!0,keyboard:!0,autoFocus:!0,enforceFocus:!0,restoreFocus:!0,animation:!0,dialogAs:G};var er=Object.assign(et,{Body:W,Header:X,Title:J,Footer:K,Dialog:G,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150})},39602:function(e,t,r){var n=r(67294),o=r(94184),a=r.n(o),l=r(85893);t.Z=e=>n.forwardRef((t,r)=>(0,l.jsx)("div",{...t,ref:r,className:a()(t.className,e)}))}}]);

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.