PageSourceSearch

https://healz.ai/_next/static/chunks/20998-73292eae283830f9.js

js healz.ai collected 2026-10-05 13:13:19 UTC 29,408 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[20998],{853:(e,t,l)=>{l.d(t,{$E:()=>v,DI:()=>N,IP:()=>F,O4:()=>S,WL:()=>w,Z$:()=>y,jY:()=>f,qx:()=>k,x1:()=>j,yv:()=>C});var n=l(25374);let a="#121013",o="#1A1A1A",r="#2D262E",i="#FFFFFF",s="#FAF5F3",c="#E4FB3F",d="#0F0F0F",u="#E24BCF",x="#E52A54",g="#4387EE",b="#EE2C55",m="#F5C451",p="#E8A0B5";function h(e){return e?{title:{color:i},subtitle:{color:i},body:{color:i},footnote:{color:i},footnoteSub:{color:i},checklist:{color:i},timer:{color:i}}:{title:{color:o},subtitle:{color:r},body:{color:r},footnote:{color:o},footnoteSub:{color:r},checklist:{color:r},timer:{color:"#6B6B6B"}}}function f(e){return{card:{backgroundColor:e},...h((0,n.cP)(e))}}let v=[{id:"white",label:"White",swatch:{backgroundColor:i,color:o},patch:{card:{backgroundColor:i},...h(!1)}},{id:"warm",label:"Warm",swatch:{backgroundColor:s,color:o},patch:{card:{backgroundColor:s},...h(!1)}},{id:"ink",label:"Ink",swatch:{backgroundColor:a,color:i},patch:{card:{backgroundColor:a},...h(!0)}},{id:"lime",label:"Lime",swatch:{backgroundColor:c,color:d},patch:{card:{backgroundColor:c},title:{color:d},subtitle:{color:d},body:{color:d},footnote:{color:d},footnoteSub:{color:d},checklist:{color:d},timer:{color:d}}}
1],y=[{id:"sans",label:"Sans",swatch:{backgroundColor:i,color:o},patch:{card:{fontFamily:"sans"}}},{id:"serif",label:"Serif",swatch:{backgroundColor:i,color:o},patch:{card:{fontFamily:"serif"}}}],k=[{id:"lime",label:"Lime",swatch:{backgroundColor:c,color:d},patch:{cta:{backgroundColor:c,color:d,gradientFrom:"#F2FD55",gradientTo:c,gradientAngle:180}}},{id:"blaze",label:"Magenta → red",swatch:{backgroundColor:u,color:i},patch:{cta:{backgroundColor:x,color:i,gradientFrom:u,gradientTo:x,gradientAngle:90}}},{id:"pink",label:"Pink",swatch:{backgroundColor:p,color:i},patch:{cta:{backgroundColor:p,color:i}}},{id:"ink",label:"Ink",swatch:{backgroundColor:a,color:i},patch:{cta:{backgroundColor:a,color:i}}}],w=[{id:"pink",label:"Pink",swatch:{backgroundColor:p,color:i},patch:{timer:{color:p}}},{id:"lime",label:"Lime",swatch:{backgroundColor:c,color:d},patch:{timer:{color:c}}},{id:"red",label:"Red",swatch:{backgroundColor:b,color:i},patch:{timer:{color:b}}},{id:"gold",label:"Gold",swatch:{backgroundColor:m,color:"#3B2A05"},patch:{timer:{color:m}}}],j={discount:{backgroundColor:p,color:i},new:{backgroundColor:g,color:i,gradientFrom:g,gradientTo:"#5EB1DB",gradientAngle:90},gift:{backgroundColor:m,color:"#3B2A05",gradientFrom:m,gradientTo:"#E0A32E",gradientAngle:90},news:{backgroundColor:"#F4EBDD",color:o},tag:{backgroundColor:b,color:i},save:{backgroundColor:c,color:d}};function C(e){var t,l,n,a,o,r;let i=null!=(n=e.badgeKind)?n:"discount";if("discount"===i&&null==e.percentOff)return null;let s=j[i],c=null==(t=e.styles)?void 0:t.badge,d="discount"===i?e.accentColor:null,u=(null==(l=e.badgeText)?void 0:l.trim())||null,x=(null==c?void 0:c.gradientFrom)&&(null==c?void 0:c.gradientTo)?{gradientFrom:null==c?void 0:c.gradientFrom,gradientTo:null==c?void 0:c.gradientTo,gradientAngle:null==c?void 0:c.gradientAngle}:(null==c?void 0:c.backgroundColor)?{}:{gradientFrom:s.gradientFrom,gradientTo:s.gradientTo,gradientAngle:s.gradientAngle};return{kind:i,text:u,backgroundColor:null!=(o=null!=(a=null==c?void 0:c.backgroundColor)?a:d)?o:s.backgroundColor,color:null!=(r=null==c?void 0:c.color)?r:s.color,...x}}function N(e,t){let l={...null!=e?e:{}};for(let[e,a]of Object.entries(t)){var n;l[e]={...null!=(n=l[e])?n:{},...a}}return l}function S(e,t){let l={...null!=e?e:{}};for(let[e,n]of Object.entries(t))l[e]={...l[e],...void 0!==n.color?{color:n.color}:{},...void 0!==n.backgroundColor?{backgroundColor:n.backgroundColor}:{},...void 0!==n.fontSizePx?{fontSizePx:n.fontSizePx}:{},...void 0!==n.fontFamily?{fontFamily:n.fontFamily}:{},gradientFrom:n.gradientFrom,gradientTo:n.gradientTo,gradientAngle:n.gradientAngle};return l}function F(e,t){return Object.entries(t).every(t=>{let[l,n]=t,a=null==e?void 0:e[l];return!!a&&Object.entries(n).every(e=>{var t;let[l,n]=e;return String(null!=(t=a[l])?t:"").toLowerCase()===String(n).toLowerCase()})})}},13518:(e,t,l)=>{l.d(t,{Fd:()=>f,RU:()=>y});var n=l(93890),a=l(6120),o=l(82931),r=l(11476),i=l(30840),s=l(27663),c=l(70548),d=l(34150),u=l(51665),x=l(58218),g=l(15799),b=l(23240),m=l(89532),p=l(25374),h=l(64837);let f=640,v={discount:a.A,new:o.A,gift:r.A,news:i.A,tag:s.A,save:c.A};function y(e){var t,l,a,o,r,i,s,c,f,v,y,C,N,S,F,T,A,z;let{view:E,labels:M,showSideImage:L,phoneLayout:P=!1,showTopImage:B=!1,editing:D,onCta:I,ctaDisabled:O=!1,unavailableText:K=null,countdown:R=null}=e,{styles:$}=E,W=null!=(o=D?E.authored:null)?o:{copy:E.copy,checklist:E.checklist,cta:E.cta,badgeText:E.badgeSlotWhenEditing.text},V=E.checklist.rows,_=W.checklist.rows,H=null!=(r=W.checklist.header)?r:"",Q=(0,x.useCallback)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:H;null==D||D.onChecklistChange({header:t,list:e})},[H,D]),U=(0,x.useCallback)(()=>_.map(e=>({text:e.text,...e.info?{info:e.info}:{},...e.segments?{segments:e.segments}:{}})),[_]),G=(0,x.useCallback)((e,t,l)=>{Q(U().map((n,a)=>a===e?{...n,text:t,segments:null!=l?l:void 0}:n))},[U,Q]),Z=(0,x.useCallback)(e=>Q(U().filter((t,l)=>l!==e)),[U,Q]),q=(0,x.useCallback)(()=>Q([...U(),{text:""}]),[U,Q]),J=null!=(i=E.badge)?i:D?E.badgeSlotWhenEditing:null,Y=V.map(e=>{var t;return{text:e.text,info:null!=(t=e.info)?t:""}});return(0,n.jsxs)("div",{className:(0,h.cn)("grid",L&&"grid-cols-2",(P||B)&&"flex flex-col",P&&"min-h-app"),children:[B&&(0,n.jsx)("div",{"data-testid":"rich-card-top-hero",className:(0,h.cn)("relative w-full overflow-hidden",P?"min-h-0 flex-1":"aspect-[16/10] max-h-[42vh]"),children:(0,n.jsx)("img",{src:null!=(s=E.imageUrl)?s:"",alt:"",className:"absolute inset-0 h-full w-full object-cover object-top"})}),(0,n.jsxs)("div",{className:(0,h.cn)("flex flex-col items-start gap-4 p-6 text-left sm:p-8",P&&"gap-3 p-5 pb-[max(28px,c
1alc(env(safe-area-inset-bottom)+16px))] sm:p-5","max-[430px]:gap-2 max-[430px]:p-4"),"data-testid":"secondary-paywall-body",children:[J&&(0,n.jsx)("span",{"data-testid":"secondary-paywall-badge",className:"inline-flex -skew-x-6 items-center gap-1.5 rounded-md px-3 py-1",style:{backgroundColor:J.backgroundColor,color:J.color,...J.gradientFrom&&J.gradientTo?{backgroundImage:"linear-gradient(".concat(null!=(c=J.gradientAngle)?c:90,"deg, ").concat(J.gradientFrom,", ").concat(J.gradientTo,")")}:{},...(0,p.EV)($,"badge")},children:(0,n.jsxs)("span",{className:"flex skew-x-6 items-center gap-1.5 text-[13px] font-extrabold tracking-[0.06em] uppercase",children:[(0,n.jsx)(k,{kind:J.kind}),D?(0,n.jsx)(b.t,{value:null!=(v=null!=(f=W.badgeText)?f:J.text)?v:"",segments:null,seedKey:"".concat(D.seedKey,"-badge"),baseFontSizePx:13,placeholder:"Badge text",ariaLabel:"Badge text",onChange:e=>D.onBadgeTextChange(e),disableToolbar:!0}):null!=(y=J.text)?y:null!=E.percentOff&&null==E.countdown?(0,m.Q)(E.percentOff):null]})}),(0,n.jsx)("h2",{style:(0,p.EV)($,"title"),className:"text-text-heading text-[24px] leading-[1.15] font-extrabold tracking-[-0.02em] sm:text-[28px]",children:(0,n.jsx)(w,{copy:E.copy.title,authored:W.copy.title,field:"title",editing:D,baseFontSizePx:28,placeholder:"Add a title"})}),(E.copy.subtitle||D)&&(0,n.jsx)("p",{style:(0,p.EV)($,"subtitle"),className:"text-text-body text-[15px] leading-snug font-medium",children:(0,n.jsx)(w,{copy:E.copy.subtitle,authored:W.copy.subtitle,field:"subtitle",editing:D,baseFontSizePx:15,placeholder:"Add a subtitle"})}),(E.copy.body||D)&&(0,n.jsx)("p",{style:(0,p.EV)($,"body"),className:"text-text-body text-[14px] leading-snug font-medium",children:(0,n.jsx)(w,{copy:E.copy.body,authored:W.copy.body,field:"body",editing:D,baseFontSizePx:14,placeholder:"Add body text"})}),(Y.length>0||D)&&(0,n.jsxs)("div",{style:(0,p.EV)($,"checklist"),className:(0,h.cn)("flex w-full flex-col gap-2",(null==$||null==(t=$.checklist)?void 0:t.color)&&"[&_li]:text-inherit [&_li>svg]:text-inherit","number"==typeof(null==$||null==(l=$.checklist)?void 0:l.fontSizePx)&&"[&_li]:text-[length:inherit]"),children:[(H||D)&&(0,n.jsx)("p",{className:"text-[12px] font-semibold tracking-[0.08em] uppercase opacity-60",children:D?(0,n.jsx)(b.t,{value:H,segments:null,seedKey:"".concat(D.seedKey,"-checklist-header"),baseFontSizePx:12,placeholder:"Add a list header",ariaLabel:"Add a list header",onChange:e=>Q(U(),e),disableToolbar:!0}):H}),(0,n.jsx)(g.m,{bullets:Y,renderText:(e,t)=>{var l,a,o,r,i,s;return D?(0,n.jsx)(b.t,{value:null!=(r=null==(l=_[t])?void 0:l.text)?r:e.text,segments:null!=(i=null==(a=_[t])?void 0:a.segments)?i:null,seedKey:"".concat(D.seedKey,"-bullet-").concat(t),baseFontSizePx:13,placeholder:"Add a benefit",ariaLabel:"Benefit ".concat(t+1),onChange:(e,l)=>G(t,e,l)}):(0,n.jsx)(j,{segments:null!=(s=null==(o=V[t])?void 0:o.segments)?s:null,plain:e.text})},renderRowAction:D?e=>(0,n.jsx)("button",{type:"button",onClick:()=>Z(e),"aria-label":"Remove benefit ".concat(e+1),className:"mt-[1px] shrink-0 cursor-pointer opacity-40 transition-opacity duration-200 hover:opacity-100",children:(0,n.jsx)(d.A,{className:"size-3.5","aria-hidden":!0})}):void 0,footer:D&&Y.length<8?(0,n.jsxs)("button",{type:"button",onClick:q,className:"flex cursor-pointer items-center gap-1.5 text-[13px] font-semibold opacity-50 transition-opacity duration-200 hover:opacity-100",children:[(0,n.jsx)(u.A,{className:"size-4 shrink-0","aria-hidden":!0}),null!=(C=M.addBenefit)?C:"Add a benefit"]}):null})]}),(null!=(S=null!=(N=E.copy.footnote)?N:E.copy.footnoteSub)?S:D)?(0,n.jsxs)("div",{className:"w-full",children:[(null!=(F=E.copy.footnote)?F:D)?(0,n.jsx)("p",{"data-testid":"rich-card-footnote",style:(0,p.EV)($,"footnote"),className:"text-text-body text-[14px] leading-snug font-medium",children:(0,n.jsx)(w,{copy:E.copy.footnote,authored:W.copy.footnote,field:"footnote",editing:D,baseFontSizePx:14,placeholder:"Add a line under the benefits"})}):null,(null!=(T=E.copy.footnoteSub)?T:D)?(0,n.jsx)("p",{"data-testid":"rich-card-footnote-sub",style:(0,p.EV)($,"footnoteSub"),className:"text-text-body text-[14px] leading-snug font-medium",children:(0,n.jsx)(w,{copy:E.copy.footnoteSub,authored:W.copy.footnoteSub,field:"footnoteSub",editing:D,baseFontSizePx:14,placeholder:"Add a second line"})}):null]}):null,E.durationNote&&(0,n.jsx)("p",{"data-testid":"rich-card-duration-note",className:"text-[13px] font-medium opacity-70",children:E.durationNote}),R,K?(0,n.jsx)("p",{className:"text-[13px] font-medium opacity-70","data-testid":"secondary-paywall-unavailable",children:K}):(0,n.jsx)("button",{type:"button","data-testid":"secondary-paywall-cta",onClick:D?void 0:I,disabled:O,className:(0,h.cn)("mt-auto w-full rounded-full px-6 py-3.5 text-[16px] font-bold text-white","bg-accent-pink transition-all duration-200 disabled:cursor-not-allowed disabled:opacity-60",D?"cursor-text":"cursor-pointer hover:-translate-y-
1px",(null==$||null==(a=$.cta)?void 0:a.sheen)&&"rich-cta-sheen relative overflow-hidden"),style:{backgroundColor:null!=(A=E.accentColor)?A:void 0,...(0,p.EV)($,"cta")},children:D?(0,n.jsx)(b.t,{value:W.cta.label,segments:null,seedKey:"".concat(D.seedKey,"-cta"),onChange:e=>D.onCtaTextChange(e),ariaLabel:"CTA text",placeholder:"Button text",disableToolbar:!0}):E.cta.label})]}),L&&(0,n.jsx)("div",{className:"relative min-h-full",children:(0,n.jsx)("img",{src:null!=(z=E.imageUrl)?z:"",alt:"","data-testid":"secondary-paywall-hero",className:"absolute inset-0 h-full w-full object-cover"})})]})}function k(e){let{kind:t}=e,l=v[t];return(0,n.jsx)(l,{className:"size-3.5","aria-hidden":!0})}function w(e){var t,l,a,o;let{copy:r,authored:i,field:s,editing:c,baseFontSizePx:d,placeholder:u}=e;return c?(0,n.jsx)(b.t,{value:null!=(a=null==i?void 0:i.plain)?a:"",segments:null!=(o=null==i?void 0:i.segments)?o:null,seedKey:"".concat(c.seedKey,"-").concat(s),baseFontSizePx:d,placeholder:u,ariaLabel:u,onChange:(e,t)=>c.onCopyChange(s,e,t)}):(0,n.jsx)(j,{segments:null!=(t=null==r?void 0:r.segments)?t:null,plain:null!=(l=null==r?void 0:r.plain)?l:""})}function j(e){let{segments:t,plain:l}=e;return t&&0!==t.length?(0,n.jsx)(n.Fragment,{children:t.map((e,t)=>(0,n.jsx)("span",{style:(0,p.zS)(e),children:e.text},t))}):(0,n.jsx)(n.Fragment,{children:l})}},15799:(e,t,l)=>{l.d(t,{m:()=>u});var n=l(93890),a=l(39395),o=l(70553);let r=/([*_`~]+)$/;var i=l(68993),s=l(83173),c=l(64837);let d={sm:{gap:"gap-2",text:"text-text-body text-[13px]",check:"mt-[1px] size-4",info:"size-3.5"},lg:{gap:"gap-3",text:"text-text-heading text-[16px]",check:"mt-0.5 size-5",info:"size-4"}};function u(e){let{bullets:t,className:l,renderText:u,renderRowAction:x,footer:g,size:b="sm"}=e,m=d[b];return(0,n.jsxs)("ul",{className:(0,c.cn)("flex flex-col",m.gap,l),children:[t.map((e,t)=>{var l;let d=e.info.trim().length>0,g=d&&!u?function(e){var t,l;let n=e.trimEnd(),a=null!=(l=null==(t=r.exec(n))?void 0:t[1])?l:"",o=a?n.slice(0,-a.length):n,i=o.search(/\s\S*$/);if(i<=0)return null;let s=o.slice(i+1);if(!s||/[[\]()]/.test(s)||/[[\]()]/.test(a))return null;let c=""!==a&&s.startsWith(a);return{head:c?o.slice(0,i):o.slice(0,i)+a,tail:c?s+a:a+s+a}}(e.text):null;return(0,n.jsxs)("li",{className:(0,c.cn)("flex items-start leading-snug font-medium",m.gap,m.text),children:[(0,n.jsx)(a.A,{className:(0,c.cn)("text-accent-pink-dark shrink-0",m.check),"aria-hidden":!0}),(0,n.jsxs)("span",{className:"min-w-0 flex-1",children:[u?u(e,t):(0,n.jsx)(i.v,{children:null!=(l=null==g?void 0:g.head)?l:e.text}),d&&(0,n.jsxs)(n.Fragment,{children:[g?" ":null,(0,n.jsxs)("span",{className:"whitespace-nowrap",children:[g?(0,n.jsx)(i.v,{children:g.tail}):null,"\xa0",(0,n.jsxs)(s.AM,{modal:!0,children:[(0,n.jsx)(s.Wv,{asChild:!0,children:(0,n.jsx)("button",{type:"button","aria-label":e.text.replace(/\[([^\]]+)\]\([^)]*\)/g,"$1").replace(/[*_`~]/g,"").trim(),className:"text-text-subtle hover:text-accent-pink-dark inline-flex translate-y-[1px] cursor-pointer align-middle",children:(0,n.jsx)(o.A,{className:m.info,"aria-hidden":!0})})}),(0,n.jsx)(s.hl,{align:"start",className:"border-border-subtle bg-surface-elevated text-text-body shadow-subtle z-[10000] w-64 rounded-xl border p-3 text-[12px] leading-snug",children:(0,n.jsx)(i.v,{block:!0,children:e.info})})]})]})]})]}),null==x?void 0:x(t)]},t)}),g&&(0,n.jsx)("li",{className:(0,c.cn)("flex items-start",m.gap),children:g})]})}},24079:(e,t,l)=>{l.d(t,{DF:()=>d,Jg:()=>c,M$:()=>o,S5:()=>s,bt:()=>i,fT:()=>a});var n=l(65181);let a=["total","perMonth","listTotal","listPerMonth","saved","percentOff","renewalPrice"],o=[...a,"introTerm","revertNote"],r=/\{([a-zA-Z]+)\}/g;function i(e,t){return e.includes("{")?e.replace(r,(e,l)=>{var n;return null!=(n=t[l])?n:e}):e}function s(e,t){return e?e.map(e=>({...e,text:i(e.text,t)})):null}function c(e){let{chargedTotalCents:t,listTotalCents:l,renewalCents:a,percentOff:o,termMonths:r,perMonthQuotable:i}=e,s={total:(0,n.So)(t),listTotal:(0,n.So)(l)};i&&r>0&&(s.perMonth=(0,n.So)(Math.round(t/r)),s.listPerMonth=(0,n.So)(Math.round(l/r)));let c=l-t;return c>0&&(s.saved=(0,n.So)(c)),null!=o&&(s.percentOff="".concat(o,"%")),null!=a&&(s.renewalPrice=(0,n.So)(a)),s}function d(e){let{chargedCents:t,listCents:l,perMonthCents:a,listPerMonthCents:o,savedCents:r,percentOff:i,revertCents:s,introTerm:c,revertNote:d}=e,u={total:(0,n.So)(t),listTotal:(0,n.So)(l),perMonth:(0,n.So)(a)};return null!=o&&(u.listPerMonth=(0,n.So)(o)),r>0&&(u.saved=(0,n.So)(r)),i>0&&(u.percentOff="".concat(i,"%")),null!=s&&(u.renewalPrice=(0,n.So)(s)),c&&(u.introTerm=c),d&&(u.revertNote=d),u}},25374:(e,t,l)=>{l.d(t,{EV:()=>i,Fo:()=>c,SR:()=>n,cP:()=>o,f7:()=>d,fu:()=>r,gG:()=>a,zS:()=>s});let n=["card","title","subtitle","body","footnote","footnoteSub","checklist","badge","timer","cta"],a=["discount","new","gift","news","tag","save"];function o(e){if(!e)return!1;let t=/^#?([0-9a-f]{3}|[0-9a-f]{6})$/i.exec(e.trim());if(!t)return!1;let l=3===t[1].length?t[1].replace(/(.)/g,"$1$1"):t[1],n=parseInt(l.slice(0,2),16);return(299*n+587*parseInt(l.slice(2,4),16)+114*parseInt(l.slice(4,6),16))/1e3<140}function r(e,t){let l=/^#?([0-9a-f]{3}|[0-9a-f]{6})$/i.exec(e.trim());if(!l)return e;let n=3===l[1].length?l[1].replace(/(.)/g,"$1$1"):l[1],a=parseInt(n.slice(0,2),16),o=parseInt(n.slice(2,4),16),r=parseInt(n.slice(4,6),16);return"rgba(".concat(a,", ").concat(o,", ").concat(r,", ").concat(t,")")}function i(e,t){var l;let n=null==e?void 0:e[t];if(!n)return{};let a={};return n.color&&(a.color=n.color),n.backgroundColor&&(a.backgroundColor=n.backgroundColor),"number"==typeof n.fontSizePx&&(a.fontSize=n.fontSizePx),n.fontFamily&&
1(a.fontFamily="serif"===n.fontFamily?"var(--font-blog-serif-loaded, Georgia), Georgia, 'Times New Roman', serif":"var(--font-sans, ui-sans-serif), system-ui, sans-serif"),(null==n?void 0:n.gradientFrom)&&(null==n?void 0:n.gradientTo)&&(a.backgroundImage="linear-gradient(".concat(null!=(l=n.gradientAngle)?l:180,"deg, ").concat(n.gradientFrom,", ").concat(n.gradientTo,")"),a.boxShadow="0 4px 0 0 rgb(0 0 0 / 0.28)"),a}function s(e){let t={};if(e.color&&(t.color=e.color),e.backgroundColor){var l;l=e.backgroundColor,t.backgroundImage='url("data:image/svg+xml;utf8,'.concat(('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 44" preserveAspectRatio="none">'+'<path d="M1.6 9.4 L12 4.2 L48 2.4 L96 4 L150 1.8 L191 3.6 L198.6 12 L197 32 L189 41.4 L143 42.6 L92 40.6 L44 42.4 L9 41 L2.6 33 Z" fill="'.concat(l,'"/>')+"</svg>").replace(/#/g,"%23").replace(/"/g,"'").replace(/</g,"%3C").replace(/>/g,"%3E"),'")'),t.backgroundSize="100% 100%",t.backgroundRepeat="no-repeat",t.padding="0.12em 0.3em",t.margin="0 -0.12em",t.boxDecorationBreak="clone",t.WebkitBoxDecorationBreak="clone"}return"number"==typeof e.fontSizePx&&(t.fontSize=e.fontSizePx),e.bold&&(t.fontWeight=700),e.strike&&(t.textDecoration="line-through",t.textDecorationThickness="0.07em"),t}function c(e,t){let l=null==e?void 0:e[t];return l&&0!==l.length?l:null}function d(e){return e.map(e=>e.text).join("")}},29732:(e,t,l)=>{l.d(t,{q:()=>s});var n=l(24079),a=l(25374),o=l(853);function r(e,t,l,o){let r=(0,n.S5)((0,a.Fo)(t,l),o);return r?{plain:e?(0,n.bt)(e,o):(0,a.f7)(r),segments:r}:e?{plain:(0,n.bt)(e,o),segments:null}:null}function i(e,t){var l,a,o,i,s;let c=e=>(0,n.bt)(e,t),d=e=>(0,n.S5)(e,t),u=r(e.title,e.richText,"title",t);return{copy:{title:null!=u?u:{plain:"",segments:null},subtitle:r(e.subtitle,e.richText,"subtitle",t),body:r(e.body,e.richText,"body",t),footnote:r(null!=(o=e.footnote)?o:null,e.richText,"footnote",t),footnoteSub:r(null!=(i=e.footnoteSub)?i:null,e.richText,"footnoteSub",t)},checklist:{header:(null==(l=e.content)?void 0:l.header)?c(e.content.header):null,rows:(null!=(s=null==(a=e.content)?void 0:a.list)?s:[]).map(e=>{let t=e.segments?d(e.segments):null;return{text:c(e.text),info:e.info?c(e.info):null,...t?{segments:t}:{}}})},badgeText:null==e.badgeText?e.badgeText:c(e.badgeText)}}function s(e){var t,l,a,r,s;let c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},d=null!=(l=c.placeholders)?l:{},u=e=>(0,n.bt)(e,d),x=null!=(a=e.badgeKind)?a:"discount",g=i(e,d);return{copy:g.copy,checklist:g.checklist,badge:(0,o.yv)({badgeKind:e.badgeKind,badgeText:g.badgeText,percentOff:null!=(r=c.percentOff)?r:null,accentColor:e.accentColor,styles:e.styles}),badgeSlotWhenEditing:{kind:x,text:(null==(t=e.badgeText)?void 0:t.trim())?u(e.badgeText.trim()):null,...o.x1[x]},percentOff:null!=(s=c.percentOff)?s:null,styles:e.styles,imageUrl:e.imageUrl,accentColor:e.accentColor,cta:{label:u(e.ctaText||c.ctaLabel||"")},durationNote:c.durationNote?u(c.durationNote):null,countdown:null==c.countdownRemainingMs?null:{remainingMs:c.countdownRemainingMs},authored:c.placeholders?(()=>{var t;let l=i(e,{});return{copy:l.copy,checklist:l.checklist,cta:{label:e.ctaText||c.ctaLabel||""},badgeText:(null==(t=l.badgeText)?void 0:t.trim())?l.badgeText.trim():null}})():null}}},45988:(e,t,l)=>{l.d(t,{g:()=>u});var n=l(93890),a=l(92909),o=l(58218),r=l(63767),i=l(89532),s=l(25374),c=l(64837);function d(e){return e.toString().padStart(2,"0")}function u(e){let{expiresAt:t,percentOff:l,headerLabel:u,endsInLabel:x="ends in",accentColor:g,onDark:b,compact:m=!1,onExpire:p,className:h}=e,f=(0,r.L4)({expiresAt:t,onExpire:p}),v=null!==f,{days:y,hours:k,minutes:w,seconds:j,totalHours:C}=(0,r.Qm)(null!=f?f:0);if(m){let e=v?y>=1?"".concat(y,"d ").concat(d(k),":").concat(d(w),":").concat(d(j)):"".concat(d(C),":").concat(d(w),":").concat(d(j)):"--:--:--";return(0,n.jsxs)("div",{"data-testid":"secondary-paywall-countdown",role:"timer",className:(0,c.cn)("flex w-full flex-wrap items-center justify-center gap-x-2 gap-y-1 rounded-2xl border px-4 py-3",h),style:{backgroundColor:(0,s.fu)(g,.14),borderColor:(0,s.fu)(g,.34)},children:[null!=l&&(0,n.jsx)("span",{"data-testid":"secondary-paywall-countdown-discount",className:"text-[16px] leading-none font-extrabold tracking-[-0.02em]",style:{color:g},children:(0,i.Q)(l)}
1),(0,n.jsx)("span",{className:(0,c.cn)("text-[13px] font-medium",b?"text-white/70":"text-text-subtle"),children:x}),(0,n.jsx)("span",{className:(0,c.cn)("text-[16px] leading-none font-extrabold tracking-[-0.01em] tabular-nums",b?"text-white":"text-text-heading"),children:e})]})}let N=v&&y>=1?[{value:d(y),label:"Days"},{value:d(k),label:"Hrs"},{value:d(w),label:"Min"},{value:d(j),label:"Sec"}]:[{value:v?d(C):"--",label:"Hrs"},{value:v?d(w):"--",label:"Min"},{value:v?d(j):"--",label:"Sec"}];return(0,n.jsxs)("div",{"data-testid":"secondary-paywall-countdown",className:(0,c.cn)("@container w-full rounded-[18px] border p-3.5",h),style:{backgroundColor:(0,s.fu)(g,.14),borderColor:(0,s.fu)(g,.34)},children:[(0,n.jsxs)("p",{className:(0,c.cn)("flex items-center gap-2 text-[12.5px] font-bold",b?"text-white":"text-text-heading"),children:[(0,n.jsx)(a.A,{className:"size-3.5 shrink-0","aria-hidden":!0}),u,null!=l&&(0,n.jsx)("span",{"data-testid":"secondary-paywall-countdown-discount-inline",className:"ml-auto shrink-0 text-[15px] leading-none font-extrabold tracking-[-0.02em] @[17rem]:hidden",style:{color:g},children:(0,i.Q)(l)})]}),(0,n.jsxs)("div",{className:"mt-3 flex flex-col items-center gap-3 @[17rem]:flex-row",children:[null!=l&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{"data-testid":"secondary-paywall-countdown-discount",className:"hidden shrink-0 text-[28px] leading-none font-extrabold tracking-[-0.02em] @[17rem]:block @[17rem]:text-[26px] @[24rem]:text-[30px]",style:{color:g},children:(0,i.Q)(l)}),(0,n.jsx)("span",{"aria-hidden":!0,className:"hidden w-px self-stretch @[17rem]:block",style:{backgroundColor:(0,s.fu)(g,.4)}})]}),(0,n.jsx)("div",{role:"timer",className:"flex w-full flex-1 gap-2",children:N.map(e=>(0,n.jsx)(o.Fragment,{children:(0,n.jsxs)("div",{className:(0,c.cn)("min-w-0 flex-1 rounded-[13px] border py-2.5 text-center",b?"bg-white/[0.07]":"bg-white/80"),style:{borderColor:(0,s.fu)(g,.3)},children:[(0,n.jsx)("span",{className:(0,c.cn)("block text-[24px] leading-none font-extrabold tracking-[-0.02em] tabular-nums @[24rem]:text-[26px]",b?"text-white":"text-text-heading"),children:e.value}),(0,n.jsx)("span",{className:(0,c.cn)("mt-1.5 block text-[10px] font-semibold tracking-[0.08em] uppercase",b?"text-white/60":"text-text-subtle"),children:e.label})]})},e.label))})]})]})}},63767:(e,t,l)=>{l.d(t,{L4:()=>c,Qm:()=>s,rZ:()=>x});var n=l(93890),a=l(47801),o=l(58218),r=l(64837);function i(e){return e.toString().padStart(2,"0")}function s(e){let t=Math.max(0,Math.ceil(e/1e3));return{days:Math.floor(t/86400),hours:Math.floor(t%86400/3600),minutes:Math.floor(t%3600/60),seconds:t%60,totalHours:Math.floor(t/3600)}}function c(e){let{expiresAt:t,durationSeconds:l,onExpire:n}=e,[a,r]=(0,o.useState)(null),i=(0,o.useRef)(n);i.current=n;let s=(0,o.useRef)(!1);return(0,o.useEffect)(()=>{let e=null!=t?t:Date.now()+(null!=l?l:0)*1e3;s.current=!1;let n=()=>{let t=e-Date.now();if(r(t),t<=0&&!s.current){var l;s.current=!0,null==(l=i.current)||l.call(i)}};n();let a=setInterval(n,1e3);return()=>clearInterval(a)},[t,l]),a}let d={glass:{widthClassName:"w-[4.25rem] px-3",boxClassName:"rounded-2xl border border-white/20 bg-gradient-to-b from-white/20 to-white/[0.04] py-3.5 shadow-lg ring-1 ring-inset ring-white/15 backdrop-blur-md",digitClassName:"text-[27px] font-extrabold text-white drop-shadow-sm sm:text-[31px]",labelClassName:"text-white/60",colonClassName:"text-white/40",highlightClassName:"bg-gradient-to-b from-white/30 to-transparent",seamClassName:"h-[2px] bg-gradient-to-b from-black/25 to-white/10"},solid:{widthClassName:"w-16 px-3",boxClassName:"rounded-2xl bg-surface-ink py-3 shadow-md",digitClassName:"text-[26px] font-extrabold text-white sm:text-[30px]",labelClassName:"text-text-subtle",colonClassName:"text-text-subtle"},accent:{widthClassName:"w-16 px-3",boxClassName:"border-accent-pink-border bg-accent-pink/10 rounded-2xl border py-3",digitClassName:"text-accent-pink-dark text-[26px] font-extrabold sm:text-[30px]",labelClassName:"text-text-subtle",colonClassName:"text-accent-pink-dark/50"}};function u(e){let{groups:t,style:l,className:a}=e,i="text-[24px] leading-none font-bold sm:text-[28px]";return(0,n.jsxs)("div",{role:"timer",className:(0,r.cn)("flex flex-col items-center gap-1.5",a),children:[(0,n.jsx)("div",{className:"flex items-center justify-center gap-2.5",children:t.map((e,a)=>(0,n.jsxs)(o.Fragment,{children:[(0,n.jsxs)("span",{className:(0,r.cn)("relative flex items-center justify-center overflow-hidden leading-none tracking-[-0.02em] tabular-nums",l.widthClassName,l.boxClassName,l.digitClassName),children:[l.highlightClassName?(0,n.jsx)("span",{className:(0,r.cn)("pointer-events-none absolute inset-x-0 top-0 h-1/2",l.highlightClassName),"aria-hidden":!0}):null,(0,n.jsx)("span",{className:"relative",children:e.value}),l.seamClassName?(0,n.jsx)("span",{className:(0,r.cn)("pointer-events-none absolute inset-x-0 top-1/2 z-10 -translate-y-1/2",l.seamClassName),"aria-hidden":!0}):null]}),a<t.length-1?(0,n.jsx)("span",{className:(0,r.cn)(i,l.colonClassName),"aria-hidden":!0,
1children:":"}):null]},e.label))}),(0,n.jsx)("div",{className:"flex items-start justify-center gap-2.5",children:t.map((e,a)=>(0,n.jsxs)(o.Fragment,{children:[(0,n.jsx)("span",{className:(0,r.cn)("text-center text-[10px] font-semibold tracking-[0.08em] uppercase",l.widthClassName,l.labelClassName),children:e.label}),a<t.length-1?(0,n.jsx)("span",{className:(0,r.cn)(i,"invisible"),"aria-hidden":!0,children:":"}):null]},e.label))})]})}function x(e){let{expiresAt:t,durationSeconds:l,variant:x="blocks",onExpire:g,className:b}=e,m=c({expiresAt:t,durationSeconds:l,onExpire:g}),p=null!==m,{days:h,hours:f,minutes:v,seconds:y,totalHours:k}=s(null!=m?m:0);if("inline"===x){let e=p?k>0?"".concat(i(k),":").concat(i(v),":").concat(i(y)):"".concat(i(v),":").concat(i(y)):"--:--:--";return(0,n.jsxs)("span",{role:"timer",className:(0,r.cn)("border-accent-pink-border bg-accent-pink/[0.08] text-accent-pink-dark inline-flex items-center gap-1.5 rounded-full border px-3 py-1.5 text-[13px] font-bold tracking-[0.02em] tabular-nums",b),children:[(0,n.jsx)(a.A,{className:"size-3.5 shrink-0","aria-hidden":!0}),e]})}if("bare"===x){let e=p?h>=1:(null!=l?l:0)>=86400,t=p?k>0:(null!=l?l:0)>=3600,a=e?[{value:p?i(h):"--",label:"Days"},{value:p?i(f):"--",label:"Hrs"},{value:p?i(v):"--",label:"Min"},{value:p?i(y):"--",label:"Sec"}]:t?[{value:p?i(k):"--",label:"Hrs"},{value:p?i(v):"--",label:"Min"},{value:p?i(y):"--",label:"Sec"}]:[{value:p?i(v):"--",label:"Min"},{value:p?i(y):"--",label:"Sec"}];return(0,n.jsx)("div",{role:"timer",className:(0,r.cn)("flex items-start justify-center gap-2",b),children:a.map((e,t)=>(0,n.jsxs)(o.Fragment,{children:[(0,n.jsxs)("div",{className:"flex flex-col items-center",children:[(0,n.jsx)("span",{className:"text-text-heading text-[30px] leading-none font-extrabold tracking-[-0.02em] tabular-nums sm:text-[34px]",children:e.value}),(0,n.jsx)("span",{className:"text-text-subtle mt-1 text-[10px] font-semibold tracking-[0.08em] uppercase",children:e.label})]}),t<a.length-1?(0,n.jsx)("span",{className:"text-text-subtle pt-0.5 text-[26px] leading-none font-bold sm:text-[30px]","aria-hidden":!0,children:":"}):null]},e.label))})}if("glass"===x||"solid"===x||"accent"===x){let e=(p?h>=1:(null!=l?l:0)>=86400)?[{value:p?i(h):"--",label:"Days"},{value:p?i(f):"--",label:"Hrs"},{value:p?i(v):"--",label:"Min"},{value:p?i(y):"--",label:"Sec"}]:[{value:p?i(k):"--",label:"Hrs"},{value:p?i(v):"--",label:"Min"},{value:p?i(y):"--",label:"Sec"}];return(0,n.jsx)(u,{groups:e,style:d[x],className:b})}let w=[{value:p?i(k):"--",label:"Hours"},{value:p?i(v):"--",label:"Minutes"},{value:p?i(y):"--",label:"Seconds"}];return(0,n.jsx)("div",{role:"timer",className:(0,r.cn)("flex items-start justify-center gap-2",b),children:w.map((e,t)=>(0,n.jsxs)(o.Fragment,{children:[(0,n.jsxs)("div",{className:"flex flex-col items-center gap-1",children:[(0,n.jsx)("span",{className:"bg-surface-ink flex min-w-[46px] items-center justify-center rounded-xl px-2.5 py-2 text-[26px] leading-none font-extrabold tracking-[-0.02em] text-white tabular-nums sm:min-w-[52px] sm:text-[30px]",children:e.value}),(0,n.jsx)("span",{className:"text-text-subtle text-[10px] font-semibold tracking-[0.08em] uppercase",children:e.label})]}),t<w.length-1?(0,n.jsx)("span",{className:"text-text-subtle pt-1.5 text-[24px] leading-none font-bold sm:text-[28px]","aria-hidden":!0,children:":"}):null]},e.label))})}},89532:(e,t,l)=>{l.d(t,{Q:()=>n});function n(e){return"−".concat(e,"%")}}}]);

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.