{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/XnqrO1WwftyShsw7kmdE/p4h2QxLLajuSqip06Syv/Overrides.js"],
  "sourcesContent": ["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";export function AffiliateLinkTracker(Component){return props=>{let href=props.href;if(href&&href.includes(\"://\")&&!href.startsWith(\"https://framer.supply\")&&!href.startsWith(\"https://framestack.co\")&&!href.startsWith(\"https://framepad.co\")&&!href.startsWith(\"https://nav.supply\")&&!href.startsWith(\"https://framer.university\")){if(href.includes(\"gumroad.com\")){href=addUrlParameter(href,\"a\",\"658008019\");}else if(href.includes(\"framerforms.com\")){href=href;}else if(href.includes(\"outseta.com\")||href.includes(\"://framer.com\")||href.includes(\"www.framer.com\")){href=addUrlParameter(href,\"via\",\"framestack\");}else{href=addUrlParameter(href,\"aff\",\"m9qXK\");}}return /*#__PURE__*/_jsx(Component,{...props,href:href});};}function addUrlParameter(url,paramName,paramValue){// Create a URL object\nconst urlObject=new URL(url);// Add the parameter\nurlObject.searchParams.set(paramName,paramValue);// Return the modified URL\nreturn urlObject.href;}// Truncated Text\n// const lineCount = 2 // The number of lines to limit the text layer to.\nconst truncatedTextPrefix=\"Lines:\";// Justified Text\nconst justifyLastLine=false// Set this to true to justify the last line. When false, the last line uses the alignment set on the text layer or text style.\n;// Negative Gap\nconst negativeGapPrefix=\"Gap:\"// Prefix the layer name with this to\n;export function BalancedText(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style,textWrap:\"balance\"}});};}export function TruncatedText(Component){return props=>{const name=props[\"data-framer-name\"];if(name===null||name===void 0?void 0:name.startsWith(truncatedTextPrefix)){const lines=name.replace(new RegExp(\"^\"+truncatedTextPrefix),\"\").trim();return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style,display:\"-webkit-box\",WebkitLineClamp:lines,WebkitBoxOrient:\"vertical\",overflow:\"hidden\",textOverflow:\"ellipsis\"}});}return /*#__PURE__*/_jsx(Component,{...props});};}export function JustifiedText(Component){return props=>{var _props_children_props_children,_props_children_props,_props_children;const textProps=(_props_children=props.children)===null||_props_children===void 0?void 0:(_props_children_props=_props_children.props)===null||_props_children_props===void 0?void 0:(_props_children_props_children=_props_children_props.children)===null||_props_children_props_children===void 0?void 0:_props_children_props_children.props;if(textProps){textProps.style={...textProps.style,textAlign:\"justify\",textAlignLast:justifyLastLine?\"justify\":\"var(--framer-text-alignment)\"};}return /*#__PURE__*/_jsx(Component,{...props});};}export function AutoCopyrightStatement(Component){return props=>{var _props_children_props_children,_props_children_props,_props_children;const textProps=(_props_children=props.children)===null||_props_children===void 0?void 0:(_props_children_props=_props_children.props)===null||_props_children_props===void 0?void 0:(_props_children_props_children=_props_children_props.children)===null||_props_children_props_children===void 0?void 0:_props_children_props_children.props;if(textProps&&typeof textProps.children==\"string\"){textProps.children=textProps.children.replace(\"YYYY\",new Date().getFullYear());}return /*#__PURE__*/_jsx(Component,{...props});};}export function NegativeGapVertical(Component){return props=>applyNegativeGap(Component,props,true);}export function NegativeGapHorizontal(Component){return props=>applyNegativeGap(Component,props,false);}// Function for applying negative gap to an element.\nfunction applyNegativeGap(Component,props,isVertical){const name=props[\"data-framer-name\"];if(name===null||name===void 0?void 0:name.startsWith(negativeGapPrefix)){const id=props.id||\"a\"+Math.floor(Math.random()*1e7).toString();const gap=name.replace(new RegExp(\"^\"+negativeGapPrefix),\"\").trim();return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"contents\"},children:[/*#__PURE__*/_jsx(Component,{...props,id:id,style:{...props.style,gap:0}}),/*#__PURE__*/_jsx(\"style\",{children:`#${id} > *:not(:first-child) { margin-${isVertical?\"top\":\"left\"}: ${gap}px; }`})]});}return /*#__PURE__*/_jsx(Component,{...props});}const dropCapHeightPrefix=\"Height:\";const dropCapLinePrefix=\"Line:\";export function DropCap(Component){return props=>{const name=props[\"data-framer-name\"];if((name===null||name===void 0?void 0:name.startsWith(dropCapHeightPrefix))&&(name===null||name===void 0?void 0:name.includes(dropCapLinePrefix))){const id=\"a\"+Math.floor(Math.random()*1e7).toString();const heightMatch=name.match(new RegExp(dropCapHeightPrefix+\"\\\\s*(\\\\d+(?:\\\\.\\\\d+)?)\"));const lineHeightMatch=name.match(new RegExp(dropCapLinePrefix+\"\\\\s*(\\\\d+(?:\\\\.\\\\d+)?\\\\w*)\"));const height=heightMatch?heightMatch[1]:null;const lineHeight=lineHeightMatch?lineHeightMatch[1]:null;return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(Component,{...props,id:id}),/*#__PURE__*/_jsx(\"style\",{children:`\n                    @supports (initial-letter: 2) {\n                        #${id} p:first-child:first-letter {\n                            initial-letter: ${height};\n                            margin-right: ${.2*height}em;\n                        }    \n                    }\n\n                    @supports not (initial-letter: 2) {\n                        #${id} p:first-child:first-letter {\n                            float: left;\n                            font-size: calc(${height} * ${lineHeight});\n                            line-height: 1;\n                            margin-left: -0.05em;\n                            margin-right: 0.05em;\n                            margin-bottom: -1px;\n                        }\n                    }\n                    `})]});}return /*#__PURE__*/_jsx(Component,{...props});};}\nexport const __FramerMetadata__ = {\"exports\":{\"AutoCopyrightStatement\":{\"type\":\"reactHoc\",\"name\":\"AutoCopyrightStatement\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"NegativeGapHorizontal\":{\"type\":\"reactHoc\",\"name\":\"NegativeGapHorizontal\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"JustifiedText\":{\"type\":\"reactHoc\",\"name\":\"JustifiedText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"NegativeGapVertical\":{\"type\":\"reactHoc\",\"name\":\"NegativeGapVertical\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"TruncatedText\":{\"type\":\"reactHoc\",\"name\":\"TruncatedText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DropCap\":{\"type\":\"reactHoc\",\"name\":\"DropCap\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"BalancedText\":{\"type\":\"reactHoc\",\"name\":\"BalancedText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"AffiliateLinkTracker\":{\"type\":\"reactHoc\",\"name\":\"AffiliateLinkTracker\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Overrides.map"],
  "mappings": "yCAKA,IAAMA,EAAoB,SAIlB,SAASC,EAAaC,EAAU,CAAC,OAAOC,GAA4BC,EAAKF,EAAU,CAAC,GAAGC,EAAM,MAAM,CAAC,GAAGA,EAAM,MAAM,SAAS,SAAS,CAAC,CAAC,CAAI,CAAQ,SAASE,EAAcH,EAAU,CAAC,OAAOC,GAAO,CAAC,IAAMG,EAAKH,EAAM,kBAAkB,EAAE,GAAqCG,GAAK,WAAWC,CAAmB,EAAE,CAAC,IAAMC,EAAMF,EAAK,QAAQ,IAAI,OAAO,IAAIC,CAAmB,EAAE,EAAE,EAAE,KAAK,EAAE,OAAoBH,EAAKF,EAAU,CAAC,GAAGC,EAAM,MAAM,CAAC,GAAGA,EAAM,MAAM,QAAQ,cAAc,gBAAgBK,EAAM,gBAAgB,WAAW,SAAS,SAAS,aAAa,UAAU,CAAC,CAAC,CAAE,CAAC,OAAoBJ,EAAKF,EAAU,CAAC,GAAGC,CAAK,CAAC,CAAE,CAAE",
  "names": ["truncatedTextPrefix", "BalancedText", "Component", "props", "p", "TruncatedText", "name", "truncatedTextPrefix", "lines"]
}
