(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3141],{97168:function(e,l,n){"use strict";n.d(l,{Z:function(){return ThreadTooltip}});var i=n(85893),t=n(71948),o=n(24918),d=n(93967),a=n.n(d),r=n(25935),s=n(92673),u=n(56649),c=n(81428),h=n.n(c);function ThreadTooltip(e){var l,n,d=e.color,c=e.position,m=void 0===c?"inline":c,v=e.label,b=e.tooltip;if(!b)return null;var g=(0,u.Z)(v.toString());return(0,i.jsx)("div",{className:a()(h().focusOverride,m,"ml-[.25em]"),id:g,style:{"--offset":"inline"===m?"4px":"0"},children:(0,i.jsx)(o.ZP,{container:function(){return document.querySelector("#".concat(g))},content:null!==(n=(0,r.ZP)(b))&&void 0!==n?n:void 0,isInline:!0,keepOpen:!0,children:(0,i.jsx)(t.Z,{className:a()(null===(l=(0,s.b)(null!=d?d:"violet-light"))||void 0===l?void 0:l.iconAccent,"block"),height:"1em",width:"1em"})})})}},93141:function(e,l,n){"use strict";n.d(l,{Z:function(){return ThreadLayerPlate}});var i=n(85893),t=n(93967),o=n.n(t),d=n(45697),a=n.n(d),r=n(24043),s=n(34687),u=n(5088),c=n(67294),h=n(30587),m=n(97168),v=n(82969),b=n(30830),g=n(75798),p=n(92673),x=n(86114),f=n(18070),y=n.n(f);function PricingCard(e){var l,n,t,d,a,f,j,N,w,T,k,C,F,_,Z,P,S,I,O,E=e.bodyText,L=e.plan,R=e.layered,B=e.location,U=e.themeColor,q=(null==L?void 0:null===(l=L.header)||void 0===l?void 0:l.eyebrow)==="Business",A=null==B?void 0:null===(n=B.country)||void 0===n?void 0:n.toUpperCase(),D=R?"grey-light":U,z=(0,h.ZP)("(min-width: 1064px)"),H=(0,h.ZP)("(min-width: 1024px)"),M=(0,r._)((0,c.useState)(null),2),V=M[0],W=M[1],$=(0,r._)((0,x.y)({flag:g.yV,activationValues:["variant"]}),2)[1],G=(0,c.useMemo)(function(){var e;return null!==(e=null==L?void 0:L.packages)&&void 0!==e?e:[]},[null==L?void 0:L.packages]),J=(0,r._)((0,c.useState)(null),2),Y=J[0],K=J[1],X=null===B;(0,c.useEffect)(function(){var e=!!A,l="US"===A,n=window.localStorage.getItem("price_elasticity_exp");return X||null===$?void 0:"variant"===$?W(G.find(function(e){return"pricing-elasticity-variant-2"===e.key})):"variant-2"===n||l||!e?W(G.find(function(e){return"pricing-elasticity-variant-2"===e.key})):"variant-1"===n?W(G.find(function(e){return"pricing-elasticity-variant-1"===e.key})):W(G.find(function(e){return"default"===e.key}))},[$,A,G,X]),(0,c.useEffect)(function(){if(null!==$){if(!["control","ineligible"].includes($))return K("usd");K(window.localStorage.getItem("loom_content_currency")||"usd")}},[$]);var Q=Y&&V&&V.prices.find(function(e){return e.currency===Y}),ee=new Intl.NumberFormat("en-US",{style:"currency",currency:null!=Y?Y:"usd",minimumFractionDigits:2}),el=(null==Q?void 0:Q.monthly)&&(null==Q?void 0:Q.monthly)>0&&"".concat(ee.format(Q.monthly)," ").concat(Y.toUpperCase()," per Creator mo (when paying month to month)");return(0,i.jsxs)(i.Fragment,{children:[(null==L?void 0:null===(t=L.header)||void 0===t?void 0:t.eyebrow)&&(0,i.jsx)("h2",{className:o()(null===(d=(0,p.b)(null!=D?D:"violet-light"))||void 0===d?void 0:d.headerText,H?"thd-heading-md":"thd-heading-lg","mb-sm"),children:L.header.eyebrow}),(null==L?void 0:null===(a=L.header)||void 0===a?void 0:a.heading)&&(0,i.jsx)("p",{className:o()(null===(f=(0,p.b)(null!=D?D:"violet-light"))||void 0===f?void 0:f.bodyText,"mb-lg",H?"thd-body-md":"thd-body-lg"),children:L.header.heading}),(null==L?void 0:L.note)&&(0,i.jsx)("p",{className:o()(E,"font-bold thd-caption mb-lg max-w-ll-2xl"),children:L.note}),(0,i.jsxs)("div",{className:"flex items-center mb-2xl",children:[q?null:(0,i.jsx)("span",{className:o()(null===(j=(0,p.b)(null!=D?D:"violet-light"))||void 0===j?void 0:j.headerText,H?"thd-heading-sm":"thd-heading-md"),children:null==L?void 0:null===(N=L.priceSection)||void 0===N?void 0:N.price}),q&&!X&&Q&&(0,i.jsx)("span",{className:o()(null===(w=(0,p.b)(null!=D?D:"violet-light"))||void 0===w?void 0:w.headerText,H?"thd-heading-sm":"thd-heading-md"),children:ee.format(Q.annual/12)}),Q?(0,i.jsxs)("span",{className:"thd-caption ml-sm",children:[Y.toUpperCase(),"/Creator/mo (annually)"]}):null,Q?(0,i.jsx)(m.Z,{label:el,tooltip:el}):null]}),(null==L?void 0:L.cta)?(0,i.jsx)(b.Z,{buttonType:"primary",className:"mb-2xl",color:"violet-dark",cta:null==L?void 0:L.cta,size:"lg",children:null==L?void 0:null===(T=L.cta)||void 0===T?void 0:T.copy}):void 0,(null==L?void 0:L.keyFeaturesList)&&(0,i.jsx)("p",{className:"font-bold mb-fixed-sm",children:"Includes:"}),(0,i.jsx)("ul",{className:"thd-body-sm mb-lg list-disc list-inside flex flex-col justify-center",children:null==L?void 0:null===(k=L.keyFeaturesList)||void 0===k?void 0:k.map(function(e){var l;return(0,i.jsxs)("li",{className:o()(null===(l=(0,p.b)(null!=D?D:"violet-light"))||void 0===l?void 0:l.headerText,"mb-sm ml-6"),children:[(0,i.jsx)("span",{className:"ml-4",children:null==e?void 0:e.feature}),(null==e?void 0:e.tooltip)?(0,i.jsx)(m.Z,{color:D,label:null==e?void 0:e.feature,tooltip:e.tooltip}):null]},null==e?void 0:e._key)})}),(0,i.jsxs)("div",{className:o()(null===(C=(0,p.b)(null!=D?D:"violet-light"))||void 0===C?void 0:C.headerText,null===(F=(0,p.b)(null!=D?D:"violet-light"))||void 0===F?void 0:F.border,"border-t-2 pt-lg w-full"),children:[(null==L?void 0:L.keyFeaturesHeading)&&(0,i.jsx)("p",{className:"font-bold mb-fixed-sm",children:L.keyFeaturesHeading}),(0,i.jsxs)("ul",{className:"thd-body-sm mb-lg thd-body-sm",children:[(null==L?void 0:L.loomAiListItem)&&(0,i.jsxs)("li",{className:"flex items-center mb-sm gap-[14px]",children:[(0,i.jsx)(u.Z,{brand:"ai",maxWidth:2,variant:"symbol"}),(0,i.jsx)("span",{className:y().gradientAiText,children:null==L?void 0:L.loomAiListItem})]}),null==L?void 0:null===(_=L.checklist)||void 0===_?void 0:_.map(function(e){return(0,i.jsxs)("li",{className:"flex items-center mb-sm",children:[(0,i.jsx)(s.Z,{className:"h-em inline-block mr-md"}),(0,i.jsx)("p",{children:null==e?void 0:e.feature}),(null==e?void 0:e.chip)&&(0,i.jsx)("span",{className:"thd-overline text-thd-color-magenta-50 ml-sm",children:null==e?void 0:e.chip}),(null==e?void 0:e.tooltip)&&(0,i.jsx)(m.Z,{color:D,label:null==e?void 0:e.feature,tooltip:e.tooltip})]},e._key)})]}),!z&&(null==L?void 0:L.featuresBlock)&&(0,i.jsxs)("details",{className:o()(null===(Z=(0,p.b)(null!=D?D:"violet-light"))||void 0===Z?void 0:Z.headerText,"thd-details thd-rounded-int cursor-pointer"),style:{"--button-color-fr":null===(P=(0,p.b)(U))||void 0===P?void 0:P.buttonFg,"--focus-color-bg":"transparent","--focus-color-fg":"initial"},children:[(0,i.jsx)("summary",{className:o()(null===(S=(0,p.b)(null!=D?D:"violet-light"))||void 0===S?void 0:S.headerText,"thd-focus-thick rounded-md mb-lg"),children:(0,i.jsx)("span",{className:"ml-md thd-body-sm font-bold underline",children:null==L?void 0:null===(I=L.featuresBlock)||void 0===I?void 0:I.heading})}),(0,i.jsx)("div",{children:(0,i.jsx)(v.Z,{className:y().pricingCheck,children:null==L?void 0:null===(O=L.featuresBlock)||void 0===O?void 0:O.subhead})})]})]})]})}var j=n(81771);function NewPricingCard(e){var l,n,t,d,a,s,g,x,f,N,w,T,k,C,F,_,Z,P=e.bodyText,S=e.plan,I=e.themeColor,O=e.type,E=e.experimentFourthPlan,L=null==S?void 0:null===(l=S.header)||void 0===l?void 0:l.eyebrow.includes("Business"),R=null==S?void 0:null===(n=S.header)||void 0===n?void 0:n.eyebrow.includes("AI"),B=(0,h.ZP)("(min-width: 1064px)"),U=(0,h.ZP)("(min-width: 1024px)"),q=(0,r._)((0,c.useState)(null),2),A=q[0],D=q[1],z=(0,c.useMemo)(function(){var e;return null!==(e=null==S?void 0:S.packages)&&void 0!==e?e:[]},[null==S?void 0:S.packages]);(0,c.useEffect)(function(){return D(z.find(function(e){return e.key===E}))},[z,E]);var H=A&&A.prices.find(function(e){return"usd"===e.currency}),M=new Intl.NumberFormat("en-US",{style:"currency",currency:"usd",minimumFractionDigits:2}),V=(null==H?void 0:H.monthly)&&"".concat(M.format(H.monthly)," USD per Creator mo (when paying month to month)");return(0,i.jsx)("div",{className:o()(R?y().aiCardGradient:"border border-blurple-medium","p-fluid-base h-full w-full rounded-lg"),children:(0,i.jsxs)("div",{className:"relative z-10",children:[(null==S?void 0:null===(t=S.header)||void 0===t?void 0:t.eyebrow)&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"lg:h-[34px]",children:R&&(0,i.jsx)("div",{className:"mb-8",children:(0,i.jsx)(j.Z,{color:"grey8",backgroundColor:"blurpleMedium",children:"MOST POPULAR"})})}),(0,i.jsxs)("h2",{className:o()(null===(d=(0,p.b)(null!=I?I:"violet-light"))||void 0===d?void 0:d.headerText,U?"thd-heading-md":"thd-heading-lg","mb-sm"),children:[S.header.eyebrow,R&&(0,i.jsx)("span",{className:"absolute -mt-[.025em] ml-[.125em]",children:(0,i.jsx)(u.Z,{brand:"ai",variant:"symbol",maxWidth:".5em"})})]})]}),(null==S?void 0:null===(a=S.header)||void 0===a?void 0:a.heading)&&(0,i.jsx)("p",{className:o()(null===(s=(0,p.b)(null!=I?I:"violet-light"))||void 0===s?void 0:s.bodyText,"mb-lg lg:min-h-[96px]",U?"thd-body-md":"thd-body-lg"),children:S.header.heading}),(null==S?void 0:S.note)&&(0,i.jsx)("p",{className:o()(P,"font-bold thd-caption mb-lg max-w-ll-2xl"),children:S.note}),(0,i.jsxs)("div",{className:"flex items-center mb-2xl",children:[L?null:(0,i.jsx)("span",{className:o()(null===(g=(0,p.b)(null!=I?I:"violet-light"))||void 0===g?void 0:g.headerText,U?"thd-heading-sm":"thd-heading-md"),children:null==S?void 0:null===(x=S.priceSection)||void 0===x?void 0:x.price}),L&&H&&(0,i.jsx)("span",{className:o()(null===(f=(0,p.b)(null!=I?I:"violet-light"))||void 0===f?void 0:f.headerText,U?"thd-heading-sm":"thd-heading-md"),children:M.format(H.annual/12)}),H?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:"thd-caption ml-sm",children:"USD/Creator/mo"}),(0,i.jsx)(m.Z,{label:V,tooltip:V})]}):null]}),(null==S?void 0:S.cta)?(0,i.jsx)(b.Z,{buttonType:"primary",className:"mb-2xl",color:"pricing-new"!==O||R?"violet-dark":"violet-light",cta:null==S?void 0:S.cta,size:"lg",children:null==S?void 0:null===(N=S.cta)||void 0===N?void 0:N.copy}):void 0,(null==S?void 0:S.keyFeaturesList)&&(0,i.jsx)("p",{className:"font-bold mb-fixed-sm",children:"Includes:"}),(0,i.jsxs)("div",{className:o()(null===(w=(0,p.b)(null!=I?I:"violet-light"))||void 0===w?void 0:w.headerText,"w-full"),children:[(null==S?void 0:S.keyFeaturesHeading)&&(0,i.jsx)("p",{className:"font-bold mb-fixed-sm",children:S.keyFeaturesHeading}),(0,i.jsx)("ul",{className:"thd-body-sm mb-lg thd-body-sm",children:null==S?void 0:null===(T=S.checklist)||void 0===T?void 0:T.map(function(e){return(0,i.jsx)(FeatureListItem,{title:e.feature,chip:e.chip,tooltip:e.tooltip,color:I,newFeature:!!e.new},e._key)})}),!B&&(null==S?void 0:S.featuresBlock)&&(0,i.jsxs)("details",{className:o()(null===(k=(0,p.b)(null!=I?I:"violet-light"))||void 0===k?void 0:k.headerText,"thd-details thd-rounded-int cursor-pointer"),style:{"--button-color-fr":null===(C=(0,p.b)(I))||void 0===C?void 0:C.buttonFg,"--focus-color-bg":"transparent","--focus-color-fg":"initial"},children:[(0,i.jsx)("summary",{className:o()(null===(F=(0,p.b)(null!=I?I:"violet-light"))||void 0===F?void 0:F.headerText,"thd-focus-thick rounded-md mb-lg"),children:(0,i.jsx)("span",{className:"ml-md thd-body-sm font-bold underline",children:null==S?void 0:null===(_=S.featuresBlock)||void 0===_?void 0:_.heading})}),(0,i.jsx)("div",{children:(0,i.jsx)(v.Z,{className:y().pricingCheck,children:null==S?void 0:null===(Z=S.featuresBlock)||void 0===Z?void 0:Z.subhead})})]})]})]})})}var FeatureListItem=function(e){var l=e.title,n=e.chip,t=e.tooltip,o=(e.color,e.newFeature);return(0,i.jsxs)("li",{className:"flex items-center mb-sm",children:[(0,i.jsx)(s.Z,{className:"h-em inline-block mr-md"}),(0,i.jsx)("p",{children:l}),n&&(0,i.jsx)("span",{className:"thd-overline text-thd-color-magenta-50 ml-sm",children:n}),t&&(0,i.jsx)(m.Z,{label:l,tooltip:t}),o&&(0,i.jsx)("span",{className:"thd-overline text-thd-color-magenta-50 ml-sm",children:"NEW"})]})},N=n(72253),w=n(11841),T=n(27924);function DoubleCardContent(e){var l,n,t,d,a,r,s,u,c,h,m=e.plan,v=e.layered,g=e.themeColor,x=e.type,f={"education-header":"thd-heading-md text-center mx-auto",standard:"thd-body-lg"}[x],y={"education-header":"thd-body-md text-center",standard:"thd-body-sm thd-list-dense mb-lg"}[x],j=v?"grey-10":g;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"border-thd-color-violet-20 border-b pb-fixed-4xl mb-fixed-4xl w-full",children:[(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(T.Z,{bClassName:y,bFont:"sm",className:"mb-md",gap:"mb-md",hClassName:f,hFont:"xs",header:null==m?void 0:m.headerOne,nested:!0,number:(0,i.jsx)("span",{className:o()(null===(l=(0,p.b)(j))||void 0===l?void 0:l.bgInverse,"thd-circle-number thd-heading-xs text-white"),children:"1"}),themeColor:j})}),(null==m?void 0:m.ctaOne)&&(0,i.jsx)(b.Z,{buttonType:"secondary",className:null==m?void 0:null===(n=m.cta)||void 0===n?void 0:n.buttonStyle,color:"violet-light",cta:null==m?void 0:m.ctaOne,icon:null!==(c=null==m?void 0:null===(d=m.ctaOne)||void 0===d?void 0:null===(t=d.iconRef)||void 0===t?void 0:t.icon)&&void 0!==c?c:void 0,size:"md",children:m.ctaOne.copy})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)(T.Z,{bClassName:y,bFont:"sm",className:"mb-xl",gap:"mb-md",hClassName:f,hFont:"xs",header:null==m?void 0:m.headerTwo,nested:!0,number:(0,i.jsx)("span",{className:o()(null===(a=(0,p.b)(j))||void 0===a?void 0:a.bgInverse,"thd-circle-number text-white"),children:"2"}),themeColor:j}),(null==m?void 0:m.ctaTwo)&&(0,i.jsx)(b.Z,{buttonType:"secondary",className:null==m?void 0:null===(r=m.cta)||void 0===r?void 0:r.buttonStyle,color:"violet-light",cta:null==m?void 0:m.ctaTwo,icon:null!==(h=null==m?void 0:null===(u=m.ctaTwo)||void 0===u?void 0:null===(s=u.iconRef)||void 0===s?void 0:s.icon)&&void 0!==h?h:void 0,iconPosition:"right",size:"md",children:m.ctaTwo.copy})]})]})}function CardContent(e){var l,n,t,d,a,r=e.plan,s=e.layered,u=e.themeColor,c=e.type,h=null!==(a=null==r?void 0:r.header)&&void 0!==a?a:r,m=s?"grey-light":u,v=null===(l=(0,p.b)(null!=m?m:"violet-light"))||void 0===l?void 0:l.bodyText;return(0,i.jsxs)(i.Fragment,{children:[(null==h?void 0:h.eyebrow)&&(0,i.jsx)("h3",{className:o()(null===(n=(0,p.b)(null!=m?m:"violet-light"))||void 0===n?void 0:n.headerText,"thd-heading-md mb-sm"),children:null==h?void 0:h.eyebrow}),(null==h?void 0:h.heading)&&(0,i.jsx)("p",{className:o()(null===(t=(0,p.b)(null!=m?m:"violet-light"))||void 0===t?void 0:t.bodyText,{"education-header":"mt-fluid-sm thd-heading-md lg:text-center lg:mx-auto mb-xl",standard:"thd-body-lg"}[c]),children:null==h?void 0:h.heading}),(null==h?void 0:h.subhead)&&(0,i.jsx)(w.Z,{className:o()(v,{"education-header":"mb-fluid-sm thd-body-md lg:text-center thd-max-xl",standard:"thd-body-sm thd-list-dense mb-lg"}[c]),content:null==h?void 0:h.subhead}),(null==r?void 0:r.note)&&(0,i.jsx)("p",{className:o()(v,"font-bold thd-caption mb-lg max-w-ll-2xl"),children:r.note}),(null==r?void 0:r.cta)&&(0,i.jsx)(b.Z,{buttonType:"primary",className:null==r?void 0:null===(d=r.cta)||void 0===d?void 0:d.buttonStyle,color:"violet-dark",cta:null==r?void 0:r.cta,size:"lg",children:r.cta.copy})]})}function ThreadPlanCard(e){return(null==e?void 0:e.type)==="education-steps"?(0,i.jsx)(DoubleCardContent,(0,N._)({},e)):(0,i.jsx)(CardContent,(0,N._)({},e))}function ThreadLayerPlate(e){var l,n,t=e.className,d=e.location,a=e.plan,r=e.themeColor,s=e.layered,u=e.type,c=e.experimentFourthPlan,h=s?"grey-light":r,m=null===(l=(0,p.b)(null!=h?h:"violet-light"))||void 0===l?void 0:l.bodyText,v={pricing:(0,i.jsx)(PricingCard,{bodyText:m,layered:s,location:d,plan:a,themeColor:r,type:u}),"pricing-new":(0,i.jsx)(NewPricingCard,{bodyText:m,plan:a,themeColor:r,type:u,experimentFourthPlan:c}),"education-header":(0,i.jsx)(ThreadPlanCard,{layered:s,plan:a,themeColor:r,type:u}),"education-steps":(0,i.jsx)(ThreadPlanCard,{layered:s,plan:a,themeColor:r,type:u}),standard:(0,i.jsx)(ThreadPlanCard,{bodyText:m,layered:s,plan:a,themeColor:r,type:u})}[u];return(0,i.jsx)("div",{className:o()(t,null===(n=(0,p.b)(null!=h?h:"violet-light"))||void 0===n?void 0:n.bg,"flex flex-col items-start","rounded-lg",{pricing:s?"thd-card-float thd-card-flat flex-grow w-full max-w-screen-sm":"thd-card-flat flex-grow w-full max-w-screen-sm","pricing-new":"flex-grow w-full max-w-screen-sm",standard:s?"thd-card-float":"thd-card-flat max-w-screen-sm","education-steps":s?"thd-card-float":"thd-card-flat","education-header":s?"thd-card-float":"thd-card-flat"}[u]),children:v})}ThreadLayerPlate.propTypes={className:a().string,color:a().string.isRequired,cta:a().oneOfType([a().string,a().object,a().func]),icon:a().string,layered:a().bool,location:a().object,onClick:a().oneOfType([a().object,a().func]),size:a().string.isRequired,buttonType:a().string.isRequired,props:a().object,themeColor:a().string,type:a().oneOf(["pricing","pricing-new","standard","education","education-header","education-steps"]).isRequired},ThreadLayerPlate.defaultProps={color:"violet-dark",size:"lg",buttonType:"primary",themeColor:"violet-light",type:"standard"}},75798:function(e,l,n){"use strict";n.d(l,{EA:function(){return t},g2:function(){return o},yV:function(){return i}});var i="rollout-pricing-and-packaging-marketing",t="rollout-pricing-page-chat",o="experiment-fourth-plan-phase-two"},86114:function(e,l,n){"use strict";n.d(l,{y:function(){return useFeatureFlag}});var i=n(11010),t=n(75766),o=n(72253),d=n(14932),a=n(24043),r=n(82729),s=n(70655),u=n(28687),c=n.n(u),h=n(11163),m=n(67294),v=n(98719),b=n(1840),g=n(76815),p=n(83454);function _templateObject(){var e=(0,r._)(["\n query getFeatureFlag($flags: [String!]!, $anonId: String!) {\n getBulkFlagsForUser(flags: $flags, anonId: $anonId) {\n resultDetails {\n result\n }\n }\n }\n "]);return _templateObject=function(){return e},e}function useFeatureFlag(e){var l,n,r,x=e.flag,f=e.activationValues,y=e.eligibilityPrecheckFunction,j=e.setErrorAsIneligible,N=(0,h.useRouter)(),w=(0,a._)((0,m.useState)({}),2),T=w[0],k=w[1],C=(0,a._)((0,m.useState)(!1),2),F=C[0],_=C[1],Z=(0,m.useRef)(y),P=Z.current?Z.current():{pass:!0},S=P.pass;return((0,m.useEffect)(function(){if(Z.current){var e=S?void 0:null==P?void 0:P.failReason;if(!1===S&&void 0===e){console.error("failReason key required on object returned from Eligibility pre-check function if pass key points to false",{pass:S,failReason:e});return}if(!S){(0,v.L9)(b.sR,{flag:x,failReason:e}),k((0,d._)((0,o._)({},T),(0,t._)({},x,{active:!1,value:"ineligible"})));return}}},[x,Z]),(0,m.useEffect)(function(){var e,l=(0,v.YP)().anonID,n=(e=(0,i._)(function(){var e,n,i;return(0,s.Jh)(this,function(a){switch(a.label){case 0:if(T[x])return[2];a.label=1;case 1:return a.trys.push([1,3,,4]),e=(0,u.gql)(_templateObject()),n=g.Ss?{"x-loom-staging":p.env.NEXT_PUBLIC_LOOM_STAGING_HEADER_KEY}:{},[4,c()(g.B3,e,{flags:x,anonId:l},n)];case 2:return i=a.sent().getBulkFlagsForUser[0].resultDetails.result,k((0,d._)((0,o._)({},T),(0,t._)({},x,{active:f.includes(i),value:i}))),[3,4];case 3:return a.sent(),_(!0),[3,4];case 4:return[2]}})}),function(){return e.apply(this,arguments)});S&&n()},[x,T,f]),F&&j)?[!1,"ineligible"]:(null==N?void 0:null===(l=N.query)||void 0===l?void 0:l.flag)===x&&(null==N?void 0:null===(n=N.query)||void 0===n?void 0:n.variant)?[!0,null==N?void 0:null===(r=N.query)||void 0===r?void 0:r.variant.toString()]:T[x]?[T[x].active,T[x].value]:[!1,null]}},81428:function(e){e.exports={focusOverride:"ThreadTooltip_focusOverride__8W_pJ"}}}]);