https://www.0xathena.ai/_next/static/chunks/caa559f6beae2163.js?dpl=dpl_AycAVggCcJ8y82dSXFCyGjmC5YK8
1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,841776,e=>{"use strict";var t=e.i(843476),n=e.i(619273),r=e.i(286491),o=e.i(540143),i=e.i(915823),a=class extends i.Subscribable{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,o){let i=t.queryKey,a=t.queryHash??(0,n.hashQueryKeyByOptions)(i,t),s=this.get(a);return s||(s=new r.Query({client:e,queryKey:i,queryHash:a,options:e.defaultQueryOptions(t),state:o,defaultOptions:e.getQueryDefaults(i)}),this.add(s)),s}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){o.notifyManager.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,n.matchQuery)(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>(0,n.matchQuery)(e,t)):t}notify(e){o.notifyManager.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){o.notifyManager.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){o.notifyManager.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},s=e.i(114272),l=i,c=class extends l.Subscribable{constructor(e={}){super(),this.config=e,this.#t=new Set,this.#n=new Map,this.#r=0}#t;#n;#r;build(e,t,n){let r=new s.Mutation({client:e,mutationCache:this,mutationId:++this.#r,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#t.add(e);let t=u(e);if("string"==typeof t){let n=this.#n.get(t);n?n.push(e):this.#n.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#t.delete(e)){let t=u(e);if("string"==typeof t){let n=this.#n.get(t);if(n)if(n.length>1){let t=n.indexOf(e);-1!==t&&n.splice(t,1)}else n[0]===e&&this.#n.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){let t=u(e);if("string"!=typeof t)return!0;{let n=this.#n.get(t),r=n?.find(e=>"pending"===e.state.status);return!r||r===e}}runNext(e){let t=u(e);if("string"!=typeof t)return Promise.resolve();{let n=this.#n.get(t)?.find(t=>
1t!==e&&t.state.isPaused);return n?.continue()??Promise.resolve()}}clear(){o.notifyManager.batch(()=>{this.#t.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#t.clear(),this.#n.clear()})}getAll(){return Array.from(this.#t)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,n.matchMutation)(t,e))}findAll(e={}){return this.getAll().filter(t=>(0,n.matchMutation)(e,t))}notify(e){o.notifyManager.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return o.notifyManager.batch(()=>Promise.all(e.map(e=>e.continue().catch(n.noop))))}};function u(e){return e.options.scope?.id}var d=e.i(175555),h=e.i(814448);function f(e){return{onFetch:(t,r)=>{let o=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],s=t.state.data?.pageParams||[],l={pages:[],pageParams:[]},c=0,u=async()=>{let r=!1,u=(0,n.ensureQueryFn)(t.options,t.fetchOptions),d=async(e,o,i)=>{let a;if(r)return Promise.reject();if(null==o&&e.pages.length)return Promise.resolve(e);let s=(a={client:t.client,queryKey:t.queryKey,pageParam:o,direction:i?"backward":"forward",meta:t.options.meta},(0,n.addConsumeAwareSignal)(a,()=>t.signal,()=>r=!0),a),l=await u(s),{maxPages:c}=t.options,d=i?n.addToStart:n.addToEnd;return{pages:d(e.pages,l,c),pageParams:d(e.pageParams,o,c)}};if(i&&a.length){let e="backward"===i,t={pages:a,pageParams:s},n=(e?function(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}:p)(o,t);l=await d(t,n,e)}else{let t=e??a.length;do{let e=0===c?s[0]??o.initialPageParam:p(o,l);if(c>0&&null==e)break;l=await d(l,e),c++}while(c<t)}return l};t.options.persister?t.fetchFn=()=>t.options.persister?.(u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r):t.fetchFn=u}}}function p(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}var m=class{#o;#i;#a;#s;#l;#c;#u;#d;constructor(e={}){this.#o=e.queryCache||new a,this.#i=e.mutationCache||new c,this.#a=e.defaultOptions||{},this.#s=new Map,this.#l=new Map,this.#c=0}mount(){this.#c++,1===this.#c&&(this.#u=d.focusManager.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#o.onFocus())}),this.#d=h.onlineManager.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#o.onOnline())}))}unmount(){this.#c--,0===this.#c&&(this.#u?.(),this.#u=void 0,this.#d?.(),this.#d=void 0)}isFetching(e){return this.#o.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#i.findAll({...e,status:"pending"}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#o.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),r=this.#o.build(this,t),o=r.state.data;return void 0===o?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime((0,n.resolveStaleTime)(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(o))}getQueriesData(e){return this.#o.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,r){let o=this.defaultQueryOptions({queryKey:e}),i=this.#o.get(o.queryHash),a=i?.state.data,s=(0,n.functionalUpdate)(t,a);if(void 0!==s)return this.#o.build(this,o).setData(s,{...r,manual:!0})}setQueriesData(e,t,n){return o.notifyManager.batch(()=>this.#o.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#o.get(t.queryHash)?.state}removeQueries(e){let t=this.#o;o.notifyManager.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#o;return o.notifyManager.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){let r={revert:!0,...t};return Promise.all(o.notifyManager.batch(()=>this.#o.findAll(e).map(e=>e.cancel(r)))).then(n.noop).catch(n.noop)}invalidateQueries(e,t={}){return o.notifyManager.batch(()=>(this.#o.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType==="none")?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t))}refetchQueries(e,t={}){let r={...t,cancelRefetch:t.cancelRefetch??!0};return Promise.all(o.notifyManager.batch(()=>this.#o.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,r);return r.throwOnError||(t=t.catch(n.noop)),"paused"===e.state.fetchStatus?Promise.resolve():t}
1))).then(n.noop)}fetchQuery(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let r=this.#o.build(this,t);return r.isStaleByTime((0,n.resolveStaleTime)(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(n.noop).catch(n.noop)}fetchInfiniteQuery(e){return e.behavior=f(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(n.noop).catch(n.noop)}ensureInfiniteQueryData(e){return e.behavior=f(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return h.onlineManager.isOnline()?this.#i.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#o}getMutationCache(){return this.#i}getDefaultOptions(){return this.#a}setDefaultOptions(e){this.#a=e}setQueryDefaults(e,t){this.#s.set((0,n.hashKey)(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#s.values()],r={};return t.forEach(t=>{(0,n.partialMatchKey)(e,t.queryKey)&&Object.assign(r,t.defaultOptions)}),r}setMutationDefaults(e,t){this.#l.set((0,n.hashKey)(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#l.values()],r={};return t.forEach(t=>{(0,n.partialMatchKey)(e,t.mutationKey)&&Object.assign(r,t.defaultOptions)}),r}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#a.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=(0,n.hashQueryKeyByOptions)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===n.skipToken&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#a.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#o.clear(),this.#i.clear()}},g=e.i(912598),y=e.i(574983),b=e.i(722652),v=e.i(217255),w=e.i(601433);e.i(816790);var C=e.i(524601),k=e.i(297197),x=e.i(956571),E=e.i(110163),S=e.i(689862),_=e.i(794702);function A(e){let t="u">typeof window?window:void 0;if(void 0===t||void 0===t.ethereum)return;let n=t.ethereum.providers;return n?n.find(t=>t[e]):t.ethereum[e]?t.ethereum:void 0}function O(e){let t=(e,n)=>{let[r,...o]=n.split("."),i=e[r];if(i)return 0===o.length?i:t(i,o.join("."))};if("u">typeof window)return t(window,e)}function M({flag:e,namespace:t}){return!!t&&void 0!==O(t)||!!e&&void 0!==A(e)}function q({flag:e,namespace:t,target:n}){var r;return r=n||function({flag:e,namespace:t}){let n="u">typeof window?window:void 0;if(void 0===n)return;if(t){let e=O(t);if(e)return e}let r=n.ethereum?.providers;if(e){let t=A(e);if(t)return t}return void 0!==r&&r.length>0?r[0]:n.ethereum}({flag:e,namespace:t}),e=>{let t=r?{target:()=>({id:e.rkDetails.id,name:e.rkDetails.name,provider:r})}:{};return(0,S.createConnector)(n=>({...(0,_.injected)(t)(n),...e}))}}function P(){return"u">typeof navigator&&/android/i.test(navigator.userAgent)}function R(){return"u">typeof navigator&&/iPhone|iPod/.test(navigator.userAgent)||"u">typeof navigator&&(/iPad/.test(navigator.userAgent)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)}var L=e.i(206148),N=e.i(823838),T=e.i(675107),j=e.i(383856);function U(t={}){var n,r;let o,i,a,s,l,c,u,d,h;return"3"===t.version||t.headlessMode?(n=t,(0,S.createConnector)(t=>({id:"coinbaseWalletSDK",name:"Coinbase Wallet",rdns:"com.coinbase.wallet",type:U.type,async connect({chainId:e,withCapabilities:t}={}){try{let n=await this.getProvider(),r=(await n.request({method:"eth_requestAccounts"})).map(e=>(0,N.getAddress)(e));a||(a=this.onAccountsChanged.bind(this),n.on("accountsChanged",a)),s||(s=this.onChainChanged.bind(this),n.on("chainChanged",s)),l||(l=this.onDisconnect.bind(this),n.on("disconnect",l));let o=await this.getChainId();if(e&&o!==e){let t=await this.switchChain({chainId:e}).catch(e=>{if(e.code===j.UserRejectedRequestError.code)throw e;return{id:o}});o=t?.id??o}return{accounts:t?r.map(e=>({address:e,capabilities:{}})):r,chainId:o}}catch(e){if(/(user closed modal|accounts received is empty|user denied account)/i.test(e.message))throw new j.UserRejectedRequestError(e);throw e}},async disconnect(){let e=await this.getProvider();a&&(e.removeListener("accountsChanged",a),a=void 0),s&&(e.removeListener("chainChanged",s),s=void 0),l&&(e.removeListener("disconnect",l),l=void 0),e.disconnect(),e.close()},async getAccounts(){let e=await this.getProvider();return(await e.request({method:"eth_accounts"})).map(e=>(0,N.getAddress)(e))},async getChainId(){let e=await this.getProvider();return Number(await e.request({method:"eth_chainId"}))}
1,async getProvider(){if(!i){o=new(await (async()=>{let{default:t}=await e.A(200725);return"function"!=typeof t&&"function"==typeof t.default?t.default:t})())({...n,reloadOnDisconnect:!1});let r=o.walletExtension?.getChainId(),a=t.chains.find(e=>n.chainId?e.id===n.chainId:e.id===r)||t.chains[0],s=n.chainId||a?.id,l=n.jsonRpcUrl||a?.rpcUrls.default.http[0];i=o.makeWeb3Provider(l,s)}return i},async isAuthorized(){try{return!!(await this.getAccounts()).length}catch{return!1}},async switchChain({addEthereumChainParameter:e,chainId:n}){let r=t.chains.find(e=>e.id===n);if(!r)throw new j.SwitchChainError(new L.ChainNotConfiguredError);let o=await this.getProvider();try{return await o.request({method:"wallet_switchEthereumChain",params:[{chainId:(0,T.numberToHex)(r.id)}]}),r}catch(t){if(4902===t.code)try{let t,i;t=e?.blockExplorerUrls?e.blockExplorerUrls:r.blockExplorers?.default.url?[r.blockExplorers?.default.url]:[],i=e?.rpcUrls?.length?e.rpcUrls:[r.rpcUrls.default?.http[0]??""];let a={blockExplorerUrls:t,chainId:(0,T.numberToHex)(n),chainName:e?.chainName??r.name,iconUrls:e?.iconUrls,nativeCurrency:e?.nativeCurrency??r.nativeCurrency,rpcUrls:i};return await o.request({method:"wallet_addEthereumChain",params:[a]}),r}catch(e){throw new j.UserRejectedRequestError(e)}throw new j.SwitchChainError(t)}},onAccountsChanged(e){0===e.length?this.onDisconnect():t.emitter.emit("change",{accounts:e.map(e=>(0,N.getAddress)(e))})},onChainChanged(e){let n=Number(e);t.emitter.emit("change",{chainId:n})},async onDisconnect(e){t.emitter.emit("disconnect");let n=await this.getProvider();a&&(n.removeListener("accountsChanged",a),a=void 0),s&&(n.removeListener("chainChanged",s),s=void 0),l&&(n.removeListener("disconnect",l),l=void 0)}}))):(r=t,(0,S.createConnector)(t=>({id:"coinbaseWalletSDK",name:"Coinbase Wallet",rdns:"com.coinbase.wallet",type:U.type,async connect({chainId:e,withCapabilities:t,...n}={}){try{let r=await this.getProvider(),o=(await r.request({method:"eth_requestAccounts",params:"instantOnboarding"in n&&n.instantOnboarding?[{onboarding:"instant"}]:[]})).map(e=>(0,N.getAddress)(e));u||(u=this.onAccountsChanged.bind(this),r.on("accountsChanged",u)),d||(d=this.onChainChanged.bind(this),r.on("chainChanged",d)),h||(h=this.onDisconnect.bind(this),r.on("disconnect",h));let i=await this.getChainId();if(e&&i!==e){let t=await this.switchChain({chainId:e}).catch(e=>{if(e.code===j.UserRejectedRequestError.code)throw e;return{id:i}});i=t?.id??i}return{accounts:t?o.map(e=>({address:e,capabilities:{}})):o,chainId:i}}catch(e){if(/(user closed modal|accounts received is empty|user denied account|request rejected)/i.test(e.message))throw new j.UserRejectedRequestError(e);throw e}},async disconnect(){let e=await this.getProvider();u&&(e.removeListener("accountsChanged",u),u=void 0),d&&(e.removeListener("chainChanged",d),d=void 0),h&&(e.removeListener("disconnect",h),h=void 0),e.disconnect(),e.close?.()},async getAccounts(){let e=await this.getProvider();return(await e.request({method:"eth_accounts"})).map(e=>(0,N.getAddress)(e))},async getChainId(){let e=await this.getProvider();return Number(await e.request({method:"eth_chainId"}))}
1,async getProvider(){if(!c){let n="string"==typeof r.preference?{options:r.preference}:{...r.preference,options:r.preference?.options??"all"},{createCoinbaseWalletSDK:o}=await e.A(325144);c=o({...r,appChainIds:t.chains.map(e=>e.id),preference:n}).getProvider()}return c},async isAuthorized(){try{return!!(await this.getAccounts()).length}catch{return!1}},async switchChain({addEthereumChainParameter:e,chainId:n}){let r=t.chains.find(e=>e.id===n);if(!r)throw new j.SwitchChainError(new L.ChainNotConfiguredError);let o=await this.getProvider();try{return await o.request({method:"wallet_switchEthereumChain",params:[{chainId:(0,T.numberToHex)(r.id)}]}),r}catch(t){if(4902===t.code)try{let t,i;t=e?.blockExplorerUrls?e.blockExplorerUrls:r.blockExplorers?.default.url?[r.blockExplorers?.default.url]:[],i=e?.rpcUrls?.length?e.rpcUrls:[r.rpcUrls.default?.http[0]??""];let a={blockExplorerUrls:t,chainId:(0,T.numberToHex)(n),chainName:e?.chainName??r.name,iconUrls:e?.iconUrls,nativeCurrency:e?.nativeCurrency??r.nativeCurrency,rpcUrls:i};return await o.request({method:"wallet_addEthereumChain",params:[a]}),r}catch(e){throw new j.UserRejectedRequestError(e)}throw new j.SwitchChainError(t)}},onAccountsChanged(e){0===e.length?this.onDisconnect():t.emitter.emit("change",{accounts:e.map(e=>(0,N.getAddress)(e))})},onChainChanged(e){let n=Number(e);t.emitter.emit("change",{chainId:n})},async onDisconnect(e){t.emitter.emit("disconnect");let n=await this.getProvider();u&&(n.removeListener("accountsChanged",u),u=void 0),d&&(n.removeListener("chainChanged",d),d=void 0),h&&(n.removeListener("disconnect",h),h=void 0)}})))}U.type="coinbaseWallet";var I=({appName:t,appIcon:n})=>{let{preference:r,...o}=I;return{id:"coinbase",name:"Coinbase Wallet",shortName:"Coinbase",rdns:"com.coinbase.wallet",iconUrl:async()=>(await e.A(330274)).default,iconAccent:"#2c5ff6",iconBackground:"#2c5ff6",installed:!0,downloadUrls:{android:"https://play.google.com/store/apps/details?id=org.toshi",ios:"https://apps.apple.com/us/app/coinbase-wallet-store-crypto/id1278383455",mobile:"https://coinbase.com/wallet/downloads",qrCode:"https://coinbase-wallet.onelink.me/q5Sx/fdb9b250",chrome:"https://chrome.google.com/webstore/detail/coinbase-wallet-extension/hnfanknocfeofbddgcijnmhnfnkdnaad",browserExtension:"https://coinbase.com/wallet"},...R()?{}:{qrCode:{getUri:e=>e,instructions:{learnMoreUrl:"https://coinbase.com/wallet/articles/getting-started-mobile",steps:[{description:"wallet_connectors.coinbase.qr_code.step1.description",step:"install",title:"wallet_connectors.coinbase.qr_code.step1.title"},{description:"wallet_connectors.coinbase.qr_code.step2.description",step:"create",title:"wallet_connectors.coinbase.qr_code.step2.title"},{description:"wallet_connectors.coinbase.qr_code.step3.description",step:"scan",title:"wallet_connectors.coinbase.qr_code.step3.title"}]}},extension:{instructions:{learnMoreUrl:"https://coinbase.com/wallet/articles/getting-started-extension",steps:[{description:"wallet_connectors.coinbase.extension.step1.description",step:"install",title:"wallet_connectors.coinbase.extension.step1.title"},{description:"wallet_connectors.coinbase.extension.step2.description",step:"create",title:"wallet_connectors.coinbase.extension.step2.title"},{description:"wallet_connectors.coinbase.extension.step3.description",step:"refresh",title:"wallet_connectors.coinbase.extension.step3.title"}]}}},createConnector:e=>{let i="string"==typeof r?{options:r,telemetry:!1}:{options:"all",...r,telemetry:!1},a=U({appName:t,appLogoUrl:n,...o,preference:i});return(0,S.createConnector)(t=>({...a(t),...e}))}}},W=e.i(627152),D=new Map;function K({projectId:e,walletConnectParameters:t}){if(!e||""===e)throw Error("No projectId found. Every dApp must now provide a WalletConnect Cloud projectId to enable WalletConnect v2 https://www.rainbowkit.com/docs/installation#configure");return"YOUR_PROJECT_ID"===e&&(e="21fef48091f12692cad574a6f7753643"),n=>(function({projectId:e,walletDetails:t,walletConnectParameters:n}){return(0,S.createConnector)(r=>({...(({projectId:e,walletConnectParameters:t,rkDetailsShowQrModal:n,rkDetailsIsWalletConnectMod
1alConnector:r})=>{let o={telemetryEnabled:!1,...t||{},projectId:e,showQrModal:!1};n&&(o={...o,showQrModal:!0}),"customStoragePrefix"in o||(o={...o,customStoragePrefix:r?"clientOne":"clientTwo"});let i=JSON.stringify(o),a=D.get(i);if(a)return a;let s=(0,W.walletConnect)(o);return D.set(i,s),s})({projectId:e,walletConnectParameters:n,rkDetailsShowQrModal:t.rkDetails.showQrModal,rkDetailsIsWalletConnectModalConnector:t.rkDetails.isWalletConnectModalConnector})(r),...t}))})({projectId:e,walletDetails:n,walletConnectParameters:t})}var Q=e.i(518714),F=({projectId:t,walletConnectParameters:n})=>{var r;let{...o}=F,i="u">typeof window&&(r=window.ethereum,!!r?.isMetaMask&&(!r.isBraveWallet||!!r._events||!!r._state)&&!r.isApexWallet&&!r.isAvalanche&&!r.isBackpack&&!r.isBifrost&&!r.isBitKeep&&!r.isBitski&&!r.isBinance&&!r.isBlockWallet&&!r.isCoinbaseWallet&&!r.isDawn&&!r.isEnkrypt&&!r.isExodus&&!r.isFrame&&!r.isFrontier&&!r.isGamestop&&!r.isHyperPay&&!r.isImToken&&!r.isKuCoinWallet&&!r.isMathWallet&&!r.isNestWallet&&!r.isOkxWallet&&!r.isOKExWallet&&!r.isOneInchIOSWallet&&!r.isOneInchAndroidWallet&&!r.isOpera&&!r.isPhantom&&!r.isZilPay&&!r.isPortal&&!r.isxPortal&&!r.isRabby&&!r.isRainbow&&!r.isStatus&&!r.isTalisman&&!r.isTally&&!r.isTokenPocket&&!r.isTokenary&&!r.isTrust&&!r.isTrustWallet&&!r.isCTRL&&!r.isZeal&&!r.isCoin98&&!r.isMEWwallet&&!r.isSafeheron&&!r.isSafePal&&!r.isWigwam&&!r.isZerion&&!r.__seif&&!0),a=!i&&!(P()||R()),s=i||P()||R();return{id:"metaMask",name:"MetaMask",rdns:"io.metamask",iconUrl:async()=>(await e.A(298034)).default,iconAccent:"#f6851a",iconBackground:"#fff",installed:i||void 0,downloadUrls:{android:"https://play.google.com/store/apps/details?id=io.metamask",ios:"https://apps.apple.com/us/app/metamask/id1438144202",mobile:"https://metamask.io/download",qrCode:"https://metamask.io/download",chrome:"https://chrome.google.com/webstore/detail/metamask/nkbihfbeogaeaoehlefnkodbefgpgknn",edge:"https://microsoftedge.microsoft.com/addons/detail/metamask/ejbalbakoplchlghecdalmeeeajnimhm",firefox:"https://addons.mozilla.org/firefox/addon/ether-metamask",opera:"https://addons.opera.com/extensions/details/metamask-10",browserExtension:"https://metamask.io/download"},mobile:{getUri:s?e=>e:void 0},qrCode:a?{getUri:e=>`https://metamask.app.link/wc?uri=${encodeURIComponent(e)}`,instructions:{learnMoreUrl:"https://metamask.io/faqs/",steps:[{description:"wallet_connectors.metamask.qr_code.step1.description",step:"install",title:"wallet_connectors.metamask.qr_code.step1.title"},{description:"wallet_connectors.metamask.qr_code.step2.description",step:"create",title:"wallet_connectors.metamask.qr_code.step2.title"},{description:"wallet_connectors.metamask.qr_code.step3.description",step:"refresh",title:"wallet_connectors.metamask.qr_code.step3.title"}]}}:void 0,extension:{instructions:{learnMoreUrl:"https://metamask.io/faqs/",steps:[{description:"wallet_connectors.metamask.extension.step1.description",step:"install",title:"wallet_connectors.metamask.extension.step1.title"},{description:"wallet_connectors.metamask.extension.step2.description",step:"create",title:"wallet_connectors.metamask.extension.step2.title"},{description:"wallet_connectors.metamask.extension.step3.description",step:"refresh",title:"wallet_connectors.metamask.extension.step3.title"}]}},createConnector:a?K({projectId:t,walletConnectParameters:n}):e=>(0,S.createConnector)(t=>{let r=(0,Q.metaMask)({dappMetadata:{connector:"rainbowkit",name:n?.metadata?.name,iconUrl:n?.metadata?.icons[0],url:n?.metadata?.url},headless:!0,checkInstallationImmediately:!1,enableAnalytics:!1,...o})(t);return{...r,...e,getChainId:async()=>{try{return await r.getChainId()}catch{return t.chains[0]?.id??1}}}})}};I.preference="all";let $=(0,b.getDefaultConfig)({appName:C.WAGMI_APP_NAME,projectId:C.WAGMI_PROJECT_ID,chains:C.WAGMI_CHAINS,ssr:!0,wallets:[{groupName:"Recommended",wallets:[()=>({id:"rabby",name:"Rabby Wallet",iconUrl:async()=>(await e.A(332006)).default,rdns:"io.rabby",iconBackground:"#8697FF",installed:M({flag:"isRabby"}),downloadUrls:{chrome:"https://chrome.google.com/webstore/detail/rabby-wallet/acmacodkjbdgmoleebolmdjonilkdbch",browserExtension:"https://rabby.io"},extension:{instructions:{learnMoreUrl:"https://rabby.io/",steps:[{description:"wallet_connectors.rabby.extension.step1.description",step:"install",title:"wallet_connectors.rabby.extension.step1.title"},{description:"wallet_connectors.rabby.extension.step2.description",step:"create",title:"wallet_connectors.rabby.extension.step2.title"},{description:"wallet_connectors.rabby.extension.step3.description",step:"refresh",title:"wallet_connectors.rabby.extension.step3.title"}]}},createConnector:q({flag:"isRabby"})}),F,({projectId:t,walletConnectParameters:n})=>{let r=M({flag:"isRainbow"}),o=!r,i=e=>P()?e:R()?`rainbow://wc?uri=${encodeURIComponent(e)}&connector=rainbowkit`:`https://rnbwapp.com/wc?uri=${encodeURIComponent(e)}&connector=rainbowkit`;return{id:"rainbow",name:"Rainbow",rdns:"me.rainbow",iconUrl:async()=>
1(await e.A(946862)).default,iconBackground:"#0c2f78",installed:o?void 0:r,downloadUrls:{android:"https://play.google.com/store/apps/details?id=me.rainbow&referrer=utm_source%3Drainbowkit&utm_source=rainbowkit",ios:"https://apps.apple.com/app/apple-store/id1457119021?pt=119997837&ct=rainbowkit&mt=8",mobile:"https://rainbow.download?utm_source=rainbowkit",qrCode:"https://rainbow.download?utm_source=rainbowkit&utm_medium=qrcode",browserExtension:"https://rainbow.me/extension?utm_source=rainbowkit"},mobile:{getUri:o?i:void 0},qrCode:o?{getUri:i,instructions:{learnMoreUrl:"https://learn.rainbow.me/connect-to-a-website-or-app?utm_source=rainbowkit&utm_medium=connector&utm_campaign=learnmore",steps:[{description:"wallet_connectors.rainbow.qr_code.step1.description",step:"install",title:"wallet_connectors.rainbow.qr_code.step1.title"},{description:"wallet_connectors.rainbow.qr_code.step2.description",step:"create",title:"wallet_connectors.rainbow.qr_code.step2.title"},{description:"wallet_connectors.rainbow.qr_code.step3.description",step:"scan",title:"wallet_connectors.rainbow.qr_code.step3.title"}]}}:void 0,createConnector:o?K({projectId:t,walletConnectParameters:n}):q({flag:"isRainbow"})}},()=>({id:"injected",name:"Browser Wallet",iconUrl:async()=>(await e.A(810066)).default,iconBackground:"#fff",createConnector:q({})}),I,({projectId:t,options:n})=>({id:"walletConnect",name:"WalletConnect",installed:void 0,iconUrl:async()=>(await e.A(74634)).default,iconBackground:"#3b99fc",qrCode:{getUri:e=>e},createConnector:K({projectId:t,walletConnectParameters:n})})]}],storage:(0,x.createStorage)({storage:{getItem:e=>"u"<typeof window?null:function(e,t){let n=e.split("; ").find(e=>e.startsWith(`${t}=`));if(n)return n.substring(t.length+1)}(document.cookie,e)??null,setItem(e,t){"u">typeof window&&(document.cookie=`${e}=${t};path=/;samesite=Lax`)},removeItem(e){"u">typeof window&&(document.cookie=`${e}=;max-age=-1;path=/`)}}}),transports:{[k.base.id]:(0,E.http)()}});var G=e.i(271645),B=e.i(569934);class H extends B.BaseError{constructor(e){const{docsPath:t,field:n,metaMessages:r}=e;super(`Invalid Sign-In with Ethereum message field "${n}".`,{docsPath:t,metaMessages:r,name:"SiweInvalidMessageFieldError"})}}function z(e){if(/[^a-z0-9:/?#[\]@!$&'()*+,;=.\-_~%]/i.test(e)||/%[^0-9a-f]/i.test(e)||/%[0-9a-f](:?[^0-9a-f]|$)/i.test(e))return!1;let t=e.match(/(?:([^:/?#]+):)?(?:\/\/([^/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/),n=t[1],r=t[2],o=t[3],i=t[4],a=t[5];if(!(n?.length&&o.length>=0))return!1;if(r?.length){if(!(0===o.length||/^\//.test(o)))return!1}else if(/^\/\//.test(o))return!1;if(!/^[a-z][a-z0-9+\-.]*$/.test(n.toLowerCase()))return!1;let s="";return s+=`${n}:`,r?.length&&(s+=`//${r}`),s+=o,i?.length&&(s+=`?${i}`),a?.length&&(s+=`#${a}`),s}let Y=/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}(:[0-9]{1,5})?$/,V=/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(:[0-9]{1,5})?$/,Z=/^localhost(:[0-9]{1,5})?$/,X=/^[a-zA-Z0-9]{8,}$/,J=/^([a-zA-Z][a-zA-Z0-9+-.]*)$/;function ee({children:e,enabled:t,getSiweMessageOptions:n}){let{status:r}=(0,v.useSession)(),o=(0,G.useMemo)(()=>(0,b.createAuthenticationAdapter)({createMessage:({address:e,chainId:t,nonce:r})=>(function(e){let{chainId:t,domain:n,expirationTime:r,issuedAt:o=new Date,nonce:i,notBefore:a,requestId:s,resources:l,scheme:c,uri:u,version:d}=e;{if(t!==Math.floor(t))throw new H({field:"chainId",metaMessages:["- Chain ID must be a EIP-155 chain ID.","- See https://eips.ethereum.org/EIPS/eip-155","",`Provided value: ${t}`]});if(!(Y.test(n)||V.test(n)||Z.test(n)))throw new H({field:"domain",metaMessages:["- Domain must be an RFC 3986 authority.","- See https://www.rfc-editor.org/rfc/rfc3986","",`Provided value: ${n}`]});if(!X.test(i))throw new H({field:"nonce",metaMessages:["- Nonce must be at least 8 characters.","- Nonce must be alphanumeric.","",`Provided value: ${i}`]});if(!z(u))throw new H({field:"uri",metaMessages:["- URI must be a RFC 3986 URI referring to the resource that is the subject of the signing.","- See https://www.rfc-editor.org/rfc/rfc3986","",`Provided value: ${u}`]});if("1"!==d)throw new H({field:"version",metaMessages:["- Version must be '1'.","",`Provided value: ${d}`]});if(c&&!J.test(c))throw new H({field:"scheme",metaMessages:["- Scheme must be an RFC 3986 URI scheme.","- See https://www.rfc-editor.org/rfc/rfc3986#section-3.1","",`Provided value: ${c}`]});let r=e.statement;if(r?.includes("\n"))throw new H({field:"statement",metaMessages:["- Statement must not include '\\n'.","",`Provided value: ${r}`]})}let h=(0,N.getAddress)(e.address),f=c?`${c}://${n}`:n,p=e.statement?`${e.statement} 2`:"",m=`${f} wants you to sign in with your Ethereum account: 3${h} 4 5${p}`,g=`URI: ${u} 6Version: ${d}
7Chain ID: ${t} 8Nonce: ${i} 9Issued At: ${o.toISOString()}`;if(r&&(g+=` 10Expiration Time: ${r.toISOString()}`),a&&(g+=` 11Not Before: ${a.toISOString()}`),s&&(g+=` 12Request ID: ${s}`),l){let e="\nResources:";for(let t of l){if(!z(t))throw new H({field:"resources",metaMessages:["- Every resource must be a RFC 3986 URI.","- See https://www.rfc-editor.org/rfc/rfc3986","",`Provided value: ${t}`]});e+=` 13- ${t}`}g+=e}return`${m} 14${g}`})({...{domain:window.location.host,statement:"Sign in with Ethereum to the app.",uri:window.location.origin,version:"1"},...n?.(),address:e,chainId:t,nonce:r}),getNonce:async()=>{let e=await (0,v.getCsrfToken)();if(!e)throw Error();return e},signOut:async()=>{await (0,v.signOut)({redirect:!1})},verify:async({message:e,signature:t})=>{let n=await (0,v.signIn)("credentials",{message:e,signature:t,redirect:!1});return n?.ok??!1}}),[n]);return G.default.createElement(b.RainbowKitAuthenticationProvider,{adapter:o,enabled:t,status:r},e)}var et=e.i(914450);let en=new m({defaultOptions:{queries:{staleTime:3e5,gcTime:6e5}}});function er({children:e}){return(0,t.jsx)(v.SessionProvider,{refetchInterval:0,children:(0,t.jsx)(y.WagmiProvider,{config:$,children:(0,t.jsx)(g.QueryClientProvider,{client:en,children:(0,t.jsx)(ee,{getSiweMessageOptions:et.getSiweMessageOptions,children:(0,t.jsx)(b.RainbowKitProvider,{children:(0,t.jsx)(w.ParallaxProvi
14der,{children:e})})})})})})}e.s(["Providers",()=>er],841776)},10233,e=>{e.v({container:"Header-module-sass-module__dSrakG__container",header:"Header-module-sass-module__dSrakG__header",logo:"Header-module-sass-module__dSrakG__logo",open:"Header-module-sass-module__dSrakG__open",visible:"Header-module-sass-module__dSrakG__visible"})},513571,e=>{e.v({logo:"Logo-module-sass-module__DqO7Hq__logo"})},804926,(e,t,n)=>{e.e,t.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t||4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,(function(t){return e[t]}).bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t);var r=function(e){return Array.isArray(e)?e:[e]},o=function(e){return e instanceof Node},i=function(e,t){if(e&&t){e=e instanceof NodeList?e:[e];for(var n=0;n<e.length&&!0!==t(e[n],n,e.length);n++);}},a=function(e){return console.error("[scroll-lock] ".concat(e))},s=function(e){if(Array.isArray(e))return e.join(", ")},l=function(e){var t=[];return i(e,function(e){return t.push(e)}),t},c=function(e,t){var n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:document;if(n&&-1!==l(r.querySelectorAll(t)).indexOf(e))return e;for(;(e=e.parentElement)&&-1===l(r.querySelectorAll(t)).indexOf(e););return e},u=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document;return -1!==l(n.querySelectorAll(t)).indexOf(e)},d=function(e){if(e)return"hidden"===getComputedStyle(e).overflow},h=function(e){if(e)return!!d(e)||e.scrollTop<=0},f=function(e){if(e){if(d(e))return!0;var t=e.scrollTop,n=e.scrollHeight;return t+e.offsetHeight>=n}},p=function(e){if(e)return!!d(e)||e.scrollLeft<=0},m=function(e){if(e){if(d(e))return!0;var t=e.scrollLeft,n=e.scrollWidth;return t+e.offsetWidth>=n}};n.d(t,"disablePageScroll",function(){return b}),n.d(t,"enablePageScroll",function(){return v}),n.d(t,"getScrollState",function(){return w}),n.d(t,"clearQueueScrollLocks",function(){return C}),n.d(t,"getTargetScrollBarWidth",function(){return k}),n.d(t,"getCurrentTargetScrollBarWidth",function(){return x}),n.d(t,"getPageScrollBarWidth",function(){return E}),n.d(t,"getCurrentPageScrollBarWidth",function(){return S}),n.d(t,"addScrollableTarget",function(){return _}),n.d(t,"removeScrollableTarget",function(){return A}),n.d(t,"addScrollableSelector",function(){return O}),n.d(t,"removeScrollableSelector",function(){return M}),n.d(t,"addLockableTarget",function(){return q}),n.d(t,"addLockableSelector",function(){return P}),n.d(t,"setFillGapMethod",function(){return R}),n.d(t,"addFillGapTarget",function(){return L}),n.d(t,"removeFillGapTarget",function(){return N}),n.d(t,"addFillGapSelector",function(){return T}),n.d(t,"removeFillGapSelector",function(){return j}),n.d(t,"refillGaps",function(){return U});var g=["padding","margin","width","max-width","none"],y={scroll:!0,queue:0,scrollableSelectors:["[data-scroll-lock-scrollable]"],lockableSelectors:["body","[data-scroll-lock-lockable]"],fillGapSelectors:["body","[data-scroll-lock-fill-gap]","[data-scroll-lock-lockable]"],fillGapMethod:g[0],startTouchY:0,startTouchX:0},b=function(e){y.queue<=0&&(y.scroll=!1,I(),$()),_(e),y.queue++},v=function(e){y.queue>0&&y.queue--,y.queue<=0&&(y.scroll=!0,W(),G()),A(e)},w=function(){return y.scroll},C=function(){y.queue=0},k=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!o(e))return 0;var n=e.style.overflowY;t?w()||(e.style.overflowY=e.getAttribute("data-scroll-lock-saved-overflow-y-property")):e.style.overflowY="scroll";var r=x(e);return e.style.overflowY=n,r},x=function(e){if(!o(e))return 0;if(e===document.body){var t=document.documentElement.clientWidth;return window.innerWidth-t}var n=e.style.borderLeftWidth,r=e.style.borderRightWidth;e.style.borderLeftWidth="0px",e.style.borderRightWidth="0px";var i=e.offsetWidth-e.clientWidth;return e.style.borderLeftWidth=n,e.style.borderRightWidth=r,i},E=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return k(document.body,e)},S=function(){return x(document.body)},_=function(e){e&&r(e).map(function(e){i(e,function(e){o(e)?e.setAttribute("data-scroll-lock-scrollable",""):a('"'.concat(e,'" is not a Element.'))})})},A=function(e){e&&r(e).map(function(e){i(e,function(e){o(e)?e.removeAttribute("data-scroll-lock-scrollable"):a('"'.concat(e,'" is not a Element.'))})})},O=function(e){e&&r(e).map(function(e){y.scrollableSelectors.push(e)})},M=function(e){e&&r(e).map(function(e){y.scrollableSelectors=y.scrollableSelectors.filter(function(t){return t!==e})})},q=function(e){e&&(r(e).map(function(e){i(e,function(e){o(e)?e.setAttribute("data-scroll-lock-lockable",""):a('"'.concat(e,'" is not a Element.'))})}),w()||I())},P=function(e){e&&(r(e).map(function(e){y.lockableSelectors.push(e)}),w()||I(),T(e))},R=function(e){if(e)if(-1!==g.indexOf(e))y.fillGapMethod=e,U();else{var t=g.join(", ");a('"'.concat(e,'" method is not available!\nAvailable fill gap methods: ').concat(t,"."))}},L=function(e){e&&r(e).map(function(e){i(e,function(e){o(e)?(e.setAttribute("data-scroll-lock-fill-gap",""),y.scroll||H(e)):a('"'.concat(e,'" is not a Element.'))})})},N=function(e){e&&r(e).map(function(e){i(e,function(e){o(e)?(e.removeAttribute("data-scroll-lock-fill-gap"),y.scroll||Y(e)):a('"'.concat(e,'" is not a Element.'))})})},T=function(e){e&&r(e).map(function(e){-1===y.fillGapSelectors.indexOf(e)&&(y.fillGapSelectors.push(e),y.scroll||B(e))})},j=function(e){e&&r(e).map(function(e){y.fillGapSelectors=y.fillGapSelectors.filter(function(t){return t!==e}),y.scroll||z(e)})},U=function(){y.scroll||$()},I=function(){D(s(y.lockableSelectors))},W=function(){K(s(y.lockableSelectors))},D=function(e){i(document.querySelectorAll(e),function(e){Q(e)})},K=function(e){i(document.querySelectorAll(e),function(e){F(e)})},Q=function(e){if(o(e)&&"true"!==e.getAttribute("data-scroll-lock-locked")){var t=window.getComputedStyle(e);e.setAttribute("data-scroll-lock-saved-overflow-y-property",t.overflowY),e.setAttribute("data-scroll-lock-saved-inline-overflow-property",e.style.overflow),e.setAttribute("data-scroll-lock-saved-inline-overflow-y-property",e.style.overflowY),e.style.overflow="hidden",e.setAttribute("data-scroll-lock-locked","true")}},F=function(e){o(e)&&"true"===e.getAttribute("data-scroll-lock-locked")&&(e.style.overflow=e.getAttribute("data-scroll-lock-saved-inline-overflow-property"),e.style.overflowY=e.getAttribute("data-scroll-lock-saved-inline-overflow-y-property"),e.removeAttribute("data-scroll-lock-saved-overflow-property"),e.removeAttribute("data-scroll-lock-saved-inline-overflow-property"),e.removeAttribute("data-scroll-lock-saved-inline-overflow-y-property"),e.removeAttribute("data-scroll-lock-locked"))},$=function(){y.fillGapSelectors.map(function(e){B(e)})},G=function(){y.fillGapSelectors.map(function(e){z(e)})},B=function(e){var t=document.querySelectorAll(e),n=-1!==y.lockableSelectors.indexOf(e);i(t,function(e){H(e,n)})},H=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(o(e)){t=""===e.getAttribute("data-scroll-lock-lockable")||n?k(e,!0):k(c(e,s(y.lockableSelectors)),!0),"true"===e.getAttribute("data-scroll-lock-filled-gap")&&Y(e);var r=window.getComputedStyle(e);
14if(e.setAttribute("data-scroll-lock-filled-gap","true"),e.setAttribute("data-scroll-lock-current-fill-gap-method",y.fillGapMethod),"margin"===y.fillGapMethod){var i=parseFloat(r.marginRight);e.style.marginRight="".concat(i+t,"px")}else if("width"===y.fillGapMethod)e.style.width="calc(100% - ".concat(t,"px)");else if("max-width"===y.fillGapMethod)e.style.maxWidth="calc(100% - ".concat(t,"px)");else if("padding"===y.fillGapMethod){var a=parseFloat(r.paddingRight);e.style.paddingRight="".concat(a+t,"px")}}},z=function(e){i(document.querySelectorAll(e),function(e){Y(e)})},Y=function(e){if(o(e)&&"true"===e.getAttribute("data-scroll-lock-filled-gap")){var t=e.getAttribute("data-scroll-lock-current-fill-gap-method");e.removeAttribute("data-scroll-lock-filled-gap"),e.removeAttribute("data-scroll-lock-current-fill-gap-method"),"margin"===t?e.style.marginRight="":"width"===t?e.style.width="":"max-width"===t?e.style.maxWidth="":"padding"===t&&(e.style.paddingRight="")}};"u">typeof window&&window.addEventListener("resize",function(e){U()}),"u">typeof document&&(document.addEventListener("touchstart",function(e){y.scroll||(y.startTouchY=e.touches[0].clientY,y.startTouchX=e.touches[0].clientX)}),document.addEventListener("touchmove",function(e){if(!y.scroll){var t=y.startTouchY,n=y.startTouchX,r=e.touches[0].clientY,o=e.touches[0].clientX;if(e.touches.length<2){var i=s(y.scrollableSelectors),a={up:t<r,down:t>r,left:n<o,right:n>o},l={up:t+3<r,down:t-3>r,left:n+3<o,right:n-3>o};!function t(n){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n){var o=c(n,i,!1);if(u(n,'input[type="range"]'))return!1;if(r||u(n,'textarea, [contenteditable="true"]')&&c(n,i)||u(n,i)){var s=!1;p(n)&&m(n)?(a.up&&h(n)||a.down&&f(n))&&(s=!0):h(n)&&f(n)?(a.left&&p(n)||a.right&&m(n))&&(s=!0):(l.up&&h(n)||l.down&&f(n)||l.left&&p(n)||l.right&&m(n))&&(s=!0),s&&(o?t(o,!0):e.cancelable&&e.preventDefault())}else t(o)}else e.cancelable&&e.preventDefault()}(e.target)}}},{passive:!1}),document.addEventListener("touchend",function(e){y.scroll||(y.startTouchY=0,y.startTouchX=0)})),t.default=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,i;r=e,o=t,i=n[t],o in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})}return e}({disablePageScroll:b,enablePageScroll:v,getScrollState:w,clearQueueScrollLocks:C,getTargetScrollBarWidth:k,getCurrentTargetScrollBarWidth:x,getPageScrollBarWidth:E,getCurrentPageScrollBarWidth:S,addScrollableSelector:O,removeScrollableSelector:M,addScrollableTarget:_,removeScrollableTarget:A,addLockableSelector:P,addLockableTarget:q,addFillGapSelector:T,removeFillGapSelector:j,addFillGapTarget:L,removeFillGapTarget:N,setFillGapMethod:R,refillGaps:U,_state:y},{hide:function(e){a('"hide" is deprecated! Use "disablePageScroll" instead. \n https://github.com/FL3NKEY/scroll-lock#disablepagescrollscrollabletarget'),b(e)},show:function(e){a('"show" is deprecated! Use "enablePageScroll" instead. \n https://github.com/FL3NKEY/scroll-lock#enablepagescrollscrollabletarget'),v(e)},toggle:function(e){a('"toggle" is deprecated! Do not use it.'),w()?b():v(e)},getState:function(){return a('"getState" is deprecated! Use "getScrollState" instead. \n https://github.com/FL3NKEY/scroll-lock#getscrollstate'),w()},getWidth:function(){return a('"getWidth" is deprecated! Use "getPageScrollBarWidth" instead. \n https://github.com/FL3NKEY/scroll-lock#getpagescrollbarwidth'),E()},getCurrentWidth:function(){return a('"getCurrentWidth" is deprecated! Use "getCurrentPageScrollBarWidth" instead. \n https://github.com/FL3NKEY/scroll-lock#getcurrentpagescrollbarwidth'),S()},setScrollableTargets:function(e){a('"setScrollableTargets" is deprecated! Use "addScrollableTarget" instead. \n https://github.com/FL3NKEY/scroll-lock#addscrollabletargetscrollabletarget'),_(e)},setFillGapSelectors:function(e){a('"setFillGapSelectors" is deprecated! Use "addFillGapSelector" instead. \n https://github.com/FL3NKEY/scroll-lock#addfillgapselectorfillgapselector'),T(e)},setFillGapTargets:function(e){a('"setFillGapTargets" is deprecated! Use "addFillGapTarget" instead. \n https://github.com/FL3NKEY/scroll-lock#addfillgaptargetfillgaptarget'),L(e)},clearQueue:function(){a('"clearQueue" is deprecated! Use "clearQueueScrollLocks" instead. \n https://github.com/FL3NKEY/scroll-lock#clearqueuescrolllocks'),C()}})}]).default},764441,e=>{e.v({active:"Menu-module-sass-module__tUL-gW__active",burger:"Menu-module-sass-module__tUL-gW__burger",container:"Menu-module-sass-module__tUL-gW__container",email:"Menu-module-sass-module__tUL-gW__email",line:"Menu-module-sass-module__tUL-gW__line",lines:"Menu-module-sass-module__tUL-gW__lines",link:"Menu-module-sass-module__tUL-gW__link",menu:"Menu-module-sass-module__tUL-gW__menu",nav:"Menu-module-sass-module__tUL-gW__nav",note:"Menu-module-sass-module__tUL-gW__note",socials:"Menu-module-sass-module__tUL-gW__socials"})},172623,e=>{"use strict";var t=e.i(843476),n=e.i(522016),r=e.i(618566),o=e.i(91285);e.s(["default",0,({className:e,activeClassName:i,href:a,children:s})=>{let l=(0,r.usePathname)();return(0,t.jsx)(n.default,{href:a,className:(0,o.cn)(e,{[i||""]:i&&l===a}),children:s})}])},793494,e=>{"use strict";var t=e.i(843476),n=e.i(271645),r="u">typeof window,o=r?n.useLayoutEffect:n.useEffect,i=(e,t)=>(i,a={})=>
14{let{rootRef:s,targetRef:l,setRefs:c}=t(),{wait:u}=a,d=(0,n.useRef)(null),h=(0,n.useRef)({x:0,y:0}),f=(0,n.useRef)(void 0),p=(0,n.useRef)(i);p.current=i;let m=(0,n.useCallback)(()=>{let{position:t,properties:n}=e(s,l);p.current({prevPos:h.current,currPos:t,...n}),h.current=t,f.current=void 0},[s,l]),g=(0,n.useCallback)(()=>{u?void 0===f.current&&(f.current=setTimeout(m,u)):m()},[m,u]),y=(0,n.useCallback)(()=>{d.current=new AbortController,s.current?.addEventListener("scroll",g,{passive:!0,signal:d.current.signal})},[g,s]),b=(0,n.useCallback)(()=>{d.current?.abort(),clearTimeout(f.current)},[]);return o(()=>{if(r)return y(),m(),b},[y,b]),c};i((e,t)=>{if(!r||!e.current)return{position:{x:0,y:0},properties:{top:!1,bottom:!1}};let{scrollTop:n,scrollLeft:o,offsetHeight:i,scrollHeight:a}=e.current,s=e.current.getBoundingClientRect();if(t.current){let{x:e,y:n,height:r,top:o}=t.current.getBoundingClientRect();return{position:{x:e,y:n},properties:{top:s.top>=o,bottom:n+r>=s.bottom}}}return{position:{x:o,y:n},properties:{top:n<=0,bottom:a-i-n<=0}}},()=>{let e=(0,n.useRef)(null),t=(0,n.useRef)(null),r=(0,n.useCallback)(t=>{e.current=t},[]),o=(0,n.useCallback)(e=>{t.current=e},[]);return{rootRef:e,targetRef:t,setRefs:[r,o]}});var a=()=>{let e=(0,n.useRef)(r?window:null),t=(0,n.useRef)(null),o=(0,n.useCallback)(e=>{t.current=e},[]);return{rootRef:e,targetRef:t,setRefs:o}};i((e,t)=>{if(!r||!e.current)return{position:{x:0,y:0},properties:{top:!1,bottom:!1}};let n=e.current.innerHeight;if(t.current){let{x:e,y:r,height:o}=t.current.getBoundingClientRect();return{position:{x:e,y:r},properties:{top:r<=0,bottom:r+o>=n}}}let o=e.current.scrollY<=0,i=document.documentElement.scrollHeight-n-e.current.scrollY<=0;return{position:{x:e.current.scrollX,y:e.current.scrollY},properties:{top:o,bottom:i}}},a);var s=i((e,t)=>{if(!r||!e.current)return{position:{x:0,y:0},properties:{top:!1,bottom:!1,rect:null}};let n=e.current.innerHeight;if(t.current){let{x:e,y:r,height:o}=t.current.getBoundingClientRect();return{position:{x:e,y:r},properties:{top:r<=0,bottom:r+o>=n}}}let o=e.current.document.body.getBoundingClientRect(),i=o.top>=0,a=document.documentElement.scrollHeight-n- -1*o.top<=0;return{position:{x:o.left,y:o.top},properties:{top:i,bottom:a,rect:o}}},a),l=e.i(91285),c=e.i(10233),u=e.i(522016),d=e.i(513571),h=e.i(944707);let f=({className:e,onClick:n})=>(0,t.jsx)(u.default,{href:"/",className:(0,l.cn)(d.default.logo,e),onClick:n,children:(0,t.jsx)(h.default,{src:"/images/logo.svg",width:90,height:24,alt:"Onix",priority:!0})});var p=e.i(174080),m=e.i(804926);function g(){return(g=Object.assign.bind()).apply(null,arguments)}function y(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}function b(e,t){return(b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,b(e,t)}
14function w(e,t){return e.replace(RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}e.i(247167);let C=n.default.createContext(null);var k=function(e){return e.scrollTop},x="unmounted",E="exited",S="entering",_="entered",A="exiting",O=function(e){function t(t,n){var r,o=e.call(this,t,n)||this,i=n&&!n.isMounting?t.enter:t.appear;return o.appearStatus=null,t.in?i?(r=E,o.appearStatus=S):r=_:r=t.unmountOnExit||t.mountOnEnter?x:E,o.state={status:r},o.nextCallback=null,o}v(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===x?{status:E}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==S&&n!==_&&(t=S):(n===S||n===_)&&(t=A)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===S){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:p.default.findDOMNode(this);n&&k(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===E&&this.setState({status:x})},r.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[p.default.findDOMNode(this),r],i=o[0],a=o[1],s=this.getTimeouts(),l=r?s.appear:s.enter;(e||n)&&1?(this.props.onEnter(i,a),this.safeSetState({status:S},function(){t.props.onEntering(i,a),t.onTransitionEnd(l,function(){t.safeSetState({status:_},function(){t.props.onEntered(i,a)})})})):this.safeSetState({status:_},function(){t.props.onEntered(i)})},r.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:p.default.findDOMNode(this);t?(this.props.onExit(r),this.safeSetState({status:A},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:E},function(){e.props.onExited(r)})})})):this.safeSetState({status:E},function(){e.props.onExited(r)})},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:p.default.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(!n||r)return void setTimeout(this.nextCallback,0);if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)},r.render=function(){var e=this.state.status;if(e===x)return null;var t=this.props,r=t.children,o=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,y(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return n.default.createElement(C.Provider,{value:null},"function"==typeof r?r(e,o):n.default.cloneElement(n.default.Children.only(r),o))},t}(n.default.Component);function M(){}O.contextType=C,O.propTypes={},O.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:M,onEntering:M,onEntered:M,onExit:M,onExiting:M,onExited:M},O.UNMOUNTED=x,O.EXITED=E,O.ENTERING=S,O.ENTERED=_,O.EXITING=A;var q=function(e,t){return e&&t&&t.split(" ").forEach(function(t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=w(e.className,t):e.setAttribute("class",w(e.className&&e.className.baseVal||"",t))})},P=function(e){function t(){for(var t,n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];
14return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1];t.removeClasses(o,"exit"),t.addClass(o,i?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1];t.addClass(o,i?"appear":"enter","active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.removeClasses(o,i),t.addClass(o,i,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,o=r&&n?n+"-":"",i=r?""+o+e:n[e],a=r?i+"-active":n[e+"Active"],s=r?i+"-done":n[e+"Done"];return{baseClassName:i,activeClassName:a,doneClassName:s}},t}v(t,e);var r=t.prototype;return r.addClass=function(e,t,n){var r,o=this.getClassNames(t)[n+"ClassName"],i=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&i&&(o+=" "+i),"active"===n&&e&&k(e),o&&(this.appliedClasses[t][n]=o,r=o,e&&r&&r.split(" ").forEach(function(t){e.classList?e.classList.add(t):(e.classList?t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" "))||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}))},r.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,o=n.active,i=n.done;this.appliedClasses[t]={},r&&q(e,r),o&&q(e,o),i&&q(e,i)},r.render=function(){var e=this.props,t=(e.classNames,y(e,["classNames"]));return n.default.createElement(O,g({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(n.default.Component);P.defaultProps={classNames:""},P.propTypes={};let R=["shift","alt","meta","mod","ctrl","control"],L={esc:"escape",return:"enter",left:"arrowleft",right:"arrowright",up:"arrowup",down:"arrowdown",ShiftLeft:"shift",ShiftRight:"shift",AltLeft:"alt",AltRight:"alt",MetaLeft:"meta",MetaRight:"meta",OSLeft:"meta",OSRight:"meta",ControlLeft:"ctrl",ControlRight:"ctrl"};function N(e){return(L[e.trim()]||e.trim()).toLowerCase().replace(/key|digit|numpad/,"")}function T(e){return R.includes(e)}function j(e,t=","){return e.toLowerCase().split(t)}function U(e,t="+",n=">",r=!1,o,i){let a=[],s=!1;(e=e.trim()).includes(n)?(s=!0,a=e.toLocaleLowerCase().split(n).map(e=>N(e))):a=e.toLocaleLowerCase().split(t).map(e=>N(e));let l={alt:a.includes("alt"),ctrl:a.includes("ctrl")||a.includes("control"),shift:a.includes("shift"),meta:a.includes("meta"),mod:a.includes("mod"),useKey:r},c=a.filter(e=>!R.includes(e));return{...l,keys:c,description:o,isSequence:s,hotkey:e,metadata:i}}"u">typeof document&&(document.addEventListener("keydown",e=>{void 0!==e.code&&D([N(e.code)])}),document.addEventListener("keyup",e=>{void 0!==e.code&&K([N(e.code)])})),"u">typeof window&&(window.addEventListener("blur",()=>{I.clear()}),window.addEventListener("contextmenu",()=>{setTimeout(()=>{I.clear()},0)}));let I=new Set;function W(e){return Array.isArray(e)}function D(e){let t=Array.isArray(e)?e:[e];I.has("meta")&&I.forEach(e=>{T(e)||I.delete(e.toLowerCase())}),t.forEach(e=>{I.add(e.toLowerCase())})}function K(e){let t=Array.isArray(e)?e:[e];"meta"===e?I.clear():t.forEach(e=>{I.delete(e.toLowerCase())})}let Q=["input","textarea","select","searchbox","slider","spinbutton","menuitem","menuitemcheckbox","menuitemradio","option","radio","textbox"];function F(e,t=!1){var n;let r,o,{target:i,composed:a}=e;return(n=i).tagName&&!n.tagName.startsWith("-")&&n.tagName.includes("-")&&a?(r=e.composedPath()[0]&&e.composedPath()[0].tagName,o=e.composedPath()[0]&&e.composedPath()[0].role):(r=i&&i.tagName,o=i&&i.role),W(t)?!!(r&&t&&t.some(e=>e.toLowerCase()===r.toLowerCase()||e===o)):!!(r&&t&&t)}let $=(0,n.createContext)(void 0),G=(0,n.createContext)({hotkeys:[],activeScopes:[],toggleScope:()=>{},enableScope:()=>{},disableScope:()=>{}}),B=e=>{e.stopPropagation(),e.preventDefault(),e.stopImmediatePropagation()},H="u">typeof window?n.useLayoutEffect:n.useEffect;var z=e.i(618566),Y=e.i(764441),V=e.i(172623),Z=e.i(210620);let X=({navigation:e,socials:r,onClick:o})=>
14{let[i,a]=(0,n.useState)(!1),s=(0,z.usePathname)(),c=(0,n.useRef)(!1);!function(e,t,r,o){let i,a=(0,n.useRef)(null),s=(0,n.useRef)(!1),l=void(Array.isArray(void 0)&&Array.isArray(void 0)),c=W("esc")?"esc".join(l?.delimiter):"esc",u=void(Array.isArray(void 0)||Array.isArray(void 0)),d=(0,n.useCallback)(t,u??[]),h=(0,n.useRef)(d);u?h.current=d:h.current=t;let f=(function e(t,n){return t&&n&&"object"==typeof t&&"object"==typeof n?Object.keys(t).length===Object.keys(n).length&&Object.keys(t).reduce((r,o)=>r&&e(t[o],n[o]),!0):t===n}((i=(0,n.useRef)(void 0)).current,l)||(i.current=l),i.current),{activeScopes:p}=(0,n.useContext)(G),m=(0,n.useContext)($);H(()=>{var e;if(f?.enabled===!1||(e=f?.scopes,!((0!==p.length||!e)&&(!e||p.some(t=>e.includes(t))||p.includes("*")))))return;let t=[],n,r=(e,r=!1)=>{if(!(F(e,Q)&&!F(e,f?.enableOnFormTags))){if(null!==a.current){let t=a.current.getRootNode();if((t instanceof Document||t instanceof ShadowRoot)&&t.activeElement!==a.current&&!a.current.contains(t.activeElement))return void B(e)}e.target?.isContentEditable&&!f?.enableOnContentEditable||j(c,f?.delimiter).forEach(o=>{if(o.includes(f?.splitKey??"+")&&o.includes(f?.sequenceSplitKey??">"))return void console.warn(`Hotkey ${o} contains both ${f?.splitKey??"+"} and ${f?.sequenceSplitKey??">"} which is not supported.`);let i=U(o,f?.splitKey,f?.sequenceSplitKey,f?.useKey,f?.description,f?.metadata);if(i.isSequence){n=setTimeout(()=>{t=[]},f?.sequenceTimeoutMs??1e3);let r=i.useKey?e.key:N(e.code);if(T(r.toLowerCase()))return;if(t.push(r),r!==i.keys?.[t.length-1]){t=[],n&&clearTimeout(n);return}t.length===i.keys?.length&&(h.current(e,i),n&&clearTimeout(n),t=[])}else if(((e,t,n=!1)=>{let{alt:r,meta:o,mod:i,shift:a,ctrl:s,keys:l,useKey:c}=t,{code:u,key:d,ctrlKey:h,metaKey:f,shiftKey:p,altKey:m}=e,g=N(u);if(c){if(l?.length===1&&l.includes(d.toLowerCase())){if(!n){if(r!==m||a!==p)return!1;if(i){if(!f&&!h)return!1}else if(o!==f||s!==h)return!1}return!0}return!1}if(!l?.includes(g)&&!["ctrl","control","unknown","meta","alt","shift","os"].includes(g))return!1;if(!n){if(r!==m&&"alt"!==g||a!==p&&"shift"!==g)return!1;if(i){if(!f&&!h)return!1}else if(o!==f&&"meta"!==g&&"os"!==g||s!==h&&"ctrl"!==g&&"control"!==g)return!1}return!!(l&&1===l.length&&l.includes(g))||(l&&l.length>0?!!l.includes(g)&&function(e,t=","){return(W(e)?e:e.split(t)).every(e=>I.has(e.trim().toLowerCase()))}(l):!l||0===l.length)})(e,i,f?.ignoreModifiers)||i.keys?.includes("*")){var a,l;if(f?.ignoreEventWhen?.(e)||r&&s.current)return;if(("function"==typeof(a=f?.preventDefault)&&a(e,i)||!0===a)&&e.preventDefault(),"function"==typeof(l=f?.enabled)?!l(e,i):!0!==l&&void 0!==l)return void B(e);h.current(e,i),r||(s.current=!0)}})}},o=e=>{void 0!==e.code&&(D(N(e.code)),(f?.keydown===void 0&&f?.keyup!==!0||f?.keydown)&&r(e))},i=e=>{void 0!==e.code&&(K(N(e.code)),s.current=!1,f?.keyup&&r(e,!0))},u=a.current||l?.document||document;return u.addEventListener("keyup",i,l?.eventListenerOptions),u.addEventListener("keydown",o,l?.eventListenerOptions),m&&j(c,f?.delimiter).forEach(e=>{m.addHotkey(U(e,f?.splitKey,f?.sequenceSplitKey,f?.useKey,f?.description,f?.metadata))}),()=>{u.removeEventListener("keyup",i,l?.eventListenerOptions),u.removeEventListener("keydown",o,l?.eventListenerOptions),m&&j(c,f?.delimiter).forEach(e=>{m.removeHotkey(U(e,f?.splitKey,f?.sequenceSplitKey,f?.useKey,f?.description,f?.metadata))}),t=[],n&&clearTimeout(n)}},[c,f,p])}(0,()=>a(!1)),(0,n.useEffect)(()=>{c.current&&(a(!1),o())},[s,o]),(0,n.useEffect)(()=>{c.current=i},[i]);let d=(0,n.useRef)(!0);(0,n.useEffect)(()=>{d.current?d.current=!1:i?(0,m.disablePageScroll)():(0,m.enablePageScroll)()},[i]);let f=(0,n.useSyncExternalStore)(()=>()=>{},()=>!0,()=>!1),g=(0,n.useRef)(null);return(0,t.jsxs)("div",{children:[(0,t.jsxs)("button",{className:(0,l.cn)(Y.default.burger,{[Y.default.active]:i}),onClick:()=>{a(!i),o()},children:[(0,t.jsx)("span",{}),(0,t.jsx)("span",{}),(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",fill:"none",viewBox:"0 0 40 40",children:[(0,t.jsx)("mask",{id:"A",fill:"#fff",children:(0,t.jsx)("path",{d:"M12.799.586A2 2 0 0 1 14.213 0H38a2 2 0 0 1 2 2v36a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V14.213a2 2 0 0 1 .586-1.414L12.799.586z"})}),(0,t.jsx)("path",{d:"M.586 12.799l-1.414-1.414 1.414 1.414zM38 2H14.213v-4H38v4zm0 36V2h4v36h-4zM2 38h36v4H2v-4zm0-23.787V38h-4V14.213h4zm-2.828-2.828L11.385-.828 14.213 2 2 14.213-.828 11.385zM-2 14.213a4 4 0 0 1 1.172-2.828L2 14.213h-4zM2 42a4 4 0 0 1-4-4h4v4zm40-4a4 4 0 0 1-4 4v-4h0 4zM14.213 2h0L11.385-.828A4 4 0 0 1 14.213-2v4zM38-2a4 4 0 0 1 4 4h-4 0v-4z",fill:"#eb5be5",mask:"url(#A)"})]})]}),f?(0,p.createPortal)((0,t.jsx)(P,{classNames:"menu",in:i,timeout:400,nodeRef:g,unmountOnExit:!0,children:(0,t.jsx)("div",{className:(0,l.cn)(Y.default.menu),onClick:()=>a(!1),ref:g,children:(0,t.jsxs)("div",{className:(0,l.cn)("menu-container",Y.default.container),onClick:e=>e.stopPropagation(),children:[(0,t.jsx)("nav",{className:Y.default.nav,children:e.map((e,n)=>e.external?(0,t.jsx)(u.default,{className:(0,l.cn)("h2",Y.default.link),href:e.href,target:"_blank",rel:"noopener noreferrer",children:e.title},n):(0,t.jsx)(V.default,{className:(0,l.cn)("h2",Y.default.link),activeClassName:Y.default.active,href:e.href,children:e.title},n))}),(0,t.jsxs)("div",{className:Y.default.line,children:[r&&(0,t.jsx)(Z.default,{className:Y.default.socials,socials:r}),(0,t.jsxs)("div",{className:Y.default.details,children:[(0,t.jsx)("div",{className:Y.default.note,children:"Email"}),(0,t.jsx)(u.default,{className:Y.default.email,href:"mailto:[email protected]",target:"_blank",rel:"noreferrer",children:"[email protected]"})]})]}),(0,t.jsx)("div",{className:Y.default.lines,children:(0,t.jsx)(h.default,{src:"/images/menu-lines.svg",width:507,height:980,alt:"Lines"})})]})})}),document.body):null]})};var J=e.i(358501);e.i(816790);var ee=e.i(818944),et=e.i(920211);e.s(["default",0,()=>
14{let[e,r]=(0,n.useState)(!1),[o,i]=(0,n.useState)(!1);return s(({currPos:e})=>{r(e.y<=-2)}),(0,t.jsx)("header",{className:(0,l.cn)({[c.default.visible]:e,[c.default.open]:o},c.default.header),children:(0,t.jsxs)("div",{className:(0,l.cn)("container-wide",c.default.container),"data-scroll-lock-scrollable":!0,"data-scroll-lock-fill-gap":!0,children:[(0,t.jsx)(f,{className:c.default.logo}),(0,t.jsx)(X,{navigation:et.NAVIGATION_MENU_ITEMS,socials:ee.SOCIALS,onClick:()=>i(!o)}),(0,t.jsx)(J.default,{})]})})}],793494)}]);
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.