"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[174],{51605:function(e,n,t){t.d(n,{Z:function(){return PreviewAlert}});var r=t(85893);function PreviewAlert(){return(0,r.jsx)("div",{className:"fixed text-white left-0 bottom-0 z-50 md:ml-16 md:mb-16 bg-red px-16 py-12 rounded shadow-lg",children:(0,r.jsxs)("div",{className:"flex items-center space-x-12",children:[(0,r.jsx)("img",{alt:"Eye",className:"h-32 w-32",decoding:"async",loading:"lazy",src:"https://www.iconophor.com/icons/feather/4.28.0/eye?stroke=white"}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"font-bold",children:"In preview mode."}),(0,r.jsx)("p",{className:"thd-body-sm mt-2",children:(0,r.jsx)("a",{className:"underline",href:"/api/marketing-website/disable-draft-mode",children:"Click here to exit."})})]})]})})}},37793:function(e,n,t){t.d(n,{$6:function(){return _},$v:function(){return l},A0:function(){return a},BN:function(){return F},Dy:function(){return P},EK:function(){return v},Eq:function(){return h},Fv:function(){return i},Gp:function(){return T},HF:function(){return E},Hl:function(){return B},Hr:function(){return J},Ir:function(){return V},Jw:function(){return O},Ll:function(){return S},Mk:function(){return b},Mo:function(){return N},PQ:function(){return k},TX:function(){return Z},VD:function(){return s},Zd:function(){return g},bN:function(){return p},c0:function(){return w},e$:function(){return m},eB:function(){return I},g8:function(){return f},hB:function(){return y},kW:function(){return D},lJ:function(){return u},mK:function(){return L},mu:function(){return M},o$:function(){return H},oG:function(){return C},pO:function(){return G},r9:function(){return c},s2:function(){return A},sR:function(){return d},sZ:function(){return o},th:function(){return x},xe:function(){return r},zW:function(){return j}});var r="Sign Up CTA Click",o="App Store Click",a="Google Play Click",i="Contact Sales CTA Click",c="Learn to Loom Grid Card Click",s="Community Loom Video Page Visit",u="Community Loom Collection Page Visit",l="Contact Sales Page Visit",d="Experiment eligibility precheck failed",f="Header Menu Hover",m="Header Menu Focus",v="Header Menu Click",g="Banner Click",p="appInstallButton",k="appStore",b="banner",w="communityLoomCollectionPage",y="communityLoomVideoPage",C="contactSalesCta",h="contactSalesPage",A="downloadCta",S="experimentEligibilityPrecheck",E="exploreLoomForSales",_="freeTrialCta",I="getLoomAICta",N="getLoomCta",T="getLoomForFreeCta",L="getStartedCta",x="getStartedSdkCustomCta",G="getVerified",P="getVerifiedCta",j="googlePlay",D="headerMenu",F="learnToLoomGridCard",V="loomAIWorkflowsHomepage",H="loomSdkApiCta",Z="pricingHeroCardEnterprise",M="registerSdkCta",O="sdkDeveloperPortalCta",B="sdkGetStarted",J="signUpCta"},33023:function(e,n,t){t.d(n,{J5:function(){return getAnonSwimLane},L9:function(){return trackEvent},ST:function(){return usePageEvent},YP:function(){return getAnalyticsIds},tW:function(){return getAnonIdIfNoSegment}});var r=t(72253),o=t(25934),a=t(86274),i=t(49036),c=t(33943),s=t(67294),u=t(90695),l="ajs_anonymous_id",d=["Onboarding Flow Started","Onboarding Flow Finalized"],getAnonSwimLane=function(e){if(e){var n=e.split("").filter(function(e){return!isNaN(e)});return parseInt(n.slice(n.length-2).join(""))%100}};function trackEvent(e,n){try{if(a.cZ&&!window.segmentAnalytics){u.u("Missing consent: Segment trackEvent",{eventName:e,props:n});return}var t,r,o={integrations:{Zendesk:!1,Intercom:!0}};d.includes(e)||(o.integrations.Intercom=!1);var s=(0,i.NA)(c.b);s&&(null==s?void 0:s.id)?n.userId=s.id:o.integrations["Customer.io"]=!1;var l=getAnalyticsIds().anonID;n.anon_swimlane=getAnonSwimLane(l);var f=Object.assign({},n,{ajsId:l});null===(r=window)||void 0===r||null===(t=r.segmentAnalytics)||void 0===t||t.track(e,f,o),u.u("Segment track.event",{props:f,options:o,segmentEventName:e}),a.cZ||console.info("%cAnalytics event tracking:\n","font-weight: bold",{name:e,props:f,options:o})}catch(t){u.v("Error: Segment analytics.trackEvent",{eventName:e,props:n,error:t})}}var segmentLoaded=function(){var e;return"function"==typeof(null===(e=window.segmentAnalytics)||void 0===e?void 0:e.user)},getAnonIdIfNoSegment=function(){var e,n=window.localStorage.getItem(l),t=null!==(e=null==n?void 0:n.replace(/"/g,""))&&void 0!==e?e:"";if(!n||"null"===t||"undefined"===t){var r=(0,o.Z)();return window.localStorage.setItem(l,r),r}return t},getAnalyticsIds=function(){var e=null,n=null;return segmentLoaded()?(e=window.segmentAnalytics.user().anonymousId(),n=window.segmentAnalytics.user().id()):e=getAnonIdIfNoSegment(),{anonID:e,userID:n}},usePageEvent=function(e,n){var t=(0,s.useRef)(!0);(0,s.useEffect)(function(){var r=!0,o=!1,a=void 0;try{for(var i,c=[300,500,1e3,1500,2e3,2500,3e3,3500,4e3,4500,5e3,1e4,15e3][Symbol.iterator]();!(r=(i=c.next()).done);r=!0){var s=i.value;setTimeout(function(){var r;t.current&&(null===(r=window)||void 0===r?void 0:r.segmentAnalytics)!==void 0&&(pageEvent(e,n),t.current=!1)},s)}}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}},[e,n])},pageEvent=function(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e||!(null===(n=window)||void 0===n?void 0:n.segmentAnalytics)){u.u("Missing consent: Segment pageEvent",{name:e,props:t});return}window.dataLayer=window.dataLayer||[];var o=getAnalyticsIds().anonID;window.segmentAnalytics.page(e,(0,r._)({name:e,anon_swimlane:getAnonSwimLane(o)},t))}},71393:function(e,n,t){t.d(n,{y:function(){return convertSegmentEventNameToGasV3EventName},_:function(){return k}});var r,o=t(11010),a=t(72253),i=t(14932),c=t(70655),s=t(99979),u=t(86274),l=t(90695),d=u.cZ?"prod":"stg",f=null,m=t(49036),v=t(33943),g=t(33023),p=t(37793),k=(r=(0,o._)(function(e,n){var t,r,o,u,p,k,b;return(0,c.Jh)(this,function(c){if(!e||!n.action)return l.u("Analytics event: Invalid event or properties",{event:e,properties:n}),[2];if(!window.OptanonActiveGroups||!window.OptanonActiveGroups.includes(",2,"))return l.u("Analytics event: Missing consent",{event:e,properties:n}),[2];r={userId:(t=(0,m.NA)(v.b)).id?"".concat(t.id):void 0,userIdType:t.id?"loom":void 0,anonymousId:t.id?void 0:(0,g.tW)(),workspaceId:t.id?t.default_workspace_id:void 0},o=n.actionSubject?convertSegmentEventNameToGasV3EventName(n.actionSubject):null,k={source:"loom-content",action:null!==(u=n.action)&&void 0!==u?u:null,actionSubject:o,actionSubjectId:null!==(p=null==n?void 0:n.actionSubjectId)&&void 0!==p?p:null,attributes:n.attributes};try{switch(f||(f=(0,s.analyticsClient)({env:d,version:"1.0.0",product:"loom",errorHandler:function(e){console.log("[Atlassian Analytics] Error sending event via atlassian node client",e),l.v("Atlassian Analytics: Error",e)},sendEventHook:function(e){console.log("[Atlassian Analytics] Event sent via atlassian node client",e),l.u("Atlassian Analytics: Send success",e)}})),b=f,e){case"track":b.sendTrackEvent((0,i._)((0,a._)({},r),{trackEvent:(0,i._)((0,a._)({},k),{attributes:(0,i._)((0,a._)({},k.attributes),{anon_swimlane:(0,g.J5)(r.anonymousId)})})}));break;case"operational":b.sendOperationalEvent((0,i._)((0,a._)({},r),{operationalEvent:k}));break;case"ui":b.sendUIEvent((0,i._)((0,a._)({},r),{uiEvent:k}))}}catch(t){l.v("Error sending event via atlassian node client",(0,a._)({event:e,segmentEventName:n.actionSubject,error:t},r,k))}return[2]})}),function(e,n){return r.apply(this,arguments)});function convertSegmentEventNameToGasV3EventName(e){var n;switch(e){case"App Install Button Click":n=p.bN;break;case p.sZ:n=p.PQ;break;case p.Zd:n=p.Mk;break;case p.lJ:n=p.c0;case p.VD:n=p.hB;break;case p.Fv:n=p.oG;break;case p.$v:n=p.Eq;break;case"Download CTA Click":n=p.s2;break;case p.sR:n=p.Ll;break;case"Explore Loom for Sales Click":n=p.HF;break;case"Free Trial CTA Click":n=p.$6;break;case"Get Loom AI CTA Click":n=p.eB;break;case"Get Loom CTA Click":n=p.Mo;break;case"Get Loom for Free CTA Click":n=p.Gp;break;case"Get Started CTA Click":n=p.mK;break;case"Get Started SDK Custom CTA":n=p.th;break;case"Get Verified":n=p.pO;break;case"Get Verified CTA Click":n=p.Dy;break;case p.A0:n=p.zW;break;case p.r9:n=p.BN;break;case"Loom AI workflows homepage click":n=p.Ir;break;case"Loom SDK API CTA Click":n=p.o$;break;case"Pricing Hero Card Enterprise":n=p.TX;break;case"Register SDK CTA Click":n=p.mu;break;case"SDK Developer Portal CTA Click":n=p.Jw;break;case"SDK Get Started Click":n=p.Hl;case p.xe:case"Sign Up CTA":n=p.Hr;break;default:n=e}return n}},90695:function(e,n,t){t.d(n,{u:function(){return info},v:function(){return error}});var r=t(72253),o=t(14932),a=t(8038),i=t(71393),c="loom-marketing";a.fy.init({clientToken:"pubb1955571dc736e541b72313c6942242f",site:"datadoghq.com",forwardErrorsToLogs:!1,sessionSampleRate:100,telemetrySampleRate:0,env:"production"});var info=function(e,n){a.fy.logger.info(e,(0,o._)((0,r._)({},n),{client:c,gasV3EventName:n.segmentEventName?(0,i.y)(n.segmentEventName):void 0}))},error=function(e,n){a.fy.logger.error(e,(0,o._)((0,r._)({},n),{client:c,gasV3EventName:n.segmentEventName?(0,i.y)(n.segmentEventName):void 0}))}},49036:function(e,n,t){t.d(n,{NA:function(){return getValue},fZ:function(){return writable}});var noop=function(){return function(){}};function getValue(e){var n;return e.subscribe(function(e){return n=e})(),n}function writable(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:noop,r=[],set=function(t){if(e="function"==typeof t?t(e):t,n)for(var o=0;o-1&&r.splice(e,1),0===r.length&&(n=void n())}}}}},33943:function(e,n,t){t.d(n,{b:function(){return u}});var r=t(11010),o=t(72253),a=t(14932),i=t(70655),c=t(86274),s=(0,t(49036).fZ)({userFetched:!1}),u={subscribe:s.subscribe};function _getUserData(){return(_getUserData=(0,r._)(function(){var e,n,t,r,u,l;return(0,i.Jh)(this,function(i){switch(i.label){case 0:if(!window.location.search.includes("login=true"))return[3,1];return s.set({id:11,first_name:"Usagi",last_name:"Tsukino",email:"usagi.tsukino@fake.fake",avatars:[{thumb:"avatars/default-avatar.svg"}],default_workspace_id:123,persona:{persona_v1:{use_case_plan:"work"}},userFetched:!0}),[3,5];case 1:return[4,fetch(c.B3,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({query:"\n {\n me {\n id\n first_name\n last_name\n email\n avatars {\n thumb\n }\n default_workspace_id\n persona\n }\n }\n "})})];case 2:if(!(e=i.sent()).ok)return[3,4];return[4,e.json()];case 3:return(r=null==(t=i.sent())?void 0:null===(n=t.data)||void 0===n?void 0:n.me)?(s.set((0,a._)((0,o._)({},r),{userFetched:!0})),null===(l=window.segmentAnalytics)||void 0===l||null===(u=l.identify)||void 0===u||u.call(l,r.id,{email:r.email,firstName:r.first_name,lastName:r.last_name})):s.set({userFetched:!0}),[3,5];case 4:s.set({userFetched:!0}),i.label=5;case 5:return[2]}})})).apply(this,arguments)}(function(){return _getUserData.apply(this,arguments)})().catch(function(){})}}]);