{"version":3,"file":"FullWidth.Djs6RLEI.mjs","names":[],"sources":["https:/framerusercontent.com/modules/yHkP97ddebN3FQdp4U9m/0MJk3JALiPbGNOjozzg8/useCountrySettings.js","https:/framerusercontent.com/modules/Jvb0acR5iIAgWyA45MYV/fsG4FVmVYCIrk2EBSm0n/FullWidth.js"],"sourcesContent":["import{useLocaleCode}from\"framer\";const LOCALE_TO_COUNTRY_CODE={\"en-GB\":\"GB\",\"es-ES\":\"ES\",\"it-IT\":\"IT\",\"sk-SK\":\"SK\",\"cs-CZ\":\"CZ\",\"hr-HR\":\"HR\",\"hu-HU\":\"HU\",\"is-IS\":\"IS\",\"pt-PT\":\"PT\"};const PRICE_FORMAT_OPTIONS={GB:{locale:\"en-GB\",options:{style:\"currency\",currency:\"GBP\"}},SK:{locale:\"sk-SK\",options:{style:\"currency\",currency:\"EUR\"}},CZ:{locale:\"cs-CZ\",options:{style:\"currency\",currency:\"CZK\"}},PT:{locale:\"pt-PT\",options:{style:\"currency\",currency:\"EUR\"}},IS:{locale:\"is-IS\",options:{style:\"currency\",currency:\"ISK\"}},HU:{locale:\"hu-HU\",options:{style:\"currency\",currency:\"HUF\"}},HR:{locale:\"hr-HR\",options:{style:\"currency\",currency:\"EUR\"}},ES:{locale:\"es-ES\",options:{style:\"currency\",currency:\"EUR\"}},IT:{locale:\"it-IT\",options:{style:\"currency\",currency:\"EUR\"}}};export const useCountrySettings=()=>{const locale=useLocaleCode();const countryCode=LOCALE_TO_COUNTRY_CODE[locale]??\"GB\";const language=locale??\"en-GB\";const currency=PRICE_FORMAT_OPTIONS[countryCode]?.options.currency??\"GBP\";return{countryCode,language,currency};};\nexport const __FramerMetadata__ = {\"exports\":{\"useCountrySettings\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./useCountrySettings.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";// Higher-order override: forces 100% width on any component\nexport function withFullWidth(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props.style||{},width:\"100%\",flexShrink:0,alignSelf:\"stretch\"}});});}// Higher-order override: forces 100% width on any component\n// and wraps it in a scrollable container\nexport function withFullWidthScrollable(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(\"div\",{style:{maxHeight:\"90vh\",overflow:\"auto\"},children:/*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props.style||{},width:\"100%\",flexShrink:0,alignSelf:\"stretch\"}})});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withFullWidthScrollable\":{\"type\":\"reactHoc\",\"name\":\"withFullWidthScrollable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFullWidth\":{\"type\":\"reactHoc\",\"name\":\"withFullWidth\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FullWidth.map"],"mappings":"4LAAkC,CAAM,EAAuB,CAAC,QAAQ,KAAK,QAAQ,KAAK,QAAQ,KAAK,QAAQ,KAAK,QAAQ,KAAK,QAAQ,KAAK,QAAQ,KAAK,QAAQ,KAAK,QAAQ,KAAK,CAAO,EAAqB,CAAC,GAAG,CAAC,OAAO,QAAQ,QAAQ,CAAC,MAAM,WAAW,SAAS,MAAM,CAAC,CAAC,GAAG,CAAC,OAAO,QAAQ,QAAQ,CAAC,MAAM,WAAW,SAAS,MAAM,CAAC,CAAC,GAAG,CAAC,OAAO,QAAQ,QAAQ,CAAC,MAAM,WAAW,SAAS,MAAM,CAAC,CAAC,GAAG,CAAC,OAAO,QAAQ,QAAQ,CAAC,MAAM,WAAW,SAAS,MAAM,CAAC,CAAC,GAAG,CAAC,OAAO,QAAQ,QAAQ,CAAC,MAAM,WAAW,SAAS,MAAM,CAAC,CAAC,GAAG,CAAC,OAAO,QAAQ,QAAQ,CAAC,MAAM,WAAW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