1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,20919,78817,42712,21114,e=>{"use strict";var t=e.i(91934);function r(e){let t;return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&(null==(t="object"==typeof e?e.pathname:e)||!!t.startsWith("/"))}function n(e,t){return e.replace(RegExp(`^${t}`),"")||"/"}function o(e,t){let r=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),r+=t}function a(e,t){return t===e||t.startsWith(`${e}/`)}function u(e,t,r){return"string"==typeof e?e:e[t]||r}function i(e){let r=function(){try{return"true"===t.default.env._next_intl_trailing_slash}catch{return!1}}(),[n,...o]=e.split("#"),a=o.join("#"),u=n;if("/"!==u){let e=u.endsWith("/");r&&!e?u+="/":!r&&e&&(u=u.slice(0,-1))}return a&&(u+="#"+a),u}function l(e,t){let r,n=i(e),o=i(t);return(r=n.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)"),RegExp(`^${r}$`)).test(o)}function c(e,t){return"never"!==t.mode&&t.prefixes?.[e]||f(e)}function f(e){return"/"+e}function s(e){return e.includes("[[...")}function p(e){return e.includes("[...")}function h(e){return e.includes("[")}function d(e,t){let r=e.split("/"),n=t.split("/"),o=Math.max(r.length,n.length);for(let e=0;e<o;e++){let t=r[e],o=n[e];if(!t&&o)return -1;if(t&&!o)return 1;if(t||o){if(!h(t)&&h(o))return -1;if(h(t)&&!h(o))return 1;if(!p(t)&&p(o))return -1;if(p(t)&&!p(o))return 1;if(!s(t)&&s(o))return -1;if(s(t)&&!s(o))return 1}}return 0}function m(e){return e.sort(d)}function g(e){return"function"==typeof e.then}e.s(["getLocaleAsPrefix",()=>f,"getLocalePrefix",()=>c,"getLocalizedTemplate",()=>u,"getSortedPathnames",()=>m,"hasPathnamePrefixed",()=>a,"isLocalizableHref",()=>r,"isPromise",()=>g,"matchesPathname",()=>l,"normalizeTrailingSlash",()=>i,"prefixPathname",()=>o,"unprefixPathname",()=>n],20919);var y=e.i(1329),P=e.i(37275),b=e.i(97065),v=e.i(41258);function x(e){return"string"==typeof e?{pathname:e}:e}function j(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))Array.isArray(n)?n.forEach(e=>{t.append(r,String(e))}):t.set(r,String(n));return"?"+t.toString()}function L({pathname:e,locale:t,params:r,pathnames:n,query:o}){function a(e){let a,l=n[e];return l?(a=u(l,t,e),r&&Object.entries(r).forEach(([e,t])=>{let r,n;Array.isArray(t)?(r=`(\\[)?\\[...${e}\\](\\])?`,n=t.map(e=>String(e)).join("/")):(r=`\\[${e}\\]`,n=String(t)),a=a.replace(RegExp(r,"g"),n)}),a=new URL(a=a.replace(/\[\[\.\.\..+\]\]/g,""),"http://l").pathname):a=e,a=i(a),o&&(a+=j(o)),a}if("string"==typeof e)return a(e);{let{pathname:t,...r}=e;return{...r,pathname:a(t)}}}function O(e,t,r){let n=m(Object.keys(r)),o=decodeURI(t);for(let t of n){let n=r[t];if("string"==typeof n){if(l(n,o))return t}else if(l(u(n,e,t),o))return t}return t}function _(e,t=window.location.pathname){return"/"===e?t:t.replace(e,"")}function E(e,t,n,a){let u,{mode:i}=n.localePrefix;return void 0!==a?u=a:r(e)&&("always"===i?u=!0:"as-needed"===i&&(u=n.domains?!n.domains.some(e=>e.defaultLocale===t):t!==n.defaultLocale)),u?o(c(t,n.localePrefix),e):e}function R(e,t,r,n){if(!e||n===r||null==n||!t)return;let o=_(t),{name:a,...u}=e;u.path||(u.path=""!==o?o:"/");let i=`${a}=${n};`;for(let[e,t]of Object.entries(u))i+=`${"maxAge"===e?"max-age":e}`,"boolean"!=typeof t&&(i+="="+t),i+=";";document.cookie=i}e.s(["applyPathnamePrefix",()=>E,"compileLocalizedPathname",()=>L,"getBasePath",()=>_,"getRoute",()=>O,"normalizeNameOrNameWithParams",()=>x,"serializeSearchParams",()=>j],78817),e.s(["default",()=>R],42712);var S=e.i(15281),C=(0,b.forwardRef)(function({href:e,locale:t,localeCookie:r,onClick:n,prefetch:o,...a},u){let i=(0,v.useLocale)(),l=null!=t&&t!==i,c=(0,P.usePathname)();return l&&(o=!1),(0,S.jsx)(y.default,{ref:u,href:e,hrefLang:l?t:void 0,onClick:function(e){R(r,c,i,t),n&&n(e)},prefetch:o,...a})});e.s(["default",()=>C],21114)},35210,e=>{"use strict";var t=e.i(37275),r=e.i(97065),n=e.i(41258),o=r["use".trim()],a=e.i(20919),u=e.i(21114),i=e.i(78817),l=e.i(15281),c=e.i(42712);let{Link:f,redirect:s,usePathname:p,useRouter:h,getPathname:d}=function(e){let{Link:f,config:s,getPathname:p,...h}=function(e,n){var c,f,s;let p={...c=n||{},localePrefix:"object"==typeof(s=c.localePrefix)?s:{mode:s||"always"}
1,localeCookie:!!((f=c.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof f&&f},localeDetection:c.localeDetection??!0,alternateLinks:c.alternateLinks??!0},h=p.pathnames,d=(0,r.forwardRef)(function({href:t,locale:r,...n},i){let c,f;"object"==typeof t?(c=t.pathname,f=t.params):c=t;let s=(0,a.isLocalizableHref)(t),d=e(),g=(0,a.isPromise)(d)?o(d):d,y=s?m({locale:r||g,href:null==h?c:{pathname:c,params:f},forcePrefix:null!=r||void 0}):c;return(0,l.jsx)(u.default,{ref:i,href:"object"==typeof t?{...t,pathname:y}:y,locale:r,localeCookie:p.localeCookie,...n})});function m(e){let t,{forcePrefix:r,href:n,locale:o}=e;return null==h?"object"==typeof n?(t=n.pathname,n.query&&(t+=(0,i.serializeSearchParams)(n.query))):t=n:t=(0,i.compileLocalizedPathname)({locale:o,...(0,i.normalizeNameOrNameWithParams)(n),pathnames:p.pathnames}),(0,i.applyPathnamePrefix)(t,o,p,r)}function g(e){return function(t,...r){return e(m(t),...r)}}return{config:p,Link:d,redirect:g(t.redirect),permanentRedirect:g(t.permanentRedirect),getPathname:m}}(n.useLocale,e);return{...h,Link:f,usePathname:function(){let e,o,u=(e=(0,t.usePathname)(),o=(0,n.useLocale)(),(0,r.useMemo)(()=>{if(!e)return e;let t=e,r=(0,a.getLocalePrefix)(o,s.localePrefix);if((0,a.hasPathnamePrefixed)(r,e))t=(0,a.unprefixPathname)(e,r);else if("never"!==s.localePrefix.mode&&s.localePrefix.prefixes){let r=(0,a.getLocaleAsPrefix)(o);(0,a.hasPathnamePrefixed)(r,e)&&(t=(0,a.unprefixPathname)(e,r))}return t},[s.localePrefix,o,e])),l=(0,n.useLocale)();return(0,r.useMemo)(()=>u&&s.pathnames?(0,i.getRoute)(l,u,s.pathnames):u,[l,u])},useRouter:function(){let e=(0,t.useRouter)(),o=(0,n.useLocale)(),a=(0,t.usePathname)();return(0,r.useMemo)(()=>{function t(e){return function(t,r){let{locale:n,...u}=r||{},i=[p({href:t,locale:n||o,forcePrefix:null!=n||void 0})];Object.keys(u).length>0&&i.push(u),(0,c.default)(s.localeCookie,a,o,n),e(...i)}}return{...e,push:t(e.push),replace:t(e.replace),prefetch:t(e.prefetch)}},[o,a,e])},getPathname:p}}({locales:["en","th"],defaultLocale:"th",localePrefix:"always"});e.s(["Link",0,f,"usePathname",0,p,"useRouter",0,h],35210)},13899,e=>{"use strict";var t=e.i(41258);function r(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let n=r(0,t.useTranslations);r(0,t.useFormatter),e.s(["useTranslations",()=>n])},1176,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},37275,(e,t,r)=>{t.exports=e.r(56480)},22760,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return l},searchParamsToUrlQuery:function(){return a},urlQueryToSearchParams:function(){return i}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});function a(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function u(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function i(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,u(e));else t.set(r,u(n));return t}function l(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},56652,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return i},formatWithValidation:function(){return c},urlObjectKeys:function(){return l}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(36681)._(e.r(22760)),u=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",i=e.hash||"",l=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),l&&"object"==typeof l&&(l=String(a.urlQueryToSearchParams(l)));let f=e.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||u.test(n))&&!1!==c?(c="//"+(c||""),o&&"/"!==o[0]&&(o="/"+o)):c||(c=""),i&&"#"!==i[0]&&(i="#"+i),f&&"?"!==f[0]&&(f="?"+f),o=o.replace(/[?#]/g,encodeURIComponent),f=f.replace("#","%23"),`${n}${c}${o}${f}${i}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return i(e)}},14827,(e,t,r)=>{"use strict";
1Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=e.r(97065);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=a(e,n)),t&&(o.current=a(t,n))},[e,t])}function a(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},65082,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return y},MiddlewareNotFoundError:function(){return x},MissingStaticPage:function(){return v},NormalizeError:function(){return P},PageNotFoundError:function(){return b},SP:function(){return m},ST:function(){return g},WEB_VITALS:function(){return a},execOnce:function(){return u},getDisplayName:function(){return s},getLocationOrigin:function(){return c},getURL:function(){return f},isAbsoluteUrl:function(){return l},isResSent:function(){return p},loadGetInitialProps:function(){return d},normalizeRepeatedSlashes:function(){return h},stringifyError:function(){return j}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=["CLS","FCP","FID","INP","LCP","TTFB"];function u(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let i=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>i.test(e);function c(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function f(){let{href:e}=window.location,t=c();return e.substring(t.length)}function s(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function p(e){return e.finished||e.headersSent}function h(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function d(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await d(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&p(r))return n;if(!n)throw Object.defineProperty(Error(`"${s(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n}let m="u">typeof performance,g=m&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class y extends Error{}class P extends Error{}class b extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class v extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class x extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function j(e){return JSON.stringify({message:e.message,stack:e.stack})}},5238,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=e.r(65082),o=e.r(76581);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},12564,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},1329,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return y},useLinkStatus:function(){return b}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(36681),u=e.r(15281),i=a._(e.r(97065)),l=e.r(56652),c=e.r(44216),f=e.r(14827),s=e.r(65082),p=e.r(57776);e.r(1176);let h=e.r(33730),d=e.r(5238),m=e.r(40185);function g(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}function y(t){var r;let n,o,a,[l,y]=(0,i.useOptimistic)(h.IDLE_LINK_STATUS),b=(0,i.useRef)(null),{href:v,as:x,children:j,prefetch:L=null,passHref:O,replace:_,shallow:E,scroll:R,onClick:S,onMouseEnter:C,onTouchStart:T,legacyBehavior:k=!1,onNavigate:w,ref:$,unstable_dynamicOnHover:A,...N}=t;n=j,k&&("string"==typeof n||"number"==typeof n)&&(n=(0,u.jsx)("a",{children:n}));let M=i.default.useContext(c.AppRouterContext),U=!1!==L,I=!1!==L?null===(r=L)||"auto"===r?m.FetchStrategy.PPR:m.FetchStrategy.Full:m.FetchStrategy.PPR,{href:z,as:F}=i.default.useMemo(()=>{let e=g(v);return{href:e,as:x?g(x):e}},[v,x]);if(k){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>
1` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});o=i.default.Children.only(n)}let D=k?o&&"object"==typeof o&&o.ref:$,B=i.default.useCallback(e=>(null!==M&&(b.current=(0,h.mountLinkInstance)(e,z,M,I,U,y)),()=>{b.current&&((0,h.unmountLinkForCurrentNavigation)(b.current),b.current=null),(0,h.unmountPrefetchableInstance)(e)}),[U,z,M,I,y]),K={ref:(0,f.useMergedRef)(B,D),onClick(t){k||"function"!=typeof S||S(t),k&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(t),!M||t.defaultPrevented||function(t,r,n,o,a,u,l){if("u">typeof window){let c,{nodeName:f}=t.currentTarget;if("A"===f.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,d.isLocalURL)(r)){a&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:s}=e.r(87250);i.default.startTransition(()=>{s(n||r,a?"replace":"push",u??!0,o.current)})}}(t,z,F,b,_,R,w)},onMouseEnter(e){k||"function"!=typeof C||C(e),k&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),M&&U&&(0,h.onNavigationIntent)(e.currentTarget,!0===A)},onTouchStart:function(e){k||"function"!=typeof T||T(e),k&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),M&&U&&(0,h.onNavigationIntent)(e.currentTarget,!0===A)}};return(0,s.isAbsoluteUrl)(F)?K.href=F:k&&!O&&("a"!==o.type||"href"in o.props)||(K.href=(0,p.addBasePath)(F)),a=k?i.default.cloneElement(o,K):(0,u.jsx)("a",{...N,...K,children:n}),(0,u.jsx)(P.Provider,{value:l,children:a})}e.r(12564);let P=(0,i.createContext)(h.IDLE_LINK_STATUS),b=()=>(0,i.useContext)(P);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)}]);
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.