{"version":3,"file":"TextDiff.6zoJ1iiP.mjs","names":["mask","Base","MotionSVG","SVG","svg","getProps","Icon","React.forwardRef","React.forwardRef","useMemo","useState","__esmMin","init_npm_react_18_3_1","pe","J","p","init_jsx_runtime","_e","motion","cx","addPropertyControls","useSVGTemplate","withCSS","init_framer_B6PCHH0A","ControlType","mask$1","Base$1","MotionSVG$1","SVG$1","svg$1","getProps$1","Icon$1","init_gU109MUNe","props","rest","animated","color","width1","alpha","restProps","href","className","qxTvv_EBh","ezTt3ayMo","lschgej4H","style","mask","Base","MotionSVG","SVG","svg","getProps","Icon","init_mkaNE3fll","wordDiff","aWords","a","bWords","b","dp","i","j","result","TextDiff","diffs","originalText","revisedText","hoveredIndex","setHoveredIndex","accepted","setAccepted","buttonHovered","setButtonHovered","pendingChanges","type","handleAcceptAll","allChangeIndices","Popover","isInsert","bgColor","hoverColor","index","basePosition","baseText","text","isHovered","init_TextDiff"],"sources":["https:/framerusercontent.com/modules/78wJr0q4vFZTRbgiA8bC/Y2EfGRGz13i3kdwNCKGk/gU109MUNe.js","https:/framerusercontent.com/modules/ddSSnr51Ev6XhkbX5HBT/OSFL9ztXlvqRyHESys5O/mkaNE3fll.js","https:/framerusercontent.com/modules/wAiweybtfCFTLuctxaSq/FisilB3Oci1KpF5r4AoN/TextDiff.js"],"sourcesContent":["// 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 0 7.5 C 0 3.358 3.358 0 7.5 0 C 11.642 0 15 3.358 15 7.5 C 15 11.642 11.642 15 7.5 15 C 3.358 15 0 11.642 0 7.5 Z\" fill-opacity=\"var(--1m6trwb, 0)\" fill=\"var(--21h8s6, rgb(0, 0, 0))\" height=\"15px\" id=\"i5oDhfGPs\" transform=\"translate(3 3)\" width=\"15px\"/><path d=\"M 0 7.5 C 0 3.358 3.358 0 7.5 0 C 11.642 0 15 3.358 15 7.5 C 15 11.642 11.642 15 7.5 15 C 3.358 15 0 11.642 0 7.5 Z\" fill=\"transparent\" height=\"15px\" id=\"g08Nvj3MZ\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--pgex8v, 1.5)\" stroke=\"var(--21h8s6, rgb(0, 0, 0))\" transform=\"translate(3 3)\" width=\"15px\"/><path d=\"M 0 0 L 5.197 5.197\" fill=\"transparent\" height=\"5.196562499999999px\" id=\"NQvjzSBYl\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--pgex8v, 1.5)\" stroke=\"var(--21h8s6, rgb(0, 0, 0))\" transform=\"translate(15.803 15.803)\" width=\"5.196562499999999px\"/></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(\"3899066744\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-In32S\",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-In32S { -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\":\"Magnifying Glass\",\"color\":{\"type\":\"variable\",\"value\":\"21h8s6\"},\"set\":{\"localId\":\"vectorSet/NGVKdicsm\",\"id\":\"NGVKdicsm\",\"moduleId\":\"omX0gWFPqDwhaiWwf6ab\"}}\n * @framerDisableUnlink true\n */const Icon=withCSS(Component,css,\"framer-In32S\");Icon.displayName=\"Magnifying Glass\";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\":{\"framerIntrinsicWidth\":\"24\",\"framerVariables\":\"{\\\"ezTt3ayMo\\\":\\\"color\\\",\\\"lschgej4H\\\":\\\"width1\\\",\\\"qxTvv_EBh\\\":\\\"alpha\\\"}\",\"framerImmutableVariables\":\"true\",\"framerDisableUnlink\":\"true\",\"framerIntrinsicHeight\":\"24\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerVector\":\"{\\\"name\\\":\\\"Magnifying Glass\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"21h8s6\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/NGVKdicsm\\\",\\\"id\\\":\\\"NGVKdicsm\\\",\\\"moduleId\\\":\\\"omX0gWFPqDwhaiWwf6ab\\\"}}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// 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 2.856 16.644 C 1.993 15.782 2.565 13.97 2.126 12.908 C 1.671 11.813 0 10.922 0 9.75 C 0 8.578 1.671 7.688 2.126 6.592 C 2.565 5.531 1.993 3.718 2.856 2.856 C 3.718 1.993 5.531 2.565 6.592 2.126 C 7.692 1.671 8.578 0 9.75 0 C 10.922 0 11.813 1.671 12.908 2.126 C 13.97 2.565 15.782 1.993 16.644 2.856 C 17.507 3.718 16.935 5.53 17.374 6.592 C 17.829 7.692 19.5 8.578 19.5 9.75 C 19.5 10.922 17.829 11.813 17.374 12.908 C 16.935 13.97 17.507 15.782 16.644 16.644 C 15.782 17.507 13.97 16.935 12.908 17.374 C 11.813 17.829 10.922 19.5 9.75 19.5 C 8.578 19.5 7.688 17.829 6.592 17.374 C 5.531 16.935 3.718 17.507 2.856 16.644 Z\" fill-opacity=\"var(--1m6trwb, 0)\" fill=\"var(--21h8s6, rgb(0, 0, 0))\" height=\"19.5px\" id=\"Hb1Z2mXax\" transform=\"translate(2.25 2.25)\" width=\"19.5px\"/><path d=\"M 2.856 16.644 C 1.993 15.782 2.565 13.97 2.126 12.908 C 1.671 11.813 0 10.922 0 9.75 C 0 8.578 1.671 7.688 2.126 6.592 C 2.565 5.531 1.993 3.718 2.856 2.856 C 3.718 1.993 5.531 2.565 6.592 2.126 C 7.692 1.671 8.578 0 9.75 0 C 10.922 0 11.813 1.671 12.908 2.126 C 13.97 2.565 15.782 1.993 16.644 2.856 C 17.507 3.718 16.935 5.53 17.374 6.592 C 17.829 7.692 19.5 8.578 19.5 9.75 C 19.5 10.922 17.829 11.813 17.374 12.908 C 16.935 13.97 17.507 15.782 16.644 16.644 C 15.782 17.507 13.97 16.935 12.908 17.374 C 11.813 17.829 10.922 19.5 9.75 19.5 C 8.578 19.5 7.688 17.829 6.592 17.374 C 5.531 16.935 3.718 17.507 2.856 16.644 Z\" fill=\"transparent\" height=\"19.5px\" id=\"zUTIozC0Y\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--pgex8v, 1.5)\" stroke=\"var(--21h8s6, rgb(0, 0, 0))\" transform=\"translate(2.25 2.25)\" width=\"19.5px\"/><path d=\"M 0 3 L 2.25 5.25 L 7.5 0\" fill=\"transparent\" height=\"5.25px\" id=\"tNeITiQIS\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--pgex8v, 1.5)\" stroke=\"var(--21h8s6, rgb(0, 0, 0))\" transform=\"translate(8.25 9.75)\" width=\"7.5px\"/></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(\"876389144\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-BpUsM\",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-BpUsM { -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\":\"Seal Check\",\"color\":{\"type\":\"variable\",\"value\":\"21h8s6\"},\"set\":{\"localId\":\"vectorSet/NGVKdicsm\",\"id\":\"NGVKdicsm\",\"moduleId\":\"omX0gWFPqDwhaiWwf6ab\"}}\n * @framerDisableUnlink true\n */const Icon=withCSS(Component,css,\"framer-BpUsM\");Icon.displayName=\"Seal Check\";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\":{\"framerIntrinsicWidth\":\"24\",\"framerIntrinsicHeight\":\"24\",\"framerVector\":\"{\\\"name\\\":\\\"Seal Check\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"21h8s6\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/NGVKdicsm\\\",\\\"id\\\":\\\"NGVKdicsm\\\",\\\"moduleId\\\":\\\"omX0gWFPqDwhaiWwf6ab\\\"}}\",\"framerVariables\":\"{\\\"ezTt3ayMo\\\":\\\"color\\\",\\\"lschgej4H\\\":\\\"width1\\\",\\\"qxTvv_EBh\\\":\\\"alpha\\\"}\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerImmutableVariables\":\"true\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerDisableUnlink\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState,useMemo}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * LCS-based word diff algorithm\n * Returns [type, text]\n * type:  0 = unchanged\n *        1 = insert\n *       -1 = delete\n */function wordDiff(a,b){const aWords=a.split(/(\\s+)/);const bWords=b.split(/(\\s+)/);// Build LCS dynamic programming table\nconst dp=Array(aWords.length+1).fill(null).map(()=>Array(bWords.length+1).fill(0));for(let i=1;i<=aWords.length;i++){for(let j=1;j<=bWords.length;j++){if(aWords[i-1]===bWords[j-1]){dp[i][j]=dp[i-1][j-1]+1;}else{dp[i][j]=Math.max(dp[i-1][j],dp[i][j-1]);}}}// Backtrack to build the diff result\nconst result=[];let i=aWords.length;let j=bWords.length;while(i>0||j>0){if(i>0&&j>0&&aWords[i-1]===bWords[j-1]){// Words match - unchanged\nresult.unshift([0,aWords[i-1]]);i--;j--;}else if(j>0&&(i===0||dp[i][j-1]>=dp[i-1][j])){// Word was inserted in revised text\nresult.unshift([1,bWords[j-1]]);j--;}else{// Word was deleted from original text\nresult.unshift([-1,aWords[i-1]]);i--;}}return result;}export function TextDiff(props){const{originalText,revisedText,baseText,basePosition}=props;// Memoize diff calculation for performance\nconst diffs=useMemo(()=>wordDiff(originalText||\"\",revisedText||\"\"),[originalText,revisedText]);const[hoveredIndex,setHoveredIndex]=useState(null);const[accepted,setAccepted]=useState(new Set);const[buttonHovered,setButtonHovered]=useState(false);// Memoize pending changes count\nconst pendingChanges=useMemo(()=>diffs.filter(([type],i)=>type!==0&&!accepted.has(i)).length,[diffs,accepted]);const handleAcceptAll=()=>{const allChangeIndices=diffs.map(([type],i)=>type!==0?i:null).filter(i=>i!==null);setAccepted(new Set(allChangeIndices));};const Popover=({type,index})=>{const isInsert=type===1;const bgColor=isInsert?\"#1e8e3e\":\"#c5221f\";const hoverColor=isInsert?\"#167c32\":\"#a91b18\";return /*#__PURE__*/_jsxs(\"span\",{style:{position:\"absolute\",bottom:\"calc(100% + 8px)\",left:\"50%\",transform:\"translateX(-50%)\",zIndex:1e3},children:[/*#__PURE__*/_jsxs(\"button\",{onClick:e=>{e.stopPropagation();setAccepted(new Set([...accepted,index]));setHoveredIndex(null);},onMouseEnter:()=>setButtonHovered(true),onMouseLeave:()=>setButtonHovered(false),style:{fontSize:\"11px\",fontWeight:500,fontFamily:\"Inter, sans-serif\",padding:\"6px 12px\",borderRadius:\"8px\",border:\"none\",background:buttonHovered?hoverColor:bgColor,color:\"white\",cursor:\"pointer\",whiteSpace:\"nowrap\",boxShadow:\"0 4px 12px rgba(0,0,0,0.15), 0 1px 3px rgba(0,0,0,0.1)\",display:\"flex\",alignItems:\"center\",gap:\"6px\",transition:\"all 0.15s ease\",transform:buttonHovered?\"scale(1.02)\":\"scale(1)\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:\"14px\",lineHeight:1},children:isInsert?\"✓\":\"✕\"}),isInsert?\"Insert\":\"Remove\"]}),/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",bottom:\"-6px\",left:\"50%\",transform:\"translateX(-50%)\",width:0,height:0,borderLeft:\"7px solid transparent\",borderRight:\"7px solid transparent\",borderTop:`7px solid ${buttonHovered?hoverColor:bgColor}`,transition:\"border-color 0.15s ease\"}})]});};const renderDiff=()=>diffs.map(([type,text],i)=>{if(accepted.has(i)){if(type===-1)return null;if(type===1)return /*#__PURE__*/_jsx(\"span\",{style:{color:\"#364153\"},children:text},i);}const isHovered=hoveredIndex===i;if(type===0){return /*#__PURE__*/_jsx(\"span\",{children:text},i);}if(type===1){return /*#__PURE__*/_jsxs(\"span\",{onMouseEnter:()=>setHoveredIndex(i),style:{position:\"relative\",color:\"#1e8e3e\",backgroundColor:isHovered?\"rgba(30, 142, 62, 0.25)\":\"rgba(30, 142, 62, 0.12)\",textDecoration:\"underline\",textDecorationColor:\"#1e8e3e\",textDecorationThickness:\"2px\",textUnderlineOffset:\"2px\",transition:\"background-color 0.15s ease\",borderRadius:\"2px\",cursor:\"pointer\"},children:[text,isHovered&&/*#__PURE__*/_jsx(Popover,{type:1,index:i})]},i);}return /*#__PURE__*/_jsxs(\"span\",{onMouseEnter:()=>setHoveredIndex(i),style:{position:\"relative\",color:\"#c5221f\",backgroundColor:isHovered?\"rgba(197, 34, 31, 0.25)\":\"rgba(197, 34, 31, 0.12)\",textDecoration:\"line-through\",textDecorationColor:\"#c5221f\",textDecorationThickness:\"2px\",transition:\"background-color 0.15s ease\",borderRadius:\"2px\",cursor:\"pointer\"},children:[text,isHovered&&/*#__PURE__*/_jsx(Popover,{type:-1,index:i})]},i);});return /*#__PURE__*/_jsxs(\"div\",{onMouseLeave:()=>{setHoveredIndex(null);setButtonHovered(false);},style:{fontSize:\"13px\",color:\"#364153\",lineHeight:\"1.6\",whiteSpace:\"pre-wrap\",fontFamily:\"Inter, sans-serif\"},children:[pendingChanges>0&&/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",marginBottom:\"8px\",paddingBottom:\"8px\"},children:[/*#__PURE__*/_jsxs(\"span\",{style:{fontSize:\"13px\",color:\"#6b7280\",fontWeight:400,flex:1},children:[pendingChanges,\" pending\",\" \",pendingChanges===1?\"change\":\"changes\"]}),/*#__PURE__*/_jsx(\"button\",{onClick:handleAcceptAll,style:{fontSize:\"12px\",fontWeight:500,padding:\"6px 8px\",borderRadius:\"8px\",border:\"1px solid #d1d5db\",background:\"white\",color:\"#374151\",cursor:\"pointer\",transition:\"all 0.15s ease\",whiteSpace:\"nowrap\"},onMouseEnter:e=>{e.currentTarget.style.background=\"#f9fafb\";e.currentTarget.style.borderColor=\"#9ca3af\";},onMouseLeave:e=>{e.currentTarget.style.background=\"white\";e.currentTarget.style.borderColor=\"#d1d5db\";},children:\"Accept All\"})]}),/*#__PURE__*/_jsxs(\"div\",{children:[basePosition===\"start\"&&/*#__PURE__*/_jsx(\"span\",{children:baseText}),renderDiff(),basePosition===\"end\"&&/*#__PURE__*/_jsx(\"span\",{children:baseText})]}),pendingChanges===0&&diffs.some(([type])=>type!==0)&&/*#__PURE__*/_jsxs(\"div\",{style:{marginTop:\"12px\",paddingTop:\"12px\",borderTop:\"1px solid #e5e7eb\",fontSize:\"12px\",color:\"#1e8e3e\",fontWeight:500,display:\"flex\",alignItems:\"center\",gap:\"6px\"},children:[/*#__PURE__*/_jsx(\"span\",{children:\"✓\"}),\" All changes applied\"]})]});}addPropertyControls(TextDiff,{baseText:{type:ControlType.String,title:\"Base / Unchanged\",displayTextArea:true},basePosition:{type:ControlType.Enum,title:\"Base Position\",options:[\"start\",\"end\"],optionTitles:[\"Beginning\",\"End\"],defaultValue:\"start\"},originalText:{type:ControlType.String,title:\"Original\",displayTextArea:true},revisedText:{type:ControlType.String,title:\"Revised\",displayTextArea:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"TextDiff\":{\"type\":\"reactComponent\",\"name\":\"TextDiff\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n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