{"version":3,"file":"CurrencySelect.B2zn0cdH.mjs","names":["__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/WFUqdVmrkb6hyS1RCpF8/BYZImCjldpiCfrKQjRCC/overrides.js","https:/framerusercontent.com/modules/L36n3Y1F2v7vhuQo8nCU/sxEB918bDRAKNdfPH1h3/CurrencySelect.js"],"sourcesContent":["// PricingOverride.ts\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{getFormattedMonthlyTotal}from\"https://framerusercontent.com/modules/hSSduZ7Ri2tYI9Wj4vza/VT1fT0oUhAY2yUsrSP2T/helpers.js\";import{useStore}from\"https://framerusercontent.com/modules/ynsPCjH2igeZ2nQP7Nxt/W53Glct7pARFne0JAmCD/store.js\";export function PricingOutput(){const[store]=useStore();return{text:getFormattedMonthlyTotal(store.items,store.currency)};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withPricingOutput(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...PricingOutput(props)});};}withPricingOutput.displayName=\"PricingOutput\";\nexport const __FramerMetadata__ = {\"exports\":{\"PricingOutput\":{\"type\":\"override\",\"name\":\"PricingOutput\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withPricingOutput\":{\"type\":\"reactHoc\",\"name\":\"withPricingOutput\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useStore}from\"https://framerusercontent.com/modules/ynsPCjH2igeZ2nQP7Nxt/W53Glct7pARFne0JAmCD/store.js\";export function CurrencySelectComponent(){const[store,setStore]=useStore();const handleCurrencyChange=event=>{const selected=event.target.value;setStore({currency:selected})// store \"ja\", \"en-US\", \"fr-Fr\"\n;};const currentValue=store.currency||\"ja\";return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",padding:10},children:/*#__PURE__*/_jsxs(\"select\",{value:currentValue,onChange:handleCurrencyChange,style:{width:\"100%\",height:60,fontSize:\"18px\",padding:\"10px\",borderRadius:\"6px\",border:\"1px solid #cccccc\"},children:[/*#__PURE__*/_jsx(\"option\",{value:\"ja\",children:\"JPY \\xa5\"}),/*#__PURE__*/_jsx(\"option\",{value:\"en-US\",children:\"USD $\"}),/*#__PURE__*/_jsx(\"option\",{value:\"fr-Fr\",children:\"EUR €\"})]})});}\nexport const __FramerMetadata__ = {\"exports\":{\"CurrencySelectComponent\":{\"type\":\"reactComponent\",\"name\":\"CurrencySelectComponent\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CurrencySelect.map"],"mappings":"gPAC2R,SAAgB,GAAe,CAAC,GAAK,CAAC,GAAO,GAAU,CAAC,MAAM,CAAC,KAAK,EAAyB,EAAM,MAAM,EAAM,SAAS,CAAC,CAAqJ,SAAgB,EAAkB,EAAE,CAAC,MAAO,KAAQ,EAA+BA,EAAwC,CAAQC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAc,EAAM,CAAC,CAAC,mBAA3qB,IAAiI,IAA+G,IAA2L,IAAmF,CAAiL,EAAkB,YAAY,mBCDhlB,SAAgB,GAAyB,CAAC,GAAK,CAAC,EAAM,GAAU,GAAU,CACvM,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,QAAQ,GAAG,CAAC,SAAsB,EAAM,SAAS,CAAC,MAA3H,EAAM,UAAU,KAA8H,SAD0G,GAAO,CAAC,IAAM,EAAS,EAAM,OAAO,MAAM,EAAS,CAAC,SAAS,EAAS,CAAC,EACnJ,MAAM,CAAC,MAAM,OAAO,OAAO,GAAG,SAAS,OAAO,QAAQ,OAAO,aAAa,MAAM,OAAO,oBAAoB,CAAC,SAAS,CAAc,EAAK,SAAS,CAAC,MAAM,KAAK,SAAS,QAAW,CAAC,CAAc,EAAK,SAAS,CAAC,MAAM,QAAQ,SAAS,QAAQ,CAAC,CAAc,EAAK,SAAS,CAAC,MAAM,QAAQ,SAAS,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,kBAD1b,IAA+G"}