PageSourceSearch

https://eisenhowertodoist.netlify.app/assets/TrialPlansPanel-p_lTinxu.js

js eisenhowertodoist.netlify.app collected 2026-10-03 10:41:36 UTC 2,550 bytes, 1 lines download raw bytes

1import{j as e,bx as u,aq as h}from"./vendor-1kUQ7zn2.js";import{K as a,c as d,bw as g}from"./index--kdl1ae9.js";import{PlanPicker as o}from"./PlanPicker-C8gzQIYq.js";import"./vendor-date-en1IyhsK.js";import"./vendor-supabase-Dh2gyaRa.js";import"./vendor-motion-BX-jsy7E.js";import"./checkout-DROMBe3d.js";import"./checkoutState-C2DchyvW.js";const P=({layout:m,daysLeft:c,nudgeDue:x,onMinimize:p,onEnterLicense:s})=>{const t=m==="phone",i=a.trialPlansTitle(c,x),r=e.jsx("button",{type:"button",onClick:p,"aria-label":`${a.minimize} plans`,title:a.minimize,"data-testid":"trial-plans-minimize",className:d("inline-flex shrink-0 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",t?"-mr-2 -mt-2 h-11 w-11":"h-7 w-7"),children:e.jsx(u,{className:"h-4 w-4","aria-hidden":!0})}),l=e.jsx("ul",{className:d("grid text-muted-foreground",t?"grid-cols-1 gap-y-0.5 text-[13px] leading-[18px]":"grid-cols-[auto_auto] gap-x-3 gap-y-0.5 text-xs leading-[18px]"),"data-testid":"trial-plans-features",children:a.featuresShort.map(n=>e.jsxs("li",{className:"flex min-w-0 items-start gap-1.5",children:[e.jsx(h,{className:"mt-[3px] h-3 w-3 shrink-0 text-primary","aria-hidden":!0}),e.jsx("span",{children:n})]},n))});return t?e.jsxs("section",{className:"rounded-xl border bg-card p-3 text-card-foreground","aria-label":"Plans","data-testid":"trial-plans","data-layout":"phone",children:[e.jsxs("div",{className:"mb-1 flex items-start justify-between gap-2",children:[e.jsx("h2",{className:"text-[15px] font-semibold leading-6","data-testid":"trial-plans-title",children:i}),r]}),l,e.jsx(o,{variant:"cards",className:"mt-2.5 space-y-2"})]}):e.jsxs("section",{className:"relative flex w-full max-w-[66rem] flex-wrap items-center justify-between gap-x-4 gap-y-3 lg:flex-nowrap rounded-xl border bg-card py-2.5 pl-4 pr-9 text-card-foreground shadow-sm","aria-label":"Plans","data-testid":"trial-plans","data-layout":"desktop",children:[e.jsxs("div",{className:"min-w-0 space-y-1.5",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-x-4 gap-y-1",children:[e.jsx("h2",{className:"text-sm font-semibold leading-5","data-testid":"trial-plans-title",children:i}),s&&e.jsx(g,{className:"-mx-2.5 min-h-6","data-testid":"header-license-link",onClick:s})]}),l]}),e.jsx(o,{variant:"cards",layout:"inline",className:"shrink-0"}),e.jsx("div",{className:"absolute right-1.5 top-1.5",children:r})]})};export{P as TrialPlansPanel};

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.