{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/PE3F81GFM8HFmtEPEWBi/7P3RwQl8tTAryol0niPT/Tea_evs.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{useRef,useEffect}from\"react\";import{useInView}from\"framer-motion\";var Type;(function(Type){Type[\"chat_section\"]=\"chat_section\";Type[\"template_section\"]=\"template_section\";Type[\"price_section\"]=\"price_section\";Type[\"bottom_section\"]=\"bottom_section\";Type[\"first_screen\"]=\"first_screen\";})(Type||(Type={}));const useInViewReport=({type})=>{const ref=useRef(null);const isInView=useInView(ref);useEffect(()=>{if(isInView&&window&&type&&!window[`__inview_${type}`]){var ref;window[`__inview_${type}`]=true;console.log(`__inview_${type}`,window[`__inview_${type}`]);window===null||window===void 0?void 0:(ref=window.collectEvent)===null||ref===void 0?void 0:ref.call(window,\"lark_website_mainpage_show_click\",{click:type});}},[isInView,type]);return ref;};export function withInViewReportChatSection(Component){return({...otherProps})=>{const ref=useInViewReport({type:Type.chat_section});return /*#__PURE__*/ _jsx(Component,{...otherProps,ref:ref});};}export function withInViewReportTemplateSection(Component){return props=>{const ref=useInViewReport({type:Type.template_section});return /*#__PURE__*/ _jsx(Component,{...props,ref:ref});};}export function withInViewReportPriceSection(Component){return props=>{const ref=useInViewReport({type:Type.price_section});return /*#__PURE__*/ _jsx(Component,{...props,ref:ref});};}export function withInViewReportBottomSection(Component){return props=>{const ref=useInViewReport({type:Type.bottom_section});return /*#__PURE__*/ _jsx(Component,{...props,ref:ref});};}export function withInViewReportFirstScreen(Component){return props=>{const ref=useInViewReport({type:Type.first_screen});return /*#__PURE__*/ _jsx(Component,{...props,ref:ref});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withInViewReportPriceSection\":{\"type\":\"reactHoc\",\"name\":\"withInViewReportPriceSection\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withInViewReportChatSection\":{\"type\":\"reactHoc\",\"name\":\"withInViewReportChatSection\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withInViewReportBottomSection\":{\"type\":\"reactHoc\",\"name\":\"withInViewReportBottomSection\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withInViewReportFirstScreen\":{\"type\":\"reactHoc\",\"name\":\"withInViewReportFirstScreen\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withInViewReportTemplateSection\":{\"type\":\"reactHoc\",\"name\":\"withInViewReportTemplateSection\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Tea_evs.map"],
  "mappings": "yIAAoH,IAAIA,GAAM,SAASA,EAAK,CAACA,EAAK,aAAgB,eAAeA,EAAK,iBAAoB,mBAAmBA,EAAK,cAAiB,gBAAgBA,EAAK,eAAkB,iBAAiBA,EAAK,aAAgB,cAAe,GAAGA,IAAOA,EAAK,CAAC,EAAE,EAAE,IAAMC,EAAgB,CAAC,CAAC,KAAAC,CAAI,IAAI,CAAC,IAAMC,EAAIC,EAAO,IAAI,EAAQC,EAASC,EAAUH,CAAG,EAAE,OAAAI,EAAU,IAAI,CAAC,GAAGF,GAAUG,GAAQN,GAAM,CAACM,EAAO,YAAYN,CAAI,EAAE,EAAE,CAAC,IAAIC,EAAIK,EAAO,YAAYN,CAAI,EAAE,EAAE,GAAK,QAAQ,IAAI,YAAYA,CAAI,GAAGM,EAAO,YAAYN,CAAI,EAAE,CAAC,EAAEM,IAAS,MAAMA,IAAS,SAAeL,EAAIK,EAAO,gBAAgB,MAAML,IAAM,QAAcA,EAAI,KAAKK,EAAO,mCAAmC,CAAC,MAAMN,CAAI,CAAC,CAAE,CAAC,EAAE,CAACG,EAASH,CAAI,CAAC,EAASC,CAAI,EAA8M,SAASM,EAAgCC,EAAU,CAAC,OAAOC,GAAO,CAAC,IAAMC,EAAIC,EAAgB,CAAC,KAAKC,EAAK,gBAAgB,CAAC,EAAE,OAAqBC,EAAKL,EAAU,CAAC,GAAGC,EAAM,IAAIC,CAAG,CAAC,CAAE,CAAE,CAA+L,SAASI,EAA8BC,EAAU,CAAC,OAAOC,GAAO,CAAC,IAAMC,EAAIC,EAAgB,CAAC,KAAKC,EAAK,cAAc,CAAC,EAAE,OAAqBC,EAAKL,EAAU,CAAC,GAAGC,EAAM,IAAIC,CAAG,CAAC,CAAE,CAAE",
  "names": ["Type", "useInViewReport", "type", "ref", "pe", "isInView", "useInView", "ue", "window", "withInViewReportTemplateSection", "Component", "props", "ref", "useInViewReport", "Type", "p", "withInViewReportBottomSection", "Component", "props", "ref", "useInViewReport", "Type", "p"]
}
