{"version":3,"file":"shared-lib.DLlP2wRT.mjs","names":["el","fonts","css","className"],"sources":["https:/framerusercontent.com/modules/xJMfjjbwheFeRmlSkIBY/0ZkWxum0g7KdwTS9ucqi/ImageGuard.js","https:/framerusercontent.com/modules/gUkakOyaNXLwzNGFEdYn/2XWrLx4erseb5sLWW2pi/pDPLwSFEf.js","https:/framerusercontent.com/modules/aSnBR4uLWkFG4Fnok5P6/AgWKTzk8sxL7ZMoEBRg9/xG04IEthK.js","https:/framerusercontent.com/modules/mvomAdqCNFV4jMWjsN63/jFg9Vyi74qyRu32yS0at/siteMetadata.js"],"sourcesContent":["// ImageGuard.tsx\n// ------------------------------------------------------------\n// 🔒 ImageGuard — Lightweight global image-protection plugin\n//\n// ▶ Features\n// • Image Protection — disables right-click, drag, selection, and long-press\n//   on all images only.\n// • Global Right-Click — when set to *Disable*, blocks right-click anywhere\n//   on the page.\n//\n// ⚠️ Note: cannot prevent screenshots or DevTools access.\n//\n// ------------------------------------------------------------\n// Author: Abdullah Noman, Product Designer\n// Visit My Website: https://noman.design\n// ------------------------------------------------------------\nimport{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";const IMG_SELECTOR='img, picture, figure, [role=\"img\"], [data-framer-component-type=\"Image\"]';export default function ImageGuard({imageProtection=true,globalRightClick=true}){React.useEffect(()=>{const isImage=t=>{const el=t;return!!el?.closest(IMG_SELECTOR);};const stop=e=>{e.preventDefault();e.stopPropagation();};// Context-menu behavior\nconst onContextMenu=e=>{// if globalRightClick is false => block everywhere\nif(!globalRightClick)return stop(e);// otherwise only block on images (if enabled)\nif(imageProtection&&isImage(e.target))stop(e);};// Image-only interactions\nconst onSelect=e=>{if(imageProtection&&isImage(e.target))stop(e);};const onDrag=e=>{if(imageProtection&&isImage(e.target))stop(e);};const onTouch=e=>{if(imageProtection&&isImage(e.target))stop(e);};// Mark images and inject minimal CSS\nlet css=null;let mo=null;const mark=(root=document)=>{root.querySelectorAll(IMG_SELECTOR).forEach(el=>{el.setAttribute(\"draggable\",\"false\");});};if(imageProtection){mark();mo=new MutationObserver(muts=>{muts.forEach(m=>m.addedNodes.forEach(n=>{if(n.nodeType===1)mark(n);}));});mo.observe(document.documentElement,{childList:true,subtree:true});css=document.createElement(\"style\");css.textContent=`\n        ${IMG_SELECTOR} {\n          -webkit-user-drag: none !important;\n          user-select: none !important;\n          -webkit-touch-callout: none !important;\n        }\n      `;document.head.appendChild(css);}// Attach listeners\ndocument.addEventListener(\"contextmenu\",onContextMenu,{capture:true});if(imageProtection){document.addEventListener(\"selectstart\",onSelect,{capture:true});document.addEventListener(\"dragstart\",onDrag,{capture:true});document.addEventListener(\"touchstart\",onTouch,{passive:false,capture:true});}// Cleanup\nreturn()=>{document.removeEventListener(\"contextmenu\",onContextMenu,true);if(imageProtection){document.removeEventListener(\"selectstart\",onSelect,true);document.removeEventListener(\"dragstart\",onDrag,true);document.removeEventListener(\"touchstart\",onTouch,true);}mo?.disconnect();css?.remove();};},[imageProtection,globalRightClick]);return /*#__PURE__*/_jsx(\"div\",{style:{display:\"none\"}});}addPropertyControls(ImageGuard,{imageProtection:{type:ControlType.Boolean,title:\"Image Protection\",enabledTitle:\"Enable\",disabledTitle:\"Disable\",defaultValue:true},globalRightClick:{type:ControlType.Boolean,title:\"Global Right-Click\",enabledTitle:\"Enable\",disabledTitle:\"Disable\",defaultValue:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ImageGuard\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ImageGuard.map","// Generated by Framer (8e1ebfe)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=[\".framer-a0GAp .framer-styles-preset-cqrsii:not(.rich-text-wrapper), .framer-a0GAp .framer-styles-preset-cqrsii.rich-text-wrapper a { --framer-link-current-text-color: var(--token-2ab07cc8-29be-47ed-99c3-038714bef0bf, #ff8a98); --framer-link-hover-text-color: var(--token-2ab07cc8-29be-47ed-99c3-038714bef0bf, #ff8a98); --framer-link-text-color: #888888; --framer-link-text-decoration: none; }\"];export const className=\"framer-a0GAp\";\nexport const __FramerMetadata__ = {\"exports\":{\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (cc3b8f8)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"CUSTOMV2;Aeonik Regular\",\"CUSTOMV2;Aeonik Regular\",\"CUSTOMV2;Aeonik Bold Italic\",\"CUSTOMV2;Aeonik Regular Italic\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"Aeonik Regular\",source:\"custom\",style:\"normal\",uiFamilyName:\"Aeonik\",url:\"https://framerusercontent.com/assets/TjP4UTNiU4eddUww2oV9Yl5I.woff2\",weight:\"400\"},{cssFamilyName:\"Aeonik Bold Italic\",source:\"custom\",style:\"italic\",uiFamilyName:\"Aeonik\",url:\"https://framerusercontent.com/assets/fZSBRh1smfwYe0oDp4HIEddy620.woff2\",weight:\"700\"},{cssFamilyName:\"Aeonik Regular Italic\",source:\"custom\",style:\"italic\",uiFamilyName:\"Aeonik\",url:\"https://framerusercontent.com/assets/qISDMFXkqjBAvqYK75CXRDwo3U.woff2\",weight:\"400\"}]}];export const css=['.framer-3LlJX .framer-styles-preset-182jb4a:not(.rich-text-wrapper), .framer-3LlJX .framer-styles-preset-182jb4a.rich-text-wrapper h4 { --framer-font-family: \"Aeonik Regular\", \"Aeonik Regular Placeholder\", sans-serif; --framer-font-family-bold: \"Aeonik Regular\", \"Aeonik Regular Placeholder\", sans-serif; --framer-font-family-bold-italic: \"Aeonik Bold Italic\", \"Aeonik Bold Italic Placeholder\", sans-serif; --framer-font-family-italic: \"Aeonik Regular Italic\", \"Aeonik Regular Italic Placeholder\", sans-serif; --framer-font-open-type-features: \\'blwf\\' on, \\'cv09\\' on, \\'cv03\\' on, \\'cv04\\' on, \\'cv11\\' on; --framer-font-size: 16px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-style-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 400; --framer-font-weight-bold-italic: 700; --framer-font-weight-italic: 400; --framer-letter-spacing: 0em; --framer-line-height: 1.4em; --framer-paragraph-spacing: 40px; --framer-text-alignment: left; --framer-text-color: rgba(0, 0, 0, 0.6); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }'];export const className=\"framer-3LlJX\";\nexport const __FramerMetadata__ = {\"exports\":{\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (c9b3949)\nexport default function metadata(params,activeLocale){return{description:\"Carrie Teo is a Product Designer with over a decade of visual design expertise, designing intuitive, human-centred experiences for everyday users spanning Southeast Asia, Europe, and the United States.\",favicon:\"https://framerusercontent.com/assets/HdjNZDbJMEkfrWN9Ehk2sggo.png\",robots:\"max-image-preview:large\",title:\"Carrie Teo | Product & Visual Designer\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"iLAgByN,SAAwB,EAAW,CAAC,kBAAgB,GAAK,mBAAiB,IA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