(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,751931,233338,e=>{"use strict";let t,r,n={get url(){return`file://${e.P("node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected][email protected]/node_modules/jotai/esm/vanilla/internals.mjs")}`}};function o(e){return!!e.write}function l(e){return"v"in e||"e"in e}function u(e){if("e"in e)throw e.e;if((n.env?n.env.MODE:void 0)!=="production"&&!("v"in e))throw Error("[Bug] atom state is not initialized");return e.v}let a=new WeakMap;function i(e){var t;return c(e)&&!!(null==(t=a.get(e))?void 0:t[0])}function s(e,t){let r=a.get(e);if(!r){r=[!0,new Set],a.set(e,r);let t=()=>{r[0]=!1};e.then(t,t)}r[1].add(t)}function c(e){return"function"==typeof(null==e?void 0:e.then)}function d(e,t,r){if(!r.p.has(e)){r.p.add(e);let n=()=>r.p.delete(e);t.then(n,n)}}function f(e,t,r){var n;let o=new Set;for(let t of(null==(n=r.get(e))?void 0:n.t)||[])r.has(t)&&o.add(t);for(let e of t.p)o.add(e);return o}let p=(e,t,...r)=>t.read(...r),v=(e,t,...r)=>t.write(...r),h=(e,t)=>{var r;return null==(r=t.unstable_onInit)?void 0:r.call(t,e)},g=(e,t,r)=>{var n;return null==(n=t.onMount)?void 0:n.call(t,r)},m=(e,t)=>{var r;let o=D(e),l=o[0],u=o[6],a=o[9];if((n.env?n.env.MODE:void 0)!=="production"&&!t)throw Error("Atom is undefined or null");let i=l.get(t);return i||(i={d:new Map,p:new Set,n:0},l.set(t,i),null==(r=u.i)||r.call(u,t),null==a||a(e,t)),i},y=e=>{let t=D(e),r=t[1],n=t[3],o=t[4],l=t[5],u=t[6],a=t[13],i=[],s=e=>{try{e()}catch(e){i.push(e)}};do{u.f&&s(u.f);let t=new Set,i=t.add.bind(t);n.forEach(e=>{var t;return null==(t=r.get(e))?void 0:t.l.forEach(i)}),n.clear(),l.forEach(i),l.clear(),o.forEach(i),o.clear(),t.forEach(s),n.size&&a(e)}while(n.size||l.size||o.size)if(i.length)throw AggregateError(i)},b=e=>{let t=D(e),r=t[1],o=t[2],l=t[3],u=t[11],a=t[14],i=t[17],s=[],c=new WeakSet,d=new WeakSet,p=Array.from(l);for(;p.length;){let t=p[p.length-1],l=u(e,t);if(d.has(t)){p.pop();continue}if(c.has(t)){if(o.get(t)===l.n)s.push([t,l]);else if((n.env?n.env.MODE:void 0)!=="production"&&o.has(t))throw Error("[Bug] invalidated atom exists");d.add(t),p.pop();continue}for(let e of(c.add(t),f(t,l,r)))c.has(e)||p.push(e)}for(let t=s.length-1;t>=0;--t){let[r,n]=s[t],u=!1;for(let e of n.d.keys())if(e!==r&&l.has(e)){u=!0;break}u&&(a(e,r),i(e,r)),o.delete(r)}},_=new WeakSet,w=(e,t)=>{var r,a;let f,p,v=D(e),h=v[1],g=v[2],m=v[3],y=v[6],b=v[7],w=v[11],S=v[12],E=v[13],O=v[14],M=v[16],j=v[17],A=w(e,t);if(l(A)&&(h.has(t)&&g.get(t)!==A.n||Array.from(A.d).every(([t,r])=>O(e,t).n===r)))return A;A.d.clear();let k=!0;function P(){h.has(t)&&(j(e,t),E(e),S(e))}let I=A.n;try{(n.env?n.env.MODE:void 0)!=="production"&&_.delete(e);let a=b(e,t,function(r){var n;if(r===t){let t=w(e,r);if(!l(t))if("init"in r)T(e,r,r.init);else throw Error("no atom init");return u(t)}let o=O(e,r);try{return u(o)}finally{A.d.set(r,o.n),i(A.v)&&d(t,A.v,o),null==(n=h.get(r))||n.t.add(t),k||P()}},{get signal(){return f||(f=new AbortController),f.signal},get setSelf(){return(n.env?n.env.MODE:void 0)==="production"||o(t)||console.warn("setSelf function cannot be used with read-only atom"),!p&&o(t)&&(p=(...r)=>{if((n.env?n.env.MODE:void 0)!=="production"&&k&&console.warn("setSelf function cannot be called in sync"),!k)try{return M(e,t,...r)}finally{E(e),S(e)}}),p}});return(n.env?n.env.MODE:void 0)!=="production"&&_.has(e)&&console.warn("Detected store mutation during atom read. This is not supported."),T(e,t,a),c(a)&&(s(a,()=>null==f?void 0:f.abort()),a.then(P,P)),null==(r=y.r)||r.call(y,t),A}catch(e){return delete A.v,A.e=e,++A.n,A}finally{k=!1,I!==A.n&&g.get(t)===I&&(g.set(t,A.n),m.add(t),null==(a=y.c)||a.call(y,t))}},S=(e,t)=>{let r=D(e),n=r[1],o=r[2],l=r[11],u=[t];for(;u.length;){let t=u.pop(),r=l(e,t);for(let a of f(t,r,n)){let t=l(e,a);o.set(a,t.n),u.push(a)}}},E=(e,t,...r)=>{let o=D(e),l=o[3],a=o[6],i=o[8],s=o[11],c=o[12],d=o[13],f=o[14],p=o[15],v=o[17],h=!0;try{return i(e,t,t=>u(f(e,t)),(r,...o)=>{var u;let i=s(e,r);try{if(r!==t)return E(e,r,...o);{if(!("init"in r))throw Error("atom not writable");(n.env?n.env.MODE:void 0)!=="production"&&_.add(e);let t=i.n,s=o[0];T(e,r,s),v(e,r),t!==i.n&&(l.add(r),null==(u=a.c)||u.call(a,r),p(e,r));return}}finally{h||(d(e),c(e))}},...r)}finally{h=!1}},O=(e,t)=>{var r;let n=D(e),o=n[1],l=n[3],u=n[6],a=n[11],s=n[15],c=n[18],d=n[19],f=a(e,t),p=o.get(t);if(p&&!i(f.v)){for(let[n,o]of f.d)if(!p.d.has(n)){let i=a(e,n);c(e,n).t.add(t),p.d.add(n),o!==i.n&&(l.add(n),null==(r=u.c)||r.call(u,n),s(e,n))}for(let r of p.d||[])if(!f.d.has(r)){p.d.delete(r);let n=d(e,r);null==n||n.t.delete(t)}}},M=(e,t)=>{var r;let n=D(e),l=n[1],u=n[4],a=n[6],i=n[10],s=n[11],c=n[12],d=n[13],f=n[14],p=n[16],v=s(e,t),h=l.get(t);if(!h){for(let r of(f(e,t),v.d.keys()))M(e,r).t.add(t);h={l:new Set,d:new Set(v.d.keys()),t:new Set},l.set(t,h),null==(r=a.m)||r.call(a,t),o(t)&&u.add(()=>{let r=!0;try{let n=i(e,t,(...n)=>{try{return p(e,t,...n)}finally{r||(d(e),c(e))}});n&&(h.u=()=>{r=!0;try{n()}finally{r=!1}})}finally{r=!1}})}return h},j=(e,t)=>{var r;let n=D(e),o=n[1],l=n[5],u=n[6],a=n[11],i=n[19],s=a(e,t),c=o.get(t);if(c&&!c.l.size&&!Array.from(c.t).some(e=>{var r;return null==(r=o.get(e))?void 0:r.d.has(t)})){for(let n of(c.u&&l.add(c.u),c=void 0,o.delete(t),null==(r=u.u)||r.call(u,t),s.d.keys())){let r=i(e,n);null==r||r.t.delete(t)}return}return c},T=(e,t,r)=>{let n=D(e)[11],o=n(e,t),l="v"in o,u=o.v;if(c(r))for(let l of o.d.keys())d(t,r,n(e,l));if(o.v=r,delete o.e,!l||!Object.is(u,o.v)){let e;++o.n,c(u)&&(null==(e=a.get(u))?void 0:e[0])&&(e[0]=!1,e[1].forEach(e=>e()))}},A=(e,t)=>u((0,D(e)[14])(e,t)),k=(e,t,...r)=>{let n=D(e),o=n[12],l=n[13],u=n[16];try{return u(e,t,...r)}finally{l(e),o(e)}},P=(e,t,r)=>{let n=D(e),o=n[12],l=n[18],u=n[19],a=l(e,t).l;return a.add(r),o(e),()=>{a.delete(r),u(e,t),o(e)}},I=new WeakMap,D=e=>{let t=I.get(e);if((n.env?n.env.MODE:void 0)!=="production"&&!t)throw Error("Store must be created by buildStore to read its building blocks");return t};function C(...e){let t={get:e=>(0,D(t)[21])(t,e),set:(e,...r)=>(0,D(t)[22])(t,e,...r),sub:(e,r)=>(0,D(t)[23])(t,e,r)},r=[new WeakMap,new WeakMap,new WeakMap,new Set,new Set,new Set,{},p,v,h,g,m,y,b,w,S,E,O,M,j,T,A,k,P,void 0].map((t,r)=>e[r]||t);return I.set(t,Object.freeze(r)),t}e.s(["INTERNAL_buildStoreRev2",0,C,"INTERNAL_registerAbortHandler",0,s],233338);let R={get url(){return`file://${e.P("node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected][email protected]/node_modules/jotai/esm/vanilla.mjs")}`}},L=0;function N(e){return e(this)}function x(e,t,r){return t(this,"function"==typeof r?r(e(this)):r)}function U(){return t?t():C()}e.s(["atom",0,function(e,t){let r=`atom${++L}`,n={toString(){return(R.env?R.env.MODE:void 0)!=="production"&&this.debugLabel?r+":"+this.debugLabel:r}};return"function"==typeof e?n.read=e:(n.init=e,n.read=N,n.write=x),t&&(n.write=t),n},"createStore",0,U,"getDefaultStore",0,function(){return r||(r=U(),(R.env?R.env.MODE:void 0)!=="production"&&(globalThis.__JOTAI_DEFAULT_STORE__||(globalThis.__JOTAI_DEFAULT_STORE__=r),globalThis.__JOTAI_DEFAULT_STORE__!==r&&console.warn("Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044"))),r}],751931)},475566,e=>{"use strict";var t=e.i(357436),r=e.i(751931),n=e.i(233338);let o={get url(){return`file://${e.P("node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected][email protected]/node_modules/jotai/esm/react.mjs")}`}},l=(0,t.createContext)(void 0);function u(e){let n=(0,t.useContext)(l);return(null==e?void 0:e.store)||n||(0,r.getDefaultStore)()}let a=e=>"function"==typeof(null==e?void 0:e.then),i=e=>{e.status||(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}))},s=t.default.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw i(e),e}),c=new WeakMap,d=(e,t)=>{let r=c.get(e);return r||(r=new Promise((o,l)=>{let u=e,i=e=>t=>{u===e&&o(t)},s=e=>t=>{u===e&&l(t)},d=()=>{try{let e=t();a(e)?(c.set(e,r),u=e,e.then(i(e),s(e)),(0,n.INTERNAL_registerAbortHandler)(e,d)):o(e)}catch(e){l(e)}};e.then(i(e),s(e)),(0,n.INTERNAL_registerAbortHandler)(e,d)}),c.set(e,r)),r};function f(e,r){let{delay:n,unstable_promiseStatus:o=!t.default.use}=r||{},l=u(r),[[c,f,p],v]=(0,t.useReducer)(t=>{let r=l.get(e);return Object.is(t[0],r)&&t[1]===l&&t[2]===e?t:[r,l,e]},void 0,()=>[l.get(e),l,e]),h=c;if((f!==l||p!==e)&&(v(),h=l.get(e)),(0,t.useEffect)(()=>{let t=l.sub(e,()=>{if(o)try{let t=l.get(e);a(t)&&i(d(t,()=>l.get(e)))}catch(e){}"number"==typeof n?setTimeout(v,n):v()});return v(),t},[l,e,n,o]),(0,t.useDebugValue)(h),a(h)){let t=d(h,()=>l.get(e));return o&&i(t),s(t)}return h}function p(e,r){let n=u(r);return(0,t.useCallback)((...t)=>{if((o.env?o.env.MODE:void 0)!=="production"&&!("write"in e))throw Error("not writable atom");return n.set(e,...t)},[n,e])}e.s(["Provider",0,function({children:e,store:n}){let o=(0,t.useRef)(null);return n?(0,t.createElement)(l.Provider,{value:n},e):(null===o.current&&(o.current=(0,r.createStore)()),(0,t.createElement)(l.Provider,{value:o.current},e))},"useAtom",0,function(e,t){return[f(e,t),p(e,t)]},"useAtomValue",0,f,"useSetAtom",0,p,"useStore",0,u])},233601,e=>{"use strict";var t=e.i(751931);let r={get url(){return`file://${e.P("node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected][email protected]/node_modules/jotai/esm/vanilla/utils.mjs")}`}},n=Symbol((r.env?r.env.MODE:void 0)!=="production"?"RESET":""),o=e=>"function"==typeof(null==e?void 0:e.then);function l(e=()=>{try{return window.localStorage}catch(e){(r.env?r.env.MODE:void 0)!=="production"&&"u">typeof window&&console.warn(e);return}},t){var n;let u,a,i,s,c={getItem:(r,n)=>{var l,i;let s=e=>{if(u!==(e=e||"")){try{a=JSON.parse(e,null==t?void 0:t.reviver)}catch(e){return n}u=e}return a},c=null!=(i=null==(l=e())?void 0:l.getItem(r))?i:null;return o(c)?c.then(s):s(c)},setItem:(r,n)=>{var o;return null==(o=e())?void 0:o.setItem(r,JSON.stringify(n,null==t?void 0:t.replacer))},removeItem:t=>{var r;return null==(r=e())?void 0:r.removeItem(t)}};try{i=null==(n=e())?void 0:n.subscribe}catch(e){}return!i&&"u">typeof window&&"function"==typeof window.addEventListener&&window.Storage&&(i=(t,r)=>{if(!(e()instanceof window.Storage))return()=>{};let n=n=>{n.storageArea===e()&&n.key===t&&r(n.newValue)};return window.addEventListener("storage",n),()=>{window.removeEventListener("storage",n)}}),i&&(s=i,c.subscribe=(e,t,r)=>s(e,e=>{let n;try{n=JSON.parse(e||"")}catch(e){n=r}t(n)})),c}let u=l(),a=new WeakMap,i={state:"loading"};e.s(["RESET",0,n,"atomWithStorage",0,function(e,l,a=u,i){let s=null==i?void 0:i.getOnInit,c=(0,t.atom)(s?a.getItem(e,l):l);return(r.env?r.env.MODE:void 0)!=="production"&&(c.debugPrivate=!0),c.onMount=t=>{let r;return t(a.getItem(e,l)),a.subscribe&&(r=a.subscribe(e,t,l)),r},(0,t.atom)(e=>e(c),(t,r,u)=>{let i="function"==typeof u?u(t(c)):u;return i===n?(r(c,l),a.removeItem(e)):o(i)?i.then(t=>(r(c,t),a.setItem(e,t))):(r(c,i),a.setItem(e,i))})},"createJSONStorage",0,l,"loadable",0,function(e){let n;return n=()=>{let n=new WeakMap,o=(0,t.atom)([()=>{},0]);o.unstable_onInit=e=>{e.set(o,([,t])=>[()=>e.set(o,([e,t])=>[e,t+1]),t])},(r.env?r.env.MODE:void 0)!=="production"&&(o.debugPrivate=!0);let l=(0,t.atom)(t=>{let r,l,[u]=t(o);try{r=t(e)}catch(e){return{state:"hasError",error:e}}if("function"!=typeof(null==(l=r)?void 0:l.then))return{state:"hasData",data:r};let a=r,s=n.get(a);return s?s:(a.then(e=>{n.set(a,{state:"hasData",data:e}),u()},e=>{n.set(a,{state:"hasError",error:e}),u()}),n.get(a)||(n.set(a,i),i))});return(r.env?r.env.MODE:void 0)!=="production"&&(l.debugPrivate=!0),(0,t.atom)(e=>e(l))},(a.has(e)?a:a.set(e,n())).get(e)}])},537989,e=>{"use strict";let t=(0,e.i(751931).atom)();e.s(["pageIdAtom",0,t])},608201,236593,e=>{"use strict";var t=e.i(233601);let r=(0,t.createJSONStorage)(()=>sessionStorage),n=(0,t.atomWithStorage)("wx-source-page",null,r);e.s(["sourcePageAtom",0,n],608201);let o=(0,t.createJSONStorage)(()=>sessionStorage),l=(0,t.atomWithStorage)("wx-source-module",null,o);e.s(["sourceModuleAtom",0,l],236593)},981452,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return a},formatWithValidation:function(){return s},urlObjectKeys:function(){return i}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let l=e.r(744066)._(e.r(558594)),u=/https?|ftp|gopher|file/;function a(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",a=e.hash||"",i=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)),i&&"object"==typeof i&&(i=String(l.urlQueryToSearchParams(i)));let c=e.search||i&&`?${i}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||u.test(n))&&!1!==s?(s="//"+(s||""),o&&"/"!==o[0]&&(o="/"+o)):s||(s=""),a&&"#"!==a[0]&&(a="#"+a),c&&"?"!==c[0]&&(c="?"+c),o=o.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${s}${o}${c}${a}`}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function s(e){return a(e)}},571881,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=e.r(357436);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=l(e,n)),t&&(o.current=l(t,n))},[e,t])}function l(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)},242093,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return l}});let n=e.r(798173),o=e.r(295492);function l(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}}},94334,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},597135,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return m},useLinkStatus:function(){return b}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let l=e.r(744066),u=e.r(410434),a=l._(e.r(357436)),i=e.r(981452),s=e.r(223949),c=e.r(571881),d=e.r(798173),f=e.r(760045);e.r(855982);let p=e.r(345806),v=e.r(900954),h=e.r(242093),g=e.r(678124);function m(t){var r,n;let o,l,m,[b,_]=(0,a.useOptimistic)(v.IDLE_LINK_STATUS),w=(0,a.useRef)(null),{href:S,as:E,children:O,prefetch:M=null,passHref:j,replace:T,shallow:A,scroll:k,onClick:P,onMouseEnter:I,onTouchStart:D,legacyBehavior:C=!1,onNavigate:R,transitionTypes:L,ref:N,unstable_dynamicOnHover:x,...U}=t;o=O,C&&("string"==typeof o||"number"==typeof o)&&(o=(0,u.jsx)("a",{children:o}));let W=a.default.useContext(s.AppRouterContext),$=!1!==M,J=!1!==M?null===(n=M)||"auto"===n?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,B="string"==typeof(r=E||S)?r:(0,i.formatUrl)(r);if(C){if(o?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`` 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 `` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});l=a.default.Children.only(o)}let z=C?l&&"object"==typeof l&&l.ref:N,K=a.default.useCallback(e=>(null!==W&&(w.current=(0,v.mountLinkInstance)(e,B,W,J,$,_)),()=>{w.current&&((0,v.unmountLinkForCurrentNavigation)(w.current),w.current=null),(0,v.unmountPrefetchableInstance)(e)}),[$,B,W,J,_]),F={ref:(0,c.useMergedRef)(K,z),onClick(t){C||"function"!=typeof P||P(t),C&&l.props&&"function"==typeof l.props.onClick&&l.props.onClick(t),!W||t.defaultPrevented||function(t,r,n,o,l,u,i){if("u">typeof window){let s,{nodeName:c}=t.currentTarget;if("A"===c.toUpperCase()&&((s=t.currentTarget.getAttribute("target"))&&"_self"!==s||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,h.isLocalURL)(r)){o&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),u){let e=!1;if(u({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(415681);a.default.startTransition(()=>{d(r,o?"replace":"push",!1===l?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,n.current,i)})}}(t,B,w,T,k,R,L)},onMouseEnter(e){C||"function"!=typeof I||I(e),C&&l.props&&"function"==typeof l.props.onMouseEnter&&l.props.onMouseEnter(e),W&&$&&(0,v.onNavigationIntent)(e.currentTarget,!0===x)},onTouchStart:function(e){C||"function"!=typeof D||D(e),C&&l.props&&"function"==typeof l.props.onTouchStart&&l.props.onTouchStart(e),W&&$&&(0,v.onNavigationIntent)(e.currentTarget,!0===x)}};return(0,d.isAbsoluteUrl)(B)?F.href=B:C&&!j&&("a"!==l.type||"href"in l.props)||(F.href=(0,f.addBasePath)(B)),m=C?a.default.cloneElement(l,F):(0,u.jsx)("a",{...U,...F,children:o}),(0,u.jsx)(y.Provider,{value:b,children:m})}e.r(94334);let y=(0,a.createContext)(v.IDLE_LINK_STATUS),b=()=>(0,a.useContext)(y);("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)},240058,e=>{"use strict";var t=e.i(410434),r=e.i(597135),n=e.i(357436),o=e.i(475566),l=e.i(608201),u=e.i(236593),a=e.i(537989);e.s(["default",0,({mpa:e=!0,sourceModule:i,...s})=>{let c,d,f,p=(c=(0,o.useSetAtom)(l.sourcePageAtom),d=(0,o.useSetAtom)(u.sourceModuleAtom),f=(0,o.useAtomValue)(a.pageIdAtom),(0,n.useCallback)(e=>{let t=e.currentTarget.closest("[data-module-id]")??null,r=i??t?.dataset?.moduleId,n=e.currentTarget.closest("[data-item-position]")??null,o=n?.dataset?.itemPosition,l=e.currentTarget.closest("[data-module-name]")??null,u=l?.dataset?.moduleName??null;f&&c(f),d({id:r??null,name:u,position:o?parseInt(o,10):null})},[f,i,c,d])),v=(0,n.useCallback)(e=>{p(e),s.onClick&&s.onClick(e)},[p,s.onClick]);if(e){let{href:e,children:r,onClick:n,...o}=s;return(0,t.jsx)("a",{href:e.toString(),onClick:v,...o,children:r})}let{onClick:h,...g}=s;return(0,t.jsx)(r.default,{onClick:v,...g})}],240058)}]);