1import{j as d}from"/build/_shared/chunk-MHGXEUGW.js";import{a as h}from"/build/_shared/chunk-E6Z5IV3M.js";import{a as f}from"/build/_shared/chunk-LMVDAGDQ.js";import{a as u}from"/build/_shared/chunk-JTGWBMEE.js";import{a as n}from"/build/_shared/chunk-4LS7O6NS.js";import{a as s}from"/build/_shared/chunk-3BHXQADS.js";import{a as p}from"/build/_shared/chunk-CXOLFA3Z.js";import{b as c,q as m}from"/build/_shared/chunk-VEMDB7JJ.js";var e=c(m()),y=o=>{let i="a",t=o.charAt(0).toLowerCase()+o.slice(1);return["a","e","i","o","u"].includes(t.charAt(0))&&(i="an"),`${i} ${t}`};function P({title:o,...i}){let t=r=>r.preventDefault(),g=d(),{locationPath:C,nextPageCurrentlyLoading:k,isLoading:l}=p(),{simplifiedCssLink:b,setThemeColor:w,themeRef:L}=h();return w(o.toLowerCase()),(0,e.jsxs)("section",{ref:L,children:[(0,e.jsx)(s,{level:2,children:"Theme color"}),(0,e.jsxs)("article",{className:"color-picker component","aria-label":"Custom theme example",...i,children:[(0,e.jsx)("header",{children:g.map(r=>{let a=r==="azure"?"/docs/version-picker":`/docs/version-picker/${r}`,v=C===a;return(0,e.jsx)(n,{to:a,className:`pico-background-${r}`,"aria-label":o,preventScrollReset:!0,"aria-busy":l&&k===a,children:v&&!l?(0,e.jsx)(u,{isAnimated:!0}):null},r)})}),(0,e.jsxs)("hgroup",{children:[(0,e.jsx)(s,{level:2,children:o}),(0,e.jsxs)("p",{children:["Form example with ",y(o)," theme."]})]}),(0,e.jsxs)("form",{children:[(0,e.jsxs)("fieldset",{className:"grid",children:[(0,e.jsx)("input",{type:"text",name:"login",placeholder:"Login","aria-label":"Login",autoComplete:"username"}),(0,e.jsx)("input",{type:"password",name:"password",placeholder:"Password","aria-label":"Password",autoComplete:"current-password"}),(0,e.jsx)("button",{type:"submit",onClick:t,children:"Log in"})]}),(0,e.jsx)("fieldset",{children:(0,e.jsxs)("label",{children:[(0,e.jsx)("input",{type:"checkbox",role:"switch",name:"switch",defaultChecked:!0})," I agree to the"," ",(0,e.jsx)(n,{to:"#",onClick:t,children:"Privacy Policy"})]})})]}),(0,e.jsx)(f,{as:"footer",children:b})]})]})}export{P as a};
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.