{"version":3,"file":"PromptBox.DSjDhAXa.mjs","names":["useRef","useState","__esmMin","init_ssg_sandbox_shims","te","init_npm_react_18_3_1","de","window","init_jsx_runtime","p","ce","_e","init_framer_motion_DhsWWWsN","useInView","init_framer_CKT6jEEQ","useIsStaticRenderer","addPropertyControls","ControlType","css","empty","light","mix","accent","PromptBox","props","isStatic","ref","inView","spanish","setSpanish","still","setStill","value","setValue","question","touched","setTouched","focused","setFocused","typed","setTyped","path","counted","count","name","w","extra","seen","tr","ES","text","shown","examples","idle","lines","line","at","direction","wait","timer","go","event","goal","placement","joiner","destination","from","compact","layout","bare","tall","animate","site","theme","ink","soft","faint","emptyDot","card","background","heading","FONT","DOTS","order","i","filledWhenStill","label","subheading","placeholder","accentText","buttonLabel","example","note","init_PromptBox","color","percent"],"sources":["https:/framerusercontent.com/modules/0EGSlZRq8F0yHFmC3ilI/q05GU36wY0pYKFwzf1qm/PromptBox.js"],"sourcesContent":["// \"What do you want to learn?\" — a visitor types a goal, presses the button,\n// and lands on sign-up with that sentence carried along. After sign-up the app\n// writes the survey from it without asking again.\n//\n// It is the site's main way in, so it is made to stand out: a lit edge, a\n// bright field on the dark page, example questions that type themselves, and\n// the product's own picture, people as dots, filling in as answers arrive.\n//\n// Theme \"light\" is for the light article pages: a soft green card, dark text, and the\n// same people-as-dots picture in the brand green. What it counts and where it sends\n// people is the same.\n//\n// Theme \"site\" is for the light marketing pages (2026-11 redesign): the light colours, the\n// field and button joined in one white box, small square chips, and with layout \"bare\" it\n// lines up to the left instead of the centre. Dark and light boxes are unchanged by it.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useRef,useState,startTransition}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{useInView}from\"framer-motion\";// The copy in Spanish, used on /es pages wherever the English default was left in place.\nconst ES={\"What do you want to learn?\":\"\\xbfQu\\xe9 quieres averiguar?\",\"Say it in a sentence. SegmentOS writes the survey, and real people answer it.\":\"Dilo en una frase. SegmentOS escribe la encuesta y la responden personas reales.\",\"Want to check this for your own idea?\":\"\\xbfQuieres comprobarlo con tu propia idea?\",\"For example: would people buy my idea?\":\"Por ejemplo: \\xbfla gente comprar\\xeda mi idea?\",\"Write my survey\":\"Escribir mi encuesta\",\"Free to start. No card needed.\":\"Gratis para empezar. Sin tarjeta.\",\"Would people buy my idea?\":\"\\xbfLa gente comprar\\xeda mi idea?\",\"Are our customers happy with us?\":\"\\xbfEst\\xe1n contentos nuestros clientes con nosotros?\",\"What do people think of our brand?\":\"\\xbfQu\\xe9 piensa la gente de nuestra marca?\"};const FONT='\"Google Sans Flex\", \"Google Sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif';const DOTS=45;const mix=(color,percent)=>`color-mix(in srgb, ${color} ${percent}%, transparent)`;// Everything that needs a hover, a focus ring, a placeholder color or motion lives here.\nfunction css(accent,light){const empty=light?\"rgba(23,130,80,0.3)\":\"rgba(255,255,255,0.24)\";return`\n.sgpb-input::placeholder { color: rgba(10,10,10,0.42); }\n.sgpb-input { transition: box-shadow 0.18s ease; }\n.sgpb-input:focus { box-shadow: ${light?`0 0 0 3px ${mix(accent,30)}`:`0 0 0 3px ${mix(accent,55)}, 0 18px 50px -18px ${mix(accent,70)}`}; }\n.sgpb-button { transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease; box-shadow: ${light?\"none\":`0 10px 30px -10px ${mix(accent,80)}`}; }\n.sgpb-button:hover { transform: translateY(-1px); filter: brightness(1.07); box-shadow: ${light?\"none\":`0 14px 36px -10px ${mix(accent,90)}`}; }\n.sgpb-button:active { transform: translateY(0); }\n.sgpb-button:focus-visible, .sgpb-chip:focus-visible { outline: 2px solid ${accent}; outline-offset: 2px; }\n.sgpb-chip { transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease; }\n.sgpb-chip:hover { border-color: ${mix(accent,70)}; color: ${light?\"#0F1210\":\"#FCFAF7\"}; background: ${mix(accent,12)}; }\n.sgpb-dot { animation: sgpb-fill 15s linear infinite both; }\n@keyframes sgpb-fill {\n  0%, 6% { background: transparent; border-color: ${empty}; transform: scale(1); }\n  9% { transform: scale(1.5); }\n  12%, 88% { background: ${accent}; border-color: ${accent}; transform: scale(1); }\n  96%, 100% { background: transparent; border-color: ${empty}; transform: scale(1); }\n}\n.sgpb-pulse { animation: sgpb-pulse 2s ease-out infinite; }\n@keyframes sgpb-pulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(3.2); opacity: 0; } }\n@media (max-width: 720px) { .sgpb-field { display: none !important; } }\n.sgpb-light { container-type: inline-size; }\n.sgpb-light .sgpb-head { max-width: calc(100% - 200px); }\n@container (max-width: 560px) { .sgpb-light .sgpb-field { display: none !important; } .sgpb-light .sgpb-head { max-width: none; } }\n@media (prefers-reduced-motion: reduce) { .sgpb-dot, .sgpb-pulse { animation: none; } .sgpb-button:hover { transform: none; } }\n.sgpb-site .sgpb-input:focus { box-shadow: none; }\n.sgpb-site .sgpb-joined { transition: box-shadow 0.18s ease, border-color 0.18s ease; }\n.sgpb-site .sgpb-joined:focus-within { border-color: ${mix(accent,55)} !important; box-shadow: 0 0 0 3px ${mix(accent,22)} !important; }\n.sgpb-site .sgpb-button:hover { transform: none; filter: brightness(0.86); }\n`;}/**\n * Prompt Box\n *\n * @framerIntrinsicWidth 760\n * @framerIntrinsicHeight 300\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function PromptBox(props){const{layout=\"full\",theme=\"dark\",heading=\"What do you want to learn?\",subheading=\"Say it in a sentence. SegmentOS writes the survey, and real people answer it.\",label=\"Want to check this for your own idea?\",question=\"\",placeholder=\"For example: would people buy my idea?\",buttonLabel=\"Write my survey\",examples=[],note=\"Free to start. No card needed.\",destination=\"https://app.segmentos.io/register\",placement=\"page\",accent=\"#00DC6D\",accentText=\"#06281B\",background=\"#0E1110\"}=props;const isStatic=useIsStaticRenderer();const ref=useRef(null);const inView=useInView(ref);// Spanish pages live under /es. Known only in the browser, so it is read after mount.\nconst[spanish,setSpanish]=useState(false);const[still,setStill]=useState(false);const[value,setValue]=useState(question||\"\");const[touched,setTouched]=useState(false);const[focused,setFocused]=useState(false);const[typed,setTyped]=useState(\"\");useEffect(()=>{if(typeof window===\"undefined\")return;const path=window.location.pathname;if(path===\"/es\"||path.startsWith(\"/es/\"))startTransition(()=>setSpanish(true));if(window.matchMedia&&window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches)startTransition(()=>setStill(true));},[]);// The steps of this box, counted by name so the path can be read as a funnel:\n// seen -> started typing -> sent. Only the name of the box travels, never the sentence.\nconst counted=useRef({});const count=(name,extra={})=>{if(isStatic||typeof window===\"undefined\"||counted.current[name])return;counted.current[name]=true;try{const w=window;if(typeof w.gtag===\"function\")w.gtag(\"event\",name,{placement,...extra});}catch{// analytics must never block the visitor\n}};const seen=useInView(ref,{amount:.5,once:true});useEffect(()=>{if(seen)count(\"prompt_box_view\");// eslint-disable-next-line react-hooks/exhaustive-deps\n},[seen]);useEffect(()=>{if(touched)count(\"prompt_box_start\");// eslint-disable-next-line react-hooks/exhaustive-deps\n},[touched]);const tr=text=>spanish&&ES[text]?ES[text]:text;const shown=examples.filter(e=>e&&e.trim()).slice(0,4);// A question set for this page (an article's own) fills the box until the visitor types.\nuseEffect(()=>{if(!touched)startTransition(()=>setValue(question?tr(question):\"\"));// eslint-disable-next-line react-hooks/exhaustive-deps\n},[question,spanish]);// While the box is empty and nobody is in it, example questions type themselves\n// in, one after another, so it is obvious what to write. Stops the moment it is\n// used, when it is off screen, and for people who asked for less motion.\nconst idle=!isStatic&&!still&&inView&&!focused&&value===\"\"&&shown.length>0;useEffect(()=>{if(!idle){startTransition(()=>setTyped(\"\"));return;}const lines=shown.map(e=>tr(e));let line=0;let at=0;let direction=1;let wait=0;const timer=window.setInterval(()=>{if(wait>0){wait-=1;return;}at+=direction;const text=lines[line];if(direction===1&&at>=text.length){at=text.length;direction=-1;wait=34;}else if(direction===-1&&at<=0){at=0;direction=1;line=(line+1)%lines.length;wait=8;}setTyped(text.slice(0,at));},48);return()=>window.clearInterval(timer);// eslint-disable-next-line react-hooks/exhaustive-deps\n},[idle,spanish,shown.join(\"|\")]);function go(event){event.preventDefault();if(typeof window===\"undefined\")return;const goal=value.trim().slice(0,400);const w=window;// Counted like the site's other buttons. The sentence itself is never sent to analytics.\ntry{if(typeof w.gtag===\"function\")w.gtag(\"event\",\"cta_click\",{cta:\"prompt_box\",location:placement,has_goal:goal?\"yes\":\"no\"});}catch{// analytics must never block the visitor\n}count(\"prompt_box_submit\",{has_goal:goal?\"yes\":\"no\"});// The app is told which box this was, so sign-ups can be traced back to it.\nconst joiner=destination.includes(\"?\")?\"&\":\"?\";const from=`from=${encodeURIComponent(placement)}`;window.location.href=goal?`${destination}${joiner}goal=${encodeURIComponent(goal)}&${from}`:`${destination}${joiner}${from}`;}const compact=layout===\"compact\";// \"bare\" is for places that already have a headline, like a hero: only the box, centered, no card.\nconst bare=layout===\"bare\";const tall=bare?60:56;const animate=!isStatic&&!still&&inView;// \"site\" takes every light colour, then changes the shape of the field, the chips and the alignment.\nconst site=theme===\"site\";const light=theme===\"light\"||site;// The colours that differ between the dark site and the light article pages.\nconst ink=light?\"#0F1210\":\"#FCFAF7\";const soft=light?\"#46544B\":\"rgba(252,250,247,0.72)\";const faint=light?\"#56645B\":\"rgba(252,250,247,0.55)\";const emptyDot=light?\"rgba(23,130,80,0.3)\":\"rgba(255,255,255,0.24)\";const card=bare?site?{maxWidth:560,margin:0,textAlign:\"left\"}:{maxWidth:780,margin:\"0 auto\",textAlign:\"center\"}:light?{background:\"#EDF6F0\",border:\"1px solid #C9DFD1\",boxShadow:\"0 14px 34px -22px rgba(23,130,80,0.45)\",borderRadius:16,padding:compact?\"22px 24px 18px\":\"30px 30px 26px\",overflow:\"hidden\"}:{// A lit corner and edge in the accent color, so the card reads as the thing to use.\nbackground:`radial-gradient(90% 130% at 100% 0%, ${mix(accent,24)} 0%, ${mix(accent,7)} 36%, transparent 62%), ${background}`,border:`1px solid ${mix(accent,42)}`,boxShadow:`0 0 0 1px ${mix(accent,10)}, 0 36px 90px -36px ${mix(accent,60)}`,borderRadius:20,padding:compact?\"24px 24px 20px\":\"36px 36px 30px\",overflow:\"hidden\"};return /*#__PURE__*/_jsxs(\"section\",{ref:ref,\"aria-label\":tr(heading),className:site?\"sgpb-light sgpb-site\":light?\"sgpb-light\":undefined,style:{...props.style,position:\"relative\",width:\"100%\",boxSizing:\"border-box\",fontFamily:FONT,color:ink,...card},children:[/*#__PURE__*/_jsx(\"style\",{children:css(accent,light)}),layout===\"full\"&&/*#__PURE__*/_jsx(\"div\",{className:\"sgpb-field\",\"aria-hidden\":\"true\",style:{position:\"absolute\",top:light?32:34,right:light?30:36,width:9*18-9,display:\"grid\",gridTemplateColumns:\"repeat(9, 9px)\",gap:9},children:Array.from({length:DOTS},(_,i)=>{// They fill from the bottom row up, left to right.\nconst row=4-Math.floor(i/9);const order=row*9+i%9;const filledWhenStill=order<19;return /*#__PURE__*/_jsx(\"span\",{className:animate?\"sgpb-dot\":undefined,style:{width:9,height:9,boxSizing:\"border-box\",borderRadius:\"50%\",border:`1.5px solid ${!animate&&filledWhenStill?accent:emptyDot}`,background:!animate&&filledWhenStill?accent:\"transparent\",animationDelay:animate?`${(order*.2).toFixed(2)}s`:undefined}},i);})}),bare?null:compact?/*#__PURE__*/_jsxs(\"p\",{style:{margin:\"0 0 14px\",display:\"flex\",alignItems:\"center\",gap:10,fontSize:19,lineHeight:1.3,fontWeight:600,letterSpacing:\"-0.01em\"},children:[/*#__PURE__*/_jsxs(\"span\",{style:{position:\"relative\",width:9,height:9,flex:\"0 0 auto\"},\"aria-hidden\":\"true\",children:[/*#__PURE__*/_jsx(\"span\",{className:animate?\"sgpb-pulse\":undefined,style:{position:\"absolute\",inset:0,borderRadius:\"50%\",background:accent}}),/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",inset:0,borderRadius:\"50%\",background:accent}})]}),tr(label),light&&/*#__PURE__*/_jsx(\"span\",{className:\"sgpb-field\",\"aria-hidden\":\"true\",style:{marginLeft:\"auto\",paddingLeft:16,display:\"grid\",gridTemplateColumns:\"repeat(9, 9px)\",gap:8,flex:\"0 0 auto\"},children:Array.from({length:9},(_,i)=>/*#__PURE__*/_jsx(\"span\",{className:animate?\"sgpb-dot\":undefined,style:{width:9,height:9,boxSizing:\"border-box\",borderRadius:\"50%\",border:`1.5px solid ${!animate&&i<4?accent:emptyDot}`,background:!animate&&i<4?accent:\"transparent\",animationDelay:animate?`${(i*.5).toFixed(2)}s`:undefined}},i))})]}):/*#__PURE__*/_jsxs(\"div\",{className:\"sgpb-head\",style:{maxWidth:light?undefined:520},children:[/*#__PURE__*/_jsx(\"h2\",{style:{margin:0,fontSize:light?28:\"clamp(28px, 4.4vw, 40px)\",lineHeight:light?1.2:1.08,fontWeight:600,letterSpacing:light?\"-0.02em\":\"-0.025em\"},children:tr(heading)}),/*#__PURE__*/_jsx(\"p\",{style:{margin:light?\"8px 0 20px\":\"12px 0 24px\",fontSize:light?16:18,lineHeight:1.5,color:soft},children:tr(subheading)})]}),/*#__PURE__*/_jsxs(\"form\",{onSubmit:go,className:site?\"sgpb-joined\":undefined,style:site?{// Field and button in one white box, as on the app's own pages.\nposition:\"relative\",display:\"flex\",flexWrap:\"wrap\",gap:6,margin:0,padding:5,background:\"#FFFFFF\",border:\"1px solid #D2D5D3\",borderRadius:12,boxShadow:\"0 1px 0 rgba(20,23,21,0.03), 0 10px 30px -14px rgba(23,130,80,0.35)\"}:{position:\"relative\",display:\"flex\",flexWrap:\"wrap\",gap:10,margin:0},children:[/*#__PURE__*/_jsx(\"input\",{className:\"sgpb-input\",type:\"text\",value:value,maxLength:400,onChange:e=>{setTouched(true);setValue(e.target.value);},onFocus:e=>{setFocused(true);if(!touched)e.target.select();},onBlur:()=>setFocused(false),placeholder:idle&&typed?typed:tr(placeholder),\"aria-label\":tr(heading),enterKeyHint:\"go\",style:site?{flex:\"999 1 220px\",minWidth:0,height:44,boxSizing:\"border-box\",padding:\"0 12px\",borderRadius:8,border:\"none\",background:\"transparent\",color:\"#141715\",fontFamily:FONT,fontSize:15,fontWeight:400,outline:\"none\",boxShadow:\"none\"}:{// Takes the row; when the row is too narrow the button drops below and fills it.\nflex:\"999 1 280px\",minWidth:0,height:tall,boxSizing:\"border-box\",padding:\"0 18px\",borderRadius:12,border:light?\"1px solid #BCD3C4\":\"none\",// A bright field on a dark page: the first thing the eye lands on.\nbackground:light?\"#FFFFFF\":\"#FCFAF7\",color:\"#0A0A0A\",fontFamily:FONT,fontSize:17,fontWeight:500,outline:\"none\",boxShadow:bare?`0 22px 60px -22px ${mix(accent,75)}`:\"none\"}}),/*#__PURE__*/_jsxs(\"button\",{className:\"sgpb-button\",type:\"submit\",style:{flex:\"1 0 auto\",height:site?44:tall,padding:site?\"0 16px\":\"0 26px\",borderRadius:site?8:12,border:\"none\",background:accent,color:accentText,fontFamily:FONT,fontSize:site?14:17,fontWeight:site?500:700,letterSpacing:\"-0.01em\",cursor:\"pointer\",whiteSpace:\"nowrap\"},children:[tr(buttonLabel),\" →\"]})]}),!compact&&shown.length>0&&/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexWrap:\"wrap\",gap:site?6:8,marginTop:site?12:16,justifyContent:bare&&!site?\"center\":\"flex-start\"},children:shown.map(example=>/*#__PURE__*/_jsx(\"button\",{className:\"sgpb-chip\",type:\"button\",onClick:()=>{setTouched(true);setValue(tr(example));// Lets another part of the page react to the pick (the home page's hero window shows\n    // the survey this question starts from). Nothing listens on other pages.\n    try{window.dispatchEvent(new CustomEvent(\"sgpb:example\",{detail:{index:shown.indexOf(example),placement}}));}catch{// never block the visitor\n    }},style:{padding:site?\"6px 10px\":\"8px 14px\",borderRadius:site?6:999,border:site?\"1px solid #E6E8E6\":light?\"1px solid #C9DFD1\":\"1px solid rgba(255,255,255,0.22)\",background:site?\"#F8F9F8\":light?\"#FFFFFF\":bare?\"rgba(10,10,10,0.4)\":\"rgba(255,255,255,0.03)\",color:site?\"#141715\":light?\"#2B302C\":\"rgba(252,250,247,0.86)\",fontFamily:FONT,fontSize:site?12.5:14,lineHeight:site?1.3:undefined,cursor:\"pointer\",textAlign:\"left\"},children:tr(example)},example))}),note&&/*#__PURE__*/_jsx(\"p\",{style:{margin:compact?\"12px 0 0\":\"18px 0 0\",fontSize:13,lineHeight:1.4,color:faint},children:tr(note)})]});}addPropertyControls(PromptBox,{layout:{type:ControlType.Enum,title:\"Layout\",options:[\"full\",\"compact\",\"bare\"],optionTitles:[\"Full\",\"Compact\",\"Bare\"],defaultValue:\"full\",displaySegmentedControl:true},theme:{type:ControlType.Enum,title:\"Theme\",options:[\"dark\",\"light\",\"site\"],optionTitles:[\"Dark\",\"Light\",\"Site\"],defaultValue:\"dark\",displaySegmentedControl:true,description:\"Light is for the light article pages. Site is for the light marketing pages (joined field, left-aligned when bare).\"},heading:{type:ControlType.String,title:\"Heading\",defaultValue:\"What do you want to learn?\",hidden:p=>p.layout!==\"full\"},subheading:{type:ControlType.String,title:\"Text\",defaultValue:\"Say it in a sentence. SegmentOS writes the survey, and real people answer it.\",displayTextArea:true,hidden:p=>p.layout!==\"full\"},label:{type:ControlType.String,title:\"Label\",defaultValue:\"Want to check this for your own idea?\",hidden:p=>p.layout!==\"compact\"},question:{type:ControlType.String,title:\"Question\",defaultValue:\"\",placeholder:\"Fills the box, e.g. an article's own question\"},placeholder:{type:ControlType.String,title:\"Placeholder\",defaultValue:\"For example: would people buy my idea?\"},buttonLabel:{type:ControlType.String,title:\"Button\",defaultValue:\"Write my survey\"},examples:{type:ControlType.Array,title:\"Examples\",control:{type:ControlType.String},defaultValue:[\"Would people buy my idea?\",\"Are our customers happy with us?\",\"What do people think of our brand?\"],maxCount:4,description:\"Shown as buttons, and typed into the empty box one after another.\"},note:{type:ControlType.String,title:\"Note\",defaultValue:\"Free to start. No card needed.\"},destination:{type:ControlType.String,title:\"Goes to\",defaultValue:\"https://app.segmentos.io/register\",preventLocalization:true},placement:{type:ControlType.String,title:\"Placement\",defaultValue:\"page\",preventLocalization:true,description:\"Named in analytics, e.g. home-hero, article-top.\"},accent:{type:ControlType.Color,title:\"Accent\",defaultValue:\"#00DC6D\"},accentText:{type:ControlType.Color,title:\"Button Text\",defaultValue:\"#06281B\"},background:{type:ControlType.Color,title:\"Background\",defaultValue:\"#0E1110\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PromptBox\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"300\",\"framerIntrinsicWidth\":\"760\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PromptBox.map"],"mappings":"A,yQAiBA,SAASkB,EAAI,EAAO,EAAM,CAAC,IAAMC,EAAMC,EAAM,sBAAsB,yBAAyB,MAAM;;;kCAGhEA,EAAM,aAAaC,EAAIC,EAAO,EAAE,IAAI,aAAaD,EAAIC,EAAO,EAAE,EAAE,sBAAsBD,EAAIC,EAAO,EAAE,IAAI;yGAChCF,EAAM,OAAO,qBAAqBC,EAAIC,EAAO,EAAE,IAAI;0FAClEF,EAAM,OAAO,qBAAqBC,EAAIC,EAAO,EAAE,IAAI;;4EAEjEA,EAAO;;mCAEhDD,EAAIC,EAAO,EAAE,EAAE,WAAWF,EAAM,UAAU,UAAU,gBAAgBC,EAAIC,EAAO,EAAE,EAAE;;;oDAGlEH,EAAM;;2BAE/BG,EAAO,kBAAkBA,EAAO;uDACJH,EAAM;;;;;;;;;;;uDAWNE,EAAIC,EAAO,EAAE,EAAE,qCAAqCD,EAAIC,EAAO,EAAE,EAAE;;CAExH,CAQC,SAAwBC,EAAU,EAAM,CAAC,GAAK,CAAC,SAAO,OAAO,QAAM,OAAO,UAAQ,6BAA6B,aAAW,gFAAgF,QAAM,wCAAwC,WAAS,GAAG,cAA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