{"version":3,"file":"CostTransfer.CDPqONmi.mjs","names":["React.useRef","React.useMemo","React.useState","subscribeToPrice","React.useState","subscribeToPrice","React.useMemo"],"sources":["https:/framerusercontent.com/modules/19K7D3RLjHB8Si1Pd5W4/PY5nOATkLaJOUbYVeE5V/CostCheckbox.js","https:/framerusercontent.com/modules/uTIsHpHrpmftaWVvEfv4/2WgG7iM5WIK1B2mQ4NWZ/CostTransfer.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{calculatorStore,setCartItem,removeCartItem,subscribeToCalc,getMultiplier}from\"https://framerusercontent.com/modules/uQNF3MjqAXSmdDpsul7P/j9h69GtyCt0zxJCLkqt1/CalculatorStore.js\";import{priceData,subscribe as subscribeToPrice}from\"https://framerusercontent.com/modules/4YOZYtUnHpMfvTWCPE8e/P5ATA0Wth6xQbXtA6q08/PriceStore.js\";import{aggregationStore,subscribeToAggregation,registerHouseItem}from\"https://framerusercontent.com/modules/cH7dneSCDWa1JtDbf5Hx/ss5GVItcLp91vvF0sdDh/AggregationStore.js\";export default function CostCheckbox(props){const{itemId,groupName,pricingMode,itemType,priceCurve,defaultChecked,hidePrice,accentColor,houseSlug,calculationMode,cmsQuantity,unitLabel,isIncluded}=props;// REF PRE GAP FIX\nconst containerRef=React.useRef(null);const cmsItem=priceData.items[String(itemId)];const isQuantityMode=calculationMode===\"quantity\";const unitToPass=isQuantityMode&&unitLabel?unitLabel:\"\";const isFixed=React.useMemo(()=>{if(pricingMode===\"fixed\")return true;if(pricingMode===\"dynamic\")return false;if(cmsItem)return!cmsItem.dynamicPrice;return false;},[pricingMode,cmsItem]);const smartCurve=React.useMemo(()=>{if(isFixed)return\"discount\";const val=(cmsItem?.discount||\"\").trim();if(val===\"Lite\")return\"discountLite\";if(val===\"Extra Charge\")return\"surcharge\";if(val===\"Standard\")return\"discount\";return priceCurve;},[cmsItem,isFixed,priceCurve]);const getItemTitle=id=>cmsItem?cmsItem.title:id;const[_,setTick]=React.useState(0);const forceUpdate=()=>setTick(t=>t+1);// --- 1. GAP FIX (DOM MANIPULÁCIA) ---\nReact.useLayoutEffect(()=>{if(!isIncluded&&containerRef.current){const parent=containerRef.current.parentElement;if(parent){parent.style.display=\"none\";}}},[isIncluded]);// --- 2. LOGIKA AKTIVITY (CLEANUP) ---\nReact.useEffect(()=>{if(!itemId)return;if(!isIncluded){if(calculatorStore.cart[itemId])removeCartItem(itemId);if(houseSlug)registerHouseItem(houseSlug,String(itemId),false,-1,true);}},[itemId,isIncluded,houseSlug]);// --- 3. PÔVODNÉ EFEKTY ---\nReact.useEffect(()=>{if(!isIncluded)return;const handleUpdate=()=>{if(itemType===\"mandatory\"&&itemId){if(!calculatorStore.cart[itemId]){setCartItem(itemId,itemId,isFixed,smartCurve,groupName,getItemTitle(itemId),isQuantityMode?cmsQuantity||0:undefined,unitToPass);}}forceUpdate();};const unsubPrice=subscribeToPrice(handleUpdate);const unsubCalc=subscribeToCalc(handleUpdate);const unsubAggr=subscribeToAggregation(handleUpdate);handleUpdate();return()=>{unsubPrice();unsubCalc();unsubAggr();};},[itemType,itemId,isFixed,smartCurve,groupName,cmsQuantity,isQuantityMode,unitToPass,isIncluded]);React.useEffect(()=>{if(!isIncluded)return;if(houseSlug&&itemId){const qtyToSend=isQuantityMode?cmsQuantity||0:-1;registerHouseItem(houseSlug,String(itemId),false,qtyToSend,true);}},[houseSlug,itemId,cmsQuantity,isQuantityMode,isIncluded]);const isInCMS=React.useMemo(()=>{if(houseSlug&&itemId&&aggregationStore.houses[houseSlug]){return aggregationStore.houses[houseSlug].includes(String(itemId));}return false;},[houseSlug,itemId,aggregationStore.houses,_]);React.useEffect(()=>{if(!isIncluded)return;const isCanvas=RenderTarget.current()===RenderTarget.canvas;const category=groupName||\"Doplnky\";const title=getItemTitle(itemId);const shouldBeChecked=defaultChecked||isInCMS;const quantityToPass=isQuantityMode?cmsQuantity||0:undefined;if(itemType===\"mandatory\"&&itemId){setCartItem(itemId,itemId,isFixed,smartCurve,category,title,quantityToPass,unitToPass);}else if(itemType===\"optional\"&&itemId){if(shouldBeChecked){if(isCanvas||!calculatorStore.cart[itemId]){setCartItem(itemId,itemId,isFixed,smartCurve,category,title,quantityToPass,unitToPass);}}else{if(isCanvas)removeCartItem(itemId);}}},[itemType,itemId,isFixed,smartCurve,defaultChecked,isInCMS,groupName,priceData.items,cmsQuantity,isQuantityMode,unitToPass,isIncluded]);const currentArea=calculatorStore.area;const isChecked=!!calculatorStore.cart[itemId];const handleChange=e=>{if(!isIncluded)return;const quantityToPass=isQuantityMode?cmsQuantity||0:undefined;if(itemType===\"optional\"){if(e.target.checked){setCartItem(itemId,itemId,isFixed,smartCurve,groupName,getItemTitle(itemId),quantityToPass,unitToPass);}else{removeCartItem(itemId);}}};// --- 4. RENDER PRE NEAKTÍVNY STAV ---\nif(!isIncluded){return /*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:{display:\"none\"}});}if(!cmsItem)return /*#__PURE__*/_jsxs(\"div\",{style:{opacity:.5,fontSize:12,padding:\"5px 0\"},children:[\"Nač\\xedtavam... (\",itemId,\")\"]});let finalPrice=0;const qty=isQuantityMode?cmsQuantity||0:1;if(isFixed){finalPrice=cmsItem.price*qty;}else{const multiplier=getMultiplier(currentArea,smartCurve);if(isQuantityMode){finalPrice=cmsItem.price*multiplier*qty;}else{finalPrice=cmsItem.price*currentArea*multiplier;}}const isMandatory=itemType===\"mandatory\";const cursorStyle=isMandatory?\"default\":\"pointer\";let titleSuffix=\"\";if(isQuantityMode){const suffix=unitLabel?` ${unitLabel}`:\"\";const val=typeof cmsQuantity===\"number\"?cmsQuantity:0;titleSuffix=` (${val.toLocaleString(\"sk-SK\")}${suffix})`;}const displayTitle=`${cmsItem.title}${titleSuffix}`;const cssStyles=`\n        .custom-checkbox {\n            appearance: none;\n            -webkit-appearance: none;\n            display: inline-block;\n            box-sizing: border-box;\n            width: 20px;\n            height: 20px;\n            min-width: 20px;\n            min-height: 20px;\n            max-width: 20px;\n            max-height: 20px;\n            margin: 0;\n            padding: 0;\n            line-height: 0;\n            margin-right: 12px;\n            flex-shrink: 0;\n            border-radius: 4px; \n            background-color: #fff;\n            border: 2px solid rgba(0, 0, 0, 0.15); \n            cursor: pointer;\n            transition: none;\n        }\n        .custom-checkbox:hover:not(:checked):not(:disabled) {\n            border-color: var(--active-color); \n        }\n        .custom-checkbox:checked {\n            background-color: var(--active-color);\n            border-color: var(--active-color);\n            background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E\");\n            background-size: 80%;\n            background-position: center center;\n            background-repeat: no-repeat;\n        }\n        .custom-checkbox:disabled {\n            background-color: rgba(0, 0, 0, 0.3); \n            border-color: rgba(0, 0, 0, 0.05);     \n            cursor: default;\n        }\n    `;const containerStyles={...rowStyle,cursor:cursorStyle,\"--active-color\":accentColor};return /*#__PURE__*/_jsxs(\"label\",{style:containerStyles,children:[/*#__PURE__*/_jsx(\"style\",{children:cssStyles}),/*#__PURE__*/_jsx(\"input\",{type:\"checkbox\",className:\"custom-checkbox\",checked:isChecked,onChange:handleChange,disabled:isMandatory}),/*#__PURE__*/_jsxs(\"div\",{style:{flex:1,display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\",lineHeight:\"1.2\",pointerEvents:\"none\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontWeight:400},children:displayTitle}),!hidePrice&&/*#__PURE__*/_jsxs(\"span\",{style:{fontWeight:600,color:\"#333\",whiteSpace:\"nowrap\"},children:[finalPrice.toLocaleString(\"sk-SK\",{maximumFractionDigits:0}),\" \",\"€\"]})]})]});}addPropertyControls(CostCheckbox,{houseSlug:{type:ControlType.String,title:\"Slug Domu (CMS)\",description:\"Prepojte so Slugom aktu\\xe1lneho domu.\"},isIncluded:{type:ControlType.Boolean,title:\"Je akt\\xedvny?\",defaultValue:true,description:\"Prepojte na t\\xfa ist\\xfa podmienku (variable), ktorou skr\\xfdvate tento komponent.\"},itemId:{type:ControlType.String,title:\"Price_ID\",placeholder:\"napr. strecha-zaklad\",description:\"Mus\\xed sa presne zhodovať s Price_ID v CMS Cenn\\xedku.\"},groupName:{type:ControlType.String,title:\"N\\xe1zov skupiny\",defaultValue:\"Doplnky\"},calculationMode:{type:ControlType.Enum,title:\"Režim v\\xfdpočtu\",options:[\"area\",\"quantity\"],optionTitles:[\"Plocha domu\",\"CMS Počet\"],defaultValue:\"area\",displaySegmentedControl:true},cmsQuantity:{type:ControlType.Number,title:\"↳ CMS Počet\",defaultValue:0,description:\"Prepojte s č\\xedseln\\xfdm poľom v CMS.\",hidden:props=>props.calculationMode===\"area\"},unitLabel:{type:ControlType.String,title:\"↳ Jednotka\",placeholder:\"napr. m\\xb2, ks\",defaultValue:\"\",hidden:props=>props.calculationMode===\"area\"},itemType:{type:ControlType.Enum,title:\"Typ položky\",options:[\"optional\",\"mandatory\"],optionTitles:[\"Voliteľn\\xe1\",\"Povinn\\xe1\"],defaultValue:\"optional\",displaySegmentedControl:true},defaultChecked:{type:ControlType.Boolean,title:\"Predvolene zapnut\\xe9\",defaultValue:false,hidden:props=>props.itemType===\"mandatory\"},pricingMode:{type:ControlType.Enum,title:\"Režim ceny\",options:[\"cms\",\"fixed\",\"dynamic\"],optionTitles:[\"Podľa CMS\",\"Fixn\\xe1 cena\",\"Dynamick\\xe1 cena\"],defaultValue:\"cms\",description:\"Určuje, či sa cena r\\xe1ta fixne alebo cez m\\xb2.\"},priceCurve:{type:ControlType.Enum,title:\"Krivka (Fallback)\",options:[\"discount\",\"discountLite\",\"surcharge\"],optionTitles:[\"Zľava (Štandard)\",\"Zľava menšia\",\"Pr\\xedplatok\"],defaultValue:\"discount\",description:\"Fallback krivka, ak je položka dynamick\\xe1.\",hidden:props=>props.pricingMode===\"fixed\"},accentColor:{type:ControlType.Color,title:\"Farba (Active)\",defaultValue:\"#007F80\"},hidePrice:{type:ControlType.Boolean,title:\"Iba n\\xe1zov\",defaultValue:false}});const rowStyle={display:\"flex\",width:\"100%\",minWidth:\"100%\",height:\"auto\",boxSizing:\"border-box\",alignItems:\"center\",justifyContent:\"flex-start\",position:\"relative\",isolation:\"isolate\",zIndex:1,padding:\"0px 0\",fontFamily:\"Archivo, sans-serif\",fontSize:14,color:\"#333\",borderBottom:\"0px solid rgba(0,0,0,0.05)\"};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CostCheckbox\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{calculatorStore,setCartItem,subscribeToCalc,getMultiplier}from\"https://framerusercontent.com/modules/uQNF3MjqAXSmdDpsul7P/j9h69GtyCt0zxJCLkqt1/CalculatorStore.js\";import{priceData,subscribe as subscribeToPrice}from\"https://framerusercontent.com/modules/4YOZYtUnHpMfvTWCPE8e/P5ATA0Wth6xQbXtA6q08/PriceStore.js\";import{registerHouseItem}from\"https://framerusercontent.com/modules/cH7dneSCDWa1JtDbf5Hx/ss5GVItcLp91vvF0sdDh/AggregationStore.js\";export default function CostTransfer(props){const{priceId,label,description,cmsQuantity,houseSlug,accentColor,inputFill,max,font,color,unitLabel,priceCurve,showUnitPrice}=props;const[tick,setTick]=React.useState(0);const forceUpdate=()=>setTick(t=>t+1);const[isFocused,setIsFocused]=React.useState(false);const[localQuantity,setLocalQuantity]=React.useState(cmsQuantity||0);// --- SYNCHRONIZÁCIA (Magic Fix) ---\nReact.useEffect(()=>{const handleUpdate=()=>{// 1. Najprv prekreslíme komponent\nforceUpdate();// 2. Skontrolujeme, či v Store existuje hodnota pre toto PriceID\nif(priceId){const itemInCart=calculatorStore.cart[priceId];if(itemInCart&&typeof itemInCart.quantity===\"number\"){setLocalQuantity(prev=>{// UPRAVENÉ: Ak užívateľ vymazal input (prev je \"\") a v košíku je 0,\n// nechceme to nasilu prepísať späť na 0. Necháme to prázdne.\nif(prev===\"\"&&itemInCart.quantity===0){return prev;}if(prev!==itemInCart.quantity){return itemInCart.quantity;}return prev;});}}};const unsubPrice=subscribeToPrice(handleUpdate);const unsubCalc=subscribeToCalc(handleUpdate);handleUpdate();return()=>{unsubPrice();unsubCalc();};},[priceId]);React.useEffect(()=>{// Inicializácia z CMS (len ak je košík prázdny)\nif(!calculatorStore.cart[priceId]){setLocalQuantity(cmsQuantity||0);}},[cmsQuantity,priceId]);const cmsItem=priceData.items[String(priceId)];// --- LOGIKA KRIVKY ---\nconst smartCurve=React.useMemo(()=>{const val=(cmsItem?.discount||\"\").trim();if(val===\"Transfer\")return\"transfer\";if(val===\"Lite\")return\"discountLite\";if(val===\"Extra Charge\")return\"surcharge\";if(val===\"Standard\")return\"discount\";return priceCurve;},[cmsItem,priceCurve]);// --- POMOCNÁ PREMENNÁ ---\nconst qtyForCalc=localQuantity===\"\"?0:localQuantity;// --- VÝPOČET ---\nconst unitPrice=cmsItem?cmsItem.price:0;const currentArea=calculatorStore.area;// Multiplier\nconst multiplier=getMultiplier(currentArea,smartCurve);// Efektívna cena za 1 km PRE CELÝ DOM\nconst effectiveUnitPrice=unitPrice*currentArea*multiplier;// Celková cena\nconst totalPrice=effectiveUnitPrice*qtyForCalc;// --- LOGIKA KOŠÍKA (CartStore) ---\nReact.useEffect(()=>{if(priceId){const itemTitle=cmsItem?.title||label;const currentInStore=calculatorStore.cart[priceId];const storeQty=currentInStore?currentInStore.quantity:undefined;if(storeQty!==qtyForCalc){setCartItem(priceId,priceId,false,smartCurve,label,itemTitle,qtyForCalc,unitLabel);}}},[qtyForCalc,priceId,label,cmsQuantity,smartCurve,cmsItem,effectiveUnitPrice,unitLabel]);// --- LOGIKA PRE PriceTotalCMS (AggregationStore) ---\nReact.useEffect(()=>{if(houseSlug&&priceId){const adjustedQty=qtyForCalc*currentArea*multiplier;registerHouseItem(houseSlug,String(priceId),true,adjustedQty,true);}},[houseSlug,priceId,qtyForCalc,currentArea,multiplier]);const handleChange=e=>{const rawVal=e.target.value;if(rawVal===\"\"){setLocalQuantity(\"\");// Pri vymazaní pošleme 0 do storu\nif(priceId){const itemTitle=cmsItem?.title||label;setCartItem(priceId,priceId,false,smartCurve,label,itemTitle,0,unitLabel);}return;}const val=parseInt(rawVal,10);if(!isNaN(val)){let finalVal=Math.max(0,val);if(finalVal>max)finalVal=max;setLocalQuantity(finalVal);if(priceId){const itemTitle=cmsItem?.title||label;setCartItem(priceId,priceId,false,smartCurve,label,itemTitle,finalVal,unitLabel);}}};const isActive=isFocused||qtyForCalc>0;if(!cmsItem)return /*#__PURE__*/_jsxs(\"div\",{style:{opacity:.5,fontSize:12,...font,color:color},children:[\"Nač\\xedtavam... (\",priceId,\")\"]});return /*#__PURE__*/_jsxs(\"div\",{style:containerStyle,className:\"ci-container\",children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                input[type=number]::-webkit-inner-spin-button, \n                input[type=number]::-webkit-outer-spin-button { \n                    -webkit-appearance: none; \n                    margin: 0; \n                }\n                input[type=number] {\n                    -moz-appearance: textfield;\n                }\n\n                @media (max-width: 600px) {\n                    .ci-container {\n                        gap: 16px !important;\n                    }\n                    .ci-right-col {\n                        width: 100% !important;\n                        justify-content: space-between !important;\n                    }\n                }\n            `}),/*#__PURE__*/_jsxs(\"div\",{style:leftColStyle,children:[/*#__PURE__*/_jsxs(\"div\",{style:titleGroupStyle,children:[/*#__PURE__*/_jsx(\"div\",{style:{...titleStyle,...font,color:color},children:cmsItem?.title||label}),showUnitPrice&&/*#__PURE__*/_jsxs(\"div\",{style:{...font,color:color,...unitPriceStyle},children:[\"(\",effectiveUnitPrice.toLocaleString(\"sk-SK\",{maximumFractionDigits:2}),\" \",\"€\",unitLabel?` / ${unitLabel}`:\"\",\")\"]})]}),description&&/*#__PURE__*/_jsx(\"div\",{style:{...font,color:color,...descStyle,fontWeight:400},children:description})]}),/*#__PURE__*/_jsxs(\"div\",{style:rightColStyle,className:\"ci-right-col\",children:[/*#__PURE__*/_jsxs(\"div\",{style:stepperContainerStyle,children:[/*#__PURE__*/_jsx(\"div\",{style:{...inputWrapperStyle,backgroundColor:inputFill,border:isActive?`2px solid ${accentColor}`:\"1px solid rgba(0, 0, 0, 0.15)\",transition:\"border 0.2s ease\"},children:/*#__PURE__*/_jsx(\"input\",{type:\"number\",value:localQuantity,onChange:handleChange,onFocus:()=>setIsFocused(true),onBlur:()=>setIsFocused(false),style:{...inputRawStyle,fontFamily:font?.fontFamily||\"inherit\",color:color,fontSize:16}})}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:14,fontWeight:600,color:color,opacity:.8},children:unitLabel})]}),/*#__PURE__*/_jsxs(\"div\",{style:{...totalPriceStyle,...font,color:color},children:[totalPrice.toLocaleString(\"sk-SK\",{maximumFractionDigits:0}),\" \",\"€\"]})]})]});}addPropertyControls(CostTransfer,{houseSlug:{type:ControlType.String,title:\"Slug Domu (CMS)\",description:\"Prepojte so Slugom aktu\\xe1lneho domu.\"},priceId:{type:ControlType.String,title:\"Price_ID\",placeholder:\"napr. doprava\"},cmsQuantity:{type:ControlType.Number,title:\"Default km\",defaultValue:0},label:{type:ControlType.String,title:\"N\\xe1zov (Skupina)\",description:\"Zadajte n\\xe1zov skupiny pre email (napr. Doprava). V dizajne sa zobraz\\xed n\\xe1zov z CMS.\",defaultValue:\"Doprava\"},description:{type:ControlType.String,title:\"Popis\",defaultValue:\"\",displayTextArea:true},unitLabel:{type:ControlType.String,title:\"Jednotka\",defaultValue:\"km\"},showUnitPrice:{type:ControlType.Boolean,title:\"Zobraziť jedn. cenu\",defaultValue:true},priceCurve:{type:ControlType.Enum,title:\"Krivka\",options:[\"transfer\",\"discount\",\"discountLite\",\"surcharge\"],optionTitles:[\"Doprava (Transfer)\",\"Zľava (Štandard)\",\"Zľava menšia\",\"Pr\\xedplatok\"],defaultValue:\"transfer\",description:\"Krivka použit\\xe1 pre v\\xfdpočet.\"},inputFill:{type:ControlType.Color,title:\"Input Fill\",defaultValue:\"#F7F7F7\"},accentColor:{type:ControlType.Color,title:\"Farba Focus\",defaultValue:\"#007F80\"},max:{type:ControlType.Number,title:\"Max\",defaultValue:9999},font:{type:ControlType.Font,title:\"Typografia\",controls:\"extended\"},color:{type:ControlType.Color,title:\"Farba textu\",defaultValue:\"#333\"}});// --- ŠTÝLY (Bez zmeny) ---\nconst containerStyle={width:\"100%\",display:\"flex\",flexWrap:\"wrap\",justifyContent:\"flex-start\",alignItems:\"center\",gap:40,padding:\"10px 0\"};const leftColStyle={flex:\"1 1 200px\",display:\"flex\",flexDirection:\"column\",justifyContent:\"flex-start\",alignItems:\"flex-start\",gap:8};const titleGroupStyle={display:\"flex\",flexDirection:\"column\",gap:4};const titleStyle={fontSize:15,fontWeight:600};const unitPriceStyle={fontSize:13,fontWeight:400,opacity:.9};const descStyle={fontSize:13,lineHeight:\"1.4em\",opacity:.7,whiteSpace:\"pre-wrap\"};const rightColStyle={width:220,display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\"};const stepperContainerStyle={display:\"flex\",justifyContent:\"flex-start\",alignItems:\"center\",gap:8};const inputWrapperStyle={width:70,height:32,borderRadius:8,overflow:\"hidden\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",boxSizing:\"border-box\"};const inputRawStyle={width:\"100%\",padding:\"6px 0\",border:\"none\",background:\"transparent\",textAlign:\"center\",verticalAlign:\"middle\",fontSize:16,fontWeight:600,outline:\"none\",margin:0,display:\"block\"};const totalPriceStyle={textAlign:\"right\",fontSize:15,fontWeight:600};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CostTransfer\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings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