{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/PE3F81GFM8HFmtEPEWBi/slA4tz8Ho8sE9NcfeNF8/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[\"calculator_section\"]=\"calculator_section\";})(Type||(Type={}));const useInViewReport=({type})=>{const ref=useRef(null);const isInView=useInView(ref);console.log(isInView,\"=====isInView\");useEffect(()=>{if(isInView&&window&&type&&!window[`__inview_${type}`]){var _window_collectEvent,_window;window[`__inview_${type}`]=true;console.log(`__inview_${type}`,window[`__inview_${type}`]);(_window=window)===null||_window===void 0?void 0:(_window_collectEvent=_window.collectEvent)===null||_window_collectEvent===void 0?void 0:_window_collectEvent.call(_window,\"lark_website_mainpage_show_click\",{click:type});}},[isInView,type]);return ref;};export function withInViewReportChatSection(Component){return({...otherProps})=>{const ref=useInViewReport({type:\"chat_section\"});return /*#__PURE__*/_jsx(Component,{...otherProps,ref:ref});};}export function withInViewReportTemplateSection(Component){return props=>{const ref=useInViewReport({type:\"template_section\"});return /*#__PURE__*/_jsx(Component,{...props,ref:ref});};}export function withInViewReportPriceSection(Component){return props=>{const ref=useInViewReport({type:\"price_section\"});return /*#__PURE__*/_jsx(Component,{...props,ref:ref});};}export function withInViewReportBottomSection(Component){return props=>{const ref=useInViewReport({type:\"bottom_section\"});return /*#__PURE__*/_jsx(Component,{...props,ref:ref});};}export function withInViewReportFirstScreen(Component){return props=>{const ref=useInViewReport({type:\"first_screen\"});return /*#__PURE__*/_jsx(Component,{...props,ref:ref});};}export function withInViewReportCalculatorSection(Component){return({...otherProps})=>{const ref=useInViewReport({type:\"calculator_section\"});return /*#__PURE__*/_jsx(Component,{...otherProps,ref:ref});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withInViewReportTemplateSection\":{\"type\":\"reactHoc\",\"name\":\"withInViewReportTemplateSection\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withInViewReportFirstScreen\":{\"type\":\"reactHoc\",\"name\":\"withInViewReportFirstScreen\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withInViewReportChatSection\":{\"type\":\"reactHoc\",\"name\":\"withInViewReportChatSection\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withInViewReportPriceSection\":{\"type\":\"reactHoc\",\"name\":\"withInViewReportPriceSection\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withInViewReportBottomSection\":{\"type\":\"reactHoc\",\"name\":\"withInViewReportBottomSection\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withInViewReportCalculatorSection\":{\"type\":\"reactHoc\",\"name\":\"withInViewReportCalculatorSection\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Tea_evs.map"],
  "mappings": "uGAAoH,IAAIA,GAAM,SAASA,EAAK,CAACA,EAAK,aAAgB,eAAeA,EAAK,iBAAoB,mBAAmBA,EAAK,cAAiB,gBAAgBA,EAAK,eAAkB,iBAAiBA,EAAK,aAAgB,eAAeA,EAAK,mBAAsB,oBAAqB,GAAGA,IAAOA,EAAK,CAAC,EAAE,EAAE,IAAMC,EAAgB,CAAC,CAAC,KAAAC,CAAI,IAAI,CAAC,IAAMC,EAAIC,EAAO,IAAI,EAAQC,EAASC,EAAUH,CAAG,EAAE,eAAQ,IAAIE,EAAS,eAAe,EAAEE,EAAU,IAAI,CAAC,GAAGF,GAAUG,GAAQN,GAAM,CAACM,EAAO,YAAYN,CAAI,EAAE,EAAE,CAAC,IAAIO,EAAqBC,EAAQF,EAAO,YAAYN,CAAI,EAAE,EAAE,GAAK,QAAQ,IAAI,YAAYA,CAAI,GAAGM,EAAO,YAAYN,CAAI,EAAE,CAAC,GAAGQ,EAAQF,KAAU,MAAME,IAAU,SAAeD,EAAqBC,EAAQ,gBAAgB,MAAMD,IAAuB,QAAcA,EAAqB,KAAKC,EAAQ,mCAAmC,CAAC,MAAMR,CAAI,CAAC,CAAE,CAAC,EAAE,CAACG,EAASH,CAAI,CAAC,EAASC,CAAI,EAAS,SAASQ,EAA4BC,EAAU,CAAC,MAAM,CAAC,CAAC,GAAGC,CAAU,IAAI,CAAC,IAAMV,EAAIF,EAAgB,CAAC,KAAK,cAAc,CAAC,EAAE,OAAoBa,EAAKF,EAAU,CAAC,GAAGC,EAAW,IAAIV,CAAG,CAAC,CAAE,CAAE,CAAiM,SAASY,EAA6BC,EAAU,CAAC,OAAOC,GAAO,CAAC,IAAMC,EAAIC,EAAgB,CAAC,KAAK,eAAe,CAAC,EAAE,OAAoBC,EAAKJ,EAAU,CAAC,GAAGC,EAAM,IAAIC,CAAG,CAAC,CAAE,CAAE,CAAQ,SAASG,EAA8BL,EAAU,CAAC,OAAOC,GAAO,CAAC,IAAMC,EAAIC,EAAgB,CAAC,KAAK,gBAAgB,CAAC,EAAE,OAAoBC,EAAKJ,EAAU,CAAC,GAAGC,EAAM,IAAIC,CAAG,CAAC,CAAE,CAAE,CAAyL,SAASI,EAAkCC,EAAU,CAAC,MAAM,CAAC,CAAC,GAAGC,CAAU,IAAI,CAAC,IAAMC,EAAIC,EAAgB,CAAC,KAAK,oBAAoB,CAAC,EAAE,OAAoBC,EAAKJ,EAAU,CAAC,GAAGC,EAAW,IAAIC,CAAG,CAAC,CAAE,CAAE",
  "names": ["Type", "useInViewReport", "type", "ref", "pe", "isInView", "useInView", "ue", "window", "_window_collectEvent", "_window", "withInViewReportChatSection", "Component", "otherProps", "p", "withInViewReportPriceSection", "Component", "props", "ref", "useInViewReport", "p", "withInViewReportBottomSection", "withInViewReportCalculatorSection", "Component", "otherProps", "ref", "useInViewReport", "p"]
}
