PageSourceSearch

https://mhcms-production.up.railway.app/_next/static/chunks/306-8142b662abbe73ba.js

js mhcms-production.up.railway.app collected 2026-10-03 12:13:33 UTC 11,190 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[306],{17045:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},20063:(e,t,r)=>{var n=r(47260);r.o(n,"useParams")&&r.d(t,{useParams:function(){return n.useParams}}),r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}}),r.o(n,"useServerInsertedHTML")&&r.d(t,{useServerInsertedHTML:function(){return n.useServerInsertedHTML}})},33078:(e,t)=>{function r(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 n(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;for(let[r,o]of Object.entries(e))if(Array.isArray(o))for(let e of o)t.append(r,n(e));else t.set(r,n(o));return t}function u(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(let t of r){for(let r of t.keys())e.delete(r);for(let[r,n]of t.entries())e.append(r,n)}return e}Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{assign:function(){return u},searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return o}})},47670:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{formatUrl:function(){return u},formatWithValidation:function(){return i},urlObjectKeys:function(){return a}});let n=r(49417)._(r(33078)),o=/https?|ftp|gopher|file/;function u(e){let{auth:t,hostname:r}=e,u=e.protocol||"",a=e.pathname||"",i=e.hash||"",l=e.query||"",s=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?s=t+e.host:r&&(s=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(s+=":"+e.port)),l&&"object"==typeof l&&(l=String(n.urlQueryToSearchParams(l)));let c=e.search||l&&"?"+l||"";return u&&!u.endsWith(":")&&(u+=":"),e.slashes||(!u||o.test(u))&&!1!==s?(s="//"+(s||""),a&&"/"!==a[0]&&(a="/"+a)):s||(s=""),i&&"#"!==i[0]&&(i="#"+i),c&&"?"!==c[0]&&(c="?"+c),""+u+s+(a=a.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+i}let a=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function i(e){return u(e)}},50306:(e,t,r)=>{r.d(t,{PQ:()=>f,default:()=>c});var n=r(10275),o=r(20063),u=r(52619),a=r(20463),i=r(12115),l=e=>{if(void 0===e)return e;let t=Number(e);return"".concat(t)===e?t:e},s={addQueryPrefix:!0,skipNulls:!0,arrayFormat:"indices",encode:!1,encodeValuesOnly:!0},c={go:()=>{let{push:e,replace:t}=(0,o.useRouter)(),r=(0,o.usePathname)(),n=(0,o.useSearchParams)();return i.useCallback(o=>{var u;let{to:i,type:l,query:c,options:{keepQuery:f,keepHash:p}={},hash:d}=o,h="";p&&"undefined"!=typeof document&&(h=document.location.hash),d&&(h="#".concat(d.replace(/^#/,"")));let g={...f?a.parse(n.toString(),{ignoreQueryPrefix:!0}):{},...c};g.to&&(g.to=encodeURIComponent("".concat(g.to)));let y=null!=(u=null==r?void 0:r.split("?")[0].split("#")[0])?u:"",m=h.length>1,P=Object.keys(g).length>0,b="".concat(i||y).concat(P?a.stringify(g,s):"").concat(m?h:"");if("path"===l)return b;"replace"===l?t(b):e(b)},[n,e,t])},back:()=>{let{back:e}=(0,o.useRouter)();return e},parse:()=>{let e=(0,o.usePathname)(),t=(0,o.useSearchParams)(),{resources:r}=(0,i.useContext)(n.GU),{resource:u,action:s,matchedRoute:c}=i.useMemo(()=>e?(0,n.vc)(e,r):{found:!1},[e,r]),f=c&&e?((e,t)=>{let r={},n=t.replace(/^\/|\/$/g,""),o=e.replace(/^\/|\/$/g,""),u=n.split("/"),a=o.split("/");return u.forEach((e,t)=>{var n;e.startsWith(":")&&(null==(n=a[t])?void 0:n.length)>0&&(r[e.replace(":","")]=a[t])}),r})(e,c):{},p=f.id,d=i.useMemo(()=>{let e=t.toString();return a.parse(e,{ignoreQueryPrefix:!0})},[t]);return i.useCallback(()=>{let t={...f,...d};return{...u&&{resource:u},...s&&{action:s},...p&&{id:decodeURIComponent(p)},pathname:e||void 0,params:{...t,currentPage:l(t.currentPage),pageSize:l(t.pageSize),to:t.to?decode
1URIComponent(t.to):void 0}}},[e,d,f,p,u,s])},Link:i.forwardRef(function(e,t){let{to:r,...n}=e;return i.createElement(u,{href:r,...n,ref:t})})},f=e=>{let{resource:t,fallbackTo:r,meta:u}=e,a=i.useRef(!1),{replace:l}=(0,o.useRouter)(),s=(0,n.yT)(),{resource:c,resources:f}=(0,n.mT)({resource:t}),p=i.useMemo(()=>c||f.find(e=>e.list),[c,f]);return i.useEffect(()=>{if(p){if(!a.current){let e=s({resource:p,action:"list",meta:u});e&&l(e),a.current=!0}}else r&&(l(r),a.current=!0)},[p,l,u,s]),null}},52619:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return y},useLinkStatus:function(){return P}});let n=r(49417),o=r(95155),u=n._(r(12115)),a=r(47670),i=r(46752),l=r(83011),s=r(62296),c=r(96058);r(94781);let f=r(63499),p=r(58607),d=r(11807);r(17045);let h=r(66048);function g(e){return"string"==typeof e?e:(0,a.formatUrl)(e)}function y(e){var t;let r,n,a,[y,P]=(0,u.useOptimistic)(f.IDLE_LINK_STATUS),b=(0,u.useRef)(null),{href:v,as:_,children:S,prefetch:E=null,passHref:O,replace:j,shallow:R,scroll:C,onClick:T,onMouseEnter:M,onTouchStart:N,legacyBehavior:x=!1,onNavigate:k,ref:I,unstable_dynamicOnHover:L,...U}=e;r=S,x&&("string"==typeof r||"number"==typeof r)&&(r=(0,o.jsx)("a",{children:r}));let A=u.default.useContext(i.AppRouterContext),w=!1!==E,F=!1!==E?null===(t=E)||"auto"===t?h.FetchStrategy.PPR:h.FetchStrategy.Full:h.FetchStrategy.PPR,{href:D,as:K}=u.default.useMemo(()=>{let e=g(v);return{href:e,as:_?g(_):e}},[v,_]);x&&(n=u.default.Children.only(r));let Q=x?n&&"object"==typeof n&&n.ref:I,z=u.default.useCallback(e=>(null!==A&&(b.current=(0,f.mountLinkInstance)(e,D,A,F,w,P)),()=>{b.current&&((0,f.unmountLinkForCurrentNavigation)(b.current),b.current=null),(0,f.unmountPrefetchableInstance)(e)}),[w,D,A,F,P]),B={ref:(0,l.useMergedRef)(z,Q),onClick(e){x||"function"!=typeof T||T(e),x&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),A&&(e.defaultPrevented||function(e,t,r,n,o,a,i){let{nodeName:l}=e.currentTarget;if(!("A"===l.toUpperCase()&&function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||e.currentTarget.hasAttribute("download"))){if(!(0,p.isLocalURL)(t)){o&&(e.preventDefault(),location.replace(t));return}if(e.preventDefault(),i){let e=!1;if(i({preventDefault:()=>{e=!0}}),e)return}u.default.startTransition(()=>{(0,d.dispatchNavigateAction)(r||t,o?"replace":"push",null==a||a,n.current)})}}(e,D,K,b,j,C,k))},onMouseEnter(e){x||"function"!=typeof M||M(e),x&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),A&&w&&(0,f.onNavigationIntent)(e.currentTarget,!0===L)},onTouchStart:function(e){x||"function"!=typeof N||N(e),x&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),A&&w&&(0,f.onNavigationIntent)(e.currentTarget,!0===L)}};return(0,s.isAbsoluteUrl)(K)?B.href=K:x&&!O&&("a"!==n.type||"href"in n.props)||(B.href=(0,c.addBasePath)(K)),a=x?u.default.cloneElement(n,B):(0,o.jsx)("a",{...U,...B,children:r}),(0,o.jsx)(m.Provider,{value:y,children:a})}let m=(0,u.createContext)(f.IDLE_LINK_STATUS),P=()=>(0,u.useContext)(m);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},58607:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return u}});let n=r(62296),o=r(92929);function u(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}}},62296:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DecodeError:function(){return h},MiddlewareNotFoundError:function(){return P},MissingStaticPage:function(){return m},NormalizeError:function(){return g},PageNotFoundError:function(){return y},SP:function(){return p},ST:function(){return d},WEB_VITALS:function(){return r},execOnce:function(){return n},getDisplayName:function(){return l},getLocationOrigin:function(){return a},getURL:function(){return i},isAbsoluteUrl:function(){return u},isResSent:function(){return s},loadGetInitialProps:function(){return f}
1,normalizeRepeatedSlashes:function(){return c},stringifyError:function(){return b}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,o=Array(n),u=0;u<n;u++)o[u]=arguments[u];return r||(r=!0,t=e(...o)),t}}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,u=e=>o.test(e);function a(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function i(){let{href:e}=window.location,t=a();return e.substring(t.length)}function l(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function s(e){return e.finished||e.headersSent}function c(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function f(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&s(r))return n;if(!n)throw Object.defineProperty(Error('"'+l(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.'),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n}let p="undefined"!=typeof performance,d=p&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);
1class h extends Error{}class g extends Error{}class y extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class m extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class P extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function b(e){return JSON.stringify({message:e.message,stack:e.stack})}},83011:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=r(12115);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=u(e,n)),t&&(o.current=u(t,n))},[e,t])}function u(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 t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.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.