{"version":3,"file":"shared-lib.CSYOmvxE.mjs","names":["__legacyOverrideHOC_DataObserverContext","metadata","metadataVersion","__FramerMetadata__"],"sources":["https:/framerusercontent.com/modules/SF2SnY6FLsp8vhXVO5Gk/AS1FGtjX94PbgsMaQgK9/Viewport_fix.js","https:/framerusercontent.com/modules/aYYz92jUNcVIiEnIuQZN/MXj3ts8eWh2q5mDVxRrW/augiA20Il.js","https:/framerusercontent.com/modules/YozcUJuYfwHSu0paILZm/AfgMsCRCf1VaStP6kqy1/bP5fnI5tI.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";export function useViewportFix(){const[isLandscape,setIsLandscape]=useState(false);useEffect(()=>{const setVh=()=>{const vh=window.innerHeight*.01;document.documentElement.style.setProperty(\"--vh\",`${vh}px`);};const checkOrientation=()=>{setIsLandscape(window.innerWidth>window.innerHeight);};setVh();checkOrientation();window.addEventListener(\"resize\",()=>{setVh();checkOrientation();});window.addEventListener(\"orientationchange\",()=>{setTimeout(()=>{setVh();checkOrientation();},300);});return()=>{window.removeEventListener(\"resize\",setVh);window.removeEventListener(\"resize\",checkOrientation);window.removeEventListener(\"orientationchange\",checkOrientation);};},[]);return{style:{height:\"100dvh\",minHeight:\"calc(var(--vh, 1vh) * 100)\",width:\"100%\",overflowY:isLandscape?\"auto\":\"hidden\",overflowX:\"hidden\"}};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withuseViewportFix(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...useViewportFix(props)});};}withuseViewportFix.displayName=\"useViewportFix\";\nexport const __FramerMetadata__ = {\"exports\":{\"withuseViewportFix\":{\"type\":\"reactHoc\",\"name\":\"withuseViewportFix\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useViewportFix\":{\"type\":\"override\",\"name\":\"useViewportFix\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Viewport_fix.map","// Generated by Framer (d65dc2b)\nexport default function metadata(params,activeLocale){return{breakpoints:[{hash:\"72rtr7\",mediaQuery:\"(min-width: 1920px)\"},{hash:\"cefjcm\",mediaQuery:\"(min-width: 1200px) and (max-width: 1919px)\"},{hash:\"13dhlok\",mediaQuery:\"(min-width: 810px) and (max-width: 1199px)\"},{hash:\"1ewu0a1\",mediaQuery:\"(max-width: 809px)\"}],description:\"Ludo Royale is a play-to-earn blockchain game that combines the classic Ludo board game with crypto rewards. Players compete in multiplayer matches, tournaments and special events to earn $LUDI tokens on the BNB Chain.\",elements:{},framerSearch:{index:true},robots:\"max-image-preview:large\",serializationId:\"framer-DfK0H\",title:\"Ludo Royale\",viewport:\"width=device-width\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (d65dc2b)\nexport default function metadata(params,activeLocale){return{breakpoints:[{hash:\"leohq8\",mediaQuery:\"(min-width: 1920px)\"},{hash:\"xi61is\",mediaQuery:\"(min-width: 1200px) and (max-width: 1919px)\"},{hash:\"ccpenw\",mediaQuery:\"(min-width: 810px) and (max-width: 1199px)\"},{hash:\"qcbvgq\",mediaQuery:\"(max-width: 809px)\"}],customHTMLBodyEnd:\"<script>\\n  function setRealVh() {\\n    const vh = window.innerHeight * 0.01;\\n    document.documentElement.style.setProperty('--vh', `${vh}px`);\\n  }\\n\\n  setRealVh();\\n\\n  window.addEventListener('resize', setRealVh);\\n  window.addEventListener('orientationchange', () => {\\n    setTimeout(setRealVh, 500); // allow for reflow\\n  });\\n</script>\\n\",customHTMLHeadEnd:\"<style>\\n  :root {\\n    --vh: 1vh;\\n  }\\n\\n  html, body {\\n    padding: 0;\\n    margin: 0;\\n    height: 100%;\\n    overflow: hidden;\\n  }\\n\\n  .fullscreen-iframe {\\n    position: fixed;\\n    top: 0;\\n    left: 0;\\n    width: 100%;\\n    height: calc(var(--vh, 1vh) * 100);\\n    border: none;\\n    z-index: 9999;\\n  }\\n</style>\\n\",description:\"Ludo Royale is a play-to-earn blockchain game that combines the classic Ludo board game with crypto rewards. Players compete in multiplayer matches, tournaments and special events to earn $LUDI tokens on the BNB Chain.\",elements:{},framerSearch:{index:true},robots:\"max-image-preview:large\",serializationId:\"framer-b8YGH\",title:\"Ludo Royale\",viewport:\"width=device-width\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"ySAAiF,SAAgB,GAAgB,CAAC,GAAK,CAAC,EAAY,EAAe,CAAC,GAAS,EAAM,CAA6kB,MAA5kB,GAAU,IAAI,CAAC,IAAM,EAAM,IAAI,CAAC,IAAM,EAAG,EAAO,YAAY,IAAI,SAAS,gBAAgB,MAAM,YAAY,UAAU,EAAG,IAAI,AAAE,EAAO,EAAiB,IAAI,CAAC,EAAe,EAAO,WAAW,EAAO,YAAY,AAAE,EAAsM,MAArM,IAAO,CAAC,GAAkB,CAAC,EAAO,iBAAiB,SAAS,IAAI,CAAS,AAAR,GAAO,CAAC,GAAkB,AAAE,EAAC,CAAC,EAAO,iBAAiB,oBAAoB,IAAI,CAAC,WAAW,IAAI,CAAS,AAAR,GAAO,CAAC,GAAkB,AAAE,EAAC,IAAI,AAAE,EAAC,CAAO,IAAI,CAAkG,AAAjG,EAAO,oBAAoB,SAAS,EAAM,CAAC,EAAO,oBAAoB,SAAS,EAAiB,CAAC,EAAO,oBAAoB,oBAAoB,EAAiB,AAAE,CAAE,EAAC,CAAE,EAAC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