{"version":3,"file":"PlatformFlow.BeCWPiwG.mjs","names":["p","React.useId","React.useState","React.useRef","__esmMin","de","ie","init_ssg_sandbox_shims","init_npm_react_18_3_1","ce","window","_e","init_jsx_runtime","addPropertyControls","init_framer_Duogf4LG","ControlType","fitName","width","name","NAME_MAX_WIDTH","chars","low","high","mid","PlatformFlow","ratio","logoRatio","logoSrc","logo","DEFAULT_LOGO","platform","platformName","p$1","supplierName","FALLBACK_NAME","shown","setShown","svgRef","canvas","cancelled","fit","NAME_FONT","text","fonts","svg","layer","ns","reduce","particles","make","path","pathId","g","halo","tracking","dot","icon","i","raf","origin","render","q","age","seconds","CYCLE","DURATION","progress","pt","tick","now","start","BOX","fontsCss","css","FILL","defs","before","cardOne","cardOneSub","after","FONTS_CSS","logoTag","init_PlatformFlow","p","w","h"],"sources":["https:/framerusercontent.com/modules/pue2wSYZze3aXYIVR4oa/ic0kzg2r9f8sotdWuQrf/PlatformFlow.js"],"sourcesContent":["// Platform hero flow (proposal ecommerce-integration-pages): the WooCommerce hero flow (framer/WooCommerceFlow.tsx), which stays\n// unchanged for the WooCommerce page, with the logo and the platform name as properties. A copy of the supplier flow animation\n// (framer/SupplierFlow.tsx), which stays unchanged for every other page: the same drawing, animation and\n// reduced-motion behaviour, with the WooCommerce logo on the left card, \"Suppliers and partners\" above\n// the right cards and a fulfilment partner as the third card. The drawing is sized by the SVG itself (absolutely placed, 100% x 100%, viewBox meet),\n// not by container query units, so it is at its final size in the first painted frame. Written to the preview branch only.\n// Supplier flow animation. The export of the Integrations template (scripts/lib/sales-template.mjs)\n// places it in the template and binds supplierName to the item's \"Party name\"; do not edit it in Framer.\n// It is the former HTML embed, unchanged in drawing, styling, animation and scaling, with one\n// difference: the first supplier card shows the supplier's name instead of \"Supplier A\" (the cards\n// \"Supplier B\" and \"Supplier C\" stay). A name that does not fit the card is shortened with an\n// ellipsis; the full name stays available as the card's tooltip and in the image description.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";const DEFAULT_LOGO=\"https://framerusercontent.com/images/GJOavF4NMputKnUYAepehPvjbM.svg\";const FONTS_CSS=\"https://fonts.googleapis.com/css2?family=League+Spartan:wght@500;600;700&family=Roboto:wght@400;500&display=swap\";const NAME_FONT='600 17px \"League Spartan\", \"Avenir Next\", system-ui, sans-serif';// The card is 240 wide and its text starts at 998 of 940..1180: the same 14 units of space on both sides.\nconst NAME_MAX_WIDTH=168;const FALLBACK_NAME=\"Supplier\";const DURATION=4.8;const CYCLE=8.4;// Sizing is inline, not only in the style element: a style element with an @import is not applied in the first painted\n// frames, which showed the drawing at the wrong size until the font sheet had loaded.\nconst BOX={position:\"relative\",width:\"100%\",height:\"100%\",overflow:\"hidden\"};const FILL={position:\"absolute\",inset:0,display:\"block\",width:\"100%\",height:\"100%\",overflow:\"hidden\"};const fontsCss=`@import url('${FONTS_CSS}');`;// The font import has its own style element: rules after an @import in the same sheet are not applied until the\n// imported sheet has loaded, which left the drawing unsized (and then resized) for the first frames.\nconst css=p=>`.${p}{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;background:transparent;font-family:Roboto,system-ui,sans-serif;color:#16181d}\n.${p} *{box-sizing:border-box}\n.${p}>svg{position:absolute;inset:0;display:block;width:100%;height:100%;overflow:hidden}\n.${p} .display{font-family:'League Spartan','Avenir Next',system-ui,sans-serif}.${p} .muted{fill:#6b7280}.${p} .route{fill:none;stroke-width:2;stroke-linecap:round}.${p} .card{fill:white;stroke:#e9eaef;stroke-width:1}.${p} .small{font-size:12px}.${p} .motion{pointer-events:none}.${p} .pulse{transform-box:fill-box;transform-origin:center;animation:${p}pulse 3.4s ease-out infinite}\n@keyframes ${p}pulse{0%,100%{opacity:0;transform:scale(.98)}20%{opacity:.6}65%{opacity:0;transform:scale(1.13)}}\n@media(prefers-reduced-motion:reduce){.${p} .pulse{animation:none}.${p} .motion{display:none}}`;// The drawing as it was in the embed. Ids are prefixed so several instances on a page never share one.\nconst defs=p=>`<defs>\n <filter id=\"${p}shadow\" x=\"-30%\" y=\"-50%\" width=\"160%\" height=\"220%\"><feDropShadow dx=\"0\" dy=\"7\" stdDeviation=\"10\" flood-color=\"#141828\" flood-opacity=\".05\" /></filter>\n <filter id=\"${p}blue-shadow\" x=\"-35%\" y=\"-70%\" width=\"170%\" height=\"240%\"><feDropShadow dx=\"0\" dy=\"10\" stdDeviation=\"12\" flood-color=\"#007bff\" flood-opacity=\".19\" /></filter>\n <marker id=\"${p}arrow-blue\" markerWidth=\"6\" markerHeight=\"6\" refX=\"5\" refY=\"3\" orient=\"auto\"><path d=\"M1 1 4 3 1 5\" fill=\"none\" stroke=\"#a6ccfa\" stroke-width=\"1.2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" /></marker>\n <marker id=\"${p}arrow-green\" markerWidth=\"6\" markerHeight=\"6\" refX=\"5\" refY=\"3\" orient=\"auto\"><path d=\"M1 1 4 3 1 5\" fill=\"none\" stroke=\"#aad4ba\" stroke-width=\"1.2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" /></marker>\n <symbol id=\"${p}order\" viewBox=\"0 0 24 24\"><g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M7 3.5h7l4 4V20H6V3.5h1Z\" /><path d=\"M14 3.5v5h4M9 12h6M9 16h4\" /></g></symbol>\n <symbol id=\"${p}truck\" viewBox=\"0 0 24 24\"><g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M3 6h10v10H3zM13 10h4l4 4v2h-8\" /><circle cx=\"7\" cy=\"18\" r=\"2\" /><circle cx=\"17\" cy=\"18\" r=\"2\" /></g></symbol>\n <symbol id=\"${p}box\" viewBox=\"0 0 24 24\"><g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.7\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"m12 3 9 5-9 5-9-5 9-5Zm-9 5v10l9 5 9-5V8M12 13v10M7.5 5.5l9 5\" /></g></symbol>\n <symbol id=\"${p}check\" viewBox=\"0 0 24 24\"><path d=\"m5.5 12 4.5 4.5 8.5-9\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" /></symbol>\n <clipPath id=\"${p}name-clip\"><rect x=\"998\" y=\"40\" width=\"${NAME_MAX_WIDTH}\" height=\"36\" /></clipPath>\n\n <path id=\"${p}o0\" d=\"M256 256H492C518 256 520 108 546 108\" />\n <path id=\"${p}o1\" d=\"M256 256H492C518 256 520 251 546 251\" />\n <path id=\"${p}o2\" d=\"M256 256H492C518 256 520 394 546 394\" />\n <path id=\"${p}t0\" d=\"M546 108C520 108 518 256 492 256H256\" />\n <path id=\"${p}t1\" d=\"M546 251C520 251 518 256 492 256H256\" />\n <path id=\"${p}t2\" d=\"M546 394C520 394 518 256 492 256H256\" />\n</defs>`;/**\n * The logo on the left card. An image whose own aspect ratio is known (an SVG without a viewBox is stretched to\n * the box by the browser, whatever \"meet\" says) is drawn at exactly that ratio, calmly small and centred in the\n * header row; every other logo keeps the box and \"meet\" it had.\n */const logoTag=(logo,ratio)=>{if(!(ratio>0))return`<image href=\"${logo}\" x=\"36\" y=\"84\" width=\"168\" height=\"28\" preserveAspectRatio=\"xMinYMid meet\" />`;const w=Math.min(140,28*ratio);const h=w/ratio;return`<image href=\"${logo}\" x=\"36\" y=\"${(98-h/2).toFixed(2)}\" width=\"${w.toFixed(2)}\" height=\"${h.toFixed(2)}\" preserveAspectRatio=\"none\" />`;};const before=(p,logo,logoRatio)=>`<g aria-hidden=\"true\"><path d=\"M256 256H320\" class=\"route\" stroke=\"#DDE3EB\" /><path d=\"M492 256C518 256 520 108 546 108\" class=\"route\" stroke=\"#DDE3EB\" /><path d=\"M492 256C518 256 520 251 546 251\" class=\"route\" stroke=\"#DDE3EB\" /><path d=\"M492 256C518 256 520 394 546 394\" class=\"route\" stroke=\"#DDE3EB\" /></g><g filter=\"url(#${p}shadow)\" transform=\"translate(-4 107)\">\n <rect class=\"card\" x=\"20\" y=\"67\" width=\"240\" height=\"190\" rx=\"16\" />\n ${logoTag(logo,logoRatio)}\n <path d=\"M20 128H260\" stroke=\"#f1f2f5\" />\n <circle cx=\"43\" cy=\"150\" r=\"4\" fill=\"#007bff\" /><text x=\"57\" y=\"154\" font-size=\"12.5\" fill=\"#4b5563\">Order #1048</text><rect x=\"176\" y=\"141\" width=\"65\" height=\"19\" rx=\"6\" fill=\"#e6f2ff\" /><text x=\"208\" y=\"154\" text-anchor=\"middle\" font-size=\"10.5\" fill=\"#007bff\">Sent</text>\n <path d=\"M36 171H244\" stroke=\"#f1f2f5\" />\n <circle cx=\"43\" cy=\"192\" r=\"4\" fill=\"#0e9f8e\" /><text x=\"57\" y=\"196\" font-size=\"12.5\" fill=\"#4b5563\">Order #1049</text><rect x=\"176\" y=\"183\" width=\"65\" height=\"19\" rx=\"6\" fill=\"#e7f6ec\" /><text x=\"208\" y=\"196\" text-anchor=\"middle\" font-size=\"10.5\" fill=\"#1f9d55\">Shipped</text>\n <path d=\"M36 213H244\" stroke=\"#f1f2f5\" />\n <use href=\"#${p}truck\" x=\"37\" y=\"225\" width=\"15\" height=\"15\" color=\"#1f9d55\" /><text x=\"59\" y=\"236\" class=\"small muted\">Tracking received</text><use href=\"#${p}check\" x=\"224\" y=\"225\" width=\"15\" height=\"15\" color=\"#1f9d55\" />\n</g>\n\n<text x=\"645\" y=\"56\" text-anchor=\"middle\" class=\"display\" font-size=\"15\" fill=\"#6b7280\" font-weight=\"600\">Suppliers and partners</text>\n<text x=\"406\" y=\"206\" text-anchor=\"middle\" class=\"display\" font-size=\"12\" fill=\"#007bff\" font-weight=\"600\">Orders →</text>\n<text x=\"406\" y=\"312\" text-anchor=\"middle\" class=\"display\" font-size=\"12\" fill=\"#1f9d55\" font-weight=\"600\">← Tracking</text>\n<g id=\"${p}updates\" class=\"motion\" aria-hidden=\"true\"></g>\n<rect class=\"pulse\" x=\"320\" y=\"228\" width=\"172\" height=\"56\" rx=\"28\" fill=\"none\" stroke=\"#007bff\" stroke-width=\"1.5\" />\n<rect x=\"320\" y=\"228\" width=\"172\" height=\"56\" rx=\"28\" fill=\"#007bff\" filter=\"url(#${p}blue-shadow)\" />\n<text x=\"406\" y=\"265\" fill=\"white\" text-anchor=\"middle\" class=\"display\" font-size=\"28\" font-weight=\"700\" letter-spacing=\"-.4\">Dropday</text>`;const cardOne=p=>`<rect class=\"card\" x=\"940\" y=\"33\" width=\"240\" height=\"68\" rx=\"14\" /><rect x=\"954\" y=\"51\" width=\"32\" height=\"32\" rx=\"9\" fill=\"#fdebf1\" /><use href=\"#${p}box\" x=\"962\" y=\"58\" width=\"16\" height=\"17\" color=\"#d94f7a\" />`;const cardOneSub=`<text x=\"998\" y=\"82\" class=\"small muted\">Order fulfilment</text>`;const after=p=>`<g transform=\"translate(-229.5 119.05000000000001) scale(.825)\" filter=\"url(#${p}shadow)\"><rect class=\"card\" x=\"940\" y=\"126\" width=\"240\" height=\"68\" rx=\"14\" /><rect x=\"954\" y=\"144\" width=\"32\" height=\"32\" rx=\"9\" fill=\"#e3f6f3\" /><use href=\"#${p}box\" x=\"962\" y=\"151\" width=\"16\" height=\"17\" color=\"#0e9f8e\" /><text x=\"998\" y=\"156\" class=\"display\" font-size=\"17\" font-weight=\"600\">Supplier B</text><text x=\"998\" y=\"175\" class=\"small muted\">Order fulfilment</text></g><g transform=\"translate(-229.5 185.32500000000002) scale(.825)\" filter=\"url(#${p}shadow)\"><rect class=\"card\" x=\"940\" y=\"219\" width=\"240\" height=\"68\" rx=\"14\" /><rect x=\"954\" y=\"237\" width=\"32\" height=\"32\" rx=\"9\" fill=\"#fff1e6\" /><use href=\"#${p}box\" x=\"962\" y=\"244\" width=\"16\" height=\"17\" color=\"#db6a1c\" /><text x=\"998\" y=\"249\" class=\"display\" font-size=\"17\" font-weight=\"600\">Fulfilment partner</text><text x=\"998\" y=\"268\" class=\"small muted\">Order fulfilment</text></g>`;/** The longest start of the name that fits, with an ellipsis; the whole name when it fits. */function fitName(name,width){if(width(name)<=NAME_MAX_WIDTH)return name;const chars=Array.from(name);let low=0;let high=chars.length;while(low<high){const mid=Math.ceil((low+high)/2);if(width(chars.slice(0,mid).join(\"\").trimEnd()+\"…\")<=NAME_MAX_WIDTH)low=mid;else high=mid-1;}return chars.slice(0,low).join(\"\").trimEnd()+\"…\";}/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function PlatformFlow({supplierName,logo,platformName,logoRatio}){const ratio=Number.isFinite(logoRatio)&&logoRatio>0?logoRatio:0;const logoSrc=(logo||\"\").replace(/[<>\"'&\\s]/g,\"\")||DEFAULT_LOGO;const platform=(platformName||\"\").replace(/\\s+/g,\" \").trim()||\"your webshop\";const p=\"df\"+React.useId().replace(/[^a-zA-Z0-9]/g,\"\");const name=(supplierName||\"\").replace(/\\s+/g,\" \").trim()||FALLBACK_NAME;const[shown,setShown]=React.useState(name);const svgRef=React.useRef(null);// Fit the name to its card with the card's own font; again when the fonts have loaded.\nReact.useEffect(()=>{setShown(name);const canvas=document.createElement(\"canvas\").getContext(\"2d\");if(!canvas)return;let cancelled=false;const fit=()=>{if(cancelled)return;canvas.font=NAME_FONT;setShown(fitName(name,text=>canvas.measureText(text).width));};fit();const fonts=document.fonts;if(fonts){fonts.load(NAME_FONT).then(fit,()=>{});fonts.ready.then(fit,()=>{});fonts.addEventListener?.(\"loadingdone\",fit);}return()=>{cancelled=true;fonts?.removeEventListener?.(\"loadingdone\",fit);};},[name]);// The animation of the embed: orders travel out, their tracking comes back.\nReact.useEffect(()=>{const svg=svgRef.current;const layer=svg?.querySelector(\"#\"+p+\"updates\");if(!svg||!layer)return;const ns=\"http://www.w3.org/2000/svg\";const reduce=window.matchMedia(\"(prefers-reduced-motion: reduce)\");const particles=[];const make=(pathId,delay,tracking)=>{const path=svg.querySelector(\"#\"+p+pathId);if(!path)return;const g=document.createElementNS(ns,\"g\");const halo=document.createElementNS(ns,\"circle\");halo.setAttribute(\"r\",\"15\");halo.setAttribute(\"fill\",tracking?\"#e7f6ec\":\"#e6f2ff\");g.append(halo);const dot=document.createElementNS(ns,\"circle\");dot.setAttribute(\"r\",\"10.5\");dot.setAttribute(\"fill\",tracking?\"#1f9d55\":\"#007bff\");g.append(dot);const icon=document.createElementNS(ns,\"use\");icon.setAttribute(\"href\",\"#\"+p+(tracking?\"truck\":\"order\"));icon.setAttribute(\"x\",\"-6.5\");icon.setAttribute(\"y\",\"-6.5\");icon.setAttribute(\"width\",\"13\");icon.setAttribute(\"height\",\"13\");icon.setAttribute(\"color\",\"white\");g.append(icon);g.setAttribute(\"opacity\",\"0\");layer.append(g);particles.push({path,length:path.getTotalLength(),delay,g});};// Orders arrive first; their tracking follows, with a short processing pause.\nfor(let i=0;i<3;i++){make(\"o\"+i,i*1.5,false);make(\"t\"+i,i*1.5+3.3,true);}let raf=0;const origin=performance.now();const render=seconds=>{for(const q of particles){const age=((seconds-q.delay)%CYCLE+CYCLE)%CYCLE;if(age>DURATION){q.g.setAttribute(\"opacity\",\"0\");continue;}const progress=age/DURATION;const pt=q.path.getPointAtLength(q.length*progress);q.g.setAttribute(\"transform\",`translate(${pt.x} ${pt.y})`);q.g.setAttribute(\"opacity\",String(Math.min(1,progress*14,(1-progress)*14)));}};const tick=now=>{render((now-origin)/1e3);raf=requestAnimationFrame(tick);};const start=()=>{cancelAnimationFrame(raf);const run=!reduce.matches&&!document.hidden;if(run){layer.removeAttribute(\"visibility\");raf=requestAnimationFrame(tick);}else layer.setAttribute(\"visibility\",\"hidden\");};document.addEventListener(\"visibilitychange\",start);reduce.addEventListener(\"change\",start);start();svg.__seek=seconds=>{cancelAnimationFrame(raf);layer.removeAttribute(\"visibility\");render(seconds);};return()=>{cancelAnimationFrame(raf);document.removeEventListener(\"visibilitychange\",start);reduce.removeEventListener(\"change\",start);for(const q of particles)q.g.remove();};},[p]);return /*#__PURE__*/_jsxs(\"div\",{className:p,style:BOX,children:[/*#__PURE__*/_jsx(\"style\",{children:fontsCss}),/*#__PURE__*/_jsx(\"style\",{children:css(p)}),/*#__PURE__*/_jsxs(\"svg\",{ref:svgRef,style:FILL,xmlns:\"http://www.w3.org/2000/svg\",viewBox:\"0 0 760 512\",role:\"img\",\"aria-labelledby\":p+\"title \"+p+\"desc\",children:[/*#__PURE__*/_jsxs(\"title\",{id:p+\"title\",children:[\"Orders out from \",platform,\". Tracking back.\"]}),/*#__PURE__*/_jsx(\"desc\",{id:p+\"desc\",children:`Orders flow from ${platform} through Dropday to your suppliers and fulfilment partners. Shipment tracking travels back through Dropday to the order.`}),/*#__PURE__*/_jsx(\"g\",{dangerouslySetInnerHTML:{__html:defs(p)}}),/*#__PURE__*/_jsx(\"g\",{dangerouslySetInnerHTML:{__html:before(p,logoSrc,ratio)}}),/*#__PURE__*/_jsxs(\"g\",{transform:\"translate(-229.5 52.775000000000006) scale(.825)\",filter:`url(#${p}shadow)`,children:[/*#__PURE__*/_jsx(\"g\",{dangerouslySetInnerHTML:{__html:cardOne(p)}}),/*#__PURE__*/_jsx(\"title\",{children:name}),/*#__PURE__*/_jsx(\"text\",{x:\"998\",y:\"63\",className:\"display\",fontSize:\"17\",fontWeight:\"600\",clipPath:`url(#${p}name-clip)`,children:shown}),/*#__PURE__*/_jsx(\"g\",{dangerouslySetInnerHTML:{__html:cardOneSub}})]}),/*#__PURE__*/_jsx(\"g\",{dangerouslySetInnerHTML:{__html:after(p)}})]})]});}addPropertyControls(PlatformFlow,{logo:{type:ControlType.String,title:\"Logo URL\",defaultValue:DEFAULT_LOGO,description:\"The platform logo, shown whole at its own proportions on the left card.\"},platformName:{type:ControlType.String,title:\"Platform name\",defaultValue:\"your webshop\"},logoRatio:{type:ControlType.Number,title:\"Logo ratio\",defaultValue:0,min:0,max:20,step:.01,description:\"Width divided by height, for a logo that must be drawn at an exact ratio (an SVG without a viewBox). 0 keeps the default fitting.\"},supplierName:{type:ControlType.String,title:\"Supplier name\",defaultValue:\"Supplier A\",description:\"Shown on the first supplier card. Bind it to the item's Party name.\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PlatformFlow\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PlatformFlow.map"],"mappings":"A,+MA6Di+C,SAASgB,EAAQ,EAAK,EAAM,CAAC,GAAGC,EAAMC,CAAI,GAAGC,EAAe,OAAOD,EAAK,IAAME,EAAM,MAAM,KAAKF,CAAI,EAAMG,EAAI,EAAMC,EAAKF,EAAM,OAAO,KAAMC,EAAIC,GAAK,CAAC,IAAMC,EAAI,KAAK,MAAMF,EAAIC,GAAM,CAAC,EAAKL,EAAMG,EAAM,MAAM,EAAEG,CAAG,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC,QAAQ,EAAE,GAAG,GAAGJ,EAAe,EAAII,EAAS,EAAKA,EAAI,CAAE,CAAC,OAAOH,EAAM,MAAM,EAAEC,CAAG,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC,QAAQ,EAAE,GAAI,CAGnyD,SAAwBG,EAAa,CAAC,eAAa,OAAK,eAAa,aAAW,CAAC,IAAMC,EAAM,OAAO,SAASC,CAAS,GAAGA,EAAU,EAAEA,EAAU,EAAQC,GAASC,GAAM,GAAA,CAAI,QAAQ,aAAa,EAAE,GAAGC,EAAmBC,GAAUC,GAAc,GAAA,CAAI,QAAQ,OAAO,GAAG,CAAC,CAAC,KAAK,GAAG,eAAqB/B,EAAE,KAAKC,EAAY,CAAC,CAAC,QAAQ,gBAAgB,EAAE,EAAQiB,GAAMe,GAAc,GAAA,CAAI,QAAQ,OAAO,GAAG,CAAC,CAAC,KAAK,GAAGC,EAAmB,CAACC,EAAMC,GAAUlC,EAAegB,CAAI,EAAQmB,EAA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