(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9939],{74223:function(e,n,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/pricing",function(){return l(99624)}])},7008:function(e,n,l){"use strict";l.d(n,{Z:function(){return ThreadFAQ}});var t=l(85893),a=l(90131),i=l(93967),o=l.n(i),s=l(45697),r=l.n(s),d=l(91721),c=l(11841),u=l(92673);function ThreadFAQ(e){var n=e.className,l=e.themeColor,i=e.items,s=e.answerType,r=e.numerals,h=e.hLevel,m=null!=h?h:"span";return(0,t.jsx)("div",{className:n,children:null==i?void 0:i.map(function(e,n){var i,h,g,v={"icon-list":(0,t.jsx)(d.Z,{bFont:"sm",className:"thd-list-numerals mx-auto grid md:grid-cols-2 lg:grid-cols-3 gap-fluid-sm",list:e.answer,numerals:r,showIcons:"hideOnMobile",themeColor:l}),default:(0,t.jsx)(c.Z,{content:e.answer,themeColor:l})}[s];return(0,t.jsxs)("details",{className:o()(null===(i=(0,u.b)(l))||void 0===i?void 0:i.bgInner,null===(h=(0,u.b)(l))||void 0===h?void 0:h.bodyText,"thd-details py-fluid-sm thd-rounded-int mb-lg"),style:{"--button-color-fr":null===(g=(0,u.b)(l))||void 0===g?void 0:g.buttonFg,"--focus-color-bg":"transparent","--focus-color-fg":"initial"},children:[(null==e?void 0:e.question)&&(0,t.jsx)("summary",{className:"px-fluid-base thd-summary thd-focus-thick thd-heading-xs list-none",children:(0,t.jsxs)("div",{className:"flex justify-between items-center",children:[(0,t.jsx)(m,{children:e.question}),(0,t.jsx)("div",{children:(0,t.jsx)(a.Z,{className:"chevron w-24"})})]})}),(0,t.jsx)("div",{className:o()((0,u.b)(l).border,"thd-body-md border-t mt-32 px-fluid-base pt-32"),children:v})]},n)})})}ThreadFAQ.propTypes={className:r().string,themeColor:r().string,answerType:r().oneOf(["icon-list","default"]),items:r().array},ThreadFAQ.defaultProps={answerType:"default",themeColor:"grey-text"}},12596:function(e,n,l){"use strict";l.d(n,{T:function(){return useLocation}});var t=l(11010),a=l(24043),i=l(70655),o=l(67294);function _getLocation(){return(_getLocation=(0,t._)(function(){var e,n,l,t,a,o;return(0,i.Jh)(this,function(i){switch(i.label){case 0:return[4,fetch("https://location.loom.com",{method:"GET"})];case 1:return[2,{country:null!==(n=(e=i.sent()).headers.get("x-loom-country"))&&void 0!==n?n:"",city:null!==(l=e.headers.get("x-loom-city"))&&void 0!==l?l:"",postalCode:null!==(t=e.headers.get("x-loom-postal-code"))&&void 0!==t?t:"",latitude:parseFloat(null!==(a=e.headers.get("x-loom-latitude"))&&void 0!==a?a:""),longitude:parseFloat(null!==(o=e.headers.get("x-loom-longitude"))&&void 0!==o?o:"")}]}})})).apply(this,arguments)}function useLocation(){var e=(0,a._)((0,o.useState)(null),2),n=e[0],l=e[1];return(0,o.useEffect)(function(){(function(){return _getLocation.apply(this,arguments)})().then(l).catch(function(){l({country:"",city:"",postalCode:"",latitude:0,longitude:0})})},[]),n}},99624:function(e,n,l){"use strict";l.r(n),l.d(n,{__N_SSG:function(){return X},default:function(){return PricingPage}});var t=l(24043),a=l(85893),i=l(82729);function _templateObject(){var e=(0,i._)(['\n*[_type == "pricingPage"][0] {\n heroHeader,\n educationNote,\n planCards[]->{\n ...\n },\n planCardsVariant[]->{\n ...\n },\n planCta,\n faqs[]-> {\n ...\n },\n faqsVariant[]-> {\n ...\n },\n showAiModule,\n aiHeader,\n aiHeaderVariant,\n aiImage {\n altText,\n asset-> {\n url,\n metadata {\n dimensions {\n height,\n width\n }\n }\n }\n },\n aiFeatures[],\n faqHeading,\n faqList,\n pricingTables,\n pricingTablesVariant,\n socialProofModule-> {\n title,\n heading,\n headingSize,\n logoAlignment,\n logoSize,\n colorTheme,\n logos[]-> {\n ...,\n image {\n asset-> {\n url,\n metadata {\n dimensions {\n height,\n width,\n aspectRatio\n }\n },\n }\n }\n }\n },\n endOfPageModule-> {\n cta,\n heading,\n download\n },\n meta {\n title,\n seoTitle,\n canonicalUrl,\n robots,\n seoDescription,\n seoImage {\n asset-> {\n url,\n metadata {\n dimensions {\n height,\n width\n }\n }\n }\n }\n },\n}\n']);return _templateObject=function(){return e},e}var o=(0,l(34764).Z)(_templateObject()),s=l(33523),r=l(2031),d=l(67294),c=l(83694),u=l(22410),h="6cba757acd1521835b24300854971249",m=l(12596),g=l(86114),v=l(75798),p=l(11010),f=l(70655),x=l(76815),b=(0,l(20530).fZ)({userWorkspacesFetched:!1}),j={subscribe:b.subscribe};function _getUserWorkspacesData(){return(_getUserWorkspacesData=(0,p._)(function(){var e,n,l,t;return(0,f.Jh)(this,function(a){switch(a.label){case 0:if(!window.location.search.includes("login=true"))return[3,1];return b.set({organizations:[{id:0,counts:{users:{total_active_workspace_users:21}},type:"business"}],userWorkspacesFetched:!0}),[3,5];case 1:return[4,fetch(x.B3,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({query:"\n {\n userWorkspaceMemberships {\n organization {\n id\n counts {\n users\n }\n type\n }\n }\n }\n "})})];case 2:if(!(e=a.sent()).ok)return[3,4];return[4,e.json()];case 3:return(t=null==(l=a.sent())?void 0:null===(n=l.data)||void 0===n?void 0:n.userWorkspaceMemberships)?b.set({organizations:t.map(function(e){return e.organization}),userWorkspacesFetched:!0}):b.set({userWorkspacesFetched:!0}),[3,5];case 4:b.set({userWorkspacesFetched:!0}),a.label=5;case 5:return[2]}})})).apply(this,arguments)}(function(){return _getUserWorkspacesData.apply(this,arguments)})().catch(function(){});var w=l(30587),y=l(12909),N=l(84224),P=l(93967),C=l.n(P),_=l(45697),Z=l.n(_),k=l(11841),F=l(92673);function EducationNote(e){var n=e.note,l=e.themeColor;return(0,a.jsx)("div",{className:"max-w-screen-lg mx-auto my-fluid-sm px-fluid-base",children:(0,a.jsxs)("div",{className:C()((0,F.b)(l).headerText,"bg-thd-color-violet-20 thd-body-sm mb-lg mx-auto px-lg py-lg rounded-md w-content flex"),children:[(0,a.jsx)(N.Z,{className:C()((0,F.b)(l).icon,"mr-em block"),color:(0,F.b)(l).icon,icon:(0,a.jsx)(y.Z,{}),size:"2em"}),(0,a.jsx)(k.Z,{content:n})]})})}EducationNote.propTypes={note:Z().oneOfType([Z().object,Z().array])};var T=l(27924),S=l(30830),V=l(56265),E=l(5088),A=l(34687);function LoomAiModule(e){var n=e.image,l=e.header,t=e.headerVariant,i=e.list,o=e.themeColor,s=e.showNewPricingPageDesign;return(0,a.jsx)("section",{className:"lg:px-fluid-base lg:mb-fluid-md",children:(0,a.jsxs)("div",{className:C()((0,F.b)(o).bg,"grid md:grid-cols-2 gap-4xl max-w-screen-3xl md:mx-auto lg:thd-rounded-ext md:items-center px-fluid-base py-fluid-md lg:p-fluid-lg"),children:[(0,a.jsx)(V.Z,{className:"thd-rounded-int w-full",image:n,layout:"responsive"}),(0,a.jsxs)("div",{children:[s?(0,a.jsx)(T.Z,{eStyle:"small",bFont:"lg",gap:"mb-md",hAppend:(0,a.jsx)("span",{className:"absolute -mt-[.025em] ml-[.125em]",children:(0,a.jsx)(E.Z,{brand:"ai",variant:"symbol",maxWidth:".5em"})}),hFont:"xl",header:null==t?void 0:t.header,nested:!0,themeColor:o,vAlign:"center"}):(0,a.jsx)(T.Z,{eStyle:"small",bFont:"lg",gap:"mb-md",hAppend:(0,a.jsx)("span",{className:"absolute -mt-[.025em] ml-[.125em]",children:(0,a.jsx)(E.Z,{brand:"ai",variant:"symbol",maxWidth:".5em"})}),hFont:"xl",header:l.header,nested:!0,themeColor:o,vAlign:"center"}),i&&(0,a.jsx)("ul",{className:"mt-xl grid xl:grid-flow-col xl:grid-rows-3 gap-x-fluid-sm gap-y-lg",children:i.map(function(e){return(0,a.jsxs)("li",{className:"flex items-center mb-xs",children:[(0,a.jsx)(A.Z,{className:"h-lg inline-block mr-md text-thd-color-violet-50"}),(0,a.jsx)("p",{className:"thd-body-md text-thd-color-white",children:null==e?void 0:e.heading}),(null==e?void 0:e.chip)&&(0,a.jsx)("span",{className:"thd-overline text-thd-color-magenta-50 ml-sm",children:null==e?void 0:e.chip})]},e._key)})}),s?(0,a.jsx)(S.Z,{className:"mt-3xl",color:"violet-dark",cta:t.cta,themeColor:o}):(0,a.jsx)(S.Z,{className:"mt-3xl",color:"violet-dark",cta:l.cta,themeColor:o})]})]})})}var D=l(7008);function FAQSection(e){var n=e.header,l=e.faqs,t=e.faqsVariant,i=e.themeColor,o=e.showNewPricingPageDesign;return(0,a.jsxs)("section",{className:C()((0,F.b)(i).bg,"py-fluid-md mb-fluid-md"),children:[n&&(0,a.jsx)(T.Z,{bLineLength:"2xl",className:"px-fluid-base order-last md:order-none mb-fluid-md",hAlign:"center",hFont:"lg",header:n,themeColor:"violet-10",vAlign:"center"}),o?(0,a.jsx)(D.Z,{answerType:"default",className:"px-fluid-base max-w-screen-xl mx-auto",items:t,showIcons:"yes",themeColor:"violet-10"}):(0,a.jsx)(D.Z,{answerType:"default",className:"px-fluid-base max-w-screen-xl mx-auto",items:l,showIcons:"yes",themeColor:"violet-10"})]})}var I=l(93141);function Packages(e){var n=e.heading,l=e.cards,t=e.cardsVariant,i=e.location,o=e.themeColor,s=e.showNewPricingPageDesign,r=e.experimentFourthPlan;return(0,a.jsxs)("section",{className:"pt-fluid-lg mb-fluid-sm px-fluid-base",children:[n&&(0,a.jsx)(T.Z,{hAlign:"center-end",hFont:"lg",hLevel:"h1",header:n,themeColor:o,vAlign:"center"}),s?(0,a.jsx)("div",{className:"gap-lg mx-auto flex flex-col lg:flex-row justify-center max-w-screen-3xl",children:null==t?void 0:t.map(function(e,n){return(0,a.jsx)(I.Z,{layered:!!(n%2),length:n,location:i,plan:e.plan,type:"pricing-new",themeColor:"grey-light",experimentFourthPlan:r},e._id)})}):(0,a.jsx)("div",{className:"mx-auto flex flex-col lg:flex-row items-center justify-center max-w-screen-3xl",children:null==l?void 0:l.map(function(e,n){return(0,a.jsx)(I.Z,{layered:!!(n%2),length:n,location:i,plan:e.plan,type:"pricing",themeColor:"violet-light"},e._id)})})]})}var L=l(70131),q=l(98719);function PricingNav(e){var n=e.headers,l=e.inView,t=e.themeColor;return(0,a.jsx)("thead",{className:C()("thd-sticky thd-sticky-bar w-full transition ease-in-out duration-100"),style:{"--shadow":l?"none":"var(--thd-gradient-nav)"},children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{scope:"col"}),null==n?void 0:n.map(function(e){var n,l,i,o,s,r,d,c,u,h,m,g,v;return(0,a.jsx)("th",{className:C()((0,F.b)(t).bText),id:"features-col-".concat(null==e?void 0:null===(i=e.plan)||void 0===i?void 0:null===(l=i.header)||void 0===l?void 0:null===(n=l.eyebrow)||void 0===n?void 0:n.toLowerCase()),scope:"col",children:(0,a.jsxs)("div",{className:"flex justify-between p-md items-center",children:[(null==e?void 0:null===(s=e.plan)||void 0===s?void 0:null===(o=s.header)||void 0===o?void 0:o.eyebrow)&&(0,a.jsxs)("p",{className:"thd-body-md font-bold",children:[e.plan.header.eyebrow,(null==e?void 0:null===(d=e.plan)||void 0===d?void 0:null===(r=d.header)||void 0===r?void 0:r.eyebrow.includes("AI"))&&(0,a.jsx)("span",{className:"absolute ml-[.1em]",children:(0,a.jsx)(E.Z,{brand:"ai",variant:"symbol",maxWidth:".65em"})})]}),(null==e?void 0:null===(u=e.plan)||void 0===u?void 0:null===(c=u.cta)||void 0===c?void 0:c.copy)&&(0,a.jsx)(S.Z,{buttonType:"secondary",color:"violet-dark",cta:null==e?void 0:null===(h=e.plan)||void 0===h?void 0:h.cta,id:"".concat(e.plan.cta.copy,"-features-column-button").toLocaleLowerCase(),onClick:(null==e?void 0:null===(m=e.plan.cta)||void 0===m?void 0:m.trackEventName)?function(){var n,l,t;return(0,q.L9)(null==e?void 0:null===(n=e.plan.cta)||void 0===n?void 0:n.trackEventName,{source:"Pricing Sticky Nav: ".concat(null==e?void 0:null===(t=e.plan)||void 0===t?void 0:null===(l=t.header)||void 0===l?void 0:l.eyebrow)})}:null,size:"sm",children:e.plan.cta.copy})]})},null==e?void 0:null===(v=e.plan)||void 0===v?void 0:null===(g=v.header)||void 0===g?void 0:g.eyebrow)})]})})}var M=l(53518),H=l(81771),O=l(25935),W=l(20276),z=l.n(W),B=l(97168),U=l(56649);function PricingTable(e){var n=e.table,l=e.heading,i=e.sectionHeadingChip,o=e.showNewPricingPageDesign,s=Object.entries(z()(n.rows.slice(1),function(e){return e.cells[0]})).map(function(e){var n=(0,t._)(e,2),l=n[0],a=n[1];return{title:l,id:"features-colgroup-".concat((0,U.Z)(l)),key:(0,U.Z)(l),rowLength:a.length,rows:a.map(function(e){return o?{title:e.cells[0],tooltip:e.cells[5],new:e.cells[6],cells:[{content:e.cells[1],columnId:"features-col-starter",isFlag:"y"===e.cells[1],tooltip:e.cells[6]},{content:e.cells[2],columnId:"features-col-business",isFlag:"y"===e.cells[2],tooltip:e.cells[7]},{content:e.cells[3],columnId:"features-col-business-ai",isFlag:"y"===e.cells[3],tooltip:e.cells[8]},{content:e.cells[4],columnId:"features-col-enterprise",isFlag:"y"===e.cells[4],tooltip:e.cells[9]}]}:{title:e.cells[0],tooltip:e.cells[4],new:e.cells[5],cells:[{content:e.cells[1],columnId:"features-col-starter",isFlag:"y"===e.cells[1],tooltip:e.cells[5]},{content:e.cells[2],columnId:"features-col-business",isFlag:"y"===e.cells[2],tooltip:e.cells[6]},{content:e.cells[3],columnId:"features-col-enterprise",isFlag:"y"===e.cells[3],tooltip:e.cells[7]}]}})}});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("tr",{children:(0,a.jsx)("th",{className:"text-left thd-body-md text-thd-color-grey-80 font-bold",colSpan:o?"5":"4",id:l,scope:"section",children:(0,a.jsxs)("div",{className:"flex gap-x-12",children:[i?(0,a.jsx)(H.Z,{color:"grey8",backgroundColor:"discoveryBackground",children:i}):null,l]})})}),null==s?void 0:s.map(function(e){var n;return(0,a.jsx)("tr",{children:null==e?void 0:null===(n=e.rows)||void 0===n?void 0:n.map(function(n){var l=(0,U.Z)(n.title);return(0,a.jsxs)(d.Fragment,{children:[(0,a.jsx)("th",{className:"font-normal text-left text-thd-color-grey-70",children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("span",{children:[null==e?void 0:e.title,(null==n?void 0:n.new)&&(0,a.jsx)("span",{className:"thd-overline text-thd-color-magenta-50 ml-sm",children:"New"})]}),(null==n?void 0:n.tooltip)&&(0,a.jsx)(B.Z,{color:"violet-20",label:null==e?void 0:e.title,position:"inline-flex",tooltip:null==n?void 0:n.tooltip})]})}),n.cells.map(function(l){return(0,a.jsx)("td",{className:"text-center text-thd-color-grey-70",children:l.content&&(0,a.jsxs)("div",{children:[(null==l?void 0:l.content)&&(null==l?void 0:l.isFlag)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{className:"sr-only",children:"Included"}),(0,a.jsx)(M.Z,{className:"inline text-thd-color-violet-60",height:"18",width:"18"})]}),(null==l?void 0:l.content)&&!(null==l?void 0:l.isFlag)&&(0,a.jsx)(a.Fragment,{children:(0,O.ZP)(l.content)}),(null==l?void 0:l.tooltip)&&(0,a.jsx)(B.Z,{label:(0,O.ZP)(l.content),position:"inline-flex",tooltip:l.tooltip})]})},C()(e.id,n.id,l.columnId))})]},l)})},null==e?void 0:e.key)})]})}var Q=l(78767),R=l.n(Q);function PricingSection(e){var n=e.headers,l=e.headersVariant,i=e.table,o=e.tableVariant,s=e.showNewPricingPageDesign,r=(0,t._)((0,L.YD)({rootMargin:"-120px 0px 0px 0px"}),2),d=r[0],c=r[1];return(0,a.jsx)("section",{className:"thd-offset mb-fluid-lg",id:"compare-plans",children:(0,a.jsxs)("div",{className:"px-fluid-base 3xl:px-0",children:[(0,a.jsx)("div",{className:"w-full",ref:d}),(0,a.jsx)("table",{className:C()(R().table,"mx-auto w-full max-w-screen-3xl"),children:s?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(PricingNav,{headers:l,inView:c,themeColor:"violet-light"}),(0,a.jsx)("tbody",{className:R().tableBodyVariant,children:null==o?void 0:o.map(function(e){return(0,a.jsx)(PricingTable,{heading:e.section,table:null==e?void 0:e.table,sectionHeadingChip:e.sectionHeadingChip,showNewPricingPageDesign:s},e._key)})})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(PricingNav,{headers:n,inView:c,themeColor:"violet-light"}),(0,a.jsx)("tbody",{children:null==i?void 0:i.map(function(e){return(0,a.jsx)(PricingTable,{heading:e.section,table:null==e?void 0:e.table,sectionHeadingChip:e.sectionHeadingChip},e._key)})})]})})]})})}var G=l(19210),Y=l(51770);function PricingContent(e){var n,l=e.data,t=e.location,i=(0,w.ZP)("(min-width: 1024px)");return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(Packages,{cards:null==l?void 0:l.planCards,cardsVariant:null==l?void 0:l.planCardsVariant,cta:null==l?void 0:l.planCta,heading:null==l?void 0:l.heroHeader,isDesktop:i,location:t,themeColor:"grey-light"}),(null==l?void 0:l.showAiModule)&&(0,a.jsx)(LoomAiModule,{header:null==l?void 0:l.aiHeader,headerVariant:null==l?void 0:l.aiHeaderVariant,list:null==l?void 0:l.aiFeatures,themeColor:"violet-90",image:null==l?void 0:l.aiImage}),i&&(null==l?void 0:l.pricingTables)&&(0,a.jsx)(PricingSection,{headers:null==l?void 0:l.planCards,headersVariant:null==l?void 0:l.planCardsVariant,table:null==l?void 0:l.pricingTables,tableVariant:null==l?void 0:l.pricingTablesVariant}),(null==l?void 0:l.educationNote)&&(0,a.jsx)(EducationNote,{note:null==l?void 0:l.educationNote,themeColor:"violet-light"}),(0,a.jsx)(FAQSection,{faqs:null==l?void 0:l.faqs,faqsVariant:null==l?void 0:l.faqsVariant,header:null==l?void 0:l.faqHeading,themeColor:"violet-light"}),(null==l?void 0:l.socialProofModule)&&(0,a.jsx)(G.Z,{data:null==l?void 0:l.socialProofModule,lineLength:"xl"}),(null==l?void 0:null===(n=l.endOfPageModule)||void 0===n?void 0:n.cta)&&(0,a.jsx)(Y.Z,{cta:l.endOfPageModule.cta,hClassName:"thd-max-lg",heading:l.endOfPageModule.heading})]})}var J=["variant-1","variant-2"];function PricingContentExp(e){var n,l=e.data,i=e.location,o=e.assignment,s=(0,w.ZP)("(min-width: 1024px)"),r=(0,t._)((0,g.y)({flag:v.g2,activationValues:J}),2),d=r[0],c=r[1],u=o||c,h=!!o||d;return null===u?(0,a.jsx)("div",{className:"h-screen"}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(Packages,{cards:null==l?void 0:l.planCards,cardsVariant:null==l?void 0:l.planCardsVariant,cta:null==l?void 0:l.planCta,heading:null==l?void 0:l.heroHeader,isDesktop:s,location:i,themeColor:"grey-light",showNewPricingPageDesign:h,experimentFourthPlan:u}),(null==l?void 0:l.showAiModule)&&(0,a.jsx)(LoomAiModule,{header:null==l?void 0:l.aiHeader,headerVariant:null==l?void 0:l.aiHeaderVariant,list:null==l?void 0:l.aiFeatures,themeColor:"violet-90",image:null==l?void 0:l.aiImage,showNewPricingPageDesign:h}),s&&(null==l?void 0:l.pricingTables)&&(0,a.jsx)(PricingSection,{headers:null==l?void 0:l.planCards,headersVariant:null==l?void 0:l.planCardsVariant,table:null==l?void 0:l.pricingTables,tableVariant:null==l?void 0:l.pricingTablesVariant,showNewPricingPageDesign:h}),(null==l?void 0:l.educationNote)&&(0,a.jsx)(EducationNote,{note:null==l?void 0:l.educationNote,themeColor:"violet-light"}),(null==l?void 0:l.faqs)&&(0,a.jsx)(FAQSection,{faqs:null==l?void 0:l.faqs,faqsVariant:null==l?void 0:l.faqsVariant,header:null==l?void 0:l.faqHeading,themeColor:"violet-light",showNewPricingPageDesign:h}),(null==l?void 0:l.socialProofModule)&&(0,a.jsx)(G.Z,{data:null==l?void 0:l.socialProofModule,lineLength:"xl"}),(null==l?void 0:null===(n=l.endOfPageModule)||void 0===n?void 0:n.cta)&&(0,a.jsx)(Y.Z,{cta:l.endOfPageModule.cta,hClassName:"thd-max-lg",heading:l.endOfPageModule.heading})]})}var K=l(74356),X=!0;function PricingPage(e){var n,l,i,g,v,p,f,x,b,w=e.initialData,y=e.navData,N=e.accountNavData,P=e.footerNavData,C=e.draftMode,_=(0,c.Z)(u.b),Z=(null==_?void 0:_.id)!==void 0,k=(0,t._)((0,K.yR)(w,o),1)[0],F=(0,m.T)(),T=null==F?void 0:null===(v=F.country)||void 0===v?void 0:v.toUpperCase(),S=(0,t._)((0,d.useState)(!1),2),V=S[0],E=S[1],A=null==_?void 0:null===(f=_.persona)||void 0===f?void 0:null===(p=f.persona_v1)||void 0===p?void 0:p.use_case_plan;(0,d.useEffect)(function(){var e=new Date,n=new Date(e.toLocaleString("en-US",{timeZone:"America/New_York"})),l=n.getDay(),t=n.getHours();0!==l&&6!==l&&!(t<12)&&!(t>=19)&&!(!T||["GB","AT","BE","BG","HR","CY","CZ","DK","EE","FI","FR","DE","GR","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","RO","SK","SI","ES","SE","IS","LI","NO","CH"].includes(T))&&(Z&&"work"!==A||E(!0))},[Z,A,T]),l=(n=(0,t._)((0,d.useState)(!1),2))[0],i=n[1],g=(0,c.Z)(u.b),(0,d.useEffect)(function(){if(h&&(null==g?void 0:g.email)&&!l&&!document.querySelector("script#profitwell-js")){var e=document.createElement("script");e.id="profitwell-js",e.setAttribute("data-pw-auth",h),e.text="\n (function(i,s,o,g,r,a,m){i[o]=i[o]||function(){(i[o].q=i[o].q||[]).push(arguments)};\n a=s.createElement(g);m=s.getElementsByTagName(g)[0];a.async=1;a.src=r+'?auth='+\n s.getElementById(o+'-js').getAttribute('data-pw-auth');m.parentNode.insertBefore(a,m);\n })(window,document,'profitwell','script','https://public.profitwell.com/js/profitwell.js');\n profitwell('start', { user_email: '".concat(g.email,"' })\n profitwell('cq_get');\n "),document.body.append(e),i(!0)}},[g,l]);var D=(0,c.Z)(j),I=(0,t._)((0,d.useState)(null),2),L=I[0],q=I[1],M=(0,t._)((0,d.useState)(null),2),H=M[0],O=M[1],W=null==D?void 0:null===(b=D.organizations)||void 0===b?void 0:null===(x=b.find(function(e){return(null==e?void 0:e.id)===(null==_?void 0:_.default_workspace_id)}))||void 0===x?void 0:x.type;return(0,d.useEffect)(function(){var e="starter_free"===W,n="business"===W&&"true"===l,l=window.localStorage.getItem("isPureTrial"),t=window.localStorage.getItem("billingIsPaused"),a=window.localStorage.getItem("third_tier_assignment"),i=null;try{i=a&&"string"==typeof a&&"undefined"!==a?JSON.parse(a):null}catch(e){console.error("Error parsing localStorageAssignment:",e)}var o="phase_two_aggressive"===i||"phase_two_conservative"===i;q((e||n)&&"true"!==t||o),o&&O("phase_two_aggressive"===i?"variant-2":"variant-1")},[W]),(0,a.jsxs)(s.Z,{accountNavData:N,data:k,footerNavData:P,name:"Pricing",navData:y,preview:C,children:[(0,a.jsx)(r.Z,{data:null==k?void 0:k.meta,url:"https://mulligan.indiedemos.com/pricing"}),L?(0,a.jsx)(PricingContentExp,{data:k,location:F,assignment:H}):(0,a.jsx)(PricingContent,{data:k,location:F}),V&&(0,a.jsx)(ZendeskChatScript,{})]})}function ZendeskChatScript(){var e=(0,t._)((0,g.y)({flag:v.EA,activationValues:["variant"]}),2)[1];return(0,d.useEffect)(function(){if("variant"===e){var n=document.createElement("script");n.id="ze-snippet",n.src="https://static.zdassets.com/ekr/snippet.js?key=ac929dc4-4887-4f3d-ac98-d78f59d2cfb8",document.body.append(n)}},[e]),null}},78767:function(e){e.exports={table:"PricingSection_table__1bU95",tableBodyVariant:"PricingSection_tableBodyVariant__YnYyC"}}},function(e){e.O(0,[2786,2673,3358,37,9267,476,5153,5142,9256,8687,2284,5295,900,7702,3523,562,4387,1792,3141,9774,2888,179],function(){return e(e.s=74223)}),_N_E=e.O()}]);