{"version":3,"file":"CheckoutReturn.DjiZcfYA.mjs","names":["useState","useCallback","useMemo"],"sources":["https:/framerusercontent.com/modules/cxyj30pRFVdlIyopprEu/0NtKapPDmUWq1GIZQYim/CheckoutReturn.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useCallback,useEffect,useMemo,useState,startTransition}from\"react\";import{addPropertyControls,ControlType,RenderTarget,useIsStaticRenderer}from\"framer\";import{CHECKOUT_API_URL}from\"https://framerusercontent.com/modules/7T1gHUWmR8XyjOqasBFr/bgHu3nBp2prq1boL3e0J/CheckoutConfig.js\";const STORAGE_KEY=\"pilot:test-cart:v1\";const SAME_TAB_EVENT=\"pilot:test-cart-updated\";const CHECKOUT_DRAFT_KEY=\"pilot:checkout:customer:draft:v1\";const CHECKOUT_REDIRECT_PENDING_KEY=\"pilot:checkout:redirect:pending:v1\";const CHECKOUT_CROSS_TAB_PREFIX=\"pilot:checkout:cross-tab:v1:\";const CHECKOUT_CROSS_TAB_MAX_AGE_MS=2*60*60*1e3;function restoreCrossTabReceipt(orderID){if(typeof window===\"undefined\")return null;const current=new URL(window.location.href);const sessionId=current.searchParams.get(\"hivex_pp_session\")||\"\";const safeParse=key=>{try{const raw=window.localStorage.getItem(key);if(!raw)return null;const item=JSON.parse(raw);if(!item||!item.checkoutSessionId||key!==CHECKOUT_CROSS_TAB_PREFIX+item.checkoutSessionId||!item.receiptToken||item.orderID!==orderID||typeof item.createdAt!==\"number\"||Date.now()-item.createdAt>CHECKOUT_CROSS_TAB_MAX_AGE_MS||item.createdAt>Date.now()+6e4){return null;}return item;}catch{return null;}};if(/^[a-zA-Z0-9_-]{16,100}$/.test(sessionId)){const found=safeParse(CHECKOUT_CROSS_TAB_PREFIX+sessionId);if(found)return found;}try{for(let i=0;i<window.localStorage.length;i++){const key=window.localStorage.key(i);if(!key?.startsWith(CHECKOUT_CROSS_TAB_PREFIX))continue;const found=safeParse(key);if(found)return found;}}catch{// Storage may be disabled.\n}return null;}function sanitizeSnapshotItems(value){if(!Array.isArray(value))return[];return value.filter(item=>{if(!item||typeof item!==\"object\")return false;const candidate=item;return typeof candidate.productId===\"string\"&&typeof candidate.variantId===\"string\"&&Number.isInteger(candidate.quantity)&&candidate.quantity>=1;});}function sanitizeCartStore(raw){if(!raw||typeof raw!==\"object\")return null;const parsed=raw;if(parsed.version!==1||!Array.isArray(parsed.items)){return null;}const items=[];for(const candidate of parsed.items){if(!candidate||typeof candidate!==\"object\"){return null;}const item=candidate;const expectedKey=`${item.productId}::${item.variantId}`;if(typeof item.key!==\"string\"||item.key!==expectedKey||typeof item.productId!==\"string\"||typeof item.variantId!==\"string\"||typeof item.productName!==\"string\"||typeof item.variantLabel!==\"string\"||!Number.isSafeInteger(item.pricePence)||!Number.isInteger(item.quantity)||item.quantity<1||typeof item.updatedAt!==\"number\"){return null;}items.push(item);}const completedOrderIds=Array.isArray(parsed.completedOrderIds)?parsed.completedOrderIds.filter(value=>typeof value===\"string\"):[];return{version:1,items,completedOrderIds};}/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function CheckoutReturn(props){const{mode,canvasState,returnCta,style}=props;const[verifying,setVerifying]=useState(false);const[verified,setVerified]=useState(false);const[message,setMessage]=useState(\"\");const isStatic=useIsStaticRenderer();const isCanvas=RenderTarget.current()===RenderTarget.canvas;const textAccent=\"var(--token-ce5be3a6-3939-4290-8fba-d2eff544769a, #00A6D6)\";const verificationHeadingAccent=\"var(--token-ce5be3a6-3939-4290-8fba-d2eff544769a, #139ED1)\";const textPrimary=\"var(--token-b2f7002d-7ba1-4db4-b73c-61606dba2e38, #EDEDED)\";const verificationBackground=\"var(--token-ed38bd04-ca69-4730-b7de-a62f65e38f9c, #0C0C0C)\";const verificationBorder=\"var(--token-afb64ae7-4966-4f9b-9b22-0f97048454af, #525252)\";const reconcileCartAfterVerifiedPurchase=useCallback((orderID,snapshotItems)=>{if(typeof window===\"undefined\")return;const raw=window.localStorage.getItem(STORAGE_KEY);if(!raw)return;const parsed=JSON.parse(raw);const cart=sanitizeCartStore(parsed);if(!cart)return;const completed=new Set(cart.completedOrderIds??[]);if(completed.has(orderID))return;const reductions=new Map(snapshotItems.map(item=>[`${item.productId}::${item.variantId}`,item.quantity]));const nextItems=[];for(const item of cart.items){const reduceBy=reductions.get(`${item.productId}::${item.variantId}`)??0;const nextQty=item.quantity-reduceBy;if(nextQty>0){nextItems.push({...item,quantity:nextQty,updatedAt:Date.now()});}}completed.add(orderID);const nextStore={version:1,items:nextItems,completedOrderIds:Array.from(completed)};window.localStorage.setItem(STORAGE_KEY,JSON.stringify(nextStore));window.dispatchEvent(new CustomEvent(SAME_TAB_EVENT));},[]);const verifySuccess=useCallback(async()=>{if(typeof window===\"undefined\")return;if(isCanvas||isStatic)return;startTransition(()=>{setVerifying(true);setMessage(\"\");});try{const queryOrderID=new URL(window.location.href).searchParams.get(\"orderID\")?.trim()||\"\";const pendingRaw=window.sessionStorage.getItem(CHECKOUT_REDIRECT_PENDING_KEY);let pending=null;try{if(pendingRaw){pending=JSON.parse(pendingRaw);}}catch{pending=null;}if(queryOrderID&&pending?.orderID!==queryOrderID){pending=restoreCrossTabReceipt(queryOrderID);}if(!pending&&queryOrderID){pending=restoreCrossTabReceipt(queryOrderID);}if(!pending){throw new Error(\"We could not find your pending receipt. Please check your confirmation email.\");}const orderID=typeof pending.orderID===\"string\"?pending.orderID.trim():\"\";const receiptToken=typeof pending.receiptToken===\"string\"?pending.receiptToken.trim():\"\";if(!orderID||!receiptToken){throw new Error(\"We could not find your pending receipt. Please retry verification.\");}if(queryOrderID&&queryOrderID!==orderID){throw new Error(\"Order verification mismatch. Please retry verification.\");}const response=await fetch(`${CHECKOUT_API_URL.replace(/\\/+$/,\"\")}/order-status`,{method:\"POST\",headers:{\"content-type\":\"application/json\"},body:JSON.stringify({orderID,receiptToken})});const data=await response.json().catch(()=>null);if(!response.ok){throw new Error(\"Verification is still pending. Please retry.\");}const verifiedResponse=data?.ok===true&&data.orderID===orderID&&data.status===\"COMPLETED\"&&data.captureStatus===\"COMPLETED\"&&data.currency===\"GBP\";if(!verifiedResponse){throw new Error(\"Verification is still pending. Please retry.\");}const snapshotItems=sanitizeSnapshotItems(pending.items);try{const locks=navigator?.locks;if(locks?.request){await locks.request(\"pilot-cart-checkout-write\",()=>reconcileCartAfterVerifiedPurchase(orderID,snapshotItems));}else{reconcileCartAfterVerifiedPurchase(orderID,snapshotItems);}}catch{// A storage error must not hide a verified paid order.\n}window.sessionStorage.removeItem(CHECKOUT_REDIRECT_PENDING_KEY);window.sessionStorage.removeItem(CHECKOUT_DRAFT_KEY);const confirmedSession=pending.checkoutSessionId||new URL(window.location.href).searchParams.get(\"hivex_pp_session\")||\"\";if(confirmedSession){try{window.localStorage.removeItem(CHECKOUT_CROSS_TAB_PREFIX+confirmedSession);}catch{// Storage may be unavailable.\n}}startTransition(()=>{setVerified(true);setMessage(\"\");});}catch(error){const safeMessage=error instanceof Error?error.message:\"Verification is still pending. Please retry.\";startTransition(()=>{setVerified(false);setMessage(safeMessage);});}finally{startTransition(()=>{setVerifying(false);});}},[isCanvas,isStatic,reconcileCartAfterVerifiedPurchase]);useEffect(()=>{if(typeof window===\"undefined\")return;if(isCanvas||isStatic)return;if(mode===\"cancel\"){try{const raw=window.sessionStorage.getItem(CHECKOUT_REDIRECT_PENDING_KEY);if(!raw)return;const parsed=JSON.parse(raw);const cleaned={...parsed};delete cleaned.approvalUrl;window.sessionStorage.setItem(CHECKOUT_REDIRECT_PENDING_KEY,JSON.stringify(cleaned));}catch{// no-op\n}return;}verifySuccess();},[isCanvas,isStatic,mode,verifySuccess]);const body=useMemo(()=>{const displayConfirmed=mode===\"success\"&&(verified||isCanvas&&canvasState===\"confirmed\");if(mode===\"cancel\"){return{heading:\"CHECKOUT CANCELLED\",line1:\"No payment has been taken.\",ctaLabel:\"RETURN TO CART\",ctaHref:\"/?openCart=1\",showChevronCta:true};}if(displayConfirmed){return{heading:\"ORDER CONFIRMED\",line1:\"Your payment has been received successfully.\",line2:\"We’ll prepare your order for dispatch. You’ll receive a tracking number once your order is on the way.\",ctaLabel:\"RETURN HOME\",ctaHref:\"/\",showChevronCta:true};}return{heading:\"VERIFYING YOUR ORDER\",line1:message||\"Please wait while we securely verify your payment status.\",line2:\"If this takes longer than expected, use retry below.\",ctaLabel:\"RETRY VERIFICATION\",ctaHref:\"\",showChevronCta:false};},[mode,verified,message,isCanvas,canvasState]);const isVerificationState=mode===\"success\"&&!(verified||isCanvas&&canvasState===\"confirmed\");return /*#__PURE__*/_jsx(\"main\",{style:{position:\"relative\",width:\"100%\",minHeight:\"100%\",minWidth:0,background:verificationBackground,color:textPrimary,fontFamily:'\"Inter\", \"Inter Placeholder\", sans-serif',display:\"flex\",alignItems:\"center\",justifyContent:\"center\",padding:\"32px 20px\",boxSizing:\"border-box\",...style},children:/*#__PURE__*/_jsxs(\"div\",{style:{width:\"min(560px, 100%)\",border:`1px solid ${verificationBorder}`,background:\"rgba(255,255,255,0.05)\",borderRadius:4,padding:\"16px 20px\",display:\"flex\",flexDirection:\"column\",gap:20,height:\"fit-content\",boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsx(\"h1\",{style:{margin:0,color:isVerificationState?verificationHeadingAccent:textAccent,fontSize:isVerificationState?24:28,lineHeight:isVerificationState?\"1.2em\":1.1,fontStyle:isVerificationState?\"normal\":undefined,fontWeight:isVerificationState?600:undefined,letterSpacing:isVerificationState?\"-0.02em\":undefined,textTransform:isVerificationState?\"uppercase\":undefined,textAlign:isVerificationState?\"left\":undefined,fontFamily:'\"Inter\", \"Inter Placeholder\", sans-serif',fontFeatureSettings:isVerificationState?\"'blwf', 'cv09', 'cv03', 'cv04', 'cv11'\":undefined},children:body.heading}),/*#__PURE__*/_jsx(\"p\",{style:{margin:0,fontSize:15,lineHeight:1.4,textAlign:isVerificationState?\"left\":undefined},children:body.line1}),\"line2\"in body&&body.line2?/*#__PURE__*/_jsx(\"p\",{style:{margin:0,fontSize:15,lineHeight:1.4,textAlign:isVerificationState?\"left\":undefined},children:body.line2}):null,isVerificationState?/*#__PURE__*/_jsxs(\"button\",{type:\"button\",onClick:verifySuccess,disabled:verifying,style:{marginTop:6,minHeight:46,border:\"1px solid var(--token-ce5be3a6-3939-4290-8fba-d2eff544769a, #139ED1)\",background:\"transparent\",color:\"var(--token-b2f7002d-7ba1-4db4-b73c-61606dba2e38, #C4C2C2)\",borderRadius:6,padding:\"10px 15px\",cursor:verifying?\"default\":\"pointer\",opacity:verifying?.65:1,width:\"max-content\",display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",gap:10,alignSelf:\"flex-start\",boxSizing:\"border-box\",fontSize:14,fontWeight:400,lineHeight:\"20px\",fontFamily:\"inherit\",transition:\"all .4s cubic-bezier(.44,0,.56,1)\"},children:[/*#__PURE__*/_jsx(\"span\",{children:verifying?\"Verifying...\":body.ctaLabel}),/*#__PURE__*/_jsx(\"svg\",{width:\"20\",height:\"24\",viewBox:\"0 0 20 24\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M7 6L13 12L7 18\",stroke:verificationHeadingAccent,strokeWidth:\"1.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})]}):returnCta?/*#__PURE__*/_jsx(\"div\",{style:{marginTop:8,display:\"flex\",alignItems:\"center\"},onClickCapture:event=>{if(event.defaultPrevented){return;}if(event.button!==0){return;}if(event.metaKey||event.ctrlKey||event.shiftKey||event.altKey){return;}event.preventDefault();event.stopPropagation();if(isCanvas||isStatic){return;}if(typeof window===\"undefined\"){return;}if(!body.ctaHref){return;}window.location.assign(body.ctaHref);},children:returnCta}):null]})});}addPropertyControls(CheckoutReturn,{mode:{type:ControlType.Enum,title:\"Mode\",options:[\"success\",\"cancel\"],optionTitles:[\"Success\",\"Cancel\"],defaultValue:\"success\",displaySegmentedControl:true},canvasState:{type:ControlType.Enum,title:\"Canvas State\",options:[\"verification\",\"confirmed\"],optionTitles:[\"Verification\",\"Confirmed\"],defaultValue:\"verification\",displaySegmentedControl:true,hidden(props){return props.mode!==\"success\";}},returnCta:{type:ControlType.ComponentInstance,title:\"Return CTA\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CheckoutReturn\",\"slots\":[\"returnCta\"],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CheckoutReturn.map"],"mappings":"0SAAkqB,SAAS,EAAuB,EAAQ,CAAC,GAAU,IAAS,OAAY,OAAO,KAAiD,IAAM,EAAU,IAA1C,IAAI,EAAO,SAAS,IAA4B,CAAC,CAAC,aAAa,IAAI,kBAAkB,GAAG,GAAS,EAAU,GAAK,CAAC,GAAG,CAAC,IAAM,EAAI,EAAO,aAAa,QAAQ,CAAG,EAAE,GAAG,CAAC,EAAI,OAAO,KAAK,IAAM,EAAK,KAAK,MAAM,CAAG,EAAgR,MAA3Q,CAAC,GAAM,CAAC,EAAK,mBAAmB,IAAM,EAA0B,EAAK,mBAAmB,CAAC,EAAK,cAAc,EAAK,UAAU,GAAS,OAAO,EAAK,WAAY,UAAU,KAAK,IAAI,EAAE,EAAK,UAAU,GAA+B,EAAK,UAAU,KAAK,IAAI,EAAE,IAAY,KAAa,CAAK,MAAM,CAAC,OAAO,IAAK,CAAC,EAAE,GAAG,0BAA0B,KAAK,CAAS,EAAE,CAAC,IAAM,EAAM,EAAU,EAA0B,CAAS,EAAE,GAAG,EAAM,OAAO,CAAM,CAAC,GAAG,CAAC,IAAI,IAAI,EAAE,EAAE,EAAE,EAAO,aAAa,OAAO,IAAI,CAAC,IAAM,EAAI,EAAO,aAAa,IAAI,CAAC,EAAE,GAAG,CAAC,GAAK,WAAW,CAAyB,EAAE,SAAS,IAAM,EAAM,EAAU,CAAG,EAAE,GAAG,EAAM,OAAO,CA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