PageSourceSearch

https://circleback.ai/_next/static/immutable/chunks/1i-7rz7b0-fgb.js

js circleback.ai collected 2026-09-24 22:00:02 UTC 59,109 bytes, 4 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a0d551-cc96-76a0-8787-f499a069e571")}catch(e){}}();(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,364259,e=>{"use strict";e.s(["AVATAR_LOADING_FALLBACK_CLASS",0,"avatar-loading-fallback","COMMON_PAGE_HEADER_CLASS",0,"select-none -tracking-[0.007em] resize-none flex-wrap overflow-hidden whitespace-pre-wrap border-none p-0 pr-4 align-bottom font-jakarta font-bold text-label placeholder-label-tertiary focus:ring-0 text-[24px] leading-[1.25] bg-transparent","DROPDOWN_MENU_ANIMATION_CLASSES",0,"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0 data-[state=open]:zoom-in-98 data-[state=closed]:zoom-out-98 duration-1","GRAYSCALE_IMAGE_CLASS",0,"[&_img]:opacity-75 [&_img]:grayscale","ICONIC_PRO_ICON_STROKE_WIDTH",0,1.72,"PANEL_CONTENT_APPEAR_CLASS",0,"panel-content-appear","SETTINGS_SECTION_TOOLBAR_CLASS",0,"flex flex-row items-center gap-2 border-b-[0.5px] border-separator bg-background px-[19px] py-4"])},559185,e=>{"use strict";let t=["com.cisco.webexmeetingsapp","com.microsoft.teams","com.microsoft.teams2","com.slack.Slack","com.webex.meetingmanager","us.zoom.xos"],r=[...t,"ai.perplexity.comet","com.apple.Safari","com.apple.SafariTechnologyPreview","com.brave.Browser","com.brave.Browser.beta","com.brave.Browser.nightly","com.google.Chrome","com.google.Chrome.beta","com.google.Chrome.canary","com.google.Chrome.dev","com.microsoft.edgemac","com.microsoft.edgemac.Beta","com.microsoft.edgemac.Canary","com.microsoft.edgemac.Dev","com.openai.atlas","company.thebrowser.Browser","company.thebrowser.dia","net.imput.helium","org.chromium.Chromium","org.mozilla.firefox","org.mozilla.firefoxdeveloperedition","org.mozilla.nightly"];e.s(["APPLE_CALLING_APP_BUNDLE_IDENTIFIERS",0,["com.apple.facetime","com.apple.mobilephone"],"APPLE_CALLING_DAEMON_BUNDLE_IDENTIFIER",0,"com.apple.avconferenced","AUTO_START_AND_END_COUNTDOWN_DURATION",0,15,"EXCLUDED_BUNDLE_IDENTIFIERS",0,["com.electron.circleback","com.apple.controlcenter","com.apple.notificationcenterui","com.apple.WindowManager","com.apple.dock","com.apple.Spotlight"],"GENERATING_NOTES_ANIMATION_DURATION_MS",0,800,"GENERATING_TRANSITION_DURATION_MS",0,3e3,"LEGACY_NO_DEVICE_ID",0,"none","MAX_CALENDAR_IDS_BUFFER",0,10,"MEETING_APP_BUNDLE_IDENTIFIERS",0,t,"MICROPHONE_DETECTOR_APPS_TO_IGNORE",0,["Circleback","Spotify","iTunes","Messages.app","Corespeechd","Corespeech","replayd","systemsoundserverd","Wispr Flow","FreeFlow","MacWhisper","com.apple.SpeechRecognitionCore.speechrecognitiond","QuickTime Player","DictationIM","Willow","WorldOfTanks","helldivers2","Typeless","superwhisper","Spokenly","Genspark Speakly Helper","VoiceAccess","Screen Studio","Loom","Sound.appex","historicalaudiod","Aqua Voice","VoiceInk","Monologue","VoiceOS","RODE Connect","Logitech","WaveLink","Granola","Logic Pro","Adobe Premiere Pro","GarageBand","ChatGPT","Claude","Grok Bot","Cursor Helper","Codex","Raycast","SteelSeriesCVGameSense","POWERPNT","Snagit32","SnagitCapture","openscreen","steam","sox","Notion","Supercut","CleanShot","screenpipe-app","AccessibilityUIServer","SystemSettings","TextInputHost","SnippingTool","sapisvr","svchost","SystemUIServer","screencapture","sfproc","VoiceMemos","FluidVoice","Tella","Photo Booth","Quill"],"MICROPHONE_DETECTOR_APP_NAMES",0,["Arc","Atlas","Brave Browser Beta","Brave Browser Nightly","Brave Browser","Brave","Chrome","Chromium","Comet","Dia","Edge","Helium","Firefox Developer Edition","Firefox Nightly","Firefox","Google Chrome Beta","Google Chrome Canary","Google Chrome Dev","Google Chrome","Microsoft Edge Beta","Microsoft Edge Canary","Microsoft Edge Dev","Microsoft Edge","Microsoft Teams","Safari Technology Preview","Safari","Slack","Zoom"],"NO_DEVICE_DISPLAY_TEXT",0,"None","PRIORITIZED_WINDOW_BUNDLE_IDENTIFIERS",0,r,"RECORDED_CALENDAR_MEETING_IDS_KEY",0,"recordedCalendarMeetingIds","RECORDING_TROUBLESHOOTING_URL",0,"https://support.cir
1cleback.ai/en/articles/13929005-troubleshoot-recording-on-desktop-and-web","STANDALONE_GENERATING_NOTES_DURATION_MS",0,4e3,"VIRTUAL_AUDIO_DEVICE_NAMES",0,["zoomaudiodevice","microsoft teams audio","krisp microphone","krisp speaker","rode connect","røde connect","steelseries sonar","virtual audio","virtual audio device","virtual desktop audio","vb-audio virtual cable","virtual cable","virtual output","virtual input","virtual surround sound","virtual mixer","sonic studio virtual mixer","blackhole","loopback audio","soundflower","wave link","wavelink"]])},13990,e=>{"use strict";e.s(["BUSINESS_RECORDING_RETENTION_IN_DAYS",0,731,"BUSINESS_RECORDING_RETENTION_IN_YEARS",0,2,"DEFAULT_RECORDING_RETENTION_IN_DAYS",0,365,"DEFAULT_RECORDING_RETENTION_IN_YEARS",0,1,"MAX_CUSTOM_DATA_RETENTION_IN_DAYS",0,1825])},64972,e=>{"use strict";e.i(134903);var t=e.i(543222);let r=t.SubscriptionPlanType.Pro,n=t.BillingInterval.Monthly,a={[t.SubscriptionPlanType.Pro]:15,[t.SubscriptionPlanType.Business]:15,[t.SubscriptionPlanType.Enterprise]:15};e.s(["CUSTOMER_PORTAL_REQUIRED_ERROR_CODE",0,"customer_portal_required","DEFAULT_BILLING_INTERVAL",0,n,"DEFAULT_TRIAL_PLAN_TYPE",0,r,"FREE_PLAN_MAXIMUM_TEAM_COUNT",0,2,"INVOICE_DAYS_UNTIL_DUE",0,30,"PAYMENT_METHOD_REQUIRED_ERROR_CODE",0,"payment_method_required","PRO_PLAN_MAXIMUM_TEAM_COUNT",0,5,"REFERRAL_TRIAL_EXTENSION_IN_DAYS",0,30,"TEAM_TRIAL_EXTENSION_IN_DAYS",0,15,"TRIAL_CONTINUATION_CHECKOUT_SESSION_PARAMETER",0,"trial-continuation-checkout-session","TRIAL_DURATION_IN_DAYS_BY_SUBSCRIPTION_PLAN_TYPE",0,a])},504850,482568,e=>{"use strict";e.i(864449);var t=e.i(108741),r=e.i(607799);e.i(134903);var n=e.i(543222),a=e.i(13990),i=e.i(64972);let o={id:n.SubscriptionPlanType.Free,name:r.SUBSCRIPTION_PLAN_DISPLAY_NAMES[n.SubscriptionPlanType.Free],monthlyPrice:{unitAmount:0,currency:"usd"},annualPricePerMonth:{unitAmount:0,currency:"usd"},billingDescription:"Free forever",maximumTeamCount:i.FREE_PLAN_MAXIMUM_TEAM_COUNT},l={id:n.SubscriptionPlanType.Pro,name:r.SUBSCRIPTION_PLAN_DISPLAY_NAMES[n.SubscriptionPlanType.Pro],maximumTeamCount:i.PRO_PLAN_MAXIMUM_TEAM_COUNT},s={id:n.SubscriptionPlanType.Business,name:r.SUBSCRIPTION_PLAN_DISPLAY_NAMES[n.SubscriptionPlanType.Business]},c={id:n.SubscriptionPlanType.Enterprise,name:r.SUBSCRIPTION_PLAN_DISPLAY_NAMES[n.SubscriptionPlanType.Enterprise]},u=[o,l,s,c],d=`${a.DEFAULT_RECORDING_RETENTION_IN_YEARS} year of recording storage`,p=`${a.BUSINESS_RECORDING_RETENTION_IN_YEARS} years of recording storage`,m="Admin and member roles",g="Unlimited free viewers",E="Email, Google, and Apple login",f="Unlimited recording storage",_="30 days of recording storage",P="Automations with all integrations, including Notion, HubSpot, Salesforce, Attio, webhooks, and many more apps",I=["Unlimited meeting history",d,P,"Custom AI insights","Personalized notetaker participant",`${l.maximumTeamCount} teams`],S={current:"Everyone is an admin",upgrade:m},T={current:"No free viewers",upgrade:g},A={current:E,upgrade:"SSO"},y={current:"Account settings",upgrade:"Enforceable workspace settings"},N={current:`${o.maximumTeamCount} teams`,upgrade:"Unlimited teams"},R=[{current:"30-day meeting history",upgrade:"Unlimited meeting history"},{current:"Limited automations",upgrade:"All automation steps"},{current:"No webhook integration",upgrade:"Unlimited webhooks"},{current:"Default meeting notes",upgrade:"Custom AI insights"},{current:`${o.maximumTeamCount} teams`,upgrade:`${l.maximumTeamCount} teams`}],b=[S,T,{current:"Account-based individual settings",upgrade:"Default and enforceable workspace settings"},{current:"Default data retention",upgrade:"Custom data retention"},{current:d,upgrade:p},{current:`${l.maximumTeamCount} teams`,upgrade:"Unlimited teams"}],h=[A,S,T,{current:"Account-based individual settings",upgrade:"Enforceable workspace settings"},{current:d,upgrade:f},{current:`${l.maximumTeamCount} teams`,upgrade:"Unlimited teams"}],v=[{title:"Limits",features:[{label:"Meeting history",downgradeImpactKind:"meetingHistory",values:{free:`${t.MEETING_HISTORY_DURATION_IN_DAYS} days`,pro:"Unlimited",business:"Unlimited",enterprise:"Unlimited"}},{label:"Recording storage",downgradeImpactKind:"recordingStorage",values:{free:"30 days",pro:`${a.DEFAULT_RECORDING_RETENTION_IN_YEARS} year`,business:`${a.BUSINESS_RECORDING_RETENTION_IN_YEARS} years`,enterprise:"Unlimited"}}]},{title:"Features",features:[{label:"AI meeting notes and action items",values:{free:!0,pro:!0,business:!0,enterprise:!0}},{label:"Ask Circleback",values:{free:!0,pro:!0,business:!0,enterprise:!0}},{label:"View and draft emails",values:{free:!0,pro:!0,business:!0,enterprise:!0}},{label:"Video and audio recording",values:{free:!0,pro:!0,business:!0,enterprise:!0}},{label:"Speaker-labeled transcripts",values:{free:!0,pro:!0,business:!0,enterprise:!0}},{label:"Automatic tagging",values:{free:!0,pro:!0,business:!0,enterprise:!0}},{label:"Automatic sharing",values:{free:!0,pro:!0,business:!0,enterprise:!0}},{label:"Automations",values:{free:"Limited",pro:!0,business:!0,enterprise:!0}},{label:"Meeting participant customization",values:{free:!1,pro:!0,business:!0,enterprise:!0}},{label:"Custom AI insights",values:{free:!1,pro:!0,business:!0,enterprise:!0}}]},{title:"Platform access",features:[{label:"API, MCP, and CLI",values:{free:!0,pro:!0,business:!0,enterprise:!0}},{label:"Webhook",values:{free:!1,pro:!0,business:!0,enterprise:!0}}]},{title:"Workspace controls",features:[{label:"Teams",downgradeImpactKind:"teams",values:{free:`${i.FREE_PLAN_MAXIMUM_TEAM_COUNT}`,pro:`${i.PRO_PLAN_MAXIMUM_TEAM_COUNT}`,business:"Unlimited",enterprise:"Unlimited"}},{label:"Roles",values:{free:"Admin only",pro:"Admin only",business:"Admin, member, viewer",enterprise:"Admin, member, viewer"}},{label:"Free viewers",values:{free:!1,pro:!1,business:"Unlimited",enterprise:"Unlimited"}},{label:"Defaults & enforcement",values:{free:!1,pro:!1,business:!0,enterprise:!0}},{label:"Custom data retention",values:{free:!1,pro:!1,business:!0,enterprise:!0}},{label:"Usage dashboard",values:{free:!1,pro:!1,business:!0,enterprise:!0}}]},{title:"Security and support",features:[{label:"SSO",values:{free:!1,pro:!1,business:!1,enterprise:!0}},{label:"Invoice/PO billing",values:{free:!1,pro:!1,business:!1,enterprise:!0}},{label:"HIPAA compliance",values:{free:!1,pro:!1,business:!1,enterprise:!0}},{label:"Priority support",values:{free:!1,pro:!1,business:!1,enterprise:!0}}]}],L={title:"Upgrade to Pro",upgradeButtonLabel:"Upgrade",description:"Upgrade to Pro to restore older meetings across your workspace and keep everyone’s full history.",currentPlanName:"Free",targetPlanName:"Pro",features:I,comparisonRows:R},C={title:"Upgrade to Business",upgradeButtonLabel:"Upgrade",description:"Add the controls and flexibility your organization needs.",currentPlanName:"Pro",targetPlanName:"Business",features:[m,g,"Custom data retention","Default and enforceable settings",p,"Usage dashboard","Unlimited teams"],comparisonRows:b},O={...C,currentPlanName:o.name,comparisonRows:[S,T,y,{current:_,upgrade:p},N]},D={title:"Upgrade to Enterprise",upgradeButtonLabel:"Upgrade",description:"Bring enterprise security, onboarding, and support to your team.",currentPlanName:"Business",targetPlanName:"Enterprise",features:["SSO","Invoice/PO billing",f,"Priority support","HIPAA compliance"],comparisonRows:[A,{current:"Standard support",upgrade:"Priority support"},{current:"Card and bank payments",upgrade:"Invoice/PO billing"},{current:p,upgrade:f}]},M={...D,currentPlanName:o.name,comparisonRows:[A,S,T,y,{current:_,upgrade:f},N]},w={...D,currentPlanName:l.name,comparisonRows:h},U={...L,description:`Your workspace has reached the Free plan's ${o.maximumTeamCount}-team limit. Upgrade to Pro to create up to ${l.maximumTeamCount} teams.`},F={...C,description:`Your workspace has reached the Pro plan's ${l.maximumTeamCount}-team limit. Upgrade to Business to create unlimited teams.`};e.s(["BILLING_PLANS",0,u,"BILLING_PLAN_COMPARISON_SECTIONS",0,v,"BUSINESS_PLAN",0,s,"BUSINESS_PLAN_TEAM_LIMIT_UPGRADE",0,F,"BUSINESS_PLAN_UPGRADE",0,C,"ENTERPRISE_PLAN",0,c,"ENTERPRISE_PLAN_SINGLE_SIGN_ON_FEATURE",0,"SSO","ENTERPRISE_PLAN_UPGRADE",0,D,"FREE_PLAN",0,o,"FREE_TO_BUSINESS_PLAN_UPGRADE",0,O,"FREE_TO_ENTERPRISE_PLAN_UPGRADE",0,M,"PLAN_PRICE_UNIT",0,"per user/month","PRO_PLAN",0,l,"PRO_PLAN_AUTOMATIONS_FEATURE",0,P,"PRO_PLAN_TEAM_LIMIT_UPGRADE",0,U,"PRO_PLAN_UPGRADE",0,L,"PRO_TO_ENTERPRISE_PLAN_UPGRADE",0,w,"STANDARD_SIGN_IN_METHODS",0,E],504850),e.s(["getMonthlyEquivalentUnitAmount",0,({billingInterval:e,unitAmou
1nt:t})=>{switch(e){case n.BillingInterval.Monthly:return t;case n.BillingInterval.Annual:return t/12;default:return e}},"resolveSubscriptionPlanPrice",0,({billingInterval:e,planType:t,prices:r})=>{let a=r.filter(e=>e.planType===t),i=a.find(t=>t.billingInterval===e)??(1===a.length?a[0]:void 0),o=a.some(e=>e.billingInterval===n.BillingInterval.Monthly);return{billingInterval:i?.billingInterval??e,isAnnualOnly:a.length>0&&!o,price:i}}],482568)},962048,e=>{"use strict";e.i(864449);var t=e.i(998753),r=e.i(108741),n=e.i(929923);e.i(134903);var a=e.i(212637),i=e.i(943433),o=e.i(86078),l=e.i(543222);e.i(354656);var s=e.i(965140),c=e.i(357533),u=e.i(866669),d=e.i(620442),p=e.i(821384),m=e.i(559185),g=e.i(846453);let E=e=>{let t=localStorage.getItem(e);return!(t&&(0,s.daysToTimestamp)(Number(t))>-(e=>{switch(e){case"dismissedWorkspaceDiscoveryCard":case"dismissedConnectEmailCard":return 14;case"dismissedDefaultExternalInviteeAccessCard":case"dismissedAutomationsAutomaticMeetingTaggingEnabledAlert":case"acknowledgedDesktopRecordingRequirements":return 30;case"dismissedInsightsFeatureExplainer":case"dismissedAutomationsFeatureExplainer":return 180;case"dismissedAssistantConnectorCallout":return 60;case"dismissedCirclingBack2025Card":return 3;case"dismissedSharedMeetingOnboardingPrompt":return 7;default:return e}})(e))},f=e=>{localStorage.setItem(e,String((0,s.nowInPosix)())),window.dispatchEvent(new Event("storage"))},_="meetingFilters",P="actionItemFilters",I="peopleFilters",S="companyFilters",T=e=>{try{return JSON.parse(e)}catch{return null}},A=p.z.string(),y=o.ProfileSchema.extend({avatarUrl:p.z.string().optional()}),N=p.z.object({profiles:p.z.array(y.nullable().catch(null)).transform(e=>e.filter(u.isPresent)).optional(),tags:p.z.array(p.z.number().int()).optional(),domains:p.z.array(A).optional(),ownership:p.z.string().optional(),statuses:p.z.custom(e=>Array.isArray(e)).optional()}),R=p.z.object({type:i.ActionItemAssigneeTypeSchema,profile:y.optional().catch(void 0),teamId:p.z.number().int().positive().optional()}).transform(e=>e.type!==a.ActionItemAssigneeType.Profile||(0,u.isPresent)(e.profile)?e:{type:a.ActionItemAssigneeType.Anyone}),b=p.z.object({assignee:R,status:i.ActionItemStatusSchema.optional(),tags:p.z.array(p.z.number().int()).optional(),attendeeDomains:p.z.array(A).optional()}),h=()=>{if((0,g.isSSR)())return null;let e=localStorage.getItem(_);if(e){let t,n=T(e);if(!n)return null;let i=N.safeParse(n);if(!i.success)return null;let o=i.data;return{profiles:o.profiles??r.DEFAULT_MEETING_FILTERS.profiles,tags:o.tags??r.DEFAULT_MEETING_FILTERS.tags,domains:(o.domains??r.DEFAULT_MEETING_FILTERS.domains).filter(d.isValidDomain),ownership:(t=o.ownership??r.DEFAULT_MEETING_FILTERS.ownership,(0,c.isMeetingOwnership)(t)?t:a.MeetingOwnership.All),statuses:o.statuses??r.DEFAULT_MEETING_FILTERS.statuses}}return null},v=p.z.object({domains:p.z.array(A).optional(),tags:p.z.array(p.z.number().int()).optional()}),L=p.z.object({tags:p.z.array(p.z.number().int()).optional()}),C="currentViewId",O=p.z.array(p.z.string()),D=()=>{if((0,g.isSSR)())return[];let e=localStorage.getItem(m.RECORDED_CALENDAR_MEETING_IDS_KEY);if(e){let t=O.safeParse(JSON.parse(e));if(t.success)return t.data}return[]},M="acknowledgedDesktopRecordingRequirements";e.s(["DEFAULT_LEFT_NAV_WIDTH",0,228,"addRecordedCalendarMeetingIdToLocalStorage",0,e=>{let t=[...D(),e].slice(-m.MAX_CALENDAR_IDS_BUFFER);localStorage.setItem(m.RECORDED_CALENDAR_MEETING_IDS_KEY,JSON.stringify(t)),window.dispatchEvent(new StorageEvent("storage",{key:m.RECORDED_CALENDAR_MEETING_IDS_KEY}))},"clearLocalStorage",0,()=>{localStorage.removeItem(_),(0,g.isSSR)()||localStorage.removeItem(P),(0,g.isSSR)()||localStorage.removeItem(I),(0,g.isSSR)()||localStorage.removeItem(S),(0,g.isSSR)()||Object.keys(localStorage).forEach(e=>{e.startsWith(`${C}_`)&&localStorage.removeItem(e)}),localStorage.removeItem(n.DONE_PLACEHOLDER_ACTION_ITEM_IDS_KEY),localStorage.removeItem(n.VIDEO_PLAYBACK_SPEED_KEY),localStorage.removeItem("dismissedWorkspaceDiscoveryCard")},"getActionItemFiltersFromLocalStorage",0,()=>{if((0,g.isSSR)())return null;let e=localStorage.getItem(P);if(e){let r=T(e);if(!r)return null;let n=b.safeParse(r);if(!n.success)return null;let a=n.data;return{assignee:a.assignee,status:a.status??t.DEFAULT_ACTION_ITEM_FILTERS.status,tags:a.tags??t.DEFAULT_ACTION_ITEM_FILTERS.tags,attendeeDomains:(a.attendeeDomains??t.DEFAULT_ACTION_ITEM_FILTERS.attendeeDomains).filter(d.isValidDomain)}}return null},"getCompanyFiltersFromLocalStorage",0,()=>{if((0,g.isSSR)())return null;let e=localStorage.getItem(S);if(!e)return null;let t=T(e);if(!t)return null;let r=L.safeParse(t);return r.success?{tags:r.data.tags??[]}:null},"getCurrentViewIdFromLocalStorage",0,e=>(0,g.isSSR)()?null:localStorage.getItem(`${C}_${e}`),"getMeetingFilters",0,()=>({...r.DEFAULT_MEETING_FILTERS,...h()}),"getMeetingFiltersFromLocalStorage",0,h,"getMeetingViewFiltersFromLocalStorage",0,()=>{let e=h();if(!e)return null;let{statuses:t,...r}=e;return r},"getPeopleFiltersFromLocalStorage",0,()=>{if((0,g.isSSR)())return null;let e=localStorage.getItem(I);if(!e)return null;let t=T(e);if(!t)return null;let r=v.safeParse(t);return r.success?{domains:(r.data.domains??[]).filter(d.isValidDomain),tags:r.data.tags??[]}:null},"getRecordedCalendarMeetingIdsFromLocalStorage",0,D,"getRightPanelContextStorageKey",0,e=>{switch(e){case l.RightPanelContext.Meeting:return n.IS_MEETING_RIGHT_PANEL_OPEN_KEY;case l.RightPanelContext.CalendarEvent:return n.IS_CALENDAR_EVENT_RIGHT_PANEL_OPEN_KEY;case l.RightPanelContext.Person:return n.IS_PERSON_DETAIL_RIGHT_PANEL_OPEN_KEY;case l.RightPanelContext.Company:return n.IS_COMPANY_DETAIL_RIGHT_PANEL_OPEN_KEY;default:return e}},"getSelectedMicrophoneFromLocalStorage",0,()=>{if((0,g.isSSR)())return;let e=localStorage.getItem("selectedMicrophone");if(e)return JSON.parse(e)},"hasDesktopRecordingRequirementsAcknowledgment",0,()=>!(0,g.isSSR)()&&!E(M),"saveActionItemFiltersToLocalStorage",0,e=>{localStorage.setItem(P,JSON.stringify(e))},"saveCompanyFiltersToLocalStorage",0,e=>{localStorage.setItem(S,JSON.stringify(e))},"saveCurrentViewIdToLocalStorage",0,(e,t)=>{(0,g.isSSR)()||localStorage.setItem(`${C}_${e}`,t)},"saveDesktopRecordingRequirementsAcknowledgment",0,()=>{f(M)},"saveDismissedComponent",0,f,"saveMeetingFiltersToLocalStorage",0,e=>{localStorage.setItem(_,JSON.stringify(e))},"savePeopleFiltersToLocalStorage",0,e=>{localStorage.setItem(I,JSON.stringify(e))},"showDismissibleComponent",0,E])},360491,e=>{"use strict";e.i(134903);var t=e.i(543222),r=e.i(317945);e.i(354656);var n=e.i(836558),a=e.i(965140),i=e.i(828008),o=e.i(610813),l=e.i(834626),s=e.i(607754),c=e.i(501321),u=e.i(767677),d=e.i(866669),p=e.i(264751),m=e.i(504850),g=e.i(218065),E=e.i(793160),f=e.i(482568);let _={[t.SubscriptionPlanType.Pro]:m.PRO_PLAN_UPGRADE,[t.SubscriptionPlanType.Business]:m.BUSINESS_PLAN_UPGRADE,[t.SubscriptionPlanType.Enterprise]:m.ENTERPRISE_PLAN_UPGRADE},P=new Map([["Pro",t.SubscriptionPlanType.Pro],["Business",t.SubscriptionPlanType.Business],["
1Enterprise",t.SubscriptionPlanType.Enterprise]]),I=e=>{let t=m.BILLING_PLANS.find(({id:t})=>t===e);if(!(0,d.isPresent)(t))throw Error("Billing plan is not configured.");return t.name},S=e=>m.BILLING_PLANS.findIndex(t=>t.name===e),T=e=>m.BILLING_PLANS.find(t=>t.name===e)?.id,A=e=>!0===e?"Included":!1===e?"Not included":e,y=(e,t)=>{let r=T(e),n=T(t);return(0,d.isPresent)(r)&&(0,d.isPresent)(n)?m.BILLING_PLAN_COMPARISON_SECTIONS.flatMap(e=>(0,i.filterMap)([...e.features],e=>{let t=e.values[r],a=e.values[n];if(t!==a)return{feature:e,currentValue:t,targetValue:a,targetPlanId:n}})):[]},N=e=>{if(!(0,d.isPresent)(e))return;let r=(e=>{let r=m.BILLING_PLANS.findIndex(t=>t.id===e);if(r<0)return;let n=m.BILLING_PLANS.at(r+1)?.id;return n===t.SubscriptionPlanType.Free?void 0:n})(e);return(0,d.isPresent)(r)?_[r]:void 0},R={[t.SubscriptionPlanType.Pro]:m.PRO_PLAN_UPGRADE,[t.SubscriptionPlanType.Business]:m.FREE_TO_BUSINESS_PLAN_UPGRADE,[t.SubscriptionPlanType.Enterprise]:m.FREE_TO_ENTERPRISE_PLAN_UPGRADE},b=e=>e?.canRenewAfterTrial??e?.hasPaymentMethod===!0,h=(e,r)=>{let{planType:a}=e.stripeSubscription,i=!(0,n.isUserTrialing)(e)||b(r)||(0,n.canUserReplaceWorkspaceSubscription)(e)?void 0:(e=>{if(!(0,d.isPresent)(e)||e===t.SubscriptionPlanType.Free)return;let r=R[e],n=`Keep ${r.targetPlanName}`;return{...r,title:n,upgradeButtonLabel:n,description:`Add a payment method to continue on ${r.targetPlanName} after your trial ends.`,currentPlanName:r.targetPlanName,comparisonPlanName:r.currentPlanName,comparisonRows:r.comparisonRows.map(({current:e,upgrade:t})=>({current:t,upgrade:e}))}})(a);return(0,d.isPresent)(i)?i:N(a)},v=async(e,t)=>{let n=new URLSearchParams({...(0,d.isPresent)(e)?{subscriptionId:e}:{},...(0,d.isPresent)(t)?{targetPlanType:t}:{}}),a=n.size>0?`?${n}`:"",i=await fetch(`/api/user/subscription/downgrade${a}`,{method:"GET"}),o=await (0,p.parseResponseOrThrow)(i,{defaultError:"Unable to load downgrade details."});return r.BillingPlanDowngradeImpactSchema.parse(o)};e.s(["canSelectBillingPlanInterval",0,(e,r)=>r.some(r=>r.planType===e&&r.billingInterval===t.BillingInterval.Monthly)&&r.some(r=>r.planType===e&&r.billingInterval===t.BillingInterval.Annual),"canUserSubscriptionRenewAfterTrial",0,b,"getBillingPlanAction",0,(e,t)=>{if(e===t)return"current";let r=S(e),n=S(t);return r>=0&&n>=0&&r<n?"downgrade":"upgrade"},"getBillingPlanDowngradeChanges",0,({currentPlanName:e,targetPlanName:t,downgradeImpact:r})=>y(e,t).map(({feature:e,currentValue:t,targetValue:n,targetPlanId:a})=>{let i=(({downgradeImpactKind:e,targetPlanId:t,downgradeImpact:r})=>{if("meetingHistory"===e&&t===m.FREE_PLAN.id&&r?.meetingsOutsideFreePlanHistory){let e=r.meetingsOutsideFreePlanHistory;return`${(0,l.formatNumber)(e)} meeting${(0,c.getPluralSuffix)(e)} outside this limit`}if("teams"===e&&r){let e=(0,E.getMaximumTeamCount)(t);if(!e)return;let n=Math.max(r.teamCount-e,0);if(!n)return;return`${(0,l.formatNumber)(n)} team${(0,c.getPluralSuffix)(n)} over the limit`}})({downgradeImpactKind:e.downgradeImpactKind,targetPlanId:a,downgradeImpact:r}),o=A(n);return{label:e.label,downgradeImpactKind:e.downgradeImpactKind,current:A(t),target:"teams"===e.downgradeImpactKind?`${o} teams`:o,...i?{targetImpact:i}:{}}}),"getBillingPlanDowngradeImpact",0,v,"getBillingPlanName",0,I,"getBillingPlanPriceDescription",0,(e,t,r)=>{let n=((e,t,r)=>{let n=m.BILLING_PLANS.find(t=>t.name===e);if((0,d.isPresent)(n))return r.find(e=>e.planType===n.id&&e.billingInterval===t)})(e,t,r);if((0,d.isPresent)(n))return(0,g.formatBillingPlanPriceDescription)(n)},"getBillingPlans",0,(e,r)=>m.BILLING_PLANS.map(n=>{let a={id:n.id,name:n.name,...(0,d.isPresent)(n.billingDescription)?{billingDescription:n.billingDescription}:{}};if(n.id===t.SubscriptionPlanType.Free)return{...a,billingInterval:t.BillingInterval.Monthly,price:(0,o.formatAmou
1nt)({amount:m.FREE_PLAN.monthlyPrice.unitAmount,currency:m.FREE_PLAN.monthlyPrice.currency,minimumFractionDigits:0,language:navigator.language}),priceUnit:m.PLAN_PRICE_UNIT};let{billingInterval:i,price:l}=(0,f.resolveSubscriptionPlanPrice)({billingInterval:e,planType:n.id,prices:r});return{...a,billingInterval:i,...(0,d.isPresent)(l)?{price:(0,g.formatBillingPlanPrice)(l),priceUnit:m.PLAN_PRICE_UNIT}:{}}}),"getCurrentPlanDisplayName",0,e=>(0,d.isPresent)(e)?I(e):"Circleback","getCustomCheckoutPlanType",0,e=>(0,u.isPaidSubscriptionPlan)(e)?e:void 0,"getEnterprisePlanUpgradeDefinition",0,e=>{switch(e){case t.SubscriptionPlanType.Free:return m.FREE_TO_ENTERPRISE_PLAN_UPGRADE;case t.SubscriptionPlanType.Pro:return m.PRO_TO_ENTERPRISE_PLAN_UPGRADE;case t.SubscriptionPlanType.Business:case t.SubscriptionPlanType.Enterprise:case void 0:return m.ENTERPRISE_PLAN_UPGRADE;default:return e}},"getPlanNudgeState",0,(e,r)=>{if(!e.fetched)return;let{planType:i,status:o,trialEnd:l}=e.stripeSubscription;if((0,n.isUserTrialing)(e)){if(i===t.SubscriptionPlanType.Free||!(0,d.isPresent)(r)||b(r)||!(0,n.canUserUpdateSubscriptionPlan)(e,r.canUpdatePlan)||(0,n.canUserReplaceWorkspaceSubscription)(e)||!(0,d.isPresent)(l))return;let o=(0,a.daysToTimestamp)(l);if(o<=0)return;return{type:"trial",daysLeft:o,planName:(0,s.getSubscriptionPlanDisplayName)(e.stripeSubscription),planUpgrade:h(e,r)}}if((0,u.isPaidSubscriptionPlan)(i)||"unpaid"===o||"paused"===o||"incomplete"===o)return;let c=N(t.SubscriptionPlanType.Free);return(0,d.isPresent)(c)?{type:"upgrade",planUpgrade:c}:void 0},"getPlanUpgrade",0,({prices:e,user:r,billingInterval:n,userSubscription:a})=>{let i=h(r,a);if(!(0,d.isPresent)(i))return;let o=((e,t,r)=>{let n=_[e],{price:a}=(0,f.resolveSubscriptionPlanPrice)({billingInterval:r,planType:e,prices:t});if((0,d.isPresent)(a))return{...n,priceDescription:(0,g.formatBillingPlanPriceDescription)(a)}})(t.SubscriptionPlanType[i.targetPlanName],e,n);return(0,d.isPresent)(o)?{...i,priceDescription:o.priceDescription}:void 0},"getPlanUpgradeBillingInterval",0,({planName:e,billingInterval:r,subscriptionInterval:n,prices:a})=>(0,f.resolveSubscriptionPlanPrice)({billingInterval:r??(0,s.getBillingIntervalOrDefault)({planType:t.SubscriptionPlanType[e],interval:n}),planType:t.SubscriptionPlanType[e],prices:a}).billingInterval,"getTierUpgradeTrialPlanType",0,e=>(0,d.isPresent)(e)?P.get(e):void 0,"hasConcreteBillingPlanDowngradeImpact",0,(e,t)=>y(e,t).some(({feature:e})=>(0,d.isPresent)(e.downgradeImpactKind)),"isNextBillingPlan",0,(e,t)=>{let r=S(e),n=S(t);return r>=0&&n>=0&&r===n+1}])},218065,e=>{"use strict";e.i(134903);var t=e.i(543222);e.i(354656);var r=e.i(965140),n=e.i(610813),a=e.i(866669),i=e.i(504850),o=e.i(482568);let l={day:"day",week:"week",month:"month",year:"year"},s=e=>(0,n.formatAmount)({amount:(0,o.getMonthlyEquivalentUnitAmount)(e),currency:e.currency,minimumFractionDigits:0,language:navigator.language}),c=e=>`${s(e)} per user/month${e.billingInterval===t.BillingInterval.Annual?", billed yearly":""}`,u=({plan:e,status:t,trialEnd:r,isFreePlan:n,canRenewAfterTrial:i})=>"trialing"===t?n?"freeForever":(0,a.isPresent)(r)&&(e?.willCancelAtPeriodEnd===!0||(0,a.isPresent)(e?.cancelAt)&&e.cancelAt<=r)?"trialEnding":i?"trialRenewing":"trial":n?"freeForever":"past_due"===t?"pastDue":e?.willCancelAtPeriodEnd===!0||(0,a.isPresent)(e?.cancelAt)&&e.cancelAt<=e.currentPeriodEnd?"canceling":"renewing";e.s(["formatBillingPlanPrice",0,s,"formatBillingPlanPriceDescription",0,c,"formatPrice",0,(e,t)=>(0,n.formatAmount)({amount:e,currency:t,minimumFractionDigits:2,language:navigator.language}),"getCurrentPlanPresentation",0,({planName:e,canViewBilling:o,seatQuantity:s,nextPayment:d,isLoading:p,hasError:m,...g})=>{let E=(e=>{let{plan:o,isFreePlan:s}=e,d=u(e),p=((e,r)=>{if(r)return i.FREE_PLAN.billingDescription;if(!e)return;if(!r&&1===e.intervalCount&&("month"===e.interval||"year"===e.interval))return c({billingInterval:"year"===e.interval?t.BillingInterval.Annual:t.BillingInterval.Monthly,unitAmount:e.unitAmount,currency:e.currency});
1let a=(0,n.formatAmount)({amount:e.unitAmount,currency:e.currency,minimumFractionDigits:0,language:navigator.language}),o=1===e.intervalCount?l[e.interval]:`${e.intervalCount} ${e.interval}s`;return`${a}${r?"":" per user"}/${o}`})(o,!0===s),m=((e,{plan:t,trialEnd:r,paymentDueAt:n})=>{switch(e){case"trial":case"trialRenewing":return r??t?.currentPeriodEnd;case"trialEnding":if((0,a.isPresent)(t?.cancelAt)&&(0,a.isPresent)(r))return Math.min(t.cancelAt,r);return t?.cancelAt??r??t?.currentPeriodEnd;case"freeForever":return;case"pastDue":return n;case"canceling":return t?.cancelAt??t?.currentPeriodEnd;case"renewing":return t?.currentPeriodEnd;default:return e}})(d,e),g="trial"===d||"trialRenewing"===d||"trialEnding"===d,E="trial"===d||"trialEnding"===d,f="pastDue"===d?"Past due":g?"Trial":void 0;return{priceDescription:p,renewalDate:((e,t)=>{if((0,a.isPresent)(t))return e?(0,r.formatRelativeDateFromUnixTimestamp)(t):(0,r.getFormattedDateFromUnixTimestamp)(t,r.dateFormats.compactMonthDate)})(E,m),renewalLabel:(e=>{switch(e){case"trial":return"Trial ends";case"trialRenewing":case"renewing":return"Next renewal";case"trialEnding":case"canceling":return"Cancels on";case"pastDue":return"Payment due";case"freeForever":return;default:return e}})(d),...(0,a.isPresent)(f)?{statusLabel:f}:{}}})(g),f=u(g),_=o?(({priceDescription:e,isLoading:t,hasError:r})=>(0,a.isPresent)(e)?e:r?"—":t?void 0:"Custom pricing")({isLoading:p,hasError:m,...(0,a.isPresent)(E.priceDescription)?{priceDescription:E.priceDescription}:{}}):void 0,P=o&&!0!==g.isFreePlan,I=o&&("renewing"===f||"trialRenewing"===f)&&(0,a.isPresent)(d)?(0,n.formatAmount)({amount:d.amount,currency:d.currency,minimumFractionDigits:0,notation:"compact",language:navigator.language}):void 0;return{planName:e,statusLabel:E.statusLabel??"Current",...(0,a.isPresent)(_)?{priceDescription:_}:{},...E.renewalLabel&&(o||E.renewalDate)?{renewalLabel:E.renewalLabel}:{},...E.renewalDate?{renewalDate:E.renewalDate}:{},...(0,a.isPresent)(I)?{formattedRenewalAmount:I}:{},...P?{seatCount:s??1}:{}}}])},793160,e=>{"use strict";e.i(134903);var t=e.i(543222),r=e.i(64972);e.s(["doesSubscriptionPlanTypeHaveBusinessAccess",0,e=>e===t.SubscriptionPlanType.Business||e===t.SubscriptionPlanType.Enterprise,"doesSubscriptionPlanTypeHaveMeetingParticipantCustomizationAccess",0,e=>e===t.SubscriptionPlanType.Pro||e===t.SubscriptionPlanType.Business||e===t.SubscriptionPlanType.Enterprise,"getMaximumTeamCount",0,e=>{switch(e){case t.SubscriptionPlanType.Free:return r.FREE_PLAN_MAXIMUM_TEAM_COUNT;case t.SubscriptionPlanType.Pro:return r.PRO_PLAN_MAXIMUM_TEAM_COUNT;case t.SubscriptionPlanType.Business:case t.SubscriptionPlanType.Enterprise:return;default:return e}}
1,"getTrialDurationInDays",0,({referred:e,invitedTeam:n,subscriptionPlanType:a,promoTrialDurationInDays:i})=>a===t.SubscriptionPlanType.Free?0:i||r.TRIAL_DURATION_IN_DAYS_BY_SUBSCRIPTION_PLAN_TYPE[a]+(e?r.REFERRAL_TRIAL_EXTENSION_IN_DAYS:0)+(n?r.TEAM_TRIAL_EXTENSION_IN_DAYS:0)])},368718,e=>{"use strict";var t=e.i(261576),r=e.i(191788);e.i(864449);var n=e.i(998753),a=e.i(108741),i=e.i(889083),o=e.i(363800);e.i(267340);var l=e.i(213509),s=e.i(774735),c=e.i(76580),u=e.i(291259),d=e.i(353031),p=e.i(184835),m=e.i(659921),g=e.i(438837);e.i(134903);var E=e.i(543222),f=e.i(409018);e.i(354656);var _=e.i(357533),P=e.i(497902),I=e.i(836558),S=e.i(844457),T=e.i(80784),A=e.i(64972),y=e.i(439567),N=e.i(980343),R=e.i(360491),b=e.i(962048);function h(e){return e?.()}e.s(["usePreload",0,()=>{let e,v,L,C,O,D,M,w,U,F,B,G,k,x,$,Y,j,K,z,H,V,W,q,X,J,Q=(0,t.c)(69),Z=(0,m.useFetcher)(),{mutate:ee}=(0,T.useSWRConfig)(),et=(0,g.useUser)();Q[0]===Symbol.for("react.memo_cache_sentinel")?(e={},Q[0]=e):e=Q[0];let er=(0,r.useRef)(e);Q[1]===Symbol.for("react.memo_cache_sentinel")?(v=[],Q[1]=v):v=Q[1];let[en,ea]=(0,r.useState)(v);Q[2]===Symbol.for("react.memo_cache_sentinel")?(L=(e,t,r)=>{let n=void 0===r?150:r,a=async()=>{try{await t()}catch(e){(0,N.captureException)(e)}};return n?(er.current[e]&&clearTimeout(er.current[e]),er.current[e]=setTimeout(()=>{a(),delete er.current[e]},n),()=>{er.current[e]&&(clearTimeout(er.current[e]),delete er.current[e])}):void a()},Q[2]=L):L=Q[2];let ei=L;Q[3]===Symbol.for("react.memo_cache_sentinel")?(C=(e,t)=>{let{delay:r}=void 0===t?{}:t,n=void 0===r?150:r;ea(e.map((e,t)=>ei(`preload-${t}`,e,n)))},Q[3]=C):C=Q[3];let eo=C;Q[4]!==en?(O=()=>{en.forEach(h),ea([])},Q[4]=en,Q[5]=O):O=Q[5];let el=O;Q[6]!==Z?(D=async()=>{let e=new URLSearchParams({...(0,_.pruneAndStringifyFilters)({...a.DEFAULT_MEETING_FILTERS,...(0,b.getMeetingFiltersFromLocalStorage)()})}),t=(0,l.buildActionItemsFilterParams)({...n.DEFAULT_ACTION_ITEM_FILTERS,...(0,b.getActionItemFiltersFromLocalStorage)()}),r=["/api/calendar","/api/tag",`/api/views?entityType=${f.ViewEntityType.MeetingView}`,`/api/views?entityType=${f.ViewEntityType.ActionItemView}`,"/api/releases?page=0"],i=["/api/calendar/events?includeOfflineSingleAttendee=false",`/api/meetings?${e}`,`/api/action-items?${t}`];await Promise.all([...r.map(e=>(0,T.preload)(e,Z)),...i.map(e=>(0,s.preloadPaginatedPage)(Z,e))])},Q[6]=Z,Q[7]=D):D=Q[7];let es=D;Q[8]!==Z?(M=()=>{(0,T.preload)(i.USER_AUTOMATIONS_SWR_KEY,Z)},Q[8]=Z,Q[9]=M):M=Q[9];let ec=M;Q[10]!==Z?(w=()=>{(0,T.preload)("/api/insight",Z)},Q[10]=Z,Q[11]=w):w=Q[11];let eu=w;Q[12]!==Z?(U=()=>{(0,s.preloadPaginatedPage)(Z,(0,u.getUserPeopleKey)({limit:o.PEOPLE_PAGE_SIZE}))},Q[12]=Z,Q[13]=U):U=Q[13];let ed=U;Q[14]!==Z?(F=()=>{(0,s.preloadPaginatedPage)(Z,"/api/companies?sortByMeetingDate=true")},Q[14]=Z,Q[15]=F):F=Q[15];let ep=F;Q[16]!==Z||Q[17]!==et?(B=async()=>{if(!(0,I.shouldConfirmPlanUpgrade)(et))return;let[e,t]=await Promise.all([(0,T.preload)(i.USER_SUBSCRIPTION_SWR_KEY,e=>Z(e)),(0,T.preload)("/api/user/subscription/prices",e=>Z(e))]),{prices:r}=t,n=(0,R.getPlanUpgrade)({prices:r,user:et,billingInterval:A.DEFAULT_BILLING_INTERVAL,userSubscription:e});n&&await (0,T.preload)((0,p.getSubscriptionPlanUpdatePreviewKey)({planType:E.SubscriptionPlanType[n.targetPlanName],billingInterval:(0,R.getPlanUpgradeBillingInterval)({planName:n.targetPlanName,subscriptionInterval:e.plan?.interval,prices:r})}),Z)},Q[16]=Z,Q[17]=et,Q[18]=B):B=Q[18];let em=B;Q[19]!==Z||Q[20]!==em||Q[21]!==et?(G=async()=>{let e=["/api/user/settings",i.USER_SUBSCRIPTION_SWR_KEY,"/api/user/subscription/prices","/api/user/subscription/invoices",i.USER_BILLING_DETAILS_SWR_KEY,"/api/tag?includeUsageStats=true","/api/calendar?checkForDuplicateConnections=true"];await Promise.all([...e.map(e=>(0,T.preload)(e,Z)),(0,T.preload)((0,d.getApiKeysKey)(et.email),e=>{let{endpoint:t}=e;return Z(t)}),em()])},Q[19]=Z,Q[20]=em,Q[21]=et,Q[22]=G):G=Q[22];let eg=G;Q[23]!==Z?(k=()=>{(0,T.preload)("/api/workspace",Z)},Q[23]=Z,Q[24]=k):k=Q[24];let eE=k;Q[25]!==Z?(x=()=>{(0,T.preload)("/api/workspace/domain",Z)},Q[25]=Z,Q[26]=x):x=Q[26];let ef=x;Q[27]!==Z?($=()=>{(0,T.preload)("/api/user/onboarding",Z)},Q[27]=Z,Q[28]=$):$=Q[28];let e_=$;Q[29]!==Z?(Y=async e=>{let t=await Z(`/api/meeting/${e}/assistant`);t.assistantChatId&&(0,T.preload)(`/api/assistant/chats/${t.assistantChatId}`,Z)},Q[29]=Z,Q[30]=Y):Y=Q[30];let eP=Y;Q[31]!==Z||Q[32]!==ee||Q[33]!==eP?(j=async(e,t)=>{let{clearCache:r,includeRelatedData:n,shouldInvalidate:a}=void 0===t?{}:t;if(e===P.PLACEHOLDER_MEETING_ID)return;let i=(0,c.getMeetingKey)(e),o=[i,`${i}/recent-conversations`,`${i}/clips`];void 0!==r&&r&&await ee(e=>o.includes(e),void 0,{revalidate:!1});let l=(0,T.preload)(i,Z),s=void 0===n||n?Promise.allSettled([...o.slice(1).map(e=>(0,T.preload)(e,Z)),eP(e)]):Promise.resolve([]),u=await l;return(void 0===a||a)&&!(0,_.isMeetingReady)(u.status)&&(await (0,S.mutate)(i),await ee(i)),await s,u},Q[31]=Z,Q[32]=ee,Q[33]=eP,Q[34]=j):j=Q[34];let eI=j;Q[35]!==ee?(K=async e=>{let t=[(0,c.getMeetingKey)(e.id),(0,c.getMeetingKey)(e.id,{newMeeting:!0})];await Promise.all(t.map(t=>ee(t,e,{revalidate:!1}))),t.forEach(t=>{(0,T.preload)(t,()=>e)})},Q[35]=ee,Q[36]=K):K=Q[36];let eS=K;Q[37]!==Z?(z=async e=>(0,s.preloadPaginatedPage)(Z,`/api/insight/${e}`),Q[37]=Z,Q[38]=z):z=Q[38];let eT=z;Q[39]!==Z?(H=async e=>{(0,T.preload)(`/api/automation/${e}`,Z),(0,s.preloadPaginatedPage)(Z,`/api/automation/${e}/meetings`),(0,T.preload)(`/api/automation/${e}/runs`,Z)},Q[39]=Z,Q[40]=H):H=Q[40];let eA=H;Q[41]!==Z?(V=async e=>{e!==P.PLACEHOLDER_MEETING_ID&&(0,T.preload)(`/api/meeting/${e}/transcript?page=0`,Z)},Q[41]=Z,Q[42]=V):V=Q[42];let ey=V;Q[43]!==Z?(W=async e=>{e!==P.PLACEHOLDER_MEETING_ID&&(0,T.preload)(`/api/meeting/${e}/automations`,Z)},Q[43]=Z,Q[44]=W):W=Q[44];let eN=W;Q[45]!==Z?(q=async()=>{(0,T.preload)("/api/user/referrals",Z)},Q[45]=Z,Q[46]=q):q=Q[46];let eR=q;Q[47]!==Z?(X=e=>Promise.allSettled((0,y.getEmailThreadKeysWithoutBodies)(e).map(e=>(0,T.preload)(e,Z))),Q[47]=Z,Q[48]=X):X=Q[48];let eb=X;return Q[49]!==el||Q[50]!==eA||Q[51]!==ec||Q[52]!==ep||Q[53]!==eb||Q[54]!==eT||Q[55]!==eu||Q[56]!==es||Q[57]!==eI||Q[58]!==eN||Q[59]!==e_||Q[60]!==ed||Q[61]!==em||Q[62]!==eg||Q[63]!==ey||Q[64]!==eR||Q[65]!==ef||Q[66]!==eE||Q[67]!==eS?(J={preloadLoggedInUserData:es,preloadAutomations:ec,preloadInsights:eu,preloadPeople:ed,preloadCompanies:ep,preloadSettings:eg,preloadPlanUpgradeConfirmation:em,preloadWorkspace:eE,preloadUserWorkspaceDomain:ef,preloadOnboarding:e_,preloadMeeting:eI,preloadInsight:eT,preloadAutomation:eA,preloadTranscript:ey,preloadMeetingAutomations:eN,preloadUserReferrals:eR,preloadEmailThreads:eb,startPreloads:eo,cancelPreloads:el,updatePreloadCacheForNewMeeting:eS},Q[49]=el,Q[50]=eA,Q[51]=ec,Q[52]=ep,Q[53]=eb,Q[54]=eT,Q[55]=eu,Q[56]=es,Q[57]=eI,Q[58]=eN,Q[59]=e_,Q[60]=ed,Q[61]=em,Q[62]=eg,Q[63]=ey,Q[64]=eR,Q[65]=ef,Q[66]=eE,Q[67]=eS,Q[68]=J):J=Q[68],J}])},56206,e=>{"use strict";function t(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=function e(t){var r,n,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t)if(Array.isArray(t)){var i=t.length;for(r=0;r<i;
1r++)t[r]&&(n=e(t[r]))&&(a&&(a+=" "),a+=n)}else for(n in t)t[n]&&(a&&(a+=" "),a+=n);return a}(e))&&(n&&(n+=" "),n+=t);return n}e.s(["clsx",0,t,"default",0,t])},154471,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getDomainLocale",{enumerable:!0,get:function(){return a}});let n=e.r(270090);function a(t,r,a,i){{let o=e.r(502531).normalizeLocalePath,l=e.r(462205).detectDomainLocale,s=r||o(t,a).detectedLocale,c=l(i,void 0,s);if(c){let e=`http${c.http?"":"s"}://`,r=s===c.defaultLocale?"":`/${s}`;return`${e}${c.domain}${(0,n.normalizePathTrailingSlash)(`${r}${t}`)}`}return!1}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},539149,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return N},useLinkStatus:function(){return y}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(952456),o=e.r(391398),l=i._(e.r(191788)),s=e.r(160472),c=e.r(471112),u=e.r(728169),d=e.r(889129),p=e.r(514862),m=e.r(425479),g=e.r(771914),E=e.r(154471),f=e.r(344113),_=e.r(663230),P=new Set;function I(e,t,r,n){if(!("u"<typeof window)&&(0,c.isLocalURL)(t)){if(!n.bypassPrefetchedCheck){let a=t+"%"+r+"%"+(void 0!==n.locale?n.locale:"locale"in e?e.locale:void 0);if(P.has(a))return;P.add(a)}e.prefetch(t,r,n).catch(e=>{})}}function S(e){return"string"==typeof e?e:(0,u.formatUrl)(e)}let T=l.default.forwardRef(function(e,t){let r,n,{href:a,as:i,children:u,prefetch:P=null,passHref:T,replace:A,shallow:y,scroll:N,locale:R,onClick:b,onNavigate:h,onMouseEnter:v,onTouchStart:L,legacyBehavior:C=!1,transitionTypes:O,...D}=e;r=u,C&&("string"==typeof r||"number"==typeof r)&&(r=(0,o.jsx)("a",{children:r}));let M=l.default.useContext(m.RouterContext),w=!1!==P,{href:U,as:F}=l.default.useMemo(()=>{if(!M){let e=S(a);return{href:e,as:i?S(i):e}}let[e,t]=(0,s.resolveHref)(M,a,!0);return{href:e,as:i?(0,s.resolveHref)(M,i):t||e}},[M,a,i]),B=l.default.useRef(U),G=l.default.useRef(F);C&&(n=l.default.Children.only(r));let k=C?n&&"object"==typeof n&&n.ref:t,[x,$,Y]=(0,g.useIntersection)({rootMargin:"200px"}),j=l.default.useCallback(e=>{(G.current!==F||B.current!==U)&&(Y(),G.current=F,B.current=U),x(e)},[F,U,Y,x]),K=(0,_.useMergedRef)(j,k);l.default.useEffect(()=>{!M||$&&w&&I(M,U,F,{bypassPrefetchedCheck:!1,locale:R})},[F,U,$,R,w,M?.locale,M]);let z={ref:K,onClick(e){C||"function"!=typeof b||b(e),C&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),!M||e.defaultPrevented||function(e,t,r,n,a,i,o,l,s){let u,{nodeName:d}=e.currentTarget;if(!("A"===d.toUpperCase()&&((u=e.currentTarget.getAttribute("target"))&&"_self"!==u||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which)||e.currentTarget.hasAttribute("download"))){if(!(0,c.isLocalURL)(r)){a&&(e.preventDefault(),location.replace(r));return}e.preventDefault(),(()=>{if(s){let e=!1;if(s({preventDefault:()=>{e=!0}}),e)return}let e=o??!0;"beforePopState"in t?t[a?"replace":"push"](r,n,{shallow:i,locale:l,scroll:e}):t[a?"replace":"push"](n||r,{scroll:e})})()}}(e,M,U,F,A,y,N,R,h)},onMouseEnter(e){C||"function"!=typeof v||v(e),C&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),M&&I(M,U,F,{locale:R,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart:function(e){C||"function"!=typeof L||L(e),C&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),M&&I(M,U,F,{locale:R,priority:!0,bypassPrefetchedCheck:!0})}};if((0,d.isAbsoluteUrl)(F))z.href=F;else if(!C||T||"a"===n.type&&!("href"in n.props)){let e=void 0!==R?R:M?.locale;z.href=M?.isLocaleDomain&&(0,E.getDomainLocale)(F,e,M?.locales,M?.domainLocales)||(0,f.addBasePath)((0,p.addLocale)(F,e,M?.defaultLocale))}return C?l.default.cloneElement(n,z):(0,o.jsx)("a",{...D,...z,children:r})}),A=(0,l.createContext)({pending:!1}),y=()=>(0,l.useContext)(A),N=T;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},41158,(e,t,r)=>{t.exports=e.r(539149)},502531,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"normalizeLocalePath",{enumerable:!0,get:function(){return n}});let n=(t,r)=>e.r(392090).normalizeLocalePath(t,r);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},771914,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useIntersection",{enumerable:!0,get:function(){return s}});let n=e.r(191788),a=e.r(799604),i="function"==typeof IntersectionObserver,o=new Map,l=[];function s({rootRef:e,rootMargin:t,disabled:r}){let c=r||!i,[u,d]=(0,n.useState)(!1),p=(0,n.useRef)(null),m=(0,n.useCallback)(e=>{p.current=e},[]);return(0,n.useEffect)(()=>{if(i){if(c||u)return;let r=p.current;if(r&&r.tagName)return function(e,t,r){let{id:n,observer:a,elements:i}=function(e){let t,r={root:e.root||null,margin:e.rootMargin||""},n=l.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=o.get(n)))return t;let a=new Map;return t={id:r,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=a.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e),elements:a},l.push(r),o.set(r,t),t}(r);return i.set(e,t),a.observe(e),function(){if(i.delete(e),a.unobserve(e),0===i.size){a.disconnect(),o.delete(n);let e=l.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&l.splice(e,1)}}}(r,e=>e&&d(e),{root:e?.current,rootMargin:t})}else if(!u){let e=(0,a.requestIdleCallback)(()=>d(!0));return()=>(0,a.cancelIdleCallback)(e)}},[c,t,e,u,p.current]),[m,u,(0,n.useCallback)(()=>{d(!1)},[])]}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},663230,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return a}});let n=e.r(191788);function a(e,t){let r=(0,n.useRef)(null),a=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=a.current;t&&(a.current=null,t())}else e&&(r.current=i(e,n)),t&&(a.current=i(t,n))},[e,t])}function i(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},184940,274196,924792,e=>{"use strict";var t=e.i(191788);e.s(["ERROR_REVALIDATE_EVENT",0,3,"FOCUS_EVENT",0,0,"MUTATE_EVENT",0,2,"RECONNECT_EVENT",0,1],274196);var r=Object.prototype.hasOwnProperty;let n=new WeakMap,a=()=>{},i=a(),o=Object,l=e=>e===i,s=e=>"function"==typeof e,c=(e,t)=>({...e,...t}),u=e=>s(e.then),d={},p={}
1,m="undefined",g=typeof window!=m,E=typeof document!=m,f=g&&"Deno"in window,_=(e,t)=>{let r=n.get(e);return[()=>!l(t)&&e.get(t)||d,n=>{if(!l(t)){let a=e.get(t);t in p||(p[t]=a),r[5](t,c(a,n),a||d)}},r[6],()=>!l(t)&&t in p?p[t]:!l(t)&&e.get(t)||d]},P=!0,[I,S]=g&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[a,a],T={initFocus:e=>(E&&document.addEventListener("visibilitychange",e),I("focus",e),()=>{E&&document.removeEventListener("visibilitychange",e),S("focus",e)}),initReconnect:e=>{let t=()=>{P=!0,e()},r=()=>{P=!1};return I("online",t),I("offline",r),()=>{S("online",t),S("offline",r)}}},A=!t.default.useId,y=!g||f,N=y?t.useEffect:t.useLayoutEffect,R="u">typeof navigator&&navigator.connection,b=!y&&R&&(["slow-2g","2g"].includes(R.effectiveType)||R.saveData),h=new WeakMap,v=(e,t)=>e===`[object ${t}]`,L=0,C=e=>{let t,r,n=typeof e,a=o.prototype.toString.call(e),i=v(a,"Date"),s=v(a,"RegExp"),c=v(a,"Object");if(o(e)!==e||i||s)t=i?e.toJSON():"symbol"==n?e.toString():"string"==n?JSON.stringify(e):""+e;else{if(t=h.get(e))return t;if(t=++L+"~",h.set(e,t),Array.isArray(e)){for(r=0,t="@";r<e.length;r++)t+=C(e[r])+",";h.set(e,t)}if(c){t="#";let n=o.keys(e).sort();for(;!l(r=n.pop());)l(e[r])||(t+=r+":"+C(e[r])+",");h.set(e,t)}}return t},O=e=>{if(s(e))try{e=e()}catch(t){e=""}let t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?C(e):"",t]},D=0,M=()=>++D;async function w(...e){let[t,r,a,o]=e,d=c({populateCache:!0,throwOnError:!0},"boolean"==typeof o?{revalidate:o}:o||{}),p=d.populateCache,m=d.rollbackOnError,g=d.optimisticData,E=d.throwOnError;if(s(r)){let e=[];for(let n of t.keys())!/^\$(inf|sub)\$/.test(n)&&r(t.get(n)._k)&&e.push(n);return Promise.all(e.map(f))}return f(r);async function f(r){let o,[c]=O(r);if(!c)return;let[f,P]=_(t,c),[I,S,T,A]=n.get(t),y=()=>{let e=I[c];return(s(d.revalidate)?d.revalidate(f().data,r):!1!==d.revalidate)&&(delete T[c],delete A[c],e&&e[0])?e[0](2).then(()=>f().data):f().data};if(e.length<3)return y();let N=a,R=!1,b=M();S[c]=[b,0];let h=!l(g),v=f(),L=v.data,C=v._c,D=l(C)?L:C;if(h&&P({data:g=s(g)?g(D,L):g,_c:D}),s(N))try{N=N(D)}catch(e){o=e,R=!0}if(N&&u(N)){let e;if(N=await N.catch(e=>{o=e,R=!0}),b!==S[c][0]){if(R)throw o;return N}R&&h&&(e=o,"function"==typeof m?m(e):!1!==m)&&(p=!0,P({data:D,_c:i}))}if(p&&!R&&(s(p)?P({data:p(N,D),error:i,_c:i}):P({data:N,error:i,_c:i})),S[c][1]=M(),Promise.resolve(y()).then(()=>{P({_c:i})}),R){if(E)throw o;return}return N}}let U=(e,t)=>{for(let r in e)e[r][0]&&e[r][0](t)},F=(e,t)=>{if(!n.has(e)){let r=c(T,t),o=Object.create(null),l=w.bind(i,e),s=a,u=Object.create(null),d=(e,t)=>{let r=u[e]||[];return u[e]=r,r.push(t),()=>r.splice(r.indexOf(t),1)},p=(t,r,n)=>{e.set(t,r);let a=u[t];if(a)for(let e of a)e(r,n)},m=()=>{if(!n.has(e)&&(n.set(e,[o,Object.create(null),Object.create(null),Object.create(null),l,p,d]),!y)){let t=r.initFocus(setTimeout.bind(i,U.bind(i,o,0))),a=r.initReconnect(setTimeout.bind(i,U.bind(i,o,1)));s=()=>{t&&t(),a&&a(),n.delete(e)}}};return m(),[e,l,m,s]}return[e,n.get(e)[4]]},[B,G]=F(new Map),k=c({onLoadingSlow:a,onSuccess:a,onError:a,onErrorRetry:(e,t,r,n,a)=>{let i=r.errorRetryCount,o=a.retryCount,s=~~((Math.random()+.5)*(1<<(o<8?o:8)))*r.errorRetryInterval;(l(i)||!(o>i))&&setTimeout(n,s,a)},onDiscarded:a,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:b?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:b?5e3:3e3,compare:function e(t,n){var a,i;if(t===n)return!0;if(t&&n&&(a=t.constructor)===n.constructor){if(a===Date)return t.getTime()===n.getTime();if(a===RegExp)return t.toString()===n.toString();if(a===Array){if((i=t.length)===n.length)for(;i--&&e(t[i],n[i]););return -1===i}if(!a||"object"==typeof t){for(a in i=0,t)if(r.call(t,a)&&++i&&!r.call(n,a)||!(a in n)||!e(t[a],n[a]))return!1;return Object.keys(n).length===i}}return t!=t&&n!=n},isPaused:()=>!1,cache:B,mutate:G,fallback:{}},{isOnline:()=>P,isVisible:()=>{let e=E&&document.visibilityState;return l(e)||"hidden"!==e}}),x=(e,t)=>{let r=c(e,t);if(t){let{use:n,fallback:a}=e,{use:i,fallback:o}=t;n&&i&&(r.use=n.concat(i)),a&&o&&(r.fallback=c(a,o))}return r},$=(0,t.createContext)({});e.s(["B",0,u,"I",0,A,"O",0,o,"S",0,$,"U",0,i,"a",0,s,"b",0,n,"c",0,B,"d",0,k,"e",0,l,"f",0,x,"g",0,e=>{let{value:r}=e,n=(0,t.useContext)($),a=s(r),o=(0,t.useMemo)(()=>a?r(n):r,[a,n,r]),l=(0,t.useMemo)(()=>a?o:x(n,o),[a,n,o]),u=o&&o.provider,d=(0,t.useRef)(i);u&&!d.current&&(d.current=F(u(l.cache||B),o));let p=d.current;
1return p&&(l.cache=p[0],l.mutate=p[1]),N(()=>{if(p)return p[2]&&p[2](),p[3]},[]),(0,t.createElement)($.Provider,c(e,{value:l}))},"i",0,g,"j",0,G,"m",0,c,"n",0,w,"o",0,M,"r",0,y,"s",0,O,"t",0,e=>g&&typeof window.requestAnimationFrame!=m?window.requestAnimationFrame(e):setTimeout(e,1),"u",0,N,"z",0,_],924792),e.s(["SWRGlobalState",0,n],184940)},844457,433136,439567,e=>{"use strict";var t=e.i(924792);e.s(["mutate",()=>t.j],844457),e.i(864449);var r=e.i(247230);e.i(267340);var n=e.i(150157);e.i(325206);var a=e.i(212637);e.i(134903);var i=e.i(830852),o=e.i(581212),l=e.i(688169);e.i(354656);var s=e.i(341928),c=e.i(828008),u=e.i(645091),d=e.i(694430),p=e.i(901697),m=e.i(579400),g=e.i(501321),E=e.i(264751),f=e.i(437994);let _="data-circleback-quoted",P=[...r.QUOTED_CONTENT_SELECTORS.flatMap(e=>[e,`${e} ~ *`]),`[${_}]`].join(",");e.s(["ADD_RECIPIENTS_PLACEHOLDER",0,"Add recipients…","CREATE_LABEL_OPTION_PREFIX",0,"create-label:","EMAIL_QUOTED_CONTENT_ATTRIBUTE",0,_,"EMAIL_QUOTED_CONTENT_SELECTOR",0,P,"OPTIMISTIC_LABEL_PREFIX",0,"optimistic-label:"],433136);let I=async({mutateEmailThread:e,update:t})=>e?.(e=>e?t(e):e,{revalidate:!1}),S=async({url:e,method:t="POST",body:r,schema:n,defaultError:a})=>{let i=await fetch(e,{method:t,headers:{"Content-Type":"application/json"},...r?{body:JSON.stringify(r)}:{}}),o=await (0,E.parseResponseOrThrow)(i,{defaultError:a}),l=n.parse(o);if(!l.success)throw Error(l.error??a);return l},T=async({connectionId:e,emailThreadId:t,body:r})=>S({url:`/api/email/email-thread/${encodeURIComponent(e)}/${encodeURIComponent(t)}/reply`,body:r,schema:i.SendReplyResponseSchema,defaultError:"Failed to send reply."}),A=async({connectionId:e,emailThreadId:t})=>S({url:`/api/email/email-thread/${encodeURIComponent(e)}/${encodeURIComponent(t)}/archive`,schema:i.ArchiveThreadResponseSchema,defaultError:"Failed to archive thread."}),y=async({connectionId:e,emailThreadId:t,addLabelIds:r,removeLabelIds:n})=>S({url:`/api/email/email-thread/${encodeURIComponent(e)}/${encodeURIComponent(t)}/labels`,body:{addLabelIds:r,removeLabelIds:n},schema:i.ModifyThreadLabelsResponseSchema,defaultError:"Failed to update labels."}),N=async({connectionId:e,name:t})=>S({url:`/api/email/labels/${encodeURIComponent(e)}`,body:{name:t},schema:i.CreateLabelResponseSchema,defaultError:"Failed to create label."}),R=e=>{let t=e.messageId??"",r=e.references??"";return{references:(r?`${r} ${t}`:t).trim(),inReplyTo:t}},b=e=>e.trim(),h=e=>e.threadId?e.threadId:e.id,v=e=>e.messages.some(({decodedBody:e,textBody:t})=>e||t),L=(e,t)=>{if(e===t||!(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING))return[];if(e instanceof Text)return[{text:e.data,node:e}];if(!(e instanceof Element))return[];if(e.matches("img,hr"))return[{text:""}];if("BR"===e.tagName)return[{text:"\n"}];let r=Array.from(e.childNodes).flatMap(e=>L(e,t));return e.matches("div,p,blockquote,li,tr,pre,h1,h2,h3,h4,h5,h6")?[{text:"\n"},...r,{text:"\n"}]:r},C="data:",O=async({connectionId:e,emailThreadId:t,body:r})=>S({url:t?`/api/email/email-thread/${encodeURIComponent(e)}/${encodeURIComponent(t)}/draft`:`/api/email/draft/${encodeURIComponent(e)}`,body:r,schema:i.SaveDraftResponseSchema,defaultError:"Failed to save draft, please try again."});e.s(["archiveEmailThread",0,A,"buildOptimisticReplyMessage",0,({message:e,body:t,to:r,cc:n,bcc:a,senderName:i,senderEmail:o})=>{let l=R(e),c=b(e.subject),u=h(e),d=(0,g.replaceCharsWithHTMLEntries)(t),p=`<div>${d.replace(/\n/g,"<br />")}</div>`,m=t.trim(),E=m.length>0?m.slice(0,140):"Reply";return{id:`optimistic-reply-${(0,s.createId)(20)}`,platform:e.platform,connectionId:e.connectionId,accountEmail:e.accountEmail,title:E,subject:c,tags:[],sender:{name:i,email:o},to:r,cc:n??null,bcc:a??null,tls:e.tls,receivedOn:new Date,unread:!1,textBody:t,decodedBody:p,references:l.references,inReplyTo:l.inReplyTo,replyTo:void 0,messageId:void 0,threadId:u,attachments:void 0,isDraft:void 0}},"buildReplyRequestBody",0,({message:e,body:t,to:r,cc:n,bcc:a})=>{let i=R(e),o=b(e.subject);return{messageId:e.id,to:r,cc:n,bcc:a,subject:o,body:t,references:i.references,inReplyTo:i.inReplyTo}},"cleanEmailContentForDarkMode",0,({root:e,platform:t})=>
1{e.querySelectorAll("font[color]").forEach(e=>{let t=e.getAttribute("color");t&&(0,p.isDarkColor)(t)&&e.removeAttribute("color")}),e.querySelectorAll("[style]").forEach(e=>{let t=e.getAttribute("style");if(!t||!t.toLocaleLowerCase().match(/(?:^|;)\s*color\s*:/))return;let r=t.split(";").filter(e=>{let[t,r]=e.split(":").map(e=>e?.trim());return!t||!r||"color"!==t.toLocaleLowerCase()||!(0,p.isDarkColor)(r)}).join(";");""===r.replace(/;/g,"").trim()?e.removeAttribute("style"):e.setAttribute("style",r)}),t===a.CalendarPlatform.MicrosoftOutlook&&e.querySelectorAll("style").forEach(e=>{let t=e.textContent;t&&(e.textContent=t.replace(/(?<![a-z-])color\s*:\s*([^;!}]+)([;!]|(?=}))/gi,(e,t,r)=>(0,p.isDarkColor)(t.trim())?`color: inherit${r}`:e))})},"createGmailLabel",0,N,"formatReplySubject",0,b,"getEmailThreadId",0,h,"getEmailThreadKeysWithoutBodies",0,e=>(0,c.filterMap)(e,({conversation:e})=>{if(!(0,m.isEmailConversation)(e))return;let{emailThread:t}=e,r=t.latest??t.messages.at(-1);if(!(!r?.connectionId||v(t)))return(0,n.getEmailThreadKey)(h(r),r.connectionId)}),"getOpenInEmailPlatformText",0,e=>e.platform===a.CalendarPlatform.GoogleCalendar?`Open in ${(0,d.getAssociatedEmailConnectionMetadata)(o.Calendar.GoogleCalendar).displayName}`:`Open in ${(0,d.getAssociatedEmailConnectionMetadata)(o.Calendar.MicrosoftOutlookCalendar).displayName}`,"getPersonEmailConnectionId",0,({recentConversations:e,connections:t,userEmail:r})=>{let n=t.filter(e=>e.connected);return e.toSorted((e,t)=>t.timestamp.getTime()-e.timestamp.getTime()).map(({conversation:e})=>(0,m.isEmailConversation)(e)?(e.emailThread.latest??e.emailThread.messages.at(-1))?.connectionId:void 0).find(e=>n.some(t=>t.id===e))??n.find(e=>e.email&&(0,g.normalizeEmail)(e.email)===(0,g.normalizeEmail)(r))?.id??n[0]?.id},"getReplyRecipients",0,(e,t,r=[])=>{let n=e.replyTo?(0,g.parseEmailAddresses)(e.replyTo)[0]:null,i=n?.email??e.sender.email,o=n?.name??e.sender.name,s=new Set(r.map(g.normalizeEmail)),c=e.platform===a.CalendarPlatform.GoogleCalendar?e.tags.some(e=>"SENT"===e.id):s.has((0,g.normalizeEmail)(e.sender.email)),d=e=>(0,f.default)((0,u.filterValidEmailParticipants)(e).filter(e=>!s.has((0,g.normalizeEmail)(e.email))),e=>(0,g.normalizeEmail)(e.email)),p={email:i,name:o};if(t===l.ReplyMode.Reply)return{to:d(c?e.to:[p])};let m=d([...c?[]:[p],...e.to]),E=new Set(m.map(e=>(0,g.normalizeEmail)(e.email))),_=d(e.cc??[]).filter(e=>!E.has((0,g.normalizeEmail)(e.email)));return{to:m,cc:_.length>0?_:void 0}},"hasEmailThreadBody",0,v,"modifyThreadLabels",0,y,"mutateEmailThreadOptimistically",0,I,"normalizeEmailQuotedContent",0,e=>{let t=document.createElement("div");t.innerHTML=e;let n=[...r.QUOTED_CONTENT_SELECTORS,'blockquote[type="cite"]'].join(",");return Array.from(t.querySelectorAll(n)).forEach(e=>{if(e.parentElement?.closest(P))return;let r=((e,t)=>{let r=L(e,t),n=r.map(e=>e.text).join("").trimEnd(),a=Array.from(n.matchAll(/(?:^|\n)[^\S\n]*(On\s+)/gi)).at(-1),i=a?.[1];if(!a||!i)return;let o=a.index+a[0].length-i.length,l=n.slice(o);if(!/^On\s+\S[\s\S]*\bwrote:$/i.test(l)||/\n\s*\n/.test(l))return;let{start:s,end:c}=r.reduce((e,t)=>({offset:e.offset+t.text.length,start:t.node&&o>=e.offset&&o<e.offset+t.text.length?{node:t.node,offset:o-e.offset}:e.start,end:t.node&&n.length>e.offset&&n.length<=e.offset+t.text.length?{node:t.node,offset:n.length-e.offset}:e.end}),{offset:0,start:null,end:null});if(!s||!c)return;let u=e.ownerDocument.createRange();return u.setStart(s.node,s.offset),u.setEnd(c.node,c.offset),u})(t,e);if(!r)return;let n=document.createElement("span");n.setAttribute(_,""),n.appendChild(r.extractContents()),r.insertNode(n),e.setAttribute(_,"")}),t.innerHTML},"replaceInlineImagesWithObjectUrls",0,e=>(0,c.filterMap)(Array.from(e.querySelectorAll("img")),e=>{let t=e.getAttribute("src");if(!t||!t.startsWith(C))return;let r=(e=>{let t=e.indexOf(",");if(-1===t)return null;let r=e.slice(C.length,t),n=e.slice(t+1),a=r.endsWith(";base64"),i=a?r.slice(0,-7):r;try{if(!a)return new Blob([decodeURIComponent(n)],{type:i});let e=atob(n),t=Uint8Array.from(e,e=>e.charCodeAt(0));return new Blob([t],{type:i})}catch{return null}})(t);if(!r)return;let n=URL.createObjectURL(r);return e.setAttribute("src",n),e.setAttribute("loading","lazy"),e.setAttribute("decoding","async"),n}),"saveEmailDraft",0,O,"sendEmailReply",0,T],439567)},872385,e=>{"use strict";var t=e.i(191788);let r=(0,t.createContext)(void 0);e.s(["AuthContext",0,r,"useSession",0,function(){let e=(0,t.use)(r);if(!e)throw Error("Something went wrong.");return e}])},929923,e=>{"use strict";e.s(["DONE_PLACEHOLDER_ACTION_ITEM_IDS_KEY",0,"donePlaceholderActionItemIds","INCLUDE_OFFLINE_SINGLE_ATTENDEE_IN_MENU_TRAY_KEY",0,"includeOfflineSingleAttendeeInMenuTray","IS_CALENDAR_EVENT_RIGHT_PANEL_OPEN_KEY",0,"isCalendarEventRightPanelOpen","IS_COMPANY_DETAIL_RIGHT_PANEL_OPEN_KEY",0,"isCompanyDetailRightPanelOpen","IS_MEETING_RIGHT_PANEL_OPEN_KEY",0,"isMeetingRightPanelOpen","IS_PERSON_DETAIL_RIGHT_PANEL_OPEN_KEY",0,"isPersonDetailRightPanelOpen","RECORD_SCREEN_KEY",0,"recordScreen","SHOW_MEETING_TITLE_IN_MENU_TRAY_KEY",0,"showMeetingTitleInMenuTray","THEME_PREFERENCE_KEY",0,"themePreference","THEME_SETTING_DESCRIPTION",0,"Choose your preferred interface color scheme.","THEME_SETTING_TITLE",0,"Theme","VIDEO_PLAYBACK_SPEED_KEY",0,"videoPlaybackSpeed"])}]);
2
3//# sourceMappingURL=3wem1h50aqf-b.js.map
4//# chunkId=01a0d551-cc96-76a0-8787-f499a069e571

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.