{"version":3,"file":"GetAppModal.BkNfyIMM.mjs","names":["forwardRef","_jsx","getProps","React.forwardRef","css","X","React.useContext","React.useMemo","_jsx","React.Fragment","React.forwardRef","useRef","React.useId","className","sharedStyle.className","sharedStyle1.className","_jsxs","Image1","sharedStyle.css","sharedStyle1.css","sharedStyle.fonts","sharedStyle1.fonts","useState","useEffect","useRef","useCallback","_jsx","_jsxs","_Fragment","createPortal","__esmMin","oe","ie","init_ssg_sandbox_shims","ne","x","window","init_npm_react_dom_18_3_1","l","_e","Ha","pe","p","c","init_jsx_runtime","ce","init_npm_react_18_3_1","de","withCSS","getFontsFromSharedStyle","fontStore","addFonts","useTracking","RichText","getLoadingLazyAtYPosition","Image$1","cx","addPropertyControls","useVariantState","ControlType","init_framer_ChujFWHC","useComponentViewport","useIsStaticRenderer","useLocaleInfo","getFonts","motion","LayoutGroup","MotionConfigContext","init_framer_motion_1EwlFBEG","init_d4FCmAI4z","css$2","fonts$1","className$1","mask","SVG","getProps$1","Icon","init_YW4GE5nV0","J","props","ref","animated","layoutId","children","rest","height","id","stroke","width","style","className","variant","UO5clYVeQ","restProps","fonts","css$1","init_seh1v9nCz","XFonts","serializationHash","variantClassNames","transition1","Transition","Variants","getProps","createLayoutDependency","Component","css","Framerpe7oLabpO","init_pe7oLabpO","value","config","transition","contextValue","variants","fallbackRef","refBinding","defaultLayoutId","activeLocale","setLocale","componentViewport","className$2","baseVariant","classNames","clearLoadingGesture","gestureHandlers","gestureVariant","isLoading","setGestureState","setVariant","layoutDependency","scopingClassNames","linkSelector","appLink","trimmed","escaped","prefersDirectLink","query","pointsAwayFromApp","element","anchor","normalise","sanitiseAdCode","readAdCode","paramName","fromUrl","AD_STORAGE_KEY","loadBranch","key","branchSdk","resolve","reject","present","script","BRANCH_SDK_URL","branch","createAdLink","adCode","pageUrl","payload","error","url","GetAppModal","card","adParam","branchKey","directQuery","triggerSelector","closeSelector","backdrop","isStatic","track","open","setOpen","mounted","setMounted","cardRef","close","adLinkRef","cancelled","onClick","event","target","trigger","named","adLink","onKey","previous","onCardClick","marker","init_GetAppModal"],"sources":["https:/framerusercontent.com/modules/29Eu6tDVcWIZwJL1Nh4h/zpJg2oiOBazkQeZJNCYy/YW4GE5nV0.js","https:/framerusercontent.com/modules/lImCnvM9ilE6TBNIJkCY/spSGAh688bbz14H2E0W8/seh1v9nCz.js","https:/framerusercontent.com/modules/oSz1AaHoE6Ix5fm7yWcC/TX64qFQ1JHvSBluTvTS5/pe7oLabpO.js","https:/framerusercontent.com/modules/vqDa5dgOPg75VMDzYM2V/87ZPYEtQFrdQKQDhXt6x/GetAppModal.js"],"sourcesContent":["// Generated by Framer (6ca5d98)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask='url(\\'data:image/svg+xml,<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 12 0 L 0 12\" fill=\"transparent\" height=\"12px\" id=\"JuEqmLwI0\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" stroke=\"var(--43q7um, rgb(0,0,0))\" transform=\"translate(6 6)\" width=\"12px\"/><path d=\"M 0 0 L 12 12\" fill=\"transparent\" height=\"12px\" id=\"aEN6gG6Cz\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" stroke=\"var(--43q7um, rgb(0,0,0))\" transform=\"translate(6 6)\" width=\"12px\"/></svg>\\') alpha no-repeat center / auto var(--framer-icon-mask-mode, add), var(--framer-icon-mask, none)';const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(motion.div,{...rest,layoutId:layoutId,ref:ref}):/*#__PURE__*/_jsx(\"div\",{...rest,ref:ref});});const getProps=({height,id,stroke,width,...props})=>{return{...props,UO5clYVeQ:stroke??props.UO5clYVeQ??\"rgb(0, 0, 0)\"};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,UO5clYVeQ,...restProps}=getProps(props);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-Howa8\",className),layoutId:layoutId,ref:ref,style:{\"--43q7um\":UO5clYVeQ,...style}});});const css=[`.framer-Howa8 { -webkit-mask: ${mask}; aspect-ratio: 1; background-color: var(--43q7um); 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 {\"UO5clYVeQ\":\"stroke\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"X\",\"color\":{\"type\":\"variable\",\"value\":\"43q7um\"},\"set\":{\"localId\":\"vectorSet/T8qKXkLfy\",\"id\":\"T8qKXkLfy\",\"moduleId\":\"fiHEoJwBMFnT6QLOcpPz\"}}\n * @framerDisableUnlink true\n */const Icon=withCSS(Component,css,\"framer-Howa8\");Icon.displayName=\"X\";export default Icon;addPropertyControls(Icon,{UO5clYVeQ:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Stroke\",type:ControlType.Color}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerVector\":\"{\\\"name\\\":\\\"X\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"43q7um\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/T8qKXkLfy\\\",\\\"id\\\":\\\"T8qKXkLfy\\\",\\\"moduleId\\\":\\\"fiHEoJwBMFnT6QLOcpPz\\\"}}\",\"framerIntrinsicWidth\":\"24\",\"framerVariables\":\"{\\\"UO5clYVeQ\\\":\\\"stroke\\\"}\",\"framerDisableUnlink\":\"true\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"24\",\"framerImmutableVariables\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (da191f6)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"GF;Figtree-regular\",\"GF;Figtree-700\",\"GF;Figtree-700italic\",\"GF;Figtree-italic\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"Figtree\",openType:true,source:\"google\",style:\"normal\",uiFamilyName:\"Figtree\",url:\"https://fonts.gstatic.com/s/figtree/v9/_Xmz-HUzqDCFdgfMsYiV_F7wfS-Bs_d_QF5bwkEU4HTy.woff2\",weight:\"400\"},{cssFamilyName:\"Figtree\",openType:true,source:\"google\",style:\"normal\",uiFamilyName:\"Figtree\",url:\"https://fonts.gstatic.com/s/figtree/v9/_Xmz-HUzqDCFdgfMsYiV_F7wfS-Bs_eYR15bwkEU4HTy.woff2\",weight:\"700\"},{cssFamilyName:\"Figtree\",openType:true,source:\"google\",style:\"italic\",uiFamilyName:\"Figtree\",url:\"https://fonts.gstatic.com/s/figtree/v9/_Xm9-HUzqDCFdgfMm4GnA4aZFrUvtOK3A1EayEA25WTybO8.woff2\",weight:\"700\"},{cssFamilyName:\"Figtree\",openType:true,source:\"google\",style:\"italic\",uiFamilyName:\"Figtree\",url:\"https://fonts.gstatic.com/s/figtree/v9/_Xm9-HUzqDCFdgfMm4GnA4aZFrUvtOK3A7YdyEA25WTybO8.woff2\",weight:\"400\"}]}];export const css=['.framer-Z5M92 .framer-styles-preset-1yqpdh:not(.rich-text-wrapper), .framer-Z5M92 .framer-styles-preset-1yqpdh.rich-text-wrapper p { --framer-font-family: \"Figtree\", \"Figtree Placeholder\", sans-serif; --framer-font-family-bold: \"Figtree\", \"Figtree Placeholder\", sans-serif; --framer-font-family-bold-italic: \"Figtree\", \"Figtree Placeholder\", sans-serif; --framer-font-family-italic: \"Figtree\", \"Figtree Placeholder\", sans-serif; --framer-font-open-type-features: \\'blwf\\' on, \\'cv03\\' on, \\'cv04\\' on, \\'cv09\\' on, \\'cv11\\' on; --framer-font-size: 12px; --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: 700; --framer-font-weight-bold-italic: 700; --framer-font-weight-italic: 400; --framer-letter-spacing: -0.02em; --framer-line-height: 1.5em; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: #595c63; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }'];export const className=\"framer-Z5M92\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (9cb477d)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,cx,getFonts,getFontsFromSharedStyle,getLoadingLazyAtYPosition,Image as Image1,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import X from\"https://framerusercontent.com/modules/29Eu6tDVcWIZwJL1Nh4h/zpJg2oiOBazkQeZJNCYy/YW4GE5nV0.js\";import*as sharedStyle from\"https://framerusercontent.com/modules/8nhJYgg3FCnqJuvKN7vQ/E3rbhaD37Srs3u8lXTMO/d4FCmAI4z.js\";import*as sharedStyle1 from\"https://framerusercontent.com/modules/lImCnvM9ilE6TBNIJkCY/spSGAh688bbz14H2E0W8/seh1v9nCz.js\";const XFonts=getFonts(X);const serializationHash=\"framer-sofwY\";const variantClassNames={do7Sx7ljQ:\"framer-v-aajtyo\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const getProps=({height,id,width,...props})=>{return{...props};};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({defaultVariant:\"do7Sx7ljQ\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[sharedStyle.className,sharedStyle1.className];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-aajtyo\",className,classNames),\"data-framer-name\":\"Card\",layoutDependency:layoutDependency,layoutId:\"do7Sx7ljQ\",ref:refBinding,style:{backgroundColor:\"var(--token-9a741db7-4006-4ff0-898f-4d1ce0806da8)\",borderBottomLeftRadius:28,borderBottomRightRadius:28,borderTopLeftRadius:28,borderTopRightRadius:28,...style},children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h3,{className:\"framer-styles-preset-13pmdru\",\"data-styles-preset\":\"d4FCmAI4z\",dir:\"auto\",style:{\"--framer-text-alignment\":\"center\"},children:\"Get the app\"})}),className:\"framer-1yxhkee\",\"data-framer-name\":\"Title\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"rk3aVK0nI\",verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-1yqpdh\",\"data-styles-preset\":\"seh1v9nCz\",dir:\"auto\",style:{\"--framer-text-alignment\":\"center\"},children:\"Scan with your phone camera.\"})}),className:\"framer-1pkggxi\",\"data-framer-name\":\"Sub\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"xrGpoRsxC\",verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-1meqifg\",layoutDependency:layoutDependency,layoutId:\"OWoy57ro6\",children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-1ocuiyu\",\"data-border\":true,\"data-framer-name\":\"QR Tile\",layoutDependency:layoutDependency,layoutId:\"BLT6P5ykD\",style:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"var(--token-c4764dd8-3845-4ee7-824c-3e01149901e6)\",\"--border-left-width\":\"1px\",\"--border-right-width\":\"1px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\",backgroundColor:\"var(--token-596977a8-3306-4f4a-8d8e-52ae4ec3f030)\",borderBottomLeftRadius:20,borderBottomRightRadius:20,borderTopLeftRadius:20,borderTopRightRadius:20},children:/*#__PURE__*/_jsx(Image1,{background:{alt:\"QR code linking to werksy.app.link\",fit:\"fill\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+40+142.4+8+-2+0+10),pixelHeight:792,pixelWidth:792,sizes:\"188px\",src:\"https://framerusercontent.com/images/SN6MPszdsx5BiyYh9wWg3aR604.png?width=792&height=792\",srcSet:\"https://framerusercontent.com/images/SN6MPszdsx5BiyYh9wWg3aR604.png?scale-down-to=512&width=792&height=792 512w,https://framerusercontent.com/images/SN6MPszdsx5BiyYh9wWg3aR604.png?width=792&height=792 792w\"},className:\"framer-1lg4bzq\",\"data-framer-name\":\"QR\",layoutDependency:layoutDependency,layoutId:\"JsB1qQH1_\"})})}),/*#__PURE__*/_jsx(motion.div,{\"aria-label\":\"Close\",className:\"framer-xzvw4w\",\"data-framer-name\":\"Close\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"XRs4Xl37W\",style:{backgroundColor:\"var(--token-c4764dd8-3845-4ee7-824c-3e01149901e6)\",borderBottomLeftRadius:999,borderBottomRightRadius:999,borderTopLeftRadius:999,borderTopRightRadius:999},children:/*#__PURE__*/_jsx(X,{animated:true,className:\"framer-10o4ixh\",\"data-framer-name\":\"X\",layoutDependency:layoutDependency,layoutId:\"s0P1XB4Dp\",style:{\"--43q7um\":\"var(--token-6f627089-f1cf-470c-851f-c2e946aa11be)\"}})})]})})})});});const css=[\".framer-sofwY.framer-scg8xg, .framer-sofwY .framer-scg8xg { display: block; }\",\".framer-sofwY.framer-aajtyo { align-content: center; align-items: center; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 8px; height: min-content; justify-content: flex-start; overflow: var(--overflow-clip-fallback, clip); padding: 40px 28px 24px 28px; position: relative; width: 360px; will-change: var(--framer-will-change-override, transform); }\",\".framer-sofwY .framer-1yxhkee, .framer-sofwY .framer-1pkggxi { flex: none; height: auto; position: relative; white-space: pre-wrap; width: 100%; word-break: break-word; word-wrap: break-word; }\",\".framer-sofwY .framer-1meqifg { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: 212px; justify-content: center; overflow: visible; padding: 8px 0px 0px 0px; position: relative; width: 211px; }\",\".framer-sofwY .framer-1ocuiyu { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: 208px; justify-content: center; overflow: var(--overflow-clip-fallback, clip); padding: 0px; position: relative; width: 100%; will-change: var(--framer-will-change-override, transform); }\",\".framer-sofwY .framer-1lg4bzq { flex: none; height: 188px; position: relative; width: 188px; }\",\".framer-sofwY .framer-xzvw4w { align-content: center; align-items: center; cursor: pointer; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: 32px; justify-content: center; padding: 0px; position: absolute; right: 14px; top: 14px; width: 32px; z-index: 1; }\",\".framer-sofwY .framer-10o4ixh { flex: none; height: auto; position: relative; width: 16px; }\",...sharedStyle.css,...sharedStyle1.css,'.framer-sofwY[data-border=\"true\"]::after, .framer-sofwY [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; corner-shape: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 346\n * @framerIntrinsicWidth 360\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const Framerpe7oLabpO=withCSS(Component,css,\"framer-sofwY\");export default Framerpe7oLabpO;Framerpe7oLabpO.displayName=\"Get The App Modal\";Framerpe7oLabpO.defaultProps={height:346,width:360};addFonts(Framerpe7oLabpO,[{explicitInter:true,fonts:[{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/b6Y37FthZeALduNqHicBT6FutY.woff2\",weight:\"400\"}]},...XFonts,...getFontsFromSharedStyle(sharedStyle.fonts),...getFontsFromSharedStyle(sharedStyle1.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"Framerpe7oLabpO\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"346\",\"framerIntrinsicWidth\":\"360\",\"framerAutoSizeImages\":\"true\",\"framerColorSyntax\":\"true\",\"framerImmutableVariables\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerContractVersion\":\"1\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./pe7oLabpO.map","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useCallback,useEffect,useRef,useState}from\"react\";// Framer's typechecker does not resolve react-dom types for this file, though\n// it does for HeroScrollCard.tsx, which ships the same import. Runtime is fine.\n// @ts-ignore\nimport{createPortal}from\"react-dom\";import{addPropertyControls,ControlType,useIsStaticRenderer,useTracking}from\"framer\";// Framer writes the link out verbatim, but a trailing slash or a stray query\n// is easy to add in the panel, so match on the href that actually shipped and\n// on the same href with a trailing slash.\nfunction linkSelector(appLink){const trimmed=appLink.trim().replace(/\\/$/,\"\");const escaped=value=>value.replace(/\"/g,'\\\\\"');return[`a[href=\"${escaped(trimmed)}\"]`,`a[href=\"${escaped(trimmed)}/\"]`].join(\", \");}// A QR code is no use on the device you are already holding, so touch-primary\n// devices skip the modal and follow the link. Checked at click time rather than\n// at mount, which keeps it out of hydration and always reflects the real device.\nfunction prefersDirectLink(query){if(!query||typeof window===\"undefined\"||!window.matchMedia)return false;try{return window.matchMedia(query).matches;}catch{return false;}}// The nav button is relabelled by audience: on /coworking, /hospitality and\n// /teams the same node reads \"Go to dashboard\" and links to the owner or team\n// dashboard, so matching it by name alone would swallow that click and show a\n// QR code instead. A name-matched trigger therefore only counts when it is not\n// already a link to somewhere other than the app.\nfunction pointsAwayFromApp(element,appLink){if(!appLink)return false;const anchor=element.closest(\"a[href]\")??element.querySelector(\"a[href]\");if(!anchor)return false;const normalise=value=>value.trim().replace(/\\/$/,\"\");return normalise(anchor.getAttribute(\"href\")??\"\")!==normalise(appLink);}/* -------------------------------------------------------------------------\n * Ad attribution\n *\n * Paid traffic lands on any page with ?ad=<code>. The app reads that code out\n * of Branch link data, never out of a URL: defaultRedirect / loggedInRedirect\n * check data.page === \"ad\", strip \"/ad/\" off $canonical_identifier into\n * FFAppState().ad, and the signup screens write it to users.ad. A bare\n * werksy.app.link carries none of that, so when an ad code is present we mint\n * a Branch link that does and send the click there instead.\n *\n * Deliberately the direct (touch) path only. Desktop gets the QR card, that QR\n * is a static image, and Branch's QR Code API is a paid add-on this account\n * does not have, so a desktop scan cannot carry the code without bundling a QR\n * generator into the page.\n * ---------------------------------------------------------------------- */const AD_STORAGE_KEY=\"werksy.ad\";const BRANCH_SDK_URL=\"https://cdn.branch.io/branch-latest.min.js\";// The value comes off the URL, so it is visitor-controlled. Only ever hand\n// Branch something that looks like a campaign code.\nfunction sanitiseAdCode(value){if(!value)return\"\";const trimmed=value.trim();return/^[A-Za-z0-9_-]{1,64}$/.test(trimmed)?trimmed:\"\";}// The param only exists on the landing URL, and these buttons sit on every\n// page, so first sighting is stashed for the rest of the session. Land on\n// /?ad=AD2, wander to /locations/london, click there, still attributed.\nfunction readAdCode(paramName){if(typeof window===\"undefined\")return\"\";let fromUrl=\"\";try{fromUrl=sanitiseAdCode(new URL(window.location.href).searchParams.get(paramName));}catch{/* a malformed URL is not worth failing over */}try{if(fromUrl){window.sessionStorage.setItem(AD_STORAGE_KEY,fromUrl);return fromUrl;}return sanitiseAdCode(window.sessionStorage.getItem(AD_STORAGE_KEY));}catch{return fromUrl// storage throws in some private modes; the URL still works\n;}}// Module level, so two instances of this component on one page share one SDK\n// load. Nothing is loaded at all until an ad code shows up.\nlet branchSdk=null;function loadBranch(key){if(branchSdk)return branchSdk;branchSdk=new Promise((resolve,reject)=>{const present=window.branch;if(present){resolve(present);return;}const script=document.createElement(\"script\");script.src=BRANCH_SDK_URL;script.async=true;script.onload=()=>{const branch=window.branch;if(!branch){reject(new Error(\"Branch SDK loaded without a global\"));return;}// The SDK queues calls made before init resolves, so link\n// generation can follow immediately.\nbranch.init(key);resolve(branch);};script.onerror=()=>reject(new Error(\"Branch SDK failed to load\"));document.head.appendChild(script);});return branchSdk;}function createAdLink(branch,adCode){// Whatever page they are on, with the ad param still attached. The old\n// Webflow version pointed its fallbacks at /ad?ad=<code>, which is a 404\n// on this site.\nconst pageUrl=window.location.href;const payload={channel:\"website\",feature:\"share\",campaign:\"ad-landing\",tags:[\"web\",\"ad\",adCode],data:{$canonical_identifier:`/ad/${adCode}`,$desktop_url:pageUrl,$fallback_url:pageUrl,$ios_url:\"https://apps.apple.com/us/app/workly/id6477742554\",$android_url:\"https://play.google.com/store/apps/details?id=com.workly.user\",page:\"ad\",ad_code:adCode,// No deepview interstitial on any surface: the whole point is to\n// land in the store or the app, not on a Branch splash page.\n$ios_passive_deepview:false,$android_passive_deepview:false,$desktop_deepview:false,$ios_deepview:false,$android_deepview:false,$always_deeplink:false}};return new Promise((resolve,reject)=>{branch.link(payload,(error,url)=>{if(error||!url){reject(error??new Error(\"Branch returned no link\"));return;}resolve(url);});});}/**\n * Framer will not let a Fixed Overlay live inside a Component, and the \"Get the\n * app\" button lives inside the Navigation component, inside the Button\n * component, and inside the hero code component. Wiring an overlay to each of\n * those separately is not possible from one place, so this owns the behaviour\n * instead: drop it once on a page, and every matching button on that page opens\n * the same modal.\n *\n * The card itself is a normal Framer component passed into the Card slot, so the\n * design stays editable on the canvas.\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n * @framerDisableUnlink\n */export default function GetAppModal(props){const{card,appLink=\"https://werksy.app.link\",adParam=\"ad\",branchKey=\"key_live_dBf4iLj3sCuzjirwvYuhilmaqqeILirI\",directQuery=\"(hover: none) and (pointer: coarse)\",triggerSelector='[data-framer-name=\"Get The App Button\"]',closeSelector='[data-framer-name=\"Close\"]',backdrop=\"rgba(26, 26, 26, 0.55)\",style}=props;const isStatic=useIsStaticRenderer();// Every \"get the app\" click is funnelled through the listener below, so this\n// is the only place on the site that can count them. The desktop path calls\n// preventDefault + stopPropagation in the capture phase, so Framer never sees\n// the anchor click and records nothing. Over Sep 24 to Oct 24 2026 that was 0\n// recorded clicks from 950 desktop visitors, against 54 from mobile, where\n// the event is allowed through.\nconst track=useTracking();const[open,setOpen]=useState(false);// The host is a 1x1 opacity:0 marker so it takes no space on the page, and\n// opacity applies to the whole subtree — a modal rendered inside it is in\n// the DOM but invisible. It has to go to the body instead.\nconst[mounted,setMounted]=useState(false);useEffect(()=>setMounted(true),[]);const cardRef=useRef(null);const close=useCallback(()=>setOpen(false),[]);// A ref, not state: the click listener below reads it at click time, so\n// the link arriving must not re-bind the listener or re-render the page.\nconst adLinkRef=useRef(\"\");// Minting starts at mount rather than at click, so by the time anyone\n// taps the button the attributed link is usually already in hand. A click\n// that beats it falls through to the plain app link.\nuseEffect(()=>{if(isStatic||typeof window===\"undefined\")return;const adCode=readAdCode(adParam);// No ad code means no SDK request and no change in behaviour at all.\nif(!adCode||!branchKey)return;let cancelled=false;loadBranch(branchKey).then(branch=>createAdLink(branch,adCode)).then(url=>{if(!cancelled)adLinkRef.current=url;}).catch(()=>{/* leave the plain app link in place */});return()=>{cancelled=true;};},[isStatic,adParam,branchKey]);// One document-level listener rather than one per button, so buttons that\n// appear later — the phone drawer, a sticky nav that swaps variant — are\n// picked up without re-binding.\nuseEffect(()=>{if(isStatic||typeof document===\"undefined\")return;const onClick=event=>{const target=event.target;if(!target||typeof target.closest!==\"function\")return;if(cardRef.current?.contains(target))return;// Anything pointing at the app link is a \"get the app\" control,\n// whichever component it happens to live inside. The name selector\n// is the escape hatch for a trigger that is not a link, so it must\n// not claim a button that links somewhere else.\nlet trigger=null;try{trigger=appLink?target.closest(linkSelector(appLink)):null;if(!trigger&&triggerSelector){const named=target.closest(triggerSelector);if(named&&!pointsAwayFromApp(named,appLink))trigger=named;}}catch{return;// an invalid selector should not break the page\n}if(!trigger)return;// Intent, whatever happens next. A modifier or middle click falls\n// through to the browser below with no matching outcome event, so\n// this is a superset of the two outcomes, not their sum.\ntrack(\"get-app-click\");if(prefersDirectLink(directQuery)){track(\"get-app-direct\");const adLink=adLinkRef.current;if(adLink){// The attributed link is not what sits on the anchor, so\n// navigate ourselves. Honour the trigger's own target so a\n// new-tab CTA stays a new-tab CTA.\ntrack(\"get-app-ad\");event.preventDefault();const linkTarget=trigger instanceof HTMLAnchorElement?trigger.target:\"\";if(linkTarget===\"_blank\")window.open(adLink,\"_blank\",\"noopener\");else window.location.href=adLink;return;}// Let a real link navigate. A trigger matched by name rather\n// than by href has nothing to follow, so send it ourselves.\nif(!(trigger instanceof HTMLAnchorElement)&&appLink){event.preventDefault();window.location.href=appLink;}return;}// These buttons are real links so they still work with JS off and\n// for middle click. Only swallow the plain left click.\nif(event.defaultPrevented||event.button!==0)return;if(event.metaKey||event.ctrlKey||event.shiftKey||event.altKey)return;event.preventDefault();event.stopPropagation();track(\"get-app-modal-open\");setOpen(true);};document.addEventListener(\"click\",onClick,true);return()=>document.removeEventListener(\"click\",onClick,true);},[isStatic,triggerSelector,appLink,directQuery,track]);useEffect(()=>{if(!open||typeof document===\"undefined\")return;const onKey=event=>{if(event.key===\"Escape\")close();};document.addEventListener(\"keydown\",onKey);const previous=document.body.style.overflow;document.body.style.overflow=\"hidden\";return()=>{document.removeEventListener(\"keydown\",onKey);document.body.style.overflow=previous;};},[open,close]);// The card is a Framer component, so its dismiss control cannot be a real\n// Close Overlay action. Catch a click on the named close layer instead.\nconst onCardClick=event=>{const target=event.target;if(!target||typeof target.closest!==\"function\")return;try{if(target.closest(closeSelector))close();}catch{/* ignore a bad selector */}};const marker=/*#__PURE__*/_jsx(\"div\",{style:{...style,width:1,height:1,opacity:0,pointerEvents:\"none\"}});// On the canvas this is just the marker. Rendering the card here as well\n// would park it over the design.\nif(isStatic||!mounted)return marker;return /*#__PURE__*/_jsxs(_Fragment,{children:[marker,open?/*#__PURE__*/createPortal(/*#__PURE__*/_jsxs(\"div\",{role:\"dialog\",\"aria-modal\":\"true\",\"aria-label\":\"Get the app\",onClick:close,style:{position:\"fixed\",inset:0,zIndex:2147483e3,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",padding:20,background:backdrop,opacity:1,animation:\"werksy-modal-in 0.18s ease-out both\"},children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:\"@keyframes werksy-modal-in { from { opacity: 0 } to { opacity: 1 } }\"+\"@keyframes werksy-modal-card-in { from { opacity: 0; transform: scale(0.96) } to { opacity: 1; transform: scale(1) } }\"}}),/*#__PURE__*/_jsx(\"div\",{ref:cardRef,onClick:event=>{event.stopPropagation();onCardClick(event);},style:{animation:\"werksy-modal-card-in 0.22s cubic-bezier(0.2, 0.8, 0.3, 1) both\",maxWidth:\"100%\"},children:card})]}),document.body):null]});}addPropertyControls(GetAppModal,{card:{type:ControlType.ComponentInstance,title:\"Card\",description:\"The Get The App Modal component.\"},appLink:{type:ControlType.String,title:\"App Link\",description:\"Any link on the page pointing here opens the modal instead of navigating. With JavaScript off the link still works normally.\",defaultValue:\"https://werksy.app.link\"},adParam:{type:ControlType.String,title:\"Ad Param\",description:\"When the URL carries this parameter, the app link is swapped for a tracked one so the campaign code reaches the app. Empty turns ad tracking off.\",defaultValue:\"ad\"},branchKey:{type:ControlType.String,title:\"Branch Key\",description:\"Publishable Branch key used to mint the tracked link. Nothing is loaded from Branch unless an ad parameter is present.\",defaultValue:\"key_live_dBf4iLj3sCuzjirwvYuhilmaqqeILirI\"},directQuery:{type:ControlType.String,title:\"Skip On\",description:\"Devices matching this media query follow the link instead of opening the modal. A QR code is no use on the phone you are holding.\",defaultValue:\"(hover: none) and (pointer: coarse)\"},triggerSelector:{type:ControlType.String,title:\"Opens From\",description:\"Every layer on the page matching this selector opens the modal. Layer names come through as data-framer-name.\",defaultValue:'[data-framer-name=\"Get The App Button\"]'},closeSelector:{type:ControlType.String,title:\"Close Layer\",defaultValue:'[data-framer-name=\"Close\"]'},backdrop:{type:ControlType.Color,title:\"Backdrop\",defaultValue:\"rgba(26, 26, 26, 0.55)\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GetAppModal\",\"slots\":[\"card\"],\"annotations\":{\"framerDisableUnlink\":\"\",\"framerSupportedLayoutWidth\":\"any\",\"framerIntrinsicHeight\":\"1\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\",\"framerIntrinsicWidth\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GetAppModal.map"],"mappings":"A,mjBACiLyE,EAAK,krBAA0rBC,EAAiB1E,iBAAY+E,EAAMC,IAAM,CAAC,GAAK,CAACC,WAASC,WAASC,WAAS,GAAGC,GAAML,EAAM,OAAOE,EAAsBhF,gBAAKgE,EAAO,IAAI,CAAC,GAAGmB,EAAcF,WAAaF,KAAG,CAAC,EAAe/E,gBAAK,MAAM,CAAC,GAAGmF,EAASJ,KAAG,CAAC,CAAE,CAAC,EAAQ9E,GAAU,CAACmF,SAAOC,KAAGC,SAAOC,QAAM,GAAGT,MAAgB,CAAC,GAAGA,EAAM,UAAUQ,GAAQR,EAAM,WAAW,cAAc,GAUvrCH,EAAK5B,EAVmtC7C,kBAAiB,SAAS4E,EAAMC,EAAI,CAAC,GA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