{"version":3,"file":"Copy_url.CHRff5Jm.mjs","names":["React.forwardRef","useState"],"sources":["https:/framerusercontent.com/modules/VaHu2hDQgvT7QocJBeNI/1ebX6asMIUlTGuuREfja/lqLqTdUzT.js","https:/framerusercontent.com/modules/RupXRxZxFZlYGfGwbcFa/y13Roh4hDWXmX67hF7bd/Copy_url.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 7.656 16.656 C 5.895 18.389 3.065 18.377 1.318 16.63 C -0.429 14.883 -0.441 12.054 1.292 10.292 L 10.292 1.292 C 12.054 -0.441 14.883 -0.429 16.63 1.318 C 18.377 3.065 18.389 5.895 16.656 7.656 Z\" fill-opacity=\"var(--1m6trwb, 0)\" fill=\"var(--21h8s6, rgb(0, 0, 0))\" height=\"17.948174427620206px\" id=\"eTR6NgaTs\" transform=\"translate(3.026 3.026)\" width=\"17.948174427620195px\"/><path d=\"M 0 6 L 6 0\" fill=\"transparent\" height=\"6px\" id=\"Tq8y4bmt5\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--pgex8v, 1.5)\" stroke=\"var(--21h8s6, rgb(0, 0, 0))\" transform=\"translate(9 9)\" width=\"6px\"/><path d=\"M 0 4.105 L 2.818 1.292 C 4.58 -0.441 7.409 -0.429 9.156 1.318 C 10.903 3.065 10.915 5.895 9.182 7.656 L 6.364 10.469\" fill=\"transparent\" height=\"10.469399713810105px\" id=\"c33sCRJKn\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--pgex8v, 1.5)\" stroke=\"var(--21h8s6, rgb(0, 0, 0))\" transform=\"translate(10.5 3.031)\" width=\"10.474087213810108px\"/><path d=\"M 4.105 0 L 1.292 2.818 C -0.441 4.58 -0.429 7.409 1.318 9.156 C 3.065 10.903 5.895 10.915 7.656 9.182 L 10.469 6.364\" fill=\"transparent\" height=\"10.474087213810108px\" id=\"afoIWCIcF\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--pgex8v, 1.5)\" stroke=\"var(--21h8s6, rgb(0, 0, 0))\" transform=\"translate(3.031 10.5)\" width=\"10.469399713810105px\"/></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(\"4181507366\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-sRfah\",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-sRfah { -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\":\"Link Simple\",\"color\":{\"type\":\"variable\",\"value\":\"21h8s6\"},\"set\":{\"localId\":\"vectorSet/NGVKdicsm\",\"id\":\"NGVKdicsm\",\"moduleId\":\"omX0gWFPqDwhaiWwf6ab\"}}\n * @framerDisableUnlink true\n */const Icon=withCSS(Component,css,\"framer-sRfah\");Icon.displayName=\"Link Simple\";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\":{\"framerImmutableVariables\":\"true\",\"framerVariables\":\"{\\\"ezTt3ayMo\\\":\\\"color\\\",\\\"lschgej4H\\\":\\\"width1\\\",\\\"qxTvv_EBh\\\":\\\"alpha\\\"}\",\"framerIntrinsicHeight\":\"24\",\"framerIntrinsicWidth\":\"24\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerDisableUnlink\":\"true\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerVector\":\"{\\\"name\\\":\\\"Link Simple\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"21h8s6\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/NGVKdicsm\\\",\\\"id\\\":\\\"NGVKdicsm\\\",\\\"moduleId\\\":\\\"omX0gWFPqDwhaiWwf6ab\\\"}}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx}from\"react/jsx-runtime\";import{useState}from\"react\";export function withCopyPageUrl(Component){return props=>{const[copied,setCopied]=useState(false);const handleClick=async e=>{if(typeof window===\"undefined\")return;try{await navigator.clipboard.writeText(window.location.href);}catch{const ta=document.createElement(\"textarea\");ta.value=window.location.href;ta.style.position=\"fixed\";ta.style.opacity=\"0\";document.body.appendChild(ta);ta.select();document.execCommand(\"copy\");document.body.removeChild(ta);}setCopied(true);setTimeout(()=>setCopied(false),1500);props.onClick?.(e);};return /*#__PURE__*/_jsx(Component,{...props,variant:copied?\"Copied\":props.variant,onClick:handleClick,\"data-copied\":copied?\"true\":\"false\",style:{...props.style,cursor:\"pointer\"}});};}export function withCopyStoriesSectionUrl(Component){return props=>{const[copied,setCopied]=useState(false);const handleClick=async e=>{if(typeof window===\"undefined\")return;const storiesUrl=window.location.origin+window.location.pathname+window.location.search+\"#stories\";try{await navigator.clipboard.writeText(storiesUrl);}catch{const ta=document.createElement(\"textarea\");ta.value=storiesUrl;ta.style.position=\"fixed\";ta.style.opacity=\"0\";document.body.appendChild(ta);ta.select();document.execCommand(\"copy\");document.body.removeChild(ta);}setCopied(true);setTimeout(()=>setCopied(false),1500);props.onClick?.(e);};return /*#__PURE__*/_jsx(Component,{...props,variant:copied?\"Copied\":props.variant,onClick:handleClick,\"data-copied\":copied?\"true\":\"false\",style:{...props.style,cursor:\"pointer\"}});};}export function withCopyMetricsSectionUrl(Component){return props=>{const[copied,setCopied]=useState(false);const handleClick=async e=>{if(typeof window===\"undefined\")return;const metricsUrl=window.location.origin+window.location.pathname+window.location.search+\"#metrics\";try{await navigator.clipboard.writeText(metricsUrl);}catch{const ta=document.createElement(\"textarea\");ta.value=metricsUrl;ta.style.position=\"fixed\";ta.style.opacity=\"0\";document.body.appendChild(ta);ta.select();document.execCommand(\"copy\");document.body.removeChild(ta);}setCopied(true);setTimeout(()=>setCopied(false),1500);props.onClick?.(e);};return /*#__PURE__*/_jsx(Component,{...props,variant:copied?\"Copied\":props.variant,onClick:handleClick,\"data-copied\":copied?\"true\":\"false\",style:{...props.style,cursor:\"pointer\"}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withCopyPageUrl\":{\"type\":\"reactHoc\",\"name\":\"withCopyPageUrl\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCopyStoriesSectionUrl\":{\"type\":\"reactHoc\",\"name\":\"withCopyStoriesSectionUrl\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCopyMetricsSectionUrl\":{\"type\":\"reactHoc\",\"name\":\"withCopyMetricsSectionUrl\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Copy_url.map"],"mappings":"iSAC0C,IAAqF,IAA4B,EAAqC,EAAK,0BAAgC,EAAkB,EAAW,SAAS,EAAM,EAAI,CAAC,OAAoB,EAAK,MAAM,CAAC,GAAG,EAAU,MAAI,SAAS,EAAM,QAAQ,CAAC,CAAE,CAAC,EAAQ,EAAU,EAAO,OAAO,CAAI,EAAQ,EAAiB,GAAY,EAAM,IAAM,CAAC,GAAK,CAAC,WAAS,WAAS,WAAS,GAAG,GAAM,EAAM,OAAO,EAAsB,EAAK,EAAU,CAAC,GAAG,EAAc,WAAa,MAAa,UAAQ,CAAC,EAAe,EAAK,MAAM,CAAC,GAAG,EAAS,MAAa,UAAQ,CAAC,CAAE,CAAC,EAAQ,EAAI,s/CAA4/C,GAAU,CAAC,QAAM,QAAM,SAAO,KAAG,QAAM,SAAO,GAAG,MAAgB,CAAC,GAAG,EAAM,UAAU,GAAO,EAAM,WAAW,eAAe,UAAU,GAAQ,EAAM,WAAW,IAAI,UAAU,GAAO,EAAM,SAAS,GAU30E,EAAK,EAVu2EA,EAAiB,SAAS,EAAM,EAAI,CAAC,GAAK,CAAC,QAAM,YAAU,WAAS,UAAQ,YAAU,YAAU,YAAU,GAAG,GAAW,EA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