1import{q as i}from"./chunk-UGKMOCQW.js";import{La as d,ea as s,ia as t}from"./chunk-2T24Z3O2.js";var m=(()=>{class e{constructor(r,_){this.platformId=r,this.userService=_,this.isGtagLoaded=!1,this.eventQueue=[],i(this.platformId)&&(typeof window.gtag<"u"?this.onGtagLoaded():window.addEventListener("gtag:loaded",()=>{this.onGtagLoaded()}))}onGtagLoaded(){this.isGtagLoaded=!0,this.flushEventQueue()}event(r,_={}){i(this.platformId)&&(_.user_id||(_.user_id=this.userService.account?.user?.id??void 0),this.isGtagLoaded?window.gtag("event",r,_):this.eventQueue.push({eventName:r,data:_}))}flushEventQueue(){i(this.platformId)&&(this.eventQueue.forEach(({eventName:r,data:_})=>{window.gtag("event",r,_)}),this.eventQueue=[])}static{this.\u0275fac=function(_){return new(_||e)(t(d),t("UserService"))}}static{this.\u0275prov=s({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),o=(function(e){return e.page_view="page_view",e.sign_in="sign_in",e.sign_up="sign_up",e.conversion_event_signup="conversion_event_signup",e.oauth_sign_in="oauth_sign_in",e.fetch_recipe="fetch_recipe",e.cook_recipe="cook_recipe",e.add_meal_plan="add_meal_plan",e.add_curated_recipe="add_curated_recipe",e.view_curated_recipe="view_collected_recipe",e.view_collection_recipe="view_collection_recipe",e.start_new_recipe="start_new_recipe",e.edit_recipe="edit_recipe",e.save_recipe="save_recipe",e.open_list_manager="open_list_manager",e.add_to_list="add_to_list",e.create_new_list="create_new_list",e.open_tag_manager="open_tag_manager",e.add_tag="add_tag",e.list_start_new="list_start_new",e.list_add_item="list_add_item",e.list_edit_item="list_edit_item",e.list_remove_item="list_remove_item",e.list_add_recpie="list_add_recpie",e.list_check_item="list_check_item",e.list_uncheck_item="list_uncheck_item",e.password_reset_started="password_reset_started",e.password_reset_submitted="password_reset_submitted",e.password_reset_continued="password_reset_continued",e.password_reset_completed="password_reset_completed",e.password_reset_error="password_reset_error",e})(o||{});export{m as a,o as b};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.