{"version":3,"file":"GetAppModal.BeoiAG_i.mjs","names":["getProps","React.forwardRef","css","X","React.useContext","React.useMemo","React.Fragment","useRef","React.useId","sharedStyle.className","sharedStyle1.className","className","Image1","sharedStyle.css","sharedStyle1.css","sharedStyle.fonts","sharedStyle1.fonts","useState","useRef","useCallback","_Fragment","__esmMin","oe","ie","init_ssg_sandbox_shims","ne","x","window","init_npm_react_dom_18_3_1","l","_e","Ha","pe","p","c","J","init_jsx_runtime","ce","init_npm_react_18_3_1","de","motion","LayoutGroup","MotionConfigContext","init_framer_motion_DhsWWWsN","withCSS","getFontsFromSharedStyle","fontStore","addFonts","useTracking","getLoadingLazyAtYPosition","Image$1","cx","addPropertyControls","useVariantState","ControlType","init_framer_DKtAEkcX","useComponentViewport","useIsStaticRenderer","useLocaleInfo","getFonts","init_d4FCmAI4z","css$2","fonts$1","className$1","mask","SVG","getProps$1","Icon","init_YW4GE5nV0","rest","props","animated","stroke","restProps","className","UO5clYVeQ","style","fonts","css$1","init_seh1v9nCz","XFonts","serializationHash","variantClassNames","transition1","Transition","Variants","getProps","createLayoutDependency","Component","css","Framerpe7oLabpO","init_pe7oLabpO","config","transition","value","contextValue","variants","fallbackRef","refBinding","ref","defaultLayoutId","componentViewport","className$2","layoutDependency","scopingClassNames","layoutId","gestureHandlers","classNames","RichText","linkSelector","trimmed","appLink","escaped","prefersDirectLink","query","pointsAwayFromApp","anchor","element","normalise","sanitiseAdCode","readAdCode","fromUrl","paramName","AD_STORAGE_KEY","loadBranch","branchSdk","present","resolve","script","BRANCH_SDK_URL","branch","key","reject","createAdLink","pageUrl","payload","adCode","error","url","GetAppModal","isStatic","track","open","setOpen","mounted","setMounted","cardRef","close","adLinkRef","adParam","branchKey","cancelled","onClick","target","event","trigger","triggerSelector","named","directQuery","adLink","onKey","previous","onCardClick","closeSelector","marker","backdrop","card","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,ojBACiL,EAAK,krBAA0rB,EAAiB,iBAAY,EAAM,IAAM,CAAC,GAAK,CAAC,WAAS,WAAS,WAAS,GAAGqE,GAAMC,EAAM,OAAOC,EAAsB,gBAAK/B,EAAO,IAAI,CAAC,GAAG6B,EAAc,WAAa,KAAG,CAAC,EAAe,gBAAK,MAAM,CAAC,GAAGA,EAAS,KAAG,CAAC,CAAE,CAAC,EAAQrE,IAAU,CAAC,SAAO,KAAG,SAAO,QAAM,GAAGsE,MAAgB,CAAC,GAAGA,EAAM,UAAUE,GAAQF,EAAM,WAAW,cAAc,GAUvrC,EAAK1B,EAVmtC3C,kBAAiB,SAAS,EAAM,EAAI,CAAC,GAAK,CAAC,QAAM,YAAU,WAAS,UAAQ,YAAU,GAAGwE,GAAWzE,GAASsE,CAAK,EAAE,MAAoB,gBAAKL,EAAI,CAAC,GAAGQ,EAAU,UAAUtB,EAAG,eAAeuB,CAAS,EAAW,WAAa,M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