{"version":3,"file":"SmartText.DUfgFvdJ.mjs","names":["useStore","addPropertyOverrides","cycleOrder","serializationHash","variantClassNames","transition1","Transition","React.useContext","React.useMemo","humanReadableVariantMap","Variants","React.Fragment","getProps","createLayoutDependency","React.forwardRef","useRef","React.useId","Image1","RichText","getProps","React.forwardRef","React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","RichText","useRef","useState"],"sources":["https:/framerusercontent.com/modules/cohy2pPshsug6PMaVFmm/Bmj3l1VOxGHt0jQ5Vsrm/Os014.js","https:/framerusercontent.com/modules/WB6chTITurqYWAjaedXW/EfzRyhqYPWfuRE2YGqMd/kX79D0Q53.js","https:/framerusercontent.com/modules/B1od0mD3J1wRp5dLOqXs/tcJXLcWAheneDzvfuQ1p/zXmOJWrNK.js","https:/framerusercontent.com/modules/Q12PxsNJh2NVj3R6WqIj/qw6MmkDNxTIi6A3mtoci/KYlRni61j.js","https:/framerusercontent.com/modules/s8ym47Kwt5SrymkUQeT3/4gX9LirfV9wrWaI7Frsg/SmartText.js"],"sourcesContent":["/*\n *\n * August 31, 2023 - Initial version - Axel Muench - www.spectodesign.com\n * Sept 5, 2023 - AM:  add delay when acquiring variant name changes in Heathrow panels\n * Sept 21, 2023 - AM: add sort order functionality\n *//*\n\n==== Heathrow Panel naming: ==================================\n\nHeathrow MoE Panels naming:\nOuter Panel: MoE Heathrow #3 (addVisibilityMoePanelThree())\n   component: (MoEThreeConfigurator())\n   more: (MoEThreeConfiguratorBottom())\n\nHeathrow Standard Panels naming:\nOuter Panel: Heathrow #3 (addVisibilityPanelThree())\n   component: (HeathrowThreeConfigurator())\n   more: (HeathrowThreeConfiguratorBottom())\n*//*\n=== Parameter naming convention: ==================================\nparameter name starting with 's' denotes sort order ( a Zero value equals hide) sMoe=8&sHeathrow=7&sHptek=6&sLuxIntro=5&sLuxL=4&sLuxC=3&sUsba=2&sExtreme=1\n\nparameter name starting with 'pp' denotes 'Previously Purchase Item' and its qty\nppExtreme=4\n\nparameter name starting with 'v' denotes the component variant name to display, if omitted random variant is chosen\nvHeathrow=3-Set%20Piano%20Black (url encoded)\nvHeathrow=3-Set Piano Black\nvLuxU=Lux Pro Seafoam Green 3+1\n\nExample URL:\nhttps://plucky-example-846236.framer.app/?sHeathrow=8&sHptek=7&sLuxIntro=5&sLuxL=6&sLuxC=4&sUsba=3&sExtreme=2&sMoe=1&ppExtreme=4&vHeathrow=3-Set%20Piano%20Black&vLuxU=Lux%20Pro%20Seafoam%20Green%203%2B1\n\nCode Override names for each of the sortable sections:\naddSortOrderSectionMoe\naddSortOrderSectionHeathrow\naddSortOrderSectionHptek\naddSortOrderSectionLuxIntro\naddSortOrderSectionLuxL\naddSortOrderSectionLuxC\naddSortOrderSectionExtreme\n*/import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";/*\n * Constants\n */const ADD_MORE_MOE_VARIANT=\"Add more MoE suitcases\";const LUX_BOX_VARIANT_ACTIVE=\"Active\";const LUX_BOX_VARIANT_INACTIVE=\"Inactive\";const VARIANT_UPDATE_DELAY=125// ms\n;const CHECKOUT_BUTTON_DEFAULT=\"Checkout disabled\";const CHECKOUT_BUTTON_ENABLED=\"Checkout-ready\";const BACKEND=\"r64s4u7evs.us-east-1.awsapprunner.com/os015c\";//const BACKEND = \"87b4-74-101-151-212.ngrok-free.app/os015c\"\nconst ENDPOINT_CHECKOUT=`https://${BACKEND}/checkout`;const ENDPOINT_PREPAID=`https://${BACKEND}/prepaid`;const moEHeathrowRandomize=[// \"MoE-3-Set Alu\", // AM: not ckear if aluminium should be part of this ?\n\"MoE-3-Set Sunshine Yellow\",\"MoE-3-Set Candy Pink\",\"MoE-3-Set Seafoam Green\",\"MoE-3-Set Midnight Blue\",\"MoE-3-Set Piano Black\"];const regularHeathrowRandomize=[\"3-Set Alu\",\"3-Set Sunshine Yellow\",\"3-Set Candy Pink\",\"3-Set Seafoam Green\",\"3-Set Midnight Blue\",\"3-Set Piano Black\"];const moEHeathrowVariantNames=[\"Style Base \\xb7 Primary\",\"MoE-eCarry-on Alu\",\"MoE-eCarry-on Sunshine Yellow\",\"MoE-eCarry-on Candy Pink\",\"MoE-eCarry-on Seafoam Green\",\"MoE-eCarry-on Midnight Blue\",\"MoE-eCarry-on Piano Black\",\"MoE-3-Set Alu\",\"MoE-3-Set Sunshine Yellow\",\"MoE-3-Set Candy Pink\",\"MoE-3-Set Seafoam Green\",\"MoE-3-Set Midnight Blue\",\"MoE-3-Set Piano Black\",\"Start\",\"Add more MoE suitcases\"];const heathrowVariantNames=[\"Variant 1 \\xb7 Primary\",\"Closed\",\"eCarry-on Alu\",\"eCarry-on Sunshine Yellow\",\"eCarry-on Candy Pink\",\"eCarry-on Seafoam Green\",\"eCarry-on Midnight Blue\",\"eCarry-on Piano Black\",\"Carry-on Alu\",\"Carry-on Sunshine Yellow\",\"Carry-on Candy Pink\",\"Carry-on Seafoam Green\",\"Carry-on Midnight Blue\",\"Carry-on Piano Black\",\"Medium Alu\",\"Medium Sunshine Yellow\",\"Medium Candy Pink\",\"Medium Seafoam Green\",\"Medium Midnight Blue\",\"Medium Piano Black\",\"Large Alu\",\"Large Sunshine Yellow\",\"Large Candy Pink\",\"Large Seafoam Green\",\"Large Midnight Blue\",\"Large Piano Black\",\"2-Set Alu\",\"2-Set Sunshine Yellow\",\"2-Set Candy Pink\",\"2-Set Seafoam Green\",\"2-Set Midnight Blue\",\"2-Set Piano Black\",\"3-Set Alu\",\"3-Set Sunshine Yellow\",\"3-Set Candy Pink\",\"3-Set Seafoam Green\",\"3-Set Midnight Blue\",\"3-Set Piano Black\"];const luxVariantNames=[// \"Stlye Base · Primary\",\n\"Lux Alpine White\",\"Lux Alpine White x2\",\"Lux Alpine White x3\",\"Lux Alpine White x4\",\"Lux Alpine White 5+Mini Brick\",\"Lux Pro Alpine White\",\"Lux Pro Alpine White x2\",\"Lux Pro Alpine White 3+1\",\"Lux Pro Alpine White 5+Power Brick\",\"Lux Pro Sunshine Yellow\",\"Lux Pro Sunshine Yellow x2\",\"Lux Pro Sunshine Yellow 3+1\",\"Lux Pro Sunshine Yellow 5+Power Brick\",\"Lux Pro Candy Pink\",\"Lux Pro Candy Pink x2\",\"Lux Pro Candy Pink 3+1\",\"Lux Pro Candy Pink 5+Power Brick\",\"Lux Pro Seafoam Green\",\"Lux Pro Seafoam Green x2\",\"Lux Pro Seafoam Green 3+1\",\"Lux Pro Seafoam Green 5+Power Brick\",\"Lux Pro Juicy Orange\",\"Lux Pro Juicy Orange x2\",\"Lux Pro Juicy Orange 3+1\",\"Lux Pro Juicy Orange 5+Power Brick\",\"Lux Pro Rainbow 5+Power Brick\",\"Lux Ultra Alpine White\",\"Lux Ultra Alpine White x2\",\"Lux Ultra Alpine White 3+1\",\"Lux Ultra Alpine White 5+Power Brick\"];const luxLightningVariantNames=[// \"Stlye Base · Primary\",\n\"Lux Lightning Alpine White\",\"Lux Lightning White x2\",\"Lux Lightning White x3\",\"Lux Lightning White x4\",\"Lux Lightning White 5+Mini Brick\"];/*\n * Styles\n */const displayNoneStyle={display:\"none\"};const displayInitialStyle={display:\"initial\"};const displayFlexStyle={display:\"flex\"};const displayFirstClickDummy={display:\"flex\",width:\"100%\"};const previouslyOrderItemStyle={boxSizing:\"border-box\",flexShrink:0,//width: \"380px\",\nheight:\"min-content\",display:\"flex\",flexDirection:\"row\",justifyContent:\"center\",alignItems:\"center\",padding:\"10px 10px 10px 10px\",backgroundColor:\"var(--_Lightest_Gray, #F9F9F9)\",overflow:\"hidden\",position:\"relative\",alignContent:\"center\",flexWrap:\"nowrap\",gap:10,borderRadius:\"16px\",border:\"1px solid var(--_Light_Gray, #c9c9c9)\"};const bonusItemStyle={flexShrink:0,width:\"min-content\",height:\"min-content\",display:\"flex\",flexDirection:\"row\",justifyContent:\"flex-start\",alignItems:\"center\",overflow:\"hidden\",position:\"relative\",padding:\"0px 0px 0px 0px\",alignContent:\"center\",flexWrap:\"nowrap\",gap:0,borderRadius:\"0px 0px 0px 0px\"};const counterStyleDefault={background:\"#fff3\"};const counterStyleActive={background:\"#ffd814\"};const containerStyleDefault={border:\"4px solid #c9c9c9\",width:\"100%\"};// const containerStyleActive = { border: \"2px solid #ffd814\" }\nconst containerStyleActive={border:\"4px solid var(--_MAGFAST_Primary_Yellow, #ffd814)\",width:\"100%\"};const desktopStyle={boxSizing:\"border-box\",//width: \"1200px\",\nheight:\"min-content\",display:\"flex\",flexDirection:\"column\",justifyContent:\"flex-start\",alignItems:\"center\",padding:\"0px 0px 120px 0px\",backgroundColor:\"#ffffff\",overflow:\"visible\",alignContent:\"center\",flexWrap:\"nowrap\",gap:0,position:\"absolute\",borderRadius:\"0px 0px 0px 0px\"};const panelBottomMargin=\"50px\";/*\n * Support functions init before first use in data store\n */const randomMoEColor=()=>{const randomIndex=Math.floor(Math.random()*moEHeathrowRandomize.length);return moEHeathrowRandomize[randomIndex];};const randomStandardHeathrowColor=()=>{const randomIndex=Math.floor(Math.random()*regularHeathrowRandomize.length);return regularHeathrowRandomize[randomIndex];};const randomLuxUsbcVariant=()=>{const randomIndex=Math.floor(Math.random()*luxVariantNames.length);return luxVariantNames[randomIndex];};const randomLuxLightningVariant=()=>{const randomIndex=Math.floor(Math.random()*luxLightningVariantNames.length);return luxLightningVariantNames[randomIndex];};export function LogStore(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,onClick:e=>{//console.log(\"click LogStore\")\n//console.dir(store)\n}});};}/*\n * Data Store\n */// TODO: check how much of this we still need\nconst initialCheckout={kit:0,luxAdapter4Pack:0,persianRedCables:0,extreme:0,jumpers:0};const ppAll=[{label:\"ppAirLimited\",isLimited:true},{label:\"ppAirBlack\",isLimited:true},{label:\"ppAirSet\",isLimited:true},{label:\"ppLifeLimited\",isLimited:true},{label:\"ppExtremeLimited\",isLimited:true},{label:\"ppHelloLimited\",isLimited:true},{label:\"ppExtreme\",isLimited:false},{label:\"ppExtremeGreen\",isLimited:false},{label:\"ppAir\",isLimited:false},{label:\"ppAirGreen\",isLimited:false},{label:\"ppLife\",isLimited:false},{label:\"ppLifeGreen\",isLimited:false},{label:\"ppHello\",isLimited:false},{label:\"ppHelloGreen\",isLimited:false},{label:\"ppJumpers\",isLimited:false},{label:\"ppLuxCC\",isLimited:false},{label:\"ppLuxCL\",isLimited:false},{label:\"ppLuxPR\",isLimited:false},{label:\"ppAdapter\",isLimited:false},{label:\"ppECarry\",isLimited:false},{label:\"ppCover\",isLimited:false}];const ppLabels=ppAll.map(i=>i.label);const ppZero=ppLabels.reduce((context,label)=>{context[label]=0;return context;},{});const useStore=createStore({checkout:initialCheckout,// prepaid items\n...ppZero,// new MoE panel variant states\nmoEFirstClickDummy:\"Start\",moEOneVariant:\"\",moETwoVariant:\"\",moEThreeVariant:\"\",moEFourVariant:\"\",moEFiveVariant:\"\",// new regular heathrow panel variant states\nheathrowOneVariant:randomStandardHeathrowColor(),heathrowTwoVariant:\"\",heathrowThreeVariant:\"\",heathrowFourVariant:\"\",heathrowFiveVariant:\"\",heathrowSixVariant:\"\",heathrowSevenVariant:\"\",heathrowEightVariant:\"\",heathrowNineVariant:\"\",heathrowTenVariant:\"\",// Lux Apple Lightning\nluxLightningOneVariant:\"Do you need Lightning\",luxLightningTwoVariant:\"\",luxLightningThreeVariant:\"\",luxLightningFourVariant:\"\",luxLightningFiveVariant:\"\",// new lux usbc panel variant states\nluxUsbcOneVariant:\"Lux Pro Rainbow 5+Power Brick\",luxUsbcTwoVariant:\"\",luxUsbcThreeVariant:\"\",luxUsbcFourVariant:\"\",luxUsbcFiveVariant:\"\",// Lux Adapaters\na4padapterContainerStyle:containerStyleDefault,a4padapterCounterStyle:counterStyleDefault,luxAdapter4Pack:0,persianRedCables:0,// travel kit\ntravelKitContainerStyle:containerStyleDefault,travelKitCount:1,// jumper cables\njumperCableCounterStyle:counterStyleDefault,jumperCableContainerStyle:containerStyleDefault,persianRedCounterStyle:counterStyleDefault,persianRedContainerStyle:containerStyleDefault,jumperCablesCount:0,// luxV2\nluxV2ContainerStyle:containerStyleDefault,luxV2Variants:\"5-C\",// extreme\nextremeContainerStyle:containerStyleDefault,extremeVariant:\"Extreme OS - 0\",// Bonus panel\nbonusDetailStyle:displayNoneStyle,bonusGiftCount:0,bonusSavings:0,bonusTrees:0,bonusTotalOrderAmount:0,// terms and conditions\ntermsConditionsChecked:false,// checkout button\ncheckoutButtonVariant:CHECKOUT_BUTTON_DEFAULT,// Bonus panel\n// Bonuses calculated by OrderCalculator\nbonusHeathrowCarryon:0,bonusHeathrowLarge:0,bonusExtreme:0,bonusToughCover:0,bonusLuxUsbcCables:0,bonusLuxPersian:0,bonusGetaway:0,// Derived from Bonuses above,\nbonusItemOneQty:0,bonusItemOneText:\"\",bonusItemTwoQty:0,bonusItemTwoText:\"\",bonusItemThreeQty:0,bonusItemThreeText:\"\",bonusItemFourQty:0,bonusItemFourText:\"\",bonusItemFiveQty:0,bonusItemFiveText:\"\",bonusItemSixQty:0,bonusItemSixText:\"\",bonusItemSevenQty:0,bonusItemSevenText:\"\",// section sort order\nshowSortOrderSection:false,sectionMoeSortOrder:0,sectionHeathrowSortOrder:0,sectionHptekSortOrder:0,sectionsLuxIntroSortOrder:0,sectionLuxLSortOrder:0,sectionLuxCSortOrder:0,sectionUsbaSortOrder:0,sectionJumpersSortOrder:0,sectionPersianRedSortOrder:0,sectionExtremeSortOrder:0,sectionTreesSortOrder:0,treesSortOrder:0,sectionLuxV2SortOrder:5});/* ====================================================================\n * Sort Order Section\n * ==================================================================== */const sortOrderDefaultStyle=displayFlexStyle;// const sortOrderStyleOne = {\n//     order: 1,\n// }\n// const sortOrderStyleTwo = {\n//     order: 2,\n// }\n// const sortOrderStyleThree = {\n//     order: 3,\n// }\n// rename\nexport function addVisibilitySortOrderSection(Component){return props=>{const[store,setStore]=useStore();const style=store.showSortOrderSection?displayInitialStyle:displayNoneStyle;const hDate=new Date(Date.now()).toLocaleString();//console.log(\"addVisibilityPage before\", hDate)\nuseEffect(()=>{const hDate=new Date(Date.now()).toLocaleString();//console.log(\"addVisibilityPage useEffect\", hDate)\n},[])// The empty dependencies array ensures this effect runs only once.\n;return /*#__PURE__*/_jsx(Component,{...props,style:style,id:\"order-section-test\"});};}export function addIdSortOrderSection(Component){return props=>{const[store,setStore]=useStore();const style=sortOrderDefaultStyle;return /*#__PURE__*/_jsx(Component,{...props,style:style,id:\"section-sort-order\"});};}export function addSortOrderSectionMoe(Component){return props=>{const[store,setStore]=useStore();let style={display:\"none\",order:store.sectionMoeSortOrder};if(store.showSortOrderSection&&store.sectionMoeSortOrder>0){style={display:\"flex\",marginBottom:panelBottomMargin,order:store.sectionMoeSortOrder};}return /*#__PURE__*/_jsx(Component,{...props,style:style});};}export function addSortOrderSectionHeathrow(Component){return props=>{const[store,setStore]=useStore();let style={display:\"none\",order:store.sectionHeathrowSortOrder};if(store.showSortOrderSection&&store.sectionHeathrowSortOrder>0){style={display:\"flex\",marginBottom:panelBottomMargin,order:store.sectionHeathrowSortOrder};}return /*#__PURE__*/_jsx(Component,{...props,style:style});};}export function addSortOrderSectionHptek(Component){return props=>{const[store,setStore]=useStore();// const style = { order: store.sectionLuxSortOrder }\nlet style={display:\"none\",order:store.sectionHptekSortOrder};if(store.showSortOrderSection&&store.sectionHptekSortOrder>0){style={display:\"flex\",marginBottom:panelBottomMargin,order:store.sectionHptekSortOrder};}return /*#__PURE__*/_jsx(Component,{...props,style:style});};}export function addSortOrderSectionLuxIntro(Component){return props=>{const[store,setStore]=useStore();let style={display:\"none\",order:store.sectionsLuxIntroSortOrder};if(store.showSortOrderSection&&store.sectionsLuxIntroSortOrder>0){style={display:\"flex\",marginBottom:panelBottomMargin,order:store.sectionsLuxIntroSortOrder};}return /*#__PURE__*/_jsx(Component,{...props,style:style});};}export function addSortOrderSectionLuxL(Component){return props=>{const[store,setStore]=useStore();// const style = { order: store.sectionLuxSortOrder }\nlet style={display:\"none\",order:store.sectionLuxLSortOrder};if(store.showSortOrderSection&&store.sectionLuxLSortOrder>0){style={display:\"flex\",marginBottom:panelBottomMargin,order:store.sectionLuxLSortOrder};}return /*#__PURE__*/_jsx(Component,{...props,style:style});};}export function addSortOrderSectionLuxC(Component){return props=>{const[store,setStore]=useStore();// const style = { order: store.sectionLuxSortOrder }\nlet style={display:\"none\",order:store.sectionLuxCSortOrder};if(store.showSortOrderSection&&store.sectionLuxCSortOrder>0){style={display:\"flex\",marginBottom:panelBottomMargin,order:store.sectionLuxCSortOrder};}return /*#__PURE__*/_jsx(Component,{...props,style:style});};}// alreadu a override at: LuxAdaptersContainer(Component): ComponentType {\n// export function addSortOrderSectionLuxA(Component): ComponentType {\n//     return (props) => {\n//         const [store, setStore] = useStore()\n//         // const style = { order: store.sectionLuxSortOrder }\n//         let style = {\n//             display: \"none\",\n//             order: store.sectionUsbaSortOrder,\n//         }\n//         if (store.showSortOrderSection) {\n//             style = {\n//                 display: \"flex\",\n//                 order: store.sectionUsbaSortOrder,\n//             }\n//         }\n//         return <Component {...props} style={style} />\n//     }\n// }\nexport function addSortOrderSectionExtreme(Component){return props=>{const[store,setStore]=useStore();// const style = { order: store.sectionExtremeSortOrder }\nlet style={display:\"none\",order:store.sectionExtremeSortOrder};if(store.showSortOrderSection&&store.sectionExtremeSortOrder>0){style={display:\"flex\",marginBottom:panelBottomMargin,order:store.sectionExtremeSortOrder};}// else {\n//  setStore({ ...store, extremeVariants: \"\" })\n//}\nreturn /*#__PURE__*/_jsx(Component,{...props,style:style});};}export function addSortOrderSectionLuxV2(Component){return props=>{const[store,setStore]=useStore();let style={display:\"none\",order:store.sectionLuxV2SortOrder};if(store.showSortOrderSection&&store.sectionLuxV2SortOrder>0){style={display:\"flex\",marginBottom:panelBottomMargin,order:store.sectionMoeSortOrder};}return /*#__PURE__*/_jsx(Component,{...props,style:style});};}/*\n * Section DOM Monitoring\n *      This code detects changes in the framer variant that framer makes directly in the DOM\n *      rather than by re-rendering.\n *      Each panel registers itself for monitoring during rendering, recording the variant value\n *         it rendered with along with a DOM id it used to label the panel\n */// Find our dom ID and get the variant values current and as rendered\nfunction renderedAndNow(domId){let el=document.getElementById(domId);//console.log(`attempt to find ${id} ${el ? 1 : 0}`)\nif(el){const variantElem=el.querySelector(\":first-child\").querySelector(\":first-child\");//.querySelector(\":first-child\")\nlet valueNow=variantElem.getAttribute(\"data-framer-name\");const valueRendered=variantElem.getAttribute(\"data-rendered-variant\");//MoE None quantiy variant is not working as expected, when making None choice it's going to\n//Style Base variant which is not idle, below if condition explicitly select the None variant\nif((valueRendered.includes(\"MoE\")||valueRendered.includes(\"None\"))&&valueNow===\"Style Base\"){valueNow=\"None\";}if(valueNow==\"Variant 1\"){return null;}if(valueNow==\"Style Base\"){return null;}//console.log(\n//    `[${domId}] data value is ${valueNow} rendered was ${valueRendered}`\n//)\n// the or part in this if will handle the edge case when None will be selected when it is already selected\nif(valueNow!=valueRendered){let rt={rendered:valueRendered,now:valueNow};//console.log(`renderedAndNow(${domId}) returning ${JSON.stringify(rt)}`)\nreturn rt;}}return null;}let StoreUpdateOnDOMChangeRegistry=(()=>{let fnTable={};let ctr=0;let latestFunction=v=>null;return{// Remember a function to\n// update the store in the event the DOM acquires a new value\nsave:(storePropertyName,domVariantFetchFunction,updateFunction,transformationFunction)=>{fnTable[storePropertyName]={domVariantFetchFunction:domVariantFetchFunction,fn:updateFunction,transformationFunction:transformationFunction,counter:ctr++};latestFunction=updateFunction;},latestUpdateFunction:()=>latestFunction,// update the store in the event the DOM acquires a new value\nupdateStore:(label,value)=>{let entry=fnTable[label];if(entry){entry.fn(value);}},scan:()=>{// iterate through each registered panel looking for changed variants\nlet changes=[];for(let storePropertyName in fnTable){let entry=fnTable[storePropertyName];//console.log(`entry = ${JSON.stringify(entry)}`)\n// get rendered variant value and current variant value from dom\nlet rNow=entry.domVariantFetchFunction();//console.log(\n//    `scanning ${entry.domId} was ${JSON.stringify(rNow)}`\n// )\n// return is non null if a change was detected\nif(rNow){let thisChange={value:rNow.now,key:storePropertyName};/*\n                    console.log(\n                        `scan found change for propertyName ${storePropertyName} was ${\n                            rNow.rendered\n                        } now ${rNow.now} , json is ${JSON.stringify(\n                            thisChange\n                        )}`\n                    )\n*/// if there is a change transformation function, run it\n// this is used to randomize transitions from 'closed' to any other value\nif(entry.transformationFunction){/*                      console.log(\n                            `running transformation function rendered=${\n                                rNow.rendered\n                            } change = ${JSON.stringify(thisChange)}`\n                        )\n*/entry.transformationFunction(rNow.rendered,thisChange);}changes.push(thisChange);}}return changes;}};})();/* ====================================================================\n * Section Heathrow MoE outer & inner panels - max 5\n * ==================================================================== */export function FirstClickDummyConfigurator(Component){return props=>{const[store,setStore]=useStore();const style=store.moEFirstClickDummy===\"Start\"?displayFirstClickDummy:displayNoneStyle;return /*#__PURE__*/_jsx(Component,{...props,style:style,variant:store.moEFirstClickDummy,onClick:e=>{const heathrowVariants=[{variantProp:\"moEOneVariant\",value:randomMoEColor()},{variantProp:\"moEFirstClickDummy\",value:\"Hide\"}];handleShowMoreHeathrowPanels(store,setStore,e,heathrowVariants);}});};}function createMoEVisibilityOverride(Component,num){let idLabel=`id-MHVO-${num}`;return props=>{const[store,setStore]=useStore();const style=store[`moE${word(num)}Variant`]!=\"\"?displayFlexStyle:displayNoneStyle;return /*#__PURE__*/_jsx(Component,{...props,style:style,id:idLabel});};}export function addVisibilityMoEPanelOne(Component){return createMoEVisibilityOverride(Component,1);}export function addVisibilityMoEPanelTwo(Component){return createMoEVisibilityOverride(Component,2);}export function addVisibilityMoEPanelThree(Component){return createMoEVisibilityOverride(Component,3);}export function addVisibilityMoEPanelFour(Component){return createMoEVisibilityOverride(Component,4);}export function addVisibilityMoEPanelFive(Component){return createMoEVisibilityOverride(Component,5);}function createMoENConfigurator(Component,num){return props=>{const[store,setStore]=useStore();const[go,setGo]=useState(false);const[skipInitial,setSkipInitial]=useState(true);const idLabel=`id-MHVO-data-${num}`;const topLabel=`id-MHVO-${num}`;const storePropertyName=`moE${word(num)}Variant`;StoreUpdateOnDOMChangeRegistry.save(storePropertyName,()=>{return renderedAndNow(topLabel);},changes=>{// function to apply changes\nupdateStoreFromChanges(store,setStore,changes);},(renderedValue,change)=>{// change transformation function\n/* console.log(\n                    `in transformation function, rendered = ${renderedValue}, value = ${change.value}`\n                )*/if(renderedValue==\"Closed\"){change.value=randomMoEColor();}/*console.log(\n                    `after transformation function,  value = ${change.value}`\n                )*/});/*console.log(\n            `rendering configurator ${num} propertyName ${storePropertyName} variant ${store[storePropertyName]}`\n        )*/return /*#__PURE__*/_jsx(Component,{...props,id:idLabel,variant:store[storePropertyName],\"data-rendered-variant\":store[storePropertyName]});};}export function MoEOneConfigurator(Component){return createMoENConfigurator(Component,1);}export function MoETwoConfigurator(Component){return createMoENConfigurator(Component,2);}export function MoEThreeConfigurator(Component){return createMoENConfigurator(Component,3);}export function MoEFourConfigurator(Component){return createMoENConfigurator(Component,4);}export function MoEFiveConfigurator(Component){return createMoENConfigurator(Component,5);}function createMoENConfiguratorBottom(Component,num){let nextPanelPropertyName=`moE${word(num+1)}Variant`;return props=>{const[store,setStore]=useStore();const style=store[nextPanelPropertyName]!=\"\"?displayNoneStyle:displayFlexStyle;return /*#__PURE__*/_jsx(Component,{...props,style:style,variant:ADD_MORE_MOE_VARIANT,onClick:e=>{updateHeathrowPanelVariants(store,setStore,[{variantProp:nextPanelPropertyName,value:randomMoEColor()}]);}});};}export function MoEOneConfiguratorBottom(Component){return createMoENConfiguratorBottom(Component,1);}export function MoETwoConfiguratorBottom(Component){return createMoENConfiguratorBottom(Component,2);}export function MoEThreeConfiguratorBottom(Component){return createMoENConfiguratorBottom(Component,3);}export function MoEFourConfiguratorBottom(Component){return createMoENConfiguratorBottom(Component,4);}export function MoEFiveConfiguratorBottom(Component){return createMoENConfiguratorBottom(Component,5);}/* ================================================================================\n * Section Heathrow Regular Heathrow outer & inner panels - max 10\n * ================================================================================*/setInterval(()=>{let changes=StoreUpdateOnDOMChangeRegistry.scan();//console.log(`changes from scan are ${JSON.stringify(changes)}`)\nconsole.log(`changes: ${changes}`);if(changes.length>0){console.log(`Registry applying changes ${JSON.stringify(changes)}`);StoreUpdateOnDOMChangeRegistry.latestUpdateFunction()(changes);}},500);function createHeathrowVisibilityOverride(Component,num){let idLabel=`id-HVO-${num}`;return props=>{const[store,setStore]=useStore();const style=store[`heathrow${word(num)}Variant`]!=\"\"?displayFlexStyle:displayNoneStyle;return /*#__PURE__*/_jsx(Component,{...props,style:style,id:idLabel});};}export function addVisibilityHeathroPanelOne(Component){return createHeathrowVisibilityOverride(Component,1);}export function addVisibilityHeathroPanelTwo(Component){return createHeathrowVisibilityOverride(Component,2);}export function addVisibilityHeathroPanelThree(Component){return createHeathrowVisibilityOverride(Component,3);}export function addVisibilityHeathroPanelFour(Component){return createHeathrowVisibilityOverride(Component,4);}export function addVisibilityHeathroPanelFive(Component){return createHeathrowVisibilityOverride(Component,5);}export function addVisibilityHeathroPanelSix(Component){return createHeathrowVisibilityOverride(Component,6);}export function addVisibilityHeathroPanelSeven(Component){return createHeathrowVisibilityOverride(Component,7);}export function addVisibilityHeathroPanelEight(Component){return createHeathrowVisibilityOverride(Component,8);}export function addVisibilityHeathroPanelNine(Component){return createHeathrowVisibilityOverride(Component,9);}export function addVisibilityHeathroPanelTen(Component){return createHeathrowVisibilityOverride(Component,10);}function createHeathrowConfiguratorOverride(Component,num){return props=>{const[store,setStore]=useStore();const[go,setGo]=useState(false);const[skipInitial,setSkipInitial]=useState(true);const idLabel=`id-HVO-data-${num}`;const topLabel=`id-HVO-${num}`;const storePropertyName=`heathrow${word(num)}Variant`;console.log(`storePropertyName: ${storePropertyName}`);StoreUpdateOnDOMChangeRegistry.save(storePropertyName,()=>{return renderedAndNow(topLabel);},changes=>{// function to apply changes\nupdateStoreFromChanges(store,setStore,changes);console.log(`updateStoreFromChanges: ${changes}`);},(renderedValue,change)=>{// change transformation function\n/*console.log(\n                    `in transformation function, rendered = ${renderedValue}, value = ${change.value}`\n                )*/if(renderedValue==\"Closed\"){change.value=randomStandardHeathrowColor();console.log(`renderedValue: ${renderedValue}`);}/*console.log(\n                    `after transformation function,  value = ${change.value}`\n                )*/});return /*#__PURE__*/_jsx(Component,{...props,id:idLabel,variant:store[storePropertyName],\"data-rendered-variant\":store[storePropertyName]});};}export function HeathrowOneConfigurator(Component){return createHeathrowConfiguratorOverride(Component,1);}export function HeathrowTwoConfigurator(Component){return createHeathrowConfiguratorOverride(Component,2);}export function HeathrowThreeConfigurator(Component){return createHeathrowConfiguratorOverride(Component,3);}export function HeathrowFourConfigurator(Component){return createHeathrowConfiguratorOverride(Component,4);}export function HeathrowFiveConfigurator(Component){return createHeathrowConfiguratorOverride(Component,5);}export function HeathrowSixConfigurator(Component){return createHeathrowConfiguratorOverride(Component,6);}export function HeathrowSevenConfigurator(Component){return createHeathrowConfiguratorOverride(Component,7);}export function HeathrowEightConfigurator(Component){return createHeathrowConfiguratorOverride(Component,8);}export function HeathrowNineConfigurator(Component){return createHeathrowConfiguratorOverride(Component,9);}export function HeathrowTenConfigurator(Component){return createHeathrowConfiguratorOverride(Component,10);}function createHeathrowConfiguratorBottomOverride(Component,num){let nextPanelPropertyName=`heathrow${word(num+1)}Variant`;return props=>{const[store,setStore]=useStore();const style=store[nextPanelPropertyName]!=\"\"?displayNoneStyle:displayFlexStyle;return /*#__PURE__*/_jsx(Component,{...props,style:style,variant:ADD_MORE_MOE_VARIANT,onClick:e=>{updateHeathrowPanelVariants(store,setStore,[{variantProp:nextPanelPropertyName,value:randomStandardHeathrowColor()}]);}});};}export function HeathrowOneConfiguratorBottom(Component){return createHeathrowConfiguratorBottomOverride(Component,1);}export function HeathrowTwoConfiguratorBottom(Component){return createHeathrowConfiguratorBottomOverride(Component,2);}export function HeathrowThreeConfiguratorBottom(Component){return createHeathrowConfiguratorBottomOverride(Component,3);}export function HeathrowFourConfiguratorBottom(Component){return createHeathrowConfiguratorBottomOverride(Component,4);}export function HeathrowFiveConfiguratorBottom(Component){return createHeathrowConfiguratorBottomOverride(Component,5);}export function HeathrowSixConfiguratorBottom(Component){return createHeathrowConfiguratorBottomOverride(Component,6);}export function HeathrowSevenConfiguratorBottom(Component){return createHeathrowConfiguratorBottomOverride(Component,7);}export function HeathrowEightConfiguratorBottom(Component){return createHeathrowConfiguratorBottomOverride(Component,8);}export function HeathrowNineConfiguratorBottom(Component){return createHeathrowConfiguratorBottomOverride(Component,9);}export function HeathrowTenConfiguratorBottom(Component){return createHeathrowConfiguratorBottomOverride(Component,10);}/* ====================================================================\n * Section Previously Purchased Items Section\n * ====================================================================*/export function Welcome(Component){return props=>{const[store,setStore]=useStore();const[go,setGo]=useState(true);//const [runInitial, setRunInitial] = useState(true)\nuseEffect(()=>{// get configuration information from the URL we were invoked with\nconst newState=getConfigurationInfo(store);//console.error(\"WELCOME COMPONENT=====================\")\n// check if user returning to the page from checkout\nif(window.performance&&window.performance.navigation.type==window.performance.navigation.TYPE_BACK_FORWARD){//console.log(`browser back button clicked`)\n// init bonus panel\nconst savedState=JSON.parse(localStorage.getItem(\"mos015tate\"));if(savedState){setStore({...store,...savedState,checkoutButtonVariant:CHECKOUT_BUTTON_DEFAULT,termsConditionsChecked:false});}else{updateStore(newState,store,setStore);}localStorage.removeItem(\"mos015tate\");}else{// update the store immediately with configuration data\nupdateStore(newState,store,setStore)// init bonus panel\n;// update the store with prepaid data asynchronously\ngetAndApplyPrepaidCounts(setStore).then(d=>{}).catch(e=>{});}setGo(false);},[go]);return /*#__PURE__*/_jsx(Component,{...props});};}let ppInfoFetchState=0;function getConfigurationInfo(store){const queryString=window.location.search;const urlParams=new URLSearchParams(queryString);//---- Set section sort order properties\n// sort order\nconst sortOrderDef=[{qs:\"sMoe\",o:0,sec:\"sectionMoeSortOrder\"},{qs:\"sHeathrow\",o:1,sec:\"sectionHeathrowSortOrder\"},{qs:\"sHptek\",o:2,sec:\"sectionHptekSortOrder\"},{qs:\"sLuxIntro\",o:3,sec:\"sectionsLuxIntroSortOrder\"},{qs:\"sLuxL\",o:4,sec:\"sectionLuxLSortOrder\"},{qs:\"sLuxC\",o:5,sec:\"sectionLuxCSortOrder\"},{qs:\"sUsba\",o:6,sec:\"sectionUsbaSortOrder\"},{qs:\"sExtreme\",o:7,sec:\"sectionExtremeSortOrder\"},{qs:\"sJumpers\",o:8,sec:\"sectionJumpersSortOrder\"},{qs:\"sPersianRed\",o:9,sec:\"sectionPersianRedSortOrder\"},{qs:\"sTrees\",o:0,sec:\"sectionTreesSortOrder\"}];// set the sort orders in the store by the query string value or the default\nlet sorts={};sortOrderDef.forEach(value=>{let paramValue=urlParams.get(value.qs);sorts[value.sec]=paramValue?Number(paramValue):value.o;});//---- Set variant preselects\nconst preSelectDef=[{v:\"heathrowOneVariant\",sortsec:\"sectionHeathrowSortOrder\",q:\"vHeathrow\",closed:\"Closed\"},{v:\"moEFirstClickDummy\",sortsec:\"sectionMoeSortOrder\",q:\"vMoe\",closed:\"Closed\"},{v:\"moEOneVariant\",sortsec:\"sectionMoeSortOrder\",q:\"vMoe\",closed:\"Closed\"},{v:\"luxLightningOneVariant\",sortsec:\"sectionLuxLSortOrder\",q:\"vLuxL\",closed:\"Closed\"},{v:\"luxUsbcOneVariant\",sortsec:\"sectionLuxCSortOrder\",q:\"vLuxU\",closed:\"Closed\"},{v:\"extremeVariant\",sortsec:\"sectionExtremeSortOrder\",q:\"vExtreme\",closed:\"\"}];let preSelects={};preSelectDef.forEach(item=>{preSelects[item.v]=(item=>{// if the section is closed (sort order is 0) then return the 'closed' variant value\nif(sorts[item.sortsec]==0){return item.closed;}// if the url param is set then return the url param value\nlet paramValue=urlParams.get(item.q);if(paramValue&&paramValue!==\"\"){return paramValue;}// otherwise return the value currently in the store\nreturn store[item.v];})(item);});//-----set moEFirstClickDummy variant-------\n//---- Set item quantity presets in the checkout property\nlet presetQuantityDef=[// v is property name in checkout, q is query string parameter name, sortsec is sort section name\n{v:\"luxAdapter4Pack\",q:\"cAdapters\",sortsec:\"sectionUsbaSortOrder\"},{v:\"persianRedCables\",q:\"cPR\",sortsec:\"sectionPersianRedSortOrder\"},{v:\"jumpers\",q:\"cJC\",sortsec:\"sectionUsbaSortOrder\"},{v:\"kit\",q:\"cHPTEK\",sortsec:\"sectionHptekSortOrder\"}];let presetQuantities={};presetQuantityDef.forEach(item=>{presetQuantities[item.v]=(item=>{// if the section is closed (sort order is 0) then return 0\nif(sorts[item.sortsec]==0){return 0;}// if the url param is set then return the url param value\nlet paramValue=urlParams.get(item.q);if(paramValue&&paramValue!==\"\"){return Number(paramValue);}// otherwise return the value currently in the store\nreturn store.checkout[item.v];})(item);/*console.log(\n            `presetQuantityDef set ${item.v} = ${presetQuantities[item.v]}`\n        )*/});// jumpers cable, adapters and hptek counts\nreturn{...store,...sorts,...preSelects,checkout:presetQuantities,token:urlParams.get(\"token\")?String(urlParams.get(\"token\")):\"\",reg_token:urlParams.get(\"reg_token\")?String(urlParams.get(\"reg_token\")):\"\",termsConditionsChecked:false,treesSortOrder:sorts.sectionTreesSortOrder,showSortOrderSection:true};}export function addVisibilityPPText(Component){return createVisibilityOverride(store=>noPPItemsPresent(store),Component);}/*\n * Previously Purchased Individual Items Visibility\n * 'Extreme Air Life Hello Jumpers' -split ' ' |% @\"\n */function createVisibilityOverride(invisibilityFunction,Component){return props=>{const[store,setStore]=useStore();const style=invisibilityFunction(store)?displayNoneStyle:previouslyOrderItemStyle;return /*#__PURE__*/_jsx(Component,{...props,style:style});};}export function addVisibilityExtremePanel(Component){return createVisibilityOverride(store=>store.ppExtreme<1,Component);}export function addVisibilityAirPanel(Component){return createVisibilityOverride(store=>store.ppAir<1,Component);}export function addVisibilityLifePanel(Component){return createVisibilityOverride(store=>store.ppLife<1,Component);}export function addVisibilityHelloPanel(Component){return createVisibilityOverride(store=>store.ppHello<1,Component);}export function addVisibilityHelloGreenPanel(Component){return createVisibilityOverride(store=>store.ppHelloGreen<1,Component);}export function addVisibilityJumpersPanel(Component){return createVisibilityOverride(store=>store.ppJumpers<1,Component);}export function addVisibilityExtremeGreenPanel(Component){return createVisibilityOverride(store=>store.ppExtremeGreen<1,Component);}export function addVisibilityLifeGreenPanel(Component){return createVisibilityOverride(store=>store.ppLifeGreen<1,Component);}export function addVisibilityAirGreenPanel(Component){return createVisibilityOverride(store=>store.ppAirGreen<1,Component);}/////////\nexport function addVisibilityAirLimitedPanel(Component){return createVisibilityOverride(store=>store.ppAirLimited<1,Component);}export function addVisibilityAirBlackPanel(Component){return createVisibilityOverride(store=>store.ppAirBlack<1,Component);}export function addVisibilityAirSetPanel(Component){return createVisibilityOverride(store=>store.ppAirSet<1,Component);}export function addVisibilityLuxCCPanel(Component){return createVisibilityOverride(store=>store.ppLuxCC<1,Component);}export function addVisibilityLuxCLPanel(Component){return createVisibilityOverride(store=>store.ppLuxCL<1,Component);}export function addVisibilityLuxPRPanel(Component){return createVisibilityOverride(store=>store.ppLuxPR<1,Component);}export function addVisibilityAdapterPanel(Component){return createVisibilityOverride(store=>store.ppAdapter<1,Component);}export function addVisibilityECarryPanel(Component){return createVisibilityOverride(store=>store.ppECarry<1,Component);}export function addVisibilityCoverPanel(Component){return createVisibilityOverride(store=>store.ppCover<1,Component);}export function addVisibilityLifeLimitedPanel(Component){return createVisibilityOverride(store=>store.ppLifeLimited<1,Component);}export function addVisibilityExtremeLimitedPanel(Component){return createVisibilityOverride(store=>store.ppExtremeLimited<1,Component);}export function addVisibilityHelloLimitedPanel(Component){return createVisibilityOverride(store=>store.ppHelloLimited<1,Component);}export function addVisibilityHeathrowShippingText(Component){return props=>{const[store,setStore]=useStore();let style=store.ppECarry>0?{...previouslyOrderItemStyle,display:\"block\"}:displayNoneStyle;return /*#__PURE__*/_jsx(Component,{...props,style:style});};//return createVisibilityOverride((store) => store.ppECarry < 1, Component)\n}export function addVisibilityFreeShipping(Component){return createVisibilityOverride(store=>store.bonusTotalOrderAmount<100,Component);}export function addVisibilityHeathrowShipping(Component){return props=>{const[store,setStore]=useStore();const style=store.bonusTotalOrderAmount<100&&store.ppECarry>0?previouslyOrderItemStyle:displayNoneStyle;return /*#__PURE__*/_jsx(Component,{...props,style:style});};}export function addVisibilityNonHeathrowShipping(Component){return props=>{const[store,setStore]=useStore();const style=store.bonusTotalOrderAmount<100&&store.ppECarry===0?{...previouslyOrderItemStyle,display:\"block\"}:displayNoneStyle;return /*#__PURE__*/_jsx(Component,{...props,style:style});};}/*\n * Previously Purchased Individual Items Quantity\n *  'Extreme Air Life Hello Jumpers' -split ' ' |% @\"\n */function createQuantityOverride(Component,quantityProperty){return props=>{const[store,setStore]=useStore();const qty=store[quantityProperty]>0?store[quantityProperty].toString():\"0\";return /*#__PURE__*/_jsx(Component,{...props,text:qty});};}export function ExtremePanelQty(Component){return createQuantityOverride(Component,\"ppExtreme\");}export function ExtremeGreenPanelQty(Component){return createQuantityOverride(Component,\"ppExtremeGreen\");}export function AirPanelQty(Component){return createQuantityOverride(Component,\"ppAir\");}export function AirGreenPanelQty(Component){return createQuantityOverride(Component,\"ppAirGreen\");}export function LifePanelQty(Component){return createQuantityOverride(Component,\"ppLife\");}export function LifeGreenPanelQty(Component){return createQuantityOverride(Component,\"ppLifeGreen\");}export function HelloPanelQty(Component){return createQuantityOverride(Component,\"ppHello\");}export function HelloGreenPanelQty(Component){return createQuantityOverride(Component,\"ppHelloGreen\");}export function JumpersPanelQty(Component){return createQuantityOverride(Component,\"ppJumpers\");}export function LuxCCPanelQty(Component){return createQuantityOverride(Component,\"ppLuxCC\");}export function LuxCLPanelQty(Component){return createQuantityOverride(Component,\"ppLuxCL\");}export function LuxPRPanelQty(Component){return createQuantityOverride(Component,\"ppLuxPR\");}export function AdaptersPanelQty(Component){return createQuantityOverride(Component,\"ppAdapter\");}export function ECarryPanelQty(Component){return createQuantityOverride(Component,\"ppECarry\");}export function CoverPanelQty(Component){return createQuantityOverride(Component,\"ppCover\");}////////////////////\nexport function AirLimitedPanelQty(Component){return createQuantityOverride(Component,\"ppAirLimited\");}export function AirBlackPanelQty(Component){return createQuantityOverride(Component,\"ppAirBlack\");}export function AirSetPanelQty(Component){return createQuantityOverride(Component,\"ppAirSet\");}export function LifeLimitedPanelQty(Component){return createQuantityOverride(Component,\"ppLifeLimited\");}export function ExtremeLimitedPanelQty(Component){return createQuantityOverride(Component,\"ppExtremeLimited\");}export function HelloLimitedPanelQty(Component){return createQuantityOverride(Component,\"ppHelloLimited\");}// return sum of the non-limited edition prepaid item quantities\nconst ppItemQuantity=store=>{return ppAll.reduce((sum,item)=>item.isLimited?0:store[item.label],0);};// return sum of the limited edition prepaid item quantities\nconst ppSpecialEventItemQuantity=store=>{return ppAll.reduce((sum,item)=>item.isLimited?store[item.label]:0,0);};function noPPItemsPresent(store){console.error(\"======================= HIT RIDICULOUS FUNCTION noPPItemsPresent\");return;store.ppExtremeNew===0&&store.ppHelloNew===0&&store.ppJumpersNew===0&&store.ppLifeNew===0&&store.ppToken===\"\"?true:false;}export function addVisibilityPreOrderHdr(Component){return props=>{const[store,setStore]=useStore();const ppItemsQuantity=ppItemQuantity(store);const style=ppItemsQuantity<1?displayInitialStyle:displayNoneStyle;return /*#__PURE__*/_jsx(Component,{...props,style:style});};}export function addVisibilitySpecialEventHdr(Component){return props=>{const[store,setStore]=useStore();const ppItemsQuantity=ppSpecialEventItemQuantity(store);const style=ppItemsQuantity>0?displayInitialStyle:displayNoneStyle;return /*#__PURE__*/_jsx(Component,{...props,style:style});};}export function addVisibilityPPItemsHdr(Component){return props=>{const[store,setStore]=useStore();const ppItemsQuantity=ppItemQuantity(store);const style=ppItemsQuantity>0?displayInitialStyle:displayNoneStyle;return /*#__PURE__*/_jsx(Component,{...props,style:style});};}function word(num){return\"One Two Three Four Five Six Seven Eight Nine Ten\".split(\" \")[num-1];}/* ====================================================================\n * Section Lux USB-C Cable Panel\n * ====================================================================*/function createLuxUsbcVisibilityOverride(Component,num){return props=>{const[store,setStore]=useStore();const style=store[`luxUsbc${word(num)}Variant`]!=\"\"?displayFlexStyle:displayNoneStyle;return /*#__PURE__*/_jsx(Component,{...props,style:style});};}export function addVisibilityLuxUsbcPanelOne(Component){return createLuxUsbcVisibilityOverride(Component,1);}export function addVisibilityLuxUsbcPanelTwo(Component){return createLuxUsbcVisibilityOverride(Component,2);}export function addVisibilityLuxUsbcPanelThree(Component){return createLuxUsbcVisibilityOverride(Component,3);}export function addVisibilityLuxUsbcPanelFour(Component){return createLuxUsbcVisibilityOverride(Component,4);}export function addVisibilityLuxUsbcPanelFive(Component){return createLuxUsbcVisibilityOverride(Component,5);}function createLuxUsbcNConfigurator(Component,num){const const1=`Lux USBC #${num}`;console.log(`const1:${const1}`);const propertyName=`luxUsbc${word(num)}Variant`;return props=>{const[store,setStore]=useStore();const[go,setGo]=useState(false);const[skipInitial,setSkipInitial]=useState(true);useEffect(()=>{if(skipInitial){setSkipInitial(false);}if(!skipInitial){// Framer variant updates are too slow - give it time\nsetTimeout(()=>{manageVariantChangesInLuxUsbcPanels(store,setStore,const1,propertyName);},VARIANT_UPDATE_DELAY);}},[go]);return /*#__PURE__*/_jsx(Component,{...props,variant:store[propertyName],onClick:e=>{setGo(!go);}});};}export function LuxUsbcOneConfigurator(Component){return createLuxUsbcNConfigurator(Component,1);}export function LuxUsbcTwoConfigurator(Component){return createLuxUsbcNConfigurator(Component,2);}export function LuxUsbcThreeConfigurator(Component){return createLuxUsbcNConfigurator(Component,3);}export function LuxUsbcFourConfigurator(Component){return createLuxUsbcNConfigurator(Component,4);}export function LuxUsbcFiveConfigurator(Component){return createLuxUsbcNConfigurator(Component,5);}function createLuxUsbcNConfiguratorBottom(Component,num){const propertyName=`luxUsbc${word(num+1)}Variant`;return props=>{const[store,setStore]=useStore();const style=store[propertyName]!=\"\"?displayNoneStyle:displayFlexStyle;return /*#__PURE__*/_jsx(Component,{...props,style:style,onClick:e=>{const luxVariants=[{variantProp:propertyName,value:randomLuxUsbcVariant()}];updateLuxUsbcVariants(store,setStore,luxVariants);}});};}export function LuxUsbcOneConfiguratorBottom(Component){return createLuxUsbcNConfiguratorBottom(Component,1);}export function LuxUsbcTwoConfiguratorBottom(Component){return createLuxUsbcNConfiguratorBottom(Component,2);}export function LuxUsbcThreeConfiguratorBottom(Component){return createLuxUsbcNConfiguratorBottom(Component,3);}export function LuxUsbcFourConfiguratorBottom(Component){return createLuxUsbcNConfiguratorBottom(Component,4);}export function LuxUsbcFiveConfiguratorBottom(Component){return createLuxUsbcNConfiguratorBottom(Component,5);}/* ====================================================================\n * Section Lux Lightning Panels\n * ====================================================================*/function createLuxVisibilityOverride(Component,num){return props=>{const[store,setStore]=useStore();const style=store[`luxLightning${word(num)}Variant`]!=\"\"?displayFlexStyle:displayNoneStyle;return /*#__PURE__*/_jsx(Component,{...props,style:style});};}export function addVisibilityLuxLightningPanelOne(Component){return createLuxVisibilityOverride(Component,1);}export function addVisibilityLuxLightningPanelTwo(Component){return createLuxVisibilityOverride(Component,2);}export function addVisibilityLuxLightningPanelThree(Component){return createLuxVisibilityOverride(Component,3);}export function addVisibilityLuxLightningPanelFour(Component){return createLuxVisibilityOverride(Component,4);}export function addVisibilityLuxLightningPanelFive(Component){return createLuxVisibilityOverride(Component,5);}function createLuxConfiguratorOverride(Component,num){return props=>{const[store,setStore]=useStore();const[go,setGo]=useState(false);const[skipInitial,setSkipInitial]=useState(true);useEffect(()=>{if(skipInitial){setSkipInitial(false);}if(!skipInitial){// Framer variant updates are too slow - give it time\nsetTimeout(()=>{manageVariantChangesInLuxLightningPanels(store,setStore,`Lux L #${num}`,`luxLightning${word(num)}Variant`);},VARIANT_UPDATE_DELAY);}},[go]);return /*#__PURE__*/_jsx(Component,{...props,variant:store[`luxLightning${word(num)}Variant`],onClick:e=>{setGo(!go);}});};}export function LuxLightningOneConfigurator(Component){return createLuxConfiguratorOverride(Component,1);}export function LuxLightningTwoConfigurator(Component){return createLuxConfiguratorOverride(Component,2);}export function LuxLightningThreeConfigurator(Component){return createLuxConfiguratorOverride(Component,3);}export function LuxLightningFourConfigurator(Component){return createLuxConfiguratorOverride(Component,4);}export function LuxLightningFiveConfigurator(Component){return createLuxConfiguratorOverride(Component,5);}function createLuxConfiguratorBottomOverride(Component,num){return props=>{const[store,setStore]=useStore();let style={};if(num===1){style=store[`luxLightning${word(num)}Variant`]===\"Do you need Lightning\"||store[`luxLightning${word(num+1)}Variant`]!=\"\"?displayNoneStyle:displayFlexStyle;}else{style=store[`luxLightning${word(num+1)}Variant`]!=\"\"?displayNoneStyle:displayFlexStyle;}return /*#__PURE__*/_jsx(Component,{...props,style:style,onClick:e=>{const luxVariants=[{variantProp:`luxLightning${word(num+1)}Variant`,value:randomLuxLightningVariant()}];updateLuxLighningVariants(store,setStore,luxVariants);}});};}export function LuxLightningOneConfiguratorBottom(Component){return createLuxConfiguratorBottomOverride(Component,1);}export function LuxLightningTwoConfiguratorBottom(Component){return createLuxConfiguratorBottomOverride(Component,2);}export function LuxLightningThreeConfiguratorBottom(Component){return createLuxConfiguratorBottomOverride(Component,3);}export function LuxLightningFourConfiguratorBottom(Component){return createLuxConfiguratorBottomOverride(Component,4);}export function LuxLightningFiveConfiguratorBottom(Component){return createLuxConfiguratorBottomOverride(Component,5);}/* ====================================================================\n * Section Lux USB-A Adapters Panel\n * ====================================================================*/export function LuxAdaptersIncrement(Component){return props=>{const[store,setStore]=useStore();const[go,setGo]=useState(false);return /*#__PURE__*/_jsx(Component,{...props,onClick:e=>{setTimeout(()=>{doQuantIncrementDecrement(\"luxAdapter4Pack\",true,store,setStore);},VARIANT_UPDATE_DELAY);}});};}export function LuxAdaptersDecrement(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,onClick:e=>{setTimeout(()=>{doQuantIncrementDecrement(\"luxAdapter4Pack\",false,store,setStore);},VARIANT_UPDATE_DELAY);}});};}export function LuxAdaptersCounter(Component){return props=>{const[store,setStore]=useStore();console.log(JSON.stringify(store));return /*#__PURE__*/_jsx(Component,{...props,text:store.luxAdapter4Pack.toString()});};}export function LuxAdaptersCounterBox(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,style:store.a4padapterCounterStyle});};}export function LuxAdaptersContainer(Component){return props=>{const[store,setStore]=useStore();let style={...store.a4padapterContainerStyle,display:\"none\",order:store.sectionUsbaSortOrder};if(store.sectionUsbaSortOrder>0){style={...style,display:\"flex\"};}return /*#__PURE__*/_jsx(Component,{...props,id:\"lux-adapters-container\",style:style});};}/* ====================================================================\n * Trees Panel\n * ====================================================================*/export function DoubleTheTreesContainer(Component){return props=>{const[store,setStore]=useStore();let style={display:\"none\",order:store.sectionTreesSortOrder};if(store.sectionTreesSortOrder>0){style={...style,display:\"flex\"};}return /*#__PURE__*/_jsx(Component,{...props,style:style});};}/* ====================================================================\n * Travel Kit Panel\n * ====================================================================*/export function TravelKitIncrement(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,onClick:e=>{setTimeout(()=>{doQuantIncrementDecrement(\"kit\",true,store,setStore);},VARIANT_UPDATE_DELAY);}});};}export function TravelKitDecrement(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,onClick:e=>{setTimeout(()=>{doQuantIncrementDecrement(\"kit\",false,store,setStore);},VARIANT_UPDATE_DELAY);}});};}export function TravelKitCounter(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,text:store.travelKitCount.toString()});};}export function TravelKitCounterBox(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,style:store.travelKitCounterStyle});};}export function TravelKitContainer(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,id:\"travel-kit-container\",style:store.travelKitContainerStyle});};}/* ====================================================================\n * Section LuxV2 Panel\n * ====================================================================*/export function LuxV2Container(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,id:\"Panel Lux V2\",style:store.luxV2ContainerStyle,variant:store.luxV2Variants,onClick:e=>{setTimeout(()=>{manageVariantChangesInLuxV2Panel(store,setStore,\"LuxV2\",\"luxV2Variants\");},VARIANT_UPDATE_DELAY);}});};}export function LuxV2Configurator(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,variant:store.luxV2Variants,onClick:e=>{setTimeout(()=>{manageVariantChangesInLuxV2Panel(store,setStore,\"LuxV2\",\"luxV2Variants\");},VARIANT_UPDATE_DELAY);}});};}/* ====================================================================\n * Section Extreme Panel\n * ====================================================================*/export function ExtremeContainer(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,id:\"panel-extreme\",style:store.extremeContainerStyle});};}export function ExtremeConfigurator(Component){return props=>{const[store,setStore]=useStore();const[go,setGo]=useState(false);const[skipInitial,setSkipInitial]=useState(true);useEffect(()=>{if(skipInitial){setSkipInitial(false);}if(!skipInitial){// Framer variant updates are too slow - give it time\nsetTimeout(()=>{manageVariantChangesInExtremePanel(store,setStore,\"Extreme Chargers\",\"extremeVariant\");},VARIANT_UPDATE_DELAY);}},[go]);return /*#__PURE__*/_jsx(Component,{...props,variant:store.extremeVariant,onClick:e=>{setGo(!go);}});};}/*\n *\n * =====================================================\n * Section Jumper\n * =============== Jumper Cables =================================\n */export function JumperCablesIncrement(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,onClick:e=>{doQuantIncrementDecrement(\"jumpers\",true,store,setStore);}});};}export function JumperCablesDecrement(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,onClick:e=>{doQuantIncrementDecrement(\"jumpers\",false,store,setStore);}});};}export function JumperCablesCounter(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,text:store.jumperCablesCount.toString()});};}export function JumperCablesCounterBox(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,style:store.jumperCableCounterStyle});};}export function JumperCablesContainer(Component){return props=>{const[store,setStore]=useStore();let style={...store.jumperCableContainerStyle,display:\"none\",order:store.sectionJumpersSortOrder};if(store.sectionJumpersSortOrder>0){style={...style,display:\"flex\"};}return /*#__PURE__*/_jsx(Component,{...props,id:\"jumper-cables-container\",style:style});};}/*\n *\n * =====================================================\n * Section Persian Red\n * =============== Persian Red Cables =================================\n */export function LuxPersianRedIncrement(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,onClick:e=>{doQuantIncrementDecrement(\"persianRedCables\",true,store,setStore);}});};}export function LuxPersianRedDecrement(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,onClick:e=>{doQuantIncrementDecrement(\"persianRedCables\",false,store,setStore);}});};}export function LuxPersianRedCounter(Component){return props=>{var _store_persianRedCables;const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,text:(_store_persianRedCables=store.persianRedCables)===null||_store_persianRedCables===void 0?void 0:_store_persianRedCables.toString()});};}export function LuxPersianRedCounterBox(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,style:store.persianRedCounterStyle});};}export function LuxPersianRedContainer(Component){return props=>{const[store,setStore]=useStore();let style={...store.persianRedContainerStyle,display:\"none\",order:store.sectionPersianRedSortOrder};if(store.sectionPersianRedSortOrder>0){style={...style,display:\"flex\"};}return /*#__PURE__*/_jsx(Component,{...props,id:\"persian-red-container\",style:style});};}/* ====================================================================\n * Terms & Conditions\n * ====================================================================*/export function TaCToggle(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,id:\"tac-cb\",onClick:e=>{manageTaCUpdates(store,setStore);}});};}/* ====================================================================\n * Terms & Conditions Read\n * ====================================================================*/export function TandC(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,onClick:e=>{const clicked=!store.tandcClicked;setTimeout(()=>{const tandc=document.getElementById(\"overlay\").textContent;setStore({...store,tandcText:tandc,tandcClicked:clicked});},1e3);}});};}// Store prepaidFetchedCounts to avoid asking for it repeatedly\nlet prepaidFetchedCounts=null;function getPrepaidCounts(token){if(prepaidFetchedCounts){return Promise.resolve(prepaidFetchedCounts);}return fetch(ENDPOINT_PREPAID,{method:\"POST\",body:JSON.stringify({token:token}),headers:{\"Content-Type\":\"application/json; charset=UTF-8\",Accept:\"*/*\"}}).then(response=>{if(!response.ok){throw new Error(`HTTP error! status: ${response.status}`);}if(!prepaidFetchedCounts){prepaidFetchedCounts=response.json();}return prepaidFetchedCounts// Parse the JSON in the response\n;}).catch(error=>{console.error(\"Error fetching data: \",error);return null// Return null or a default value in case of error\n;});}function getAndApplyPrepaidCounts(setStore){const queryString=window.location.search;const urlParams=new URLSearchParams(queryString);let token=urlParams.get(\"token\");//token = \"mub5-k6w8-a5ce-b9rn\"\n//console.log(\"getAndApplyPrepaidCounts -----------------\")\nif(!token){return Promise.resolve({});}return getPrepaidCounts(token).then(data=>{if(data&&data.status&&data.status==\"valid\"&&data.entitlements&&Object.keys(data.entitlements).length>0){/*console.log(\n                    `getAndApplyPrepaidCounts applying ${JSON.stringify(\n                        data.entitlements\n                    )}`\n                )*/setStore(data.entitlements);}}).catch(e=>{console.error(e);});}/* ====================================================================\n * Checkout Button\n * ====================================================================*/export function CheckoutButton(Component){return props=>{const[store,setStore]=useStore();const[data,setData]=useState({});const[go,setGo]=useState(false);const[skipInitial,setSkipInitial]=useState(true);function handleCheckoutUrl(){if(skipInitial){setSkipInitial(false);}if(!skipInitial){SaveToLocalStorage(store);let userChoices=getUserChoices(store);//console.log(\n//    `JSON.stringify({ ...userChoices }):${JSON.stringify({\n//        ...userChoices,\n//    })}`\n//)\nconst payload={type:\"specialEvent\",token:store.token,reg_token:store.reg_token,userChoices:userChoices,tandcText:store.tandcClicked?store.tandcText:\"\"};fetch(ENDPOINT_CHECKOUT,{method:\"POST\",body:JSON.stringify({...payload}),headers:{\"Content-type\":\"application/json; charset=UTF-8\",Accept:\"*/*\"}}).then(response=>{if(!response.ok){console.log(response);}return response.json();}).then(result=>{if(result&&result.webUrl){/*\n                            setTimeout(() => {\n                                const newStore = JSON.parse(\n                                    JSON.stringify(store)\n                                )\n                                newStore.termsConditionsChecked = false\n                                newStore.checkoutButtonVariant =\n                                    CHECKOUT_BUTTON_DEFAULT\n                                updateStore(newStore, store, setStore)\n                            }, 1500)\n                            */window.location.href=result.webUrl;}else{console.log(`error`);}}).catch(err=>{console.error(`err`);});}}useEffect(()=>{handleCheckoutUrl();},[go]);function handleGo(){if(store.checkoutButtonVariant===CHECKOUT_BUTTON_ENABLED)setGo(!go);}return /*#__PURE__*/_jsx(Component,{...props,variant:store.checkoutButtonVariant,onClick:e=>{handleGo();}});};}/* ====================================================================\n * Bonus Panel\n * ====================================================================*//* -------------------------------------------------- NEWNEWNEWNEW\n * Section Bonus\n */export function addVisibilityBonusDetail(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,id:\"bonus-detail\",style:store.bonusDetailStyle});};}export function BonusDetailToggleButton(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,id:\"bonus-detail-toggle-btn\",onClick:e=>{manageToggleClicksBonusDetail(store,setStore);}});};}export function addVisibilityIconSection(Component){return props=>{const[store,setStore]=useStore();const style=store.bonusTotalOrderAmount>0?bonusItemStyle:displayNoneStyle;return /*#__PURE__*/_jsx(Component,{...props,style:style});};}export function updateBonusTotalOrderAmount(Component){return props=>{const[store,setStore]=useStore();const text=store.bonusTotalOrderAmount>0?store.bonusTotalOrderAmount:0;return /*#__PURE__*/_jsx(Component,{...props,text:text.toString()});};}export function addVisibilityBonusGifts(Component){return props=>{const[store,setStore]=useStore();const style=store.bonusGiftCount>0?bonusItemStyle:displayNoneStyle;return /*#__PURE__*/_jsx(Component,{...props,style:style});};}export function updateBonusGiftsQty(Component){return props=>{const[store,setStore]=useStore();const text=store.bonusGiftCount>0?store.bonusGiftCount:0;return /*#__PURE__*/_jsx(Component,{...props,text:text.toString()});};}export function addVisibilityBonusSavings(Component){return props=>{const[store,setStore]=useStore();const style=store.bonusSavings>0?bonusItemStyle:displayNoneStyle;return /*#__PURE__*/_jsx(Component,{...props,style:style});};}export function updateBonusSavingsAmount(Component){return props=>{const[store,setStore]=useStore();const text=store.bonusSavings>0?store.bonusSavings:0;return /*#__PURE__*/_jsx(Component,{...props,text:text.toString()});};}export function addVisibilityBonusTrees(Component){return props=>{const[store,setStore]=useStore();const style=store.bonusTrees>0?bonusItemStyle:displayNoneStyle;return /*#__PURE__*/_jsx(Component,{...props,style:style});};}export function updateBonusTreesQty(Component){return props=>{const[store,setStore]=useStore();const text=store.bonusTrees>0?store.bonusTrees:0;return /*#__PURE__*/_jsx(Component,{...props,text:text.toString()});};}export function updateTotalSpentQty(Component){return props=>{const[store,setStore]=useStore();const text=store.bonusTotalOrderAmount>0?store.bonusTotalOrderAmount:0;return /*#__PURE__*/_jsx(Component,{...props,text:text.toString()});};}export function addVisibilityBonusUmbrella(Component){return props=>{const[store,setStore]=useStore();const style=store.bonusTotalOrderAmount>999?bonusItemStyle:displayNoneStyle;return /*#__PURE__*/_jsx(Component,{...props,style:style});};}function createBonusItemVisibilityOverride(Component,num){return props=>{const[store,setStore]=useStore();const style=store[`bonusItem${word(num)}Qty`]>0?bonusItemStyle:displayNoneStyle;return /*#__PURE__*/_jsx(Component,{...props,style:style});};}export function addVisibilityBonusItemOne(Component){return createBonusItemVisibilityOverride(Component,1);}export function addVisibilityBonusItemTwo(Component){return createBonusItemVisibilityOverride(Component,2);}export function addVisibilityBonusItemThree(Component){return createBonusItemVisibilityOverride(Component,3);}export function addVisibilityBonusItemFour(Component){return createBonusItemVisibilityOverride(Component,4);}export function addVisibilityBonusItemFive(Component){return createBonusItemVisibilityOverride(Component,5);}export function addVisibilityBonusItemSix(Component){return createBonusItemVisibilityOverride(Component,6);}export function addVisibilityBonusItemSeven(Component){return createBonusItemVisibilityOverride(Component,7);}export function addVisibilityBonusItemEight(Component){return createBonusItemVisibilityOverride(Component,8);}export function addVisibilityBonusItemNine(Component){return createBonusItemVisibilityOverride(Component,9);}export function addVisibilityBonusItemTen(Component){return createBonusItemVisibilityOverride(Component,10);}function createBonusItemQuantityOverride(Component,num){return props=>{const[store,setStore]=useStore();const text=store[`bonusItem${word(num)}Qty`]>0?store[`bonusItem${word(num)}Qty`]:0;return /*#__PURE__*/_jsx(Component,{...props,text:text.toString()});};}export function updateBonusItemOneQty(Component){return createBonusItemQuantityOverride(Component,1);}export function updateBonusItemTwoQty(Component){return createBonusItemQuantityOverride(Component,2);}export function updateBonusItemThreeQty(Component){return createBonusItemQuantityOverride(Component,3);}export function updateBonusItemFourQty(Component){return createBonusItemQuantityOverride(Component,4);}export function updateBonusItemFiveQty(Component){return createBonusItemQuantityOverride(Component,5);}export function updateBonusItemSixQty(Component){return createBonusItemQuantityOverride(Component,6);}export function updateBonusItemSevenQty(Component){return createBonusItemQuantityOverride(Component,7);}export function updateBonusItemEightQty(Component){return createBonusItemQuantityOverride(Component,8);}export function updateBonusItemNineQty(Component){return createBonusItemQuantityOverride(Component,9);}export function updateBonusItemTenQty(Component){return createBonusItemQuantityOverride(Component,10);}function createBonusItemTextOverride(Component,num){const property=`bonusItem${word(num)}Text`;return props=>{const[store,setStore]=useStore();const text=` ${store[property]}`;return /*#__PURE__*/_jsx(Component,{...props,text:text});};}export function updateBonusItemOneText(Component){return createBonusItemTextOverride(Component,1);}export function updateBonusItemTwoText(Component){return createBonusItemTextOverride(Component,2);}export function updateBonusItemThreeText(Component){return createBonusItemTextOverride(Component,3);}export function updateBonusItemFourText(Component){return createBonusItemTextOverride(Component,4);}export function updateBonusItemFiveText(Component){return createBonusItemTextOverride(Component,5);}export function updateBonusItemSixText(Component){return createBonusItemTextOverride(Component,6);}export function updateBonusItemSevenText(Component){return createBonusItemTextOverride(Component,7);}export function updateBonusItemEightText(Component){return createBonusItemTextOverride(Component,8);}export function updateBonusItemNineText(Component){return createBonusItemTextOverride(Component,9);}export function updateBonusItemTenText(Component){return createBonusItemTextOverride(Component,10);}/*\n *//* ====================================================================\n * Private support functions\n * ====================================================================*/function getUserChoices(store){let result={//moEHeathrowVariants: [],\n//heathrowVariants: [],\n//luxUsbcVariants: [],\n//luxLightningVariants: [],\nluxAdapter4Pack:store.checkout.luxAdapter4Pack,persianRedCables:store.checkout.persianRedCables,//kit: store.checkout.kit,\nextremeVariants:[store.extremeVariant],luxV2Variants:[store.luxV2Variants]};// For those panels that have multiple variants, construct arrays of the variant values while\n// omitting any from a list of values that indicate the panel is closed\n// Load store my-own-express heathrow variants into result moEHeathrowVariants array\nresult.moEHeathrowVariants=[].filter(v=>![\"\",\"Add more MoE suitcases\",\"None\"].includes(v));// Load store heathrow variants into result heathrowVariants array\nresult.heathrowVariants=[].filter(v=>![\"\",\"Closed\",\"None\"].includes(v));// Load store usbc variants into result luxUsbcVariants array\nresult.luxUsbcVariants=[].filter(v=>![\"\",\"Closed\",\"None\"].includes(v));// Load store lightning variants into result heathrowVariants array\nresult.luxLightningVariants=[].filter(v=>![\"\",\"Closed\",\"Do you need Lightning\",\"None\"].includes(v));//console.log(`user choices linking: ${JSON.stringify(result)}`)\nreturn result;}function manageTaCUpdates(store,setStore){const newStoreCopy=JSON.parse(JSON.stringify(store));const chbox=!store.termsConditionsChecked;const checkoutVariant=chbox?CHECKOUT_BUTTON_ENABLED:CHECKOUT_BUTTON_DEFAULT;newStoreCopy[\"checkoutButtonVariant\"]=checkoutVariant;newStoreCopy[\"termsConditionsChecked\"]=chbox;updateStore(newStoreCopy,store,setStore);}function manageToggleClicksBonusDetail(store,setStore){const newStoreCopy=JSON.parse(JSON.stringify(store));const toggleStyle=store.bonusDetailStyle===displayNoneStyle?displayFlexStyle:displayNoneStyle;newStoreCopy[\"bonusDetailStyle\"]=toggleStyle;updateStore(newStoreCopy,store,setStore);}function manageVariantChangesInLuxV2Panel(store,setStore,outerPanelName,variantProp){const luxV2Panel=document.getElementsByName(\"Panel Lux V2\");if(luxV2Panel){//const luxV2ConfigEl = luxV2Panel.children[1].children[0].children[0]\nconst dataValueDirect=luxV2Panel[1].getAttribute(\"data-framer-name\");const luxV2Variants=[{variantProp:variantProp,value:dataValueDirect}];updateLuxV2Variants(store,setStore,luxV2Variants);}else{//console.log(`Panel ${outerPanelName} not found.`)\n}}function manageVariantChangesInExtremePanel(store,setStore,outerPanelName,variantProp){const extremePanel=document.getElementById(\"panel-extreme\");if(extremePanel){const extremeConfigEl=extremePanel.children[1].children[0].children[0];const dataValueDirect=extremeConfigEl.getAttribute(\"data-framer-name\");const extremeVariant=[{variantProp:variantProp,value:dataValueDirect}];updateLuxExtremeVariants(store,setStore,extremeVariant);}else{//console.log(`Panel ${outerPanelName} not found.`)\n}}function manageVariantChangesInLuxLightningPanels(store,setStore,outerPanelName,variantProp){const elements=document.getElementsByName(outerPanelName);if(elements.length>0){const element=elements[0]// first matching element\n;const variantElem=elements[0].querySelector(\":first-child\").querySelector(\":first-child\");//.querySelector(\":first-child\")\nconst dataValueDirect=variantElem.getAttribute(\"data-framer-name\");const luxVariants=[{variantProp:variantProp,value:dataValueDirect}];updateLuxLighningVariants(store,setStore,luxVariants);}else{//console.log(`No elements for ${outerPanelName} found.`)\n}}function manageVariantChangesInLuxUsbcPanels(store,setStore,outerPanelName,variantProp){const elements=document.getElementsByName(outerPanelName);if(elements.length>0){const element=elements[0]// first matching element\n;const variantElem=elements[0].querySelector(\":first-child\").querySelector(\":first-child\");//.querySelector(\":first-child\")\nconst dataValueDirect=variantElem.getAttribute(\"data-framer-name\");const luxVariants=[{variantProp:variantProp,value:dataValueDirect}];updateLuxUsbcVariants(store,setStore,luxVariants);}else{// console.log(`No elements for ${outerPanelName} found.`)\n}}function updateLuxV2Variants(store,setStore,luxV2Variants){const newStoreCopy=JSON.parse(JSON.stringify(store));for(const obj of luxV2Variants){newStoreCopy[obj.variantProp]=obj.value;}updateStore(newStoreCopy,store,setStore);}function updateLuxExtremeVariants(store,setStore,extremeVariants){const newStoreCopy=JSON.parse(JSON.stringify(store));for(const obj of extremeVariants){newStoreCopy[obj.variantProp]=obj.value;}updateStore(newStoreCopy,store,setStore);}// TODO Axel: check if we can combine updateLuxLighningVariants and updateLuxUsbcVariants into one function\nfunction updateLuxLighningVariants(store,setStore,luxVariants){const newStoreCopy=JSON.parse(JSON.stringify(store));for(const obj of luxVariants){newStoreCopy[obj.variantProp]=obj.value;}updateStore(newStoreCopy,store,setStore);}function updateLuxUsbcVariants(store,setStore,luxVariants){const newStoreCopy=JSON.parse(JSON.stringify(store));for(const obj of luxVariants){newStoreCopy[obj.variantProp]=obj.value;}updateStore(newStoreCopy,store,setStore);}function manageVariantChangesInHeathrowPanels(store,setStore,outerPanelName,variantProp){const elements=document.getElementsByName(outerPanelName);if(elements.length>0){const element=elements[0]// first matching element\n;const variantElem=elements[0].querySelector(\":first-child\").querySelector(\":first-child\");//.querySelector(\":first-child\")\nconst dataValueDirect=variantElem.getAttribute(\"data-framer-name\");const heathrowVariants=[{variantProp:variantProp,value:dataValueDirect}];updateHeathrowPanelVariants(store,setStore,heathrowVariants);}else{//console.log(\"No elements with the specified name found.\")\n}}function handleShowMoreHeathrowPanels(store,setStore,e,heathrowVariants){let clickEl=e.currentTarget.parentNode.getAttribute(\"data-framer-name\");if(!clickEl){clickEl=e.currentTarget.getAttribute(\"data-framer-name\");}updateHeathrowPanelVariants(store,setStore,heathrowVariants);}// Pass in array of heathrow objects to update store\nfunction updateHeathrowPanelVariants(store,setStore,heathrowVariants){const newStoreCopy=JSON.parse(JSON.stringify(store));for(const obj of heathrowVariants){newStoreCopy[obj.variantProp]=obj.value;}updateStore(newStoreCopy,store,setStore);}// Pass in array of heathrow objects to update store\n// Given heathRowArray as an array of (propertyname, value) objects,\n// Make a deep copy of the store, set the given properties, and run updateStore\nfunction updateStoreFromProperties(store,setStore,heathrowVariants){const newStoreCopy=JSON.parse(JSON.stringify(store));for(const obj of heathrowVariants){newStoreCopy[obj.variantProp]=obj.value;}updateStore(newStoreCopy,store,setStore);}// Pass in array of heathrow objects to update store\n// Given heathRowArray as an array of (propertyname, value) objects,\n// Make a deep copy of the store, set the given properties, and run updateStore\nfunction updateStoreFromChanges(store,setStore,changes){const newStoreCopy=JSON.parse(JSON.stringify(store));for(const obj of changes){newStoreCopy[obj.key]=obj.value;}updateStore(newStoreCopy,store,setStore);}function updateStore(newStore,store,setStore){const calcResult=CalculateOrder(getUserChoices(newStore));// run bonus panel logic here\nconst bonusItems=[];const goods={};calcResult.goods.forEach(g=>{goods[g.key]=g.quantity;});goods.trees=calcResult.trees;goods.gifts=calcResult.gifts;goods.totalSavings=calcResult.totalSavings;// There is an additional Item: 'Hotel & Car rental savings card' which wasn't yet required in AM's original version\n// The order we fill the 'bonusItems' array determines the fill order of our bonus fields (order & left/right)\n// this is zero\nif((goods===null||goods===void 0?void 0:goods.hotelStay)>0){bonusItems.push({text:\" Hotel & Car rental savings card\",qty:goods.hotelStay});}// this is one\nif(goods.extremeFree>0){bonusItems.push({text:`Extreme Charger${goods.extremeFree>1?\"s\":\"\"}`,qty:goods.extremeFree});}// this is two\nif(goods.toughCover>0){bonusItems.push({text:\"Toughcover for Extreme\",qty:goods.toughCover});}/* we need to count all versions of free Lux cables: luxCCUltraFree, \n    luxCCProFree, luxCCProCPFree, luxCCProSYFree, luxCCProSGFree, luxCCProJOFree\n     */let totalFreeLuxCables=0;totalFreeLuxCables+=(goods===null||goods===void 0?void 0:goods.luxCCUltraFree)?goods.luxCCUltraFree:0;totalFreeLuxCables+=(goods===null||goods===void 0?void 0:goods.luxCCProFree)?goods.luxCCProFree:0;totalFreeLuxCables+=(goods===null||goods===void 0?void 0:goods.luxCCProCPFree)?goods.luxCCProCPFree:0;totalFreeLuxCables+=(goods===null||goods===void 0?void 0:goods.luxCCProSYFree)?goods.luxCCProSYFree:0;totalFreeLuxCables+=(goods===null||goods===void 0?void 0:goods.luxCCProSGFree)?goods.luxCCProSGFree:0;totalFreeLuxCables+=(goods===null||goods===void 0?void 0:goods.luxCCProJOFree)?goods.luxCCProJOFree:0;// this is three\nif(totalFreeLuxCables>0){bonusItems.push({text:`Bonus cable${totalFreeLuxCables>1?\"s\":\"\"}`,qty:totalFreeLuxCables});}// this is four\nif(goods.luxPersian>0){bonusItems.push({text:\"Lux Persian Red Cable\",qty:goods.luxPersian});}// this is five\nif(goods.powerBrick>0||goods.powerBrickPro>0){bonusItems.push({text:`Bonus Power Brick${goods.powerBrick+goods.powerBrickPro>1?\"s\":\"\"}`,qty:goods.powerBrick+goods.powerBrickPro});}//console.dir(bonusItems, { depth: null })\nfunction getAvailableItemQty(index){return index<bonusItems.length&&bonusItems[index]?bonusItems[index].qty:0;}function getAvailableItemText(index){return index<bonusItems.length&&bonusItems[index]?bonusItems[index].text:\"\";}let previousPurchaseItems=ppAll.reduce((ob,item)=>{ob[item.label]=newStore[item.label];return ob;},{});setStore({...store,// new MoE variant states\nmoEFirstClickDummy:newStore.moEFirstClickDummy,moEOneVariant:newStore.moEOneVariant,moETwoVariant:newStore.moETwoVariant,moEThreeVariant:newStore.moEThreeVariant,moEFourVariant:newStore.moEFourVariant,moEFiveVariant:newStore.moEFiveVariant,// new regular heathrow variant states\nheathrowOneVariant:newStore.heathrowOneVariant,heathrowTwoVariant:newStore.heathrowTwoVariant,heathrowThreeVariant:newStore.heathrowThreeVariant,heathrowFourVariant:newStore.heathrowFourVariant,heathrowFiveVariant:newStore.heathrowFiveVariant,heathrowSixVariant:newStore.heathrowSixVariant,heathrowSevenVariant:newStore.heathrowSevenVariant,heathrowEightVariant:newStore.heathrowEightVariant,heathrowNineVariant:newStore.heathrowNineVariant,heathrowTenVariant:newStore.heathrowTenVariant,// new Lux USBC variant states\nluxUsbcOneVariant:newStore.luxUsbcOneVariant,luxUsbcTwoVariant:newStore.luxUsbcTwoVariant,luxUsbcThreeVariant:newStore.luxUsbcThreeVariant,luxUsbcFourVariant:newStore.luxUsbcFourVariant,luxUsbcFiveVariant:newStore.luxUsbcFiveVariant,// Lyx Apple Lightning\nluxLightningOneVariant:newStore.luxLightningOneVariant,luxLightningTwoVariant:newStore.luxLightningTwoVariant,luxLightningThreeVariant:newStore.luxLightningThreeVariant,luxLightningFourVariant:newStore.luxLightningFourVariant,luxLightningFiveVariant:newStore.luxLightningFiveVariant,// luxV2Variant\nluxV2Variants:newStore.luxV2Variants,// Bonus\nbonusDetailStyle:newStore.bonusDetailStyle,bonusGiftCount:goods===null||goods===void 0?void 0:goods.gifts,bonusSavings:goods===null||goods===void 0?void 0:goods.totalSavings,bonusTrees:goods===null||goods===void 0?void 0:goods.trees,bonusTotalOrderAmount:calcResult.totalPrice,// TaC\ntermsConditionsChecked:newStore.termsConditionsChecked,checkoutButtonVariant:newStore.checkoutButtonVariant,travelKitCount:newStore.checkout.kit,jumperCablesCount:newStore.checkout.jumpers,persianRedCables:newStore.checkout.persianRedCables,luxAdapter4Pack:newStore.checkout.luxAdapter4Pack,travelKitCounterStyle:newStore.checkout.kit>0?counterStyleActive:counterStyleDefault,travelKitContainerStyle:newStore.checkout.kit>0?containerStyleActive:containerStyleDefault,a4padapterCounterStyle:newStore.checkout.luxAdapter4Pack>0?counterStyleActive:counterStyleDefault,a4padapterContainerStyle:newStore.checkout.luxAdapter4Pack>0?containerStyleActive:containerStyleDefault,extremeContainerStyle:newStore.extremeVariant!=\"Extreme OS - 0\"?containerStyleActive:containerStyleDefault,extremeVariant:newStore.extremeVariant,jumperCableCounterStyle:newStore.checkout.jumpers>0?counterStyleActive:counterStyleDefault,jumperCableContainerStyle:newStore.checkout.jumpers>0?containerStyleActive:containerStyleDefault,persianRedCounterStyle:newStore.checkout.persianRedCables>0?counterStyleActive:counterStyleDefault,persianRedContainerStyle:newStore.checkout.persianRedCables>0?containerStyleActive:containerStyleDefault,luxV2ContainerStyle:newStore.luxV2Variants.includes(\"0-\")?containerStyleDefault:containerStyleActive,checkout:{bundle:newStore.checkout.bundle,kit:newStore.checkout.kit,luxCC:newStore.checkout.luxCC,luxCL:newStore.checkout.luxCL,luxAdapter4Pack:newStore.checkout.luxAdapter4Pack,extreme:newStore.checkout.extreme,jumpers:newStore.checkout.jumpers,persianRedCables:newStore.checkout.persianRedCables},bonusExtreme:goods===null||goods===void 0?void 0:goods.extremeFree,bonusGetaway:goods===null||goods===void 0?void 0:goods.getaway,bonusHeathrowCarryon:goods===null||goods===void 0?void 0:goods.heathrowECarryon,bonusHeathrowLarge:goods===null||goods===void 0?void 0:goods.heathrowCarryon,bonusLuxPersian:goods===null||goods===void 0?void 0:goods.luxPersian,bonusLuxUsbcCables:goods===null||goods===void 0?void 0:goods.luxCCFree,bonusToughCover:goods===null||goods===void 0?void 0:goods.toughCover,// Derived from Bonuses above,\nbonusItemOneQty:getAvailableItemQty(0),bonusItemOneText:getAvailableItemText(0),bonusItemTwoQty:getAvailableItemQty(1),bonusItemTwoText:getAvailableItemText(1),bonusItemThreeQty:getAvailableItemQty(2),bonusItemThreeText:getAvailableItemText(2),bonusItemFourQty:getAvailableItemQty(3),bonusItemFourText:getAvailableItemText(3),bonusItemFiveQty:getAvailableItemQty(4),bonusItemFiveText:getAvailableItemText(4),bonusItemSixQty:getAvailableItemQty(5),bonusItemSixText:getAvailableItemText(5),bonusItemSevenQty:goods.getaway>0?goods.getaway:0,bonusItemSevenText:goods.getaway>0?\"7-Night Resort Getaway\":\"\",//previous purchase\n...previousPurchaseItems,token:newStore.token,showSortOrderSection:newStore.showSortOrderSection,sectionMoeSortOrder:newStore.sectionMoeSortOrder,sectionHeathrowSortOrder:newStore.sectionHeathrowSortOrder,sectionHptekSortOrder:newStore.sectionHptekSortOrder,sectionsLuxIntroSortOrder:newStore.sectionsLuxIntroSortOrder,sectionLuxLSortOrder:newStore.sectionLuxLSortOrder,sectionLuxCSortOrder:newStore.sectionLuxCSortOrder,sectionUsbaSortOrder:newStore.sectionUsbaSortOrder,sectionJumpersSortOrder:newStore.sectionJumpersSortOrder,sectionPersianRedSortOrder:newStore.sectionPersianRedSortOrder,sectionExtremeSortOrder:newStore.sectionExtremeSortOrder,sectionTreesSortOrder:newStore.sectionTreesSortOrder,treesSortOrder:newStore.treesSortOrder});console.log(`store:${JSON.stringify(store,2,null)}`);}// if incrementDecrementFlag is true then increase else decrease the value by 1\nfunction doQuantIncrementDecrement(checkoutPropName,incrementDecrementFlag,store,setStore){const newStoreCopy=JSON.parse(JSON.stringify(store));const oldVal=newStoreCopy.checkout[checkoutPropName];newStoreCopy.checkout[checkoutPropName]=incrementDecrementFlag?oldVal+1:oldVal>0?oldVal-1:oldVal;updateStore(newStoreCopy,store,setStore);}/*\n * ======================================================\n * ======  Local Storage ================================\n * ======================================================\n */function SaveToLocalStorage(store){store={...store,checkoutButtonVariant:CHECKOUT_BUTTON_DEFAULT,termsConditionsChecked:false};localStorage.setItem(\"mos015tate\",JSON.stringify(store));}// the line below needs to be here to delimit the order calculator\n// in order to facilitate extracting it for use by the backend\n// also the corresponding line at the bottom which uses carets (^)\n// these lines are recognized by the sequence\n//     ordercalculator then\n//     single space then\n//     the V or ^ respectively repeated 6 times or more\n// ordercalculator VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV\n// ======================= CalculateOrder ========================\n// ================== Sept 9, 2023 version =======================\n// ===============================================================\n/**\n * calculateOrder\n * @param {*} x  -- the userChoices structure\n *      /* 'variants' here refers to framer variants, not product variants\n        {\n            \"moEHeathrowVariants\": [],\n            \"heathrowVariants\": [\"3-Set Sunshine Yellow\"],\n            \"luxUsbcVariants\": [\"Lux Pro Rainbow 5+Power Brick\"],\n            \"luxLightningVariants\": [],\n            \"luxAdapter4Pack\": 2,\n            \"kit\": 3,\n            \"extremeVariants\": [\"Extreme OS - 2\"]\n        }  \n        \n\n        x can also be a string of value 'givedata'\n        \n * @returns \n */const CalculateOrder=x=>{function calculateFreeTrees(goods){let trees=0;Object.keys(goods).forEach(key=>{var _item_key;if(goods[key]>0&&((_item_key=item[key])===null||_item_key===void 0?void 0:_item_key.trees)>0){trees+=goods[key]*item[key].trees;}});trees=x.treesSortOrder>0?trees*2:trees;return trees;}function calculateGifts(goods,item){let gifts=0;Object.keys(goods).forEach(key=>{var _item_key;if(goods[key]>0&&((_item_key=item[key])===null||_item_key===void 0?void 0:_item_key.price)==0){gifts+=goods[key];}});return gifts;}function calculateTotalSavings(goods,item){let totalSavings=0;Object.keys(goods).forEach(key=>{var _item_key,_item_key1;if(goods[key]>0&&((_item_key=item[key])===null||_item_key===void 0?void 0:_item_key.retailPrice)-((_item_key1=item[key])===null||_item_key1===void 0?void 0:_item_key1.price)>0){var _item_key2,_item_key3;totalSavings+=(((_item_key2=item[key])===null||_item_key2===void 0?void 0:_item_key2.retailPrice)-((_item_key3=item[key])===null||_item_key3===void 0?void 0:_item_key3.price))*goods[key];}});return totalSavings;}function sortGoods(goods,item){let items=[];Object.keys(goods).forEach(key=>{var _item_key,_item_key1;items.push({key:key,quantity:goods[key],price:(_item_key=item[key])===null||_item_key===void 0?void 0:_item_key.price,sequence:(_item_key1=item[key])===null||_item_key1===void 0?void 0:_item_key1.sequence});});//console.log(`free list is ${JSON.stringify(free)}`);\nreturn items.sort((a,b)=>{return a.sequence-b.sequence;});}const item={moeHeathrowLargeCP:{key:\"moeHeathrowLargeCP\",sequence:100,price:201,retailPrice:449,trees:5},heathrowLargeHalfPrice2MB:{key:\"heathrowLargeHalfPrice2MB\",sequence:100,price:201,retailPrice:449,trees:5},heathrowLargeHalfPrice2PB:{key:\"heathrowLargeHalfPrice2PB\",sequence:100,price:201,retailPrice:449,trees:5},heathrowLargeHalfPrice2CP:{key:\"heathrowLargeHalfPrice2CP\",sequence:100,price:201,retailPrice:449,trees:5},heathrowLargeHalfPriceSG:{key:\"heathrowLargeHalfPriceSG\",sequence:100,price:224,retailPrice:449,trees:5},toughCover:{key:\"toughCover\",sequence:900,price:0,retailPrice:49,trees:0},powerBrick:{key:\"powerBrick\",sequence:920,price:0,retailPrice:47,trees:0},heathrowECarryonSY:{key:\"heathrowECarryonSY\",sequence:90,price:499,retailPrice:797,trees:5},heathrowLarge:{key:\"heathrowLarge\",sequence:100,price:1299,retailPrice:1299,trees:5},heathrowCarryonMB:{key:\"heathrowCarryonMB\",sequence:100,price:349,retailPrice:349,trees:5},heathrowLargeHalfPricePB:{key:\"heathrowLargeHalfPricePB\",sequence:100,price:224,retailPrice:449,trees:5},extreme:{key:\"extreme\",sequence:800,price:249,retailPrice:249,trees:1},heathrowECarryonCP:{key:\"heathrowECarryonCP\",sequence:90,price:499,retailPrice:797,trees:5},heathrowCarryonSY:{key:\"heathrowCarryonSY\",sequence:100,price:349,retailPrice:349,trees:5},moeHeathrowLargeMB:{key:\"moeHeathrowLargeMB\",sequence:100,price:201,retailPrice:449,trees:5},heathrowECarryonMB:{key:\"heathrowECarryonMB\",sequence:90,price:499,retailPrice:797,trees:5},heathrowLargeHalfPriceSY:{key:\"heathrowLargeHalfPriceSY\",sequence:100,price:224,retailPrice:449,trees:5},luxAdapter4Pack:{key:\"luxAdapter4Pack\",sequence:210,price:17,retailPrice:17,trees:0},persianRedCables:{key:\"persianRedCables\",sequence:930,price:37,retailPrice:57,trees:1},heathrowLargeHalfPriceMB:{key:\"heathrowLargeHalfPriceMB\",sequence:100,price:224,retailPrice:449,trees:5},heathrowLargeHalfPrice:{key:\"heathrowLargeHalfPrice\",sequence:100,price:649,retailPrice:1299,trees:5},moeHeathrowLargePB:{key:\"moeHeathrowLargePB\",sequence:100,price:201,retailPrice:449,trees:5},moeHeathrowECarryonCP:{key:\"moeHeathrowECarryonCP\",sequence:90,price:399,retailPrice:548,trees:5},getaway:{key:\"getaway\",sequence:950,price:0,retailPrice:0,trees:0},luxCCProSGFree:{key:\"luxCCProSGFree\",sequence:900,price:0,retailPrice:37,trees:1},luxCCProFree:{key:\"luxCCProFree\",sequence:902,price:0,retailPrice:37,trees:1},heathrowCarryonSG:{key:\"heathrowCarryonSG\",sequence:100,price:349,retailPrice:349,trees:5},jumpers:{key:\"jumpers\",sequence:850,price:27,retailPrice:27,trees:0},luxPersian:{key:\"luxPersian\",sequence:910,price:0,retailPrice:57,trees:1},heathrowCarryon:{key:\"heathrowCarryon\",sequence:100,price:999,retailPrice:999,trees:5},luxCCUltra:{key:\"luxCCUltra\",sequence:201,price:47,retailPrice:47,trees:1},heathrowCarryonPB:{key:\"heathrowCarryonPB\",sequence:100,price:349,retailPrice:349,trees:5},heathrowMediumCP:{key:\"heathrowMediumCP\",sequence:100,price:399,retailPrice:399,trees:5},heathrowLargeMB:{key:\"heathrowLargeMB\",sequence:100,price:449,retailPrice:449,trees:5},heathrowLargeHalfPriceCP:{key:\"heathrowLargeHalfPriceCP\",sequence:100,price:224,retailPrice:449,trees:5},hotelStay:{key:\"hotelStay\",sequence:920,price:0,retailPrice:499,trees:0},powerBrickPro:{key:\"powerBrickPro\",sequence:920,price:0,retailPrice:77,trees:0},luxCCProSY:{key:\"luxCCProSY\",sequence:200,price:37,retailPrice:37,trees:1},heathrowECarryon:{key:\"heathrowECarryon\",sequence:90,price:1099,retailPrice:1397,trees:5},luxCC:{key:\"luxCC\",sequence:202,price:27,retailPrice:27,trees:1},luxCCProJOFree:{key:\"luxCCProJOFree\",sequence:900,price:0,retailPrice:37,trees:1},moeHeathrowECarryon:{key:\"moeHeathrowECarryon\",sequence:90,price:999,retailPrice:1148,trees:5},moeHeathrowECarryonSY:{key:\"moeHeathrowECarryonSY\",sequence:90,price:399,retailPrice:548,trees:5},heathrowMedium:{key:\"heathrowMedium\",sequence:100,price:1199,retailPrice:1199,trees:5},luxCCProSYFree:{key:\"luxCCProSYFree\",sequence:900,price:0,retailPrice:37,trees:1},luxCL:{key:\"luxCL\",sequence:203,price:27,retailPrice:27,trees:1},luxCCProJO:{key:\"luxCCProJO\",sequence:200,price:37,retailPrice:37,trees:1},heathrowECarryonPB:{key:\"heathrowECarryonPB\",sequence:90,price:499,retailPrice:797,trees:5},heathrowLargeHalfPrice2SY:{key:\"heathrowLargeHalfPrice2SY\",sequence:100,price:201,retailPrice:449,trees:5},heathrowMediumSG:{key:\"heathrowMediumSG\",sequence:100,price:399,retailPrice:399,trees:5},moeHeathrowLargeSG:{key:\"moeHeathrowLargeSG\",sequence:100,price:201,retailPrice:449,trees:5},kit:{key:\"kit\",sequence:110,price:197,retailPrice:297,trees:0},luxCCProCPFree:{key:\"luxCCProCPFree\",sequence:900,price:0,retailPrice:37,trees:1},luxCCPro:{key:\"luxCCPro\",sequence:200,price:37,retailPrice:37,trees:1},heathrowLargeSG:{key:\"heathrowLargeSG\",sequence:100,price:449,retailPrice:449,trees:5},luxCCProSG:{key:\"luxCCProSG\",sequence:200,price:37,retailPrice:37,trees:1},moeHeathrowECarryonSG:{key:\"moeHeathrowECarryonSG\",sequence:90,price:399,retailPrice:548,trees:5},heathrowLargeSY:{key:\"heathrowLargeSY\",sequence:100,price:449,retailPrice:449,trees:5},heathrowLargePB:{key:\"heathrowLargePB\",sequence:100,price:449,retailPrice:449,trees:5},luxCCUltraFree:{key:\"luxCCUltraFree\",sequence:903,price:0,retailPrice:47,trees:1},moeHeathrowLargeSY:{key:\"moeHeathrowLargeSY\",sequence:100,price:201,retailPrice:449,trees:5},luxCCFree:{key:\"luxCCFree\",sequence:1e3,price:0,retailPrice:27,trees:1},heathrowLargeHalfPrice2SG:{key:\"heathrowLargeHalfPrice2SG\",sequence:100,price:201,retailPrice:449,trees:5},heathrowMediumMB:{key:\"heathrowMediumMB\",sequence:100,price:399,retailPrice:399,trees:5},heathrowLargeCP:{key:\"heathrowLargeCP\",sequence:100,price:449,retailPrice:449,trees:5},moeHeathrowLarge:{key:\"moeHeathrowLarge\",sequence:100,price:649,retailPrice:1299,trees:5},moeHeathrowECarryonPB:{key:\"moeHeathrowECarryonPB\",sequence:90,price:399,retailPrice:548,trees:5},moeHeathrowECarryonMB:{key:\"moeHeathrowECarryonMB\",sequence:90,price:399,retailPrice:548,trees:5},luxCCProCP:{key:\"luxCCProCP\",sequence:200,price:37,retailPrice:37,trees:1},heathrowMediumPB:{key:\"heathrowMediumPB\",sequence:100,price:399,retailPrice:399,trees:5},heathrowCarryonCP:{key:\"heathrowCarryonCP\",sequence:100,price:349,retailPrice:349,trees:5},heathrowMediumSY:{key:\"heathrowMediumSY\",sequence:100,price:399,retailPrice:399,trees:5},extremeFree:{key:\"extremeFree\",sequence:900,price:0,retailPrice:249,trees:1},heathrowECarryonSG:{key:\"heathrowECarryonSG\",sequence:90,price:499,retailPrice:797,trees:5},heathrowLargeHalfPrice2:{key:\"heathrowLargeHalfPrice2\",sequence:100,price:649,retailPrice:1299,trees:5},gift135:{key:\"gift135\",sequence:1e3,price:0,retailPrice:135,trees:0}};//console.log(\"CalculateOrder=============================>\")\n// todo - below bundles needs to be updated if required\nconst bundles={\"eCarry-on Alu\":[],\"eCarry-on Sunshine Yellow\":[],\"eCarry-on Candy Pink\":[],\"eCarry-on Seafoam Green\":[],\"eCarry-on Midnight Blue\":[],\"eCarry-on Piano Black\":[],\"Carry-on Alu\":[],\"Carry-on Sunshine Yellow\":[],\"Carry-on Candy Pink\":[],\"Carry-on Seafoam Green\":[],\"Carry-on Midnight Blue\":[],\"Carry-on Piano Black\":[],\"Medium Alu\":[],\"Medium Sunshine Yellow\":[],\"Medium Candy Pink\":[],\"Medium Seafoam Green\":[],\"Medium Midnight Blue\":[],\"Medium Piano Black\":[],\"Large Alu\":[],\"Large Sunshine Yellow\":[],\"Large Candy Pink\":[],\"Large Seafoam Green\":[],\"Large Midnight Blue\":[],\"Large Piano Black\":[],\"2-Set Alu\":[],\"2-Set Sunshine Yellow\":[],\"2-Set Candy Pink\":[],\"2-Set Seafoam Green\":[],\"2-Set Midnight Blue\":[],\"2-Set Piano Black\":[],\"3-Set Alu\":[],\"3-Set Sunshine Yellow\":[],\"3-Set Candy Pink\":[],\"3-Set Seafoam Green\":[],\"3-Set Midnight Blue\":[],\"3-Set Piano Black\":[],// MOE\n\"MoE-eCarry-on Alu\":[],\"MoE-eCarry-on Sunshine Yellow\":[],\"MoE-eCarry-on Candy Pink\":[],\"MoE-eCarry-on Seafoam Green\":[],\"MoE-eCarry-on Midnight Blue\":[],\"MoE-eCarry-on Piano Black\":[],\"MoE-3-Set Alu\":[],\"MoE-3-Set Sunshine Yellow\":[],\"MoE-3-Set Candy Pink\":[],\"MoE-3-Set Seafoam Green\":[],\"MoE-3-Set Midnight Blue\":[],\"MoE-3-Set Piano Black\":[],//Lux\n\"Lux Alpine White\":[],\"Lux Alpine White x2\":[],\"Lux Alpine White x3\":[],\"Lux Alpine White x4\":[],\"Lux Alpine White 5+Mini Brick\":[],\"Lux Pro Alpine White\":[],\"Lux Pro Alpine White x2\":[],\"Lux Pro Alpine White 3+1\":[],\"Lux Pro Alpine White 5+Power Brick\":[],\"Lux Pro Sunshine Yellow\":[],\"Lux Pro Sunshine Yellow x2\":[],\"Lux Pro Sunshine Yellow 3+1\":[],\"Lux Pro Sunshine Yellow 5+Power Brick\":[],\"Lux Pro Candy Pink\":[],\"Lux Pro Candy Pink x2\":[],\"Lux Pro Candy Pink 3+1\":[],\"Lux Pro Candy Pink 5+Power Brick\":[],\"Lux Pro Seafoam Green\":[],\"Lux Pro Seafoam Green x2\":[],\"Lux Pro Seafoam Green 3+1\":[],\"Lux Pro Seafoam Green 5+Power Brick\":[],\"Lux Pro Juicy Orange\":[],\"Lux Pro Juicy Orange x2\":[],\"Lux Pro Juicy Orange 3+1\":[],\"Lux Pro Juicy Orange 5+Power Brick\":[],\"Lux Pro Rainbow 5+Power Brick\":[],\"Lux Ultra Alpine White\":[],\"Lux Ultra Alpine White x2\":[],\"Lux Ultra Alpine White 3+1\":[],\"Lux Ultra Alpine White 5+Power Brick\":[],// Lux Lightning\n\"Lux Lightning Alpine White\":[],\"Lux Lightning White x2\":[],\"Lux Lightning White x3\":[],\"Lux Lightning White x4\":[],\"Lux Lightning White 5+Mini Brick\":[],\"5-L\":[item.luxCL,item.luxCL,item.luxCL,item.luxCL,item.luxCL,item.luxCCFree,item.luxCCFree],\"4-L\":[item.luxCL,item.luxCL,item.luxCL,item.luxCL,item.luxCCFree],\"3-L\":[item.luxCL,item.luxCL,item.luxCL,item.luxCCFree],\"2-L\":[item.luxCL,item.luxCL],\"1-L\":[item.luxCL],\"0-L\":[],\"0-C\":[],\"1-C\":[item.luxCC],\"2-C\":[item.luxCC,item.luxCC],\"3-C\":[item.luxCC,item.luxCC,item.luxCC,item.luxCCFree],\"4-C\":[item.luxCC,item.luxCC,item.luxCC,item.luxCC,item.luxCCFree],\"5-C\":[item.luxCC,item.luxCC,item.luxCC,item.luxCC,item.luxCC,item.luxCCFree,item.luxCCFree],// extremes\n\"Extreme OS - 0\":[],\"Extreme OS - 1\":[item.extreme],\"Extreme OS - 2\":[item.extreme,item.extreme,item.extremeFree],//common\nNone:[]};//-----------------------------  START OF CODE -----------------------------------\nif(x==\"givedata\"){return{bundles:bundles,item:item};}// goods is the count of each item in the order.\nlet goods={};Object.keys(item).forEach(key=>{goods[key]=0;});//goods[\"luxCCFree\"] = 0\n// transform variants from choices to goods\nObject.keys(x).forEach(key=>{if(key.indexOf(\"Variants\")>=0){x[key].forEach(v=>{if(v!==undefined&&v!==\"\"&&bundles[v]){bundles[v].forEach(element=>{goods[element===null||element===void 0?void 0:element.key]+=1;});}});}});goods[\"luxAdapter4Pack\"]+=x.luxAdapter4Pack?x.luxAdapter4Pack:0;goods[\"persianRedCables\"]+=x.persianRedCables?x.persianRedCables:0;goods[\"kit\"]+=x.kit?x.kit:0;goods[\"extreme\"]+=x.extreme?x.extreme:0;goods[\"jumpers\"]+=x.jumpers?x.jumpers:0;// total price of order\nlet totalPrice=0;Object.keys(goods).forEach(key=>{totalPrice+=goods[key]*item[key].price;if(isNaN(goods[key]*item[key].price)){//console.log(key)\n}// console.log(`total price:${totalPrice}`)\n});// add free persian red if applicable\n//goods[\"luxPersian\"] += totalPrice >= 97.0 ? 1 : 0\n// add hotelStay if applicable\n//goods[\"hotelStay\"] += totalPrice >= 499 ? 1 : 0\n// add getaway if applicable\n//goods[\"getaway\"] += totalPrice >= 999 ? 1 : 0\nreturn{trees:calculateFreeTrees(goods),gifts:calculateGifts(goods,item),totalSavings:calculateTotalSavings(goods,item),totalPrice:totalPrice,goods:sortGoods(goods,item),inputs:Object.assign({},x),freeItems:()=>{let free=[];Object.keys(goods).forEach(key=>{if(goods[key]>0&&item[key].price==0){free.push({key:key,quantity:goods[key],price:item[key].price,sequence:item[key].sequence});}});//console.log(`free list is ${JSON.stringify(free)}`);\nreturn free.sort((a,b)=>{return a.sequence-b.sequence;});}};}// ordercalculator ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n;\nexport const __FramerMetadata__ = {\"exports\":{\"addVisibilityLuxLightningPanelFive\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityLuxLightningPanelFive\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"updateBonusItemSixQty\":{\"type\":\"reactHoc\",\"name\":\"updateBonusItemSixQty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MoETwoConfigurator\":{\"type\":\"reactHoc\",\"name\":\"MoETwoConfigurator\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxLightningOneConfigurator\":{\"type\":\"reactHoc\",\"name\":\"LuxLightningOneConfigurator\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxUsbcThreeConfiguratorBottom\":{\"type\":\"reactHoc\",\"name\":\"LuxUsbcThreeConfiguratorBottom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityPPItemsHdr\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityPPItemsHdr\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityLuxLightningPanelThree\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityLuxLightningPanelThree\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"AirLimitedPanelQty\":{\"type\":\"reactHoc\",\"name\":\"AirLimitedPanelQty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityBonusItemOne\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityBonusItemOne\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HeathrowTenConfigurator\":{\"type\":\"reactHoc\",\"name\":\"HeathrowTenConfigurator\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityHeathrowShippingText\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityHeathrowShippingText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxCCPanelQty\":{\"type\":\"reactHoc\",\"name\":\"LuxCCPanelQty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxLightningTwoConfigurator\":{\"type\":\"reactHoc\",\"name\":\"LuxLightningTwoConfigurator\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LifePanelQty\":{\"type\":\"reactHoc\",\"name\":\"LifePanelQty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"updateBonusItemOneText\":{\"type\":\"reactHoc\",\"name\":\"updateBonusItemOneText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityLifeLimitedPanel\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityLifeLimitedPanel\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LifeLimitedPanelQty\":{\"type\":\"reactHoc\",\"name\":\"LifeLimitedPanelQty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"AirSetPanelQty\":{\"type\":\"reactHoc\",\"name\":\"AirSetPanelQty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"updateBonusItemNineText\":{\"type\":\"reactHoc\",\"name\":\"updateBonusItemNineText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityHelloPanel\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityHelloPanel\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HeathrowEightConfigurator\":{\"type\":\"reactHoc\",\"name\":\"HeathrowEightConfigurator\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityMoEPanelOne\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityMoEPanelOne\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HeathrowTenConfiguratorBottom\":{\"type\":\"reactHoc\",\"name\":\"HeathrowTenConfiguratorBottom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"BonusDetailToggleButton\":{\"type\":\"reactHoc\",\"name\":\"BonusDetailToggleButton\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addSortOrderSectionLuxC\":{\"type\":\"reactHoc\",\"name\":\"addSortOrderSectionLuxC\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxPRPanelQty\":{\"type\":\"reactHoc\",\"name\":\"LuxPRPanelQty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HeathrowSevenConfiguratorBottom\":{\"type\":\"reactHoc\",\"name\":\"HeathrowSevenConfiguratorBottom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxAdaptersContainer\":{\"type\":\"reactHoc\",\"name\":\"LuxAdaptersContainer\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityHelloLimitedPanel\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityHelloLimitedPanel\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityJumpersPanel\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityJumpersPanel\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityLuxLightningPanelTwo\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityLuxLightningPanelTwo\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxPersianRedIncrement\":{\"type\":\"reactHoc\",\"name\":\"LuxPersianRedIncrement\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityBonusItemTen\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityBonusItemTen\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"updateTotalSpentQty\":{\"type\":\"reactHoc\",\"name\":\"updateTotalSpentQty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"updateBonusItemFiveText\":{\"type\":\"reactHoc\",\"name\":\"updateBonusItemFiveText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"updateBonusItemTenQty\":{\"type\":\"reactHoc\",\"name\":\"updateBonusItemTenQty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addSortOrderSectionLuxL\":{\"type\":\"reactHoc\",\"name\":\"addSortOrderSectionLuxL\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addSortOrderSectionHptek\":{\"type\":\"reactHoc\",\"name\":\"addSortOrderSectionHptek\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxLightningTwoConfiguratorBottom\":{\"type\":\"reactHoc\",\"name\":\"LuxLightningTwoConfiguratorBottom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"AirPanelQty\":{\"type\":\"reactHoc\",\"name\":\"AirPanelQty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addSortOrderSectionLuxIntro\":{\"type\":\"reactHoc\",\"name\":\"addSortOrderSectionLuxIntro\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityAirLimitedPanel\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityAirLimitedPanel\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxUsbcTwoConfigurator\":{\"type\":\"reactHoc\",\"name\":\"LuxUsbcTwoConfigurator\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityHelloGreenPanel\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityHelloGreenPanel\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HelloLimitedPanelQty\":{\"type\":\"reactHoc\",\"name\":\"HelloLimitedPanelQty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MoEFourConfiguratorBottom\":{\"type\":\"reactHoc\",\"name\":\"MoEFourConfiguratorBottom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"updateBonusItemSevenQty\":{\"type\":\"reactHoc\",\"name\":\"updateBonusItemSevenQty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityLuxPRPanel\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityLuxPRPanel\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityLifeGreenPanel\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityLifeGreenPanel\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HeathrowFourConfiguratorBottom\":{\"type\":\"reactHoc\",\"name\":\"HeathrowFourConfiguratorBottom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxLightningFourConfigurator\":{\"type\":\"reactHoc\",\"name\":\"LuxLightningFourConfigurator\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityHeathroPanelNine\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityHeathroPanelNine\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"JumperCablesDecrement\":{\"type\":\"reactHoc\",\"name\":\"JumperCablesDecrement\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxUsbcThreeConfigurator\":{\"type\":\"reactHoc\",\"name\":\"LuxUsbcThreeConfigurator\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityLifePanel\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityLifePanel\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityAirBlackPanel\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityAirBlackPanel\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MoEFourConfigurator\":{\"type\":\"reactHoc\",\"name\":\"MoEFourConfigurator\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityBonusSavings\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityBonusSavings\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxUsbcTwoConfiguratorBottom\":{\"type\":\"reactHoc\",\"name\":\"LuxUsbcTwoConfiguratorBottom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityBonusItemFour\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityBonusItemFour\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityLuxLightningPanelOne\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityLuxLightningPanelOne\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"AirGreenPanelQty\":{\"type\":\"reactHoc\",\"name\":\"AirGreenPanelQty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"updateBonusItemSixText\":{\"type\":\"reactHoc\",\"name\":\"updateBonusItemSixText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HelloPanelQty\":{\"type\":\"reactHoc\",\"name\":\"HelloPanelQty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HeathrowSixConfigurator\":{\"type\":\"reactHoc\",\"name\":\"HeathrowSixConfigurator\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"updateBonusItemThreeText\":{\"type\":\"reactHoc\",\"name\":\"updateBonusItemThreeText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ExtremeConfigurator\":{\"type\":\"reactHoc\",\"name\":\"ExtremeConfigurator\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxAdaptersDecrement\":{\"type\":\"reactHoc\",\"name\":\"LuxAdaptersDecrement\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"updateBonusItemSevenText\":{\"type\":\"reactHoc\",\"name\":\"updateBonusItemSevenText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityMoEPanelThree\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityMoEPanelThree\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityMoEPanelTwo\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityMoEPanelTwo\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxV2Container\":{\"type\":\"reactHoc\",\"name\":\"LuxV2Container\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityPPText\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityPPText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"TravelKitCounter\":{\"type\":\"reactHoc\",\"name\":\"TravelKitCounter\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityIconSection\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityIconSection\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"JumperCablesIncrement\":{\"type\":\"reactHoc\",\"name\":\"JumperCablesIncrement\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HeathrowTwoConfiguratorBottom\":{\"type\":\"reactHoc\",\"name\":\"HeathrowTwoConfiguratorBottom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityHeathroPanelFour\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityHeathroPanelFour\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityBonusItemSix\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityBonusItemSix\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HeathrowSixConfiguratorBottom\":{\"type\":\"reactHoc\",\"name\":\"HeathrowSixConfiguratorBottom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MoEOneConfigurator\":{\"type\":\"reactHoc\",\"name\":\"MoEOneConfigurator\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HeathrowFiveConfigurator\":{\"type\":\"reactHoc\",\"name\":\"HeathrowFiveConfigurator\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityHeathroPanelSix\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityHeathroPanelSix\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxUsbcOneConfigurator\":{\"type\":\"reactHoc\",\"name\":\"LuxUsbcOneConfigurator\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HeathrowSevenConfigurator\":{\"type\":\"reactHoc\",\"name\":\"HeathrowSevenConfigurator\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DoubleTheTreesContainer\":{\"type\":\"reactHoc\",\"name\":\"DoubleTheTreesContainer\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityLuxCLPanel\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityLuxCLPanel\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityFreeShipping\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityFreeShipping\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityPreOrderHdr\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityPreOrderHdr\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"JumperCablesCounter\":{\"type\":\"reactHoc\",\"name\":\"JumperCablesCounter\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityLuxLightningPanelFour\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityLuxLightningPanelFour\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HeathrowOneConfiguratorBottom\":{\"type\":\"reactHoc\",\"name\":\"HeathrowOneConfiguratorBottom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityBonusItemEight\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityBonusItemEight\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MoEThreeConfigurator\":{\"type\":\"reactHoc\",\"name\":\"MoEThreeConfigurator\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CheckoutButton\":{\"type\":\"reactHoc\",\"name\":\"CheckoutButton\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityNonHeathrowShipping\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityNonHeathrowShipping\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ExtremePanelQty\":{\"type\":\"reactHoc\",\"name\":\"ExtremePanelQty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addSortOrderSectionLuxV2\":{\"type\":\"reactHoc\",\"name\":\"addSortOrderSectionLuxV2\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilitySpecialEventHdr\":{\"type\":\"reactHoc\",\"name\":\"addVisibilitySpecialEventHdr\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxPersianRedCounterBox\":{\"type\":\"reactHoc\",\"name\":\"LuxPersianRedCounterBox\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ExtremeLimitedPanelQty\":{\"type\":\"reactHoc\",\"name\":\"ExtremeLimitedPanelQty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"updateBonusItemFourQty\":{\"type\":\"reactHoc\",\"name\":\"updateBonusItemFourQty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityAdapterPanel\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityAdapterPanel\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityBonusItemSeven\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityBonusItemSeven\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityHeathroPanelSeven\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityHeathroPanelSeven\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityLuxUsbcPanelFive\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityLuxUsbcPanelFive\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxLightningFiveConfiguratorBottom\":{\"type\":\"reactHoc\",\"name\":\"LuxLightningFiveConfiguratorBottom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MoEFiveConfigurator\":{\"type\":\"reactHoc\",\"name\":\"MoEFiveConfigurator\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxLightningFourConfiguratorBottom\":{\"type\":\"reactHoc\",\"name\":\"LuxLightningFourConfiguratorBottom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilitySortOrderSection\":{\"type\":\"reactHoc\",\"name\":\"addVisibilitySortOrderSection\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"updateBonusItemOneQty\":{\"type\":\"reactHoc\",\"name\":\"updateBonusItemOneQty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HeathrowNineConfiguratorBottom\":{\"type\":\"reactHoc\",\"name\":\"HeathrowNineConfiguratorBottom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxUsbcFourConfiguratorBottom\":{\"type\":\"reactHoc\",\"name\":\"LuxUsbcFourConfiguratorBottom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityHeathroPanelTen\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityHeathroPanelTen\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HeathrowNineConfigurator\":{\"type\":\"reactHoc\",\"name\":\"HeathrowNineConfigurator\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityBonusTrees\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityBonusTrees\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"updateBonusSavingsAmount\":{\"type\":\"reactHoc\",\"name\":\"updateBonusSavingsAmount\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityBonusGifts\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityBonusGifts\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"updateBonusItemFourText\":{\"type\":\"reactHoc\",\"name\":\"updateBonusItemFourText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxPersianRedDecrement\":{\"type\":\"reactHoc\",\"name\":\"LuxPersianRedDecrement\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CoverPanelQty\":{\"type\":\"reactHoc\",\"name\":\"CoverPanelQty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HeathrowThreeConfiguratorBottom\":{\"type\":\"reactHoc\",\"name\":\"HeathrowThreeConfiguratorBottom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"JumperCablesContainer\":{\"type\":\"reactHoc\",\"name\":\"JumperCablesContainer\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"TravelKitCounterBox\":{\"type\":\"reactHoc\",\"name\":\"TravelKitCounterBox\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityHeathroPanelFive\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityHeathroPanelFive\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HeathrowTwoConfigurator\":{\"type\":\"reactHoc\",\"name\":\"HeathrowTwoConfigurator\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxV2Configurator\":{\"type\":\"reactHoc\",\"name\":\"LuxV2Configurator\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ExtremeGreenPanelQty\":{\"type\":\"reactHoc\",\"name\":\"ExtremeGreenPanelQty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ECarryPanelQty\":{\"type\":\"reactHoc\",\"name\":\"ECarryPanelQty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"AdaptersPanelQty\":{\"type\":\"reactHoc\",\"name\":\"AdaptersPanelQty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxUsbcFourConfigurator\":{\"type\":\"reactHoc\",\"name\":\"LuxUsbcFourConfigurator\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MoETwoConfiguratorBottom\":{\"type\":\"reactHoc\",\"name\":\"MoETwoConfiguratorBottom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityBonusItemNine\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityBonusItemNine\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"JumperCablesCounterBox\":{\"type\":\"reactHoc\",\"name\":\"JumperCablesCounterBox\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityBonusUmbrella\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityBonusUmbrella\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxCLPanelQty\":{\"type\":\"reactHoc\",\"name\":\"LuxCLPanelQty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxUsbcOneConfiguratorBottom\":{\"type\":\"reactHoc\",\"name\":\"LuxUsbcOneConfiguratorBottom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityECarryPanel\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityECarryPanel\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxLightningThreeConfiguratorBottom\":{\"type\":\"reactHoc\",\"name\":\"LuxLightningThreeConfiguratorBottom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"updateBonusItemEightText\":{\"type\":\"reactHoc\",\"name\":\"updateBonusItemEightText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxUsbcFiveConfigurator\":{\"type\":\"reactHoc\",\"name\":\"LuxUsbcFiveConfigurator\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityCoverPanel\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityCoverPanel\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"AirBlackPanelQty\":{\"type\":\"reactHoc\",\"name\":\"AirBlackPanelQty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityAirSetPanel\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityAirSetPanel\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LifeGreenPanelQty\":{\"type\":\"reactHoc\",\"name\":\"LifeGreenPanelQty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"updateBonusItemThreeQty\":{\"type\":\"reactHoc\",\"name\":\"updateBonusItemThreeQty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LogStore\":{\"type\":\"reactHoc\",\"name\":\"LogStore\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityMoEPanelFour\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityMoEPanelFour\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"updateBonusItemTwoText\":{\"type\":\"reactHoc\",\"name\":\"updateBonusItemTwoText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityLuxUsbcPanelTwo\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityLuxUsbcPanelTwo\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addIdSortOrderSection\":{\"type\":\"reactHoc\",\"name\":\"addIdSortOrderSection\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"TravelKitContainer\":{\"type\":\"reactHoc\",\"name\":\"TravelKitContainer\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HeathrowFiveConfiguratorBottom\":{\"type\":\"reactHoc\",\"name\":\"HeathrowFiveConfiguratorBottom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"updateBonusItemFiveQty\":{\"type\":\"reactHoc\",\"name\":\"updateBonusItemFiveQty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"updateBonusTotalOrderAmount\":{\"type\":\"reactHoc\",\"name\":\"updateBonusTotalOrderAmount\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"updateBonusItemTwoQty\":{\"type\":\"reactHoc\",\"name\":\"updateBonusItemTwoQty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"TravelKitDecrement\":{\"type\":\"reactHoc\",\"name\":\"TravelKitDecrement\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"updateBonusGiftsQty\":{\"type\":\"reactHoc\",\"name\":\"updateBonusGiftsQty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MoEThreeConfiguratorBottom\":{\"type\":\"reactHoc\",\"name\":\"MoEThreeConfiguratorBottom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addSortOrderSectionHeathrow\":{\"type\":\"reactHoc\",\"name\":\"addSortOrderSectionHeathrow\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityHeathroPanelEight\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityHeathroPanelEight\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityBonusItemFive\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityBonusItemFive\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityHeathroPanelTwo\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityHeathroPanelTwo\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"TravelKitIncrement\":{\"type\":\"reactHoc\",\"name\":\"TravelKitIncrement\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxAdaptersCounter\":{\"type\":\"reactHoc\",\"name\":\"LuxAdaptersCounter\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HelloGreenPanelQty\":{\"type\":\"reactHoc\",\"name\":\"HelloGreenPanelQty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityHeathrowShipping\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityHeathrowShipping\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityAirPanel\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityAirPanel\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxPersianRedCounter\":{\"type\":\"reactHoc\",\"name\":\"LuxPersianRedCounter\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MoEFiveConfiguratorBottom\":{\"type\":\"reactHoc\",\"name\":\"MoEFiveConfiguratorBottom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxAdaptersCounterBox\":{\"type\":\"reactHoc\",\"name\":\"LuxAdaptersCounterBox\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxPersianRedContainer\":{\"type\":\"reactHoc\",\"name\":\"LuxPersianRedContainer\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityAirGreenPanel\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityAirGreenPanel\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxLightningThreeConfigurator\":{\"type\":\"reactHoc\",\"name\":\"LuxLightningThreeConfigurator\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityMoEPanelFive\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityMoEPanelFive\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityHeathroPanelOne\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityHeathroPanelOne\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"updateBonusTreesQty\":{\"type\":\"reactHoc\",\"name\":\"updateBonusTreesQty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"updateBonusItemTenText\":{\"type\":\"reactHoc\",\"name\":\"updateBonusItemTenText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityExtremeLimitedPanel\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityExtremeLimitedPanel\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"updateBonusItemNineQty\":{\"type\":\"reactHoc\",\"name\":\"updateBonusItemNineQty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityLuxCCPanel\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityLuxCCPanel\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityBonusItemThree\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityBonusItemThree\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FirstClickDummyConfigurator\":{\"type\":\"reactHoc\",\"name\":\"FirstClickDummyConfigurator\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxLightningOneConfiguratorBottom\":{\"type\":\"reactHoc\",\"name\":\"LuxLightningOneConfiguratorBottom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addSortOrderSectionExtreme\":{\"type\":\"reactHoc\",\"name\":\"addSortOrderSectionExtreme\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Welcome\":{\"type\":\"reactHoc\",\"name\":\"Welcome\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityBonusItemTwo\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityBonusItemTwo\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ExtremeContainer\":{\"type\":\"reactHoc\",\"name\":\"ExtremeContainer\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"JumpersPanelQty\":{\"type\":\"reactHoc\",\"name\":\"JumpersPanelQty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityHeathroPanelThree\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityHeathroPanelThree\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HeathrowEightConfiguratorBottom\":{\"type\":\"reactHoc\",\"name\":\"HeathrowEightConfiguratorBottom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityBonusDetail\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityBonusDetail\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addSortOrderSectionMoe\":{\"type\":\"reactHoc\",\"name\":\"addSortOrderSectionMoe\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityLuxUsbcPanelFour\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityLuxUsbcPanelFour\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxAdaptersIncrement\":{\"type\":\"reactHoc\",\"name\":\"LuxAdaptersIncrement\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxLightningFiveConfigurator\":{\"type\":\"reactHoc\",\"name\":\"LuxLightningFiveConfigurator\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"updateBonusItemEightQty\":{\"type\":\"reactHoc\",\"name\":\"updateBonusItemEightQty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityLuxUsbcPanelThree\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityLuxUsbcPanelThree\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HeathrowThreeConfigurator\":{\"type\":\"reactHoc\",\"name\":\"HeathrowThreeConfigurator\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityExtremePanel\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityExtremePanel\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HeathrowOneConfigurator\":{\"type\":\"reactHoc\",\"name\":\"HeathrowOneConfigurator\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HeathrowFourConfigurator\":{\"type\":\"reactHoc\",\"name\":\"HeathrowFourConfigurator\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"TandC\":{\"type\":\"reactHoc\",\"name\":\"TandC\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"TaCToggle\":{\"type\":\"reactHoc\",\"name\":\"TaCToggle\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LuxUsbcFiveConfiguratorBottom\":{\"type\":\"reactHoc\",\"name\":\"LuxUsbcFiveConfiguratorBottom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityExtremeGreenPanel\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityExtremeGreenPanel\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addVisibilityLuxUsbcPanelOne\":{\"type\":\"reactHoc\",\"name\":\"addVisibilityLuxUsbcPanelOne\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MoEOneConfiguratorBottom\":{\"type\":\"reactHoc\",\"name\":\"MoEOneConfiguratorBottom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Os014.map","// Generated by Framer (af78293)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getLoadingLazyAtYPosition,Image as Image1,RichText,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useOnVariantChange,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const cycleOrder=[\"mLS8JQlL6\",\"T1swAmdAo\",\"OHlyuKYwu\"];const serializationHash=\"framer-uSIt6\";const variantClassNames={mLS8JQlL6:\"framer-v-1yfsodj\",OHlyuKYwu:\"framer-v-1hp66nm\",T1swAmdAo:\"framer-v-pal0be\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={duration:0,type:\"tween\"};const transition2={delay:0,duration:2,ease:[.44,0,.91,.63],type:\"tween\"};const transition3={bounce:0,delay:0,duration:1,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const humanReadableVariantMap={Empty:\"mLS8JQlL6\",Full:\"T1swAmdAo\",Gone:\"OHlyuKYwu\"};const Variants=motion.create(React.Fragment);const getProps=({height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"mLS8JQlL6\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"mLS8JQlL6\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onAppearhcc8y5=activeVariantCallback(async(...args)=>{await delay(()=>setVariant(\"T1swAmdAo\"),400);});const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const onAppearza0z9v=activeVariantCallback(async(...args)=>{await delay(()=>setVariant(\"OHlyuKYwu\"),2e3);});useOnVariantChange(baseVariant,{default:onAppearhcc8y5,OHlyuKYwu:undefined,T1swAmdAo:onAppearza0z9v});return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,...addPropertyOverrides({OHlyuKYwu:{value:transition3},T1swAmdAo:{value:transition2}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1yfsodj\",className,classNames),\"data-framer-name\":\"Empty\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"mLS8JQlL6\",ref:refBinding,style:{backdropFilter:\"blur(8px)\",backgroundColor:\"rgba(0, 0, 0, 0.95)\",opacity:1,WebkitBackdropFilter:\"blur(8px)\",...style},variants:{OHlyuKYwu:{opacity:0}},...addPropertyOverrides({OHlyuKYwu:{\"data-framer-name\":\"Gone\",\"data-highlight\":undefined},T1swAmdAo:{\"data-framer-name\":\"Full\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(motion.div,{className:\"framer-1d4pkuc\",\"data-framer-name\":\"Spacer Frame\",layoutDependency:layoutDependency,layoutId:\"QlOIyZwhl\"}),/*#__PURE__*/_jsx(Image1,{background:{alt:\"\",fit:\"fit\",intrinsicHeight:119,intrinsicWidth:800,loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+0+100),pixelHeight:119,pixelWidth:800,positionX:\"center\",positionY:\"center\",sizes:\"172px\",src:\"https://framerusercontent.com/images/iucyYU73slKFmO7mpv9JB1yFJ9Y.png?width=800&height=119\",srcSet:\"https://framerusercontent.com/images/iucyYU73slKFmO7mpv9JB1yFJ9Y.png?scale-down-to=512&width=800&height=119 512w,https://framerusercontent.com/images/iucyYU73slKFmO7mpv9JB1yFJ9Y.png?width=800&height=119 800w\"},className:\"framer-1qm0d5f\",\"data-framer-name\":\"Logo\",layoutDependency:layoutDependency,layoutId:\"ArvKCREOm\",style:{opacity:.2},...addPropertyOverrides({OHlyuKYwu:{background:{alt:\"\",fit:\"fit\",intrinsicHeight:119,intrinsicWidth:800,loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+0+110),pixelHeight:119,pixelWidth:800,positionX:\"center\",positionY:\"center\",sizes:\"172px\",src:\"https://framerusercontent.com/images/iucyYU73slKFmO7mpv9JB1yFJ9Y.png?width=800&height=119\",srcSet:\"https://framerusercontent.com/images/iucyYU73slKFmO7mpv9JB1yFJ9Y.png?scale-down-to=512&width=800&height=119 512w,https://framerusercontent.com/images/iucyYU73slKFmO7mpv9JB1yFJ9Y.png?width=800&height=119 800w\"}}},baseVariant,gestureVariant)}),/*#__PURE__*/_jsxs(motion.div,{className:\"framer-1dqjcmq\",layoutDependency:layoutDependency,layoutId:\"RjtIvCE5i\",children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"Q1VTVE9NVjI7R290aGFtIEJvbGQ=\",\"--framer-font-family\":'\"Gotham Bold\", \"Gotham Bold Placeholder\", sans-serif',\"--framer-font-size\":\"21px\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-4abda631-939c-45d9-9003-20e01a6e3083, rgb(153, 153, 153)))\"},children:\"Building your special offer\"})}),className:\"framer-q2u2d3\",fonts:[\"CUSTOMV2;Gotham Bold\"],layoutDependency:layoutDependency,layoutId:\"B_d58OHVZ\",style:{\"--extracted-r6o4lv\":\"var(--token-4abda631-939c-45d9-9003-20e01a6e3083, rgb(153, 153, 153))\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsxs(motion.div,{className:\"framer-1qdk39r\",layoutDependency:layoutDependency,layoutId:\"oIg_VZQWq\",style:{opacity:1},variants:{OHlyuKYwu:{opacity:0}},children:[/*#__PURE__*/_jsx(motion.div,{className:\"framer-2xj8c1\",layoutDependency:layoutDependency,layoutId:\"NfPc3PUwv\",style:{backgroundColor:\"var(--token-e2d921ba-a9a7-4fb6-8b79-b3a515bae2d7, rgb(69, 69, 69))\",borderBottomLeftRadius:83,borderBottomRightRadius:83,borderTopLeftRadius:83,borderTopRightRadius:83}}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-1aquesx\",layoutDependency:layoutDependency,layoutId:\"xacQywV9R\",style:{backgroundColor:\"var(--token-c193b545-a5b6-4419-bf84-06f3abd5ec84, rgb(255, 216, 20))\",borderBottomLeftRadius:83,borderBottomRightRadius:83,borderTopLeftRadius:83,borderTopRightRadius:83}})]})]})]})})})});});const css=[\".framer-uSIt6.framer-uup92y, .framer-uSIt6 .framer-uup92y { display: block; }\",\".framer-uSIt6.framer-1yfsodj { align-content: center; align-items: center; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 50px; height: 1200px; justify-content: flex-start; overflow: hidden; padding: 0px; position: relative; width: 1200px; }\",\".framer-uSIt6 .framer-1d4pkuc { flex: none; height: 50px; overflow: visible; position: relative; width: 100%; }\",\".framer-uSIt6 .framer-1qm0d5f { aspect-ratio: 6.857142857142857 / 1; flex: none; height: auto; overflow: hidden; position: relative; width: 172px; will-change: var(--framer-will-change-filter-override, filter); }\",\".framer-uSIt6 .framer-1dqjcmq { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 16px; height: min-content; justify-content: center; overflow: visible; padding: 0px 32px 0px 32px; position: relative; width: 100%; }\",\".framer-uSIt6 .framer-q2u2d3 { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-uSIt6 .framer-1qdk39r { flex: none; gap: 10px; height: 16px; max-width: 600px; overflow: hidden; position: relative; width: 100%; }\",\".framer-uSIt6 .framer-2xj8c1 { bottom: 0px; flex: none; left: 0px; overflow: hidden; position: absolute; right: 0px; top: 0px; will-change: var(--framer-will-change-override, transform); }\",\".framer-uSIt6 .framer-1aquesx { bottom: 0px; flex: none; left: 0px; overflow: hidden; position: absolute; top: 0px; width: 0%; will-change: var(--framer-will-change-override, transform); }\",\".framer-uSIt6.framer-v-pal0be .framer-1aquesx { width: 100%; }\",\".framer-uSIt6.framer-v-1hp66nm.framer-1yfsodj { gap: 60px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 1200\n * @framerIntrinsicWidth 1200\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"T1swAmdAo\":{\"layout\":[\"fixed\",\"fixed\"]},\"OHlyuKYwu\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerkX79D0Q53=withCSS(Component,css,\"framer-uSIt6\");export default FramerkX79D0Q53;FramerkX79D0Q53.displayName=\"MAGFAST loader\";FramerkX79D0Q53.defaultProps={height:1200,width:1200};addPropertyControls(FramerkX79D0Q53,{variant:{options:[\"mLS8JQlL6\",\"T1swAmdAo\",\"OHlyuKYwu\"],optionTitles:[\"Empty\",\"Full\",\"Gone\"],title:\"Variant\",type:ControlType.Enum}});addFonts(FramerkX79D0Q53,[{explicitInter:true,fonts:[{cssFamilyName:\"Gotham Bold\",source:\"custom\",style:\"normal\",uiFamilyName:\"Gotham\",url:\"https://framerusercontent.com/assets/gxvEPo6FhTDeDVs7jJuS6HLoP98.otf\",weight:\"400\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerkX79D0Q53\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"1200\",\"framerDisplayContentsDiv\":\"false\",\"framerComponentViewportWidth\":\"true\",\"framerContractVersion\":\"1\",\"framerImmutableVariables\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"T1swAmdAo\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"OHlyuKYwu\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerAutoSizeImages\":\"true\",\"framerIntrinsicWidth\":\"1200\",\"framerColorSyntax\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./kX79D0Q53.map","// Generated by Framer (6ca5d98)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,useSVGTemplate,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask=\"var(--framer-icon-mask)\";const Base=/*#__PURE__*/forwardRef(function(props,ref){return /*#__PURE__*/_jsx(\"svg\",{...props,ref:ref,children:props.children});});const MotionSVG=motion.create(Base);const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(MotionSVG,{...rest,layoutId:layoutId,ref:ref,children:children}):/*#__PURE__*/_jsx(\"svg\",{...rest,ref:ref,children:children});});const svg='<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 9 4.89 L 0.066 0 C 0.023 0.096 0 0.2 0 0.305 L 0 9.271 C 0.001 9.544 0.15 9.796 0.39 9.927 L 8.64 14.444 C 8.75 14.505 8.874 14.537 9 14.538 Z\" fill-opacity=\"var(--1m6trwb, 0)\" fill=\"var(--21h8s6, rgb(0, 0, 0))\" height=\"14.537812500000001px\" id=\"yvFPtUjlw\" transform=\"translate(3 7.212)\" width=\"9px\"/><path d=\"M 0 0 L 8.934 4.89 L 17.869 0\" fill=\"transparent\" height=\"4.890000000000001px\" id=\"xJkZrZMfa\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--pgex8v, 1.5)\" stroke=\"var(--21h8s6, rgb(0, 0, 0))\" transform=\"translate(3.066 7.211)\" width=\"17.868750000000002px\"/><path d=\"M 0 0 L 0 9.645\" fill=\"transparent\" height=\"9.644999999999996px\" id=\"n0tkwYw6o\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--pgex8v, 1.5)\" stroke=\"var(--21h8s6, rgb(0, 0, 0))\" transform=\"translate(12 12.102)\" width=\"1px\"/><path d=\"M 17.61 14.89 L 9.36 19.406 C 9.136 19.529 8.864 19.529 8.64 19.406 L 0.39 14.89 C 0.15 14.758 0.001 14.507 0 14.233 L 0 5.265 C 0.001 4.992 0.15 4.74 0.39 4.609 L 8.64 0.092 C 8.864 -0.031 9.136 -0.031 9.36 0.092 L 17.61 4.609 C 17.85 4.74 17.999 4.992 18 5.265 L 18 14.231 C 18 14.506 17.851 14.758 17.61 14.89 Z\" fill=\"transparent\" height=\"19.498472268032327px\" id=\"Rdf6WWO5R\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--pgex8v, 1.5)\" stroke=\"var(--21h8s6, rgb(0, 0, 0))\" transform=\"translate(3 2.252)\" width=\"18px\"/><path d=\"M 0 0 L 8.854 4.846 L 8.854 9.721\" fill=\"transparent\" height=\"9.720937499999998px\" id=\"gi4x7Hn6Y\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--pgex8v, 1.5)\" stroke=\"var(--21h8s6, rgb(0, 0, 0))\" transform=\"translate(7.646 4.529)\" width=\"8.853749999999991px\"/></svg>';const getProps=({alpha,color,height,id,width,width1,...props})=>{return{...props,ezTt3ayMo:color??props.ezTt3ayMo??\"rgb(0, 0, 0)\",lschgej4H:width1??props.lschgej4H??1.5,qxTvv_EBh:alpha??props.qxTvv_EBh};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,ezTt3ayMo,lschgej4H,qxTvv_EBh,...restProps}=getProps(props);const href=useSVGTemplate(\"2831031560\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-eHQJo\",className),layoutId:layoutId,ref:ref,role:\"presentation\",style:{\"--1m6trwb\":qxTvv_EBh,\"--21h8s6\":ezTt3ayMo,\"--pgex8v\":lschgej4H,...style},viewBox:\"0 0 24 24\",children:/*#__PURE__*/_jsx(\"use\",{href:href})});});const css=[`.framer-eHQJo { -webkit-mask: ${mask}; aspect-ratio: 1; display: block; mask: ${mask}; width: 24px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"ezTt3ayMo\":\"color\",\"lschgej4H\":\"width1\",\"qxTvv_EBh\":\"alpha\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Package\",\"color\":{\"type\":\"variable\",\"value\":\"21h8s6\"},\"set\":{\"localId\":\"vectorSet/NGVKdicsm\",\"id\":\"NGVKdicsm\",\"moduleId\":\"omX0gWFPqDwhaiWwf6ab\"}}\n * @framerDisableUnlink true\n */const Icon=withCSS(Component,css,\"framer-eHQJo\");Icon.displayName=\"Package\";export default Icon;addPropertyControls(Icon,{ezTt3ayMo:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Color\",type:ControlType.Color},lschgej4H:{defaultValue:1.5,displayStepper:true,hidden:false,max:6,min:0,step:.5,title:\"Width\",type:ControlType.Number},qxTvv_EBh:{defaultValue:0,displayStepper:true,hidden:false,max:1,min:0,step:.1,title:\"Alpha\",type:ControlType.Number}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"true\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"24\",\"framerVector\":\"{\\\"name\\\":\\\"Package\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"21h8s6\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/NGVKdicsm\\\",\\\"id\\\":\\\"NGVKdicsm\\\",\\\"moduleId\\\":\\\"omX0gWFPqDwhaiWwf6ab\\\"}}\",\"framerIntrinsicHeight\":\"24\",\"framerVariables\":\"{\\\"ezTt3ayMo\\\":\\\"color\\\",\\\"lschgej4H\\\":\\\"width1\\\",\\\"qxTvv_EBh\\\":\\\"alpha\\\"}\",\"framerImmutableVariables\":\"true\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (b8c9ccb)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,RichText,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS,withFX}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const MotionDivWithFX=withFX(motion.div);const cycleOrder=[\"Ic0sfUAsm\",\"JY9Ibt5os\",\"qCCnpLVGQ\",\"I80nHxF3n\"];const serializationHash=\"framer-bPYsy\";const variantClassNames={I80nHxF3n:\"framer-v-paahdn\",Ic0sfUAsm:\"framer-v-bx4hro\",JY9Ibt5os:\"framer-v-1e6bjoe\",qCCnpLVGQ:\"framer-v-1ta945m\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const sjs1ACHIB=undefined;const Li_Wv9xP0=undefined;const e2Y1HO4EJ=undefined;const transition1={delay:0,duration:.5,ease:[.44,0,.56,1],type:\"tween\"};const animation={opacity:1,rotate:0,rotateX:0,rotateY:0,scale:1.02,skewX:0,skewY:0,x:0,y:0};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const humanReadableVariantMap={\"Checkout disabled\":\"qCCnpLVGQ\",\"Checkout-ready\":\"Ic0sfUAsm\",\"Chekout clicked\":\"JY9Ibt5os\",\"To cart\":\"I80nHxF3n\"};const Variants=motion.create(React.Fragment);const getProps=({height,hover,id,openCartOverlay,title,width,...props})=>{return{...props,e2Y1HO4EJ:title??props.e2Y1HO4EJ??\"Checkout\",Li_Wv9xP0:hover??props.Li_Wv9xP0,sjs1ACHIB:openCartOverlay??props.sjs1ACHIB,variant:humanReadableVariantMap[props.variant]??props.variant??\"Ic0sfUAsm\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,e2Y1HO4EJ,sjs1ACHIB,Li_Wv9xP0,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"Ic0sfUAsm\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTap1ncfxp5=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(sjs1ACHIB){const res=await sjs1ACHIB(...args);if(res===false)return false;}setVariant(\"JY9Ibt5os\");});const onMouseEnter1ad36jv=activeVariantCallback(async(...args)=>{setGestureState({isHovered:true});if(Li_Wv9xP0){const res=await Li_Wv9xP0(...args);if(res===false)return false;}});const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(MotionDivWithFX,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-bx4hro\",className,classNames),\"data-border\":true,\"data-framer-name\":\"Checkout-ready\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"Ic0sfUAsm\",onMouseEnter:onMouseEnter1ad36jv,onTap:onTap1ncfxp5,ref:refBinding,style:{\"--border-bottom-width\":\"1.5px\",\"--border-color\":\"rgb(248, 204, 14)\",\"--border-left-width\":\"1.5px\",\"--border-right-width\":\"1.5px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1.5px\",backgroundColor:\"rgb(255, 216, 20)\",borderBottomLeftRadius:50,borderBottomRightRadius:50,borderTopLeftRadius:50,borderTopRightRadius:50,boxShadow:\"none\",...style},variants:{I80nHxF3n:{boxShadow:\"none\"},JY9Ibt5os:{\"--border-bottom-width\":\"0px\",\"--border-left-width\":\"0px\",\"--border-right-width\":\"0px\",\"--border-top-width\":\"0px\",backgroundColor:\"var(--token-23e5d15a-7598-41af-937c-24e1a3bbc591, rgb(255, 216, 20))\",boxShadow:\"inset 0px 0px 3px 3px rgba(255, 162, 0, 0.67)\"},qCCnpLVGQ:{\"--border-color\":\"var(--token-fd8a3bc6-f72b-4fb0-8f34-1c63fcfaf76a, rgb(201, 201, 201))\",backgroundColor:\"var(--token-932e8cc2-c7ae-4bb6-906a-ff3896372e31, rgb(249, 249, 249))\",boxShadow:\"none\"}},...addPropertyOverrides({I80nHxF3n:{\"data-framer-name\":\"To cart\"},JY9Ibt5os:{__framer__loop:animation,__framer__loopEffectEnabled:true,__framer__loopPauseOffscreen:false,__framer__loopRepeatDelay:0,__framer__loopRepeatType:\"mirror\",__framer__loopTransition:transition1,__perspectiveFX:false,__smartComponentFX:true,__targetOpacity:1,\"data-framer-name\":\"Chekout clicked\"},qCCnpLVGQ:{\"data-framer-name\":\"Checkout disabled\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--framer-line-height\":\"18px\",\"--framer-text-alignment\":\"center\"},children:/*#__PURE__*/_jsx(motion.span,{style:{\"--font-selector\":\"Q1VTVE9NO0dvdGhhbSBNZWRpdW0=\",\"--framer-font-family\":'\"Gotham Medium\", sans-serif',\"--framer-font-weight\":\"350\"},children:\"Checkout\"})})}),className:\"framer-1k5asky\",\"data-framer-name\":\"Disable\",fonts:[\"CUSTOM;Gotham Medium\"],layoutDependency:layoutDependency,layoutId:\"xmIPs5EU1\",text:e2Y1HO4EJ,variants:{qCCnpLVGQ:{\"--extracted-1w3ko1f\":\"var(--token-fd8a3bc6-f72b-4fb0-8f34-1c63fcfaf76a, rgb(201, 201, 201))\"}},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({JY9Ibt5os:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--framer-line-height\":\"18px\",\"--framer-text-alignment\":\"center\"},children:/*#__PURE__*/_jsx(motion.span,{style:{\"--font-selector\":\"Q1VTVE9NO0dvdGhhbSBNZWRpdW0=\",\"--framer-font-family\":'\"Gotham Medium\", sans-serif',\"--framer-font-weight\":\"350\"},children:\"Preparing your order...\"})})})},qCCnpLVGQ:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--framer-line-height\":\"18px\",\"--framer-text-alignment\":\"center\"},children:/*#__PURE__*/_jsx(motion.span,{style:{\"--font-selector\":\"Q1VTVE9NO0dvdGhhbSBNZWRpdW0=\",\"--framer-font-family\":'\"Gotham Medium\", sans-serif',\"--framer-font-weight\":\"350\",\"--framer-text-color\":\"var(--extracted-1w3ko1f, var(--token-fd8a3bc6-f72b-4fb0-8f34-1c63fcfaf76a, rgb(201, 201, 201)))\"},children:\"Checkout\"})})})}},baseVariant,gestureVariant)})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-bPYsy.framer-aonakg, .framer-bPYsy .framer-aonakg { display: block; }\",\".framer-bPYsy.framer-bx4hro { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 4px; height: 42px; justify-content: center; overflow: visible; padding: 0px 20px 0px 20px; position: relative; width: min-content; }\",\".framer-bPYsy .framer-1k5asky { flex: none; height: auto; overflow: visible; position: relative; white-space: pre; width: auto; }\",\".framer-bPYsy.framer-v-1e6bjoe .framer-1k5asky { order: 1; z-index: 2; }\",'.framer-bPYsy[data-border=\"true\"]::after, .framer-bPYsy [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; corner-shape: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 42\n * @framerIntrinsicWidth 116\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"fixed\"]},\"JY9Ibt5os\":{\"layout\":[\"auto\",\"fixed\"]},\"qCCnpLVGQ\":{\"layout\":[\"auto\",\"fixed\"]},\"I80nHxF3n\":{\"layout\":[\"auto\",\"fixed\"]}}}\n * @framerVariables {\"e2Y1HO4EJ\":\"title\",\"sjs1ACHIB\":\"openCartOverlay\",\"Li_Wv9xP0\":\"hover\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerKYlRni61j=withCSS(Component,css,\"framer-bPYsy\");export default FramerKYlRni61j;FramerKYlRni61j.displayName=\"MAGFAST Checkout Button\";FramerKYlRni61j.defaultProps={height:42,width:116};addPropertyControls(FramerKYlRni61j,{variant:{options:[\"Ic0sfUAsm\",\"JY9Ibt5os\",\"qCCnpLVGQ\",\"I80nHxF3n\"],optionTitles:[\"Checkout-ready\",\"Chekout clicked\",\"Checkout disabled\",\"To cart\"],title:\"Variant\",type:ControlType.Enum},e2Y1HO4EJ:{defaultValue:\"Checkout\",displayTextArea:false,title:\"Title\",type:ControlType.String},one2Y1HO4EJChange:{changes:\"e2Y1HO4EJ\",type:ControlType.ChangeHandler},sjs1ACHIB:{title:\"Open Cart Overlay\",type:ControlType.EventHandler},Li_Wv9xP0:{title:\"Hover\",type:ControlType.EventHandler}});addFonts(FramerKYlRni61j,[{explicitInter:true,fonts:[{cssFamilyName:\"Gotham Medium\",source:\"custom\",style:\"normal\",uiFamilyName:\"Gotham\",url:\"https://framerusercontent.com/assets/xpupePv7sw0Oc7lY93qYjIHGTA.otf\",weight:\"350\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerKYlRni61j\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"42\",\"framerColorSyntax\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerVariables\":\"{\\\"e2Y1HO4EJ\\\":\\\"title\\\",\\\"sjs1ACHIB\\\":\\\"openCartOverlay\\\",\\\"Li_Wv9xP0\\\":\\\"hover\\\"}\",\"framerDisplayContentsDiv\":\"false\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicWidth\":\"116\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"JY9Ibt5os\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"qCCnpLVGQ\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"I80nHxF3n\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]}}}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./KYlRni61j.map","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState,useEffect,useRef}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";const orderHeaderRow={background:\"#C9C9C9\"};const table_td_th={padding:\".75rem\",\"vertical-align\":\"top\",\"border-top\":\"0px solid #dee2e6\"};const orderHeaderText={padding:\"10px 10px\",fontWeight:\"bold\"};const tableHeaderColumns={background:\"#F9F9F9\"};const colPproduct={width:\"25%\"};const colPaid={width:\"25%\"};const colRetail={width:\"25%\"};const colMagbucks={width:\"25%\"};const colVouchers={width:\"25%\"};const formatCurrencyValue=value=>`$${value??0}`;const getSkuVoucherValue=sku=>sku?.vouchers??0;const useStore=createStore({customerData:{person:{first_name:\"\",first_name_optional:\"\",last_name:\"\",email:\"\",phone_number:\"\",magbucks:\"0.00\",vouchers:\"0.00\",person_id:\"\"},orders:[]},loadingState:\"LOADING\"});const ENDPOINT_CUSTOMER_DATA=\"https://cjcnsf3en5.us-east-1.awsapprunner.com/getCustomerPIInfoBySpotId\";function parseMoneyAmount(value){const n=Number.parseFloat(String(value??\"\").replace(/[$,]/g,\"\"));return Number.isFinite(n)?n:0;}function saveCustomerBalancesToStorage(spotId,magbucks,vouchers){const balances={spotId,magbucks:parseMoneyAmount(magbucks),invVoucherAmount:parseMoneyAmount(vouchers),updatedAt:Date.now()};window.__magfastCustomerBalances=balances;window.dispatchEvent(new CustomEvent(\"magfast:customer-balances\",{detail:balances}));}function getCustomerFirstName(data){return data?.person_details?.first_name??data?.person?.first_name??data?.customer?.first_name??data?.first_name??\"\";}function getCustomerOptionalFirstName(data){return data?.person_details?.first_name_optional??data?.person_details?.first_name??data?.person?.first_name_optional??data?.person?.first_name??data?.customer?.first_name_optional??data?.customer?.first_name??data?.first_name_optional??data?.first_name??\"\";}const getCustomerData=async endpoint=>{try{const response=await fetch(endpoint,{method:\"GET\",headers:{\"Content-Type\":\"application/json; charset=UTF-8\",Accept:\"*/*\"}});if(!response.ok){throw new Error(`HTTP error! status: ${response.status}`);}return response.json();}catch(error){console.error(\"Error fetching data: \",error);return null;}};const replacePlaceholders=(template,data)=>{if(template==null)return\"\";const stringTemplate=String(template);try{return stringTemplate.replace(/\\{\\{(\\w+)(?:\\|([^}]*))?}}/g,(_,key,defaultValue)=>{const value=data[key];return value!=null&&value!==\"\"?String(value):defaultValue??`{{${key}}}`;});}catch(error){console.error(\"replacePlaceholders error:\",error);return stringTemplate;}};export function loadData(Component){localStorage.removeItem(\"mos017state\");return function WrappedComponent(props){const[store,setStore]=useStore();const dataFetched=useRef(false);useEffect(()=>{const fetchData=async()=>{const urlParams=new URLSearchParams(window.location.search);const urlSpotId=urlParams.get(\"spot_id\");const storedSpotId=localStorage.getItem(\"spot_id\");const spotId=urlSpotId||storedSpotId;if(!spotId){console.warn(\"No spot_id found\");setStore(prev=>({...prev,customerData:{person:{first_name:\"Friend\",first_name_optional:\"Friend\",last_name:\"\",email:\"example@example.com\",phone_number:\"\",magbucks:\"0.00\",vouchers:\"0.00\",person_id:\"\"}},loadingState:\"LOADED\"}));return;}if(urlSpotId)localStorage.setItem(\"spot_id\",urlSpotId);if(!dataFetched.current){dataFetched.current=true;try{const endpoint=`${ENDPOINT_CUSTOMER_DATA}/${spotId}`;setTimeout(async()=>{const result=await getCustomerData(endpoint);if(result?.person_details){const person=result.person_details;const firstName=getCustomerFirstName(result).trim()||\"Friend\";const optionalFirstName=getCustomerOptionalFirstName(result).trim()||\"Friend\";const magbucks=result.magbucks;const vouchers=result.inv_voucher_balance??result.vouchers??person.vouchers;const orders=result.order_details;saveCustomerBalancesToStorage(spotId,magbucks,vouchers);setStore(prev=>({...prev,customerData:{person:{first_name:firstName,first_name_optional:optionalFirstName,last_name:person.last_name||\"\",email:person.primary_email||\"example@example.com\",phone_number:person.phone||\"\",magbucks:parseMoneyAmount(magbucks).toFixed(2),vouchers:parseMoneyAmount(vouchers).toFixed(2),person_id:person.person_id||\"\"},orders:orders||[]},loadingState:\"LOADED\"}));}else{throw new Error(\"Invalid person structure\");}},1500);}catch(error){console.error(\"Fetch failed:\",error);setStore(prev=>({...prev,customerData:{person:{first_name:\"Friend\",first_name_optional:\"Friend\",last_name:\"\",email:\"example@example.com\",phone_number:\"\",magbucks:\"0.00\",vouchers:\"0.00\",person_id:\"\"},orders:[]},loadingState:\"ERROR\"}));}}};fetchData();},[]);return /*#__PURE__*/_jsx(Component,{...props});};}export function SmartText(Component){return function WrappedSmartText(props){const[store]=useStore();const{customerData,loadingState}=store;const{person}=customerData;const processComponent=()=>{const processText=text=>replacePlaceholders(text,person);if(props.text){return /*#__PURE__*/_jsx(Component,{...props,text:processText(props.text)});}if(typeof props.children===\"string\"){return /*#__PURE__*/_jsx(Component,{...props,children:processText(props.children)});}return /*#__PURE__*/_jsx(SmartTextWrapper,{...props,customerData:person,Component:Component});};if(loadingState===\"LOADING\"){return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style,visibility:\"hidden\",position:\"relative\"},children:/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,right:0,bottom:0,display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},children:/*#__PURE__*/_jsx(LoadingIndicator,{})})});}return processComponent();};}const LoadingIndicator=()=>{const dotStyle={width:\"8px\",height:\"8px\",margin:\"0 4px\",borderRadius:\"50%\",backgroundColor:\"#ccc\",animation:\"pulse 1.5s infinite ease-in-out\"};return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                @keyframes pulse {\n                    0%, 100% { opacity: 0.3; transform: scale(0.8); }\n                    50% { opacity: 1; transform: scale(1); }\n                }\n            `}),/*#__PURE__*/_jsx(\"div\",{style:{...dotStyle,animationDelay:\"0s\"}}),/*#__PURE__*/_jsx(\"div\",{style:{...dotStyle,animationDelay:\"0.3s\"}}),/*#__PURE__*/_jsx(\"div\",{style:{...dotStyle,animationDelay:\"0.6s\"}})]});};function SmartTextWrapper({Component,customerData,...props}){const containerRef=useRef(null);useEffect(()=>{if(!containerRef.current)return;const processTextNode=node=>{const originalText=node.nodeValue||\"\";if(originalText.match(/\\{\\{(\\w+)(?:\\|([^}]*))?}}/)){const newText=replacePlaceholders(originalText,customerData);if(newText!==originalText){node.nodeValue=newText;}}};const observer=new MutationObserver(mutations=>{for(const mutation of mutations){if(mutation.type===\"childList\"){mutation.addedNodes.forEach(processNode);}else if(mutation.type===\"characterData\"){if(mutation.target.nodeType===Node.TEXT_NODE){processTextNode(mutation.target);}}}});const processNode=node=>{if(node.nodeType===Node.TEXT_NODE){processTextNode(node);}else{node.childNodes.forEach(processNode);}};processNode(containerRef.current);observer.observe(containerRef.current,{childList:true,subtree:true,characterData:true,characterDataOldValue:true});return()=>observer.disconnect();},[customerData]);return /*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:{display:\"contents\"},children:/*#__PURE__*/_jsx(Component,{...props})});}function useSpotIdPresence(){const[hasSpotId,setHasSpotId]=useState(null);useEffect(()=>{const urlParams=new URLSearchParams(window.location.search);const urlSpotId=urlParams.get(\"spot_id\");const storedSpotId=localStorage.getItem(\"spot_id\");if(urlSpotId){localStorage.setItem(\"spot_id\",urlSpotId);}setHasSpotId(Boolean(urlSpotId||storedSpotId));},[]);return hasSpotId;}export function showIfSpotExists(Component){return function WrappedComponent(props){const hasSpotId=useSpotIdPresence();if(hasSpotId===null)return null;return hasSpotId?/*#__PURE__*/_jsx(Component,{...props}):null;};}export function showIfNoSpot(Component){return function WrappedComponent(props){const hasSpotId=useSpotIdPresence();if(hasSpotId===null)return null;return!hasSpotId?/*#__PURE__*/_jsx(Component,{...props}):null;};}export function showIfMagbucksExists(Component){return function WrappedComponent(props){const[store]=useStore();const{customerData,loadingState}=store;const{person}=customerData;const magbucks=!isNaN(person.magbucks)?parseInt(person?.magbucks):0;return magbucks>0?/*#__PURE__*/_jsx(Component,{...props}):null;};}export function showIfNoMagbucks(Component){return function WrappedComponent(props){const[store]=useStore();const{customerData,loadingState}=store;const{person}=customerData;const magbucks=!isNaN(person.magbucks)?parseInt(person?.magbucks):0;return magbucks<=0?/*#__PURE__*/_jsx(Component,{...props}):null;};}export function showIfVouchersExists(Component){return function WrappedComponent(props){const[store]=useStore();const{customerData,loadingState}=store;const{person}=customerData;const vouchers=!isNaN(person.vouchers)?parseInt(person?.vouchers):0;return vouchers>0?/*#__PURE__*/_jsx(Component,{...props}):null;};}export function showIfMagbucksOrVouchersExists(Component){return function WrappedComponent(props){const[store]=useStore();const{customerData,loadingState}=store;const{person}=customerData;const magbucks=!isNaN(person.magbucks)?parseInt(person?.magbucks):0;const vouchers=!isNaN(person.vouchers)?parseInt(person?.vouchers):0;return magbucks>0||vouchers>0?/*#__PURE__*/_jsx(Component,{...props}):null;};}export function showIfNoVouchers(Component){return function WrappedComponent(props){const[store]=useStore();const{customerData,loadingState}=store;const{person}=customerData;const vouchers=!isNaN(person.vouchers)?parseInt(person?.vouchers):0;return vouchers<=0?/*#__PURE__*/_jsx(Component,{...props}):null;};}export function Orders(Component){return props=>{const[store,setStore]=useStore();useEffect(()=>{const link=document.createElement(\"link\");link.rel=\"stylesheet\";link.href=\"https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css\";document.head.appendChild(link);return()=>{document.head.removeChild(link);};},[store]);if(!store.customerData){return /*#__PURE__*/_jsx(\"div\",{children:\"Loading...\"})// Placeholder for loading state\n;}return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",height:\"100%\",marginTop:\"-30px\"},children:[/*#__PURE__*/_jsx(Component,{...props}),/*#__PURE__*/_jsx(\"div\",{className:\"row\",style:{marginTop:\"0px\",fontFamily:\"Gotham Book\"},children:/*#__PURE__*/_jsx(\"div\",{className:\"col-sm-12\",children:store.customerData.orders.map(order=>/*#__PURE__*/_jsx(OrderDetails,{order:order},order.order_id))})})]});};}const OrderDetails=({order})=>{const partially_paid=order.financial_status==\"partially_paid_plan\"?true:false;const colWidths={colTitle:{width:\"35%\"},colQty:{width:\"10%\"},colRetail:{width:\"20%\"},colMagbucks:{width:\"17.5%\"},colVouchers:{width:\"17.5%\"},colPayments:{width:\"0%\"}};if(partially_paid){colWidths[\"colTitle\"]={width:\"35%\"};colWidths[\"colQty\"]={width:\"10%\"};colWidths[\"colRetail\"]={width:\"15%\"};colWidths[\"colMagbucks\"]={width:\"12.5%\"};colWidths[\"colVouchers\"]={width:\"12.5%\"};colWidths[\"colPayments\"]={width:\"15%\"};}return /*#__PURE__*/_jsxs(\"div\",{style:{marginTop:\"70px\"},children:[/*#__PURE__*/_jsxs(\"h3\",{children:[\"Order ID: \",order.order_name]}),/*#__PURE__*/_jsx(\"div\",{className:\"table-responsive\",children:/*#__PURE__*/_jsxs(\"table\",{className:\"table\",style:{borderCollapse:\"collapse\",borderTop:\"none\",borderBottom:\"none\"},children:[/*#__PURE__*/_jsx(\"thead\",{children:/*#__PURE__*/_jsxs(\"tr\",{children:[/*#__PURE__*/_jsx(\"th\",{style:colWidths.colTitle,children:\"Product\"}),/*#__PURE__*/_jsx(\"th\",{style:colWidths.colQty,children:\"Qty\"}),/*#__PURE__*/_jsx(\"th\",{style:colWidths.colRetail,children:\"Full retail\"}),order.financial_status==\"partially_paid_plan\"&&/*#__PURE__*/_jsx(\"th\",{style:colWidths.colPayments,children:\"Payments Completed\"}),/*#__PURE__*/_jsx(\"th\",{style:colWidths.colMagbucks,children:\"Your MAGBucks\"}),/*#__PURE__*/_jsx(\"th\",{style:colWidths.colVouchers,children:\"Vouchers\"})]})}),/*#__PURE__*/_jsx(\"tbody\",{children:order.lineItems.length>0?order.lineItems.map((line_item,index)=>/*#__PURE__*/_jsx(LineItemRow,{line_item:line_item,isLastItem:index===order.lineItems.length-1,partiallyPaidPlan:order.financial_status==\"partially_paid_plan\"?true:false,paymentCount:order.payment_count},index)):/*#__PURE__*/_jsx(\"tr\",{children:/*#__PURE__*/_jsx(\"td\",{colSpan:order.financial_status==\"partially_paid_plan\"?\"6\":\"5\",style:{textAlign:\"center\"},children:\"No line items available\"})})})]})})]});};const LineItemRow=({line_item,isLastItem,partiallyPaidPlan,paymentCount})=>/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"tr\",{style:{background:isLastItem?\"#C9C9C9\":\"transparent\",height:\"40px\",border:\"none\"},children:[/*#__PURE__*/_jsx(\"td\",{colSpan:line_item.type===\"combo\"?partiallyPaidPlan?\"6\":\"5\":undefined,className:line_item.type===\"combo\"?\"\":\"col-product\",style:{fontWeight:line_item.type===\"combo\"?\"bold\":\"normal\"},children:line_item.type===\"combo\"?line_item.title:line_item.skus[0].sku}),line_item.type!==\"combo\"&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"td\",{className:\"\",children:line_item.skus[0].quantity_unfulfilled}),/*#__PURE__*/_jsx(\"td\",{className:\"\",children:isLastItem?\"\":formatCurrencyValue(line_item.skus[0].retail_price)}),partiallyPaidPlan&&/*#__PURE__*/_jsx(\"td\",{className:\"\",children:!isLastItem?`${paymentCount}/6`:\"\"}),/*#__PURE__*/_jsx(\"td\",{className:\"\",children:isLastItem?/*#__PURE__*/_jsx(\"b\",{children:formatCurrencyValue(line_item.skus[0].magbucks)}):formatCurrencyValue(line_item.skus[0].magbucks)}),/*#__PURE__*/_jsx(\"td\",{className:\"\",children:isLastItem?/*#__PURE__*/_jsx(\"b\",{children:formatCurrencyValue(getSkuVoucherValue(line_item.skus[0]))}):formatCurrencyValue(getSkuVoucherValue(line_item.skus[0]))})]})]}),line_item.type===\"combo\"&&line_item.skus.map((sku,skuIndex)=>/*#__PURE__*/_jsxs(\"tr\",{style:{height:\"40px\",border:\"none\"},children:[/*#__PURE__*/_jsx(\"td\",{className:\"\",style:{paddingLeft:\"30px\"},children:sku.sku}),/*#__PURE__*/_jsx(\"td\",{className:\"\",children:sku.quantity_unfulfilled}),/*#__PURE__*/_jsx(\"td\",{className:\"\",children:formatCurrencyValue(sku.retail_price)}),partiallyPaidPlan&&/*#__PURE__*/_jsx(\"td\",{className:\"\",children:!isLastItem?`${paymentCount}/6`:\"\"}),/*#__PURE__*/_jsx(\"td\",{className:\"\",children:formatCurrencyValue(sku.magbucks)}),/*#__PURE__*/_jsx(\"td\",{className:\"\",children:formatCurrencyValue(getSkuVoucherValue(sku))})]}))]});\nexport const __FramerMetadata__ = {\"exports\":{\"showIfNoVouchers\":{\"type\":\"reactHoc\",\"name\":\"showIfNoVouchers\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Orders\":{\"type\":\"reactHoc\",\"name\":\"Orders\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"showIfSpotExists\":{\"type\":\"reactHoc\",\"name\":\"showIfSpotExists\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SmartText\":{\"type\":\"reactHoc\",\"name\":\"SmartText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"showIfMagbucksExists\":{\"type\":\"reactHoc\",\"name\":\"showIfMagbucksExists\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"showIfVouchersExists\":{\"type\":\"reactHoc\",\"name\":\"showIfVouchersExists\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"showIfMagbucksOrVouchersExists\":{\"type\":\"reactHoc\",\"name\":\"showIfMagbucksOrVouchersExists\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"showIfNoMagbucks\":{\"type\":\"reactHoc\",\"name\":\"showIfNoMagbucks\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"loadData\":{\"type\":\"reactHoc\",\"name\":\"loadData\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"showIfNoSpot\":{\"type\":\"reactHoc\",\"name\":\"showIfNoSpot\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SmartText.map"],"mappings":"idAsPyE,SAAgB,EAAM,EAAU,CAAC,MAAO,IAAO,CAAC,GAAK,CAAC,EAAM,GAAUA,EAAS,EAAE,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,QAAQ,GAAG,CAAC,IAAM,EAAQ,CAAC,EAAM,aAAa,eAAe,CAAC,IAAM,EAAM,SAAS,eAAe,SAAS,CAAC,CAAC,YAAY,EAAS,CAAC,GAAG,EAAM,UAAU,EAAM,aAA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