{"version":3,"file":"shared-lib.CGCWZonu.mjs","names":["useMemo","React.Fragment","useRef","React.useId","metadata","siteMetadata","metadataVersion","__FramerMetadata__","metadata","siteMetadata"],"sources":["https:/framerusercontent.com/modules/vLKD4XiYBchIErqrpzoL/TquL3YnWGlV5agFPUvCP/GradientHeadline_1.js","https:/framerusercontent.com/modules/iKXVAZgVE1ByR3UR4Gdh/KTiWzPaiaTXxfUfwqDmj/jsUV7E_LN.js","https:/framerusercontent.com/modules/fO18UhE7CcRdkNA0Xqls/B99UvCUS1PhDEEV9LlAb/siteMetadata.js","https:/framerusercontent.com/modules/lB8nq3PSd2s3p4qfBaOk/bZw328311YWfvRs0iKZM/augiA20Il.js","https:/framerusercontent.com/modules/80uATM9rcA8sjakt80e3/N5KTNY5woqCsC786M41X/BUkPVXyp3.js"],"sourcesContent":["// Headline component with gradient highlight for selected words, tag selection, full font controls, and reusable text via prop\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useMemo,createElement}from\"react\";import{addPropertyControls,ControlType}from\"framer\";const tagOptions=[\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"p\"];/**\n * Headline with Gradient Highlight\n *\n * - Select tag (h1-h6, p)\n * - Full font controls\n * - Highlight single/multiple words with gradient\n * - Text is reusable via prop\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function GradientHeadline(props){const{text,tag,highlightWords,gradientFrom,gradientTo,gradientAngle,font,style,textColor}=props;// Parse highlightWords (comma-separated or array)\nconst highlightList=useMemo(()=>{if(!highlightWords)return[];if(Array.isArray(highlightWords))return highlightWords;return highlightWords.split(\",\").map(w=>w.trim()).filter(Boolean);},[highlightWords]);// Split text into words, preserving spaces\nconst wordRegex=/\\S+|\\s+/g;const words=useMemo(()=>{if(!text)return[];return text.match(wordRegex)||[];},[text]);// Render with highlights\nconst renderWords=()=>{if(!highlightList.length)return words.map((word,i)=>/*#__PURE__*/_jsx(\"span\",{children:word},i));// Join all words into a string, find all highlight substrings, and split accordingly\nlet result=[];let str=text;let lastIndex=0;// Build a regex to match any of the highlight phrases (escape special chars)\nconst highlightRegex=new RegExp(highlightList.map(w=>w.replace(/[.*+?^${}()|[\\]\\\\]/g,\"\\\\$&\")).join(\"|\"),\"gi\");let match;let idx=0;while((match=highlightRegex.exec(str))!==null){if(match.index>lastIndex){result.push(/*#__PURE__*/_jsx(\"span\",{children:str.slice(lastIndex,match.index)},idx++));}result.push(/*#__PURE__*/_jsx(\"span\",{style:{backgroundImage:`linear-gradient(${gradientAngle}deg, ${gradientFrom}, ${gradientTo})`,WebkitBackgroundClip:\"text\",WebkitTextFillColor:\"transparent\",backgroundClip:\"text\",color:undefined,fontWeight:font?.variant?.includes(\"Bold\")?\"bold\":undefined},children:match[0]},idx++));lastIndex=match.index+match[0].length;}if(lastIndex<str.length){result.push(/*#__PURE__*/_jsx(\"span\",{children:str.slice(lastIndex)},idx++));}return result;};const Tag=tagOptions.includes(tag)?tag:\"h1\";// Check if width is set to 100% (fill mode) or auto (fit content mode)\nconst isFixedWidth=style?.width===\"100%\";const elementStyle={...style,...font,margin:0,width:isFixedWidth?\"100%\":\"max-content\",minWidth:isFixedWidth?undefined:\"max-content\",display:isFixedWidth?\"block\":\"inline-block\",color:textColor};return /*#__PURE__*/createElement(Tag,{style:elementStyle},renderWords());}addPropertyControls(GradientHeadline,{text:{type:ControlType.String,title:\"Text\",defaultValue:\"This is a gradient headline\",displayTextArea:true},tag:{type:ControlType.Enum,title:\"Tag\",options:tagOptions,optionTitles:tagOptions.map(t=>t.toUpperCase()),defaultValue:\"h1\"},highlightWords:{type:ControlType.String,title:\"Highlight Words\",placeholder:\"word1, word2\",defaultValue:\"gradient\",description:\"Comma-separated words to highlight\"},gradientFrom:{type:ControlType.Color,title:\"Gradient From\",defaultValue:\"#0099FF\"},gradientTo:{type:ControlType.Color,title:\"Gradient To\",defaultValue:\"#FF5588\"},gradientAngle:{type:ControlType.Number,title:\"Gradient Angle\",defaultValue:90,min:0,max:360,unit:\"deg\",step:1,displayStepper:true},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"40px\",variant:\"Bold\",letterSpacing:\"-0.04em\",lineHeight:\"1em\"}},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#000000\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GradientHeadline\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GradientHeadline_1.map","// Generated by Framer (f08ca78)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const enabledGestures={s9s43Gfak:{pressed:true}};const cycleOrder=[\"s9s43Gfak\",\"BfPA31GXQ\",\"gSFEdWP75\",\"ZXHD2EgKz\"];const serializationHash=\"framer-NuqjB\";const variantClassNames={BfPA31GXQ:\"framer-v-74xa9r\",gSFEdWP75:\"framer-v-dq057s\",s9s43Gfak:\"framer-v-1oy0ih7\",ZXHD2EgKz:\"framer-v-1kyvvmm\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const Variants=motion.create(React.Fragment);const humanReadableVariantMap={Copied:\"ZXHD2EgKz\",Copy:\"gSFEdWP75\",Default:\"s9s43Gfak\",Hover:\"BfPA31GXQ\"};const getProps=({height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"s9s43Gfak\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"s9s43Gfak\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-NuqjB.framer-f4egt6, .framer-NuqjB .framer-f4egt6 { display: block; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 26\n * @framerIntrinsicWidth 26\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"BfPA31GXQ\":{\"layout\":[\"fixed\",\"fixed\"]},\"gSFEdWP75\":{\"layout\":[\"auto\",\"auto\"]},\"ZXHD2EgKz\":{\"layout\":[\"auto\",\"auto\"]},\"JzLJSSl0u\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerjsUV7E_LN=withCSS(Component,css,\"framer-NuqjB\");export default FramerjsUV7E_LN;FramerjsUV7E_LN.displayName=\"Custom Cursor\";FramerjsUV7E_LN.defaultProps={height:26,width:26};addPropertyControls(FramerjsUV7E_LN,{variant:{options:[\"s9s43Gfak\",\"BfPA31GXQ\",\"gSFEdWP75\",\"ZXHD2EgKz\"],optionTitles:[\"Default\",\"Hover\",\"Copy\",\"Copied\"],title:\"Variant\",type:ControlType.Enum}});addFonts(FramerjsUV7E_LN,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerjsUV7E_LN\",\"slots\":[],\"annotations\":{\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"BfPA31GXQ\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"gSFEdWP75\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"ZXHD2EgKz\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"JzLJSSl0u\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerImmutableVariables\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicWidth\":\"26\",\"framerColorSyntax\":\"true\",\"framerIntrinsicHeight\":\"26\",\"framerContractVersion\":\"1\",\"framerAutoSizeImages\":\"true\",\"framerDisplayContentsDiv\":\"false\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./jsUV7E_LN.map","// Generated by Framer (82dfb1a)\nexport default function metadata(params,activeLocale){return{favicon:\"https://framerusercontent.com/assets/iZqzGHCzHaXRnqdcv6GP9Ba4GrI.png\",robots:\"max-image-preview:large\",title:\"INI Company and Studio\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (82dfb1a)\nimport siteMetadata from\"https://framerusercontent.com/modules/fO18UhE7CcRdkNA0Xqls/B99UvCUS1PhDEEV9LlAb/siteMetadata.js\";export default function metadata(params,activeLocale){return{breakpoints:[{hash:\"72rtr7\",mediaQuery:\"(min-width: 1200px)\"},{hash:\"wizqf1\",mediaQuery:\"(min-width: 810px) and (max-width: 1199.98px)\"},{hash:\"10ddi9x\",mediaQuery:\"(max-width: 809.98px)\"}],description:siteMetadata(params,activeLocale).description,elements:{},robots:\"max-image-preview:large\",serializationId:\"framer-UcgXx\",title:siteMetadata(params,activeLocale).title||\"Home\",viewport:\"width=device-width\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (f08ca78)\nimport siteMetadata from\"https://framerusercontent.com/modules/fO18UhE7CcRdkNA0Xqls/B99UvCUS1PhDEEV9LlAb/siteMetadata.js\";export default function metadata(params,activeLocale){return{breakpoints:[{hash:\"cnyyoh\",mediaQuery:\"(min-width: 1200px)\"},{hash:\"2qipiv\",mediaQuery:\"(min-width: 810px) and (max-width: 1199.98px)\"},{hash:\"1f2d3au\",mediaQuery:\"(max-width: 809.98px)\"}],description:siteMetadata(params,activeLocale).description,elements:{},robots:\"max-image-preview:large\",serializationId:\"framer-l9hJS\",title:siteMetadata(params,activeLocale).title||\"Perth\",viewport:\"width=device-width\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"2SAWG,SAAwB,EAAiB,EAAM,CAAC,GAAK,CAAC,OAAK,MAAI,iBAAe,eAAa,aAAW,gBAAc,OAAK,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