PageSourceSearch

https://anymark.co/assets/GuidedLayout-BgfKPaSL.js

js anymark.co collected 2026-10-04 11:02:29 UTC 3,628 bytes, 1 lines download raw bytes

1import{j as e,A as f,m as y,k as j,a as w,bc as N,y as k,bd as r,aQ as v,v as u,t as g,be as C}from"./index-CTcAztDG.js";function D({page:s,title:d,note:i,count:n,onBack:c,onContinue:a,continueLabel:t="Continue",continueDisabled:x=!1,children:l}){return e.jsxs("div",{className:"min-h-screen bg-white flex flex-col",children:[e.jsx(A,{page:s}),e.jsxs("main",{className:"flex-1 w-full max-w-[1344px] mx-auto px-4 sm:px-8 lg:px-16 pt-8 sm:pt-12 pb-40",children:[e.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-end sm:justify-between gap-2 mb-6 sm:mb-8",children:[e.jsx("h1",{className:"text-[32px] sm:text-[40px] font-bold tracking-[-0.02em] text-gray-900 !leading-[1.1]",children:d}),i&&e.jsx("div",{className:"text-sm text-gray-500 sm:text-right sm:max-w-[420px]",children:i})]}),l]}),e.jsx("footer",{className:"fixed bottom-0 inset-x-0 z-40 bg-white border-t border-gray-200",children:e.jsxs("div",{className:"max-w-[1344px] mx-auto px-4 sm:px-8 lg:px-16 py-4 sm:py-6 flex items-center justify-between gap-4",children:[e.jsxs("button",{type:"button",onClick:c,className:"inline-flex items-center gap-1.5 text-[15px] text-gray-900 hover:text-gray-600",children:[e.jsx(f,{className:"h-4 w-4","aria-hidden":"true"}),"Back"]}),e.jsxs("div",{className:"flex items-center gap-3 sm:gap-4",children:[n&&e.jsx("span",{className:"hidden sm:inline text-[15px] font-semibold text-gray-900",children:n}),e.jsxs("button",{type:"button","data-guided-continue":!0,onClick:a,disabled:x,className:"inline-flex items-center gap-1.5 h-12 px-5 rounded-[4px] bg-gray-900 text-white text-[16px] font-semibold hover:bg-gray-800 disabled:bg-gray-300 disabled:cursor-not-allowed",children:[t,t==="Continue"&&e.jsx(y,{className:"h-4 w-4","aria-hidden":"true"})]})]})]})})]})}function A({page:s,prefs:d}){const{user:i}=j(),[,n]=w(),c=N(d??k()),a=s==="results"?r.length:s?r.findIndex(t=>t.pages.includes(s)):-1;return e.jsxs("header",{className:"border-b border-gray-200 bg-white",children:[e.jsxs("div",{className:"max-w-[1344px] mx-auto px-4 sm:px-8 lg:px-16 h-16 sm:h-[72px] flex items-center gap-4 sm:gap-8",children:[e.jsx("a",{href:"/","aria-label":"Anymark home",className:"shrink-0",children:e.jsx("img",{src:v,alt:"Anymark",width:150,height:27,className:"h-6 w-auto"})}),s&&e.jsx("nav",{"aria-label":"Decisions",className:"flex-1 flex justify-center gap-1.5 sm:gap-2 min-w-0",children:r.map((t,x)=>{const l=t.pages.find(b=>c.includes(b)),o=!l,m=x<a,p=x===a,h=m&&!o;return e.jsxs("button",{type:"button",disabled:!h,onClick:()=>l&&n(g(l)),"aria-current":p?"step":void 0,className:u("flex-1 max-w-[88px] min-w-0 flex flex-col items-center gap-1.5 pt-1",h?"cursor-pointer":"cursor-default"),children:[e.jsx("span",{className:u("hidden md:block text-[11px] whitespace-nowrap",p?"font-bold text-gray-900":m&&!o?"font-medium text-gray-900":"text-gray-400"),children:t.label}),e.jsx("span",{className:u("block h-[2px] w-full rounded-full",(m||p)&&!o?"bg-gray-900":"bg-gray-200")})]},t.label)})}),e.jsxs("div",{className:"shrink-0 ml-auto flex items-center gap-4 sm:gap-6",children:[s==="results"&&e.jsx("button",{type:"button","data-guided-change":!0,onClick:()=>n(g("logo-type")),className:"text-[13px] font-medium text-gray-700 hover:text-gray-900 underline decoration-gray-300 underline-offset-4 whitespace-nowrap",children:"Change my choices"}),i?e.jsx(C,{}):null]})]}),s&&s!=="results"&&a>=0&&e.jsxs("p",{className:"md:hidden px-4 pb-2 -mt-2 text-xs text-gray-500",children:["Step ",a+1," of ",r.length," · ",e.jsx("span",{className:"font-semibold text-gray-900",children:r[a].label})]})]})}export{A as GuidedHeader,D as GuidedLayout};

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.