PageSourceSearch

https://typefully.com/_next/static/chunks/0owizqhzj7bxq.js?dpl=dpl_iHPkyWiYzfNtPWUZTzYNLF9Kaerb

js typefully.com collected 2026-09-24 08:36:26 UTC 192,331 bytes, 5 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="35e1eb18-b3f8-0817-d0e1-d56929f191be")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,940540,e=>{"use strict";var t=e.i(416340);e.s(["usePrevious",0,function(e){var a=(0,t.useRef)();return(0,t.useEffect)(function(){a.current=e}),a.current}],940540)},436224,e=>{"use strict";var t=e.i(221628),a=e.i(384345),i=e.i(674829),n=e.i(878420),s=e.i(64386),r=e.i(886513);e.i(927840);var l=e.i(442643),o=e.i(976859),u=e.i(830469),c=e.i(771607),d=e.i(251839);let p=e=>{let{className:a,short:i,icon:l,children:o}=e,p=(0,r._)(e,["className","short","icon","children"]);return(0,t.jsxs)(u.Button,(0,s._)((0,n._)({className:(0,d.default)("h-[36px] lg:h-[38px] md:[zoom:1.04] text-[15px] rounded-full px-3 sm:px-4.5","ring-1 ring-typ-accent/20 transition-all duration-200","hover:ring-2 hover:ring-typ-accent/40",a)},p),{children:[!i&&(0,t.jsx)("span",{children:"Log in with "}),l&&(0,t.jsx)(c.default,{icon:l,size:16,className:(0,d.default)("translate-y-[-1px]",i?"mr-1":"mx-1")}),o]}))};var m=e.i(170490),h=e.i(278337),x=e.i(416340),f=e.i(577735),g=e.i(368833),y=e.i(387911),w=e.i(917828),v=e.i(402650),b=e.i(989589),j=e.i(446986);function A(e,t){if(null==e?void 0:e.is_signup){var a;let e=null==(a=(0,g.getAttributionData)())?void 0:a.query.via;(0,w.trackPlausibleEvent)("Signup",e?{via:e}:void 0),(0,v.trackPostHog)("Sign Up",{auth_provider:(0,j.getLastUsedProvider)()})}else(0,w.trackPlausibleEvent)("Login"),(0,v.trackPostHog)("Login",{auth_provider:(0,j.getLastUsedProvider)()});t.query.next&&"string"==typeof t.query.next?t.push(t.query.next):E.includes(t.pathname)||t.push({pathname:b.default.editor(),query:t.query})}let E=[b.default.editor(),b.default.sharedDraftPath,b.default.oauthConsentPath,"/invite/[token]"];var k=e.i(473010);async function C(e){let{email:t,loginOnly:a,captchaToken:i}=e,n=(0,g.buildOAuthAttributionParams)(),s=(0,k.encodeQueryParams)(n),r="/auth/email/otp/request/"+(s.length>0?"?"+s:""),l={email:t};a&&(l.login_only=!0),i&&(l.captcha_token=i);let o=await y.default.post(r,l);return!!o.data.success||((0,f.notifApiError)({response:o},{fallbackMessage:"Failed to send verification code. Please try again."}),!1)}async function F(e){let{email:t,otp:a,logIn:i,router:n,onLoginComplete:s}=e,r=await y.default.post("/auth/email/otp/verify/",{email:t,otp:a},{skipRefreshOn401:!0});if(r.data.success&&r.data.token){let e=r.data.token;return(0,o.resetPersistedAuth)(),i((await y.default.get("/me/",{headers:{Authorization:e}})).data,e),null==s||s(),A(r.data,n),!0}return(0,f.notifApiError)({response:r},{fallbackMessage:"Failed to verify code. Please try again."}),!1}var N,D=e.i(37188),S=e.i(712416),B=(0,x.forwardRef)((e,a)=>{let[i,...l]=[e,a],{as:o="div"}=i,u=(0,r._)(i,["as"]),[c]=l;return(0,t.jsx)(o,(0,s._)((0,n._)({},u),{ref:c}))}),T="cf-turnstile-script",_="onloadTurnstileCallback",P={normal:{width:300,height:65},compact:{width:150,height:140},invisible:{width:0,height:0,overflow:"hidden"},flexible:{minWidth:300,width:"100%",height:65},interactionOnly:{width:"fit-content",height:"auto",display:"flex"}},M="unloaded",L=new Promise((e,t)=>{N={resolve:e,reject:t},"ready"===M&&e(void 0)}),R=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_;return"unloaded"===M&&(M="loading",window[e]=()=>{N.resolve(),M="ready",delete window[e]}),L},I=(0,x.forwardRef)((e,a)=>{let{scriptOptions:i,options:l={},siteKey:o,onWidgetLoad:u,onSuccess:c,onExpire:d,onError:p,onBeforeInteractive:m,onAfterInteractive:h,onUnsupported:f,onTimeout:g,onLoadScript:y,id:w,style:v,as:b="div",injectScript:j=!0}=e,A=(0,r._)(e,["scriptOptions","options","siteKey","onWidgetLoad","onSuccess","onExpire","onError","onBeforeInteractive","onAfterInteractive","onUnsupported","onTimeout","onLoadScript","id","style","as","injectScript"]),E=l.size,k=(0,x.useCallback)(()=>typeof E>"u"?{}:"execute"===l.execution?P.invisible:"interaction-only"===l.appearance?P.interactionOnly:P[E],[l.execution,E,l.appearance]),[C,F]=(0,x.useState)(k()),N=(0,x.useRef)(null),[D,S]=(0,x.useState)(!1),L=(0,x.useRef)(),I=(0,x.useRef)(!1),z=w||"cf-turnstile",O=(null==i?void 0:i.id)||T,H=function(){let e=arguments.length>
20&&void 0!==arguments[0]?arguments[0]:T,[t,a]=(0,x.useState)(!1);return(0,x.useEffect)(()=>{let t=()=>{document.getElementById(e)&&a(!0)},i=new MutationObserver(t);return i.observe(document,{childList:!0,subtree:!0}),t(),()=>{i.disconnect()}},[e]),t}(O),W=(null==i?void 0:i.onLoadCallbackName)||_,U=l.appearance||"always",V=(0,x.useMemo)(()=>({sitekey:o,action:l.action,cData:l.cData,callback:e=>{I.current=!0,null==c||c(e)},"error-callback":p,"expired-callback":d,"before-interactive-callback":m,"after-interactive-callback":h,"unsupported-callback":f,theme:l.theme||"auto",language:l.language||"auto",tabindex:l.tabIndex,"response-field":l.responseField,"response-field-name":l.responseFieldName,size:function(e){if("invisible"!==e&&"interactionOnly"!==e)return e}(E),retry:l.retry||"auto","retry-interval":l.retryInterval||8e3,"refresh-expired":l.refreshExpired||"auto","refresh-timeout":l.refreshTimeout||"auto",execution:l.execution||"render",appearance:l.appearance||"always","feedback-enabled":l.feedbackEnabled||!0,"timeout-callback":g}),[l.action,l.appearance,l.cData,l.execution,l.language,l.refreshExpired,l.responseField,l.responseFieldName,l.retry,l.retryInterval,l.tabIndex,l.theme,l.feedbackEnabled,l.refreshTimeout,o,E]),q=(0,x.useCallback)(()=>"u">typeof window&&!!window.turnstile,[]);return(0,x.useEffect)(function(){j&&!D&&(e=>{let{render:t="explicit",onLoadCallbackName:a=_,scriptOptions:{nonce:i="",defer:n=!0,async:s=!0,id:r="",appendTo:l,onError:o,crossOrigin:u=""}={}}=e,c=r||T;if(document.getElementById(c))return;let d=document.createElement("script");d.id=c,d.src="".concat("https://challenges.cloudflare.com/turnstile/v0/api.js","?onload=").concat(a,"&render=").concat(t),document.querySelector('script[src="'.concat(d.src,'"]'))||(d.defer=!!n,d.async=!!s,i&&(d.nonce=i),u&&(d.crossOrigin=u),o&&(d.onerror=o,delete window[a]),("body"===l?document.body:document.getElementsByTagName("head")[0]).appendChild(d))})({onLoadCallbackName:W,scriptOptions:(0,s._)((0,n._)({},i),{id:O})})},[j,D,i,O]),(0,x.useEffect)(function(){"ready"!==M&&R(W).then(()=>S(!0)).catch(console.error)},[]),(0,x.useEffect)(function(){if(!N.current||!D)return;let e=!1;return(async()=>{e||!N.current||(L.current=window.turnstile.render(N.current,V),L.current&&(null==u||u(L.current)))})(),()=>{e=!0,L.current&&(window.turnstile.remove(L.current),I.current=!1)}},[z,D,V]),(0,x.useImperativeHandle)(a,()=>{let{turnstile:e}=window;return{getResponse:()=>(null==e?void 0:e.getResponse)&&L.current&&q()?e.getResponse(L.current):void console.warn("Turnstile has not been loaded"),async getResponsePromise(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e4,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;return new Promise((a,i)=>{let n,s=async()=>{if(I.current&&window.turnstile&&L.current)try{let e=window.turnstile.getResponse(L.current);return n&&clearTimeout(n),e?a(e):i(Error("No response received"))}catch(e){return n&&clearTimeout(n),console.warn("Failed to get response",e),i(Error("Failed to get response"))}n||(n=setTimeout(()=>{n&&clearTimeout(n),i(Error("Timeout"))},e)),await new Promise(e=>setTimeout(e,t)),await s()};s()})},reset(){if(!(null==e?void 0:e.reset)||!L.current||!q())return void console.warn("Turnstile has not been loaded");"execute"===l.execution&&F(P.invisible);try{I.current=!1,e.reset(L.current)}catch(e){console.warn("Failed to reset Turnstile widget ".concat(L),e)}},remove(){(null==e?void 0:e.remove)&&L.current&&q()?(F(P.invisible),I.current=!1,e.remove(L.current),L.current=null):console.warn("Turnstile has not been loaded")},render(){if(!(null==e?void 0:e.render)||!N.current||!q()||L.current)return void console.warn("Turnstile has not been loaded or container not found");let t=e.render(N.current,V);return L.current=t,L.current&&(null==u||u(L.current)),"execute"!==l.execution&&F(E?P[E]:{}),t},execute(){"execute"!==l.execution?console.warn('Execution mode is not set to "execute"'):(null==e?void 0:e.execute)&&N.current&&L.current&&q()?(e.execute(N.current,V),F(E?P[E]:{})):console.warn("Turnstile has not been loaded or container not found")},isExpired:()=>(null==e?void 0:e.isExpired)&&L.current&&q()?e.isExpired(L.current):(console.warn("Turnstile has not been loaded"),!1)}},[L,l.execution,E,V,N,q,D,u]),(0,x.useEffect)(()=>{H&&!D&&window.turnstile&&S(!0)},[D,H]),(0,x.useEffect)(()=>{F(k())},[l.execution,E,U]),(0,x.useEffect)(()=>{H&&"function"==typeof y&&y()},[H]),(0,t.jsx)(B,(0,n._)({ref:N,as:b,id:z,style:(0,n._)({},C,v)},A))});I.displayName="Turnstile";var z=e.i(920554),O=e.i(604643),H=e.i(293586),W=e.i(100568),U=e.i(161499),V=e.i(13660);async function q(e){e.render(),e.execute();let t=new Promise((e,t)=>
2{setTimeout(()=>t(Error("CAPTCHA verification timed out")),15e3)}),a=await Promise.race([e.getResponsePromise(),t]);if(!a)throw Error("CAPTCHA verification returned no token");return a}let G=e=>{let{description:n,children:s}=e;return(0,t.jsxs)(a.VStack,{className:"items-center gap-2 mt-2",children:[(0,t.jsx)(l.Mail,{className:"text-typ-c2",size:30}),(0,t.jsx)(i.H3,{className:"text-center",children:"Continue with Email"}),(0,t.jsx)(i.P1,{className:"text-center text-typ-c3 max-w-[340px] text-pretty mb-3",children:n}),s]})},K=e=>{let{show:i,setShow:r,loginOnly:l=!1}=e,[c,d]=(0,x.useState)(""),[p,m]=(0,x.useState)(""),[g,y]=(0,x.useState)("enterEmail"),[w,v]=(0,x.useState)(!1),{logIn:b}=(0,o.useAuth)(),j=(0,h.useRouter)(),A=(0,x.useRef)(null);(0,H.default)(A,{enabled:i,delay:200});let E=(0,x.useRef)(null),k=(0,x.useRef)(!1),N=(0,x.useCallback)(async e=>{let t=null;try{let a;if(S.CLOUDFLARE_TURNSTILE_SITE_KEY){let e=Date.now();for(;!k.current&&Date.now()-e<5e3;)await new Promise(e=>setTimeout(e,100));t=E.current,k.current&&t&&(a=await q(t))}return await C({email:e,loginOnly:l,captchaToken:a})}finally{null==t||t.reset()}},[l]),D=(0,x.useCallback)(async e=>F((0,s._)((0,n._)({},e),{logIn:b,router:j,onLoginComplete:()=>r(!1)})),[b,j,r]),B=async e=>{if(e.preventDefault(),!w){v(!0);try{await N(c)&&y("enterOtp")}catch(e){(0,f.notifApiError)(e,{fallbackMessage:"Failed to send verification code. Please try again."})}finally{v(!1)}}},T=async e=>{if(e.preventDefault(),!w){v(!0);try{await D({email:c,otp:p})||m("")}catch(e){(0,f.notifApiError)(e,{fallbackMessage:"Failed to verify code. Please try again."}),m("")}finally{v(!1)}}},_=(0,x.useCallback)(()=>{k.current=!1,y("enterEmail")},[]),P=(0,x.useCallback)(e=>{let t=e.clipboardData.getData("text").trim();if(/^\d{6}$/.test(t)){e.preventDefault(),m(t);let a=e.currentTarget.closest("form");a&&setTimeout(()=>{a.requestSubmit()},100)}},[]);return(0,t.jsx)(O.Modal,{open:i,onOpenChange:r,className:"w-[450px] max-w-full p-6 desktop:p-8",bottomSheet:"mobile",zIndex:8e3,children:(0,t.jsx)(U.AnimatePresence,{mode:"wait",children:"enterEmail"===g?(0,t.jsx)(V.motion.div,{initial:{opacity:0}
2,animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},children:(0,t.jsx)(G,{description:"Enter your email address to receive a verification code.",children:(0,t.jsxs)("form",{onSubmit:B,className:"w-full",children:[(0,t.jsxs)(a.VStack,{className:"gap-5 w-full",children:[(0,t.jsx)(z.InputWithLabel,{ref:A,label:"Email address",id:"email",type:"email",value:c,onChange:e=>d(e.target.value),required:!0,placeholder:"[email protected]",className:"w-full my-2"}),(0,t.jsx)(u.Button,{type:"submit",loading:w,className:"w-full",children:"Continue"})]}),!!S.CLOUDFLARE_TURNSTILE_SITE_KEY&&(0,t.jsx)(I,{options:{execution:"execute",appearance:"interaction-only"},ref:E,onWidgetLoad:()=>{k.current=!0},onExpire:()=>{var e;return null==(e=E.current)?void 0:e.reset()},siteKey:S.CLOUDFLARE_TURNSTILE_SITE_KEY,className:"flex justify-center"})]})})},"enter-email"):(0,t.jsx)(V.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},children:(0,t.jsx)(G,{description:(0,t.jsxs)(t.Fragment,{children:["We've sent a verification code to ",(0,t.jsx)("strong",{children:c})]}),children:(0,t.jsx)("form",{onSubmit:T,className:"w-full",children:(0,t.jsxs)(a.VStack,{className:"gap-5 w-full",children:[(0,t.jsx)(z.InputWithLabel,{label:"Verification code",id:"otp",type:"text",value:p,onChange:e=>m(e.target.value),onPaste:P,required:!0,placeholder:"Enter 6-digit code",className:"w-full",inputClassName:"tabular-nums font-mono",maxLength:6,autoFocus:!0}),(0,t.jsx)(u.Button,{type:"submit",loading:w,className:"w-full",children:"Verify"}),(0,t.jsx)(a.HStack,{className:"w-full justify-center",children:(0,t.jsx)(u.Button,{type:"button",variant:"link",className:"text-typ-c3 hover:text-typ-c1",onClick:_,icon:(0,t.jsx)(W.ChevronLeft,{}),iconSide:"left",children:"Use a different email"})})]})})})},"enter-otp")})})},X=(0,D.readContentMarker)(17,[29,28,25,33,12,30,0,20,10,32,30,23,20,28,16,36,17,34,25,16]),Q=(0,D.readContentMarker)(29,[27,35,32,38,36,5]),Y=e=>{let{className:a,children:i,short:u,onClick:c,onBeforeAuthStart:g,loginOnly:y}=e,w=(0,r._)(e,["className","children","short","onClick","onBeforeAuthStart","loginOnly"]),[v,b]=(0,x.useState)(!1),[j,A]=(0,x.useState)(!1),{mount:E,show:k}=(0,m.default)(v),N=(0,x.useRef)(!1),{logIn:D}=(0,o.useAuth)(),B=(0,h.useRouter)(),T=(0,x.useCallback)(e=>{N.current=e.metaKey},[]),_=(0,x.useCallback)(async()=>{A(!0);try{if(!await C({email:X,loginOnly:y}))return;await F({email:X,otp:Q,logIn:D,router:B})}catch(e){(0,f.notifApiError)(e,{fallbackMessage:"Failed to log in with the local test account."})}finally{A(!1)}},[D,y,B]),P=(0,x.useCallback)(async()=>{if(S.DEV&&S.IS_LOCAL_BACKEND&&N.current){N.current=!1,null==g||g(),await _();return}if(N.current=!1,c)return void c();null==g||g(),A(!0),b(!0);let e=setTimeout(()=>A(!1),300);return()=>clearTimeout(e)},[_,c,g]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(p,(0,s._)((0,n._)({},w),{className:(0,d.default)(a),loading:j,onClick:P,onMouseDown:T,short:u,icon:l.Mail,children:"Email"})),E&&(0,t.jsx)(K,{show:k,setShow:b,loginOnly:y})]})};var Z=e.i(978963),$=e.i(588354),J=e.i(657406);async function ee(e){let{logIn:t,onSuccess:a,onError:i,onAuthWindowClosed:n,loginOnly:s=!1}=e,r=(0,g.buildOAuthAttributionParams)(s?{login_only:"true"}:void 0),l=(0,k.encodeQueryParams)(r),u="/oauth/google/start/"+(l.length>0?"?"+l:"");(0,J.openAuthWindow)(u,{fallbackErrorMessage:"Failed to log in with Google.",onAuthWindowClosed:n,onSuccess:async e=>{let n=e.token;(0,o.resetPersistedAuth)();try{let i=(await y.default.get("/me/",{headers:{Authorization:n}})).data;t(i,n),null==a||a(e)}catch(e){(0,f.notifApiError)(e,{fallbackMessage:"".concat(e)}),null==i||i("Failed to log in with Google."),console.error("Google auth error:",e)}},onFailure(e){null==i||i(null!=e?e:"Failed to log in with Google.")}})}let et=e=>{let{className:a,children:i,short:l,onClick:u,onBeforeAuthStart:c,loginOnly:m}=e,f=(0,r._)(e,["className","children","short","onClick","onBeforeAuthStart","loginOnly"]),g=(0,h.useRouter)(),{logIn:y}=(0,o.useAuth)(),[w,v]=(0,x.useState)(!1),b=(0,x.useCallback)(()=>{if(u)return void u();null==c||c(),v(!0),ee({logIn:y,onSuccess:e=>{A(e,g)},onError:e=>{$.default.error(null!=e?e:"Failed to log in with Google.")},loginOnly:m});let e=setTimeout(()=>v(!1),3e3);return()=>clearTimeout(e)},[y,u,c,g,m]);return(0,t.jsx)(p,(0,s._)((0,n._)({className:(0,d.default)(a),loading:w,onClick:b,short:l,icon:Z.GoogleColorful},f),{children:"Google"}))};var ea=e.i(842097);async function ei(e){let{logIn:t,onSuccess:a,onError:i,onAuthWindowClosed:n,loginOnly:s=!1}=e,r=(0,g.buildOAuthAttributionParams)(s?{login_only:"true"}:void 0),l=(0,k.encodeQueryParams)(r),u="/oauth/linkedin/start/"+(l.length>0?"?"+l:"");(0,J.openAuthWindow)(u,{fallbackErrorMessage:"Failed to log in with LinkedIn.",onAuthWindowClosed:n,onSuccess:async e=>{let n=e.token;(0,o.resetPersistedAuth)();try{let i=(await y.default.get("/me/",{headers:{Authorization:n}})).data;t(i,n),null==a||a(e)}catch(e){(0,f.notifApiError)(e,{fallbackMessage:"".concat(e)}),null==i||i("Failed to log in with LinkedIn."),console.error("LinkedIn auth error:",e)}},onFailure(e){null==i||i(null!=e?e:"Failed to log in with LinkedIn.")}})}let en=e=>{let{className:a}=e,i=(0,r._)(e,["className"]);return(0,t.jsx)(c.default,(0,n._)({icon:ea.LinkedIn,className:(0,d.default)("text-typ-linkedin",a)},i))},es=e=>{let{className:a,children:i,short:l,onClick:u,onBeforeAuthStart:c,loginOnly:m}=e,f=(0,r._)(e,["className","children","short","onClick","onBeforeAuthStart","loginOnly"]),g=(0,h.useRouter)(),{logIn:y}=(0,o.useAuth)(),[w,v]=(0,x.useState)(!1),b=(0,x.useCallback)(()=>
2{if(u)return void u();null==c||c(),v(!0),ei({logIn:y,onSuccess:e=>{A(e,g)},onError:e=>{$.default.error(null!=e?e:"Failed to log in with LinkedIn.")},loginOnly:m});let e=setTimeout(()=>v(!1),3e3);return()=>clearTimeout(e)},[y,u,c,g,m]);return(0,t.jsx)(p,(0,s._)((0,n._)({className:(0,d.default)(a),loading:w,onClick:b,short:l,icon:en},f),{children:"LinkedIn"}))};async function er(e){let{logIn:t,onSuccess:a,onError:i,onAuthWindowClosed:n,loginOnly:s=!1}=e,r=(0,g.buildOAuthAttributionParams)(s?{login_only:"true"}:void 0),l=(0,k.encodeQueryParams)(r),u="/oauth/twitter/start/"+(l.length>0?"?"+l:"");(0,J.openAuthWindow)(u,{fallbackErrorMessage:"Failed to log in with Twitter.",onAuthWindowClosed:n,onSuccess:async e=>{let n=e.token;(0,o.resetPersistedAuth)();try{let i=(await y.default.get("/me/",{headers:{Authorization:n}})).data;t(i,n),null==a||a(e)}catch(e){(0,f.notifApiError)(e,{fallbackMessage:"".concat(e)}),null==i||i("Failed to log in with X/Twitter."),console.error("Twitter auth error:",e)}},onFailure(e){null==i||i(null!=e?e:"Failed to log in with X/Twitter.")}})}let el=e=>{let{className:a,variant:i,short:l,children:u,onClick:c,onBeforeAuthStart:m,loginOnly:f}=e,g=(0,r._)(e,["className","variant","short","children","onClick","onBeforeAuthStart","loginOnly"]),y=(0,h.useRouter)(),{logIn:w}=(0,o.useAuth)(),[v,b]=(0,x.useState)(!1),j=(0,x.useCallback)(()=>{if(c)return void c();null==m||m(),b(!0),er({logIn:w,onSuccess:e=>{A(e,y)},onError:e=>{$.default.error(null!=e?e:"Failed to log in with X/Twitter.")},loginOnly:f});let e=setTimeout(()=>b(!1),3e3);return()=>clearTimeout(e)},[w,c,m,y,f]);return(0,t.jsxs)(p,(0,s._)((0,n._)({className:(0,d.default)(a),loading:v,onClick:j,short:l,variant:i},g),{children:[(0,t.jsx)("span",{className:(0,d.default)("x-symbol before:text-current text-[110%]",i&&"primary"!==i?"before:text-typ-c2":"before:text-white"),children:"X"}),(0,t.jsx)("span",{className:"px-[1.5px] opacity-60",children:"/"}),(0,t.jsx)("span",{children:"Twitter"})]}))},eo=(0,e.i(843842).default)("corner-left-up",[["path",{d:"M14 9 9 4 4 9",key:"1af5af"}],["path",{d:"M20 20h-7a4 4 0 0 1-4-4V4",key:"1blwi3"}]]);function eu(e){let{provider:n,lastUsedProvider:s,showLastUsedIndicator:r,children:l}=e,o=s===n;return(0,t.jsxs)(a.VStack,{className:"gap-[3px]",children:[l,r&&(0,t.jsxs)(i.P3,{"aria-hidden":!o,className:(0,d.default)("text-typ-c3 opacity-80 text-[12px] text-center font-medium",!o&&"invisible"),children:[(0,t.jsx)(eo,{size:11,strokeWidth:2,className:"translate-y-[-2px]"})," Last used"]})]})}e.s(["default",0,function(e){let{label:n,variant:s="white",onClick:r,className:l,showLastUsedIndicator:o=!1,onBeforeAuthStart:u,loginOnly:c,withBackgroundGlow:p=!0}=e,[m,h]=(0,x.useState)(null);return(0,x.useEffect)(()=>{h((0,j.getLastUsedProvider)())},[]),(0,t.jsxs)(a.VStack,{className:(0,d.default)("items-center gap-2 sm:gap-3 xl:gap-x-4 max-[440px]:max-w-[310px] group",l),children:[n&&(0,t.jsx)(i.P1,{className:"text-typ-c3 text-center",children:n}),(0,t.jsxs)(a.HStack,{className:"relative gap-[inherit] justify-center items-start",children:[p&&(0,t.jsx)("div",{className:(0,d.default)("absolute inset-0 bg-gradient-to-br from-transparent via-typ-accent to-transparent rounded-full blur-2xl rotate-2 transform-gpu","opacity-20 group-hover:opacity-35 transition-opacity duration-300")}),(0,t.jsx)(eu,{provider:"google",lastUsedProvider:m,showLastUsedIndicator:o,children:(0,t.jsx)(et,{variant:s,short:!0,onClick:r,onBeforeAuthStart:u,loginOnly:c})}),(0,t.jsx)(eu,{provider:"twitter",lastUsedProvider:m,showLastUsedIndicator:o,children:(0,t.jsx)(el,{variant:s,short:!0,onClick:r,onBeforeAuthStart:u,loginOnly:c})}),(0,t.jsx)(eu,{provider:"linkedin",lastUsedProvider:m,showLastUsedIndicator:o,children:(0,t.jsx)(es,{variant:s,short:!0,onClick:r,onBeforeAuthStart:u,loginOnly:c})}),(0,t.jsx)(eu,{provider:"email",lastUsedProvider:m,showLastUsedIndicator:o,children:(0,t.jsx)(Y,{variant:s,short:!0,onClick:r,onBeforeAuthStart:u,loginOnly:c})})]})]})}],436224)},771105,e=>{"use strict";var t=e.i(878420),a=e.i(64386),i=e.i(886513),n=e.i(221628),s=e.i(416340),r=e.i(251839);let l={colorful:"radial-gradient(50.5% 50.5% at 42.13% -2.5%, rgba(0, 47, 215, 0.8) 0%, rgba(38, 229, 255, 0
2) 100%),\n        radial-gradient(44.5% 44.5% at 66.37% -4.67%, rgba(215, 0, 103, 0.8) 0%, rgba(255, 207, 38, 0) 100%)",accent:"radial-gradient(70% 50% at 50% 0%, hsl(var(--accentHsl)) 0%, hsl(var(--accentHsl) / 0) 100%)",ai:"radial-gradient(70% 50% at 50% 0%, hsl(var(--aiHsl)) 0%, hsl(var(--aiHsl) / 0) 100%)"};e.s(["TopBackgroundGradient",0,e=>{var o;let{className:u,variant:c="colorful",style:d}=e,p=(0,i._)(e,["className","variant","style"]),m=null!=(o=l[c])?o:l.colorful,h=(0,s.useMemo)(()=>(0,a._)((0,t._)({},d),{background:m}),[m,d]);return(0,n.jsx)("div",(0,t._)({className:(0,r.default)("absolute top-0 left-0 right-0 h-[500px] z-0 pointer-events-none opacity-10",u),style:h},p))}])},987194,e=>{"use strict";var t=e.i(878420),a=e.i(886513),i=e.i(221628),n=e.i(251839);e.s(["CardGradient",0,function(e){let{opacity:s=.12,rotate:r=180,hue:l=200,maxHeight:o=300,noRadius:u,style:c,className:d}=e,p=(0,a._)(e,["opacity","rotate","hue","maxHeight","noRadius","style","className"]);return(0,i.jsx)("div",(0,t._)({className:(0,n.default)("absolute inset-0 pointer-events-none select-none",!u&&"rounded-t-xl",d),style:(0,t._)({maxHeight:o,opacity:s,borderRadius:u?"0":"var(--big-radius) var(--big-radius) 0 0",background:"linear-gradient(".concat(r,"deg, hsla(").concat(l,", 89%, 53%, 1) 0%, hsla(").concat(l,", 89%, 53%, 0) 100%)")},c)},p))},"ColorfulGradient",0,function(e){let{opacity:a=.12,hue:s=200,rotate:r=0,intensity:l=.8,variance:o=.3,maxHeight:u="100%",style:c,className:d}=e;return(0,i.jsx)("div",{className:(0,n.default)("absolute inset-0 pointer-events-none select-none",d),style:(0,t._)({maxHeight:u,opacity:a,zIndex:0,background:"linear-gradient(".concat(r+25,"deg, hsla(").concat(s,", 100%, 50%, 1) 0%, hsla(").concat(s,", 100%, 50%, 0) ").concat(100*l,"%),\n        linear-gradient(").concat(r,"deg, hsla(").concat(s-Math.round(360*o),", 100%, 50%, 0.5) 0%, hsla(").concat(s-130,", 100%, 50%, 0) ").concat(50*l,"%),\n        linear-gradient(").concat(r-25,"deg, hsla(").concat(s+Math.round(360*o),", 100%, 50%, 1) 0%, hsla(").concat(s+140,", 100%, 50%, 0) ").concat(100*l,"%)")},c)})}])},383025,247150,255339,579118,998177,e=>{"use strict";var t=e.i(221628),a=e.i(384345),i=e.i(674829),n=e.i(416340),s=e.i(620245);function r(e,t){let[a,i]=(0,n.useState)(0);(0,n.useEffect)(()=>{if(!e)return;let t=setInterval(()=>i(e=>e+1),1e3);return()=>clearInterval(t)},[]);let r=(0,n.useMemo)(()=>e&&(0,s.formatFriendlyRelativeDate)(e,t),[t,e,a]);return{liveRelativeDate:r,isInFuture:(0,n.useMemo)(()=>e&&new Date(e).getTime()>new Date().getTime(),[e,a]),diffInSeconds:(0,n.useMemo)(()=>e&&(new Date().getTime()-new Date(e).getTime())/1e3,[e,a])}}e.s(["default",0,r],247150);let l=(0,e.i(843842).default)("badge-percent",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M9 9h.01",key:"1q5me6"}],["path",{d:"M15 15h.01",key:"lqbp3k"}]]);e.s(["BadgePercent",0,l],255339);var o=e.i(13660),u=e.i(549198),c=e.i(839532),d=e.i(103658);let p=(0,u.create)()((0,d.withDevtools)((0,c.subscribeWithSelector)(e=>({yearlyBillingEnabled:!0,couponCode:null,setYearlyBillingEnabled:t=>e({yearlyBillingEnabled:t},!1,"setYearlyBillingEnabled"),setCouponCode:t=>e({couponCode:t},!1,"setCouponCode"),toggleBillingPeriod:()=>e(e=>({yearlyBillingEnabled:!e.yearlyBillingEnabled}),!1,"toggleBillingPeriod"),clearCouponCode:()=>e({couponCode:null},!1,"clearCouponCode"),applyCouponCode:t=>e({couponCode:t},!1,"applyCouponCode")})),{name:"PaywallStore"})),m=()=>p(e=>e.yearlyBillingEnabled),h=()=>p(e=>e.couponCode);e.s(["useCouponCode",0,h,"usePaywallStore",0,p,"useYearlyBillingEnabled",0,m],579118);var x=e.i(251839);function f(e,t){return"free"!==e.nickname&&!!e.displayYearlyPrice&&t}function g(e,t){return"free"!==e.nickname&&(e.showMonthlyBilling||t)}function y(e){let t=e%1!=0?e.toFixed(2):"".concat(e);return"$".concat(t)}e.s(["extractNumericPrice",0,function(e){let t=e.match(/[\d.]+/);return t?parseFloat(t[0]):0},"formatPrice",0,y,"getToggleableBillingPlans",0,function(e,t){return e.filter(e=>g(e,t))},"isCouponEnabledForPlan",0,function(e,t,a){var i;let{yearly_only:n,no_team_plans:s}=null!=(i=null==t?void 0:t.metadata)?i:{},r="true"!==s||!e.isBusinessPlan;return("true"!==n||a)&&r}
2,"isToggleableBillingPlan",0,g,"shouldDisplayYearlyPrice",0,f,"shouldShowAnnualOnlyLabel",0,function(e,t,a){return f(e,t)&&"free"!==e.nickname&&!e.showMonthlyBilling&&!a}],998177);let w=e=>{var a;let{coupon:i}=e,{liveRelativeDate:n,isInFuture:s,diffInSeconds:l}=r(null==i||null==(a=i.metadata)?void 0:a.expiration_date);return n?s?(0,t.jsxs)("span",{className:(0,x.default)(l&&[l>-1800&&"text-typ-orange",l>-59&&"text-typ-error"]),children:["Expires ",(0,t.jsx)("span",{className:"whitespace-nowrap",children:n})]}):(0,t.jsx)("span",{className:"text-typ-error",children:"Expiring now!"}):null};e.s(["CouponExpiration",0,w,"default",0,function(e){let{customDetail:s,mutedColors:u,className:c}=e,d=h(),p=null==d?void 0:d.coupon,f=null==p?void 0:p.metadata,g=m(),v=(null==f?void 0:f.yearly_only)==="true",b=v&&!g,j=null==p?void 0:p.name.includes("Black Friday"),{liveRelativeDate:A}=r(null==f?void 0:f.expiration_date),E=(0,n.useMemo)(()=>(e=>{if(!e)return"";let{amount_off:t,duration:a,duration_in_months:i,percent_off:n}=e;if(e.name.includes(n+"%")&&(e.name.includes("forever")||e.name.includes("month")))return"Discount applied";if(n){if("once"===a)return"".concat(n,"% off for the first year");if("forever"===a)return"".concat(n,"% off forever");if(i&&e.name.includes("%")){if(i<12)return"".concat(n,"% for ").concat(i," months");else if(12===i)return"For the first year";else if(i/12%1==0)return"For the first ".concat(i/12," years")}else if(i){if(i<12)return"".concat(n,"% for ").concat(i," months");else if(12===i)return"".concat(n,"% for the first year");else if(i/12%1==0)return"".concat(n,"% for the first ").concat(i/12," years")}}if(t)if(1!==i&&"once"!==a)return"".concat(y(t/100)," off for ").concat(i," months");else if(e.name.includes("$".concat(t/100)))return"Applied during checkout";else return"".concat(y(t/100)," discount applied during checkout");return"Discount applied"})(p),[p]);return d?(0,t.jsx)("div",{className:(0,x.default)("transition-all duration-200",b&&"saturate-50 opacity-60 scale-95"),children:(0,t.jsx)(a.Center,{className:(0,x.default)("px-2 animate-in zoom-in-75 fade-in-0 delay-500 ease-in-out duration-400 fill-mode-both",c),children:(0,t.jsxs)(a.VStack,{className:"gap-[2px] relative min-w-[240px] max-w-[340px]",noWrap:!0,children:[(0,t.jsxs)(o.motion.div,{initial:{scaleY:.1,originY:1},animate:{scaleY:1},transition:{type:"spring",duration:.6,bounce:.2,delay:.5},className:(0,x.default)("flex flex-nowrap items-center justify-between overflow-hidden","gap-2 py-2.5 px-3 rounded-tl-[12px] rounded-tr-[12px] rounded-bl-xs rounded-br-xs shadow-sm",["bg-linear-to-b",u?"from-[hsl(208_30%_55%)] via-[hsl(212_30%_45%)] to-[hsl(212_30%_45%)]":"from-[#2ab2f6] via-typ-accent to-typ-accent"],"shadow-[0px_0.5px_2px_0.5px_hsl(0_0%_0%/0.08),0px_0px_80px_20px_hsl(var(--accentHsl)/0.2)]",j?"text-white dark:text-black from-gray-800 dark:from-white via-black dark:via-[rgb(245,245,245)] to-black dark:to-[rgb(245,245,245)]":"text-white"),children:[(0,t.jsx)(i.P1,{className:"text-current text-[15px] font-semibold drop-shadow-[0_0_1px_hsl(0_0%_0%/0.2)]",children:null==p?void 0:p.name}),(0,t.jsx)(l,{size:23,className:"opacity-80 drop-shadow-[0_0_1px_hsl(0_0%_0%/0.2)] translate-y-[-1px]",strokeWidth:1.25})]}),(0,t.jsxs)(o.motion.div,{initial:{scaleY:.1,originY:0},animate:{scaleY:1},transition:{type:"spring",duration:.8,bounce:.2,delay:.65},className:(0,x.default)("flex flex-col flex-nowrap gap-1 py-2.5 px-3 bg-typ-bg0 rounded-tl-xs rounded-tr-xs rounded-bl-[12px] rounded-br-[12px]","shadow-[0px_0.5px_2px_0.5px_hsl(0_0%_0%/0.08),0px_0px_80px_20px_hsl(var(--accentHsl)/0.2)]",j?"bg-linear-to-t from-gray/10":"bg-linear-to-t from-typ-accent/10"),children:[E&&(0,t.jsx)(i.P2,{className:(0,x.default)("text-[14px]",(null==f?void 0:f.description)&&"font-medium"),children:E}),(null==f?void 0:f.description)&&(0,t.jsx)(i.P2,{className:"text-[13.5px] text-typ-c3",children:null==f?void 0:f.description}),(v||A||s)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"border-t border-typ-c5 opacity-80 border-dashed mt-2 mb-1.5 -mx-2"}),(0,t.jsx)(i.P3,{className:"font-mono text-[12px] tracking-tight",children:null!=s?s:(0,t.jsxs)(t.Fragment,{children:[v&&(0,t.jsx)(t.Fragment,{children:"Valid on yearly plans"}),v&&A&&(0,t.jsx)(t.Fragment,{children:" · "}),(0,t.jsx)(w,{coupon:p})]})})]})]})]})})}):null}],383025)},114574,e=>{"use strict";var t=e.i(976859),a=e.i(278337),i=e.i(416340),n=e.i(989589),s=e.i(387911);e.s(["default",0,function(){(function(){let{isLoggedIn:e}=(0,t.useLoggedIn)(),n="true"===(0,a.useRouter)().query.login,r=(0,i.useCallback)(async()=>{let e=await s.default.get("/oauth/twitter/start/?direct-login=true&ref=direct-login");window.location=e.data.redirect},[]);(0,i.useEffect)(()=>{!e&&n&&r()},[r,e,n])})(),function(){let e=(0,a.useRouter)(),r=e.query.token,{logIn:l}=(0,t.useAuth)(),o=(0,i.useCallback)(async()=>{try{let e=await s.default.get("/me/",{headers:{Authorization:r}});l(e.data,r)}catch(e){console.error(e)}},[l,r]);(0,i.useEffect)(()=>{r&&(e.pathname===n.default.home()||e.pathname===n.default.landingPath)&&o()},[o,e,r])}(),function(){let e=(0,a.useRouter)(),{isLoggedIn:i}=(0,t.useLoggedIn)();"true"===e.query.login&&i&&e.replace("/"),e.query.token&&"/"===e.pathname&&i&&e.replace("/")}()}])},974671,918670,e=>{"use strict";var t=e.i(278337),a=e.i(416340),i=e.i(940540);e.s(["default",0,function(e,n){let s=(0,t.useRouter)(),r=(0,i.usePrevious)(s.pathname),l=(0,a.useCallback)(e,null!=n?n:[]);(0,a.useEffect)(()=>{r!==s.pathname&&l()},[l,r,s.pathname])}],974671);
2let n=(0,e.i(843842).default)("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);e.s(["Lock",0,n],918670)},338685,338346,e=>{"use strict";var t=e.i(843842);let a=(0,t.default)("mic",[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]]);e.s(["Mic",0,a],338685);let i=(0,t.default)("paperclip",[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]]);e.s(["Paperclip",0,i],338346)},609766,540120,e=>{"use strict";var t=e.i(221628),a=e.i(830469),i=e.i(384345),n=e.i(288489),s=e.i(674829),r=e.i(857550),l=e.i(334858),o=e.i(338685),u=e.i(338346),c=e.i(161499),d=e.i(13660),p=e.i(416340),m=e.i(251839);e.s(["default",0,function(e){let{messages:h,inputText:x,showCursor:f,isTyping:g,showSendButton:y,inputDisabled:w}=e,v=(0,p.useRef)(null),b=function(e){let t=[],a=[];for(let i of e)"user"===i.type?(a.length>0&&(t.push({type:"ai",messages:[...a],key:a[0].id}),a=[]),t.push({type:"user",message:i})):a.push(i);return a.length>0&&t.push({type:"ai",messages:a,key:a[0].id}),t}(h),j=x.length>0;return(0,p.useEffect)(()=>{v.current&&v.current.scrollTo({top:v.current.scrollHeight,behavior:"smooth"})},[h,x]),(0,t.jsxs)(i.VStack,{className:"gap-4 h-full flex flex-col",children:[(0,t.jsx)("div",{ref:v,className:"flex-1 min-h-0 px-1 overflow-y-auto flex flex-col justify-end",children:(0,t.jsx)(d.motion.div,{className:"flex flex-col gap-3",layout:"position",children:b.map(e=>"user"===e.type?(0,t.jsx)(d.motion.div,{layout:"position",initial:{opacity:0,y:12,scale:.98},animate:{opacity:1,y:0,scale:1},transition:{type:"spring",duration:.4,bounce:.15},children:(0,t.jsx)(i.VStack,{className:"gap-2 items-end",children:(0,t.jsx)("div",{className:"bg-typ-c4/10 text-typ-c2 rounded-lg px-3 py-2 max-w-[80%]",children:(0,t.jsx)(s.P3,{children:e.message.text})})})},e.message.id):(0,t.jsx)(d.motion.div,{layout:"position",children:(0,t.jsx)(i.VStack,{className:"gap-2 items-start",children:(0,t.jsx)(c.AnimatePresence,{children:e.messages.map(e=>"ai-text"===e.type?(0,t.jsx)(d.motion.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{type:"spring",duration:.4,bounce:.1},children:(0,t.jsx)(s.P3,{className:"text-typ-c1",children:e.text})},e.id):"ai-tool"===e.type?(0,t.jsx)(d.motion.div,{initial:{opacity:0,y:6},animate:{opacity:1,y:0},exit:{opacity:0,height:0,marginTop:0,marginBottom:0},transition:{type:"spring",duration:.3,bounce:.1},children:(0,t.jsxs)(i.HStack,{className:"gap-1.5 items-center ml-0.5 my-0.5",noWrap:!0,children:[(0,t.jsx)("span",{className:"size-[10px] flex items-center justify-center flex-none",children:e.complete?(0,t.jsx)(l.Check,{strokeWidth:2.5,className:"text-typ-c4 size-3"}):(0,t.jsx)(n.Spinner,{size:"tiny"})}),(0,t.jsx)(s.P3,{className:"text-typ-c4 text-2xs leading-none",children:e.complete&&e.doneText?e.doneText:e.pendingText})]})},e.id):null)})})},e.key))})}),(0,t.jsxs)(d.motion.form,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{type:"spring",duration:.6,bounce:.1},className:(0,m.default)("relative flex-shrink-0 flex flex-col gap-4 white-button rounded-2xl p-3","transition-shadow duration-200",g&&"shadow-[0_0_20px_hsl(var(--aiHsl)/0.3)]"),onSubmit:e=>e.preventDefault(),children:[(0,t.jsx)("div",{className:"min-h-11 flex items-start",children:(0,t.jsxs)(s.P3,{className:(0,m.default)(j?"text-typ-c2":"text-typ-c4",w&&"text-typ-c4"),children:[j?x:"Ask anything, / for commands",j&&(0,t.jsx)("span",{className:(0,m.default)("inline-block w-[2px] h-4 bg-white ml-[1px] align-middle -translate-y-0.5 shadow-[0_0_6px_rgba(255,255,255,0.6)]",!f&&"opacity-0")})]})}),(0,t.jsxs)(i.HStack,{className:"justify-between items-center",noWrap:!0,children:[(0,t.jsx)(u.Paperclip,{className:"size-[15px] text-typ-c4"}),(0,t.jsxs)(i.HStack,{className:"gap-3 items-center",noWrap:!0,children:[(0,t.jsx)(s.P3,{className:"text-2xs text-typ-c4 font-mono",noWrap:!0,children:"Sonnet"}),(0,t.jsx)(c.AnimatePresence,{mode:"popLayout",initial:!1,children:y?(0,t.jsx)(d.motion.div,{initial:{opacity:0,scale:.85}
2,animate:{opacity:1,scale:1},exit:{opacity:0,scale:.85},transition:{type:"spring",duration:.15,bounce:.1},children:(0,t.jsx)(a.Button,{type:"submit",size:"tiny",variant:"primary",icon:(0,t.jsx)(r.ArrowUp,{className:"size-3.5"}),iconSide:"right",className:"size-6 p-0 rounded-full bg-typ-ai hover:bg-typ-ai/90"})},"send"):(0,t.jsx)(d.motion.div,{initial:{opacity:0,scale:.85},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.85},transition:{type:"spring",duration:.15,bounce:.1},children:(0,t.jsx)(a.Button,{type:"button",size:"tiny",variant:"white",icon:(0,t.jsx)(o.Mic,{className:"size-[15px]"}),iconSide:"right",className:"size-7 p-0 rounded-full"})},"mic")})]})]})]})]})}],609766),e.i(927840);var h=e.i(842097),x=e.i(540826),f=e.i(591183);e.s(["default",0,function(e){let{platform:a,content:n,isEditing:r=!1,showCaret:l=!1,className:o,showPlatformIcon:u=!0,userName:c="Fabrizio Rinaldi",userHandle:p="@linuz90",userAvatar:g="https://avatars.typefully.com/linuz90"}=e,y="twitter"===a?x.Twitter:h.LinkedIn;return(0,t.jsxs)(d.motion.div,{initial:{opacity:0}
2,animate:{opacity:r?.55:1,scale:r?.97:1},transition:{duration:.5,ease:"easeInOut"},className:(0,m.default)("relative",o),children:[u&&(0,t.jsx)(i.Center,{className:"mb-3",children:(0,t.jsxs)(i.HStack,{className:"gap-1 items-center",children:[(0,t.jsx)(y,{className:(0,m.default)("size-[0.875em] text-typ-c4")}),(0,t.jsx)(s.P3,{className:"text-typ-c4 font-semibold capitalize",children:a})]})}),(0,t.jsxs)(i.HStack,{className:(0,m.default)("gap-3 items-center","linkedin"===a?"mb-3":"mb-1"),children:[(0,t.jsx)(f.default,{url:g,className:"size-10"}),(0,t.jsxs)(i.VStack,{className:"gap-0 flex-1",children:[(0,t.jsx)(s.P2,{className:"font-semibold text-typ-c1",children:c}),"twitter"===a&&(0,t.jsx)(s.P3,{children:p}),"linkedin"===a&&(0,t.jsx)(s.P3,{className:"text-typ-c3 opacity-80 text-2xs",children:"Co-founder & designer at Typefully"})]})]}),(0,t.jsx)(i.VStack,{className:(0,m.default)("gap-3","twitter"===a&&"pl-13 pt-1"),children:"string"==typeof n?(0,t.jsxs)(s.P2,{className:"text-typ-c2 leading-relaxed whitespace-pre-wrap",children:[n,l&&(0,t.jsx)("span",{className:"inline-block w-[2px] h-[1.1em] bg-white align-middle ml-px shadow-[0_0_6px_rgba(255,255,255,0.6)]"})]}):n})]})}],540120)},36672,e=>{"use strict";e.s(["timeoutPromise",0,e=>new Promise(t=>setTimeout(t,e))])},772022,267539,e=>{"use strict";var t=e.i(878420),a=e.i(64386),i=e.i(221628),n=e.i(771105),s=e.i(384345),r=e.i(609766),l=e.i(540120),o=e.i(954629),u=e.i(161499),c=e.i(13660),d=e.i(462504),p=e.i(416340),m=e.i(251839),h=e.i(36672);let x="0px 0px 50px hsl(var(--aiHsl)/0.13), 0px 0px 160px hsl(var(--aiHsl)/0.12)";e.s(["AI_GLOW_SHADOW",0,x,"AnimatedCard",0,function(e){let{children:t,className:a,href:n}=e,s=n?c.motion.a:c.motion.div;return(0,i.jsx)(s,{href:n,target:n?"_blank":void 0,rel:n?"noopener noreferrer":void 0,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.35},variants:{hidden:{opacity:0,y:24},visible:{opacity:1,y:0,transition:{duration:.6,ease:"easeOut"}}},className:(0,m.default)("rounded-[20px] overflow-hidden bg-[#0a0a0b] border border-white/[0.06] flex flex-col",n&&"group hover:border-white/[0.12] transition-colors",a),children:t})},"AnimatedItem",0,function(e){let{children:t,className:a,delay:n=0}=e;return(0,i.jsx)(c.motion.div,{variants:{hidden:{opacity:0,y:14},visible:{opacity:1,y:0,transition:{duration:.5,ease:"easeOut",delay:n}}},className:a,children:t})},"default",0,function(e){let{children:t,className:a}=e,[n,s]=(0,p.useState)(!1);return(0,i.jsx)(c.motion.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.4,margin:"0px 0px -300px 0px"},onViewportEnter:()=>{setTimeout(()=>s(!0),600)},variants:{hidden:{opacity:0,y:24},visible:{opacity:1,y:0,transition:{duration:.65,ease:"easeOut"}}},style:{boxShadow:n?x:"none",transition:"box-shadow 0.8s ease-out"},className:(0,m.default)("rounded-[20px] overflow-hidden bg-typ-bg0 border border-typ-c7 flex flex-col",a),children:(0,i.jsx)("div",{className:"flex-1 p-4 flex flex-col gap-3 justify-end",children:t})})}],267539);let f=new Set(["a","an","the","in","on","at","to","for","and","or","but","is","it","my","our","we","i","so","if","of","no","up"]),g=[{action:"type-draft",text:"We shipped a lot in the last few months at Typefully\n\nnew API, MCP support, a way better calendar, and the AI assistant keeps getting smarter",charDelayMs:20},{action:"wait",ms:650},{action:"pan",panel:"chat"},{action:"wait",ms:600},{action:"type-chat",text:"Make this more compelling, check our changelog for what I'm missing",charDelayMs:30},{action:"wait",ms:500},{action:"send-chat"},{action:"wait",ms:300},{action:"ai-text",text:"Let me check your recent changelog."},{action:"wait",ms:600},{action:"ai-tool",pendingText:"Fetching typefully.com/changelog...",doneText:"Fetched 8 recent updates",durationMs:3e3},{action:"wait",ms:800},{action:"ai-tool-start",pendingText:"Editing draft...",doneText:"Changes applied"},{action:"wait",ms:600},{action:"pan",panel:"draft"},{action:"wait",ms:600},{action:"update-draft",platform:"twitter",content:"We shipped a lot in the last few months at Typefully:\n\n→ Full API v2 + MCP server — schedule from Claude, ChatGPT, or your own tools\n→ Agent skills for Claude Code, Cursor, and Windsurf\n→ Revamped calendar with drag & drop and queue view\n→ AI-generated image descriptions in one click\n→ PDF carousels for LinkedIn\n\nAnd the AI assistant now edits your drafts right in the editor."},{action:"wait",ms:1e3},{action:"ai-tool-done"},{action:"wait",ms:500},{action:"pan",panel:"chat"},{action:"wait",ms:600},{action:"ai-text",text:"Found several updates you didn't mention. Added agent skills, PDF carousels, and more."},{action:"wait",ms:2e3},{action:"type-chat",text:"Now adapt it for LinkedIn",charDelayMs:30},{action:"wait",ms:500},{action:"send-chat"},{action:"wait",ms:300},{action:"ai-text",text:"Converting to LinkedIn format..."},{action:"wait",ms:600},{action:"ai-tool",pendingText:"Adapting for LinkedIn...",durationMs:2500},{action:"replace-last-ai-text",text:"Here's a LinkedIn version in your usual tone of voice."},{action:"wait",ms:400},{action:"ai-tool-start",pendingText:"Editing draft...",doneText:"Changes applied"},{action:"wait",ms:600},{action:"pan",panel:"draft"},{action:"wait",ms:600},{action:"update-draft",platform:"linkedin",content:"We shipped a lot of improvements to Typefully in the last few months. Quick recap of the highlights.\n\nWe launched API v2 with MCP support — you can now schedule posts directly from Claude, ChatGPT, Cursor, or any MCP-compatible tool. We also released agent skills so devs can draft and publish from the terminal.\n\nThe calendar got a major upgrade — drag & drop scheduling and a new queue view for planning full weeks at a glance.\n\nMore updates:\n→ AI-generated image descriptions for better accessibility\n→ PDF carousels for LinkedIn posts\n→ The AI assistant now edits drafts right in y
2our editor"},{action:"wait",ms:1e3},{action:"ai-tool-done"},{action:"wait",ms:500},{action:"pan",panel:"chat"},{action:"wait",ms:600},{action:"ai-text",text:"Expanded into longer form with more context for LinkedIn."},{action:"wait",ms:2e3},{action:"pan",panel:"draft"},{action:"wait",ms:800},{action:"append-draft",text:"\n\nWe use it for everything we post. Give it a try.",charDelayMs:20},{action:"wait",ms:1e3},{action:"pan",panel:"chat"},{action:"wait",ms:600},{action:"type-chat",text:"Never use em dashes for LinkedIn",charDelayMs:30},{action:"wait",ms:500},{action:"send-chat"},{action:"wait",ms:300},{action:"ai-text",text:"Got it! I'll save that as a writing rule and fix the post."},{action:"wait",ms:600},{action:"ai-tool",pendingText:"Updating writing rules...",doneText:"Saved: no em dashes on LinkedIn",durationMs:1800},{action:"wait",ms:600},{action:"ai-tool-start",pendingText:"Editing draft...",doneText:"Changes applied"},{action:"wait",ms:600},{action:"pan",panel:"draft"},{action:"wait",ms:600},{action:"update-draft",platform:"linkedin",content:"We shipped a lot of improvements to Typefully in the last few months. Quick recap of the highlights.\n\nWe launched API v2 with MCP support. You can now schedule posts directly from Claude, ChatGPT, Cursor, or any MCP-compatible tool. We also released agent skills so devs can draft and publish from the terminal.\n\nThe calendar got a major upgrade. Drag & drop scheduling and a new queue view for planning full weeks at a glance.\n\nMore updates:\n→ AI-generated image descriptions for better accessibility\n→ PDF carousels for LinkedIn posts\n→ The AI assistant now edits drafts right in your editor\n\nWe use it for everything we post. Give it a try."},{action:"wait",ms:1e3},{action:"ai-tool-done"},{action:"wait",ms:500},{action:"pan",panel:"chat"},{action:"wait",ms:600},{action:"ai-text",text:"Done! Replaced all em dashes with periods in your LinkedIn post."},{action:"wait",ms:2e3},{action:"type-chat",text:"Schedule it for tomorrow",charDelayMs:30},{action:"wait",ms:500},{action:"send-chat"},{action:"wait",ms:300},{action:"ai-tool",pendingText:"Checking queue schedule...",doneText:"Found free slot in your queue",durationMs:2500},{action:"wait",ms:600},{action:"ai-tool",pendingText:"Scheduling post...",doneText:"Scheduled for tomorrow at 14:25",durationMs:2e3},{action:"wait",ms:600},{action:"ai-text",text:"All set! Your post goes live tomorrow at 14:25."}];e.s(["default",0,function(e){let{className:y}=e,[w,v]=(0,p.useState)([]),[b,j]=(0,p.useState)(""),[A,E]=(0,p.useState)(!0),[k,C]=(0,p.useState)(!1),[F,N]=(0,p.useState)(!1),[D,S]=(0,p.useState)(!1),[B,T]=(0,p.useState)("draft"),[_,P]=(0,p.useState)(!0),M=(0,p.useRef)(null),L=(0,p.useRef)(null),R=(0,d.useInView)(L,{once:!0,amount:.3});(0,p.useEffect)(()=>{let e=M.current;if(!e)return;let t=new ResizeObserver(e=>{let[t]=e;P(t.contentRect.width<550)});return t.observe(e),()=>t.disconnect()},[]);let[I,z]=(0,p.useState)(""),[O,H]=(0,p.useState)("twitter"),[W,U]=(0,p.useState)(0),[V,q]=(0,p.useState)(!1),[G,K]=(0,p.useState)(!0),[X,Q]=(0,p.useState)(!1),[Y,Z]=(0,p.useState)(!1),[$,J]=(0,p.useState)(0),[ee,et]=(0,p.useState)(!1),ea=window.matchMedia("(hover: hover)").matches,ei=(0,p.useRef)(""),en=(0,p.useRef)(""),es=(0,p.useRef)(0),er=(0,p.useRef)(null),el=(0,p.useCallback)(e=>{j(e),ei.current=e},[]),eo=(0,p.useCallback)(e=>{z(e),en.current=e},[]),eu=(0,p.useCallback)(()=>{v([]),el(""),E(!0),C(!1),N(!1),S(!1),T("draft"),eo(""),H("twitter"),U(0),q(!1),K(!0),Q(!1),Z(!1),es.current=0,er.current=null,J(e=>e+1)},[el,eo]);return(0,p.useEffect)(()=>{if(!X)return;let e=setTimeout(()=>Z(!0),3e3);return()=>clearTimeout(e)},[X]),(0,p.useEffect)(()=>{if(!D)return;let e=setInterval(()=>{E(e=>!e)},530);return()=>clearInterval(e)},[D]),(0,p.useEffect)(()=>{if(!R)return;let e=!1,i=async t=>{let{text:a,charDelayMs:i,onUpdate:n}=t;n("");for(let t=1;t<=a.length;t+=1){if(e||(await (0,h.timeoutPromise)(function(e,t,a){if("\n"===e[t])return 8*a;let i=e.lastIndexOf(" ",t-1)+1,n=e.indexOf(" ",t);-1===n&&(n=e.length);let s=e.slice(i,n).replace(/\n/g,""),r=a;return f.has(s.toLowerCase())?r*=.45:s.length>8&&(r*=1.5),r*=.6+.8*Math.random(),t===i&&t>0&&(r+=1.2*a),t!==i&&.12>Math.random()&&(r+=1.5*a),t>0&&("."===e[t-1]||"!"===e[t-1]||"?"===e[t-1])?r+=5*a:t>0&&","===e[t-1]&&(r+=4*a),r}(a,t-1,i)),e))return;n(a.slice(0,t))}},n=()=>"msg-".concat(es.current++);return(async()=>
2{if(await (0,h.timeoutPromise)(2e3),!e){for(let o of g){var s,r,l;if(e)return;switch(o.action){case"type-draft":await i({text:o.text,charDelayMs:null!=(s=o.charDelayMs)?s:35,onUpdate:eo}),K(!1);break;case"append-draft":{K(!0);let e=en.current;await i({text:o.text,charDelayMs:null!=(r=o.charDelayMs)?r:35,onUpdate:t=>eo(e+t)}),K(!1);break}case"wait":await (0,h.timeoutPromise)(o.ms);break;case"type-chat":N(!1),S(!0),E(!0),await i({text:o.text,charDelayMs:null!=(l=o.charDelayMs)?l:40,onUpdate:el}),C(!0);break;case"send-chat":{let e=ei.current;v(t=>[...t,{type:"user",text:e,id:n()}]),el(""),C(!1),E(!1),S(!1),N(!0);break}case"ai-text":v(e=>[...e,{type:"ai-text",text:o.text,id:n()}]);break;case"ai-tool":{let i=n();if(v(e=>[...e,{type:"ai-tool",pendingText:o.pendingText,doneText:o.doneText,complete:!1,id:i}]),await (0,h.timeoutPromise)(o.durationMs),e)return;o.doneText?v(e=>e.map(e=>e.id===i?(0,a._)((0,t._)({},e),{complete:!0}):e)):v(e=>e.filter(e=>e.id!==i));break}case"ai-tool-start":{let e=n();er.current=e,v(t=>[...t,{type:"ai-tool",pendingText:o.pendingText,doneText:o.doneText,complete:!1,id:e}]),q(!0);break}case"ai-tool-done":{let e=er.current;e&&(v(i=>i.map(i=>i.id===e?(0,a._)((0,t._)({},i),{complete:!0}):i)),er.current=null);break}case"replace-last-ai-text":v(e=>{let i=[...e];for(let e=i.length-1;e>=0;e--){let n=i[e];if("ai-text"===n.type){i[e]=(0,a._)((0,t._)({},n),{text:o.text});break}}return i});break;case"pan":T(o.panel);break;case"update-draft":H(o.platform),eo(o.content),U(e=>e+1),q(!1),K(!1)}}e||Q(!0)}})(),()=>{e=!0}},[R,el,eo,$]),(0,i.jsx)("div",{ref:L,className:(0,m.default)("perspective-midrange w-[900px] max-w-full not-xs:min-w-[102%] text-[15px] sm:text-[16px]","[--text-base:1em]","[--text-sm:0.9em]","[--text-xs:0.8em]","[--text-2xs:0.72em]","[--spacing:0.2em] sm:[--spacing:0.25em]","[--radius-xs:0.1em]","[--radius-sm:0.2em]","[--radius-md:0.4em]","[--radius-lg:0.55em]","[--radius-xl:0.75em]","[--radius-2xl:1em]",y),children:(0,i.jsx)(c.motion.div,{initial:{opacity:0,y:10,z:-150,rotateX:-15},animate:{opacity:1,y:0,z:0,rotateX:0},transition:{type:"spring",duration:2,bounce:.1,delay:.3},className:"relative py-10 -mt-4 -mb-8 z-2",children:(0,i.jsxs)("div",{ref:M,onMouseEnter:()=>et(!0),onMouseLeave:()=>et(!1),className:"relative rounded-[1em] bg-typ-bg0 min-h-[450px] h-[50vh] sm:h-[55vh] max-h-[550px] overflow-hidden z-1",style:{boxShadow:x},children:[(0,i.jsx)("div",{className:"absolute inset-0 rounded-[1em] dark:shadow-[inset_0_0_0_0.5px_var(--c1)] opacity-15 z-3"}),(0,i.jsx)(u.AnimatePresence,{children:Y&&(ee||!ea)&&(0,i.jsxs)(c.motion.div,{initial:{opacity:0}
2,animate:{opacity:1},exit:{opacity:0},transition:{duration:.4},className:"absolute inset-0 z-5 flex items-center justify-center",children:[(0,i.jsx)("div",{className:"absolute inset-0 bg-typ-bg0/50"}),(0,i.jsxs)(c.motion.button,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.9},whileHover:{scale:1.05},whileTap:{scale:.95},transition:{duration:.25,delay:.1},onClick:eu,className:"relative z-1 flex items-center gap-2 px-4 py-2 rounded-full bg-typ-bg2/80 backdrop-blur-sm text-typ-c2 text-[length:--text-sm] cursor-pointer transition-colors hover:bg-typ-bg2",children:[(0,i.jsx)(o.RotateCcw,{className:"size-[1em]"}),"Replay"]})]})}),(0,i.jsxs)(c.motion.div,{animate:{x:_&&"chat"===B?"".concat(-76/176*100,"%"):"0%"},transition:{type:"spring",duration:.8,bounce:.15},className:(0,m.default)("flex h-full min-w-[550px]",_?"w-[176%]":"w-full"),children:[(0,i.jsx)("div",{className:(0,m.default)("flex-shrink-0 p-6 flex flex-col",_?"w-1/2":"flex-1"),children:(0,i.jsx)(u.AnimatePresence,{mode:"wait",children:(0,i.jsx)(c.motion.div,{initial:0===W?{opacity:0,scale:.95}:{opacity:0,y:20},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,scale:.95},transition:0===W?{duration:.3}:{type:"spring",duration:.6,bounce:.2},className:"h-full",children:(0,i.jsx)(l.default,{platform:O,content:I,isEditing:V,showCaret:G,className:(0,m.default)("h-full",!G&&"overflow-y-auto")})},W)})}),(0,i.jsxs)(s.VStack,{className:(0,m.default)("gap-0 relative bg-typ-bg1 overflow-hidden flex-shrink-0 h-full border-l border-typ-c7",_?"w-1/2":"w-[43%] max-w-[400px]"),noWrap:!0,children:[(0,i.jsx)("div",{className:"absolute top-0 h-[200px] inset-x-0 overflow-hidden z-[0] pointer-events-none",children:(0,i.jsx)(n.TopBackgroundGradient,{className:"opacity-10 -top-[100px] -left-[100px] saturate-200"})}),(0,i.jsx)("div",{className:"flex flex-col flex-1 min-h-0 relative px-3 pb-3",children:(0,i.jsx)(r.default,{messages:w,inputText:b,showCursor:A,isTyping:D,showSendButton:k,inputDisabled:F})})]})]})]})})})}],772022)},498328,e=>{"use strict";var t=e.i(221628);e.i(927840);var a=e.i(713935),i=e.i(830469),n=e.i(384345),s=e.i(674829),r=e.i(976859),l=e.i(436224),o=e.i(368833),u=e.i(278337),c=e.i(416340),d=e.i(251839);e.s(["default",0,function(e){let{attributionParams:p,label:m="Start with Typefully",loggedInLabel:h,loggedInCtaLabel:x="Continue to Typefully",className:f,variant:g,loggedInVariant:y="primary"}=e,{isLoggedIn:w,isLoaded:v}=(0,r.useLoggedIn)(),b=(0,u.useRouter)(),j=(0,c.useCallback)(()=>{(0,o.parseAndSaveAttributionData)(p)},[p]);return(0,t.jsx)("div",{inert:!v||void 0,"aria-hidden":!v||void 0,className:(0,d.default)(!v&&"invisible",f),children:v&&w?(0,t.jsxs)(n.VStack,{className:"items-center gap-3",children:[h&&(0,t.jsx)(s.P1,{className:"text-typ-c3 text-center",children:h}),(0,t.jsx)(i.Button,{icon:(0,t.jsx)(a.Typefully,{}),variant:y,onClick:()=>b.push("/"),className:"rounded-full px-6 [zoom:1.1]",children:x})]}):(0,t.jsx)(l.default,{label:m,variant:g,onBeforeAuthStart:j,withBackgroundGlow:!1})})}])},575109,e=>{"use strict";var t=e.i(221628),a=e.i(674829),i=e.i(102693),n=e.i(571697),s=e.i(702052),r=e.i(772022),l=e.i(498328);function o(e){let{utmParams:a}=e;return(0,t.jsx)(l.default,{attributionParams:a,label:"Try it free with",loggedInVariant:"aiPrimary"})}let u=n.CUSTOM_TYP_ATTRIBUTION_PARAMS.FEATURE_LANDING_PAGE({slug:"ai",ctaLocation:"hero"}),c="bg-gradient-to-r from-typ-ai to-[#8B5CF6] bg-clip-text text-transparent";e.s(["AI_GRADIENT_TEXT_CLASS",0,c,"default",0,function(){return(0,s.useForceDarkMode)(),(0,t.jsx)(i.LandingHero,{withLogo:!1,title:(0,t.jsxs)("span",{className:"animate-blur-in block",children:[(0,t.jsx)(a.P3,{className:"font-mono mb-4 opacity-80",children:"NEW WRITING ASSISTANT"}),"Turn rough ideas",(0,t.jsx)("br",{}),(0,t.jsx)("span",{className:"".concat(c," animate-blur-in"),children:"into great posts"})]}),subtitle:(0,t.jsxs)("span",{className:"animate-blur-in delay-500 block leading-relaxed",children:["A writing assistant that lives inside Typefully,",(0,t.jsx)("br",{className:"max-md:hidden"}),"and helps you write and schedule posts you're proud of."]}),ctaComponent:(0,t.jsx)("span",{className:"animate-blur-in delay-1000 block mt-4",children:(0,t.jsx)(o,{utmParam
2s:u})}),socialProofCopy:"creators and teams publishing on X and LinkedIn",ctaAboveImage:!0,image:(0,t.jsx)(r.default,{className:"mt-8"})})}],575109)},15103,e=>{"use strict";var t=e.i(878420),a=e.i(64386),i=e.i(886513),n=e.i(221628),s=e.i(384345),r=e.i(674829),l=e.i(251839),o=e.i(102693);e.s(["default",0,function(e){let{title:u,subtitle:c,titleClassName:d,subtitleClassName:p,className:m,children:h}=e,x=(0,i._)(e,["title","subtitle","titleClassName","subtitleClassName","className","children"]);return(0,n.jsxs)(s.VStack,(0,a._)((0,t._)({className:(0,l.default)("items-center text-center gap-3.5",(0,o.landingTypographyOverrides)(),m)},x),{children:[u&&(0,n.jsx)(r.H2,{className:d,children:u}),c&&(0,n.jsx)(r.H3,{className:p,children:c}),h]}))}])},101739,e=>{"use strict";var t=e.i(221628),a=e.i(384345),i=e.i(674829),n=e.i(168359),s=e.i(772022),r=e.i(575109),l=e.i(436224),o=e.i(15103);e.s(["default",0,function(){return(0,t.jsxs)(n.Section,{size:"lg",children:[(0,t.jsxs)(a.VStack,{className:"items-center gap-2",children:[(0,t.jsx)(o.default,{title:(0,t.jsxs)(t.Fragment,{children:["Turn rough ideas ",(0,t.jsx)("span",{className:r.AI_GRADIENT_TEXT_CLASS,children:"into great posts"})]}),subtitle:(0,t.jsx)(t.Fragment,{children:"Typefully gives you a Writing Assistant that lives inside your editor, learns your voice, and helps you write posts you're proud of."}),subtitleClassName:"w-2xl"}),(0,t.jsx)(i.P1,{className:"text-typ-c3 mt-5 mb-2",children:"Try it for free:"}),(0,t.jsx)(l.default,{})]}),(0,t.jsx)(a.Center,{children:(0,t.jsx)(s.default,{className:"mt-4 min-w-0!"})})]})}])},372953,715133,e=>{"use strict";var t=e.i(924486);e.s(["FaCaretDown",0,function(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"},child:[]}]})(e)},"FaPlay",0,function(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"},child:[]}]})(e)}],372953),e.i(878420),e.i(886513);var a=e.i(416340),i=Object.defineProperty,n=new Map,s=new WeakMap,r=0,l=void 0;a.Component,e.s(["useInView",0,function(){var e;let{threshold:t,delay:i,trackVisibility:o,rootMargin:u,root:c,triggerOnce:d,skip:p,initialInView:m,fallbackInView:h,onChange:x}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[f,g]=a.useState(null),y=a.useRef(),[w,v]=a.useState({inView:!!m,entry:void 0});y.current=x,a.useEffect(()=>{let e;if(!p&&f)return e=function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:l;if(void 0===window.IntersectionObserver&&void 0!==i){let n=e.getBoundingClientRect();return t(i,{isIntersecting:i,target:e,intersectionRatio:"number"==typeof a.threshold?a.threshold:0,time:0,boundingClientRect:n,intersectionRect:n,rootBounds:n}),()=>{}}let{id:o,observer:u,elements:c}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var a;return"".concat(t,"_").concat("root"===t?(a=e.root)?(s.has(a)||(r+=1,s.set(a,r.toString())),s.get(a)):"0":e[t])}).toString(),a=n.get(t);if(!a){let i,s=new Map,r=new IntersectionObserver(t=>{t.forEach(t=>{var a;let n=t.isIntersecting&&i.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=n),null==(a=s.get(t.target))||a.forEach(e=>{e(n,t)})})},e);i=r.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),a={id:t,observer:r,elements:s},n.set(t,a)}return a}(a),d=c.get(e)||[];return c.has(e)||c.set(e,d),d.push(t),u.observe(e),function(){d.splice(d.indexOf(t),1),0===d.length&&(c.delete(e),u.unobserve(e)),0===c.size&&(u.disconnect(),n.delete(o))}}(f,(t,a)=>{v({inView:t,entry:a}),y.current&&y.current(t,a),a.isIntersecting&&d&&e&&(e(),e=void 0)},{root:c,rootMargin:u,threshold:t,trackVisibility:o,delay:i},h),()=>{e&&e()}},[Array.isArray(t)?t.toString():t,f,c,u,d,p,o,h,i]);let b=null==(e=w.entry)?void 0:e.target,j=a.useRef();f||!b||d||p||j.current===b||(j.current=b,v({inView:!!m,entry:void 0}));let A=[g,w.inView,w.entry];return A.ref=A[0],A.inView=A[1],A.entry=A[2],A}],715133)},583092,e=>{"use strict";var t=e.i(221628),a=e.i(384345),i=e.i(168359),n=e.i(278337),s=e.i(989589),r=e.i(251839),l=e.i(712416),o=e.i(878420),u=e.i(64386),c=e.i(886513),d=e.i(976859),p=e.i(635891),m=e.i(13660),h=e.i(416340),x=e.i(372953),f=e.i(715133),g=e.i(86918);let y=(0,h.forwardRef)((e,a)=>{let{isLoggedIn:i}=(0,d.useLoggedIn)({defaultValue:!0});return i?null:(0,t.jsx)(w,(0,o._)({ref:a},e))});y.displayName="LandingVideo";let w=(0,h.forwardRef)((e,a)=>{let{src:i,type:n="video/mp4",sources:s,posterImage:l,autoPlay:d=!0,onLoad:y,onProgress:w,className:v}=e,b=(0,c._)(e,["src","type","sources","posterImage","autoPlay","onLoad","onProgress","className"]);(0,p.default)();let j=(0,h.useRef)(!1),[A,E]=(0,h.useState)(!1),{ref:k}=(0,f.useInView)({triggerOnce:!0,rootMargin:"0px 0px 0px 0px",onChange(e){var t;e&&d&&!j.current&&(j.current=!0,(null==(t=C.current)?void 0:t.paused)&&C.current.play().catch(e=>{if(e instanceof DOMException&&"NotAllowedError"===e.name)return void E(!0);throw e}))}}),C=(0,h.useRef)(null),F=null!=a?a:C,N=(0,h.useCallback)(()=>
2{if("function"==typeof F)return;let e=F.current;if(e){let t=0;e.buffered.length>0?t=e.buffered.end(0):e.played.length>0&&(t=e.played.end(0)),t>0&&(null==y||y()),null==w||w({time:e.currentTime,loadedTime:t,progress:e.currentTime/e.duration,paused:e.paused})}},[y,w,F]);return(0,h.useEffect)(()=>{if("function"==typeof F||!F.current)return;let e=F.current;return e.addEventListener("timeupdate",N),()=>{e.removeEventListener("timeupdate",N)}},[N,F]),(0,t.jsxs)("div",{className:(0,r.default)("relative leading-none z-0 shadow-lg rounded-xl overflow-hidden bg-cover bg-left-top bg-no-repeat",v),onClick:function(){if("function"==typeof F||!F.current)return;let e=F.current;e.paused?(e.play(),E(!1)):(e.pause(),E(!0))},style:{cursor:A?"pointer":"auto"},children:[(0,t.jsx)("div",{className:(0,r.default)("absolute inset-0 flex items-center justify-center z-1 leading-none pointer-events-none","[&>div]:flex [&>div]:items-center [&>div]:justify-center [&>div]:w-16 [&>div]:h-16","[&>div]:rounded-full [&>div]:bg-black/50 [&>div]:backdrop-blur-[10px]"),children:(0,t.jsx)(m.motion.div,{initial:!1,animate:A?{scale:1,opacity:1}:{scale:.8,opacity:0}
2,transition:{type:"tween",duration:.15},children:(0,t.jsx)(x.FaPlay,{className:"text-white relative left-0.5",size:28})})}),(0,t.jsxs)("video",(0,u._)((0,o._)({ref:(0,g.default)(k,F,C),controls:!1,playsInline:!0,autoPlay:!1,preload:"none",muted:!0,loop:!0,poster:l,onPlay:y,onLoad:y,className:"w-full z-1 block",style:(0,u._)((0,o._)({},b.style),{transform:"translateZ(0px)"})},b),{children:[i&&(0,t.jsx)("source",{src:i,type:n}),s&&s.map(e=>{let[a,i]=e;return(0,t.jsx)("source",{src:a,type:i},a)})]}))]})});w.displayName="LandingVideoInner";var v=e.i(15103);e.s(["default",0,function(){let e=(0,n.useRouter)().pathname===s.default.landingPath;return(0,t.jsxs)("div",{className:"relative z-0",children:[(0,t.jsx)(i.Section,{size:"lg",children:(0,t.jsxs)("div",{className:"grid gap-10 grid-cols-[384px_1fr] max-[768px]:grid-cols-1",children:[(0,t.jsx)("div",{className:"max-[768px]:hidden",children:(0,t.jsx)(y,{src:l.LANDING_BUCKET_URL+"/videos/grow.mp4",posterImage:"/images/landing/poster-grow.jpg",autoPlay:!0})}),(0,t.jsxs)(a.VStack,{className:"w-full gap-4 min-w-0",children:[(0,t.jsxs)(a.VStack,{className:(0,r.default)("w-full max-[768px]:mx-auto gap-10",!e&&"max-w-[500px]"),children:[(0,t.jsx)(v.default,{className:"items-start max-[768px]:items-center",title:"Check social media analytics that matter",titleClassName:"text-left! max-[768px]:!text-center",subtitle:(0,t.jsx)(t.Fragment,{children:"Build your audience with insights that make sense."}),subtitleClassName:"text-left! max-[768px]:!text-center"}),(0,t.jsxs)("div",{className:"max-[768px]:block hidden",children:[(0,t.jsx)("div",{className:"h-lg"}),(0,t.jsx)("div",{className:"w-full max-w-[380px] mx-auto",children:(0,t.jsx)(y,{src:l.LANDING_BUCKET_URL+"/videos/grow.mp4",posterImage:"/images/landing/poster-grow.jpg"})})]})]}),(0,t.jsx)("div",{className:"h-lg"}),(0,t.jsx)("div",{className:"max-[768px]:hidden",children:(0,t.jsx)("div",{className:"w-[933px] rounded-[16px] shadow-lg overflow-hidden leading-none",children:(0,t.jsx)("img",{src:"/images/landing/tweets.png",alt:"Posts",className:"w-[933px] h-[566px]"})})})]})]})}),(0,t.jsx)("div",{className:"absolute inset-x-0 -z-1 opacity-5",style:{top:-100,bottom:-50,background:"linear-gradient(0deg, hsla(210, 90%, 55%, 0) 0%, hsla(210, 90%, 55%, 1) 25%, hsla(210, 90%, 55%, 0) 100%)"}})]})}],583092)},840442,e=>{"use strict";var t=e.i(221628),a=e.i(384345),i=e.i(674829),n=e.i(619785),s=e.i(859455),r=e.i(635891),l=e.i(371123),o=e.i(754249),u=e.i(13660),c=e.i(278337),d=e.i(416340),p=e.i(251839),m=e.i(488685),h=e.i(840847),x=e.i(614808);function f(){return{height:window.innerHeight,width:window.innerWidth,scrollTop:window.pageYOffset}}let g=(0,d.createContext)({isHovering:!1});e.s(["FeatureContext",0,g,"default",0,function(e){var y,w;let{title:v,body:b,isNew:j,fullWidthFeature:A,link:E,children:k,className:C}=e,F=(0,c.useRouter)(),N=(0,r.default)(),{width:D,height:S,scrollTop:B}=function(){let{delay:e=0,throttle:t=500}={},[a,i]=(0,d.useState)(f()),n=(0,x.useThrottledCallback)(()=>{i(f())},t);return(0,d.useEffect)(()=>(window.addEventListener("resize",n),window.addEventListener("scroll",n),()=>{window.removeEventListener("resize",n),window.removeEventListener("scroll",n)}),[n,t]),(0,d.useEffect)(()=>{setTimeout(n,e)},[e,n]),a}(),[T,_]=(0,d.useState)(!1),P=(0,d.useRef)(null),M=(0,d.useCallback)(()=>{if(!P.current||!D||!S)return;let{top:e,left:t,width:a,height:i}=P.current.getBoundingClientRect(),n=Math.abs(e+i/2-(S+B)/2);100>Math.abs(t+a/2-D/2)&&n<140?_(!0):_(!1)},[B,S,D]);(0,s.default)("scroll",()=>{M()},null==(w=P.current)||null==(y=w.parentElement)?void 0:y.parentElement,{throttleDelay:250,deps:[M]}),(0,s.default)("scroll",()=>{M()},N?document.querySelector("[data-modal-scroll-container]"):void 0,{throttleDelay:250,deps:[M]}),(0,d.useEffect)(()=>{M()},[M]);let[L]=(0,l.default)(P),R=D&&D<640?T:L;return(0,t.jsx)(g.Provider,{value:{isHovering:R},children:(0,t.jsxs)("div",{className:(0,p.default)((0,n.default)({highlight:R,externalLink:!!E}),C),onClick:()=>{E&&(function(e){if(!e)return!1;let t=e.trim();return!/^(?:[a-zA-Z][a-zA-Z0-9+.-]*:|\/\/)/.test(t)}(E)?F.push(E):(0,m.default)(E))},ref:P,children:[E&&(0,t.jsx)(o.ArrowUpRight,{size:18,color:R?"var(--c3)":"var(--c4)",style:{position:"absolute",top:7,right:7}}),j&&(0,t.jsx)("div",{className:"rounded-md px-1.5 py-0.5 border border-typ-c6 flex items-center justify-center absolute top-2.5 left-2.5",children:(0,t.jsx)(i.P3,{className:"leading-none text-[11px] tracking-[0.5px] font-medium text-typ-accent",children:"NEW"})}),(0,t.jsxs)(a.VStack,{className:"items-start w-full gap-1.5 h-full",children:[(0,t.jsxs)(u.motion.div,{initial:!1,animate:R?{scale:1.08}:{scale:1},transition:{type:"spring",duration:.5,bounce:.08},className:"flex-center flex-[1_0_190px] md:flex-[1_0_220px] m-[0_auto] relative w-[90%] max-md:[zoom:0.95] max-xs:[zoom:0.85]",style:{maxWidth:A?"100%":240},children:[k,(0,t.jsx)(h.default,{className:(0,p.default)(R?"opacity-[0.35]! dark:opacity-[0.25]!":"opacity-0!"),opacity:1,intensity:1.6,outset:80})]}),(0,t.jsx)(i.H4,{className:"font-semibold text-[15.5px]",children:v}),(0,t.jsx)(i.P2,{className:"text-typ-c3 [&_strong]:font-semibold [&_strong]:text-typ-c2",children:b})]})]})})},"illustrationMotionProps",0,{transition:{type:"spring",duration:.5,bounce:.1},initial:!1}],840442)},898511,e=>{"use strict";var t=e.i(221628),a=e.i(943985),i=e.i(384345),n=e.i(674829),s=e.i(208859),r=e.i(13660),l=e.i(416340),o=e.i(251839),u=e.i(840442);let c=e=>{let{name:a,screenName:r,text:l}=e;return(0,t.jsxs)(i.VStack,{noWrap:!0,className:"py-1.5 gap-2",children:[(0,t.jsxs)(i.HStack,{noWrap:!0,className:"gap-1",children:[(0,t.jsx)(s.default,{screenName:r,size:22,style:{backgroundColor:"var(--c4)"}}),(0,t.jsx)(n.P2,{className:"font-medium",children:a})]}),(0,t.jsx)(n.P3,{children:l})]})};e.s(["default",0,function(){let{isHovering:e}=(0,l.useContext)(u.FeatureContext);return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(a.Card,{className:(0,o.default)("px-3! py-1.5! 
2w-4/5 overflow-hidden gap-0",e?"light:border-none dark:border-typ-750 shadow-sm!":"bg-transparent shadow-none!"),children:[(0,t.jsx)(c,{name:"Francesco",screenName:"frankdilo",text:"I think this thread hook could be improved."}),(0,t.jsx)(r.motion.div,{initial:!1,animate:{height:e?"auto":0,opacity:+!!e,x:10*!e},transition:{type:"spring",duration:.3,bounce:.1},children:(0,t.jsx)(c,{name:"Thomas",screenName:"tomchris",text:"On it 🔥"})})]})})}])},707885,997461,694992,e=>{"use strict";var t=e.i(221628),a=e.i(384345),i=e.i(168359),n=e.i(136328),s=e.i(840442),r=e.i(898511),l=e.i(878420),o=e.i(64386),u=e.i(943985),c=e.i(674829),d=e.i(221006),p=e.i(13660),m=e.i(416340);function h(){let{isHovering:e}=(0,m.useContext)(s.FeatureContext);return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(u.Card,{className:"w-full p-0! light:border-none dark:border-typ-750 shadow-sm! overflow-hidden",children:(0,t.jsxs)(a.VStack,{noWrap:!0,className:"gap-0",children:[(0,t.jsx)(u.Card,{className:"w-full p-3 rounded-[10px]",children:(0,t.jsxs)(a.HStack,{className:"w-full justify-between",children:[(0,t.jsx)(c.P2,{children:"Read, Write, Publish"}),(0,t.jsx)(p.motion.div,(0,o._)((0,l._)({animate:e?{rotate:0,y:0}:{rotate:180,y:-2}},s.illustrationMotionProps),{children:(0,t.jsx)(d.ChevronDown,{size:16,className:"text-typ-c4"})}))]})}),(0,t.jsxs)(p.motion.div,(0,o._)((0,l._)({animate:e?{height:"auto"}:{height:0},className:"flex flex-col flex-nowrap"},s.illustrationMotionProps),{children:[(0,t.jsx)("div",{className:"h-2"}),(0,t.jsx)(c.P3,{className:"px-3.5 py-1.5",children:"Read, Write"}),(0,t.jsx)(c.P3,{className:"px-3.5 py-1.5",children:"Read"}),(0,t.jsx)("div",{className:"h-2"})]}))]})})})}var x=e.i(208859),f=e.i(251839);function g(){let{isHovering:e}=(0,m.useContext)(s.FeatureContext);return(0,t.jsxs)(a.HStack,{noWrap:!0,children:[(0,t.jsx)(p.motion.div,(0,o._)((0,l._)({className:(0,f.default)("flex-center w-[92px] h-[92px] rounded-full","bg-linear-to-br from-[rgba(83,162,255,0.24)] to-[rgba(156,57,255,0.22)]"),animate:{bottom:15*!!e}},s.illustrationMotionProps),{children:(0,t.jsx)(x.default,{screenName:"frankdilo",size:"".concat(84,"px"),className:"bg-typ-c4"})})),(0,t.jsx)(p.motion.div,(0,o._)((0,l._)({animate:e?{width:"auto",height:"auto",opacity:1,scale:1}:{width:0,height:0,opacity:0,scale:.5}},s.illustrationMotionProps),{children:(0,t.jsx)(a.Center,{className:(0,f.default)("w-[92px] h-[92px] rounded-full top-5 right-0","bg-linear-to-br from-[rgba(83,162,255,0.24)] to-[rgba(156,57,255,0.22)]"),children:(0,t.jsx)(x.default,{screenName:"linuz90",size:"".concat(84,"px"),className:"bg-typ-c4"})})}))]})}var y=e.i(15103);e.s(["default",0,function(){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.Section,{children:(0,t.jsx)(y.default,{title:"Manage social media content together",subtitle:"Write, edit, and publish with your teammates or clients."})}),(0,t.jsx)(i.Section,{className:"pt-0!",children:(0,t.jsxs)(a.Grid,{className:"grid-cols-3 max-[768px]:flex flex-col gap-4 lg:gap-6",children:[(0,t.jsx)(s.default,{title:"Share your drafts",body:"Brainstorm and bounce ideas with your teammates.",children:(0,t.jsx)(g,{})}),(0,t.jsx)(s.default,{title:"Add comments",body:"Get feedback from coworkers before you hit publish.",link:n.default.support.getFeedback,children:(0,t.jsx)(r.default,{})}),(0,t.jsx)(s.default,{title:"Control user access",body:"Decide who can view, edit, or publish your drafts.",children:(0,t.jsx)(h,{})})]})})]})}],707885);var w=e.i(468770),v=e.i(840847);e.s(["default",0,function(){return(0,t.jsxs)("div",{className:"relative bg-typ-950 dark:bg-typ-black dark:border-y border-typ-800 overflow-hidden",children:[(0,t.jsxs)(i.Section,{className:"z-1",children:[(0,t.jsx)(y.default,{title:"Trusted by the best companies",titleClassName:"text-typ-50",subtitleClassName:"text-typ-350! text-balance",subtitle:(0,t.jsxs)(t.Fragment,{children:["From startups to Fortune 500 companies, Typefully is the ",(0,t.jsx)("span",{className:"text-nowrap",children:"go-to"})," ","platform for teams that want to grow their social media presence."]})}),(0,t.jsx)("div",{className:"mt-14 mb-8",children:(0,t.jsx)(w.CompanyLogos,{})})]}),(0,t.jsx)("div",{className:"absolute right-0 bottom-[-250px] w-full h-[300px] z-0 pointer-events-none dark:opacity-60",children:(0,t.jsx)(v.default,{outset:300,opacity:1,intensity:.2})})]})}],997461);var b=e.i(943970),j=e.i(715133);let A=()=>(0,t.jsx)("div",{className:"absolute bottom-6 left-0 right-0 flex-center animate-in fade-in zoom-in-75 delay-1000 duration-300 ease-out fill-mode-both",children:(0,t.jsxs)("div",{className:"px-3 py-1 rounded-full select-none bg-gray-800 transition-transform duration-100 text-gray-200 text-xs sm:text-sm shadow-[0_0_30px_10px_white]",children:[(0,t.jsx)("strong",{children:"1.5M"})," Impressions"]})}),E=(0,b.cva)(["absolute transition-all duration-1000 delay-150 ease-in-out fill-mode-both"],{variants:{inViewLeft:{true:"-rotate-2 top-12 left-12",false:"-rotate-0 top-24 left-16 opacity-[0.01]"},inViewRight:{true:"rotate-2 top-7 right-12",false:"rotate-0 top-14 right-16 opacity-[0.01]"}}});e.s(["default",0,function(){let{ref:e,inView:a}=(0,j.useInView)({threshold:.9,triggerOnce:!0}),[n,s]=(0,m.useState)(!1),r=a&&n;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.Section,{children:(0,t.jsx)(y.default,{title:"Write once, publish everywhere",subtitle:"We natively support multiple platforms, so that you can expand your reach easily."})}),(0,t.jsx)(i.Section,{ref:e,size:"lg",className:"pt-0!",children:(0,t.jsxs)("div",{className:"relative w-auto h-[260px] md:h-[340px] lg:h-[460px] -mx-layout sm:-mx-6 -mt-6 overflow-y-hidden",children:[(0,t.jsx)("div",{className:(0,f.default)(E({inViewLeft:r,className:"w-[44%]"})),children:(0,t.jsx)("img",{loading:"lazy",className:"w-full object-contain rounded-md md:rounded-2xl shadow-sm",alt:"Twitter",src:"/images/landing/svpino-twitter.png",onLoad:()=>setTimeout(()=>s(!0))})}),(0,t.jsx)("div",{className:(0,f.default)(E({inViewRight:r,className:"w-[52%]"})),children:(0,t.jsx)("img",{loading:"lazy",className:"w-full object-contain rounded-md md:rounded-2xl shadow-sm",alt:"LinkedIn",src:"/images/landing/svpino-linkedin.png",onLoad:()=>setTimeout(()=>s(!0))})}),r&&(0,t.jsx)(A,{}),(0,t.jsx)("div",{className:"bg-linear-to-t from-typ-accent/5 absolute bottom-0 left-0 right-0 h-1/5 pointer-events-none"}),(0,t.jsx)("div",{className:"bg-linear-to-t from-typ-accent/20 to-transparent absolute bottom-0 left-0 right-0 h-full z-[-1] pointer-events-none"})]})})]})}],694992)},811613,860770,71190,252141,655420,145444,e=>{"use strict";var t=e.i(843842);
2let a=(0,t.default)("app-window-mac",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"M6 8h.01",key:"x9i8wu"}],["path",{d:"M10 8h.01",key:"1r9ogq"}],["path",{d:"M14 8h.01",key:"1primd"}]]);e.s(["AppWindowMac",0,a],811613);var i=e.i(527010);e.s(["BarChart3",()=>i.default],860770);let n=(0,t.default)("biceps-flexed",[["path",{d:"M12.409 13.017A5 5 0 0 1 22 15c0 3.866-4 7-9 7-4.077 0-8.153-.82-10.371-2.462-.426-.316-.631-.832-.62-1.362C2.118 12.723 2.627 2 10 2a3 3 0 0 1 3 3 2 2 0 0 1-2 2c-1.105 0-1.64-.444-2-1",key:"1pmlyh"}],["path",{d:"M15 14a5 5 0 0 0-7.584 2",key:"5rb254"}],["path",{d:"M9.964 6.825C8.019 7.977 9.5 13 8 15",key:"kbvsx9"}]]);e.s(["BicepsFlexed",0,n],71190);var s=e.i(423413);e.s(["Code2",()=>s.default],252141);let r=(0,t.default)("history",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]);e.s(["History",0,r],655420);let l=(0,t.default)("repeat-2",[["path",{d:"m2 9 3-3 3 3",key:"1ltn5i"}],["path",{d:"M13 18H7a2 2 0 0 1-2-2V6",key:"1r6tfw"}],["path",{d:"m22 15-3 3-3-3",key:"4rnwn2"}],["path",{d:"M11 6h6a2 2 0 0 1 2 2v10",key:"2f72bc"}]]);e.s(["Repeat2",0,l],145444)},53634,e=>{"use strict";var t=e.i(878420),a=e.i(64386),i=e.i(221628);e.i(927840);var n=e.i(334986),s=e.i(529217),r=e.i(713935),l=e.i(384345),o=e.i(674829),u=e.i(771607),c=e.i(252141);let d=(0,e.i(843842).default)("waypoints",[["circle",{cx:"12",cy:"4.5",r:"2.5",key:"r5ysbb"}],["path",{d:"m10.2 6.3-3.9 3.9",key:"1nzqf6"}],["circle",{cx:"4.5",cy:"12",r:"2.5",key:"jydg6v"}],["path",{d:"M7 12h10",key:"b7w52i"}],["circle",{cx:"19.5",cy:"12",r:"2.5",key:"1piiel"}],["path",{d:"m13.8 17.7 3.9-3.9",key:"1wyg1y"}],["circle",{cx:"12",cy:"19.5",r:"2.5",key:"13o1pw"}]]);var p=e.i(13660),m=e.i(416340),h=e.i(251839),x=e.i(840442);let f=[{id:"mcp",label:"MCP",icon:(0,i.jsx)(d,{size:16,className:"text-typ-c3"}),x:12,y:20},{id:"api",label:"API",icon:(0,i.jsx)(c.Code2,{size:16,className:"text-typ-c3"}),x:74,y:20},{id:"openclaw",label:"OpenClaw",icon:(0,i.jsx)(u.default,{icon:s.OpenClaw,size:16}),x:26,y:80},{id:"claude",label:"Claude",icon:(0,i.jsx)(u.default,{icon:n.Claude,size:16}),x:88,y:80}],g=e=>{let{node:n,index:s,isHovering:r}=e;return(0,i.jsx)("div",{style:{left:"".concat(n.x,"%"),top:"".concat(n.y,"%")},className:"absolute -translate-x-1/2 -translate-y-1/2",children:(0,i.jsx)(p.motion.div,{animate:r?{y:s%2==0?-2:2}:{y:0},transition:(0,a._)((0,t._)({},x.illustrationMotionProps.transition),{delay:.04*s}),className:"rounded-full bg-typ-white dark:bg-typ-800 shadow-dropdowns dark:shadow-dropdowns-dark px-3 py-2",children:(0,i.jsxs)(l.HStack,{noWrap:!0,className:"gap-1.5 items-center",children:[n.icon,(0,i.jsx)(o.P3,{className:"text-sm font-medium leading-none text-typ-c2 tracking-tight",children:n.label})]})})})};e.s(["default",0,function(){let{isHovering:e}=(0,m.useContext)(x.FeatureContext);return(0,i.jsxs)("div",{className:"relative w-[92%] max-w-[560px] h-[200px]",children:[(0,i.jsxs)("svg",{viewBox:"0 0 100 100",preserveAspectRatio:"none",className:"absolute inset-0 w-full h-full pointer-events-none",children:[(0,i.jsx)("defs",{children:(0,i.jsxs)("radialGradient",{id:"agent-halo",cx:"50%",cy:"50%",r:"50%",children:[(0,i.jsx)("stop",{offset:"0%",stopColor:"var(--accent)",stopOpacity:"0.18"}),(0,i.jsx)("stop",{offset:"60%",stopColor:"var(--accent)",stopOpacity:"0.04"}),(0,i.jsx)("stop",{offset:"100%",stopColor:"var(--accent)",stopOpacity:"0"})]})}),(0,i.jsx)(p.motion.circle,{cx:50,cy:50,r:28,fill:"url(#agent-halo)",animate:e?{opacity:1,scale:1}:{opacity:.55,scale:.85},style:{originX:"50%",originY:"50%"},transition:x.illustrationMotionProps.transition}),f.map((t,a)=>{let n=function(e){let{x:t,y:a}=e,i=50>a?1:-1,n=50>t?1:-1;return"M ".concat(t," ").concat(a," V ").concat(50-6*i," Q ").concat(t," ").concat(50," ").concat(t+2*n," ").concat(50," H ").concat(50)}(t);return(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:n,fill:"none",stroke:"var(--c5)",strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round",vectorEffect:"non-scaling-stroke",opacity:e?.2:.9,style:{transition:"opacity 0.3s ease"}}),(0,i.jsx)(p.motion.path,{d:n,fill:"none",stroke:"var(--accent)",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round",strokeDasharray:"3 6",vectorEffect:"non-scaling-stroke",animate:e?{strokeDashoffset:[0,-8.4],opacity:1}:{strokeDashoffset:0,opacity:0}
2,transition:e?{strokeDashoffset:{duration:1.6+.18*a,repeat:1/0,ease:"linear"},opacity:{duration:.3}}:{duration:.3}})]},t.id)})]}),(0,i.jsx)("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2",children:(0,i.jsxs)(p.motion.div,{animate:e?{scale:1.06}:{scale:1},transition:x.illustrationMotionProps.transition,className:"relative",children:[(0,i.jsx)("div",{className:(0,h.default)("absolute inset-0 rounded-2xl bg-typ-accent transition duration-200",e?"shadow-[0_0_0_6px_hsl(var(--accentHsl)_/_0.25)]":"shadow-[0_0_0_0_transparent]")}),(0,i.jsx)("div",{className:"relative flex-center size-14 rounded-2xl bg-typ-accent text-white",children:(0,i.jsx)(u.default,{icon:r.Typefully,size:32,color:"white"})})]})}),f.map((t,a)=>(0,i.jsx)(g,{node:t,index:a,isHovering:e},t.id))]})}],53634)},724349,e=>{"use strict";function t(e){let t=(e,t)=>(e%1==0?e.toFixed(0):e.toFixed(1))+t;return e>=1e6?t(e/1e6,"M"):e>=1e3?t(e/1e3,"K"):e.toString()}e.s(["formatPreviewEngagementNumber",0,t,"randomPreviewEngagement",0,function(e,a){return t(Math.round(Math.max(0,(.75+Math.random()/2)*e-e/16*(0===a?0:a+10))))}])},49587,378920,755498,e=>{"use strict";var t=e.i(221628);e.i(927840);var a=e.i(506218);e.i(878420),e.i(64386);var i=e.i(943985),n=e.i(384345),s=e.i(674829),r=e.i(591183),l=e.i(700995),o=e.i(416567),u=e.i(995415),c=e.i(527985),d=e.i(872224),p=e.i(724349),m=e.i(635891),h=e.i(771607),x=e.i(416340),f=e.i(549198),g=e.i(839532),y=e.i(103658);let w=(0,f.create)()((0,y.withDevtools)((0,g.subscribeWithSelector)((e,t)=>({twitterEngagements:new Map,threadsEngagements:new Map,substackEngagements:new Map,setTwitterEngagements:(t,a)=>e(e=>{let i=new Map(e.twitterEngagements);return i.set(t,a),{twitterEngagements:i}},!1,"setTwitterEngagements"),setThreadsEngagements:(t,a)=>e(e=>{let i=new Map(e.threadsEngagements);return i.set(t,a),{threadsEngagements:i}},!1,"setThreadsEngagements"),setSubstackEngagements:(t,a)=>e(e=>{let i=new Map(e.substackEngagements);return i.set(t,a),{substackEngagements:i}},!1,"setSubstackEngagements"),getTwitterEngagements:e=>t().twitterEngagements.get(e)||{},getThreadsEngagements:e=>t().threadsEngagements.get(e)||{},getSubstackEngagements:e=>t().substackEngagements.get(e)||{}})),{name:"FakeEngagementsStore"})),v={},b={},j={},A=e=>{let t=w(t=>t.twitterEngagements.get(e)||v),a=w(e=>e.setTwitterEngagements);return{engagements:t,setEngagements:t=>a(e,t)}};e.s(["useSubstackFakeEngagements",0,e=>{let t=w(t=>t.substackEngagements.get(e)||j),a=w(e=>e.setSubstackEngagements);return{engagements:t,setEngagements:t=>a(e,t)}},"useThreadsFakeEngagements",0,e=>{let t=w(t=>t.threadsEngagements.get(e)||b),a=w(e=>e.setThreadsEngagements);return{engagements:t,setEngagements:t=>a(e,t)}},"useTwitterFakeEngagements",0,A],378920);var E=e.i(251839),k=e.i(73002);function C(e){let{tweetIndex:a,onlyInteractions:i,className:s,dimmed:r}=e,p=F(null!=a?a:0);return(0,t.jsxs)(n.HStack,{className:(0,E.default)("w-full justify-between max-w-[430px] min-w-0 mt-2.5 mb-1 pr-1",r&&"pointer-events-none opacity-35",s),noWrap:!0,children:[(0,t.jsx)(D,{icon:o.TwitterReply,count:p.replies}),(0,t.jsx)(D,{icon:u.TwitterRetweet,count:p.retweets}),(0,t.jsx)(D,{icon:l.TwitterLike,count:p.likes}),!i&&(0,t.jsx)(D,{icon:d.TwitterView,count:p.impressions}),!i&&(0,t.jsx)(D,{icon:c.TwitterShare})]})}function F(e){let t=(0,m.default)(),{engagements:a,setEngagements:i}=A(e),{bookmarks:n,impressions:s,likes:r,replies:l,retweets:o}=a;return(0,x.useEffect)(()=>{var a;if(!t)return;let u=(a=e,"".concat(k.storageKeys.twitterFakeEngagements,":").concat(a)),c={replies:l,retweets:o,likes:r,impressions:s,bookmarks:n};if(N(c))return void k.typedStorage.setItem(u,c,"session");let d=k.typedStorage.getItem(u,"session"),m=N(d)?d:{replies:null!=l?l:(0,p.randomPreviewEngagement)(50,e),retweets:null!=o?o:(0,p.randomPreviewEngagement)(100,e),likes:null!=r?r:(0,p.randomPreviewEngagement)(1e3,e),impressions:null!=s?s:(0,p.randomPreviewEngagement)(1e6,e),bookmarks:null!=n?n:(0,p.randomPreviewEngagement)(250,e)};i(m),k.typedStorage.setItem(u,m,"session")},[t,n,s,r,l,i,o,e]),a}function N(e){return!!(null==e?void 0:e.replies)&&!!e.retweets&&!!e.likes&&!!e.impressions&&!!e.bookmarks}let D=e=>{let{icon:a,count:i}=e;return(0,t.jsxs)(n.HStack,{className:"h-[20px] gap-2.5",children:[(0,t.jsx)(h.default,{icon:a,size:18,color:"var(--c3)"}),void 0!==i&&(0,t.jsx)(s.P3,{children:i})]})};e.s(["default",0,C,"useTwitterPreviewEngagements",0,F],755498),e.i(334858);var S=e.i(13660),B=e.i(840442);let T=e=>{let{tweet:a,className:l,withEngagements:o,children:u}=e;return(0,t.jsxs)(i.Card,{className:(0,E.default)("w-full p-3! light:border-none dark:border-typ-750 shadow-sm! relative",l),children:[(0,t.jsx)(n.VStack,{className:"items-start w-full gap-2",children:(0,t.jsxs)(n.HStack,{noWrap:!0,className:"items-start gap-2 w-full flex-1",children:[(0,t.jsx)(r.AvatarFromHandle,{handle:a.screenName,className:"size-[32px]"}),(0,t.jsxs)(n.VStack,{className:"flex-1 gap-0.5",children:[(0,t.jsxs)(n.HStack,{className:"gap-1",children:[(0,t.jsx)(s.P2,{className:"text-typ-c1 text-[13px] font-semibold",children:a.name}),(0,t.jsxs)(s.P2,{className:"text-typ-c2 text-[13px] font-medium",children:["@",a.screenName]})]}),(0,t.jsx)(s.P3,{className:"text-typ-c2 text-[12.5px] whitespace-pre-wrap",children:a.text})]})]})}),u,o&&(0,t.jsx)(C,{tweetIndex:0,className:"[zoom:0.9]"})]})},_="We're launching a Command Bar today with great commands and features.",P="Introducing a game-changing Command Bar ⚡\nLightning-fast with powerful commands.";e.s(["default",0,function(){let{isHovering:e}=(0,x.useContext)(B.FeatureContext),[i,n]=(0,x.useState)(_),s=(0,x.useRef)(0),r=(0,x.useRef)(void 0),l=(0,x.useRef)(void 0),[o,u]=(0,x.useState)(!1);return(0,x.useEffect)(()=>(e?l.current=setTimeout(()=>{u(!0),r.current=setInterval(()=>{n(e=>e===P?(clearInterval(r.current),u(!1),s.current=0,e):(s.current+=1,P.slice(0,s.current)))},10)},500):(n(_),clearInterval(r.current),clearTimeout(l.current),u(!1),s.current=0),()=>{clearInterval(r.current),clearTimeout(l.current)}),[e]),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,t.jsx)(S.motion.div,{initial:!1,animate:{height:e?"auto":0,opacity:+!!e,scale:e?1:.7},transition:{type:"spring",duration:.4,bounce:.2},className:"relative",children:(0,t.jsxs)("div",{className:"bg-typ-ai/10 rounded-md px-2 py-0.5 inline-flex flex-nowrap items-center gap-1 text-xs text-typ-ai font-medium mx-auto",children:[(0,t.jsx)(a.SparklesFilled,{size:12,color:"var(--ai)"}),(0,t.jsx)("span",{children:"Make it punchier 👊"})]})}),(0,t.jsx)(T,{tweet:{name:"Typefully",screenName:"typefully",text:i},className:(0,E.default)("min-h-[100px]",o&&"animate-pulse duration-500")})]})}],49587)},381371,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.confetti=function(e){var t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.assign({},i,(!a.stagger&&a.delay&&(a.stagger=a.delay),a)),s=n.elementCount,r=n.colors,l=n.width,o=n.height,u=n.perspective,c=n.angle,d=n.spread,p=n.startVelocity,m=n.decay,h=n.dragFriction,x=n.duration,f=n.stagger,g=n.random;e.style.perspective=u;var y=Array.from({length:s}).map(function(t,a){var i=document.createElement("div"),n=r[a%r.length];return i.style["background-color"]=n,i.style.width=l,i.style.height=o,i.style.position="absolute",i.style.willChange="transform, opacity",i.style.visibility="hidden",e.appendChild(i),i}).map(function(e){var t,a;return{element:e,physics:(t=Math.PI/180*c,a=Math.PI/180*d,{x:0,y:0,z:0,wobble:10*g(),wobbleSpeed:.1+.1*g(),velocity:.5*p+g()*p,angle2D:-t+(.5*a-g()*a),angle3D:-(Math.PI/4)+g(
2)*(Math.PI/2),tiltAngle:g()*Math.PI,tiltAngleSpeed:.1+.3*g()})}});return t=void 0,new Promise(function(a){requestAnimationFrame(function i(n){t||(t=n);var s=n-t,r=t===n?0:(n-t)/x;y.slice(0,Math.ceil(s/f)).forEach(function(e){var t,a,i,n,s,l,o;e.physics.x+=Math.cos(e.physics.angle2D)*e.physics.velocity,e.physics.y+=Math.sin(e.physics.angle2D)*e.physics.velocity,e.physics.z+=Math.sin(e.physics.angle3D)*e.physics.velocity,e.physics.wobble+=e.physics.wobbleSpeed,m?e.physics.velocity*=m:e.physics.velocity-=e.physics.velocity*h,e.physics.y+=3,e.physics.tiltAngle+=e.physics.tiltAngleSpeed,a=(t=e.physics).x,i=t.y,n=t.z,s=t.tiltAngle,o="translate3d("+(a+10*Math.cos(l=t.wobble))+"px, "+(i+10*Math.sin(l))+"px, "+n+"px) rotate3d(1, 1, 1, "+s+"rad)",e.element.style.visibility="visible",e.element.style.transform=o,e.element.style.opacity=1-r}),n-t<x?requestAnimationFrame(i):(y.forEach(function(t){if(t.element.parentNode===e)return e.removeChild(t.element)}),a())})})};var i={angle:90,spread:45,startVelocity:45,elementCount:50,width:"10px",height:"10px",perspective:"",colors:["#a864fd","#29cdff","#78ff44","#ff718d","#fdff6a"],duration:3e3,stagger:0,dragFriction:.1,random:Math.random}},940613,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i,n=function(){function e(e,t){for(var a=0;a<t.length;a++){var i=t[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,a,i){return a&&e(t.prototype,a),i&&e(t,i),t}}(),s=e.r(416340),r=(i=s)&&i.__esModule?i:{default:i},l=e.r(381371),o={position:"relative"};a.default=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");var a=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.setRef=a.setRef.bind(a),a}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),n(t,[{key:"componentDidUpdate",value:function(e){!e.active&&this.props.active&&(0,l.confetti)(this.container,this.props.config)}},{key:"setRef",value:function(e){this.container=e}},{key:"render",value:function(){return r.default.createElement("div",{className:this.props.className,style:o,ref:this.setRef})}}]),t}(s.Component)},132683,e=>{"use strict";var t=e.i(878420),a=e.i(221628),i=e.i(416340),n=e.i(940613);e.s(["default",0,e=>{let{config:s,active:r,delay:l}=e,o=(0,t._)({angle:90,spread:200,startVelocity:38,elementCount:100,dragFriction:.1,duration:6e3,width:"8px",height:"8px",colors:["var(--accent)","var(--c2)","var(--c4)"]},s),[u,c]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{if(r){let e=setTimeout(()=>{c(!0)},l||0);return()=>clearTimeout(e)}c(!1)},[r,l]),(0,a.jsx)(n.default,{active:u,config:o})}])},251112,449106,735030,691533,670903,411423,e=>{"use strict";var t=e.i(878420),a=e.i(64386),i=e.i(221628),n=e.i(943985),s=e.i(384345),r=e.i(132683),l=e.i(334858),o=e.i(13660),u=e.i(416340),c=e.i(251839),d=e.i(840442);let p=()=>{let{isHovering:e}=(0,u.useContext)(d.FeatureContext);return(0,i.jsxs)(s.VStack,{className:"h-full flex-1",noWrap:!0,children:[(0,i.jsxs)(s.HStack,{className:"w-full gap-1.5 p-2.5 items-center justify-end",noWrap:!0,children:[(0,i.jsx)("div",{className:"absolute top-2.5 right-[55px]",children:(0,i.jsx)(r.default,{active:e,delay:60,config:{width:"4px",height:"4px",startVelocity:8,spread:120,dragFriction:.05,colors:["green"],duration:2e3,elementCount:35}})}),(0,i.jsx)(o.motion.div,(0,a._)((0,t._)({animate:e?{width:"40%",height:14}:{width:"20%",height:10}},d.illustrationMotionProps),{children:(0,i.jsx)("div",{className:(0,c.default)("w-full h-full rounded-[10px] flex items-center justify-center",e?"bg-[hsl(120,90%,40%)]":"bg-typ-accent"),children:e&&(0,i.jsx)(l.Check,{color:"white",size:10,strokeWidth:4})})})),(0,i.jsx)(o.motion.div,(0,a._)((0,t._)({animate:e?{width:"0%",height:14,opacity:0}
2:{width:"20%",height:10,opacity:1}},d.illustrationMotionProps),{children:(0,i.jsx)("div",{className:"w-full h-full rounded-[10px] bg-typ-orange"})}))]}),(0,i.jsx)("div",{className:"w-1/2 h-full overflow-hidden mx-auto",children:(0,i.jsxs)(s.VStack,{className:"items-start justify-start gap-1.5",children:[(0,i.jsx)(h,{width:60}),(0,i.jsx)(h,{width:80}),(0,i.jsx)(h,{width:30}),(0,i.jsx)(h,{width:40}),(0,i.jsx)(h,{width:50})]})})]})},m=()=>(0,i.jsxs)(s.VStack,{noWrap:!0,className:"w-[30%] h-full border-r border-typ-c7 justify-start gap-0",children:[(0,i.jsxs)(s.VStack,{className:"w-full items-start p-2 border-b border-typ-c7 gap-1",children:[(0,i.jsx)(h,{height:6,width:60}),(0,i.jsx)(h,{height:6,width:40})]}),(0,i.jsxs)(s.VStack,{className:"w-full items-start p-2 border-b border-typ-c7 gap-1",children:[(0,i.jsx)(h,{height:6,width:40}),(0,i.jsx)(h,{height:6,width:90})]}),(0,i.jsxs)(s.VStack,{className:"w-full items-start p-2 border-b border-typ-c7 gap-1",children:[(0,i.jsx)(h,{height:6,width:40}),(0,i.jsx)(h,{height:6,width:35})]})]}),h=e=>{let{width:t,height:a=8,color:n="hsl(200,20%,40%,0.15)",className:s}=e;return(0,i.jsx)("div",{className:(0,c.default)("rounded-[14px]",s),style:{width:t+"%",height:a,background:n}})};e.s(["default",0,function(){return(0,i.jsxs)(n.Card,{className:"w-[90%] h-[60%] p-0! flex flex-row items-stretch justify-stretch relative light:border-none dark:border-typ-750 shadow-sm!",children:[(0,i.jsx)(m,{}),(0,i.jsx)(p,{})]})}],251112);var x=e.i(674829);function f(e,t,a){(0,u.useInsertionEffect)(()=>e.on(t,a),[e,t,a])}var g=e.i(938963),y=e.i(332107),w=e.i(476777),v=e.i(479999),b=e.i(440312),j=e.i(573473),A=e.i(315386),E=e.i(112753);function k(e){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{isStatic:n}=(0,u.useContext)(v.MotionConfigContext),s=(0,u.useRef)(null),r=(0,b.useConstant)(()=>(0,E.isMotionValue)(e)?e.get():e),l=(0,b.useConstant)(()=>"string"==typeof r?r.replace(/[\d.-]/g,""):void 0),o=(0,A.useMotionValue)(r),c=(0,u.useRef)(r),d=(0,u.useRef)(g.noop),p=()=>{m(),s.current=(0,w.animateValue)((0,a._)((0,t._)({keyframes:[C(o.get()),C(c.current)],velocity:o.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01},i),{onUpdate:d.current}))},m=()=>{s.current&&s.current.stop()};return(0,u.useInsertionEffect)(()=>o.attach((e,t)=>n?t(e):(c.current=e,d.current=e=>{var a,i;return t((a=e,(i=l)?a+i:a))},y.frame.postRender(p),o.get()),m),[JSON.stringify(i)]),(0,j.useIsomorphicLayoutEffect)(()=>{if((0,E.isMotionValue)(e))return e.on("change",e=>{var t,a;return o.set((t=e,(a=l)?t+a:t))})},[o,l]),o}function C(e){return"number"==typeof e?e:parseFloat(e)}e.s(["useSpring",0,k],449106),e.s(["default",0,function(){let{isHovering:e}=(0,u.useContext)(d.FeatureContext),r=k(14,{bounce:.06}),[l,c]=(0,u.useState)("+"+Math.round(r.get()));return(0,u.useEffect)(()=>{e?r.set(156):r.set(14)},[r,e]),f(r,"change",e=>c("+"+Math.round(e))),(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)(n.Card,{className:"w-[90%] h-[60%] p-0 flex flex-row items-stretch justify-stretch relative light:border-none dark:border-typ-750 shadow-sm! overflow-hidden",children:[(0,i.jsxs)(s.VStack,{noWrap:!0,className:"absolute top-3.5 left-3.5 text-[0.9em] z-1 gap-0.5",children:[(0,i.jsx)(x.P1,{className:"text-typ-c2 font-mono",children:l}),(0,i.jsx)(x.P3,{className:"text-typ-c3 font-mono",children:"Followers"})]}),(0,i.jsx)("div",{className:"absolute w-px h-full top-0 left-1/4 bg-typ-c4/[0.06]"}),(0,i.jsx)("div",{className:"absolute w-px h-full top-0 left-1/2 bg-typ-c4/[0.06]"}),(0,i.jsx)("div",{className:"absolute w-px h-full top-0 left-3/4 bg-typ-c4/[0.06]"}),(0,i.jsxs)(o.motion.svg,(0,a._)((0,t._)({style:{position:"absolute",left:0,bottom:0,height:"100%",width:"100%"},animate:{filter:e?"saturate(1)":"saturate(0.3)",opacity:e?1:.5,viewBox:e?"0 -60 366 310":"0 -950 3
266 1408"},fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none"},d.illustrationMotionProps),{children:[(0,i.jsx)("path",{d:"M0 193C109.5 193 260.5 140.5 366 0.5V907.5H0V193Z",fill:"url(#paint0_linear_302_1310)"}),(0,i.jsx)("defs",{children:(0,i.jsxs)("linearGradient",{id:"paint0_linear_302_1310",x1:"183",y1:"0.5",x2:"183",y2:"262",gradientUnits:"userSpaceOnUse",children:[(0,i.jsx)("stop",{stopColor:"#797EFF"}),(0,i.jsx)("stop",{offset:"1",stopColor:"#79AFFF"})]})})]}))]})})}],735030),e.i(927840);var F=e.i(713935),N=e.i(771607),D=e.i(642397),S=e.i(830230),B=e.i(529806);let T=[{emoji:"🚀",count:24,appearDelay:0,countDelay:.1,countDuration:1.8},{emoji:"🔥",count:17,appearDelay:.35,countDelay:.45,countDuration:1.5},{emoji:"🎉",count:11,appearDelay:.75,countDelay:.85,countDuration:1.2},{emoji:"❤️",count:7,appearDelay:1.15,countDelay:1.25,countDuration:.9}],_=e=>{let{emoji:n,count:r,isHovering:l,appearDelay:c,countDelay:p,countDuration:m}=e,h=(0,A.useMotionValue)(1),[x,g]=(0,u.useState)("1");return(0,u.useEffect)(()=>{if(l){let e=(0,B.animate)(h,r,{duration:m,delay:p,ease:[.22,1,.36,1]});return()=>e.stop()}h.set(1),g("1")},[l,r,p,m,h]),f(h,"change",e=>{g(Math.round(e).toString())}),(0,i.jsx)(o.motion.div,{initial:!1,animate:l?{opacity:1,scale:1,y:0}:{opacity:0,scale:.5,y:10},transition:(0,a._)((0,t._)({},d.illustrationMotionProps.transition),{delay:l?c:0}),className:"rounded-full border border-typ-accent/25 bg-typ-accent/10 px-1.5 py-0.5",children:(0,i.jsxs)(s.HStack,{noWrap:!0,className:"gap-1 items-center",children:[(0,i.jsx)("span",{className:"text-[11px] leading-none",children:n}),(0,i.jsx)(o.motion.span,{className:"text-[10.5px] font-semibold leading-none tabular-nums text-typ-accent",children:x})]})})};e.s(["default",0,function(){let{isHovering:e}=(0,u.useContext)(d.FeatureContext);return(0,i.jsxs)(n.Card,{className:"w-[96%] max-w-[440px] p-3! gap-2 light:border-none dark:border-typ-750 shadow-sm! overflow-hidden",children:[(0,i.jsxs)(s.HStack,{className:"justify-between max-sm:hidden mb-0.5",noWrap:!0,children:[(0,i.jsx)(x.P1,{className:"font-semibold",children:"#content"}),(0,i.jsxs)(s.HStack,{className:"justify-end gap-2 mr-0.5",noWrap:!0,children:[(0,i.jsx)(D.Bell,{className:"text-typ-c4",size:16}),(0,i.jsx)(S.Search,{className:"text-typ-c4",size:16})]})]}),(0,i.jsxs)(s.HStack,{noWrap:!0,className:"gap-2.5 items-start w-full",children:[(0,i.jsx)("div",{className:"flex-center size-9 rounded-md bg-typ-accent text-white shrink-0",children:(0,i.jsx)(N.default,{icon:F.Typefully,size:22,color:"white"})}),(0,i.jsxs)(s.VStack,{noWrap:!0,className:"flex-1 gap-0.5 min-w-0",children:[(0,i.jsxs)(s.HStack,{noWrap:!0,className:"gap-1.5 items-baseline",children:[(0,i.jsx)(x.P2,{noWrap:!0,className:"font-bold text-typ-c1 leading-none tracking-[-0.005em]",children:"Typefully"}),(0,i.jsx)("span",{className:"text-[10.5px] text-typ-c4 leading-none",children:"9:00 AM"})]}),(0,i.jsxs)(x.P2,{className:"text-[13px] text-typ-c2 leading-snug",children:["Typefully's post published on ",(0,i.jsx)("strong",{className:"font-semibold text-typ-c1",children:"X"}),","," ",(0,i.jsx)("strong",{className:"font-semibold text-typ-c1",children:"LinkedIn"}),", and"," ",(0,i.jsx)("strong",{className:"font-semibold text-typ-c1",children:"Threads"})]}),(0,i.jsxs)("div",{className:"relative mt-1.5 pl-2.5",children:[(0,i.jsx)("div",{className:"absolute left-0 top-0.5 bottom-0.5 w-[3px] rounded-full bg-typ-c5"}),(0,i.jsxs)(s.VStack,{noWrap:!0,className:"gap-0.5 py-0.5",children:[(0,i.jsx)("span",{className:"text-[12px] text-typ-c2 leading-snug",children:"The new Typefully writing assistant is live 🤖"}),(0,i.jsx)("span",{className:"text-[11.5px] text-typ-c2 leading-snug",children:"It understands your voice..."})]})]})]})]}),(0,i.jsx)(o.motion.div,{animate:e?{height:"auto",opacity:1}:{height:0,opacity:0},transition:{type:"spring",duration:.4,bounce:.15},className:"overflow-hidden pl-[44px]",children:(0,i.jsx)(s.HStack,{noWrap:!0,className:"gap-1 pt-1",children:T.map(n=>(0,i.jsx)(_,(0,a._)((0,t._)({},n),{isHovering:e}),n.emoji))})})]})}],691533);var P=e.i(886513),M=e.i(891886),L=e.i(842097),R=e.i(198889),I=e.i(540826),z=e.i(591183),O=e.i(635891);let H=e=>{let{icon:r,className:l,children:u,delay:p=0}=e,m=(0,P._)(e,["icon","className","children","delay"]);return(0,i.jsxs)(o.motion.div,(0,a._)((0,t._)({initial:!1,transition:(0,a._)((0,t._)({},d.illustrationMotionProps.transition),{delay:p}
2),className:(0,c.default)("w-full h-full p-3.5 relative z-1",l)},m),{children:[(0,i.jsx)(n.Card,{className:"absolute inset-0 light:border-none dark:border-typ-750 shadow-sm! z-[-1]"}),(0,i.jsx)(N.default,{icon:r,color:"var(--c4)",size:18,className:"absolute! top-3 right-3"}),(0,i.jsxs)(s.VStack,{className:"w-full gap-2",children:[(0,i.jsxs)(s.HStack,{noWrap:!0,className:"gap-3 w-full flex-1",children:[(0,i.jsx)(z.AvatarFromHandle,{handle:"linuz90",className:"size-[32px]"}),(0,i.jsxs)(s.VStack,{className:"flex-1",children:[(0,i.jsx)(W,{width:50,opacity:.5}),(0,i.jsx)(W,{width:30})]})]}),(0,i.jsxs)(s.VStack,{className:"w-full gap-2 ml-11",children:[(0,i.jsx)(W,{width:50}),(0,i.jsx)(W,{width:70})]})]}),u]}))},W=e=>{let{width:t,height:a=8,color:n,opacity:s=.15}=e;return(0,O.default)()?(0,i.jsx)("div",{className:(0,c.default)("rounded-[14px]"),style:{width:t+"%",height:a,background:null!=n?n:"hsl(200,20%,40%,".concat(s,")")}}):null};e.s(["default",0,function(){let{isHovering:e}=(0,u.useContext)(d.FeatureContext);return(0,i.jsxs)("div",{className:"mx-auto w-[70%] max-w-[300px] relative",children:[(0,i.jsx)(o.motion.div,(0,a._)((0,t._)({},d.illustrationMotionProps),{animate:e?{scale:1,opacity:1}:{scale:.9,opacity:0},initial:!1,transition:(0,a._)((0,t._)({},d.illustrationMotionProps.transition),{delay:.3*!!e}),style:{left:"-24%"},className:"absolute -bottom-8 z-2 origin-left",children:(0,i.jsxs)(s.HStack,{noWrap:!0,className:"relative",children:[(0,i.jsx)(l.Check,{size:18,className:"text-typ-accent",strokeWidth:2}),(0,i.jsx)(x.P2,{noWrap:!0,className:"text-typ-accent font-medium",children:"Published on 4 platforms"}),(0,i.jsx)("div",{className:"absolute inset-0 bg-typ-bg0 blur-xs z-[-1]"})]})})),(0,i.jsx)(H,{icon:M.Bluesky,animate:e?{left:"32%",rotate:3,top:22,opacity:1,scale:.8}:{left:"24%",rotate:0,top:0,opacity:0,scale:.5},delay:.2*!!e,className:"absolute inset-0"}),(0,i.jsx)(H,{icon:R.Threads,animate:e?{left:"16%",rotate:1,top:8,opacity:1,scale:.9}:{left:"16%",rotate:0,top:0,opacity:0,scale:.5},delay:.1*!!e,className:"absolute inset-0"}),(0,i.jsx)(H,{icon:L.LinkedIn,animate:e?{left:"-4%",rotate:-1,top:-4,scale:.95}:{left:"12%",rotate:0,top:0,scale:.95},className:"absolute inset-0"}),(0,i.jsx)(H,{icon:I.Twitter,animate:e?{left:"-28%",rotate:-3,top:-12,scale:1}:{left:"-16%",rotate:0,top:0,scale:1},className:"relative"})]})}],670903);var U=e.i(313199),V=e.i(755498);e.s(["default",0,function(){let{isHovering:e}=(0,u.useContext)(d.FeatureContext);return(0,i.jsxs)(n.Card,{className:(0,c.default)("w-full max-w-[370px] p-0! light:border-none dark:border-typ-750 shadow-sm! relative overflow-hidden"),children:[(0,i.jsx)(o.motion.div,{className:"absolute top-1.5 right-2 max-[768px]:hidden",animate:{scale:e?1:.9,opacity:.6*!!e},transition:(0,a._)((0,t._)({},d.illustrationMotionProps.transition),{delay:.3*!!e}),initial:!1,children:(0,i.jsx)(U.default,{size:"small",children:"Preview"})}),(0,i.jsx)(o.motion.div,(0,a._)((0,t._)({className:"max-[768px]:[zoom:0.85]",animate:{padding:e?12:16,paddingRight:e?20:60}},d.illustrationMotionProps),{children:(0,i.jsxs)(s.HStack,{noWrap:!0,className:"items-start gap-0 w-full flex-1",children:[(0,i.jsx)(o.motion.div,(0,a._)((0,t._)({animate:{width:46*!!e,opacity:e?1:-1}},d.illustrationMotionProps),{children:(0,i.jsx)(z.AvatarFromHandle,{handle:"linuz90",className:"size-[36px]"})})),(0,i.jsxs)(s.VStack,{className:"flex-1 gap-0 min-w-0",children:[(0,i.jsx)(o.motion.div,{animate:{height:24*!!e,opacity:e?1:-1},initial:!1,transition:(0,a._)((0,t._)({},d.illustrationMotionProps.transition),{delay:.1*!!e}),children:(0,i.jsxs)(s.HStack,{className:"gap-1 mb-1",noWrap:!0,children:[(0,i.jsx)(x.P2,{className:"text-typ-c1 text-[14px] font-semibold text-nowrap",children:"Fabrizio Rinaldi"}),(0,i.jsx)(x.P2,{className:"text-typ-c2 text-[14px] font-medium truncate",children:"@linuz90"})]})}),(0,i.jsx)(x.P3,{className:"text-typ-c2 text-[13.5px] whitespace-pre-wrap mb-1.5",children:"With Typefully, you know that what you write is exactly what you'll get 👌"}),(0,i.jsx)(x.P3,{className:"text-typ-c2 text-[13.5px] whitespace-pre-wrap max-[768px]:hidden",children:"No need to worry about how your post will look after publishing."}),(0,i.jsx)(o.motion.div,{animate:{height:24*!!e,opacity:e?1:-1},initial:!1,transition:(0,a._)((0,t._)({},d.illustrationMotionProps.transition),{delay:.2*!!e}),children:(0,i.jsx)(V.default,{tweetIndex:0,className:"[zoom:0.85] mt-2 w-[200px]",onlyInteractions:!0})})]})]})}))]})}],411423)},462283,e=>{"use strict";let t=(0,e.i(843842).default)("list-filter",[["path",{d:"M2 5h20",key:"1fs1ex"}],["path",{d:"M6 12h12",key:"8npq4p"}],["path",{d:"M9 19h6",key:"456am0"}]]);e.s(["ListFilter",0,t],462283)},951666,e=>{"use strict";var t=e.i(221628);e.i(927840);var a=e.i(90145),i=e.i(608317),n=e.i(160835),s=e.i(806062),r=e.i(66595),l=e.i(384345),o=e.i(674829),u=e.i(168359),c=e.i(136328),d=e.i(771607),p=e.i(811613),m=e.i(860770),h=e.i(71190),x=e.i(447856),f=e.i(252141),g=e.i(567353),y=e.i(6
255420),w=e.i(679612),v=e.i(145444),b=e.i(265013),j=e.i(989589),A=e.i(251839),E=e.i(840442),k=e.i(53634),C=e.i(49587),F=e.i(898511),N=e.i(251112),D=e.i(735030),S=e.i(691533),B=e.i(670903),T=e.i(411423),_=e.i(878420),P=e.i(64386),M=e.i(943985),L=e.i(194347),R=e.i(462283),I=e.i(161499),z=e.i(13660),O=e.i(416340);let H="bg-gradient-to-br from-blue-100/90 to-transparent dark:from-blue-900/40 border border-blue-300/80 dark:border-blue-500/50",W="bg-gradient-to-br from-amber-100/90 to-transparent dark:from-amber-900/40 border border-amber-300/80 dark:border-amber-500/50",U=[{label:"Mon",blocks:[{id:"mon-1",tone:H},{id:"mon-2",tone:W}]},{label:"Tue",blocks:[{id:"tue-2",tone:"bg-gradient-to-br from-violet-100/90 to-transparent dark:from-violet-900/40 border border-violet-300/80 dark:border-violet-500/50",appearOnHover:!0},{id:"tue-1",tone:"bg-gradient-to-br from-emerald-100/90 to-transparent dark:from-emerald-900/40 border border-emerald-300/80 dark:border-emerald-500/50"}]},{label:"Wed",blocks:[{id:"wed-1",tone:H,appearOnHover:!0},{id:"wed-2",tone:W,appearOnHover:!0}]}];function V(){let{isHovering:e}=(0,O.useContext)(E.FeatureContext),a=(0,L.default)().format("MMMM D"),i=U.flatMap(e=>e.blocks.filter(e=>e.appearOnHover).map(e=>e.id));return(0,t.jsxs)(M.Card,{className:"w-[92%] h-[142px] p-3! light:border-none dark:border-typ-750 shadow-sm! overflow-hidden",children:[(0,t.jsxs)(l.HStack,{noWrap:!0,className:"w-full justify-between",children:[(0,t.jsx)(o.P3,{className:"font-medium text-typ-c2",suppressHydrationWarning:!0,children:a}),(0,t.jsx)(R.ListFilter,{size:15,className:"text-typ-c4"})]}),(0,t.jsx)("div",{className:"grid grid-cols-3 gap-2 h-full pt-1",children:U.map(a=>(0,t.jsx)(q,(0,P._)((0,_._)({},a),{isHovering:e,extraOrder:i}),a.label))})]})}let q=e=>{let{label:a,blocks:i,isHovering:n,extraOrder:s}=e,r=i.filter(e=>!e.appearOnHover||n);return(0,t.jsxs)(l.VStack,{noWrap:!0,className:"gap-1.5",children:[(0,t.jsx)(o.P3,{className:"text-[11px] text-typ-c4 leading-none",children:a}),(0,t.jsx)(z.motion.div,{layout:!0,className:"flex flex-col gap-1",children:(0,t.jsx)(I.AnimatePresence,{initial:!1,children:r.map(e=>{let a=s.indexOf(e.id);return(0,t.jsx)(z.motion.div,{layout:!0,initial:{opacity:0,scale:.85},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.85},transition:{type:"spring",duration:.45,bounce:.25,delay:a>=0?.08+.09*a:0},className:(0,A.default)("w-full h-[26px] rounded-md",e.tone)},e.id)})})})]})},G=e=>{let{icon:a,name:i}=e;return(0,t.jsxs)(l.HStack,{className:"gap-2 flex-none",children:[(0,t.jsx)(d.default,{icon:a,color:"var(--c2)"}),(0,t.jsx)(o.P1,{className:"text-typ-c2 text-sm",children:i})]})};e.s(["default",0,function(){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"pt-10 -mt-10 max-[767px]:overflow-hidden",children:(0,t.jsx)(u.Section,{size:"lg",className:(0,A.default)("pt-10! -mt-10 pb-24! -mb-14 max-[767px]:overflow-x-scroll max-[767px]:snap-x max-[767px]:snap-mandatory","max-[767px]:[scrollbar-width:none] max-[767px]:[&::-webkit-scrollbar]:hidden","max-[767px]:-mb-14"),children:(0,t.jsxs)("div",{className:"grid gap-3 lg:gap-5 grid-cols-3 max-lg:grid-cols-2 max-md:grid-cols-9 max-md:min-w-[738vw] max-md:pr-4",children:[(0,t.jsx)(E.default,{fullWidthFeature:!0,title:"Built for modern teams",body:"Comments, @mentions, and shared drafts make collaboration a breeze.",link:c.default.support.collaboration,children:(0,t.jsx)(F.default,{})}),(0,t.jsx)(E.default,{title:"Publish everywhere at once",body:"Effortlessly cross-post to X, LinkedIn, Bluesky, Threads, and Mastodon.",link:j.default.socialMediaScheduling(),children:(0,t.jsx)(B.default,{})}),(0,t.jsx)(E.default,{className:(0,A.default)("md:col-span-2 lg:col-span-1"),title:"A better place to write",body:"Turn rough ideas into polished posts with a focused, high-fidelity editor.",children:(0,t.jsx)(N.default,{})}),(0,t.jsx)(E.default,{className:(0,A.default)("md:col-span-2"),fullWidthFeature:!0,isNew:!0,title:"A social workspace for humans and agents",body:"Integrations and AI agents can queue drafts, leave feedback, and manage your calendar.",link:j.default.aiAgents(),children:(0,t.jsx)(k.default,{})}),(0,t.jsx)(E.default,{title:"AI tools that understand your voice",body:"Brainstorm, rewrite, and expand drafts with AI that learns how you actually write.",link:j.default.ai(),children:(0,t.jsx)(C.default,{})}),(0,t.jsx)(E.default,{title:"A calendar built for scheduling",body:"See what's scheduled, in review, and ready to ship, across the whole team.",children:(0,t.jsx)(V,{})}),(0,t.jsx)(E.default,{className:(0,A.default)("md:col-span-2"),fullWidthFeature:!0,title:"Launch as a team, in sync",body:"Schedule team posts to go live together, with Slack pings when they do.",link:c.default.support.collaboration,children:(0,t.jsx)(S.default,{})}),(0,t.jsx)(E.default,{className:(0,A.default)("lg:col-span-2"),fullWidthFeature:!0,title:"Pixel-perfect previews before you ship",body:"Check posts before they go live, including threads, mentions, and media.",children:(0,t.jsx)(T.default,{})}),(0,t.jsx)(E.default,{title:"Powerful analytics to grow faster",body:"See what worked, spot patterns, and shape your next posts.",link:j.default.socialMediaAnalytics(),children:(0,t.jsx)(D.default,{})})]})})}),(0,t.jsxs)(u.Section,{className:"pt-0! max-[540px]:-mt-3 w-[900px] max-w-full",children:[(0,t.jsx)(o.P1,{className:"text-typ-c4 text-center mb-4",children:"And much more:"}),(0,t.jsxs)(l.HStack,{className:"justify-center gap-x-6 gap-y-4 -mb-2",children:[(0,t.jsx)(G,{icon:p.AppWindowMac,name:"Mac app"}),(0,t.jsx)(G,{icon:a.AiChat,name:"AI Chat"}),(0,t.jsx)(G,{icon:m.BarChart3,name:"Polls"}),(0,t.jsx)(G,{icon:s.Share,name:"Shareable draft links"}),(0,t.jsx)(G,{icon:n.Pdf,name:"LinkedIn PDF carousels"}),(0,t.jsx)(G,{icon:v.Repeat2,name:"Auto-Plug & Auto-RT"}),(0,t.jsx)(G,{icon:i.AltText,name:"AI Alt text"}),(0,t.jsx)(G,{icon:b.Tag,name:"Tags & Pins"}
2),(0,t.jsx)(G,{icon:r.TwitterQuote,name:"Thread Finisher"}),(0,t.jsx)(G,{icon:w.Moon,name:"Dark Mode"}),(0,t.jsx)(G,{icon:g.Command,name:"Keyboard Shortcuts"}),(0,t.jsx)(G,{icon:y.History,name:"Auto Backups"}),(0,t.jsx)(G,{icon:x.CalendarClock,name:"Natural language scheduling"}),(0,t.jsx)(G,{icon:f.Code2,name:"Free API"}),(0,t.jsx)(G,{icon:h.BicepsFlexed,name:"AI Agent Skills"})]})]})]})}],951666)},872553,101138,e=>{"use strict";var t=e.i(221628),a=e.i(830469),i=e.i(943985),n=e.i(384345),s=e.i(674829),r=e.i(168359),l=e.i(574638),o=e.i(136328),u=e.i(314216),c=e.i(840847),d=e.i(15103);let p=e=>{let{integration:a}=e;return(0,t.jsx)(i.Card,{className:"flex-none p-6 border-none bg-white/[0.07] overflow-hidden max-w-[290px]",children:(0,t.jsxs)(n.VStack,{className:"z-3 gap-3",children:[(0,t.jsxs)(n.HStack,{className:"justify-start gap-3",children:[(0,t.jsx)(r.Img,{src:"images/landing/integrations/"+a.trigger.toLowerCase()+".png",alt:a.trigger,className:"rounded-lg size-[60px]"}),(0,t.jsx)(r.Img,{src:"images/landing/integrations/"+a.action.toLowerCase()+".png",alt:a.action,className:"rounded-lg size-[60px]"})]}),(0,t.jsx)(s.P1,{className:"text-typ-300",children:a.name})]})})},m=[{trigger:"Typefully",action:"Slack",name:"Share new drafts in Slack channel"},{trigger:"RSS",action:"Typefully",name:"New draft from RSS feed item content"},{trigger:"Docs",action:"Typefully",name:"New scheduled draft from Google Doc"},{trigger:"Typefully",action:"Sheets",name:"New spreadsheet row from published post"},{trigger:"Schedule",action:"Typefully",name:"Create new template draft every Monday"},{trigger:"Typefully",action:"Gmail",name:"Send an email for every published thread"},{trigger:"Feedly",action:"Typefully",name:"Create draft for new items in feeds folder"},{trigger:"Twitter",action:"Typefully",name:"Thank new followers with a post"}];e.s(["default",0,function(){return(0,t.jsxs)("div",{className:"relative bg-typ-975 dark:bg-typ-black dark:border-y border-typ-800 my-3 overflow-hidden",children:[(0,t.jsx)(r.Section,{className:"z-1",children:(0,t.jsx)(d.default,{title:"Build an automated social media machine",titleClassName:"text-typ-50",subtitle:"Our Zapier integration enables countless no-code workflows.",subtitleClassName:"text-typ-350!"})}),(0,t.jsx)(r.Section,{className:"py-0!",children:(0,t.jsx)("div",{className:"w-full max-desktop:[zoom:0.7]",children:(0,t.jsxs)(n.VStack,{className:"w-full gap-4 items-stretch",children:[(0,t.jsx)(n.HStack,{className:"items-stretch justify-end gap-4 self-end -right-[23vw]",noWrap:!0,children:m.map(e=>(0,t.jsx)(p,{integration:e},e.name))}),(0,t.jsx)(n.HStack,{className:"items-stretch justify-start gap-4 -left-[23vw]",noWrap:!0,children:m.map(e=>(0,t.jsx)(p,{integration:e},e.name))})]})})}),(0,t.jsx)(r.Section,{className:"pt-0! z-1",children:(0,t.jsx)(n.Center,{className:"mt-12",children:(0,t.jsx)(l.default,{href:o.default.zapierApp,children:(0,t.jsx)(a.Button,{className:"[zoom:1.1] border-white/20 hover:border-white/40 text-white/40 hover:text-white/60",variant:"line",iconSide:"right",icon:(0,t.jsx)(u.ChevronRight,{}),children:"View integrations"})})})}),(0,t.jsx)("div",{className:"absolute right-0 bottom-0 w-[70vw] h-[400px] z-0 pointer-events-none dark:opacity-60",children:(0,t.jsx)(c.default,{outset:400,opacity:.7,intensity:.2})})]})}],872553);var h=e.i(840442),x=e.i(416340),f=e.i(251839);function g(){let{isHovering:e}=(0,x.useContext)(h.FeatureContext);return(0,t.jsx)(i.Card,{className:"w-full h-[130px] p-5 flex flex-row items-stretch justify-stretch relative light:border-none dark:border-typ-750 shadow-sm! overflow-hidden",children:(0,t.jsxs)(n.HStack,{className:"w-full justify-between items-end gap-1",noWrap:!0,children:[(0,t.jsx)(y,{h:20}),(0,t.jsx)(y,{h:30}),(0,t.jsx)(y,{h:55}),(0,t.jsx)(y,{h:40}),(0,t.jsx)(y,{h:60}),(0,t.jsx)(y,{h:e?90:80,accent:e}),(0,t.jsx)(y,{h:65}),(0,t.jsx)(y,{h:25}),(0,t.jsx)(y,{h:35})]})})}let y=e=>{let{h:a,accent:i}=e,{isHovering:n}=(0,x.useContext)(h.FeatureContext);return(0,t.jsx)("div",{className:(0,f.default)("w-2 rounded-lg",i?"bg-linear-to-b from-[#4CBBFF] to-[#1DA1F2]":"bg-linear-to-b from-[#D9E1E6] to-[#C2CED6]","transition-all duration-[350ms] ease-in-out",n&&!i&&"opacity-50"),style:{height:"".concat(a,"%")}})};e.i(927840);var w=e.i(700995),v=e.i(995415),b=e.i(13660);function j(){let{isHovering:e}=(0,x.useContext)(h.FeatureContext);return(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsx)(b.motion.div,{animate:e?{scale:1.4}:{scale:1.3,y:1},className:"flex-center relative bg-typ-bg1 dark:border dark:border-typ-750 shadow-sm rounded-[90px] w-[90px] h-[90px] bottom-[
215px] z-1",children:(0,t.jsx)(v.TwitterRetweet,{size:44,color:"hsl(121, 63%, 47%)"})}),(0,t.jsx)("div",{className:"flex-center relative bg-typ-bg1 dark:border dark:border-typ-750 shadow-sm rounded-[90px] w-[90px] h-[90px] top-[10px] right-[0px]",children:(0,t.jsx)(w.TwitterLike,{size:44,color:"hsl(335, 100%, 60%)"})})]})}var A=e.i(878420),E=e.i(64386),k=e.i(334858),C=e.i(52722);function F(){let{isHovering:e}=(0,x.useContext)(h.FeatureContext);return(0,t.jsxs)(a.Button,{className:"w-full h-[48px] text-[17px] rounded-full overflow-hidden transition-all duration-150 ease-in-out pointer-events-none",style:{background:e?"var(--success)":"var(--orange)",boxShadow:e?"0px 0px 30px hsla(120, 80%, 50%, 0.4)":"none"},children:[(0,t.jsx)(b.motion.div,(0,E._)((0,A._)({animate:e?{y:-40}:{y:0}},h.illustrationMotionProps),{className:"flex-center absolute inset-0",children:(0,t.jsxs)(n.HStack,{className:"gap-1.5",children:[(0,t.jsx)(C.Plus,{color:"white",strokeWidth:2,size:20}),"Add to queue"]})})),(0,t.jsx)(b.motion.div,(0,E._)((0,A._)({animate:e?{y:0}:{y:40}},h.illustrationMotionProps),{className:"flex-center absolute inset-0",children:(0,t.jsxs)(n.HStack,{className:"gap-1.5",children:[(0,t.jsx)(k.Check,{color:"white",strokeWidth:2,size:20}),"Tomorrow at 5pm"]})}))]})}e.s(["default",0,function(){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.Section,{children:(0,t.jsx)(d.default,{title:(0,t.jsx)(t.Fragment,{children:"Queue your content in seconds"}),subtitle:(0,t.jsx)(t.Fragment,{children:"Write, schedule and boost your posts - with no need for extra apps."})})}),(0,t.jsx)(r.Section,{size:"lg",className:"pt-0!",children:(0,t.jsxs)("div",{className:"grid items-center gap-8 grid-cols-[300px_1fr] md:grid-cols-[340px_1fr] max-[768px]:grid-cols-1",children:[(0,t.jsxs)(n.VStack,{noWrap:!0,className:"gap-4 items-stretch",children:[(0,t.jsx)(h.default,{title:"Queue posts with one click",body:"Schedule social media posts with a single click - or pick a time manually.",children:(0,t.jsx)(F,{})}),(0,t.jsx)(h.default,{title:"Pick the perfect time",body:"Time each post to perfection with Typefully's performance analytics.",children:(0,t.jsx)(g,{})}),(0,t.jsx)(h.default,{title:"Automate engagement",body:"Retweet and plug your posts for automated engagement.",children:(0,t.jsx)(j,{})})]}),(0,t.jsx)("div",{className:"max-[768px]:hidden h-[920px] aspect-[1.08] overflow-hidden rounded-[14px] shadow-xl",children:(0,t.jsx)(r.Img,{src:"/images/landing/queue-ui.png",darkSrc:"/images/landing/queue-ui-dark.png",alt:"Queue",className:"w-full h-full transition-opacity duration-500 dark:border border-typ-c7"})})]})})]})}],101138)},846009,e=>{"use strict";let t=["giphy.com/","instagram.com/",".substack.com","://substack.com"];e.s(["isLinkPreviewUnsupportedForPlatform",0,function(e){let{platform:a,url:i,linkPreview:n}=e;return"twitter"===a&&[i,null==n?void 0:n.requestedURL,null==n?void 0:n.url,null==n?void 0:n.urlAfterRedirects].filter(e=>!!e).some(e=>
2t.some(t=>e.includes(t)))},"selectLinkPreviewCandidatesForPlatform",0,function(e){let{platform:t,urls:a}=e;return"twitter"!==t?a:a.slice(0,1)}])},910916,126375,e=>{"use strict";var t=e.i(416340);function a(e){return"aspect_ratio"in e}async function i(e){let t="aspect_ratio"in e?e.aspect_ratio:void 0;if(t)return t;let a=(()=>{if("url"in e)return e.url;if("public_url"in e)return e.public_url;if("media_url_https"in e){var t;return null!=(t=e.media_url_https)?t:e.preview_image_url}})();return a?new Promise(e=>{let t=new Image;t.onload=()=>{e(t.height/t.width)},t.onerror=()=>{console.warn("⚠️ Failed to load image:",a.slice(-20)),e(.65)},t.src=a}):.65}async function n(e){return e.type.startsWith("image")?new Promise(t=>{let a=new Image,i=URL.createObjectURL(e);a.onload=()=>{let e=a.height/a.width;URL.revokeObjectURL(i),t(e)},a.onerror=()=>{console.warn("⚠️ Failed to load file:",e.name),URL.revokeObjectURL(i),t(.65)},a.src=i}):.65}async function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=!(arguments.length>2)||void 0===arguments[2]||arguments[2],s=e.map(e=>i(e)),l=t.map(e=>n(e));return r(await Promise.all([...s,...l]),a)}function r(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(!(null==e?void 0:e.length))return .65;let a=e.reduce((e,t)=>e+t,0)/e.length;return t?Math.max(Math.min(a,1.32),.2):a}e.s(["DEFAULT_RATIO",0,.65,"default",0,function(e){let{images:i=[],files:n=[],capped:l=!0}=e,[o,u]=(0,t.useState)(()=>{let e;return 0===(e=i.filter(a).map(e=>e.aspect_ratio).filter(e=>void 0!==e)).length?.65:r(e,!0)}),c=(0,t.useRef)(!1);return(0,t.useEffect)(()=>{if(!(i.some(e=>!a(e)||!e.aspect_ratio)||n.length>0)){c.current=!0;return}c.current||0!=[...null!=i?i:[],...null!=n?n:[]].length&&s(i,n,l).then(e=>{e&&u(e)}).finally(()=>{c.current=!0})},[i,n,l]),{aspectRatio:o,finished:c.current}}],910916);var l=e.i(878420),o=e.i(64386),u=e.i(831136),c=e.i(673073);e.s(["convertLinkPreviewToAtomic",0,e=>({title:e.title||"",description:e.description||"",image:e.image||"",url:e.url||"",urlAfterRedirects:e.urlAfterRedirects||"",requestedURL:e.requestedURL||"","twitter:card":e["twitter:card"]||"summary_large_image"}),"useLinkPreviewFromUrls",0,function(e,a){let{isEnabled:i}=a,n=(0,t.useMemo)(()=>e.filter(e=>(function(e){try{let{protocol:t,hostname:a}=new URL(e);if(!a||!t||"http:"!==t&&"https:"!==t||"localhost"===a)return!1;if(/^(?:\d{1,3}\.){3}\d{1,3}$/.test(a))return!0;if(!a.includes("."))return!1;let i=a.split(".");if(i[i.length-1].length<2)return!1;return!0}catch(e){return!1}})(e)),[e]),[s,r]=(0,t.useState)(()=>n.length-1),d=(0,t.useMemo)(()=>n.join("|"),[n]);(0,t.useEffect)(()=>{r(n.length-1)},[d]);let p=s>=0?n[s]:void 0,{data:m,isFetching:h,isError:x}=(0,u.useQuery)((0,o._)((0,l._)({},c.queries.linkPreview.get(p||"")),{enabled:i&&!!p,staleTime:1/0,retry:(e,t)=>{var a;let i=null==t||null==(a=t.response)?void 0:a.status;return(!i||!(i>=400))&&e<2},refetchOnReconnect:!1,retryOnMount:!1,refetchOnWindowFocus:!1}));return(0,t.useEffect)(()=>{x&&r(e=>Math.max(e-1,-1))},[x]),{url:p,preview:m,isFetching:h}}],126375)},755930,e=>{"use strict";let t=(e,t)=>{for(let a in t)e[a]=t[a];return e},a="numeric",i="ascii",n="alpha",s="asciinumeric",r="alphanumeric",l="domain",o="emoji",u="whitespace";function c(e,t,u){for(let c in t[a]&&(t[s]=!0,t[r]=!0),t[i]&&(t[s]=!0,t[n]=!0),t[s]&&(t[r]=!0),t[n]&&(t[r]=!0),t[r]&&(t[l]=!0),t[o]&&
2(t[l]=!0),t){let t=(c in u||(u[c]=[]),u[c]);0>t.indexOf(e)&&t.push(e)}}function d(e){void 0===e&&(e=null),this.j={},this.jr=[],this.jd=null,this.t=e}d.groups={},d.prototype={accepts(){return!!this.t},go(e){let t=this.j[e];if(t)return t;for(let t=0;t<this.jr.length;t++){let a=this.jr[t][0],i=this.jr[t][1];if(i&&a.test(e))return i}return this.jd},has(e,t){return void 0===t&&(t=!1),t?e in this.j:!!this.go(e)},ta(e,t,a,i){for(let n=0;n<e.length;n++)this.tt(e[n],t,a,i)},tr(e,t,a,i){let n;return i=i||d.groups,t&&t.j?n=t:(n=new d(t),a&&i&&c(t,a,i)),this.jr.push([e,n]),n},ts(e,t,a,i){let n=this,s=e.length;if(!s)return n;for(let t=0;t<s-1;t++)n=n.tt(e[t]);return n.tt(e[s-1],t,a,i)},tt(e,a,i,n){if(n=n||d.groups,a&&a.j)return this.j[e]=a,a;let s,r=this.go(e);return r?(t((s=new d).j,r.j),s.jr.push.apply(s.jr,r.jr),s.jd=r.jd,s.t=r.t):s=new d,a&&(n&&(s.t&&"string"==typeof s.t?c(a,t(function(e,t){let a={};for(let i in t)t[i].indexOf(e)>=0&&(a[i]=!0);return a}(s.t,n),i),n):i&&c(a,i,n)),s.t=a),this.j[e]=s,s}};let p=(e,t,a,i,n)=>e.ta(t,a,i,n),m=(e,t,a,i,n)=>e.tr(t,a,i,n),h=(e,t,a,i,n)=>e.ts(t,a,i,n),x=(e,t,a,i,n)=>e.tt(t,a,i,n),f="WORD",g="UWORD",y="LOCALHOST",w="UTLD",v="SCHEME",b="SLASH_SCHEME",j="OPENBRACE",A="CLOSEBRACE",E="OPENBRACKET",k="CLOSEBRACKET",C="OPENPAREN",F="CLOSEPAREN",N="OPENANGLEBRACKET",D="CLOSEANGLEBRACKET",S="FULLWIDTHLEFTPAREN",B="FULLWIDTHRIGHTPAREN",T="LEFTCORNERBRACKET",_="RIGHTCORNERBRACKET",P="LEFTWHITECORNERBRACKET",M="RIGHTWHITECORNERBRACKET",L="FULLWIDTHLESSTHAN",R="FULLWIDTHGREATERTHAN",I="AMPERSAND",z="APOSTROPHE",O="ASTERISK",H="BACKSLASH",W="BACKTICK",U="CARET",V="COLON",q="COMMA",G="DOLLAR",K="EQUALS",X="EXCLAMATION",Q="HYPHEN",Y="PERCENT",Z="PIPE",$="PLUS",J="POUND",ee="QUERY",et="QUOTE",ea="SEMI",ei="SLASH",en="TILDE",es="UNDERSCORE",er="EMOJI";var el=Object.freeze({__proto__:null,WORD:f,UWORD:g,LOCALHOST:y,TLD:"TLD",UTLD:w,SCHEME:v,SLASH_SCHEME:b,NUM:"NUM",WS:"WS",NL:"NL",OPENBRACE:j,CLOSEBRACE:A,OPENBRACKET:E,CLOSEBRACKET:k,OPENPAREN:C,CLOSEPAREN:F,OPENANGLEBRACKET:N,CLOSEANGLEBRACKET:D,FULLWIDTHLEFTPAREN:S,FULLWIDTHRIGHTPAREN:B,LEFTCORNERBRACKET:T,RIGHTCORNERBRACKET:_,LEFTWHITECORNERBRACKET:P,RIGHTWHITECORNERBRACKET:M,FULLWIDTHLESSTHAN:L,FULLWIDTHGREATERTHAN:R,AMPERSAND:I,APOSTROPHE:z,ASTERISK:O,AT:"AT",BACKSLASH:H,BACKTICK:W,CARET:U,COLON:V,COMMA:q,DOLLAR:G,DOT:"DOT",EQUALS:K,EXCLAMATION:X,HYPHEN:Q,PERCENT:Y,PIPE:Z,PLUS:$,POUND:J,QUERY:ee,QUOTE:et,SEMI:ea,SLASH:ei,TILDE:en,UNDERSCORE:es,EMOJI:er,SYM:"SYM"});let eo=/[a-z]/,eu=RegExp("[\\u0041-\\u005A\\u0061-\\u007A\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376-\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0560-\\u0588\\u05D0-\\u05EA\\u05EF-\\u05F2\\u0620-\\u064A\\u066E-\\u066F\\u0671-\\u06D3\\u06D5\\u06E5-\\u06E6\\u06EE-\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4-\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u0860-\\u086A\\u0870-\\u0887\\u0889-\\u088F\\u08A0-\\u08C9\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F-\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC-\\u09DD\\u09DF-\\u09E1\\u09F0-\\u09F1\\u09FC\\u0A05-\\u0A0A\\u0A0F-\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32-\\u0A33\\u0A35-\\u0A36\\u0A38-\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2-\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0-\\u0AE1\\u0AF9\\u0B05-\\u0B0C\\u0B0F-\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32-\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C-\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99-\\u0B9A\\u0B9C\\u0B9E-\\u0B9F\\u0BA3-\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58-\\u0C5A\\u0C5C-\\u0C5D\\u0C60-\\u0C61\\u0C80\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDC-\\u0CDE\\u0CE0-\\u0CE1\\u0CF1-\\u0CF2\\u0D04-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D54-\\u0D56\\u0D5F-\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u
20D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32-\\u0E33\\u0E40-\\u0E46\\u0E81-\\u0E82\\u0E84\\u0E86-\\u0E8A\\u0E8C-\\u0EA3\\u0EA5\\u0EA7-\\u0EB0\\u0EB2-\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065-\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16F1-\\u16F8\\u1700-\\u1711\\u171F-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1878\\u1880-\\u1884\\u1887-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4C\\u1B83-\\u1BA0\\u1BAE-\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1C80-\\u1C8A\\u1C90-\\u1CBA\\u1CBD-\\u1CBF\\u1CE9-\\u1CEC\\u1CEE-\\u1CF3\\u1CF5-\\u1CF6\\u1CFA\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183-\\u2184\\u2C00-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2-\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3006\\u3031-\\u3035\\u303B-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312F\\u3131-\\u318E\\u31A0-\\u31BF\\u31F0-\\u31FF\\u3400-\\u4DBF\\u4E00-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A-\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6E5\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7DC\\uA7F1-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA8FD-\\uA8FE\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5-\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB69\\uAB70-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40-\\uFB41\\uFB43-\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC\\u{10000}-\\u{1000B}\\u{1000D}-\\u{10026}\\u{10028}-\\u{1003A}\\u{1003C}-\\u{1003D}\\u{1003F}-\\u{1004D}\\u{10050}-\\u{1005D}\\u{10080}-\\u{100FA}\\u{10280}-\\u{1029C}\\u{102A0}-\\u{102D0}\\u{10300}-\\u{1031F}\\u{1032D}-\\u{10340}\\u{10342}-\\u{10349}\\u{10350}-\\u{10375}\\u{10380}-\\u{1039D}\\u{103A0}-\\u{103C3}\\u{103C8}-\\u{103CF}\\u{10400}-\\u{1049D}\\u{104B0}-\\u{104D3}\\u{104D8}-\\u{104FB}\\u{10500}-\\u{10527}\\u{10530}-\\u{10563}\\u{10570}-\\u{1057A}\\u{1057C}-\\u{1058A}\\u{1058C}-\\u{10592}\\u{10594}-\\u{10595}\\u{10597}-\\u{105A1}\\u{105A3}-\\u{105B1}\\u{105B3}-\\u{105B9}\\u{105BB}-\\u{105BC}\\u{105C0}-\\u{105F3}\\u{10600}-\\u{10736}\\u{10740}-\\u{10755}\\u{10760}-\\u{10767}\\u{10780}-\\u{10785}\\u{10787}-\\u{107B0}\\u{107B2}-\\u{107BA}\\u{10800}-\\u{10805}\\u{10808}\\u{1080A}-\\u{10835}\\u{10837}-\\u{10838}\\u{1083C}\\u{1083F}-\\u{10855}\\u{10860}-\\u{10876}\\u{10880}-\\u{1089E}\\u{108E0}-\\u{108F2}\\u{108F4}-\\u{108F5}\\u{10900}-\\u{10915}\\u{10920}-\\u{10939}\\u{10940}-\\u{10959}\\u{10980}-\\u{109B7}\\u{109BE}-\\u{109BF}\\u{10A00}\\u{10A10}-\\u{10A13}\\u{10A15}-\\u{10A17}\\u{10A19}-\\u{10A35}\\u{10A60}-\\u{10A7C}\\u{10A80}-\\u{10A9C}\\u{10AC0}-\\u{10AC7}\\u{10AC9}-\\u{10AE4}\\u{10B00}-\\u{10B35}\\u{10B40}-\\u{10B55}\\u{10B60}-\\u{10B72}\\u{10B80}-\\u{10B91}\\u{10C00}-\\u{10C48}\\u{10C80}-\\u{10CB2}\\u{10CC0}-\\u{10CF2}\\u{10D00}-\\u{10D23}\\u{10D4A}-\\u{10D65}\\u{10D6F}-\\u{10D85}\\u{10E80}-\\u{10EA9}\\u{10EB0}-\\u{10EB1}\\u{10EC2}-\\u{10EC7}\\u{10F00}-\\u{10F1C}\\u{10F27}\\u{10F30}-\\u{10F45}\\u{10F70}-\\u{10F81}\\u{10FB0}-\\u{10FC4}\\u{10FE0}-\\u{10FF6}\\u{11003}-\\u{11037}\\u{11071}-\\u{11072}\\u{11075}\\u{11083}-\\u{110AF}\\u{110D0}-\\u{110E8}\\u{11103}-\\u{11126}\\u{11144}\\u{11147}\\u{11150}-\\u{11172}\\u{11176}\\u{11183}-\\u{111B2}\\u{111C1}-\\u{111C4}\\u{111DA}\\u{111DC}\\u{11200}-\\u{11211}\\u{11213}-\\u{1122B}\\u{1123F}-\\u{11240}\\u{11280}-\\u{11286}\\u{11288}\\u{1128A}-\\u{1128D}\\u{1128F}-\\u{1129D}\\u{1129F}-\\u{112A8}\\u{112B0}-\\u{112DE}\\u{11305}-\\u{1130C}\\u{1130F}-\\u{11310}\\u{11313}-\\u{11328}\\u{1132A}-\\u{11330}\\u{11332}-\\u{11333}\\u{11335}-\\u{11339}\\u{1133D}\\u{11350}\\u{1135D}-\\u{11361}\\u{11380}-\\u{11389}\\u{1138B}\\u{1138E}\\u{11390}-\\u{113B5}\\u{113B7}\\u{113D1}\\u{113D3}\\u{11400}-\\u{11434}\\u{11447}-\\u{1144A}\\u{1145F}-\\u{11461}\\u{11480}-\\u{114AF}\\u{114C4}-\\u{114C5}\\u{114C7}\\u{11580}-\\u{115AE}\\u{115D8}-\\u{115DB}\\u{11600}-\\u{1162F}\\u{11644}\\u{11680}-\\u{116AA}\\u{116B8}\\u{11700}-\\u{1171A}\\u{11740}-\\u{11746}\\u{11800}-\\u{1182B}
2\\u{118A0}-\\u{118DF}\\u{118FF}-\\u{11906}\\u{11909}\\u{1190C}-\\u{11913}\\u{11915}-\\u{11916}\\u{11918}-\\u{1192F}\\u{1193F}\\u{11941}\\u{119A0}-\\u{119A7}\\u{119AA}-\\u{119D0}\\u{119E1}\\u{119E3}\\u{11A00}\\u{11A0B}-\\u{11A32}\\u{11A3A}\\u{11A50}\\u{11A5C}-\\u{11A89}\\u{11A9D}\\u{11AB0}-\\u{11AF8}\\u{11BC0}-\\u{11BE0}\\u{11C00}-\\u{11C08}\\u{11C0A}-\\u{11C2E}\\u{11C40}\\u{11C72}-\\u{11C8F}\\u{11D00}-\\u{11D06}\\u{11D08}-\\u{11D09}\\u{11D0B}-\\u{11D30}\\u{11D46}\\u{11D60}-\\u{11D65}\\u{11D67}-\\u{11D68}\\u{11D6A}-\\u{11D89}\\u{11D98}\\u{11DB0}-\\u{11DDB}\\u{11EE0}-\\u{11EF2}\\u{11F02}\\u{11F04}-\\u{11F10}\\u{11F12}-\\u{11F33}\\u{11FB0}\\u{12000}-\\u{12399}\\u{12480}-\\u{12543}\\u{12F90}-\\u{12FF0}\\u{13000}-\\u{1342F}\\u{13441}-\\u{13446}\\u{13460}-\\u{143FA}\\u{14400}-\\u{14646}\\u{16100}-\\u{1611D}\\u{16800}-\\u{16A38}\\u{16A40}-\\u{16A5E}\\u{16A70}-\\u{16ABE}\\u{16AD0}-\\u{16AED}\\u{16B00}-\\u{16B2F}\\u{16B40}-\\u{16B43}\\u{16B63}-\\u{16B77}\\u{16B7D}-\\u{16B8F}\\u{16D40}-\\u{16D6C}\\u{16E40}-\\u{16E7F}\\u{16EA0}-\\u{16EB8}\\u{16EBB}-\\u{16ED3}\\u{16F00}-\\u{16F4A}\\u{16F50}\\u{16F93}-\\u{16F9F}\\u{16FE0}-\\u{16FE1}\\u{16FE3}\\u{16FF2}-\\u{16FF3}\\u{17000}-\\u{18CD5}\\u{18CFF}-\\u{18D1E}\\u{18D80}-\\u{18DF2}\\u{1AFF0}-\\u{1AFF3}\\u{1AFF5}-\\u{1AFFB}\\u{1AFFD}-\\u{1AFFE}\\u{1B000}-\\u{1B122}\\u{1B132}\\u{1B150}-\\u{1B152}\\u{1B155}\\u{1B164}-\\u{1B167}\\u{1B170}-\\u{1B2FB}\\u{1BC00}-\\u{1BC6A}\\u{1BC70}-\\u{1BC7C}\\u{1BC80}-\\u{1BC88}\\u{1BC90}-\\u{1BC99}\\u{1D400}-\\u{1D454}\\u{1D456}-\\u{1D49C}\\u{1D49E}-\\u{1D49F}\\u{1D4A2}\\u{1D4A5}-\\u{1D4A6}\\u{1D4A9}-\\u{1D4AC}\\u{1D4AE}-\\u{1D4B9}\\u{1D4BB}\\u{1D4BD}-\\u{1D4C3}\\u{1D4C5}-\\u{1D505}\\u{1D507}-\\u{1D50A}\\u{1D50D}-\\u{1D514}\\u{1D516}-\\u{1D51C}\\u{1D51E}-\\u{1D539}\\u{1D53B}-\\u{1D53E}\\u{1D540}-\\u{1D544}\\u{1D546}\\u{1D54A}-\\u{1D550}\\u{1D552}-\\u{1D6A5}\\u{1D6A8}-\\u{1D6C0}\\u{1D6C2}-\\u{1D6DA}\\u{1D6DC}-\\u{1D6FA}\\u{1D6FC}-\\u{1D714}\\u{1D716}-\\u{1D734}\\u{1D736}-\\u{1D74E}\\u{1D750}-\\u{1D76E}\\u{1D770}-\\u{1D788}\\u{1D78A}-\\u{1D7A8}\\u{1D7AA}-\\u{1D7C2}\\u{1D7C4}-\\u{1D7CB}\\u{1DF00}-\\u{1DF1E}\\u{1DF25}-\\u{1DF2A}\\u{1E030}-\\u{1E06D}\\u{1E100}-\\u{1E12C}\\u{1E137}-\\u{1E13D}\\u{1E14E}\\u{1E290}-\\u{1E2AD}\\u{1E2C0}-\\u{1E2EB}\\u{1E4D0}-\\u{1E4EB}\\u{1E5D0}-\\u{1E5ED}\\u{1E5F0}\\u{1E6C0}-\\u{1E6DE}\\u{1E6E0}-\\u{1E6E2}\\u{1E6E4}-\\u{1E6E5}\\u{1E6E7}-\\u{1E6ED}\\u{1E6F0}-\\u{1E6F4}\\u{1E6FE}-\\u{1E6FF}\\u{1E7E0}-\\u{1E7E6}\\u{1E7E8}-\\u{1E7EB}\\u{1E7ED}-\\u{1E7EE}\\u{1E7F0}-\\u{1E7FE}\\u{1E800}-\\u{1E8C4}\\u{1E900}-\\u{1E943}\\u{1E94B}\\u{1EE00}-\\u{1EE03}\\u{1EE05}-\\u{1EE1F}\\u{1EE21}-\\u{1EE22}\\u{1EE24}\\u{1EE27}\\u{1EE29}-\\u{1EE32}\\u{1EE34}-\\u{1EE37}\\u{1EE39}\\u{1EE3B}\\u{1EE42}\\u{1EE47}\\u{1EE49}\\u{1EE4B}\\u{1EE4D}-\\u{1EE4F}\\u{1EE51}-\\u{1EE52}\\u{1EE54}\\u{1EE57}\\u{1EE59}\\u{1EE5B}\\u{1EE5D}\\u{1EE5F}\\u{1EE61}-\\u{1EE62}\\u{1EE64}\\u{1EE67}-\\u{1EE6A}\\u{1EE6C}-\\u{1EE72}\\u{1EE74}-\\u{1EE77}\\u{1EE79}-\\u{1EE7C}\\u{1EE7E}\\u{1EE80}-\\u{1EE89}\\u{1EE8B}-\\u{1EE9B}\\u{1EEA1}-\\u{1EEA3}\\u{1EEA5}-\\u{1EEA9}\\u{1EEAB}-\\u{1EEBB}\\u{20000}-\\u{2A6DF}\\u{2A700}-\\u{2B81D}\\u{2B820}-\\u{2CEAD}\\u{2CEB0}-\\u{2EBE0}\\u{2EBF0}-\\u{2EE5D}\\u{2F800}-\\u{2FA1D}\\u{30000}-\\u{3134A}\\u{31350}-\\u{33479}]","u"),ec=RegExp("[\\u0023\\u002A\\u0030-\\u0039\\u00A9\\u00AE\\u203C\\u2049\\u2122\\u2139\\u2194-\\u2199\\u21A9-\\u21AA\\u231A-\\u231B\\u2328\\u23CF\\u23E9-\\u23F3\\u23F8-\\u23FA\\u24C2\\u25AA-\\u25AB\\u25B6\\u25C0\\u25FB-\\u25FE\\u2600-\\u2604\\u260E\\u2611\\u2614-\\u2615\\u2618\\u261D\\u2620\\u2622-\\u2623\\u2626\\u262A\\u262E-\\u262F\\u2638-\\u263A\\u2640\\u2642\\u2648-\\u2653\\u265F-\\u2660\\u2663\\u2665-\\u2666\\u2668\\u267B\\u267E-\\u267F\\u2692-\\u2697\\u2699\\u269B-\\u269C\\u26A0-\\u26A1\\u26A7\\u26AA-\\u26AB\\u26B0-\\u26B1\\u26BD-\\u26BE\\u26C4-\\u26C5\\u26C8\\u26CE-\\u26CF\\u26D1\\u26D3-\\u26D4\\u26E9-\\u26EA\\u26F0-\\u26F5\\u26F7-\\u26FA\\u26FD\\u2702\\u2705\\u2708-\\u270D\\u270F\\u2712\\u2714\\u2716\\u271D\\u2721\\u2728\\u2733-\\u2734\\u2744\\u2747\\u274C\\u274E\\u2753-\\u2755\\u2757\\u2763-\\u2764\\u2795-\\u2797\\u27A1\\u27B0\\u27BF\\u2934-\\u2935\\u2B05-\\u2B07\\u2B1B-\\u2B1C\\u2B50\\u2B55\\u3030\\u303D\\u3297\\u3299\\u{1F004}\\u{1F0CF}\\u{1F170}-\\u{1F171}\\u{1F17E}-\\u{1F17F}\\u{1F18E}\\u{1F191}-\\u{1F19A}\\u{1F1E6}-\\u{1F1FF}\\u{1F201}-\\u{1F202}\\u{1F21A}\\u{1F22F}\\u{1F232}-\\u{1F23A}\\u{1F250}-\\u{1F251}\\u{1F300}-\\u{1F321}\\u{1F324}-\\u{1F393}\\u{1F396}-\\u{1F397}\\u{1F399}-\\u{1F39B}
2\\u{1F39E}-\\u{1F3F0}\\u{1F3F3}-\\u{1F3F5}\\u{1F3F7}-\\u{1F4FD}\\u{1F4FF}-\\u{1F53D}\\u{1F549}-\\u{1F54E}\\u{1F550}-\\u{1F567}\\u{1F56F}-\\u{1F570}\\u{1F573}-\\u{1F57A}\\u{1F587}\\u{1F58A}-\\u{1F58D}\\u{1F590}\\u{1F595}-\\u{1F596}\\u{1F5A4}-\\u{1F5A5}\\u{1F5A8}\\u{1F5B1}-\\u{1F5B2}\\u{1F5BC}\\u{1F5C2}-\\u{1F5C4}\\u{1F5D1}-\\u{1F5D3}\\u{1F5DC}-\\u{1F5DE}\\u{1F5E1}\\u{1F5E3}\\u{1F5E8}\\u{1F5EF}\\u{1F5F3}\\u{1F5FA}-\\u{1F64F}\\u{1F680}-\\u{1F6C5}\\u{1F6CB}-\\u{1F6D2}\\u{1F6D5}-\\u{1F6D8}\\u{1F6DC}-\\u{1F6E5}\\u{1F6E9}\\u{1F6EB}-\\u{1F6EC}\\u{1F6F0}\\u{1F6F3}-\\u{1F6FC}\\u{1F7E0}-\\u{1F7EB}\\u{1F7F0}\\u{1F90C}-\\u{1F93A}\\u{1F93C}-\\u{1F945}\\u{1F947}-\\u{1F9FF}\\u{1FA70}-\\u{1FA7C}\\u{1FA80}-\\u{1FA8A}\\u{1FA8E}-\\u{1FAC6}\\u{1FAC8}\\u{1FACD}-\\u{1FADC}\\u{1FADF}-\\u{1FAEA}\\u{1FAEF}-\\u{1FAF8}]","u"),ed=/\d/,ep=/\s/,em=null,eh=null;function ex(e,t,a,i,n){let s,r=t.length;for(let a=0;a<r-1;a++){let r=t[a];e.j[r]?s=e.j[r]:((s=new d(i)).jr=n.slice(),e.j[r]=s),e=s}return(s=new d(a)).jr=n.slice(),e.j[t[r-1]]=s,s}function ef(e){let t=[],a=[],i=0;for(;i<e.length;){let n=0;for(;"0123456789".indexOf(e[i+n])>=0;)n++;if(n>0){t.push(a.join(""));for(let t=parseInt(e.substring(i,i+n),10);t>0;t--)a.pop();i+=n}else a.push(e[i]),i++}return t}let eg={defaultProtocol:"http",events:null,format:ew,formatHref:ew,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function ey(e,a){void 0===a&&(a=null);let i=t({},eg);e&&(i=t(i,e instanceof ey?e.o:e));let n=i.ignoreTags,s=[];for(let e=0;e<n.length;e++)s.push(n[e].toUpperCase());this.o=i,a&&(this.defaultRender=a),this.ignoreTags=s}function ew(e){return e}function ev(e,t){this.t="token",this.v=e,this.tk=t}function eb(e,t){class a extends ev{constructor(t,a){super(t,a),this.t=e}}for(let e in t)a.prototype[e]=t[e];return a.t=e,a}ey.prototype={o:eg,ignoreTags:[],defaultRender:e=>e,check(e){return this.get("validate",e.toString(),e)},get(e,t,a){let i=null!=t,n=this.o[e];return n&&("object"==typeof n?"function"==typeof(n=a.t in n?n[a.t]:eg[e])&&i&&(n=n(t,a)):"function"==typeof n&&i&&(n=n(t,a.t,a))),n},getObj(e,t,a){let i=this.o[e];return"function"==typeof i&&null!=t&&(i=i(t,a.t,a)),i},render(e){let t=e.render(this);return(this.get("render",null,e)||this.defaultRender)(t,e.t,e)}},ev.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){let t=this.toString(),a=e.get("truncate",t,this),i=e.get("format",t,this);return a&&i.length>a?i.substring(0,a)+"…":i},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e){return void 0===e&&(e=eg.defaultProtocol),{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){let a=this.toHref(e.get("defaultProtocol")),i=e.get("formatHref",a,this),n=e.get("tagName",a,this),s=this.toFormattedString(e),r={},l=e.get("className",a,this),o=e.get("target",a,this),u=e.get("rel",a,this),c=e.getObj("attributes",a,this),d=e.getObj("events",a,this);return r.href=i,l&&(r.class=l),o&&(r.target=o),u&&(r.rel=u),c&&t(r,c),{tagName:n,attributes:r,content:s,eventListeners:d}}};let ej=eb("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),eA=eb("text"),eE=eb("nl"),ek=eb("url",{isLink:!0,toHref(e){return void 0===e&&(e=eg.defaultProtocol),this.hasProtocol()?this.v:"".concat(e,"://").concat(this.v)},hasProtocol(){let e=this.tk;return e.length>=2&&e[0].t!==y&&e[1].t===V}}),eC=e=>new d(e);function eF(e,t,a){let i=a[0].s,n=a[a.length-1].e;return new e(t.slice(i,n),a)}let eN={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function eD(e){return eN.initialized||function(){eN.scanner=function(e){void 0===e&&(e=[]);let r={};d.groups=r;let p=new d;null==em&&(em=ef("aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2
2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2")),null==eh&&(eh=ef("ελ1υ2бг1ел3дети4ею2католик6ом3мÐ
2ºÐ´2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3Õ°Õ¡Õµ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1ì»´2삼성2한국2")),x(p,"'",z),x(p,"{",j),x(p,"}",A),x(p,"[",E),x(p,"]",k),x(p,"(",C),x(p,")",F),x(p,"<",N),x(p,">",D),x(p,"(",S),x(p,")",B),x(p,"「",T),x(p,"」",_),x(p,"『",P),x(p,"』",M),x(p,"<",L),x(p,">",R),x(p,"&",I),x(p,"*",O),x(p,"@","AT"),x(p,"`",W),x(p,"^",U),x(p,":",V),x(p,",",q),x(p,"$",G),x(p,".","DOT"),x(p,"=",K),x(p,"!",X),x(p,"-",Q),x(p,"%",Y),x(p,"|",Z),x(p,"+",$),x(p,"#",J),x(p,"?",ee),x(p,'"',et),x(p,"/",ei),x(p,";",ea),x(p,"~",en),x(p,"_",es),x(p,"\\",H);let eg=m(p,ed,"NUM",{[a]:!0});m(eg,ed,eg);let ey=m(p,eo,f,{[i]:!0});m(ey,eo,ey);let ew=m(p,eu,g,{[n]:!0});m(ew,eo),m(ew,eu,ew);let ev=m(p,ep,"WS",{[u]:!0});x(p,"\n","NL",{[u]:!0}),x(ev,"\n"),m(ev,ep,ev);let eb=m(p,ec,er,{[o]:!0});m(eb,ec,eb),x(eb,"️",eb),m(x(eb,"‍"),ec,eb);let ej=[[eo,ey]],eA=[[eo,null],[eu,ew]];for(let e=0;e<em.length;e++)ex(p,em[e],"TLD",f,ej);for(let e=0;e<eh.length;e++)ex(p,eh[e],w,g,eA);c("TLD",{tld:!0,ascii:!0},r),c(w,{utld:!0,alpha:!0},r),ex(p,"file",v,f,ej),ex(p,"mailto",v,f,ej),ex(p,"http",b,f,ej),ex(p,"https",b,f,ej),ex(p,"ftp",b,f,ej),ex(p,"ftps",b,f,ej),c(v,{scheme:!0,ascii:!0},r),c(b,{slashscheme:!0,ascii:!0},r),e=e.sort((e,t)=>e[0]>t[0]?1:-1);for(let t=0;t<e.length;t++){let n=e[t][0],r=e[t][1]?{scheme:!0}:{slashscheme:!0};n.indexOf("-")>=0?r[l]=!0:eo.test(n)?ed.test(n)?r[s]=!0:r[i]=!0:r[a]=!0,h(p,n,n,r)}return h(p,"localhost",y,{ascii:!0}),p.jd=new d("SYM"),{start:p,tokens:t({groups:r},el)}}(eN.customSchemes);for(let e=0;e<eN.tokenQueue.length;e++)eN.tokenQueue[e][1]({scanner:eN.scanner});eN.parser=function(e){let{groups:t}=e,a=t.domain.concat([I,O,"AT",H,W,U,G,K,Q,"NUM",Y,Z,$,J,ei,"SYM",en,es]),i=[z,V,q,"DOT",X,ee,et,ea,N,D,j,A,k,E,C,F,S,B,T,_,P,M,L,R],n=[I,z,O,H,W,U,G,K,Q,j,A,Y,Z,$,J,ee,ei,"SYM",en,es],s=eC(),r=x(s,en);p(r,n,r),p(r,t.domain,r);let l=eC(),o=eC(),u=eC();p(s,t.domain,l),p(s,t.scheme,o),p(s,t.slashscheme,u),p(l,n,r),p(l,t.domain,l);let c=x(l,"AT");x(r,"AT",c),x(o,"AT",c),x(u,"AT",c);let d=x(r,"DOT");p(d,n,r),p(d,t.domain,r);let m=eC();p(c,t.domain,m),p(m,t.domain,m);let h=x(m,"DOT");p(h,t.domain,m);let f=eC(ej);p(h,t.tld,f),p(h,t.utld,f),x(c,y,f);let g=x(m,Q);p(g,t.domain,m),p(f,t.domain,m),x(f,"DOT",h),x(f,Q,g),p(x(f,V),t.numeric,ej);let w=x(l,Q),v=x(l,"DOT");p(w,t.domain,l),p(v,n,r),p(v,t.domain,l);let b=eC(ek);p(v,t.tld,b),p(v,t.utld,b),p(b,t.domain,l),p(b,n,r),x(b,"DOT",v),x(b,Q,w),x(b,"AT",c);let er=x(b,V),eo=eC(ek);p(er,t.numeric,eo);let eu=eC(ek),ec=eC();p(eu,a,eu),p(eu,i,ec),p(ec,a,eu),p(ec,i,ec),x(b,ei,eu),x(eo,ei,eu);let ed=x(o,V),ep=x(u,V),em=x(ep,ei),eh=x(em,ei);p(o,t.domain,l),x(o,"DOT",v),x(o,Q,w),p(u,t.domain,l),x(u,"DOT",v),x(u,Q,w),p(ed,t.domain,eu),x(ed,ei,eu),p(eh,t.domain,eu),p(eh,a,eu),x(eh,ei,eu);let ex=[[j,A],[E,k],[C,F],[N,D],[S,B],[T,_],[P,M],[L,R]];for(let e=0;e<ex.length;e++){let[t,n]=ex[e],s=x(eu,t);x(ec,t,s),x(s,n,eu);let r=eC(ek);p(s,a,r);let l=eC();p(s,i),p(r,a,r),p(r,i,l),p(l,a,r),p(l,i,l),x(r,n,eu),x(l,n,eu)}return x(s,y,b),x(s,"NL",eE),{start:s,tokens:el}}(eN.scanner.tokens);for(let e=0;e<eN.pluginQueue.length;e++)eN.pluginQueue[e][1]({scanner:eN.scanner,parser:eN.parser});eN.initialized=!0}(),function(e,t,a){let i=a.length,n=0,s=[],r=[];for(;n<i;){let l=e,o=null,u=null,c=0,d=null,p=-1;for(;n<i&&!(o=l.go(a[n].t));)r.push(a[n++]);for(;n<i&&(u=o||l.go(a[n].t));)o=null,(l=u).accepts()?(p=0,d=l):p>=0&&p++,n++,c++;if(p<0)(n-=c)<i&&(r.push(a[n]),n++);else{r.length>0&&(s.push(eF(eA,t,r)),r=[]),n-=p,c-=p;let e=d.t,i=a.slice(n-c,n);s.push(eF(e,t,i))}}return r.length>0&&s.push(eF(eA,t,r)),s}(eN.parser.start,e,function(e,t){let a=function(e){let t=[],a=e.length,i=0;for(;i<a;){let n,s=e.charCodeAt(i),r=s<55296||s>56319||i+1===a||(n=e.charCodeAt(i+1))<56320||n>57343?e[i]:e.slice(i,i+2);t.push(r),i+=r.length}return t}(t.replace(/[A-Z]/g,e=>e.toLowerCase())),i=a.length,n=[],s=0,r=0;for(;r<i;){let l=e,o=null,u=0,c=null,d=-1,p=-1;for(;r<i&&(o=l.go(a[r]));)(l=o).accepts()?(d=0,p=0,c=l):d>=0&&(d+=a[r].length,p++),u+=a[r].length,s+=a[r].length,r++;
2s-=d,r-=p,u-=d,n.push({t:c.t,v:t.slice(s-u,s),s:s-u,e:s})}return n}(eN.scanner.start,e))}e.s(["Options",0,ey,"find",0,function(e,t,a){if(void 0===t&&(t=null),void 0===a&&(a=null),t&&"object"==typeof t){if(a)throw Error("linkifyjs: Invalid link type ".concat(t,"; must be a string"));a=t,t=null}let i=new ey(a),n=eD(e),s=[];for(let e=0;e<n.length;e++){let a=n[e];a.isLink&&(!t||a.t===t)&&i.check(a)&&s.push(a.toFormattedObject(i))}return s},"tokenize",0,eD])},561584,e=>{"use strict";var t=e.i(755930);function a(e){let a=t.find(e);return(a=(a=a.filter(e=>"url"===e.type&&!0===e.isLink)).filter(e=>"localhost"!==e.value)).filter(t=>0===t.start||"@"!==e[t.start-1])}e.s(["extractLinkifyURLsFromText",0,a,"extractURLsFromText",0,function(e){return Array.from(new Set(a(e).map(e=>e.href).map(e=>e.split("<")[0])))}])},341734,e=>{"use strict";var t=e.i(878420),a=e.i(64386),i=e.i(716855),n=e.i(475188);let s=/&amp;(#\d+|#x[\da-fA-F]+|[a-zA-Z][\da-zA-Z]+);/g;function r(e){return e.display_url?(0,a._)((0,t._)({},e),{display_url:(0,i.escape)(e.display_url)}):e}e.s(["safeAutoLinkTwitterText",0,function(e,i){let l;return n.default.autoLink(e,!Array.isArray(l=null==i?void 0:i.urlEntities)?(0,a._)((0,t._)({},i),{htmlEscapeNonEntities:!0}):(0,a._)((0,t._)({},i),{urlEntities:l.map(r),htmlEscapeNonEntities:!0})).replace(s,"&$1;")}])},162103,556562,710362,e=>{"use strict";var t=e.i(561584),a=e.i(341734);let i=/^https:\/\/(?:[^/]+\.)?(?:twitter\.com|x\.com)\/.+/,n=/pic\.twitter\.com|twitter\.com\/i\/web\/status/;function s(e){return!i.test(e)}e.s(["buildTweetHtmlWithoutTrailingMedia",0,function(e,t){let i=e;return t&&t.length>0&&t.forEach(e=>{e.display_url&&n.test(e.display_url)&&(i=i.replace(e.url,""))}),(0,a.safeAutoLinkTwitterText)(i,{usernameIncludeSymbol:!0,urlEntities:t}).replace(/<a href="https:\/\/t\.co\/.+<\/a>$/,"").trimEnd()},"getGifUrl",0,function(e){var t,a,i,n;return(null==e||null==(a=e[0])?void 0:a.type)==="animated_gif"&&null!=(t=null==e||null==(n=e[0].video_info)||null==(i=n.variants.find(e=>"video/mp4"===e.content_type))?void 0:i.url)?t:null},"getMediaPosterUrl",0,function(e){var t;return null==e||null==(t=e.find(e=>"photo"!==e.type&&!!e.preview_image_url))?void 0:t.preview_image_url},"getPhotoUrls",0,function(e){var t;return null!=(t=null==e?void 0:e.filter(e=>"photo"===e.type).map(e=>{var t;return null!=(t=e.media_url_https)?t:""}))?t:[]},"getVideoUrl",0,function(e){var t,a,i,n;return(null==e||null==(a=e[0])?void 0:a.type)==="video"&&null!=(t=null==e||null==(n=e[0].video_info)||null==(i=n.variants.find(e=>"video/mp4"===e.content_type))?void 0:i.url)?t:null},"isNotTwitterUserLink",0,s,"selectLastUrlForPreview",0,function(e,a){var i;let n=(0,t.extractURLsFromText)(a).filter(s),r=n[n.length-1],l=(null==(i=e.entities)?void 0:i.urls)||[];if(l.length>0){let e=l[l.length-1];if((null==e?void 0:e.expanded_url)&&e.url.includes("t.co")&&s(e.expanded_url))return e.expanded_url}return r&&s(r)?r:void 0}],162103);var r=e.i(221628);e.i(927840);var l=e.i(540826),o=e.i(384345);let u="aspect-[5/2]";e.s(["xArticleCoverAspectRatio",0,2.5,"xArticleCoverAspectRatioClassName",0,u],556562);var c=e.i(416340),d=e.i(251839);let p="𝕏 Article";function m(e){let{className:t}=e;return(0,r.jsx)("span",{className:(0,d.default)("font-twitter inline-flex h-[20px] w-fit items-center justify-center whitespace-nowrap rounded-[4px] bg-[rgb(247,249,249)] px-2 text-[13px] font-bold leading-[16px] text-[rgb(15,20,25)]",t),children:p})}function h(e){let{article:t,className:a,titleClassName:i,bodyClassName:n,textSize:s="default"}=e;return(0,r.jsxs)(o.VStack,{className:(0,d.default)("w-full gap-1 overflow-hidden",a),noWrap:!0,children:[t.title&&(0,r.jsx)("div",{className:(0,d.default)("font-twitter font-bold text-typ-c1 line-clamp-2","compact"===s?"text-[16px] leading-[20px]":"text-[17px] leading-snug",i),children:t.title}),t.preview_text&&(0,r.jsx)("div",{className:(0,d.default)("font-twitter whitespace-pre-wrap text-typ-c1 line-clamp-4","compact"===s?"text-[14px] leading-[18px]":"text-[15.5px] leading-tighter",n),children:t.preview_text})]})}e.s(["XArticlePreviewCoverImage",0,function(e){let{imageUrl:t,onImageError:a,aspectRatioClassName:i=u,className:n,imageClassName:s,alt:l="",children:o}=e;return(0,r.jsxs)("div",{className:(0,d.default)("relative w-full overflow-hidden bg-typ-bg1",i,n),children:[(0,r.jsx)("img",{loading:"lazy",alt:l,src:t,onError:a,className:(0,d.default)("size-full object-cover",s)}),o]})},"XArticlePreviewEmptyLabel",0,function(e){let{className:t}=e;return(0,r.jsxs)(o.HStack,{noWrap:!0,className:(0,d.default)("gap-1 items-center text-typ-c3",t),children:[(0,r.jsx)(l.Twitter,{className:"size-3.5"}),(0,r.jsx)("span",{className:"font-twitter text-[15px]",children:"Article"})]})},"XArticlePreviewPill",0,function(e){let{className:t,labelClassName:a}=e;return(0,r.jsx)(o.HStack,{noWrap:!0,className:(0,d.default)("h-[20px] w-fit items-center rounded-[4px] bg-black/55 px-2 text-white",t),children:(0,r.jsx)("span",{className:(0,d.default)("font-twitter whitespace-nowrap text-[11px] font-bold leading-[20px]",a),children:p})})},"XArticlePreviewText",0,h,"XArticlePreviewTextOnlyContent",0,function(e){let{article:t,className:a,textClassName:i,titleClassName:n,bodyClassName:s,textSize:l="default"}=e;return(0,r.jsxs)(o.VStack,{noWrap:!0,className:(0,d.default)("gap-0 px-3 py-3",a),children:[(0,r.jsx)(m,{className:"mb-3"}),(0,r.jsx)(h,{article:t,className:i,titleClassName:n,bodyClassName:s,textSize:l})]})}
2,"useXArticlePreviewCoverImage",0,function(e){let[t,a]=(0,c.useState)(!1);return(0,c.useEffect)(()=>{a(!1)},[e]),{hasImage:!!(e&&!t),imageUrl:e,onImageError:()=>a(!0)}},"xArticlePreviewFrameClassName",0,"overflow-hidden rounded-[12px] border border-[rgb(239,243,244)] bg-[var(--bg0)] dark:border-[var(--c7)]"],710362)},963060,e=>{"use strict";var t=e.i(964151),a=e.i(486981);e.s(["default",0,function(){let e=(0,t.useIsRealisticPreviewPage)(),i=(0,t.useIsRealisticMobilePreview)(),n=(0,a.useEditorStore)(e=>e.editorDisplayMode);return e?i:n===a.EditorDisplayMode.Mobile}])},324878,e=>{"use strict";var t=e.i(221628),a=e.i(384345),i=e.i(710362),n=e.i(963060),s=e.i(251839);e.s(["XArticlePreview",0,e=>{let{article:r,className:l,isQuote:o=!1}=e,{hasImage:u,imageUrl:c,onImageError:d}=(0,i.useXArticlePreviewCoverImage)(r.cover_image_url),p=(0,n.default)(),m=o&&p,h=m?"compact":"default",x=!u&&!!(r.title||r.preview_text),f=!u&&!r.title&&!r.preview_text;return(0,t.jsxs)(a.VStack,{noWrap:!0,className:(0,s.default)("w-full overflow-hidden gap-0",(u||f)&&"px-3 pb-3",l),children:[u&&c&&(0,t.jsx)(i.XArticlePreviewCoverImage,{imageUrl:c,onImageError:d,alt:"Article cover",className:m?"rounded-[10px]":"rounded-xl",imageClassName:"bg-typ-c6",children:(0,t.jsx)(i.XArticlePreviewPill,{className:"absolute bottom-2.5 left-2.5 bg-[rgba(0,0,0,0.75)] px-1.5 py-0.5",labelClassName:"text-xs font-medium leading-tighter"})}),u&&(0,t.jsx)(i.XArticlePreviewText,{article:r,className:"pt-2",textSize:h}),x&&(0,t.jsx)(i.XArticlePreviewTextOnlyContent,{article:r,className:(0,s.default)(!o&&i.xArticlePreviewFrameClassName),textSize:h}),f&&(0,t.jsx)(i.XArticlePreviewEmptyLabel,{className:"pt-2"})]})}])},467856,592188,e=>{"use strict";var t=e.i(878420),a=e.i(221628),i=e.i(877275),n=e.i(288489),s=e.i(883606),r=e.i(194135),l=e.i(953303),o=e.i(170490),u=e.i(883195),c=e.i(675996),d=e.i(161499),p=e.i(13660),m=e.i(416340),h=e.i(149285),x=e.i(251839),f=e.i(886513),g=e.i(830469),y=e.i(384345),w=e.i(189808),v=e.i(334858);let b=(0,e.i(843842).default)("grip",[["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"19",cy:"5",r:"1",key:"w8mnmm"}],["circle",{cx:"5",cy:"5",r:"1",key:"lttvr7"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}],["circle",{cx:"19",cy:"19",r:"1",key:"shf9b7"}],["circle",{cx:"5",cy:"19",r:"1",key:"bfqh0e"}]]);var j=e.i(570785);let A=(0,m.forwardRef)((e,i)=>{let[n,...s]=[e,i],{className:r}=n,l=(0,f._)(n,["className"]),[o]=s;return(0,a.jsx)(g.Button,(0,t._)({ref:o,variant:"white",size:"small",className:(0,x.default)("rounded-full min-w-[28px] h-[28px] max-desktop:min-w-[30px] max-desktop:h-[30px]",r),tabIndex:-1},l))});A.displayName="EditorMediaButton",e.s(["EditorMediaButton",0,A,"MediaActionsWrapper",0,e=>{let{className:t,children:i}=e;return(0,a.jsx)("div",{className:(0,x.default)("pointer-events-none no-touch:opacity-0 no-touch:translate-y-[-3px] transition-all duration-100","group-hover/media-wrapper:opacity-100 group-hover/media-wrapper:translate-y-0","focus-within:opacity-100 focus-within:translate-y-0","has-touch:zoom-[1.1]","absolute top-0 right-0 left-0 z-15 bg-linear-to-b from-[rgba(0,0,0,0.03)] to-transparent p-[6px] pb-[24px] rounded-[inherit]"),onClick:e=>{e.target.classList.contains("group-hover/media-wrapper")||e.stopPropagation()},children:(0,a.jsx)(y.HStack,{className:(0,x.default)("media-hover-buttons-stack pointer-events-auto ml-auto w-fit justify-end",t),children:i})})},"MediaDeleteButton",0,e=>{let{onDelete:t,tabIndex:i,deleteLabel:n="Delete media",confirmLabel:r="Confirm delete media"}=e,[l,o]=(0,m.useState)(!1),u=(0,m.useRef)(null),d=()=>{u.current&&(clearTimeout(u.current),u.current=null)};return(0,m.useEffect)(()=>()=>d(),[]),(0,a.jsx)("div",{contentEditable:!1,children:(0,a.jsx)(s.default,{title:"Click again to delete",open:l,onClick:e=>{let a=(0,j.getCurrentEditor)();if(null==a||a.commands.blur(),l){d(),t(),o(!1);return}d(),o(!0),u.current=setTimeout(()=>{o(!1),u.current=null},3e3)},side:"top",children:(0,a.jsx)(A,{icon:l?(0,a.jsx)(v.Check,{}):(0,a.jsx)(c.X,{}),className:(0,x.default)(l&&"text-typ-error","p-0"),"aria-label":l?r:n,tabIndex:null!=i?i:-1})})})},"MediaDragHandle",0,()=>{let e=(0,w.useDismissHelpPopover)();return(0,a.jsx)("div",{"data-drag-handle":!0,className:"cursor-move pointer-events-auto",onPointerDown:function(){e("long-form-inline-media")}
2,contentEditable:!1,children:(0,a.jsx)(A,{icon:(0,a.jsx)(b,{}),className:"pointer-events-none p-0"})})}],592188);var E=e.i(942538);let k=e=>{let{imageUrl:t,show:i,setShown:s}=e,o=(0,l.default)(),[u,c]=(0,m.useState)(!1),[x,f]=(0,m.useState)(!1),[g,y]=(0,m.useState)(!1),[w,v]=(0,m.useState)(!1);return((0,r.useHotkeys)("escape",()=>s(!1),[i,s],{enabled:i}),(0,m.useEffect)(()=>{if(i){f(!0);let e=setTimeout(()=>{y(!0)},1);return()=>clearTimeout(e)}},[i]),(0,m.useEffect)(()=>{c(!i)},[i]),x)?(0,a.jsx)(a.Fragment,{children:h.default.createPortal((0,a.jsx)("div",{"data-image-preview-fullscreen-wrapper":!0,style:{position:"fixed",top:0,right:0,bottom:0,left:0,background:g?"rgba(30,30,30,0.8)":"rgba(30,30,30,0)",backdropFilter:g?"blur(10px)":"blur(0px)",WebkitBackdropFilter:g?"blur(10px)":"blur(0px)",transition:"background 0.1s ease-in-out",zIndex:9999},onClick:()=>s(!1),children:(0,a.jsxs)("div",{style:{overflow:"hidden",width:"100%",height:"100%",position:"fixed",padding:o?10:22,display:"flex",alignItems:"center",justifyContent:"center",boxSizing:"border-box"},onClick:()=>s(!1),children:[!u&&(0,a.jsx)(n.Spinner,{color:"white",size:"large",className:"opacity-50! absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2"}),(0,a.jsx)(d.AnimatePresence,{children:i&&t&&(0,a.jsxs)(p.motion.div,{initial:{scale:.95,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.95,opacity:0},transition:{type:"spring",duration:.3,bounce:.2},onAnimationStart:()=>{w&&y(!1)},onAnimationComplete:()=>{v(!0),w&&(f(!1),v(!1))},style:{position:"relative"},children:[(0,a.jsx)("img",{width:"100%",height:"100%",src:t,alt:"Image",onLoad:()=>c(!0),style:{display:"block",maxHeight:"80vh",objectFit:"contain",borderRadius:8}}),u&&(0,a.jsx)(C,{onClick:()=>s(!1)})]})})]})}),document.getElementById("__next"))}):null},C=e=>{let{onClick:t}=e;return(0,a.jsx)("div",{className:(0,x.default)("absolute top-2 right-2 size-9 rounded-full bg-typ-c1/60 backdrop-blur-[15px] backdrop-saturate-2 z-10 cursor-pointer","flex-center","animate-in fade-in zoom-in-50"),onClick:t,children:(0,a.jsx)(c.X,{className:"text-typ-c6",size:22})})},F=e=>{let{title:t,description:i}=e;return(0,a.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-typ-bg4 z-2",children:(0,a.jsx)(s.default,{maxWidth:220,title:t,description:i,children:(0,a.jsx)(u.AlertCircle,{className:"text-typ-c5",size:22})})})},N=()=>(0,a.jsx)(E.default,{style:{left:12,bottom:12},children:"GIF"});e.s(["FullScreenPreview",0,k,"GifBadge",0,N,"ImagePreview",0,e=>{var n,s,r;let[l,u]=(0,m.useState)(!0),[c,d]=(0,m.useState)(!1),p=e.aspectRatio?100*e.aspectRatio+"%":l?"56%":0,[h,f]=(0,m.useState)(!1),{mount:g}=(0,o.default)(h),y=p?0:"auto",w=(0,m.useMemo)(()=>(0,t._)({width:"100%",height:y,paddingBottom:p},e.style),[y,p,e.style]);return(0,a.jsxs)(m.Fragment,{children:[(0,a.jsxs)("div",{style:w,role:"img",className:(0,x.default)("group/media-wrapper cursor-pointer relative bg-typ-c6 overflow-hidden box-border leading-[0]",e.className),"aria-label":null!=(n=e.altText)?n:"",onClick:function(){f(!h)},children:[e.mediaId&&(0,a.jsx)("div",{className:i.MEDIA_BADGE_WRAPPER_CLASSES,children:(0,a.jsx)(i.ObjectIdBadge,{object:{id:e.mediaId},entityType:"media-image",show:"apiMode",className:"bg-black/80!"})}),(0,a.jsx)("img",{src:e.imageUrl,alt:null!=(s=e.altText)?s:"",onError:()=>d(!0),onLoad:()=>u(!1),loading:"lazy",style:(0,t._)({background:"var(--c6)"},p?{display:"block",position:"absolute",top:0,left:0,width:"100%",height:"100%",objectFit:"cover",objectPosition:"center"}:{width:"100%",height:"auto"})}),"image/gif"===e.mime&&(0,a.jsx)(N,{}),c&&(0,a.jsx)(F,{title:"There was an error :(",description:"Please try refreshing the page."})]}),g&&(0,a.jsx)(k,{imageUrl:null!=(r=e.fullSizeImageUrl)?r:e.imageUrl,show:h,setShown:f})]})},"MediaFailedState",0,F],467856)},504578,149531,131468,304683,e=>{"use strict";var t=e.i(878420),a=e.i(221628);e.i(927840);var i=e.i(945284),n=e.i(877275),s=e.i(384345),r=e.i(64386),l=e.i(886513),o=e.i(690151),u=e.i(416340),c=e.i(372953),d=e.i(715133),p=e.i(251839),m=e.i(86918);let h=(0,u.forwardRef)((e,i)=>{let[n,...s]=[e,i],{src:o,className:c}=n,h=(0,l._)(n,["src","className"]),[f]=s,g=(0,u.useRef)(null),{ref:y}=(0,d.useInView)({triggerOnce:!0,onChange:e=>{x()&&e&&g.current&&!h.poster&&(g.current.currentTime=.01)}});return(0,a.jsx)("video",(0,r._)((0,t._)({ref:(0,m.default)(g,y,f),preload:"metadata",poster:h.poster,className:(0,p.default)("outline-hidden",c)},h),{children:Array.isArray(o)?o.map((e,t)=>(0,a.jsx)("source",{src:e},t)):(0,a.jsx)("source",{src:o})}))});h.displayName="Video",(0,u.forwardRef)((e,i)=>{let[n,...s]=[e,i],{className:d}=n,m=(0,l._)(n,["className"]),[x]=s,[f,g]=(0,u.useState)(!1),[y,w]=(0,u.useState)(!1);return(0,u.useEffect)(()=>{var e,t;let a=(0,o.detect)();w(!(null==a||null==(e=a.name)?void 0:e.includes("safari"))&&!(null==a||null==(t=a.name)?void 0:t.includes("ios")))},[]),(0,a.jsxs)("div",{className:(0,p.default)("relative group/video rounded-lg overflow-hidden leading-[0] border-[0.5px] border-typ-c6",!f&&"cursor-pointer",d),children:[(0,a.jsx)(h,(0,r._)((0,t._)({},m),{className:"w-full z-1 aspect-[inherit]",ref:x,onPlay:()=>g(!0),onPause:()=>g(!1)})),y&&(0,a.jsx)("div",{className:(0,p.default)("absolute z-2 inset-0 flex-center bg-black/20 group-hover/video:bg-black/10 transition-all pointer-events-none",f&&"opacity-0"),children:(0,a.jsx)(c.FaPlay,{className:"text-white group-hover/video:scale-125 transition-all",size:36})})]})}).displayName="VideoPlayer";let x=()=>{let e=/iPhone|iPod/.test(window.navigator.userAgent),t=/MacIntel/.test(window.navigator.platform)&&window.navigator.maxTouchPoints>1;return e||t};e.s(["Video",0,h],149531);var f=e.i(639276),g=e.i(844880),y=e.i(161499),w=e.i(13660),v=e.i(293857),b=e.i(592188),j=e.i(510884),A=e.i(653786);let E=e=>{let{mediaId:i,url:r,poster:l,preferPosterOnly:o,radius:c,onDelete:d,onClick:m,style:x,withBorder:y,customPlayButton:w=!1,isEditable:v,isUploading:E,onCancelUpload:C,children:F,className:N,extraActions:D,showDragHandle:S}=e,{name:B}=(0,g.useBrowserInfo)(),[T,_]=(0,u.useState)(!1),P=(0,u.useRef)(null),M=!!(o&&l);return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{style:(0,t._)({lineHeight:0,position:"relative",borderRadius:c,overflow:"hidden",marginBottom:"-1px",transform:"translateZ(0)"},x),className:(0,p.default)("group/media-wrapper cursor-pointer",N),contentEditable:!1,onMouseDown:e=>{e.target.closest("[data-drag-handle]")||e.stopPropagation()},children:[E&&(0,a.jsx)(j.default,{mediaId:i,onCancel:C}),y&&(0,a.jsx)(f.MediaBorder,{}),i&&(0,a.jsx)("div",{className:n.MEDIA_BADGE_WRAPPER_CLASSES,children:(0,a.jsx)(n.ObjectIdBadge,{object:{id:i},entityType:"media-video",show:"apiMode",className:"bg-black/80!"})}),M?(0,a.jsx)("img",{src:l,alt:"Video preview",className:(0,p.default)("w-full h-auto object-cover leading-[0] box-border m-0 p-0",E&&"opacity-50"),onClick:m}):(0,a.jsx)(h,{ref:P,src:r,poster:l,className:(0,p.default)("w-full h-full object-cover leading-[0] box-border m-0 p-0",E&&"opacity-50"),autoPlay:!1,muted:!0,loop:!0,playsInl
2ine:!0,controls:!0,onClick:m,onPlay:()=>_(!0),onPause:()=>_(!1)}),v&&(S||d||D)&&(0,a.jsxs)(b.MediaActionsWrapper,{className:(0,p.default)("transition-opacity duration-150",T&&"opacity-0 pointer-events-none",S&&"pointer-events-none ml-0 w-full justify-between"),children:[S&&(0,a.jsx)(b.MediaDragHandle,{}),(0,a.jsxs)(s.HStack,{className:(0,p.default)("pointer-events-auto justify-end",!S&&"w-full"),children:[D,d&&(0,a.jsx)(b.MediaDeleteButton,{onDelete:d})]})]}),("chrome"===B||w)&&!E&&!M&&(0,a.jsx)(k,{show:!T,onClick:function(){P.current&&(P.current.paused?(P.current.play(),_(!0)):(P.current.pause(),_(!1)))}}),M&&(0,a.jsx)(A.default,{className:"pointer-events-none"}),F]})})};E.displayName="VideoPreview";let k=e=>{let{show:n,style:s,onClick:r}=e,[l,o]=(0,u.useState)(!1);return(0,a.jsx)("div",{className:"play-button",style:(0,t._)({position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",zIndex:1,pointerEvents:"none",background:n?"rgba(50,50,50,0.05)":"transparent"},s),onMouseEnter:()=>{o(!0)},onMouseLeave:()=>{o(!1)},children:(0,a.jsx)(y.AnimatePresence,{children:(0,a.jsx)(w.motion.div,{initial:!1,animate:n?{scale:l?1.1:1,opacity:1}:{scale:.5,opacity:0},transition:{type:"spring",duration:.25,bounce:.15},style:{width:50,height:50,borderRadius:"50%",background:"rgba(0,0,0,0.5)",backdropFilter:"blur(10px) saturate(2)",display:"flex",alignItems:"center",justifyContent:"center"},children:(0,a.jsx)(v.default,{className:"hit-inset-[60px] pointer-events-auto",onClick:r,children:(0,a.jsx)(i.Play,{size:24,className:"relative left-[2px] opacity-80 text-white",name:"playBold"})})})})})};e.s(["default",0,E],504578);let C=(0,e.i(943970).cva)(["mt-[6px] bg-typ-bg0 leading-[0] shadow-[0px_0px_0px_1px_var(--c6)] overflow-hidden transform-gpu rounded-[8px]"]);
2e.s(["default",0,function(e){let{children:i,style:n,count:s=1,className:r}=e;return(0,a.jsx)("div",{contentEditable:!1,onMouseDown:e=>{e.preventDefault()},style:(0,t._)({display:s<2?"block":"grid",gridTemplateColumns:2===s||4===s?"1fr 1fr":"1fr 1fr 1fr",gridGap:"3px",width:"100%",WebkitBackfaceVisibility:"hidden"},n),className:(0,p.default)(C(),r),children:i})}],131468),e.s(["default",0,function(e){if(!e||0===e.length)return"";let t="";return(t=e.indexOf("//")>-1?e.split("/")[2]:e.split("/")[0]).includes("www")?t.replace("www.",""):t}],304683)},750999,101836,e=>{"use strict";var t=e.i(221628),a=e.i(830469),i=e.i(384345),n=e.i(883606),s=e.i(60035),r=e.i(675996),l=e.i(416340),o=e.i(221582),u=e.i(251839),c=e.i(488685),d=e.i(304683),p=e.i(878420),m=e.i(64386),h=e.i(808673),x=e.i(592188),f=e.i(653786),g=e.i(963060),y=e.i(369020);function w(e){var n,s,o;let{linkPreview:w,className:v,style:b,onHideLinkPreview:j,disableClick:A=!1,contentEditable:E}=e,k=null!=(n=null!=(s=null!=(o=w.url)?o:w.urlAfterRedirects)?s:w.requestedURL)?n:"",C=(0,d.default)(w.urlAfterRedirects||w.url||w.requestedURL||""),F=(0,y.default)(w.title||C||"Embedded player",120),N=(0,y.default)(w.description||"",180),D=(0,g.default)(),S=l.default.useCallback(e=>{e.preventDefault(),e.stopPropagation(),null==j||j()},[j]);return(0,t.jsxs)("div",(0,m._)((0,p._)({className:(0,u.default)("relative w-full max-w-full overflow-hidden cursor-pointer bg-typ-bg0","group/media-wrapper border border-typ-c6 rounded-[14px]",A?"cursor-default":"cursor-pointer",v)},void 0!==E?{contentEditable:E}:{}),{onClick:()=>{A||(0,c.default)(k)},style:b,children:[j&&(0,t.jsx)(x.MediaActionsWrapper,{children:(0,t.jsx)(a.Button,{"aria-label":"Hide link preview",icon:(0,t.jsx)(r.X,{}),size:"icon",variant:"white",onClick:S})}),(0,t.jsxs)(i.HStack,{noWrap:!0,className:"items-stretch gap-0",children:[(0,t.jsxs)("div",{className:(0,u.default)("relative flex-none aspect-square border-r border-typ-c6 bg-black overflow-hidden","w-[130px] not-desktop:w-[90px]",D&&"w-[90px]"),children:[w.image?(0,t.jsx)("img",{loading:"lazy",alt:"Link preview thumbnail",src:w.image,className:"absolute inset-0 h-full w-full object-cover"}):(0,t.jsx)("div",{className:"absolute inset-0 flex h-full w-full items-center justify-center bg-typ-c6 text-typ-c3",children:null!=C?C:"link preview"}),(0,t.jsx)(f.default,{})]}),(0,t.jsxs)(i.VStack,{className:"flex-1 min-w-0 gap-0 justify-center py-[14px] pr-4 pl-3 font-twitter",noWrap:!0,children:[(0,t.jsx)(h.default,{content:C,noWrap:!0,className:"text-[15px] leading-tight text-typ-c2/90 overflow-hidden max-w-full"}),(0,t.jsx)(h.default,{content:F,noWrap:!0,className:"text-[15px] leading-tight text-typ-c1 overflow-hidden max-w-full"}),N&&(0,t.jsx)(h.default,{content:N,className:(0,u.default)("text-[15px] leading-tight text-typ-c2/90 overflow-hidden max-w-full line-clamp-2","not-desktop:hidden",D&&"hidden")})]})]})]}))}e.s(["XPlayerCardPreview",0,w],101836);let v=e=>{let{url:a,className:i,style:n,children:s}=e;return(0,t.jsx)("div",{className:(0,u.default)("bg-typ-bg0 mt-1 block w-full max-w-full overflow-hidden leading-[0] border border-typ-c6 rounded-[14px] translate-z-[0px] relative",a.includes("typefully.com")?"cursor-default":"cursor-pointer",i),style:n,tabIndex:-1,onClick:()=>{a.includes("typefully.com")||(0,c.default)(a)},children:s})},b=e=>{let{linkPreview:a}=e,n=(0,l.useMemo)(()=>a.urlAfterRedirects?(0,d.default)(a.urlAfterRedirects):null,[a.urlAfterRedirects]);return(0,t.jsxs)(i.VStack,{className:"w-[90%] max-w-full overflow-hidden gap-[1px]",noWrap:!0,children:[(0,t.jsx)("div",{className:"font-twitter leading-normal text-[15px] px-[9px] mt-[7px] overflow-hidden truncate",children:(0,t.jsx)(h.default,{style:{overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},content:a.title||"Link preview..."})}),(0,t.jsx)(i.HStack,{className:"px-[9px] mb-[10px] max-w-full gap-[3px]",noWrap:!0,children:(0,t.jsx)("div",{className:"font-twitter leading-snug text-typ-c3 text-[15px] overflow-hidden max-w-full whitespace-nowrap",children:(0,t.jsx)(h.default,{style:{overflow:"hidden",textOverflow:"ellipsis"},content:n})})})]})},j=e=>{let{url:a,onError:i}=e;return(0,t.jsx)("img",{loading:"lazy",alt:"Preview",src:a,onError:i,className:"absolute inset-0 object-cover w-full h-full bg-typ-c6"})},A=e=>{let{size:a=24}=e;return(0,t.jsx)("div",{style:{backgroundColor:"var(--bg3)",position:"absolute",top:"0",left:"0",right:"0",bottom:"0",display:"flex",alignItems:"center",justifyContent:"center"},children:(0,t.jsx)(E,{size:a})})},E=e=>{let{size:a}=e;return(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:a,height:a,fill:"var(--c3)",viewBox:"0 0 24 24",children:[(0,t.jsx)("path",{id:"bounds",opacity:"0",d:"M0 0h24v24H0z"}),(0,t.jsx)("path",{d:"M14 11.25H6c-.414 0-.75.336-.75.75s.336.75.75.75h8c.414 0 .75-.336.75-.75s-.336-.75-.75-.75zM14 7.25H6c-.414 0-.75.336-.75.75s.336.75.75.75h8c.414 0 .75-.336.75-.75s-.336-.75-.75-.75zM10.75 15.25H6c-.414 0-.75.336-.75.75s.336.75.75.75h4.75c.414 0 .75-.336.75-.75s-.336-.75-.75-.75z"}),(0,t.jsx)("path",{d:"M21.5 11.25h-3.25v-7C18.25 3.01 17.24 2 16 2H4C2.76 2 1.75 3.01 1.75 4.25v15.5C1.75 20.99 2.76 22 4 22h15.5c1.517 0 2.75-1.233 2.75-2.75V12c0-.414-.336-.75-.75-.75zm-18.25 8.5V4.25c0-.413.337-.75.75-.75h12c.413 0 .75.337.75.75v15c0 .452.12.873.315 1.25H4c-.413 0-.75-.337-.75-.75zm16.25.75c-.69 0-1.25-.56-1.25-1.25v-6.5h2.5v6.5c0 .69-.56 1.25-1.25 1.25z"})]})},k=e=>{let{onClick:i}=e;return(0,t.jsx)(n.default,{title:"Hide link preview",children:(0,t.jsx)(a.Button,{"aria-label":"Hide link preview",icon:(0,t.jsx)(r.X,{}),size:"icon",variant:"white",className:"cursor-pointer",onClick:i})})},C=l.default.memo(e=>{let{url:a,linkPreview:n,className:r,style:c,cardStyle:p,onHideLinkPreview:m}=e,h=(0,s.useMaybeEditingDraftMetadata)(),[f,g]=(0,l.useState)(!1),y="player"===n["twitter:card"],E=(0,l.useMemo)(()=>n.urlAfterRedirects?(0,d.default)(n.urlAfterRedirects):null,[n.urlAfterRedirects]),C="summary_large_image"!==n["twitter:card"]||f?"x-small":"x"===p?"x-big":"twitter-big",F=!!m&&h&&h.twitter_v2_post_status!==o.PostStatus.Published;return y?(0,t.jsx)(w,{linkPreview:n,className:(0,u.default)("mt-1",r),style:c,onHideLinkPreview:F?m:void 0,disableClick:a.includes("typefully.com")}):"x-big"===C?(0,t.jsxs)(v,{url:a,className:r,style:c,children:[F&&(0,t.jsx)(x.MediaActionsWrapper,{children:(0,t.jsx)(k,{onClick:e=>{e.preventDefault(),e.stopPropagation(),null==m||m()}})}),(0,t.jsxs)("div",{className:"relative w-full pb-[52%] shadow-[0px_0px_0px_0.5px_var(--c6)]",children:[f||!n.image?(0,t.jsx)(A,{size:42}):(0,t.jsx)(j,{url:n.image,onError:()=>g(!0)}),(0,t.jsx)("div",{className:"absolute bottom-2.5 left-2.5 bg-[rgba(0,0,0,0.5)] text-white text-xs px-1.5 py-0.5 leading-tighter rounded",children:E})]})]}):"twitter-big"===C?(0,t.jsxs)(v,{url:a,className:r,style:c,children:[F&&(0,t.jsx)(x.MediaActionsWrapper,{children:(0,t.jsx)(k,{onClick:e=>{e.preventDefault(),e.stopPropagation(),null==m||m()}})}),(0,t.jsxs)(i.VStack,{noWrap:!0,className:"max-w-full overflow-hidden gap-[1px]",children:[(0,t.jsx)("div",{style:{position:"relative",width:"100%",height:"0",paddingBottom:"52%",boxShadow:"0px 0px 0px 0.5px var(--c6)"},children:f||!n.image?(0,t.jsx)(A,{size:42}):(0,t.jsx)(j,{url:n.image,onError:()=>g(!0)})}),(0,t.jsx)(b,{linkPreview:n})]})]}):"x-small"===C?(0,t.jsxs)(v,{url:a,className:(0,u.default)(r,"h-[80px]"),style:c,children:[F&&(0,t.jsx)(x.MediaActionsWrapper,{children:(0,t.jsx)(k,{onClick:e=>{e.preventDefault(),e.stopPropagation(),null==m||m()}})}),(0,t.jsxs)(i.HStack,{noWrap:!0,className:"overflow-hidden gap-[1px]",children:[(0,t.jsx)("div",{className:"relative flex-[0_0_80px] w-[80px] h-[80px] shadow-[0px_0px_0px_0.5px_var(--c6)]",children:f||!n.image?(0,t.jsx)(A,{size:24}):(0,t.jsx)(j,{url:n.image,onError:()=>g(!0)})}),(0,t.jsx)(b,{linkPreview:n})]})]}):null});e.s(["default",0,C],750999)},627552,e=>{"use strict";var t=e.i(878420),a=e.i(64386),i=e.i(221628);e.i(927840);var n=e.i(700995),s=e.i(995415),r=e.i(831136),l=e.i(943985),o=e.i(384345),u=e.i(976859),c=e.i(846009),d=e.i(910916),p=e.i(126375),m=e.i(416340),h=e.i(251839),x=e.i(164713),f=e.i(811343),g=e.i(673073),y=e.i(162103),w=e.i(591183),v=e.i(324878),b=e.i(574638),j=e.i(467856),A=e.i(504578),E=e.i(131468),k=e.i(750999),C=e.i(949786);let F=e=>{let{displayStyle:n="timeline",tweetSource:s,withCard:l=!0,showQuotedTweet:o=!0,showEngagements:c=!1,showTime:d=!0,showLinkPreviews:p=!0,className:m,style:h,accountId:x}=e,f=(0,u.useAppSelectedAccountId)(),y=null!=x?x:f,w="url"===s.type?s.data:"id"===s.type?"https://x.com/abc/status/"+s.data:null,{data:v}=(0,r.useQuery)((0,a._)((0,t._)({},g.queries.editor.tweetDetails(null!=y?y:0,w)),{enabled:!!w})),b="json"===s.type?s.data:v;return b?l?(0,i.jsx)(N,{className:m,displayStyle:n,style:h,children:(0,i.jsx)(D,{tweet:b,displayStyle:n,showQuotedTweet:o,showEngagements:c,showTime:d,showLinkPreviews:p,accountId:y})}):(0,i.jsx)(D,{tweet:b,displayStyle:n,showQuotedTweet:o,showEngagements:c,showTime:d,showLinkPreviews:p,accountId:y,style:h,className:m}):null},N=e=>{let{children:t,displayStyle:a,className:n}=e,s=(0,h.default)("bg-typ-bg0 w-full border border-typ-c6 overflow-hidden transform-gpu","detail"===a?"p-[18px] rounded-[16px]":"p-[12px] rounded-[14px]",n);
2return"quote"===a?(0,i.jsx)("div",{tabIndex:-1,className:s,children:t}):(0,i.jsx)(l.Card,{className:s,children:t})},D=e=>{var t,a;let{tweet:n,displayStyle:s,showQuotedTweet:r,showEngagements:l,showTime:u,showLinkPreviews:c,accountId:d,style:p,className:f}=e,{user:g,full_text:v,created_at:j}=n,{retweet_count:A,favorite_count:E}=n,k=P(j),F=(a=j)?(0,x.default)(new Date(a)).format("h:mm A · MMM D, YYYY"):null,N=(0,m.useMemo)(()=>{var e;return(0,y.buildTweetHtmlWithoutTrailingMedia)(v,null==(e=n.entities)?void 0:e.urls)},[v,null==(t=n.entities)?void 0:t.urls]),D=N.trim().length>0,T=(0,m.useMemo)(()=>(0,y.selectLastUrlForPreview)(n,N),[n,N]),_="https://x.com/"+g.screen_name,M="https://x.com/abc/status/".concat(n.id_str),L="https://avatars.typefully.com/"+g.screen_name;return"timeline"===s?(0,i.jsxs)(o.Grid,{className:(0,h.default)("grid-cols-[48px_1fr] gap-[12px]",f),style:p,children:[(0,i.jsx)(b.default,{href:_,children:(0,i.jsx)(w.default,{url:L,className:"size-[48px]"})}),(0,i.jsxs)(o.VStack,{className:"overflow-hidden gap-0.5",children:[(0,i.jsxs)(o.HStack,{className:"overflow-hidden gap-1.5 max-w-full min-w-0",noWrap:!0,children:[(0,i.jsx)(C.default,{name:g.name,username:g.screen_name,verifiedType:g.verified?"blue":void 0,className:"min-w-0 gap-1.5"}),u&&k&&(0,i.jsxs)(b.default,{href:M,className:"text-[15px] font-normal! text-typ-c3! flex-none ml-[-5px] truncate",children:["・",k]})]}),D&&(0,i.jsx)("div",{className:"twitter-text whitespace-pre-wrap",children:(0,i.jsx)("p",{dangerouslySetInnerHTML:{__html:N}})}),(0,i.jsx)(B,{tweet:n,showQuotedTweet:r,lastUrl:T,showLinkPreviews:c,displayStyle:s,accountId:d}),l&&(0,i.jsx)(S,{retweets:A,likes:E,style:{marginTop:6}})]})]}):"quote"===s?(0,i.jsxs)(o.VStack,{className:(0,h.default)("gap-1",f),style:p,children:[(0,i.jsxs)(o.HStack,{className:"gap-1.5 max-w-full",noWrap:!0,children:[(0,i.jsx)(b.default,{href:_,children:(0,i.jsx)(w.default,{url:L,className:"size-[20px]"})}),(0,i.jsx)(C.default,{name:g.name,username:g.screen_name,verifiedType:g.verified?"blue":void 0,className:"min-w-0 gap-1.5 text-[0.95em]"}),u&&k&&(0,i.jsxs)(b.default,{href:M,className:"text-typ-c3! font-normal! text-[0.95em] flex-none ml-[-5px] truncate",children:["・",k]})]}),D&&(0,i.jsx)("div",{className:"twitter-text text-[0.95em] leading-[1.4] whitespace-pre-wrap min-w-0 max-w-full",children:(0,i.jsx)("p",{dangerouslySetInnerHTML:{__html:N}})}),(0,i.jsx)(B,{tweet:n,showQuotedTweet:r,fillContainer:!0,lastUrl:T,showLinkPreviews:c,displayStyle:s,accountId:d}),l&&(0,i.jsx)(S,{retweets:A,likes:E})]}):"detail"===s?(0,i.jsxs)(o.VStack,{className:(0,h.default)("gap-3",f),style:p,children:[(0,i.jsx)(b.default,{href:_,children:(0,i.jsxs)(o.HStack,{className:"gap-2.5",noWrap:!0,children:[(0,i.jsx)(w.default,{url:L,className:"size-[48px]"}),(0,i.jsx)(C.default,{name:g.name,username:g.screen_name,verifiedType:g.verified?"blue":void 0,vertical:!0,className:"gap-0.5"})]})}),D&&(0,i.jsx)("div",{className:"twitter-text [&_p]:text-[16px] leading-[1.4] whitespace-pre-wrap",children:(0,i.jsx)("p",{dangerouslySetInnerHTML:{__html:N}})}),(0,i.jsx)(B,{tweet:n,showQuotedTweet:r,lastUrl:T,displayStyle:s,accountId:d}),u&&(0,i.jsx)("a",{href:M,target:"_blank",rel:"noopener noreferrer",children:(0,i.jsx)("span",{className:"text-[15px] text-typ-c3 truncate leading-[1.2]",children:F})}),l&&(0,i.jsx)(S,{retweets:A,likes:E})]}):null},S=e=>{let{retweets:t,likes:a,style:r}=e;return(0,i.jsxs)(o.HStack,{className:"gap-4",style:r,children:[t>0&&(0,i.jsxs)(o.HStack,{className:"gap-2",children:[(0,i.jsx)(s.TwitterRetweet,{color:"var(--c2)"}),(0,i.jsx)("span",{className:"text-[14px] leading-[1.4] text-typ-c2",children:(0,f.default)(t)})]}),a>0&&(0,i.jsxs)(o.HStack,{className:"gap-2",children:[(0,i.jsx)(n.TwitterLike,{color:"var(--c2)"}),(0,i.jsx)("span",{className:"text-[14px] leading-[1.4] text-typ-c2",children:(0,f.default)(a)})]})]})},B=e=>{var n,s,l;let{tweet:o,lastUrl:u,fillContainer:m,showQuotedTweet:h,showLinkPreviews:x,displayStyle:f,accountId:w}=e,b=(null==o||null==(n=o.extended_entities)?void 0:n.media)&&o.extended_entities.media.length>0?null==(s=o.extended_entities)?void 0:s.media:[],{aspectRatio:j}=(0,d.default)({images:b}),C=(0,y.getPhotoUrls)(b),N=(0,y.getGifUrl)(b),D=(0,y.getVideoUrl)(b),S=(0,y.getMediaPosterUrl)(b),B="quote"===f,P=0===C.length&&!N&&!D,M=h&&P&&(null==(l=o.quoted_status_permalink)?void 0:l.expanded)||void 0,{data:L}=(0,r.useQuery)((0,a._)((0,t._)({},g.queries.editor.tweetDetails(null!=w?w:0,M)),{enabled:!!M})),R=(null==C?void 0:C.length)>0||N||D||L||o.article,I=!!x&&!R&&!!u&&(0,y.isNotTwitterUserLink)(u),{preview:z}=(0,p.useLinkPreviewFromUrls)(u?[u]:[],{isEnabled:I}),O=!!z&&(0,c.isLinkPreviewUnsupportedForPlatform)({platform:"twitter",url:u,linkPreview:z});return z&&u&&!O?(0,i.jsx)(k.default,{url:u,linkPreview:z,className:"max-w-full",cardStyle:"x"}):R?(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)(T,{fillContainer:!L&&m,children:[((null==C?void 0:C.length)>0||N||D)&&(0,i.jsxs)(E.default,{count:C.length,className:m?"rounded-none":"mt-0",children:[null==C?void 0:C.map((e,t)=>(0,i.jsx)(_,{url:e,count:C.length,aspectRatio:j},"".concat(t).concat(e))),N&&(0,i.jsx)(A.default,{url:N,poster:S,preferPosterOnly:B}),D&&(0,i.jsx)(A.default,{url:D,poster:S,preferPosterOnly:B})]}),L&&(0,i.jsx)(F,{tweetSource:{type:"json",data:L},displayStyle:"quote",showQuotedTweet:!1,accountId:w}),o.article&&(0,i.jsx)(v.XArticlePreview,{article:o.article,isQuote:"quote"===f})]})}):null},T=e=>{let{children:t,fillContainer:a}=e;return(0,i.jsx)("div",{className:(0,h.default)(a?"ml-[-12px] w-[calc(100%+24px)] mb-[-12px] mt-0":"w-full leading-none rounded-[10px] mt-2 p-1"),
2children:t})},_=e=>{let{url:t,count:a,aspectRatio:n}=e,[s,r]=(0,m.useState)(!1),l=a<4?Math.max(Math.min(n,1.3),.5):.52;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"relative w-full box-shadow-[0px_0px_0px_0.5px_var(--c6)] h-0",style:{paddingBottom:100*l+"%"},children:(0,i.jsx)("img",{src:t,alt:"Post Image Preview",className:"bock absolute w-full h-full object-cover cursor-pointer",onClick:()=>r(!s)})}),(0,i.jsx)(j.FullScreenPreview,{imageUrl:t,show:s,setShown:r})]})};function P(e){if(!e)return null;let t=(0,x.default)(new Date(e)),a=(0,x.default)().diff(t);return t.isValid()?a>6048e5?t.format("L"):a>864e5?Math.floor(a/864e5)+"d":a>36e5?Math.floor(a/36e5)+"h":a>6e4?Math.floor(a/6e4)+"m":"now":null}e.s(["default",0,F,"formatTimeForTweet",0,P,"noWrapStyle",0,{lineHeight:1.2,display:"block",whiteSpace:"nowrap",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"}])},132995,e=>{"use strict";var t=e.i(221628),a=e.i(943985),i=e.i(384345),n=e.i(168359),s=e.i(627552),r=e.i(953303),l=e.i(635891),o=e.i(100568),u=e.i(314216),c=e.i(13660),d=e.i(416340),p=e.i(251839),m=e.i(928867),h=e.i(999637),x=e.i(15103);let f=h.default,g=e=>{let{active:a,onClick:i,side:n}=e;return(0,t.jsx)("div",{onClick:i,className:(0,p.default)("rounded-full p-[4px] transition-colors duration-200 flex-center bg-typ-bg4",a?"cursor-pointer opacity-100":"cursor-auto opacity-40"),children:"left"===n?(0,t.jsx)(o.ChevronLeft,{color:"var(--c3)",strokeWidth:1.5,size:24,className:"-left-[1px]"}):(0,t.jsx)(u.ChevronRight,{color:"var(--c3)",strokeWidth:1.5,size:24,className:"left-[1px]"})})},y=e=>{let{tweet:i}=e,n=(0,r.default)(700);return(0,t.jsx)(a.Card,{className:"w-full p-4",children:(0,t.jsx)(s.default,{tweetSource:{type:"json",data:i},displayStyle:n?"detail":"timeline",withCard:!1,showTime:!1,showLinkPreviews:!1,className:"pointer-events-none"})})};e.s(["default",0,function(e){let{noHeader:a,noGradient:s}=e,o=(0,l.default)(),[u,h]=(0,d.useState)(0),[w,v]=(0,r.default)([700,1100]);(0,d.useEffect)(()=>{h(0)},[w,v]);let b=w?1:4,j=w?1:v?2:3,A=j*b,E=u+A<f.length,k=u>0;return(0,t.jsxs)(t.Fragment,{children:[!a&&(0,t.jsx)(n.Section,{className:"placeholder-blue-100!",children:(0,t.jsx)(x.default,{title:(0,t.jsx)(t.Fragment,{children:"Creators love Typefully"}),titleClassName:"text-center",subtitle:"".concat(m.CUSTOMERS_NUMBER," customers chose Typefully to write and schedule their social media posts."),subtitleClassName:"text-center font-normal text-balance"})}),(0,t.jsxs)(n.Section,{size:"lg",children:[(0,t.jsxs)(i.HStack,{className:(0,p.default)("w-full justify-center gap-3 mb-4",a?"mt-0":"-mt-1 lg:-mt-2"),children:[(0,t.jsx)(g,{side:"left",onClick:function(){k&&h(u-A)},active:k}),(0,t.jsx)(g,{side:"right",onClick:function(){E&&h(u+A)},active:E})]}),(0,t.jsx)("div",{className:(0,p.default)("grid gap-4 px-1"),style:{gridTemplateColumns:"repeat(".concat(j,", 1fr)")},children:Array(j).fill(0).map((e,a)=>(0,t.jsx)(i.VStack,{className:"gap-4 justify-start",children:f.slice(u+a*b,u+a*b+b).map((e,i)=>{let n=a+i;return(0,t.jsx)(c.motion.div,{"data-id":e.id_str,initial:b>1&&{y:-(30*n),opacity:0},animate:{y:0,opacity:1},transition:{type:"spring",duration:b>1?.1+n/3:0,delay:n/20},className:"w-full",children:(0,t.jsx)(y,{tweet:e})},e.id_str)})},a))})]},o.toString()+j.toString())]})}])},375443,e=>{"use strict";var t=e.i(221628),a=e.i(830469),i=e.i(478760),n=e.i(771105),s=e.i(384345),r=e.i(604643),l=e.i(674829),o=e.i(976859),u=e.i(574638),c=e.i(987194),d=e.i(436224),p=e.i(383025),m=e.i(136328),h=e.i(713958),x=e.i(761723),f=e.i(114574),g=e.i(859455),y=e.i(635891),w=e.i(170490),v=e.i(974671),b=e.i(116729),j=e.i(918670),A=e.i(8596),E=e.i(161499),k=e.i(13660),C=e.i(278337),F=e.i(416340),N=e.i(216957),D=e.i(579118),S=e.i(251839),B=e.i(702236),T=e.i(635727),_=e.i(102693),P=e.i(101739),M=e.i(583092),L=e.i(707885),R=e.i(997461),I=e.i(694992),z=e.i(951666),O=e.i(256193),H=e.i(872553),W=e.i(101138),U=e.i(132995);let V=e=>{var l;let o,u,{show:c,setShow:m,showLandingPageModalIfLoggedOut:h,prerenderLandingPageModalForSeo:g,customCopy:y}=e,w=(0,C.useRouter)(),v=(0,D.useCouponCode)(),b=(0,x.default)(v&&("regular"===v.type||w.query["black-friday"]),{delay:500}),E=(0,x.default)(c,{delay:1e3,enabled:c}),k=(0,N.useModalStore)(e=>e.setAuthModalShown);(0,f.default)();let F=!h,B=!!((o=w.query).a||o.d),T=Array.isArray(u=w.query.settings)?u.length>0:!!u;return(0,t.jsxs)(r.Modal,{bottomSheet:"mobile",open:c,forceMountWhenClosed:g,disablePortal:g,hideCloseButton:!F,onOpenChange:F?m:void 0,className:(0,S.default)("w-full xs:w-[94vw] md:w-[90vw] max-w-[1100px] gap-0 bg-typ-bg0!","duration-500 max-modal:duration-400",(0,_.landingTypographyOverrides)(),"max-modal:p-[24px] p-0! rounded-b-none"),wrapperClassName:"pt-[50px] pb-0",fullHeight:!0,children:[(0,t.jsx)(s.HStack,{className:(0,S.default)("absolute top-3 flex items-center justify-end gap-2 z-2",F?"right-[44px]":"right-3"),noWrap:!0,children:(0,t.jsxs)(s.HStack,{className:"justify-end",noWrap:!0,children:[(0,t.jsx)(a.Button,{className:"text-typ-c3",variant:"line",size:"small",onClick:()=>k(!0,"login"),children:"Log in"}),(0,t.jsx)(a.Button,{variant:"primary",size:"small",onClick:()=>k(!0,"signup"),children:"Sign up"})]})}
2),(0,t.jsx)(n.TopBackgroundGradient,{className:"rounded-t-big opacity-[0.13]"}),(0,t.jsxs)(_.LandingHero,{title:(0,t.jsxs)(t.Fragment,{children:["Write better content",(0,t.jsx)("br",{}),"Grow on social media faster"]}),subtitle:(0,t.jsxs)(t.Fragment,{children:["The AI-powered, collaborative social media scheduler for"," ",(0,t.jsxs)("span",{className:"whitespace-nowrap",children:[(0,t.jsx)("span",{className:"x-symbol before:text-typ-c2",children:"X"}),","]})," ",(0,t.jsx)("span",{className:"whitespace-nowrap",children:"LinkedIn,"})," ",(0,t.jsx)("span",{className:"whitespace-nowrap",children:"Bluesky,"})," and"," ","Threads."]}),subtitleClassName:"max-w-[500px] max-[400px]:max-w-[90%] text-pretty",ctaComponent:(0,t.jsxs)(s.VStack,{className:"items-center gap-3",children:[(0,t.jsx)(d.default,{label:null!=(l=null==y?void 0:y.ctaLabel)?l:"Sign up or continue with",showLastUsedIndicator:!0}),T&&(0,t.jsx)(i.Callout,{icon:(0,t.jsx)(A.Settings,{}),color:"gray",title:"Will continue to settings after signup or login",className:"max-w-[420px]"})]}),className:"pt-10! max-modal:pt-16! md:pt-16! pb-4! md:pb-8!",children:[B&&(0,t.jsx)(i.Callout,{icon:(0,t.jsx)(j.Lock,{}),color:"accent",title:"Sign in to view this draft",description:"If you have access to this draft (for example, as a team member), sign in to view it.",className:"max-w-[420px] mt-4"}),b&&(0,t.jsx)("div",{className:"mt-6 md:mt-0 md:absolute md:top-[-20px] md:left-[-40px] lg:left-[10px] md:-rotate-3 scale-90 md:scale-[0.85] lg:scale-95",children:(0,t.jsx)(p.default,{customDetail:"Log in to claim it",mutedColors:!0})})]}),(0,t.jsxs)("div",{className:"pt-16 -mt-8 w-full overflow-x-hidden",children:[(0,t.jsx)(z.default,{}),(0,t.jsx)(_.LandingCtaBanner,{subtitle:"Get started now with our free plan",ctaComponent:(0,t.jsx)(d.default,{className:"mt-2"})}),(0,t.jsx)(R.default,{}),E&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(P.default,{}),(0,t.jsx)(U.default,{}),(0,t.jsx)(W.default,{}),(0,t.jsx)(_.LandingCtaBanner,{subtitle:"Start a social media posting schedule",ctaComponent:(0,t.jsx)(d.default,{className:"mt-2"}),className:"py-8"}),(0,t.jsx)(I.default,{}),(0,t.jsx)(M.default,{}),(0,t.jsx)(s.Center,{className:"-mb-5",children:(0,t.jsx)(d.default,{label:"Get started for free",className:"mt-4 mb-7"})}),(0,t.jsx)(L.default,{}),(0,t.jsx)(H.default,{}),(0,t.jsx)(_.LandingCtaBanner,{title:"Ready to write better content and grow your audience?",subtitle:"Get started with our generous free plan.",ctaComponent:(0,t.jsx)(d.default,{className:"mt-2"})}),(0,t.jsx)(O.default,{})]})]})]})},q=e=>{let{show:i}=e;(0,f.default)();let n=(0,b.default)(),[r,o]=(0,F.useState)("login");return(0,t.jsx)(E.AnimatePresence,{children:i&&(0,t.jsxs)(k.motion.div,{initial:!1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.15},className:"bg-typ-bg0 fixed inset-0 z-6000 flex-center flex-nowrap",children:[(0,t.jsx)(c.CardGradient,{noRadius:!0,opacity:.08}),(0,t.jsx)(T.default,{delay:.3,children:(0,t.jsxs)(s.VStack,{noWrap:!0,className:"gap-5 items-center justify-center mb-14",children:[(0,t.jsx)("img",{src:"/icon/polished.png",alt:"Mac icon",className:"size-[120px] flex-none"}),(0,t.jsx)(l.P2,{className:"text-typ-c3 text-center mt-5",children:"signup"===r?"Sign up to get started":"Log in to your account"}),(0,t.jsx)(d.default,{loginOnly:"login"===r}),(0,t.jsx)(l.P3,{className:"text-center",children:"signup"===r?(0,t.jsxs)(t.Fragment,{children:["Already have an account?"," ",(0,t.jsx)(a.Button,{variant:"link",size:"small",onClick:()=>o("login"),className:"text-typ-c1",children:"Log in"}
2)," ","instead."]}):(0,t.jsxs)(t.Fragment,{children:["Don't have an account?"," ",(0,t.jsx)(a.Button,{variant:"link",size:"small",onClick:()=>o("signup"),className:"text-typ-c1",children:"Sign up"})," ","instead."]})})]})}),(0,t.jsxs)(l.P3,{className:"fixed inset-x-0 bottom-[30px] text-center",children:[(0,t.jsx)(u.default,{href:"https://typefully.com",variant:"subtle",children:"typefully.com"}),"  ·  ",(0,t.jsx)(u.default,{href:n({subject:"Typefully Mac app help"}),variant:"subtle",children:"Contact us"})]})]})})};e.s(["PrivacyAndTerms",0,()=>(0,t.jsx)(s.VStack,{className:"items-center gap-1",children:(0,t.jsxs)(l.P2,{className:"text-[14px] mb-1 text-typ-c3 text-center",children:["By logging in you accept the"," ",(0,t.jsx)(u.default,{href:m.default.support.privacy,variant:"subtle",children:"Privacy"})," and ",(0,t.jsx)(u.default,{href:m.default.support.terms,variant:"subtle",children:"Terms"}),"."]})}),"default",0,e=>{let{debugShow:a=!1,showLandingPageModalIfLoggedOut:i,prerenderLandingPageModalForSeo:n=!1}=e,s=(0,C.useRouter)(),r=(0,y.default)(),{isLoggedIn:l}=(0,o.useLoggedIn)(),{isDesktopApp:u}=(0,h.useToDesktop)(),[c,d]=(0,F.useState)(!1),[p,m]=(0,F.useState)(void 0),x=(0,F.useRef)(!1);(0,F.useEffect)(()=>{if(l)d(!1);else if(!l&&i&&r&&s.isReady){let e=setTimeout(()=>{d(!0),x.current=!0},x.current||u?0:750);return()=>clearTimeout(e)}else a&&d(!0)},[a,r,u,l,i,s.isReady]),(0,g.default)(B.CustomEventKey.ShowLandingPageModal,e=>{d(!0),m(e.detail)}),(0,v.default)(()=>{m(void 0)},[]);let{show:f,mount:b}=(0,w.default)(c),j=n&&!l;if(b||c||j)if(u)return(0,t.jsx)(q,{show:f});else return(0,t.jsx)(V,{show:f,setShow:d,showLandingPageModalIfLoggedOut:i,prerenderLandingPageModalForSeo:n,customCopy:p});return null}])}]);
3
4//# debugId=35e1eb18-b3f8-0817-d0e1-d56929f191be
5//# sourceMappingURL=09e-ci7q.5vt2.js.map

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.