PageSourceSearch

https://www.revenuecat.com/website/_next/static/immutable/chunks/21k8p86pju6ol.js

js revenuecat.com collected 2026-10-01 08:36:34 UTC 64,833 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,580611,e=>{"use strict";var t,n,a,r=e.i(981280),i=e.i(652160),l=e.i(828168);let s={textDecoration:"underline"},o=(e,t)=>`[@portabletext/react] Unknown ${e}, specify a component for it in the \`components.${t}\` prop`,d=e=>o(`block type "${e}"`,"types");function c(e){console.warn(e)}let m={display:"none"},u={types:{},block:{normal:({children:e})=>(0,r.jsx)("p",{children:e}),blockquote:({children:e})=>(0,r.jsx)("blockquote",{children:e}),h1:({children:e})=>(0,r.jsx)("h1",{children:e}),h2:({children:e})=>(0,r.jsx)("h2",{children:e}),h3:({children:e})=>(0,r.jsx)("h3",{children:e}),h4:({children:e})=>(0,r.jsx)("h4",{children:e}),h5:({children:e})=>(0,r.jsx)("h5",{children:e}),h6:({children:e})=>(0,r.jsx)("h6",{children:e})},marks:{em:({children:e})=>(0,r.jsx)("em",{children:e}),strong:({children:e})=>(0,r.jsx)("strong",{children:e}),code:({children:e})=>(0,r.jsx)("code",{children:e}),underline:({children:e})=>(0,r.jsx)("span",{style:s,children:e}),"strike-through":({children:e})=>(0,r.jsx)("del",{children:e}),link:({children:e,value:t})=>(0,r.jsx)("a",{href:t?.href,children:e})},list:{number:({children:e})=>(0,r.jsx)("ol",{children:e}),bullet:({children:e})=>(0,r.jsx)("ul",{children:e})},listItem:({children:e})=>(0,r.jsx)("li",{children:e}),hardBreak:()=>(0,r.jsx)("br",{}),unknownType:({value:e,isInline:t})=>{let n=d(e._type);return(0,r.jsx)(t?"span":"div",{style:m,children:n})},unknownMark:({markType:e,children:t})=>(0,r.jsx)("span",{className:`unknown__pt__mark__${e}`,children:t}),unknownList:({children:e})=>(0,r.jsx)("ul",{children:e}),unknownListItem:({children:e})=>(0,r.jsx)("li",{children:e}),unknownBlockStyle:({children:e})=>(0,r.jsx)("p",{children:e})};function p(e,t,n){let a=t[n],r=e[n];return"function"==typeof a||a&&"function"==typeof r?a:a?{...r,...a}:r}function x({value:e,components:t,listNestingMode:n,onMissingComponent:a=c}){let s=a||g,o;o=Array.isArray(e)?e:null==e?[]:[e];let d=(0,l.nestLists)(o,n||l.LIST_NEST_MODE_HTML),m=(0,i.useMemo)(()=>t?function(e,t){let{block:n,list:a,listItem:r,marks:i,types:l,...s}=t;return{...e,block:p(e,t,"block"),list:p(e,t,"list"),listItem:p(e,t,"listItem"),marks:p(e,t,"marks"),types:p(e,t,"types"),...s}}(u,t):u,[t]),f=(0,i.useMemo)(()=>h(m,s),[m,s]);return(0,r.jsx)(r.Fragment,{children:d.map((e,t)=>f({node:e,index:t,isInline:!1,renderNode:f}))})}let h=(e,t)=>function n(a){var i,s,c,m,u,p,x,h;let g,C,{node:y,index:b,isInline:L}=a,w=y._key||`node-${b}`;return(0,l.isPortableTextToolkitList)(y)?function(a,i,l){let s=a.children.map((e,t)=>n({node:e._key?e:{...e,_key:`li-${i}-${t}`},index:t,isInline:!1,renderNode:n})),d=e.list,c=("function"==typeof d?d:d[a.listItem])||e.unknownList;if(c===e.unknownList){let e=a.listItem||"bullet";t(o(`list style "${e}"`,"list"),{nodeType:"listStyle",type:e})}return(0,r.jsx)(c,{value:a,index:i,isInline:!1,renderNode:n,children:s},l)}(y,b,w):(0,l.isPortableTextListItemBlock)(y)?function(a,i,l){let s=f({node:a,index:i,isInline:!1,renderNode:n}),d=e.listItem,c=("function"==typeof d?d:d[a.listItem])||e.unknownListItem;if(c===e.unknownListItem){let e=a.listItem||"bullet";t(o(`list item style "${e}"`,"listItem"),{type:e,nodeType:"listItemStyle"})}let m=s.children;if(a.style&&"normal"!==a.style){let{listItem:e,...t}=a;m=n({node:t,index:i,isInline:!1,renderNode:n})}return(0,r.jsx)(c,{value:a,index:i,isInline:!1,renderNode:n,children:m},l)}(y,b,w):(0,l.isPortableTextToolkitSpan)(y)?function(a,i){let{markDef:s,markType:d,markKey:c}=a,m=e.marks[d]||e.unknownMark,u=a.children.map((e,t)=>n({node:e,index:t,isInline:!0,renderNode:n}));return m===e.unknownMark&&t(o(`mark type "${d}"`,"marks"),{nodeType:"mark",type:d}),(0,r.jsx)(m,{text:(0,l.spanToPlainText)(a),value:s,markType:d,markKey:c,renderNode:n,children:u},i)}(y,w):y._type in e.types?(i=y,s=b,c=w,m=L,(g=e.types[i._type])?(0,r.jsx)(g,{value:i,isInline:m,index:s,renderNode:n},c):null):(0,l.isPortableTextBlock)(y)?function(a,i,l,s){let{_key:d,...c}=f({node:a,index:i,isInline:s,renderNode:n}),m=c.node.style||"normal",u=("function"==typeof e.block?e.block:e.block[m])||e.unknownBlockStyle;return u===e.unknownBlockStyle&&t(o(`block style "${m}"`,"block"),{nodeType:"blockStyle",type:m}),(0,r.jsx)(u,{...c,value:c.node,renderNode:n},l)}(y,b,w,L):(0,l.isPortableTextToolkitTextNode)(y)?function(t,n){if("\n"===t.text){let t=e.hardBreak;return t?(0,r.jsx)(t,{},n):"\n"}return t.text}(y,w):(u=y,p=b,x=w,h=L,t(d(u._type),{nodeType:"block",type:u._type}),C=e.unknownType,(0,r.jsx)(C,{value:u,isInline:h,index:p,renderNode:n},x))};function f(e){let{node:t,index:n,isInline:a,renderNode:r}=e,i=(0,l.buildMarksTree)(t).map((e,t)=>
1r({node:e,isInline:!0,index:t,renderNode:r}));return{_key:t._key||`block-${n}`,children:i,index:n,isInline:a,node:t}}function g(){}var C=e.i(381405);function y(e){if("string"!=typeof e)return null;let[t]=e.trim().split("T"),n=/^(\d{4})-(\d{2})-(\d{2})$/.exec(t);if(!n)return null;let[,a,r,i]=n.map(Number),l=new Date(a,r-1,i);return l.getFullYear()!==a||l.getMonth()!==r-1||l.getDate()!==i?null:l}var b=e.i(975157);function L(){return(L=Object.assign.bind()).apply(null,arguments)}let w=function(e){return i.createElement("svg",L({xmlns:"http://www.w3.org/2000/svg",width:18,height:17,viewBox:"0 0 18 17",fill:"none"},e),t||(t=i.createElement("path",{d:"M9 16C13.1421 16 16.5 12.6421 16.5 8.5C16.5 4.35786 13.1421 1 9 1C4.85786 1 1.5 4.35786 1.5 8.5C1.5 12.6421 4.85786 16 9 16Z",stroke:"#1F1F47",strokeWidth:1.75,strokeLinecap:"round",strokeLinejoin:"round"})),n||(n=i.createElement("path",{d:"M9 13.5C9.55228 13.5 10 13.0523 10 12.5C10 11.9477 9.55228 11.5 9 11.5C8.44772 11.5 8 11.9477 8 12.5C8 13.0523 8.44772 13.5 9 13.5Z",fill:"#1F1F47"})),a||(a=i.createElement("path",{d:"M9 4V9.5",stroke:"#1F1F47",strokeWidth:1.75,strokeLinecap:"round",strokeLinejoin:"round"})))};var v=e.i(148689);let j=["#54ABF2","#FF9748","#F2545B","#9257DB","#11D483","#E864E6","#DB5776","#3F9B31","#AE9729","#576CDB","#21B8C3","#FF60A0"],E=["january","february","march","april","may","june","july","august","september","october","november","december"],M={"#5999F2":"text-[#5999F2]","#EB9933":"text-[#EB9933]","#33B873":"text-[#33B873]","#8C59D9":"text-[#8C59D9]","#C740A6":"text-[#C740A6]","#E54D59":"text-[#E54D59]","#33A699":"text-[#33A699]","#269959":"text-[#269959]","#4266ED":"text-[#4266ED]","#3859D9":"text-[#3859D9]","#D94073":"text-[#D94073]","#54ABF2":"text-[#54ABF2]","#FF9748":"text-[#FF9748]","#F2545B":"text-[#F2545B]","#9257DB":"text-[#9257DB]","#11D483":"text-[#11D483]","#E864E6":"text-[#E864E6]","#DB5776":"text-[#DB5776]","#3F9B31":"text-[#3F9B31]","#AE9729":"text-[#AE9729]","#576CDB":"text-[#576CDB]","#21B8C3":"text-[#21B8C3]","#FF60A0":"text-[#FF60A0]","#9195A1":"text-[#9195A1]"};function k(e,t){return{name:t,hex:e,text:e?M[e]:null,foreground:e?"text-white":"text-[#0C164A]",dot:`/images/blog/apple-calendar/${t}.svg`}}function S(e,t){if(e.fiscalYear<t)return k("#9195A1","previous-year");let n=Number(e.monthKey.slice(5))-1;return k(j[n],E[n])}function N(e){return new Date(`${e}T00:00:00Z`)}function Z(e){let t=N(e.start).getTime();return Array.from({length:7*e.weeks},(e,n)=>new Date(t+864e5*n).toISOString().slice(0,10))}let T=new Intl.DateTimeFormat("en-US",{year:"numeric",month:"long",day:"numeric",timeZone:"UTC"}),D=new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric",timeZone:"UTC"}),_=new Intl.DateTimeFormat("en-US",{weekday:"short",month:"short",timeZone:"UTC"}),A=new Intl.DateTimeFormat("en-US",{weekday:"short",month:"short",day:"numeric",year:"numeric",timeZone:"UTC"}),I=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];function F({description:e,periods:t,payoutsDates:n=[]}){let a=(0,i.useId)(),l=(0,i.useRef)(null),s=(0,i.useRef)(new Map),o=(0,i.useRef)(new Map),[d,c]=(0,i.useState)(null),[m,u]=(0,i.useState)(""),[p,h]=(0,i.useState)(null);(0,i.useEffect)(()=>{let e=()=>{let e=new Date;h(`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`)};e();let t=window.setInterval(e,6e4);return()=>window.clearInterval(t)},[]);let f=Math.max(...t.map(e=>e.fiscalYear)),g=t.filter(e=>e.fiscalYear===f).map(e=>e.monthKey).sort(),y=new Map(t.map(e=>[e.monthKey,e])),L=new Map(t.map(e=>[e.payment,e])),j=d?t.find(e=>e.key===d.periodKey):void 0,E=j?S(j,f).text:void 0,M=e=>t.find(t=>t.start<=e&&e<=t.end)?.monthKey,k=j?.monthKey,B=j?M(j.payment):void 0,$=[...t].sort((e,t)=>e.payment.localeCompare(t.payment)),U=p?$.find(e=>e.payment>=p):void 0,z=p&&U?Math.round((N(U.payment).getTime()-N(p).getTime())/864e5):0,O=$.filter(e=>{let t=M(e.payment);return!t||!g.includes(t)});(0,v.useBrowserLayoutEffect)(()=>{if(!j||!k||!B)return void u("");let e=l.current,t=s.current.get(k),n=o.current.get(j.key);if(!e||!t||!n)return void u("");let a=()=>{let a=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=n.getBoundingClientRect(),l=i.left+i.width/2>
1=r.left+r.width/2,s=(l?r.right:r.left)-a.left,o=r.top+r.height/2-a.top,d=(l?i.left:i.right)-a.left,c=i.top+i.height/2-a.top,m=Math.min(Math.max(.45*Math.abs(d-s),32),120),p=l?m:-m;u(`M ${s} ${o} C ${s+p} ${o}, ${d-p} ${c}, ${d} ${c}`)};a();let r=new ResizeObserver(a);return r.observe(e),window.addEventListener("resize",a),()=>{r.disconnect(),window.removeEventListener("resize",a)}},[j,k,B]),(0,i.useEffect)(()=>{if(!d)return;let e=e=>{let t=e.target;!(t instanceof Element)||l.current?.contains(t)&&t.closest("[data-calendar-select]")||c(null)},t=e=>{"Escape"===e.key&&c(null)};return document.addEventListener("pointerdown",e),document.addEventListener("keydown",t),()=>{document.removeEventListener("pointerdown",e),document.removeEventListener("keydown",t)}},[d]);let H=e=>({"data-calendar-select":e.key,onPointerEnter:t=>{"mouse"===t.pointerType&&c(t=>t?.mode==="pinned"?t:{periodKey:e.key,mode:"hover"})},onPointerLeave:()=>c(t=>t?.mode==="hover"&&t.periodKey===e.key?null:t),onFocus:t=>{t.currentTarget.matches(":focus-visible")&&c({periodKey:e.key,mode:"focus"})},onBlur:()=>c(e=>e?.mode==="focus"?null:e),onClick:()=>c(t=>t?.mode==="pinned"&&t.periodKey===e.key?null:{periodKey:e.key,mode:"pinned"})}),V=e=>`${(0,C.stegaClean)(e.label)}, sales ${D.format(N(e.start))} to ${D.format(N(e.end))}, paid ${T.format(N(e.payment))}`;return(0,r.jsxs)("div",{className:"pb-10 max-md:pb-8",children:[e&&(0,r.jsx)(x,{value:e}),(0,r.jsxs)("div",{className:"not-prose mb-6 flex min-h-12 items-start gap-2.5 rounded-lg bg-gray-50 px-4 py-3 text-primary",children:[(0,r.jsx)(w,{className:"mt-0.5 size-4.5 shrink-0"}),(0,r.jsx)("p",{className:"m-0! text-base! leading-snug!",children:p?U?0===z?(0,r.jsxs)(r.Fragment,{children:["Next payout is"," ",(0,r.jsxs)("strong",{children:["today, ",T.format(N(U.payment))]}),"."]}):(0,r.jsxs)(r.Fragment,{children:["Next payout is on ",(0,r.jsx)("strong",{children:T.format(N(U.payment))})," ","— Just ",(0,r.jsx)("strong",{children:z})," ",1===z?"day":"days"," away."]}):"No upcoming payouts.":"Explore Apple’s fiscal months and payment dates."})]}),(0,r.jsxs)("section",{ref:l,role:"region","aria-label":`Apple fiscal year ${f} calendar`,className:"not-prose relative rounded-xl border border-[#E2E2EA] p-6 max-md:p-3",children:[(0,r.jsxs)("p",{className:"mt-0! mb-6! text-sm! leading-snug! text-gray-800!",children:[(0,r.jsx)("span",{className:"max-md:hidden",children:"Hover a fiscal month to see its payday, or a payday to see the month it covers. Click to pin, Esc to clear."}),(0,r.jsx)("span",{className:"hidden max-md:inline",children:"Tap a fiscal month to see its payday, or a payday to see the month it covers. Tap again to clear."})]}),(0,r.jsx)("div",{className:"grid grid-cols-1 items-start gap-x-4 gap-y-6 min-[480px]:grid-cols-2 md:grid-cols-3",children:g.map(e=>{let t,i,l,c,m,u,p,x=y.get(e);if(!x)return null;let h=S(x,f),g=e===k,w=g||e===B,v=!!(j&&!w),E=`${a}-${e}-heading`;return(0,r.jsxs)("div",{"data-calendar-month":e,"data-active":e===k,"data-dimmed":v,className:(0,b.cn)("min-w-0 transition-opacity duration-150 motion-reduce:transition-none",v&&"opacity-30"),children:[(0,r.jsxs)("h3",{id:E,className:"relative z-20 m-0! mb-1! flex items-center justify-between gap-1 font-sans! text-xs! leading-snug! tracking-normal!",children:[(0,r.jsx)("button",{type:"button",ref:t=>{t?s.current.set(e,t):s.current.delete(e)},"aria-pressed":d?.mode==="pinned"&&d.periodKey===x.key,"aria-label":V(x),className:(0,b.cn)("inline-flex h-6 min-w-0 cursor-pointer items-center justify-center rounded-full px-2 pt-0.5 text-[14px] leading-none focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary",h.text?["bg-current",h.text]:"border border-[#E2E2EA]"),...H(x),children:(0,r.jsx)("span",{className:(0,b.cn)("font-medium whitespace-nowrap",h.foreground),children:x.label})}),x.weeks>4&&(0,r.jsxs)("span",{"data-calendar-weeks":!0,className:"inline-flex h-6 shrink-0 items-center justify-center rounded-full border border-[#E2E2EA] px-1.5 pt-[3px] font-sans text-[13px] leading-none font-medium text-[#3D3D5C]/70 uppercase",children:[x.weeks," WKS"]})]}),(0,r.jsxs)("p",{className:"not-prose m-0! mb-2! truncate font-sans! text-[14px]! leading-snug! text-[#3D3D5C]/70!",children:[D.format(N(x.start))," –"," ",D.format(N(x.end))," ",(0,r.jsx)("span",{"aria-hidden":"true",className:(0,b.cn)("opacity-70",h.text??"text-[#3D3D5C]"),children:"→"})," ",(0,r.jsx)("span",{className:(0,b.cn)("font-medium",h.text??"text-[#3D3D5C]"),children:D.format(N(x.payment))})]}),(0,r.jsxs)("div",{className:(0,b.cn)("relative rounded-lg border bg-white p-2 transition-colors duration-150 motion-reduce:transition-none",g&&h.text?["border-current",h.text]:"border-[#
1E2E2EA]"),children:[j&&e===B&&(0,r.jsxs)("span",{role:"tooltip","aria-hidden":"true","data-payday-tip":j.payment,className:"pointer-events-none absolute inset-x-0 top-full z-30 mt-2 rounded-lg border border-[#E2E2EA] bg-white px-2 py-1 text-center text-[14px] leading-snug font-normal text-[#3D3D5C] shadow-[0_2px_2px_0_rgba(61,61,92,0.02),0_4px_16px_0_rgba(61,61,92,0.06)]",children:[(0,r.jsx)("span",{className:"block font-medium",children:j.label}),(0,r.jsxs)("span",{className:"block",children:["Paid ",(c=(l=(i=(t=N(j.payment)).getUTCDate())%100)>=11&&l<=13?"th":i%10==1?"st":i%10==2?"nd":i%10==3?"rd":"th",m=_.formatToParts(t),u=m.find(e=>"weekday"===e.type)?.value??"",p=m.find(e=>"month"===e.type)?.value??"",`${u}, ${p} ${i}${c}`)]})]}),(0,r.jsxs)("div",{className:"grid grid-cols-7 gap-1 text-center font-sans text-[11px] leading-none text-[#3D3D5C]",role:"group","aria-labelledby":E,children:[I.map(e=>(0,r.jsx)("span",{className:"flex aspect-square items-center justify-center font-medium text-[#3D3D5C]/70","aria-label":e,children:e[0]},e)),Z(x).map(e=>{let t=L.get(e);if(!t)return(0,r.jsx)("span",{"data-calendar-day":e,className:"flex aspect-square items-center justify-center rounded border border-[#E2E2EA]",children:Number(e.slice(-2))},e);let a=S(t,f),i=n.some(t=>(0,C.stegaClean)(t.date)===e&&t.isSecondary);return(0,r.jsx)("button",{ref:e=>{e?o.current.set(t.key,e):o.current.delete(t.key)},type:"button","data-calendar-day":e,"data-calendar-payment":e,"aria-label":`Payday ${T.format(N(e))}, pays for ${(0,C.stegaClean)(t.label)}`,"aria-pressed":d?.mode==="pinned"&&d.periodKey===t.key,className:(0,b.cn)("relative z-10 flex aspect-square cursor-pointer items-center justify-center rounded border border-current bg-current focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary",a.text??"text-[#9195A1]",i&&"border-dashed"),...H(t),children:(0,r.jsx)("span",{className:(0,b.cn)("font-medium",a.foreground),children:Number(e.slice(-2))})},e)})]})]})]},e)})}),O.length>0&&(0,r.jsxs)("div",{className:"mt-6 flex flex-wrap items-center gap-x-3 gap-y-2 border-t border-gray-100 pt-4 text-xs text-gray-800",children:[(0,r.jsxs)("span",{className:"text-gray-800/70",children:["Paid after fiscal ",f," ends"]}),O.map(e=>{let t=S(e,f);return(0,r.jsxs)("button",{type:"button","aria-label":V(e),"aria-pressed":d?.mode==="pinned"&&d.periodKey===e.key,className:(0,b.cn)("inline-flex cursor-pointer items-center gap-1.5 rounded-full border border-gray-200 bg-white px-2.5 py-1 transition-opacity duration-150 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary motion-reduce:transition-none",j&&j.key!==e.key&&"opacity-25"),...H(e),children:[(0,r.jsx)("span",{className:(0,b.cn)("size-2 shrink-0 rounded-full bg-current",t.text??"text-[#9195A1]")}),(0,r.jsx)("time",{dateTime:e.payment,children:A.format(N(e.payment))})]},e.key)})]}),j&&m&&(0,r.jsx)("svg",{"data-calendar-connector":!0,"aria-hidden":"true",className:(0,b.cn)("pointer-events-none absolute inset-0 z-10 h-full w-full overflow-visible",E),children:(0,r.jsx)("path",{d:m,fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})})]})]})}let B=new Intl.DateTimeFormat("en-US",{month:"long",day:"numeric",year:"numeric"});function $({rawDate:e,dayKey:t,salesPeriod:n,isSecondary:a,color:i,onMouseEnter:l,onMouseLeave:s}){return(0,r.jsxs)("div",{className:"group/cell relative",children:[(0,r.jsx)("button",{type:"button",className:(0,b.cn)("relative z-10 flex size-8 items-center justify-center rounded-md border pt-0.5 max-2xl:size-9.5 max-lg:size-11",i.bg,i.border,i.text,a&&"border-dashed"),"data-day":t,"aria-label":`Payment ${B.format(e)} (${n})`,onMouseEnter:l,onFocus:l,onMouseLeave:s,onBlur:s,children:e.getDate()}),(0,r.jsx)("div",{role:"tooltip",className:(0,b.cn)("pointer-events-none absolute bottom-full left-1/2 z-50 -translate-x-1/2 -translate-y-2 rounded-[10px] border border-[#EAEDF6] bg-white p-3 text-[14px] leading-snug whitespace-nowrap text-black opacity-0 shadow-[0_2px_2px_0_rgba(61,61,92,0.02),0_4px_16px_0_rgba(61,61,92,0.06)] transition-opacity duration-150","group-focus-within/cell:opacity-100 group-hover/cell:opacity-100"),children:(0,r.jsxs)("div",{className:"flex flex-col items-start",children:[(0,r.jsxs)("span",{children:[(0,r.jsx)("span",{className:"font-medium",children:"Payment day: "}),B.format(e)]}),(0,r.jsxs)("span",{children:[(0,r.jsx)("span",{className:"font-medium",children:"Fiscal month: "}),n]})]})})]})}let U={blue:{border:"border-[#2693EE]",text:"text-[#2693EE]",bg:"bg-[#2693EE14]",before:"before:border-[#2693EE]"}
1,green:{border:"border-[#12D583]",text:"text-[#12D583]",bg:"bg-[#12D58314]",before:"before:border-[#12D583]"},yellow:{border:"border-[#E9A213]",text:"text-[#E9A213]",bg:"bg-[#E9A21314]",before:"before:border-[#E9A213]"},purple:{border:"border-[#9357DB]",text:"text-[#9357DB]",bg:"bg-[#9357DB14]",before:"before:border-[#9357DB]"},grey:{border:"border-[#9195A166]",text:"text-[#3D3D5C]",bg:"bg-[#9195A114]",before:"before:border-[#9195A166]"},orhid:{border:"border-[#E866E9]",text:"text-[#E866E9]",bg:"bg-[#E866E914]",before:"before:border-[#E866E9]"},"neon-pink":{border:"border-[#FC639D]",text:"text-[#FC639D]",bg:"bg-[#FC639D14]",before:"before:border-[#FC639D]"},red:{border:"border-[#F2555B]",text:"text-[#F2555B]",bg:"bg-[#F2555B14]",before:"before:border-[#F2555B]"}};function z(e){return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`}let O=new Intl.DateTimeFormat("en-US",{year:"numeric",month:"long",day:"numeric"});function H({year:e,month:t,period:n,payoutsDatesArray:a,currentTooltip:i,setCurrentTooltip:l}){let s,o=new Date(e,t,1),d=new Date(e,t+1,0).getDate(),c=n?Z(n).flatMap(e=>{let t=y(e);return t?[{date:t,inPeriod:!0}]:[]}):Array.from({length:7*Math.ceil(((s=o.getDay())+d)/7)},(n,a)=>({date:new Date(e,t,a+1-s),inPeriod:!1})),m=n?n.label:`${o.toLocaleString("en-US",{month:"long"})} ${o.getFullYear()}`,u=(0,C.stegaClean)(m),p=(0,C.stegaClean)(i?.[0]??"")===u&&i?.[1];return(0,r.jsxs)("div",{"data-highlighted":!!p||void 0,className:(0,b.cn)("relative",p&&["before:absolute before:-inset-2 before:-top-4 before:z-0 before:rounded-xl before:border",i?.[1]]),children:[(0,r.jsx)("h3",{className:"not-prose relative z-10 ml-2 font-sans text-[16px] leading-snug font-medium text-primary",children:m}),(0,r.jsxs)("div",{className:"not-prose relative z-10 mt-3 grid grid-cols-7 place-items-center gap-1 text-center text-[14px]",children:[["S","M","T","W","T","F","S"].map((e,t)=>(0,r.jsx)("div",{className:"p-2 leading-snug font-medium text-gray-800 max-xl:p-3",children:e},`${e}-${t}`)),c.map(({date:e,inPeriod:t})=>{let n=a.find(t=>t.d.toDateString()===e.toDateString()&&t.salesPeriod&&t.color),i=t||e.getMonth()===o.getMonth()&&e.getFullYear()===o.getFullYear();if(n&&i&&n){let t=U[n.color];return(0,r.jsx)($,{rawDate:e,dayKey:z(e),salesPeriod:n.salesPeriod,isSecondary:n.isSecondary,color:t,onMouseEnter:()=>{l([n.salesPeriod,t.before])},onMouseLeave:()=>{l(null)}},e.toDateString())}return(0,r.jsx)("div",{"data-outside-month":!i||void 0,"data-day":z(e),className:(0,b.cn)("flex size-8 items-center justify-center rounded-full pt-0.5 leading-none max-2xl:size-[38px] max-lg:size-11",i?"text-gray-800":"text-gray-500"),children:e.getDate()},e.toDateString())})]})]})}function V({fiscalPeriods:e,description:t,payoutsDates:n,quartals:a}){let[l,s]=(0,i.useState)(null),o=new Date;o.setHours(0,0,0,0);let d=n.flatMap(e=>{let t=y((0,C.stegaClean)(e.date));return t?[{...e,d:t}]:[]}),c=d.filter(e=>e.d.getTime()>o.getTime()).sort((e,t)=>e.d.getTime()-t.d.getTime())[0],m=c?Math.round((c.d.getTime()-o.getTime())/864e5):0,u=(e,t)=>{let n=new Date(e,t,1);return`${n.getFullYear()}-${String(n.getMonth()+1).padStart(2,"0")}`},p=new Map((e??[]).map(e=>[e.monthKey,e])),h=a.every(({year:e,startMonth:t})=>Array.from({length:3},(e,n)=>t-1+n).every(t=>p.has(u(e,t))));return(0,r.jsxs)("div",{className:"relative z-10 pb-10 max-md:pb-8",children:[t&&(0,r.jsx)(x,{value:t}),(0,r.jsxs)("div",{className:"flex items-start gap-2.5 rounded-lg bg-[#F8F9FB] px-4 py-2.5",children:[(0,r.jsx)(w,{className:"mt-0.5 size-4.5 shrink-0 max-md:mt-1 max-md:size-3.5"}),c?(0,r.jsxs)("p",{className:"not-prose text-[18px] leading-snug max-md:text-[16px]",children:["Next payout is on"," ",(0,r.jsx)("span",{className:"font-medium",children:O.format(c.d)})," — Just"," ",(0,r.jsx)("span",{className:"font-medium",children:m})," ",m>1?"days":"day"," away."]}):(0,r.jsx)("p",{className:"not-prose text-[18px] leading-snug max-md:text-[16px]",children:"No upcoming payouts."})]}),(0,r.jsx)("div",{className:"mt-10 flex flex-col gap-20 max-xl:mt-[68px] max-md:gap-16",children:a.map(({year:e,startMonth:t,subheader:n})=>{let a=Array.from({length:3},(e,n)=>t-1+n);return(0,r.jsxs)("div",{className:"relative after:absolute after:inset-x-0 after:-bottom-10 after:h-px after:bg-primary after:opacity-[0.08] last:after:hidden max-md:after:-bottom-8",children:[(0,r.jsxs)("h3",{className:"not-prose font-sans text-[20px] leading-snug font-medium text-primary",children:["Q",function(e){if(e<1||e>12)throw Error("Invalid month");return(Math.ceil((e-1)/3)+1)%4+1}(t)]}),(0,r.jsx)("p",{className:"not-prose mt-1 text-[14px] leading-snug text-[#3D3D5CA3]",children:n}),(0,r.jsx)("div",{className:"mt-8 grid grid-cols-3 items-start gap-8 max-2xl:grid-cols-2 max-md:mt-7 max-md:grid-cols-1",children:a.map(t=>(0,r.jsx)(H,{year:e,month:t,period:h?p.get(u(e,t)):void 0,payoutsDatesArray:d,currentTooltip:l,setCurrentTooltip:s},`${e}-${t}`))})]},`${e}-${t}`)})})]})}e.s(["default",0,function(e){return e.fiscalPeriods?.length?(0,r.jsx)(F,{...e,periods:e.fiscalPeriods}):(0,r.jsx)(V,{...e})}],580611)},558459,e=>{"use strict";var t=e.i(652160);e.s(["default",0,function({postUrl:e,author:n,category:a,date:r}){return(0,t.useEffect)(()=>{let e=window;(e.dataLayer=e.dataLayer||[]).push({event:"article_view",article_author:n,...a?{article_category:a}:{},...r?{article_date:r}:{}})},[e,n,a,r]),null}])},525459,e=>{"use strict";
1var t=e.i(981280),n=e.i(652160),a=e.i(37572),r=e.i(660914),i=e.i(128248),l=e.i(937921),s=e.i(438100),o=e.i(106022),d=e.i(335104),c=e.i(685158),m=e.i(975157);let u={1:"grid-cols-1",2:"grid-cols-2",3:"grid-cols-3",4:"grid-cols-4"};function p({item:e,sizes:u}){let[x,h]=(0,n.useState)(!1),[f,g]=(0,n.useState)(!1),C=(0,n.useCallback)(()=>h(!0),[]),y=(0,n.useCallback)(()=>h(!1),[]);(0,n.useEffect)(()=>{if(!x)return;let e=e=>{"Escape"===e.key&&y()},t=window.innerWidth-document.documentElement.clientWidth;return document.addEventListener("keydown",e),document.body.style.overflow="hidden",document.body.style.paddingRight=`${t}px`,()=>{document.removeEventListener("keydown",e),document.body.style.overflow="",document.body.style.paddingRight=""}},[x,y]);let b=e.image?.asset?.url;if(!b)return null;let L=e.image?.asset?.metadata?.dimensions;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("figure",{className:"group/img flex flex-col",children:[(0,t.jsx)("div",{className:"relative h-90 w-full cursor-zoom-in overflow-hidden rounded-md bg-gray-50 max-md:h-65",onClick:C,children:(0,t.jsx)(a.default,{src:b,alt:e.alt||"",fill:!0,sizes:u,className:(0,m.cn)("object-cover transition-opacity duration-500",f?"opacity-100":"opacity-0"),onLoad:()=>g(!0)})}),e.caption&&(0,t.jsx)("figcaption",{className:"mt-3 text-center text-base text-gray-600",children:e.caption})]}),(0,t.jsx)(s.LazyMotion,{features:l.domAnimation,children:(0,t.jsx)(i.AnimatePresence,{children:x&&(0,t.jsxs)(o.div,{className:"fixed inset-0 z-100 flex cursor-pointer items-center justify-center bg-black/60",initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},onClick:y,children:[(0,t.jsx)(d.button,{className:"absolute top-4 right-4 z-10 flex size-10 items-center justify-center rounded-full bg-white/10 text-white transition-colors hover:bg-white/20",onClick:e=>{e.stopPropagation(),y()},initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.8},transition:{delay:.1},"aria-label":"Close",children:(0,t.jsx)(r.X,{size:20})}),(0,t.jsx)(c.img,{initial:{scale:.9,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.9,opacity:0},transition:{type:"spring",damping:25,stiffness:300},className:"max-h-[90vh] max-w-[90vw] cursor-default rounded-lg object-contain",src:b,alt:e.alt||"",width:L?.width,height:L?.height,onClick:e=>e.stopPropagation()})]})})})]})}e.s(["default",0,function({value:e}){let n=e.items??[];if(!n.length)return null;let a=e.columns??2,r=u[a]??"grid-cols-2",i=`(max-width: 768px) 100vw, ${Math.ceil(760/a)}px`;return(0,t.jsxs)("figure",{className:"not-prose my-6",children:[(0,t.jsx)("div",{className:`grid gap-3 ${r}`,children:n.map((e,n)=>(0,t.jsx)(p,{item:e,sizes:i},e._key??n))}),e.caption&&(0,t.jsx)("figcaption",{className:"mt-3 text-center text-base text-gray-600",children:e.caption})]})}])},840317,e=>{"use strict";var t,n,a,r,i,l,s,o=e.i(981280),d=e.i(652160),c=e.i(128248),m=e.i(937921),u=e.i(438100),p=e.i(106022),x=e.i(650369),h=e.i(975157);function f(){return(f=Object.assign.bind()).apply(null,arguments)}let g=function(e){return d.createElement("svg",f({width:21,height:20,viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),t||(t=d.createElement("g",{clipPath:"url(#clip0_30094_22692)"},d.createElement("path",{d:"M11.8959 7.87031C11.462 7.43895 10.9583 7.08396 10.4061 6.82031C10.0689 7.15878 9.88238 7.60967 9.88238 8.08772C9.88238 8.27919 9.91944 8.46078 9.97379 8.63372C10.2073 8.77825 10.4271 8.94255 10.626 9.14019C11.3054 9.81961 11.6797 10.7214 11.6797 11.6812C11.6797 12.641 11.3054 13.544 10.6273 14.2222L7.93185 16.9164C6.57303 18.2752 4.20744 18.2752 2.84985 16.9164C2.51582 16.5832 2.2509 16.1873 2.07028 15.7515C1.88967 15.3156 1.79693 14.8484 1.79738 14.3766C1.79738 13.4168 2.17044 12.515 2.84861 11.8356L4.73861 9.94561C4.57664 9.33953 4.4936 8.71507 4.49156 8.08772C4.49156 7.94196 4.50391 7.79743 4.51256 7.6529C4.43226 7.72455 4.35197 7.79372 4.27414 7.87031L1.57873 10.5657C1.07644 11.0648 0.678243 11.6587 0.407241 12.3129C0.136238 12.967 -0.00217618 13.6685 2.58668e-05 14.3766C2.58668e-05 15.8157 0.560849 17.1684 1.57873 18.1875C2.07838 18.6894 2.67252 19.0873 3.32683 19.3583C3.98114 19.6292 4.68265 19.7679 5.39085 19.7662C6.09894 19.7684 6.80042 19.63 7.4546 19.359C8.10878 19.088 8.70264 18.6898 9.20173 18.1875L11.8971 15.4933C12.399 14.9937 12.797 14.3995 13.0679 13.7452C13.3389 13.0909 13.4775 12.3894 13.4759 11.6812C13.4781 10.9731 13.3396 10.2716 13.0686 9.61745C12.7976 8.96327 12.3982 8.36941 11.8959 7.87031Z",fill:"currentColor"}),d.createElement("path",{d:"M18.1889 1.57997C17.6895 1.078 17.0956 0.679942 16.4415 0.408765C15.7874 0.137588 15.0861 -0.00133237 14.378 2.58924e-05C13.6696 -0.00217816 12.9678 0.136351 12.3134 0.407572C11.659 0.678793 11.065 1.0773 10.5659 1.57997L7.87169 4.27291C7.3698 4.77256 6.97188 5.3667 6.70091 6.02101C6.42995 6.67532 6.2913 7.37683 6.29298 8.08503C6.29298 9.52538 6.85381 10.8793 7.87169 11.8971C8.31146 12.3369 8.81669 12.6853 9.36145 12.9471C9.69993 12.6087 9.88645 12.1566 9.88645 11.6797C9.88645 11.4833 9.8494 11.2968 9.79134 11.1201C9.55577 10.9826 9.33796 10.8166 9.14281 10.626C8.80841 10.2928 8.54317 9.89677 8.36234 9.4607C8.18151 9.02462 8.08865 8.55711 8.0891 8.08503C8.0891 7.12644 8.4634 6.22344 9.14157 5.54403L11.837 2.84985C12.5164 2.17044 13.4182 1.79738 14.378 1.79738C14.8502 1.7966 15.3179 1.88919 15.7542 2.06981C16.1905 2.25043 16.5867 2.51553 16.9202 2.84985C17.5984 3.52926 17.9715 4.43103 17.9715 5.39085C17.9715 6.35067 17.5984 7.25244 16.9202 7.93061L15.0265 9.82432C15.1871 10.4222 15.2773 11.0436 15.2773 11.6797C15.2773 11.8243 15.2649 11.9688 15.2575 12.1121C15.339 12.0429 15.4185 11.9713 15.4959 11.8971L18.1913 9.20173C18.6929 8.70212 19.0905 8.10814 19.3612 7.45406C19.632 6.79998 19.7705 6.09875 19.7688 5.39085C19.771 4.68276 19.6326 3.98128 19.3616 3.3271C19.0906 2.67292 18.6912 2.07906 18.1889 1.57997Z",fill:"currentColor"}))),n||(n=d.createElement("defs",null,d.createElement("clipPath",{id:"clip0_30094_22692"},d.createElement("rect",{width:21,height:19.7647,fill:"white"})))))};function C(){return(C=Object.assign.bind()).apply(null,arguments)}let y=function(e){return d.createElement("svg",C({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),a||(a=d.createElement("g",{clipPath:"url(#clip0_30094_22689)"},d.createElement("path",{d:"M18.125 0.625H1.875C1.54348 0.625 1.22554 0.756696 0.991117 0.991117C0.756696 1.22554 0.625 1.54348 0.625 1.875V18.125C0.625 18.4565 0.756696 18.7745 0.991117 19.0089C1.22554 19.2433 1.54348 19.375 1.875 19.375H18.125C18.4565 19.375 18.7745 19.2433 19.0089 19.0089
1C19.2433 18.7745 19.375 18.4565 19.375 18.125V1.875C19.375 1.54348 19.2433 1.22554 19.0089 0.991117C18.7745 0.756696 18.4565 0.625 18.125 0.625ZM6.17938 16.6213H3.35875V7.65625H6.17938V16.6213ZM4.76875 6.42562C4.44448 6.42464 4.12777 6.32758 3.85863 6.1467C3.58949 5.96583 3.37999 5.70925 3.25658 5.40938C3.13317 5.10951 3.10139 4.7798 3.16526 4.46188C3.22913 4.14396 3.38578 3.85209 3.61542 3.62315C3.84506 3.3942 4.1374 3.23844 4.45551 3.17554C4.77363 3.11264 5.10325 3.14542 5.40274 3.26974C5.70223 3.39406 5.95817 3.60435 6.13822 3.87404C6.31828 4.14373 6.41437 4.46073 6.41437 4.785C6.41446 5.00089 6.37191 5.21468 6.28918 5.41409C6.20645 5.61351 6.08516 5.79462 5.93226 5.94705C5.77937 6.09948 5.59789 6.22022 5.39822 6.30235C5.19856 6.38447 4.98464 6.42637 4.76875 6.42562ZM16.6381 16.6213H13.875V12.285C13.875 11.2306 13.875 9.94125 12.4062 9.94125C10.9375 9.94125 10.7606 11.055 10.7606 12.2262V16.68H8V7.65625H10.585V8.88688H10.6438C10.9104 8.42594 11.2972 8.04614 11.763 7.78809C12.2288 7.53005 12.756 7.40346 13.2881 7.42188C16.1087 7.42188 16.6375 9.29688 16.6375 11.6994L16.6381 16.6213Z",fill:"currentColor"}))),r||(r=d.createElement("defs",null,d.createElement("clipPath",{id:"clip0_30094_22689"},d.createElement("rect",{width:20,height:20,fill:"white"})))))};function b(){return(b=Object.assign.bind()).apply(null,arguments)}let L=function(e){return d.createElement("svg",b({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),i||(i=d.createElement("path",{d:"M9.03687 12.6277L3.67375 18.7514H0.703125L7.64937 10.8164L9.03687 12.6277Z",fill:"currentColor"})),l||(l=d.createElement("path",{d:"M10.6562 6.8675L15.5669 1.25H18.5356L12.0312 8.68875L10.6562 6.8675Z",fill:"currentColor"})),s||(s=d.createElement("path",{d:"M19.6803 18.75H13.7059L0.320312 1.25H6.44594L19.6803 18.75ZM14.5253 16.9731H16.1703L5.55219 2.93375H3.78719L14.5253 16.9731Z",fill:"currentColor"})))},w={hidden:{opacity:0,transition:{duration:.2}},visible:{opacity:1,transition:{duration:.2}}};function v(e,t){let n=Math.max(0,(window.screen.width-600)/2),a=Math.max(0,(window.screen.height-600)/2),r=`width=600,height=600,left=${n},top=${a},popup=yes,noopener,noreferrer,menubar=no,toolbar=no,location=no,status=no,resizable=yes,scrollbars=yes`;window.open(e,t,r)}e.s(["default",0,function({title:e,url:t,className:n,isSticky:a=!1}){let[r,i]=(0,d.useState)(!1),l=async()=>{if(!r)try{await navigator.clipboard.writeText(t),i(!0)}catch{}};(0,d.useEffect)(()=>{if(!r)return;let e=window.setTimeout(()=>i(!1),1500);return()=>window.clearTimeout(e)},[r]);let s="h-5 text-[#3D3D5C] transition-colors duration-200 group-hover:text-[#3D3D5C]/70";return(0,o.jsx)("div",{className:(0,h.cn)(a&&"h-full",n),children:(0,o.jsx)(u.LazyMotion,{features:m.domAnimation,children:(0,o.jsxs)(p.div,{className:(0,h.cn)("flex items-center",a?"sticky top-12 flex-col space-y-5 max-md:space-y-3":"space-x-5 max-md:space-x-3"),children:[(0,o.jsx)("button",{type:"button",onClick:()=>{let n;return v((n=new URLSearchParams({url:t,text:e,via:"revenuecat"}),`https://twitter.com/intent/tweet?${n.toString()}`),"share-x")},className:"group","aria-label":"Share on X",children:(0,o.jsx)(L,{className:s})}),(0,o.jsx)("button",{type:"button",onClick:()=>v(`https://www.linkedin.com/sharing/share-offsite/?url=${encodeURIComponent(t)}`,"share-linkedin"),className:"group","aria-label":"Share on LinkedIn",children:(0,o.jsx)(y,{className:s})}),(0,o.jsxs)("button",{type:"button",onClick:l,className:"group relative","aria-label":"Copy link",children:[(0,o.jsx)(c.AnimatePresence,{children:r&&(0,o.jsx)(x.span,{className:"absolute top-full left-1/2 mt-2 -translate-x-1/2 rounded bg-black px-1.5 py-1 text-xs font-normal text-white capitalize opacity-50 max-md:-ml-2",initial:"hidden",animate:"visible",exit:"hidden",variants:w,children:"Copied!"})}),(0,o.jsx)(g,{className:s})]})]})})})}],840317)},163973,e=>{"use strict";var t,n,a,r,i,l,s=e.i(981280),o=e.i(652160),d=e.i(242794),c=e.i(74611),m=e.i(213596),u=e.i(975157),p=e.i(497879),x=e.i(403881);function h(){return(h=Object.assign.bind()).apply(null,arguments)}let f=function(e){return o.createElement("svg",h({width:124,height:102,viewBox:"0 0 124 102",xmlns:"http://www.w3.org/2000/svg"},e),t||(t=o.createElement("path",{d:"M62.9556 58.6424L62.9555 58.6424C62.6387 58.8153 62.2835 58.9059 61.9226 58.9059C61.5617 58.9059 61.2065 58.8153 60.8897 58.6424L60.8896 58.6424L2.44964 26.766C2.10958 26.5805 1.82578 26.3067 1.62809 25.9735C1.43039 25.6404 1.3261 25.2601 1.32617 24.8727V24.8726L1.32617 14.2472C1.32617 10.8572 2.67283 7.6061 5.06989 5.20904C6.25679 4.02214 7.66585 3.08064 9.21661 2.43829C10.7674 1.79594 12.4295 1.46533 14.108 1.46533L109.737 1.46533C113.127 1.46533 116.378 2.81199 118.775 5.20904C121.172 7.6061 122.519 10.8572 122.519 14.2472V24.8726C122.519 25.2601 122.415 25.6404 122.217 25.9735C122.019 26.3067 121.736 26.5804 121.396 26.766C121.396 26.766 121.396 26.766 121.396 26.766L62.9556 58.6424ZM65.979 64.1844L65.9792 64.1843L122.519 33.3472V88.6248C122.519 92.0148 121.172 95.2659 118.775 97.663C116.378 100.06 113.127 101.407 109.737 101.407H14.108C10.7181 101.407 7.46694 100.06 5.06989 97.663C2.67283 95.2659 1.32617 92.0148 1.32617 88.6248L1.32617 33.3445L57.8767 64.1843L57.8769 64.1844C59.1198 64.8614 60.5126 65.2161 61.9279 65.2161C63.3433 65.2161 64.7361 64.8614 65.979 64.1844Z",fill:"url(#paint0_linear_68_166)",stroke:"white"})),n||(n=o.createElement("defs",null,o.createElement("linearGradient",{id:"paint0_linear_68_166",x1:120.083,y1:.965331,x2:59.7957,y2:120.143,gradientUnits:"userSpaceOnUse"},o.createElement("stop",{stopColor:"white",stopOpacity:.6}),o.createElement("stop",{offset:1,stopColor:"white"})))))};function g(){return(g=Object.assign.bind()).apply(null,arguments)}let C=function(e){return o.createElement("svg",g({width:136,height:154,viewBox:"0 0 136 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),a||(a=o.createElement("mask",{id:"path-1-inside-1_68_168",fill:"white"},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M59.2073 0L96.2806 0.00335838C121.632 0.00335838 135.908 19.3
1063 135.908 41.63V92.1582C135.908 113.812 122.54 129.342 96.3779 129.342H79.8219L42.8153 150.859C32.1211 157.074 23.5159 154.099 25.6159 141.635L27.5102 129.342C9.3562 129.337 -3.93424 112.271 1.06022 94.7931L14.0222 33.1841C18.2898 12.8832 38.4782 0 59.2073 0ZM95.0544 96.87C98.4163 94.5801 101.046 91.7504 102.94 88.3901C104.835 85.0269 105.786 81.1327 105.786 76.7044C105.786 72.3558 105.093 68.8189 103.713 66.0881C102.329 63.3611 100.534 61.2036 98.3171 59.6256C96.1077 58.0381 93.6726 56.8919 91.0289 56.1847C88.7784 55.5805 86.426 55.2073 84.0798 54.8351C80.506 54.2682 76.9465 53.7036 73.783 52.3279C68.4807 50.0159 68.3853 42.8889 75.3014 41.7994C79.8437 41.0857 85.385 42.5185 90.0505 43.7248C90.4347 43.8241 90.813 43.9219 91.1842 44.0168C101.412 46.6522 104.351 32.8742 96.334 28.4527C92.181 26.1661 86.9694 25.0075 81.9672 24.5373L81.8488 21.7906C81.7222 16.6869 78.9985 15.9259 73.783 15.5512C73.0566 15.4966 72.3854 15.4894 71.6091 15.5301C66.8621 15.7844 63.7835 16.8816 63.5783 22.1725L63.4546 25.4978C62.7177 25.6638 61.9808 25.8475 61.2702 26.0491C56.8075 27.3104 52.9958 29.1709 49.8338 31.6196C46.6665 34.0751 44.24 37.0425 42.5418 40.5189C40.8455 43.9996 39.9139 47.9183 39.7547 52.2674C39.6804 56.616 40.4897 60.1759 42.1865 62.9403C43.8833 65.7148 46.0006 67.9486 48.5278 69.6461C51.0588 71.3492 53.7452 72.6101 56.5936 73.4396C59.432 74.271 61.9242 74.888 64.0573 75.2771C68.1662 76.0697 71.2783 76.8829 73.3587 77.709C77.9983 79.5461 77.643 84.6182 72.2363 86.3372C66.5327 87.8621 60.2432 86.1463 52.9255 84.15C52.0262 83.9047 51.1112 83.6551 50.18 83.4068C39.9705 80.6759 37.0171 94.5499 45.0354 98.9728C50.1627 101.799 56.5831 103.163 63.1751 103.594V106.341C63.1751 112.196 66.8208 112.293 71.572 112.419C71.8477 112.426 72.1272 112.433 72.4098 112.442C73.0796 112.468 73.6876 112.485 74.4475 112.442C82.6781 112.047 82.4891 109.033 82.3617 107C82.347 106.765 82.3331 106.544 82.3331 106.341V102.23L83.1462 102.035C87.7288 100.887 91.7001 99.1657 95.0544 96.87Z"}))),r||(r=o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M59.2073 0L96.2806 0.00335838C121.632 0.00335838 135.908 19.3063 135.908 41.63V92.1582C135.908 113.812 122.54 129.342 96.3779 129.342H79.8219L42.8153 150.859C32.1211 157.074 23.5159 154.099 25.6159 141.635L27.5102 129.342C9.3562 129.337 -3.93424 112.271 1.06022 94.7931L14.0222 33.1841C18.2898 12.8832 38.4782 0 59.2073 0ZM95.0544 96.87C98.4163 94.5801 101.046 91.7504 102.94 88.3901C104.835 85.0269 105.786 81.1327 105.786 76.7044C105.786 72.3558 105.093 68.8189 103.713 66.0881C102.329 63.3611 100.534 61.2036 98.3171 59.6256C96.1077 58.0381 93.6726 56.8919 91.0289 56.1847C88.7784 55.5805 86.426 55.2073 84.0798 54.8351C80.506 54.2682 76.9465 53.7036 73.783 52.3279C68.4807 50.0159 68.3853 42.8889 75.3014 41.7994C79.8437 41.0857 85.385 42.5185 90.0505 43.7248C90.4347 43.8241 90.813 43.9219 91.1842 44.0168C101.412 46.6522 104.351 32.8742 96.334 28.4527C92.181 26.1661 86.9694 25.0075 81.9672 24.5373L81.8488 21.7906C81.7222 16.6869 78.9985 15.9259 73.783 15.5512C73.0566 15.4966 72.3854 15.4894 71.6091 15.5301C66.8621 15.7844 63.7835 16.8816 63.5783 22.1725L63.4546 25.4978C62.7177 25.6638 61.9808 25.8475 61.2702 26.0491C56.8075 27.3104 52.9958 29.1709 49.8338 31.6196C46.6665 34.0751 44.24 37.0425 42.5418 40.5189C40.8455 43.9996 39.9139 47.9183 39.7547 52.2674C39.6804 56.616 40.4897 60.1759 42.1865 62.9403C43.8833 65.7148 46.0006 67.9486 48.5278 69.6461C51.0588 71.3492 53.7452 72.6101 56.5936 73.4396C59.432 74.271 61.9242 74.888 64.0573 75.2771C68.1662 76.0697 71.2783 76.8829 73.3587 77.709C77.9983 79.5461 77.643 84.6182 72.2363 86.3372C66.5327 87.8621 60.2432 86.1463 52.9255 84.15C52.0262 83.9047 51.1112 83.6551 50.18 83.4068C39.9705 80.6759 37.0171 94.5499 45.0354 98.9728C50.1627 101.799 56.5831 103.163 63.1751 103.594V106.341C63.1751 112.196 66.8208 112.293 71.572 112.419C71.8477 112.426 72.1272 112.433 72.4098 112.442C73.0796 112.468 73.6876 112.485 74.4475 112.442C82.6781 112.047 82.4891 109.033 82.3617 107C82.347 106.765 82.3331 106.544 82.3331 106.341V102.23L83.1462 102.035C87.7288 100.887 91.7001 99.1657 95.0544 96.87Z",fill:"url(#paint0_linear_68_168)"})),i||(i=o.createElement("path",{d:"M96.2806 0.00335838L96.2805 1.00336H96.2806V0.00335838ZM59.2073 0L59.2074 -1H59.2073V0ZM79.8219 129.342V128.342H79.5523L79.3192 128.478L79.8219 129.342ZM42.8153 150.859L43.3178 151.724L43.318 151.724L42.8153 150.859ZM25.6159 141.635L26.6021 141.801L26.6042 141.788L25.6159 141.635ZM27.5102 129.342L28.4985 129.494L28.6761 128.342L27.5105 128.342L27.5102 129.342ZM1.06022 94.7931L2.02173 95.0678L2.03149 95.0337L2.0388 94.9989L1.06022 94.7931ZM14.0222 33.1841L15.0008 33.39L15.0008 33.3898L14.0222 33.1841ZM102.94 88.3901L103.811 88.8812L103.811 88.8811L102.94 88.3901ZM95.0544 96.87L94.4914 96.0435L94.4896 96.0448L95.0544 96.87ZM103.713 66.0881L104.605 65.637L104.605 65.6356L103.713 66.0881ZM98.3171 59.6256L97.7335 60.4377L97.7371 60.4403L98.3171 59.6256ZM91.0289 56.1847L90.7696 57.1505L90.7705 57.1508L91.0289 56.1847ZM84.0798 54.8351L84.2365 53.8475L84.2365 53.8475L84.0798 54.8351ZM73.783 52.3279L73.3833 53.2445L73.3842 53.2449L73.783 52.3279ZM75.3014 41.7994L75.1462 40.8115L75.1458 40.8115L75.3014 41.7994ZM90.0505 43.7248L89.8002 44.6929L89.8002 44.6929L90.0505 43.7248ZM91.1842 44.0168L91.4338 43.0485L91.432 43.048L91.1842 44.0168ZM96.334 28.4527L96.817 27.577L96.8164 27.5767L96.334 28.4527ZM81.9672 24.5373L80.9682 24.5804L81.0057 25.4513L81.8737 25.5329L81.9
1672 24.5373ZM81.8488 21.7906L80.8491 21.8154L80.8494 21.8246L80.8497 21.8337L81.8488 21.7906ZM73.783 15.5512L73.7079 16.5484L73.7113 16.5487L73.783 15.5512ZM71.6091 15.5301L71.5567 14.5315L71.5556 14.5316L71.6091 15.5301ZM63.5783 22.1725L62.579 22.1338L62.579 22.1354L63.5783 22.1725ZM63.4546 25.4978L63.6743 26.4734L64.4253 26.3042L64.4539 25.535L63.4546 25.4978ZM61.2702 26.0491L61.5422 27.0114L61.543 27.0111L61.2702 26.0491ZM49.8338 31.6196L49.2215 30.829L49.2211 30.8293L49.8338 31.6196ZM42.5418 40.5189L41.6433 40.0799L41.6429 40.0808L42.5418 40.5189ZM39.7547 52.2674L38.7554 52.2308L38.7551 52.2406L38.7549 52.2503L39.7547 52.2674ZM42.1865 62.9403L43.0396 62.4186L43.0388 62.4172L42.1865 62.9403ZM48.5278 69.6461L49.0861 68.8164L49.0853 68.8159L48.5278 69.6461ZM56.5936 73.4396L56.8747 72.4799L56.8732 72.4795L56.5936 73.4396ZM64.0573 75.2771L64.2467 74.2951L64.2367 74.2933L64.0573 75.2771ZM73.3587 77.709L72.9896 78.6384L72.9905 78.6388L73.3587 77.709ZM72.2363 86.3372L72.4945 87.3033L72.517 87.2972L72.5392 87.2902L72.2363 86.3372ZM52.9255 84.15L52.6624 85.1148L52.6624 85.1148L52.9255 84.15ZM50.18 83.4068L49.9216 84.3728L49.9223 84.373L50.18 83.4068ZM45.0354 98.9728L44.5524 99.8485L44.5527 99.8486L45.0354 98.9728ZM63.1751 103.594H64.1751V102.657L63.2403 102.596L63.1751 103.594ZM71.572 112.419L71.5456 113.418L71.5456 113.418L71.572 112.419ZM72.4098 112.442L72.4483 111.443L72.4403 111.442L72.4098 112.442ZM74.4475 112.442L74.3996 111.443L74.3914 111.443L74.4475 112.442ZM82.3617 107L83.3597 106.938L83.3597 106.938L82.3617 107ZM82.3331 102.23L82.099 101.258L81.3331 101.443V102.23H82.3331ZM83.1462 102.035L83.3803 103.007L83.3892 103.005L83.1462 102.035ZM96.2807 -0.996642L59.2074 -1L59.2072 1L96.2805 1.00336L96.2807 -0.996642ZM136.908 41.63C136.908 30.2609 133.272 19.6076 126.35 11.7827C119.414 3.94264 109.23 -0.996642 96.2806 -0.996642V1.00336C108.682 1.00336 118.312 5.71557 124.852 13.1079C131.405 20.5154 134.908 30.6754 134.908 41.63H136.908ZM136.908 92.1582V41.63H134.908V92.1582H136.908ZM96.3779 130.342C109.659 130.342 119.818 126.396 126.66 119.578C133.499 112.763 136.908 103.19 136.908 92.1582H134.908C134.908 102.779 131.633 111.799 125.248 118.162C118.865 124.523 109.26 128.342 96.3779 128.342V130.342ZM79.8219 130.342H96.3779V128.342H79.8219V130.342ZM43.318 151.724L80.3245 130.207L79.3192 128.478L42.3127 149.995L43.318 151.724ZM24.6298 141.469C23.549 147.884 25.1639 152.347 28.9904 154.156C32.6698 155.895 37.8783 154.885 43.3178 151.724L42.3129 149.995C37.0581 153.048 32.6169 153.658 29.8452 152.348C27.2205 151.107 25.5828 147.851 26.602 141.801L24.6298 141.469ZM26.5219 129.19L24.6276 141.483L26.6042 141.788L28.4985 129.494L26.5219 129.19ZM0.0987058 94.5183C-5.08436 112.656 8.71396 130.337 27.5099 130.342L27.5105 128.342C9.99843 128.337 -2.78413 111.886 2.02173 95.0678L0.0987058 94.5183ZM13.0437 32.9782L0.0816424 94.5872L2.0388 94.9989L15.0008 33.39L13.0437 32.9782ZM59.2073 -1C38.1266 -1 17.4315 12.1053 13.0436 32.9784L15.0008 33.3898C19.1482 13.6611 38.8297 1 59.2073 1V-1ZM102.069 87.899C100.254 91.1183 97.733 93.8356 94.4914 96.0435L95.6173 97.6965C99.0996 95.3246 101.837 92.3825 103.811 88.8812L102.069 87.899ZM104.786 76.7044C104.786 80.9857 103.868 84.7062 102.069 87.8992L103.811 88.8811C105.802 85.3477 106.786 81.2797 106.786 76.7044H104.786ZM102.82 66.5392C104.107 69.0843 104.786 72.4515 104.786 76.7044H106.786C106.786 72.2601 106.08 68.5535 104.605 65.637L102.82 66.5392ZM97.7371 60.4403C99.8051 61.9125 101.501 63.9381 102.821 66.5406L104.605 65.6356C103.158 62.7841 101.262 60.4947 98.897 58.811L97.7371 60.4403ZM90.7705 57.1508C93.2993 57.8272 95.624 58.9218 97.7335 60.4377L98.9006 58.8135C96.5915 57.1543 94.0459 55.9566 91.2873 55.2187L90.7705 57.1508ZM83.9231 55.8228C86.2789 56.1965 88.5785 56.5622 90.7696 57.1505L91.2882 55.2189C88.9782 54.5987 86.5731 54.2181 84.2365 53.8475L83.9231 55.8228ZM73.3842 53.2449C76.6851 54.6804 80.3754 55.26 83.9231 55.8228L84.2365 53.8475C80.6366 53.2764 77.208 52.7268 74.1818 51.4108L73.3842 53.2449ZM75.1458 40.8115C71.3202 41.4142 69.1853 43.7735 68.9635 46.5249C68.7475 49.205 70.3861 51.9376 73.3833 53.2445L74.1827 51.4112C71.8776 50.4061 70.8173 48.4193 70.9571 46.6855C71.0911 45.023 72.3665 43.274 75.457 42.7872L75.1458 40.8115ZM90.3009 42.7566C85.6971 41.5663 79.9353 40.059 75.1462 40.8115L75.4566 42.7872C79.7
152 42.1124 85.0729 43.4706 89.8002 44.6929L90.3009 42.7566ZM91.432 43.048C91.0622 42.9535 90.6853 42.856 90.3009 42.7566L89.8002 44.6929C90.1842 44.7922 90.5637 44.8903 90.9365 44.9857L91.432 43.048ZM95.8511 29.3283C99.3897 31.28 100.546 35.318 99.6368 38.6153C99.1864 40.2493 98.2433 41.6339 96.9021 42.4699C95.5764 43.2962 93.7629 43.6486 91.4338 43.0485L90.9347 44.9852C93.7194 45.7028 96.1087 45.3212 97.9601 44.1672C99.796 43.0228 101.004 41.1807 101.565 39.1469C102.678 35.1086 101.295 30.0469 96.817 27.577L95.8511 29.3283ZM81.8737 25.5329C86.8069 25.9966 91.8665 27.1345 95.8517 29.3287L96.8164 27.5767C92.4955 25.1977 87.1319 24.0183 82.0608 23.5417L81.8737 25.5329ZM80.8497 21.8337L80.9682 24.5804L82.9663 24.4942L82.8479 21.7476L80.8497 21.8337ZM73.7113 16.5487C76.355 16.7386 78.0794 17.0224 79.18 17.7364C80.1475 18.3642 80.7904 19.4457 80.8491 21.8154L82.8485 21.7658C82.7807 19.0317 81.9984 17.181 80.2685 16.0586C78.6717 15.0226 76.4264 14.7386 73.8546 14.5538L73.7113 16.5487ZM71.6616 16.5288C72.3972 16.4901 73.0258 16.4971 73.7079 16.5484L73.8581 14.5541C73.0874 14.496 72.3735 14.4886 71.5567 14.5315L71.6616 16.5288ZM64.5775 22.2113C64.6723 19.7691 65.4092 18.5167 66.4621 17.7831C67.6013 16.9895 69.3045 16.655 71.6626 16.5287L71.5556 14.5316C69.1667 14.6595 66.9571 15.0008 65.3189 16.1421C63.5945 17.3435 62.6895 19.2851 62.579 22.1338L64.5775 22.2113ZM64.4539 25.535L64.5776 22.2097L62.579 22.1354L62.4553 25.4606L64.4539 25.535ZM61.543 27.0111C62.233 26.8154 62.9519 26.6361 63.6743 26.4734L63.2348 24.5222C62.4835 24.6915 61.7285 24.8796 60.9974 25.087L61.543 27.0111ZM50.4461 32.4103C53.4925 30.0511 57.1843 28.243 61.5422 27.0114L60.9982 25.0867C56.4307 26.3777 52.4991 28.2907 49.2215 3
10.829L50.4461 32.4103ZM43.4403 40.9578C45.0694 37.6229 47.3965 34.7745 50.4465 32.41L49.2211 30.8293C45.9366 33.3757 43.4106 36.462 41.6433 40.0799L43.4403 40.9578ZM40.7541 52.304C40.9088 48.0775 41.8125 44.298 43.4407 40.9569L41.6429 40.0808C39.8785 43.7011 38.9191 47.7592 38.7554 52.2308L40.7541 52.304ZM43.0388 62.4172C41.4705 59.8621 40.6824 56.5065 40.7546 52.2845L38.7549 52.2503C38.6784 56.7256 39.509 60.4898 41.3343 63.4634L43.0388 62.4172ZM49.0853 68.8159C46.6848 67.2036 44.6659 65.0777 43.0396 62.4186L41.3334 63.4621C43.1008 66.3519 45.3163 68.6937 47.9702 70.4762L49.0853 68.8159ZM56.8732 72.4795C54.1259 71.6794 51.5333 70.4632 49.0861 68.8164L47.9695 70.4757C50.5844 72.2353 53.3645 73.5407 56.314 74.3997L56.8732 72.4795ZM64.2367 74.2933C62.1487 73.9125 59.6922 73.3052 56.8747 72.4799L56.3125 74.3993C59.1718 75.2368 61.6996 75.8635 63.8778 76.2609L64.2367 74.2933ZM73.7277 76.7796C71.5591 75.9184 68.3737 75.0913 64.2467 74.2952L63.8679 76.259C67.9587 77.0481 70.9975 77.8473 72.9896 78.6384L73.7277 76.7796ZM72.5392 87.2902C75.486 86.3533 77.3186 84.4044 77.5591 82.1746C77.8039 79.9046 76.3517 77.8186 73.7268 76.7793L72.9905 78.6388C75.0053 79.4365 75.6952 80.8051 75.5706 81.9601C75.4417 83.1555 74.3933 84.6021 71.9333 85.3842L72.5392 87.2902ZM52.6624 85.1148C59.8987 87.0889 66.4769 88.9121 72.4945 87.3033L71.978 85.3711C66.5885 86.812 60.5877 85.2037 53.1887 83.1853L52.6624 85.1148ZM49.9223 84.373C50.8504 84.6205 51.7626 84.8693 52.6624 85.1148L53.1887 83.1853C52.2898 82.94 51.3721 82.6897 50.4376 82.4405L49.9223 84.373ZM45.5184 98.0972C41.9816 96.1463 40.8251 92.0855 41.7365 88.7723C42.1879 87.1312 43.1314 85.7451 44.469 84.9144C45.7902 84.0939 47.5981 83.7513 49.9216 84.3728L50.4384 82.4407C47.6571 81.6968 45.2672 82.0644 43.4139 83.2154C41.5769 84.3562 40.3689 86.203 39.8081 88.2419C38.6949 92.2888 40.0709 97.3764 44.5524 99.8485L45.5184 98.0972ZM63.2403 102.596C56.7264 102.17 50.4681 100.826 45.5182 98.0971L44.5527 99.8486C49.8573 102.773 56.4397 104.156 63.1099 104.592L63.2403 102.596ZM64.1751 106.341V103.594H62.1751V106.341H64.1751ZM71.5985 111.419C70.3993 111.387 69.3284 111.358 68.3719 111.246C67.4155 111.134 66.6487 110.946 66.0481 110.638C65.4709 110.342 65.0278 109.926 64.7139 109.297C64.3894 108.646 64.1751 107.709 64.1751 106.341H62.1751C62.1751 107.9 62.4164 109.171 62.924 110.189C63.4422 111.228 64.2075 111.942 65.1356 112.418C66.0403 112.882 67.0758 113.108 68.1393 113.232C69.2027 113.357 70.3692 113.387 71.5456 113.418L71.5985 111.419ZM72.4403 111.442C72.1553 111.434 71.8739 111.426 71.5985 111.419L71.5456 113.418C71.8216 113.425 72.099 113.433 72.3793 113.441L72.4403 111.442ZM74.3914 111.443C73.68 111.483 73.1101 111.468 72.4483 111.443L72.3713 113.441C73.0491 113.467 73.6951 113.486 74.5036 113.44L74.3914 111.443ZM81.3636 107.063C81.4299 108.119 81.4464 108.954 80.8006 109.661C80.116 110.41 78.4576 111.248 74.3996 111.443L74.4954 113.441C78.6679 113.241 81.0304 112.374 82.2771 111.01C83.5626 109.603 83.4209 107.914 83.3597 106.938L81.3636 107.063ZM81.3331 106.341C81.3331 106.581 81.3494 106.836 81.3636 107.063L83.3597 106.938C83.3445 106.695 83.3331 106.506 83.3331 106.341H81.3331ZM81.3331 102.23V106.341H83.3331V102.23H81.3331ZM82.9122 101.062L82.099 101.258L82.5671 103.203L83.3802 103.007L82.9122 101.062ZM94.4896 96.0448C91.2479 98.2635 87.3895 99.9407 82.9032 101.065L83.3892 103.005C88.0682 101.833 92.1524 100.068 95.6192 97.6952L94.4896 96.0448Z",fill:"white",mask:"url(#path-1-inside-1_68_168)"})),l||(l=o.createElement("defs",null,o.createElement("linearGradient",{id:"paint0_linear_68_168",x1:132.642,y1:-122672e-11,x2:25.6896,y2:154.137,gradientUnits:"userSpaceOnUse"},o.createElement("stop",{stopColor:"white",stopOpacity:.6}),o.createElement("stop",{offset:1,stopColor:"white"})))))},y=m.object().shape({email:m.string().trim().email("Please provide a valid email").required("Email is a required field")});e.s(["default",0,function({className:e}){let[t,n]=(0,o.useState)(x.STATE.DEFAULT),[a,r]=(0,o.useState)(()=>"u">typeof crypto&&"randomUUID"in crypto?crypto.randomUUID():""),{register:i,handleSubmit:l,formState:{errors:m},reset:h}=(0,c.useForm)({resolver:(0,d.yupResolver)(y)}),g=(0,o.useCallback)(async({email:e})=>{n(x.STATE.LOADING);let t=function(){try{let e=localStorage.getItem("params");return e?JSON.parse(e):{}}catch{return{}}}();try{if(!(await fetch("https://www.revenuecat.com/api/forms/wp-submit",{method:"POST",headers:{"Content-Type":"application/json","X-Idempotency-Key":a},body:JSON.stringify({formId:x.SUBSCRIBE_SUB_CLUB_EMAIL_FORM_ID,data:{input_1:e,input_3:t.utm_source||"",input_4:t.utm_medium||"",input_5:t.utm_campaign||"",input_6:t.utm_term||"",input_7:t.utm_content||"",input_8:t.gclid||""}}),signal:AbortSignal.timeout(12e3)})).ok)throw Error("Submit failed");(0,u.mutinyIdentify)({email:e}),n(x.STATE.SUCCESS),r("u">typeof crypto&&"randomUUID"in crypto?crypto.randomUUID():""),setTimeout(()=>{n(x.STATE.DEFAULT),h()},x.SUCCESS_TIMEOUT_MS)}catch{n(x.STATE.DEFAULT)}},[a,h]),b=t===x.STATE.LOADING?(0,s.jsx)("span",{className:"inline-flex",children:(0,s.jsx)("span",{className:"size-4 animate-spin rounded-full border border-b border-transparent border-b-white"})}):t===x.STATE.SUCCESS?"Subscribed!":"Subscribe";return(0,s.jsx)("section",{className:(0,u.cn)("safe-paddings mt-18.5 max-xl:mt-16 max-lg:mt-11 max-md:mt-8",e),children:(0,s.jsx)("div",{className:"container-xs flex rounded-3xl bg-[linear-gradient(270deg,#F9F9FB_0%,#FBF9F9_100%)] p-px text-center max-md:mx-5 max-sm:mx-0",children:(0,s.jsxs)("div",{className:"relative w-full overflow-hidden rounded-[23px] bg-gray-50 p-10 pt-11 max-xl:pt-10 max-xl:pb-9 max-sm:px-4 max-sm:py-9",children:[(0,s.jsx)("h2",{className:"relative z-10 font-object text-[32px] leading-dense font-medium tracking-tighter text-primary max-xl:text-[28px] max-md:text-[24px] max-sm:text-[20px]",children:"Subscribe: App Growth Advice"}),(0,s.jsx)("p",{className:"relative z-10 mx-auto mt-3 max-w-lg text-base leading-snug text-[#454954] max-sm:mt-2 max-sm:text-[16
1px]",children:"Enjoyed this post? Subscribe to Sub Club for biweekly app growth insights, best practice guides, case studies, and more."}),(0,s.jsxs)("form",{noValidate:!0,method:"post",onSubmit:l(g),className:"relative z-10 mx-auto mt-5.5 max-w-132 max-md:max-w-118.5 max-sm:mt-4.5",children:[(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("input",{className:(0,u.cn)(p.fieldCommonStyles,m.email&&p.fieldErrorStyles,"h-15 rounded-full pr-48 pl-8 leading-none max-md:pr-18 max-xs:pl-4"),type:"email",autoComplete:"email",placeholder:"Enter your business email","aria-invalid":m.email?"true":"false",...i("email")}),m?.email?.message&&(0,s.jsx)("span",{className:"absolute -bottom-5.5 left-1/2 -translate-x-1/2 text-center text-sm leading-none text-secondary-red max-sm:-bottom-18.75 max-sm:text-xs",children:m.email.message})]}),(0,s.jsx)("button",{type:"submit",disabled:t===x.STATE.LOADING||t===x.STATE.SUCCESS,className:(0,u.cn)("absolute top-2 right-2 inline-flex h-11 items-center justify-center rounded-full bg-secondary-blue-1 px-11.5 text-base leading-none font-medium text-white transition-colors duration-200 hover:bg-secondary-blue-2","max-sm:static max-sm:mt-2.5 max-sm:h-11 max-sm:w-full max-sm:px-7","disabled:opacity-90"),children:b})]}),(0,s.jsx)(f,{className:"absolute bottom-6.75 -left-4.75 -rotate-15 drop-shadow-[0_0_90px_#D41D1180] max-xl:bottom-4.75 max-md:bottom-3.75 max-md:-left-5.75 max-md:w-28.5 max-sm:hidden",width:"124",height:"102"}),(0,s.jsx)(C,{className:"absolute -top-1 -right-5 drop-shadow-[0_8px_40px_#4A00E833] max-xl:-top-3.5 max-md:-top-2.5 max-md:w-31 max-sm:hidden",width:"136",height:"154"})]})})})}],163973)},347820,e=>{"use strict";var t,n,a,r=e.i(981280),i=e.i(652160),l=e.i(242794),s=e.i(74611),o=e.i(213596),d=e.i(975157),c=e.i(497879),m=e.i(403881);function u(){return(u=Object.assign.bind()).apply(null,arguments)}let p=function(e){return i.createElement("svg",u({width:198,height:130,viewBox:"0 0 198 130",fill:"none"},e),t||(t=i.createElement("path",{d:"M0 14.2334C325.941 -24.8204 51.3913 25.1592 197 130",stroke:"#f25a5a",strokeWidth:2,strokeLinecap:"round"})))};function x(){return(x=Object.assign.bind()).apply(null,arguments)}let h=function(e){return i.createElement("svg",x({width:288,height:290,viewBox:"0 0 288 290",fill:"none"},e),n||(n=i.createElement("path",{d:"M287 1C287 1 -38.8066 16.6 157.946 131C354.699 245.4 -379.413 131 287 289",stroke:"#f25a5a",strokeWidth:2})))};function f(){return(f=Object.assign.bind()).apply(null,arguments)}let g=function(e){return i.createElement("svg",f({width:28,height:28,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),a||(a=i.createElement("path",{d:"M2.3437 24.5L26.832 14L2.3437 3.5L2.33203 11.6667L19.832 14L2.33203 16.3333L2.3437 24.5Z",fill:"white"})))},C=o.object().shape({email:o.string().trim().email("Please provide a valid email").required("Email is a required field")});e.s(["default",0,function({title:e,inputPlaceholder:t,buttonText:n,className:a}){let[o,u]=(0,i.useState)(m.STATE.DEFAULT),[x,f]=(0,i.useState)(()=>"u">typeof crypto&&"randomUUID"in crypto?crypto.randomUUID():""),{register:y,handleSubmit:b,formState:{errors:L},reset:w}=(0,s.useForm)({resolver:(0,l.yupResolver)(C)}),v=(0,i.useCallback)(async({email:e})=>{u(m.STATE.LOADING);let t=function(){try{let e=localStorage.getItem("params");return e?JSON.parse(e):{}}catch{return{}}}();try{if(!(await fetch("https://www.revenuecat.com/api/forms/wp-submit",{method:"POST",headers:{"Content-Type":"application/json","X-Idempotency-Key":x},body:JSON.stringify({formId:m.BLOG_POST_SUBSCRIBE_FORM_ID,data:{input_4:e,input_5:t.utm_source||"",input_6:t.utm_medium||"",input_7:t.utm_campaign||"",input_8:t.utm_term||"",input_9:t.utm_content||"",input_10:t.gclid||""}}),signal:AbortSignal.timeout(12e3)})).ok)throw Error("Submit failed");(0,d.mutinyIdentify)({email:e}),u(m.STATE.SUCCESS),f("u">typeof crypto&&"randomUUID"in crypto?crypto.randomUUID():""),setTimeout(()=>{u(m.STATE.DEFAULT),w()},m.SUCCESS_TIMEOUT_MS)}catch{u(m.STATE.DEFAULT)}},[x,w]);return(0,r.jsxs)("div",{className:(0,d.cn)("not-prose relative my-9 overflow-hidden rounded-2xl bg-gray-50 p-8 text-white max-md:px-5 max-md:py-9",a),children:[(0,r.jsx)("h2",{className:"relative z-10 m-0! text-center text-[28px]! font-bold text-black max-md:text-[20px]!",children:e}),(0,r.jsxs)("form",{noValidate:!0,method:"post",onSubmit:b(v),className:"relative z-10 mx-auto mt-5! max-w-148 max-lg:mt-4!",children:[(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("input",{className:(0,d.cn)(c.fieldCommonStyles,L.email&&c.fieldErrorStyles,"h-16 rounded-full pr-48 pl-8 leading-none max-md:pr-18 max-xs:pl-4"),type:"email",autoComplete:"email",placeholder:t,"aria-invalid":L.email?"true":"false",...y("email")}),L?.email?.message&&(0,r.jsx)("span",{className:"absolute -bottom-2 left-0 w-full translate-y-full text-center text-sm leading-none text-secondary-red max-sm:text-xs",children:L.email.message})]}),(0,r.jsx)("button",{type:"submit","aria-label":n,disabled:o===m.STATE.LOADING||o===m.STATE.SUCCESS,className:(0,d.cn)("absolute top-1/2 right-3 inline-flex h-12 -translate-y-1/2 items-center justify-center rounded-full bg-secondary-blue-1 px-7 text-sm font-medium text-white transition-colors duration-200 hover:bg-secondary-blue-2","max-md:right-1.5 max-md:h-13 max-md:pr-2.5 max-md:pl-3.5","disabled:opacity-90"),children:o===m.STATE.LOADING?(0,r.jsx)("span",{className:"size-4 animate-spin rounded-full border border-b border-transparent border-b-white"}):o===m.STATE.SUCCESS?(0,r.jsx)("span",{className:"max-md:hidden",children:"Subscribed!"}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"max-md:hidden",children:n}),(0,r.jsx)(g,{className:"hidden w-7 max-md:block"})]})})]}
1),(0,r.jsx)("span",{"aria-hidden":!0,className:"absolute -right-5 -bottom-14 size-52 rounded-full bg-primary-1"}),(0,r.jsx)(p,{"aria-hidden":!0,className:"absolute bottom-0 -left-8 w-49.25 max-lg:-left-18 max-md:hidden"}),(0,r.jsx)(h,{"aria-hidden":!0,className:"absolute -right-16 -bottom-4 w-71.5 max-md:hidden"})]})}],347820)},456740,e=>{"use strict";var t,n=e.i(981280),a=e.i(652160),r=e.i(128248),i=e.i(937921),l=e.i(438100),s=e.i(106022),o=e.i(975157),d=e.i(962786);function c(){return(c=Object.assign.bind()).apply(null,arguments)}let m=function(e){return a.createElement("svg",c({width:10,height:10,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),t||(t=a.createElement("path",{d:"M5 8L0 3H10L5 8Z",fill:"#171A1C"})))},u={hidden:{opacity:0,translateY:100,transition:{duration:.35,ease:"easeOut"}},visible:{opacity:1,translateY:0,transition:{duration:.55,ease:"easeOut"}}};e.s(["default",0,function({data:e,lang:t,className:c}){let p=(0,a.useMemo)(()=>(function(e){let t=[],n=null;for(let a of e)2===a.level?(n={id:a.id,text:a.text,children:[]},t.push(n)):3===a.level&&n&&n.children.push({id:a.id,text:a.text});return t})(e),[e]),[x,h]=(0,a.useState)(!1),[f,g]=(0,a.useState)(null),[C,y]=(0,a.useState)(null);(0,a.useEffect)(()=>{let e=()=>{let e=document.querySelector(".post-content");e&&h(window.scrollY>=e.offsetTop)};return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,a.useEffect)(()=>{if(!x)return;let e=new IntersectionObserver(e=>{for(let t of e)t.isIntersecting&&(g(t.target.id),y(null))},{rootMargin:"0% 0% -80% 0%"}),t=new IntersectionObserver(e=>{for(let t of e)t.isIntersecting&&(y(t.target.id),g(null))},{rootMargin:"0% 0% -80% 0%"});for(let n of p){let a=document.getElementById(n.id);for(let r of(a&&e.observe(a),n.children)){let e=document.getElementById(r.id);e&&t.observe(e)}}return()=>{e.disconnect(),t.disconnect()}},[p,x]);let b=(e,t)=>{e.preventDefault();let n=document.getElementById(t);n&&(n.scrollIntoView({behavior:"smooth",block:"start"}),window.history?.pushState?window.history.pushState(null,"",`#${t}`):window.location.hash=t)};return(0,n.jsxs)("div",{className:c,children:[x&&(0,n.jsx)(l.LazyMotion,{features:i.domAnimation,children:(0,n.jsx)(r.AnimatePresence,{children:(0,n.jsx)(s.div,{className:"size-full",initial:"hidden",animate:"visible",exit:"hidden",variants:u,children:(0,n.jsxs)("aside",{className:"scrollbar-hidden sticky top-10 bottom-10 overflow-x-hidden overflow-y-scroll",children:[(0,n.jsxs)("h3",{className:"text-base font-medium max-lg:hidden",children:[(0,d.tBlog)("tableOfContents",t),":"]}),(0,n.jsx)("nav",{children:(0,n.jsx)("ul",{className:"mt-2 max-lg:hidden",children:p.map(e=>{let t=f===e.id,a=t||e.children.some(e=>C===e.id);return(0,n.jsxs)("li",{"data-anchor":e.id,children:[(0,n.jsx)("a",{href:`#${e.id}`,className:(0,o.cn)("block border-l border-gray-150 py-2 pl-3 text-sm leading-tight transition-colors duration-200 hover:text-secondary-red",t&&"border-secondary-red font-medium text-secondary-red"),onClick:t=>b(t,e.id),children:e.text}),a&&e.children.length>0&&(0,n.jsx)("ul",{children:e.children.map(e=>{let t=C===e.id;return(0,n.jsx)("li",{"data-anchor":e.id,children:(0,n.jsx)("a",{href:`#${e.id}`,className:(0,o.cn)("block border-l border-gray-150 py-2 pl-6 text-sm leading-tight transition-colors duration-200 hover:text-secondary-red",t&&"border-secondary-red font-medium text-secondary-red"),onClick:t=>b(t,e.id),children:e.text})},e.id)})})]},e.id)})})})]})})})}),(0,n.jsxs)("div",{className:"relative hidden max-lg:mt-6 max-lg:block",children:[(0,n.jsx)("select",{className:"ml-auto h-9 w-full appearance-none rounded-full border border-gray-600 pr-8 pl-3 text-sm font-medium outline-none",name:"toc",onChange:e=>{let t=e.target.value,n=document.getElementById(t);n&&n.scrollIntoView({behavior:"smooth",block:"start"})},defaultValue:"",children:(0,n.jsx)("optgroup",{className:"appearance-none rounded-full text-base font-medium",label:(0,d.tBlog)("tableOfContents",t),children:e.map(e=>(0,n.jsxs)("option",{value:e.id,children:[3===e.level?"  ":"",e.text]},e.id))})}),(0,n.jsx)(m,{className:"pointer-events-none absolute top-1/2 right-3 w-3 -translate-y-1/2"})]})]})}],456740)},641299,e=>{"use strict";
1var t=e.i(981280),n=e.i(652160);e.s(["default",0,function({tweetUrl:e}){let a=(0,n.useRef)(null);return(0,n.useEffect)(()=>{let e=()=>window.twttr?.widgets.load(a.current);if(window.twttr?.widgets)return void e();if(document.getElementById("twitter-widgets-js")){let t=setInterval(()=>{window.twttr?.widgets&&(e(),clearInterval(t))},100);return()=>clearInterval(t)}{let t=document.createElement("script");t.id="twitter-widgets-js",t.src="https://platform.twitter.com/widgets.js",t.async=!0,t.onload=e,document.head.appendChild(t)}},[e]),(0,t.jsx)("div",{ref:a,className:"not-prose my-6 flex justify-center",children:(0,t.jsx)("blockquote",{className:"twitter-tweet","data-dnt":"true","data-lang":"en",children:(0,t.jsx)("a",{href:e,children:"View tweet"})})})}])}]);

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.